Bug 1959981

Summary: [OCPonRHV] - Affinity Group should not create by default if we define empty affinityGroupsNames: []
Product: OpenShift Container Platform Reporter: michal <mgold>
Component: InstallerAssignee: Gal Zaidman <gzaidman>
Installer sub component: OpenShift on RHV QA Contact: michal <mgold>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: gzaidman, lleistne, mburman
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.0   
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: 2021-07-27 23:08:19 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:
Bug Depends On:    
Bug Blocks: 1931217    

Comment 2 michal 2021-05-19 12:21:18 UTC
RHV: 4.4.6.5
OCP - 4.8.0-0.nightly-2021-05-18-205323

1. install ocp 4.8 on rhv with empty affinityGroupNames:
and delete the affinityGroups: definition
apiVersion: v1
baseDomain: ocp.rhev.lab.eng.brq.redhat.com
compute:
- architecture: amd64
  hyperthreading: Enabled
  name: worker
  platform:
    ovirt:
      vmType: server
      affinityGroupsNames: []
  replicas: 3
controlPlane:
  architecture: amd64
  hyperthreading: Enabled
  name: master
  platform:
    ovirt:
      vmType: server
      affinityGroupsNames: []
  replicas: 3
metadata:
  creationTimestamp: null
  name: ge2n1
networking:
  clusterNetwork:
  - cidr: 10.128.0.0/14
    hostPrefix: 23
  machineNetwork:
  - cidr: 10.0.0.0/16
  networkType: OpenShiftSDN
  serviceNetwork:
  - 172.30.0.0/16
platform:
  ovirt:


2. look on VM on rhv after installation 
Actual:
Affinity group doesn't create as expected

Comment 5 errata-xmlrpc 2021-07-27 23:08:19 UTC
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 (Moderate: OpenShift Container Platform 4.8.2 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-2021:2438