Bug 1824425

Summary: [osp] Csrs are not approved for workers after installation if adding workers to additional network
Product: OpenShift Container Platform Reporter: sunzhaohua <zhsun>
Component: Cloud ComputeAssignee: Mike Fedosin <mfedosin>
Cloud Compute sub component: OpenStack Provider QA Contact: David Sanz <dsanzmor>
Status: CLOSED DUPLICATE Docs Contact:
Severity: medium    
Priority: high CC: adduarte, agarcial, egarcia, m.andre, mfedosin, pprinett
Version: 4.5   
Target Milestone: ---   
Target Release: 4.5.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: 2020-05-14 14:26:00 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:
Attachments:
Description Flags
machine-approver.log none

Description sunzhaohua 2020-04-16 08:31:30 UTC
Description of problem:
Add workers to additional network by adding additionalNetworkIDs in the install-config.yaml. After installation, csrs are not approved for workers.

Version-Release number of selected component (if applicable):
4.5.0-0.nightly-2020-04-15-223247

How reproducible:
Always

Steps to Reproduce:
1. Setup env with additional networks for your machines
2. After installation, check csrs
3.

Actual results:
Csrs are not approved for workers
$ oc get csr
NAME        AGE     SIGNERNAME                      REQUESTOR                                    CONDITION
csr-2cf26   128m    kubernetes.io/kubelet-serving   system:node:zhsun416osp-lhbg5-worker-9hc8x   Pending
csr-689bv   4h11m   kubernetes.io/kubelet-serving   system:node:zhsun416osp-lhbg5-worker-9hc8x   Pending
csr-6jdrt   62m     kubernetes.io/kubelet-serving   system:node:zhsun416osp-lhbg5-worker-8242k   Pending
csr-6z5pl   3h25m   kubernetes.io/kubelet-serving   system:node:zhsun416osp-lhbg5-worker-9hc8x   Pending
csr-77kbc   4h7m    kubernetes.io/kubelet-serving   system:node:zhsun416osp-lhbg5-worker-8242k   Pending
csr-7pwps   3h22m   kubernetes.io/kubelet-serving   system:node:zhsun416osp-lhbg5-worker-8242k   Pending
csr-8q499   81m     kubernetes.io/kubelet-serving   system:node:zhsun416osp-lhbg5-worker-9hc8x   Pending
csr-9v9d2   4h22m   kubernetes.io/kubelet-serving   system:node:zhsun416osp-lhbg5-worker-kb7ws   Pending
csr-bg22g   4m35s   kubernetes.io/kubelet-serving   system:node:zhsun416osp-lhbg5-worker-9hc8x   Pending


Expected results:
Csrs are approved for workers

Additional info:

Comment 1 Alberto 2020-04-16 08:47:08 UTC
can you share machine approver logs? and node a and machine objects?

Comment 2 sunzhaohua 2020-04-16 09:01:17 UTC
Created attachment 1679276 [details]
machine-approver.log

Comment 3 sunzhaohua 2020-04-16 09:03:59 UTC
Machine stuck in Provisioned status and have no nodeRef, I report another bug: https://bugzilla.redhat.com/show_bug.cgi?id=1824426

Comment 5 Pierre Prinetti 2020-05-07 14:43:05 UTC
The team considers this bug as valid and has it prioritised in the upcoming sprint.

Comment 6 Mike Fedosin 2020-05-14 14:26:00 UTC

*** This bug has been marked as a duplicate of bug 1824426 ***