Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1895270

Summary: [DOCS] RHEL7 worker node needs additional package repository as of OCPv4.6 for scaling up
Product: OpenShift Container Platform Reporter: Daein Park <dapark>
Component: DocumentationAssignee: Kathryn Alexander <kalexand>
Status: CLOSED CURRENTRELEASE QA Contact: Johnny Liu <jialiu>
Severity: medium Docs Contact: Vikram Goyal <vigoyal>
Priority: unspecified    
Version: 4.6CC: aos-bugs, jialiu, jokerman, kalexand
Target Milestone: ---   
Target Release: ---   
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-11-10 19:23:55 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:

Description Daein Park 2020-11-06 07:19:02 UTC
Document URL: 

* Adding RHEL compute machines to an OpenShift Container Platform cluster
  [ https://docs.openshift.com/container-platform/4.6/machine_management/user_infra/adding-rhel-compute.html ] 

Section Number and Name: 

* Preparing a RHEL compute node
  [ https://docs.openshift.com/container-platform/4.6/machine_management/user_infra/adding-rhel-compute.html#rhel-preparing-node_adding-rhel-compute ]

Describe the issue: 

Networkmanager-ovs[0] and openvswitch2.13[1] packages are required to install worker node using playbooks as of OCv4.6.
But the additional package repositories for those additional packages does not provided in the related section and it causes scaleup.yml playbook failure. 

e.g.> missing "NetowrkManager-ovs"
~~~
    "msg": "No package matching 'NetworkManager-ovs' found available, installed or updated", 
    "rc": 126, 
:
        "No package matching 'NetworkManager-ovs' found available, installed or updated"
    ]
}
~~~

e.g.> missing "openvswtich2.13"
~~~
        "No package matching 'openvswitch2.13' found available, installed or updated"
    ], 
    "retries": 4
}
~~~

* Required repository for above each missing package as follows.

  // For Networkmanager-ovs
  subscription-manager repos --enable="rhel-7-server-optional-rpms"

  // For openvswitch2.13
  subscription-manager repos --enable="rhel-7-fast-datapath-rpms"

  [0] https://bugzilla.redhat.com/show_bug.cgi?id=1884095
  [1] https://bugzilla.redhat.com/show_bug.cgi?id=1874324

Suggestions for improvement: 

Fix it as follows.
~~~
6. 

Enable only the repositories required by OpenShift Container Platform 4.6:

# subscription-manager repos \
    --enable="rhel-7-server-rpms" \
    --enable="rhel-7-server-extras-rpms" \
    --enable="rhel-7-server-ose-4.6-rpms" \
    --enable="rhel-7-server-optional-rpms" \
    --enable="rhel-7-fast-datapath-rpms"
~~~

Additional information:

Comment 2 Kathryn Alexander 2020-11-10 16:07:37 UTC
This change was approved on the PR and related bugs. I've merged it and am waiting for it to go live.