Skip to content
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

Failed to scale a DC with oc #17729

Closed
0xmichalis opened this issue Dec 12, 2017 · 4 comments
Closed

Failed to scale a DC with oc #17729

0xmichalis opened this issue Dec 12, 2017 · 4 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. sig/master

Comments

@0xmichalis
Copy link
Contributor

$ oc scale dc/hook --replicas=0
error: Scaling the resource failed with: the API version in the data (extensions/v1beta1) does not match the expected API version (apps.openshift.io/v1); Current resource version Unknown
$ oc version
oc v3.9.0-alpha.0+713ad46-76
kubernetes v1.8.1+0d5291c
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://api.ci.openshift.org:443
openshift v3.7.0-rc.0+bd64aab-99
kubernetes v1.7.6+a08f5eeb62

/kind bug
/sig master

@openshift/sig-master

@openshift-ci-robot openshift-ci-robot added kind/bug Categorizes issue or PR as related to a bug. sig/master labels Dec 12, 2017
@liggitt
Copy link
Contributor

liggitt commented Dec 12, 2017

fixed in 3.7.x in #17517

@liggitt liggitt closed this as completed Dec 12, 2017
@0xmichalis
Copy link
Contributor Author

@liggitt this is happening with an oc built from master (I just tested with v3.9.0-alpha.0+4d15c88-84). Assuming 3.8 is not a release that will be shipped, shouldn't 3.9 clients work against 3.7 masters?

@0xmichalis
Copy link
Contributor Author

Ok, I think we just need to update our cluster in order for this to work.

@liggitt
Copy link
Contributor

liggitt commented Dec 12, 2017

3.6 and 3.7 shipped with the scale subresource under apps.openshift.io/v1 broken. It is fixed in the 3.6.x, 3.7.x, 3.8.x and master branches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. sig/master
Projects
None yet
Development

No branches or pull requests

3 participants