Bug 1858989
| Summary: | [DOCS] OCP 4.5 Release note "1.2.5.3. Anti-affinity compute node scheduling on RHOSP" has wrong informaion | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Hideshi Fukumoto <hfukumot> |
| Component: | Documentation | Assignee: | Max Bridges <mbridges> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | sunzhaohua <zhsun> |
| Severity: | medium | Docs Contact: | Vikram Goyal <vigoyal> |
| Priority: | high | ||
| Version: | 4.5 | CC: | aos-bugs, jokerman, mbridges, mfuruta, vigoyal |
| Target Milestone: | --- | Keywords: | Documentation |
| Target Release: | 4.5.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-10-23 14:06:08 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Comment 7
Max Bridges
2020-09-30 12:14:51 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
Thanks! |