You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
When you target a new CF, which has no organizations nor spaces, the CLI currently prompts you (helpfully) to create a space. It fails to create a space on the default organization.
The text was updated successfully, but these errors were encountered:
That's a good point. However you would have to be an admin user to even be able to create a new org. Maybe we should instead show a helpful message to the user on how to proceed?
Reproduction of scenario on a fresh CF using admin credentials:
$ cf target api.drniccloud.com
Setting target to http://api.drniccloud.com... OK
target: http://api.drniccloud.com
$ cf login
target: http://api.drniccloud.com
Email> admin
Password> ****************
Authenticating... FAILED
Password> ********
Authenticating... OK
There are no spaces. You may want to create one with create-space.
$ cf create-space
Name> foobar
Creating space foobar... OK
Adding you as a manager... FAILED
CFoundry::InvalidRelation: 1002: Invalid relation: 0f11652d-2447-4b21-8b27-e0528406c5a0
For more information, see ~/.cf/crash
When you target a new CF, which has no organizations nor spaces, the CLI currently prompts you (helpfully) to create a space. It fails to create a space on the default organization.
The text was updated successfully, but these errors were encountered: