-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The PCF example, which uses this code, fails with "No org and space targeted..." #6
Comments
Please make sure you've the git web services setup. You'll get an option to create org in the same. Select a name and space (development by default). Once done, you should run |
I just ran into the same error. I had to create the organization manually in the Pivotal Web Services GUI, then log out using the CLI and log back in using the CLI. |
Following http://basics-workshop.cloudfoundry.org/agenda/, ran into the same problem. I had created my user, but not completed the trial account setup. |
+1 to the above comment. I got past this by doing the following:
|
Whitelabel Error Page Thu Jul 09 10:01:42 UTC 2020 It ran in manual IDE but in pivotal.io, it is showing internal error. How to manage this as in spring we've controller and naming it may resolve. In groovy what to do |
The code in this repository forms the basis of the example exercise here.
I don't see where to report an issue against the pivotal page, so I'm reporting here in the hope that the loop is closed somewhere behind the curtains.
Here's what happens when I follow that exercise:
[russell]$ cf version
cf version 6.26.0+9c9a261.2017-04-06
[russell]$ git clone https://github.com/cloudfoundry-samples/cf-sample-app-spring.git
Cloning into 'cf-sample-app-spring'...
remote: Counting objects: 73, done.
remote: Total 73 (delta 0), reused 0 (delta 0), pack-reused 73
Unpacking objects: 100% (73/73), done.
Checking connectivity... done.
[russell]$ cd cf-sample-app-spring/
[russell]$ cf login -a https://api.run.pivotal.io
API endpoint: https://api.run.pivotal.io
Email> <redacted>
Password>
Authenticating...
OK
API endpoint: https://api.run.pivotal.io (API version: 2.78.0)
User: <redacted>
No org or space targeted, use 'cf target -o ORG -s SPACE'
[russell]$ cf push
FAILED
No org and space targeted, use 'cf target -o ORG -s SPACE' to target an org and space
[russell]$ cf orgs
Getting orgs as <redacted>...
name
No orgs found
The text was updated successfully, but these errors were encountered: