-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
origin:v3.7.2 origin-master-controllers HPA works for deployments but not deploymentconfigs #19045
Comments
Heya! Not sure if this is related, but:
Thoughts? |
I've also tried modifying the hpa spec to change the scaleTargetRef 'apiVersion' to |
This is what
|
@openshift/sig-pod |
i know we already resolved a number of bugs related to this, might be fixed in master already |
Yes, please double-check in master, it should be fixed there. |
@DirectXMan12 @jwforres could you clarify the fix in master you are referring to? Unfortunately the similar change applied to master (#17587) was also some time ago so much of the code has been significantly refactored (especially in apiserver/apiserver.go) as best i can tell, the change from 3.7.0 (where we had working HPA) is related to changing what was returned by the deploymentconfigs/scale subresource introduced in 3.7.1/3.7.2 (#17517) but may need some clarification if possible from @liggitt . |
@mshutt could you verify this is fixed in 3.9? |
@sjenning We'll be doing the 3.9 upgrade in our lab as soon as is possible. Hoping for early next week. We're all containerized and I saw that another user tripped over the etcd upgrade issue with Origin vs. the paid bits (which I'd reported previously working around by setting the var openshift_etcd_upgrade: false and then re-running byo/config.yml after doing the upgrade plays openshift/openshift-ansible#6931) |
This was related to HPA using a faulty client. It is resolved in 3.9. A fix for this in 3.7 is in #19437 but I don't know if there are more 3.7 releases planned |
fixed in the release-3.7 branch in #19437 |
HPA no longer functions correctly for DeploymentConfigs, still works for Deployments
Version
oc version
oc v3.7.2+26304a3-2
kubernetes v1.7.6+a08f5eeb62
features: Basic-Auth GSSAPI Kerberos SPNEGO
Server [redacted]
openshift v3.7.2+26304a3-2
kubernetes v1.7.6+a08f5eeb62
Steps To Reproduce
oc describe hpa/friendlyhello
Current Result
Expected Result
Additional Information
This works correctly for Deployments
Here is the output of LOGLEVEL=6 from origin-master-controllers while it is running the HPA:
Here is a raw query of the scale resource the deploymentconfig:
And here is a raw query of the scale resource for the deployment:
This seems somehow inversely related to:
https://bugzilla.redhat.com/show_bug.cgi?id=1549873
#17517
@liggitt - Any thoughts? I am not a go developer (yet), but I'll help any way that I can!
/label bug
/label question
The text was updated successfully, but these errors were encountered: