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

Bug 1840553

Summary: OCPRHV-94: Worker machines are not in correct state after cluster deploy
Product: OpenShift Container Platform Reporter: Jan Zmeskal <jzmeskal>
Component: Cloud ComputeAssignee: Douglas Schilling Landgraf <dougsland>
Cloud Compute sub component: oVirt Provider QA Contact: Lucie Leistnerova <lleistne>
Status: CLOSED DUPLICATE Docs Contact:
Severity: low    
Priority: unspecified CC: dougsland, rgolan
Version: 4.5   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://issues.redhat.com/browse/OCPRHV-94
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-09 11:33:09 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
Screenshot from webconsole
none
machine-controller log none

Description Jan Zmeskal 2020-05-27 08:07:20 UTC
Description of problem:
After a fresh OCP on RHV cluster is deployed, worker Machines seem to be in an incorrect state when inspecting them in webconsole. See the attached screenshot. Firstly, unlike master machine, their associated Node is not shown. Secondly, their Phase is "Provisioned", not "Provisioned as node". Thirdly, webconsole says their Provider State is "image_locked" while in oVirt they are reported as "up".

Version-Release number of the following components:
4.5.0-0.nightly-2020-05-26-051016

How reproducible:
100 %

Steps to Reproduce:
1. Deploy OCP on RHV cluster
2. Log into webconsole
3. Check Compute -> Machines view

Additional info:
Those machine show as nodes when running this:
oc get nodes
NAME                             STATUS   ROLES    AGE   VERSION
secondary-4qlck-master-0         Ready    master   17h   v1.18.2
secondary-4qlck-master-1         Ready    master   17h   v1.18.2
secondary-4qlck-master-2         Ready    master   17h   v1.18.2
secondary-4qlck-worker-0-bsfzv   Ready    worker   16h   v1.18.2
secondary-4qlck-worker-0-hqln4   Ready    worker   16h   v1.18.2
secondary-4qlck-worker-0-nj5qb   Ready    worker   16h   v1.18.2

Comment 1 Jan Zmeskal 2020-05-27 08:08:31 UTC
Created attachment 1692592 [details]
Screenshot from webconsole

Comment 2 Roy Golan 2020-05-27 09:36:32 UTC
what is the output of oc get machines/secondary-4qlck-worker-0-bsfzv -n openshift-machine-api
need the log of machine-api-cotrollers/machine-controller container log

Comment 3 Roy Golan 2020-05-27 09:36:58 UTC
what is the output of oc get machines/secondary-4qlck-worker-0-bsfzv -n openshift-machine-api
need the log of machine-api-cotrollers/machine-controller container log

Comment 4 Jan Zmeskal 2020-05-27 09:44:50 UTC
oc get machines/secondary-4qlck-worker-0-bsfzv -n openshift-machine-api
NAME                             PHASE         TYPE   REGION   ZONE   AGE
secondary-4qlck-worker-0-bsfzv   Provisioned                          18h

Output of oc logs machine-api-controllers-6756dd6588-9jqm9 -c machine-controller -n openshift-machine-api in attachment.

Comment 5 Jan Zmeskal 2020-05-27 09:50:11 UTC
Created attachment 1692631 [details]
machine-controller log

Comment 6 Roy Golan 2020-07-09 11:33:09 UTC

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