deis / workflow-cli

The CLI for Deis Workflow
http://deis.com
MIT License
31 stars 43 forks source link

deis releases returns requested URL not found #311

Open Overdrivr opened 7 years ago

Overdrivr commented 7 years ago

This command

$ deis releases

outputs:

Error: <h1>Not Found</h1><p>The requested URL /v2/apps/remi_beges/releases/ was not found on this server.</p>

I'm running this in Google cloud shell.

$ deis version
v2.14.1

Any idea what is going on here ?

bacongobbler commented 7 years ago

Does an app called remi_beges exist? Probably calling deis releases In the wrong directory.

Overdrivr commented 7 years ago

Thanks for the reply, but I'm not sure to follow. Isn't deis communicating with the remote kubernetes cluster to get the releases ? In that case why should the local directory in which I'm calling deis releases should have an impact ?

bacongobbler commented 7 years ago

When you ran deis create, it creates a deis git remote in the current directory and infers the application name from the remote. If no deis git remote was found, then it uses the current directory name as the application name. You can also supply the app name explicitly with deis releases --app=myappname.

Does that make sense?

Overdrivr commented 7 years ago

Alright, got it. I created the app with --no-remote flag so I guess not git folder was created.

I don't mean to speak for everyone, but it's really not obvious for a new user like me that the deis CLI relies for some commands on local files. The way I read the docs, i thought everything was fetched remotely.

Maybe docs could be improved a bit, because the quickstart uses the --no-remote flag and users like me trying to immediately see the created release will get the same error.

Cryptophobia commented 6 years ago

This issue was moved to teamhephy/workflow-cli#3