Description of problem: In downstream CAPO we've supported serverGroupName field on Machine. This seems to be missing from MAPO and only serverGroupID is taken into account. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Verified with OCP 4.11.0-0.nightly-2022-04-08-205307 on top of RHOS-16.1-RHEL-8-20220329.n.1 with Kuryr. (MAPO is the default for OpenStack deployments on this version) Verification steps: 1) Configure a workers machineset with anti-affinity and use the serverGroupName: ``` $ openstack server group list +--------------------------------------+---------------------+---------------+ | ID | Name | Policy | +--------------------------------------+---------------------+---------------+ | e60890ae-66a6-4d77-9006-f542b740eb72 | ostest-xs74z-master | anti-affinity | | aa2ea97d-8fbf-4569-ba58-865ffa418789 | ostest-xs74z-worker | anti-affinity | +--------------------------------------+---------------------+---------------+ $ oc get machinesets -A NAMESPACE NAME DESIRED CURRENT READY AVAILABLE AGE openshift-machine-api ostest-xs74z-worker-0 2 2 2 2 3h4m $ oc get machinesets -n openshift-machine-api ostest-xs74z-worker-0 -o yaml | grep serverGroupName serverGroupName: ostest-xs74z-worker ``` 2) The server group tests in openstack-test are passing: ``` passed: (2.9s) 2022-04-11T13:03:23 "[sig-installer][Feature:openstack] The OpenStack platform creates Worker nodes in a server group [Suite:openshift/conformance/parallel]" passed: (3.2s) 2022-04-11T13:03:24 "[sig-installer][Feature:openstack] The OpenStack platform creates Control plane nodes in a server group [Suite:openshift/conformance/parallel]" ```
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 (Important: OpenShift Container Platform 4.11.0 bug fix and security update), 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-2022:5069