teamhephy / workflow-cli

MIT License
2 stars 13 forks source link

deis releases returns requested URL not found #3

Open Cryptophobia opened 6 years ago

Cryptophobia commented 6 years ago

From @Overdrivr on June 14, 2017 5:47

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 ?

Copied from original issue: deis/workflow-cli#311

Cryptophobia commented 6 years ago

From @bacongobbler on June 14, 2017 14:28

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

Cryptophobia commented 6 years ago

From @Overdrivr on June 15, 2017 5:42

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 ?

Cryptophobia commented 6 years ago

From @bacongobbler on June 15, 2017 6:8

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?

Cryptophobia commented 6 years ago

From @Overdrivr on June 15, 2017 6:38

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.