openshift / origin

Conformance test suite for OpenShift
http://www.openshift.org
Apache License 2.0
8.49k stars 4.7k forks source link

Running 'oc create-app' from command line results in "Server could not find the requested resource" #6666

Closed brettneese closed 8 years ago

brettneese commented 8 years ago

And no pods being created.

I've tried a few docker images (including the defaults, so I know it's not related to how openshift handles docker security), a few of the s2i images, etc... sometimes it will even appear multiple times. The service gets created but nothing else happens. Not sure even how to go about diagnosing this, I looked at journalctl and the docker registry logs and didn't see anything terribly interesting. .

Interestingly, I can launch things from the web console, but I need to launch some stuff not in the list. :-\

image

image

liggitt commented 8 years ago

What do you see if you add --loglevel=8?

brettneese commented 8 years ago

Looks like it's maybe trying to access the wrong API version?

image

liggitt commented 8 years ago

Looks like you have an older version of the command-line client, running against a server that has v1beta3 disabled. Try adding --api-version=v1

brettneese commented 8 years ago

That worked. That sounds right, too, my version was from the roadshow a few months back.

How do I update the command line client?

liggitt commented 8 years ago

For the ose distribution, you can download from https://access.redhat.com/downloads/content/290

brettneese commented 8 years ago

What about origin? I know somewhere once logged in there was something about downloading it.

brettneese commented 8 years ago

Ah. Found it. For future googler's: https://github.com/openshift/origin/releases

Closing this. Thanks for your help.