cli icon indicating copy to clipboard operation
cli copied to clipboard

On first login to a new CF, it asks for a space but none exist

Open drnic opened this issue 13 years ago • 3 comments

On a fresh Cloud Foundry deployment, there are no usable organizations or spaces yet.

So the new "ops user" experience looks like:

$ gcf login -u admin -p eaa139af52343
API endpoint: http://api.107.20.148.206.xip.io
Warning: Insecure http API endpoint detected: secure https API endpoints are recommended

Authenticating...
OK

Select a space:

Space> test
FAILED
Error finding space test
Space test not found

drnic avatar Nov 15 '13 18:11 drnic

We can certainly fix that in the cli. The question is why don't we create an org and space when we create the first user account… If that happens, assuming there's only one org and one space, we'll auto-target you to them, which is a much nicer first experience.

scottruitt avatar Nov 15 '13 22:11 scottruitt

That'd be even better; thanks.

On Fri, Nov 15, 2013 at 2:32 PM, scottruitt [email protected] wrote:

We can certainly fix that in the cli. The question is why don't we create an org and space when we create the first user account… If that happens, assuming there's only one org and one space, we'll auto-target you to them, which is a much nicer first experience.

Reply to this email directly or view it on GitHub: https://github.com/cloudfoundry/cli/issues/28#issuecomment-28609113

drnic avatar Nov 16 '13 00:11 drnic

I'm facing this issue, just did a fresh installation and now I can't login to it because there are no Orgs or Spaces. I don't know how to proceed, my output is exactly the same as above. What's the solution taken in this case?

eduardohl avatar Aug 24 '16 15:08 eduardohl