get-started-python icon indicating copy to clipboard operation
get-started-python copied to clipboard

No org targeted, use 'cf target -o ORG' to target an org on 'cf push'

Open weiss-d opened this issue 3 years ago • 2 comments

Hi, everyone! Just tried to follow the instructions from README. Using Cloud Foundry CLI under Linux. This was the result. Does it still need some additional steps IBM Cloud configuration, or this repo is already outdated?

get-started-python on  master via 🐍 v3.9.2
❯ cf api https://api.eu-de.bluemix.net/                                                                                                                                                  INSERT
Setting API endpoint to https://api.eu-de.bluemix.net/...
OK

API endpoint:   https://api.eu-de.bluemix.net/
API version:    3.96.0

Not logged in. Use 'cf login' or 'cf login --sso' to log in.

get-started-python on  master via 🐍 v3.9.2
❯ cf login
API endpoint: https://api.eu-de.bluemix.net/

Email: ######@####.##
Password:

Authenticating...
OK

API endpoint:   https://api.eu-de.bluemix.net
API version:    3.96.0
user:           ######@####.##
No org or space targeted, use 'cf target -o ORG -s SPACE'

get-started-python on  master via 🐍 v3.9.2
❯ cf push
No org targeted, use 'cf target -o ORG' to target an org.
FAILED

weiss-d avatar Apr 02 '21 11:04 weiss-d

I am not sure who maintains this repo. IBM Cloud uses the "ibmcloud" CLI command. Cloud Foundry is handled using ibmcloud cf.

data-henrik avatar Apr 02 '21 11:04 data-henrik

@data-henrik thanks for the clue!

weiss-d avatar Apr 02 '21 11:04 weiss-d