OSE PR: https://github.com/openshift/ose/pull/860
Not fixed in errata version (atomic-openshift-3.5.5.31.27-1.git.0.5d19d76.el7) or latest 3.5 (v3.5.5.31.29)
Weiha Meng, None of those builds have my changes. The PR got merged 6 days ago and I couldn't find a release for 3.5 after that. Also, the pod.yaml needs to change for the testing as pod-affinity and anti-affinity are in annotations rather than in pod spec for 3.5.
Looks like the errata tool may have mistakenly moved this to ON_QA. Moving back to MODIFIED until it is actually in a build.
NOT fixed. openshift v3.5.5.31.34
Can you please share the pod.yaml that was used for testing?
# cat deployment-sample.yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: name: sample1 spec: replicas: 2 template: metadata: labels: app: sample annotations: scheduler.alpha.kubernetes.io/affinity: > { "podAntiAffinity": { "requiredDuringSchedulingIgnoredDuringExecution": [ { "labelSelector": { "matchExpressions": [ { "key": "app", "operator": "In", "values": ["sample"] } ] }, "topologyKey": "kubernetes.io/hostname" } ] } } spec: containers: - name: sam image: docker.io/ocpqe/hello-pod
Thanks Weihua Meng, I will check this.
Verified on openshift v3.5.5.31.39 Fixed.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:3389