Comments (5)
@schnie I agree with the high-level objective here, but I think the issue we were seeing here was the result of it being a development machine. I have not run into this error since. How do you feel about closing this and opening other tickets for when we are able to capture a reproducible bug?
from astro-cli.
@andscoop what happens if you run astro airflow start
in two different project directories? I would think there would be some port conflicts when starting a second.
from astro-cli.
Related to this -- if you issue astro airflow start
before an astro airflow init
, you get the following error.
MacBook-Pro-6:pipelines tardis5$ astro airflow start
invalid argument "/airflow:latest" for "-t, --tag" flag: invalid reference format
See 'docker build --help'.
panic: exit status 125
goroutine 1 [running]:
github.com/astronomerio/astro-cli/docker.Exec(0xc4204cdbc0, 0x4, 0x4)
/go/src/github.com/astronomerio/astro-cli/docker/docker.go:27 +0x13f
github.com/astronomerio/astro-cli/airflow.imageBuild(0xc420251c20, 0x3f, 0xc420236240, 0xf)
/go/src/github.com/astronomerio/astro-cli/airflow/docker.go:62 +0x92
github.com/astronomerio/astro-cli/airflow.Start(0xc420251c20, 0x3f, 0x0, 0x0)
/go/src/github.com/astronomerio/astro-cli/airflow/docker.go:151 +0x4db
github.com/astronomerio/astro-cli/cmd.airflowStart(0x19fc240, 0x1a29fb0, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/astronomerio/astro-cli/cmd/airflow.go:193 +0x39
github.com/astronomerio/astro-cli/vendor/github.com/spf13/cobra.(*Command).execute(0x19fc240, 0x1a29fb0, 0x0, 0x0, 0x19fc240, 0x1a29fb0)
/go/src/github.com/astronomerio/astro-cli/vendor/github.com/spf13/cobra/command.go:698 +0x47b
github.com/astronomerio/astro-cli/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x19fe220, 0x1, 0x0, 0x0)
/go/src/github.com/astronomerio/astro-cli/vendor/github.com/spf13/cobra/command.go:783 +0x349
github.com/astronomerio/astro-cli/vendor/github.com/spf13/cobra.(*Command).Execute(0x19fe220, 0xc420000340, 0xc420000340)
/go/src/github.com/astronomerio/astro-cli/vendor/github.com/spf13/cobra/command.go:736 +0x2b
main.main()
/go/src/github.com/astronomerio/astro-cli/main.go:10 +0x2d
from astro-cli.
@benjamingregory I am not able to replicate that particular failure
Steps I took
1.) mkdir test && cd test
2.) astro airflow start
response: Error: Not in an astronomer project directory
Do you have anymore insight?
from astro-cli.
I just replicated. It looks like that error occurs when you try to astro airflow start
where .astro exists but the .astro/config.yaml
does not.
A rare occurrence admittedly but thats the error that corresponds to it.
from astro-cli.
Related Issues (20)
- Managing Deployments as code doesn't work as expected on Astro hosted HOT 2
- astro dev start is not working HOT 3
- add workload identity to deployment inspect output
- DEV-webserver_url in cli response is broken after the organisation name changed. HOT 1
- Enhancement for workspace related commands HOT 2
- DEV-Suitable error message for delete deployment when deployment not found HOT 1
- DEV- Error message for missing workspace is displayed even when the workspace is present HOT 1
- DEV-Monitoring dags are missing when the deployments are created from CLI HOT 2
- DEV- Deployments are getting created under Shared cluster even on using the cluster type as dedicated. HOT 2
- move all Workspace/Organization commands to Core API
- "astro dev restart" not working HOT 7
- `astro organization team create` should have same prompts for naming as `astro deployment create`
- Usage fields on `workspace token` commands reference nonexistent `TOKEN_ID` HOT 1
- Move Workspace List and Get endpoints to core
- Provision to create and list dedicated cluster through CLI
- astro dev not using .dockerignore HOT 2
- DEV:The error message indicating no workspace is present seen for deployment creation under new workspace HOT 2
- `astro dev pytest -a "-m \"not <marker>\""` - Can't run tests without marker HOT 1
- DEV-Deployment type to be changed from HOSTED_SHARED to HOSTED_STANDARD in inspect response HOT 1
- Updating worker concurrency doesn't reflect in the response or UI HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astro-cli.