-
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
1.8.4 rebase #17503
1.8.4 rebase #17503
Conversation
cc @openshift/sig-master |
/test extended_builds |
@@ -617,9 +616,8 @@ func apiLegacyV1(all map[string]rest.Storage) *genericapiserver.APIGroupInfo { | |||
VersionedResourcesStorageMap: map[string]map[string]rest.Storage{}, | |||
Scheme: kapi.Scheme, | |||
// version.ParameterCodec = runtime.NewParameterCodec(kapi.Scheme) | |||
ParameterCodec: kapi.ParameterCodec, | |||
NegotiatedSerializer: kapi.Codecs, | |||
SubresourceGroupVersionKind: map[string]schema.GroupVersionKind{}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SubresourceGroupVersionKind for scale is not needed anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like the test/cmd failing with error: no kind "Scale" is registered for version "extensions/v1beta1"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see the errors too. I don't think manual registration is the answer... trying to track down what changed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part of the @mfojtik fix is coming from kubernetes/kubernetes#54744, so it needs to land. The expansions is something I personally dislike too :/.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested and verified this approach works: https://github.com/liggitt/origin/pull/15
@liggitt working on the Scale thing... seems troublesome: https://gist.github.com/soltysh/d3074edec8c7d67c6010acb33e6a295f The client serializer prefer apps.openshift.io/v1 which is what is sent to server, but server wants extensionsv1beta1.Scale... Interestingly, when I removed extensions.Scale from apps scheme, it still used apps.Scale instead... I passed the 'get' error with this patch: mfojtik@c882660 @soltysh tested what we sent to deploymentconfigs/../scale and: in 3.6: we get extensions/v1beta1.Scale and send extensions/v1beta1.Scale |
@liggitt can you rebase this so we can land it? |
waiting for #17520 |
and then need to re-move upstreams to openshift/kubernetes/release-1.8.1, rebase openshift/kubernetes/release-1.8.4, then I'll update this |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liggitt The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/retest |
/retest |
/test extended_builds |
@liggitt: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
lgtm. Tag once you get the deps fanned out. |
1.8.5 was out. closing in favor of #17849 |
Based on HEAD commit from openshift/kubernetes#47
No interesting origin changes
One upstream API change (ScaleIO PV secret namespace split)