Bug 1858989 - [DOCS] OCP 4.5 Release note "1.2.5.3. Anti-affinity compute node scheduling on RHOSP" has wrong informaion
Summary: [DOCS] OCP 4.5 Release note "1.2.5.3. Anti-affinity compute node scheduling o...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 4.5
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.5.z
Assignee: Max Bridges
QA Contact: sunzhaohua
Vikram Goyal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-21 02:16 UTC by Hideshi Fukumoto
Modified: 2020-10-23 14:06 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-23 14:06:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift openshift-docs pull 25837 0 None closed Add MachineSet infra and server group content 2020-12-09 08:37:07 UTC
Red Hat Knowledge Base (Solution) 5375091 0 None None None 2020-09-29 03:49:19 UTC

Comment 7 Max Bridges 2020-09-30 12:14:51 UTC
For QE: https://github.com/openshift/openshift-docs/pull/25837

Comment 10 sunzhaohua 2020-10-14 08:01:19 UTC
I have tested this by deploying a new MachineSet with ServerGroupID set as a post-install operation, it works as expected, move this to verified.
$ openstack server group create --policy=anti-affinity zhsunbug
+----------+--------------------------------------+
| Field    | Value                                |
+----------+--------------------------------------+
| id       | 0d1f9449-af50-4cf5-b8a6-08dd51fca1c5 |
| members  |                                      |
| name     | zhsunbug                             |
| policies | anti-affinity                        |
+----------+--------------------------------------+
$ oc create -f machineset.yaml
$ oc get machineset zhsun13osp-s9vd8-worker-1 -o yaml
machineset.yaml
      providerSpec:
        value:
          apiVersion: openstackproviderconfig.openshift.io/v1alpha1
          cloudName: openstack
          cloudsSecret:
            name: openstack-cloud-credentials
            namespace: openshift-machine-api
          flavor: m1.large
          image: zhsun13osp-s9vd8-rhcos
          kind: OpenstackProviderSpec
          metadata:
            creationTimestamp: null
          networks:
          - filter: {}
            subnets:
            - filter:
                name: zhsun13osp-s9vd8-nodes
                tags: openshiftClusterID=zhsun13osp-s9vd8
          securityGroups:
          - filter: {}
            name: zhsun13osp-s9vd8-worker
          serverGroupID: 0d1f9449-af50-4cf5-b8a6-08dd51fca1c5

$ oc get machine
NAME                              PHASE     TYPE        REGION      ZONE   AGE
zhsun13osp-s9vd8-master-0         Running   m1.xlarge   regionOne   nova   23h
zhsun13osp-s9vd8-master-1         Running   m1.xlarge   regionOne   nova   23h
zhsun13osp-s9vd8-master-2         Running   m1.xlarge   regionOne   nova   23h
zhsun13osp-s9vd8-worker-0-f6zxn   Running   m1.large    regionOne   nova   23h
zhsun13osp-s9vd8-worker-0-kszvf   Running   m1.large    regionOne   nova   23h
zhsun13osp-s9vd8-worker-0-xscs9   Running   m1.large    regionOne   nova   23h
zhsun13osp-s9vd8-worker-1-tlnd8   Running   m1.large    regionOne   nova   40m
zhsun13osp-s9vd8-worker-1-ww8sx   Running   m1.large    regionOne   nova   40m
zhsun13osp-s9vd8-worker-1-xr4m6   Running   m1.large    regionOne   nova   40m

Comment 11 Max Bridges 2020-10-14 19:53:49 UTC
Thanks!


Note You need to log in before you can comment on or make changes to this bug.