Bug 1810430
| Summary: | [IPI Baremetal] Machines missing phase, nodeRef and status | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jianwei Hou <jhou> |
| Component: | Cloud Compute | Assignee: | sdasu |
| Cloud Compute sub component: | BareMetal Provider | QA Contact: | Jianwei Hou <jhou> |
| Status: | CLOSED DUPLICATE | Docs Contact: | |
| Severity: | medium | ||
| Priority: | medium | CC: | augol, beth.white, stbenjam |
| Version: | 4.3.z | Keywords: | Triaged |
| 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-12 17:14:39 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: | |||
Phase and nodeRef are correctly set on workers, e.g.
status:
addresses:
- address: fd00:1101::2a
type: InternalIP
- address: fd2e:6f44:5dd8:c956::17
type: InternalIP
- address: worker-0.ostest.test.metalkube.org
type: Hostname
- address: worker-0.ostest.test.metalkube.org
type: InternalDNS
lastUpdated: "2020-05-12T13:50:56Z"
nodeRef:
kind: Node
name: worker-0.ostest.test.metalkube.org
uid: e8b400ae-7881-4cab-a771-9686ad3a450b
phase: Running
Masters do not get a nodRef, and it's a known issue and being tracked by BZ1801238.
*** This bug has been marked as a duplicate of bug 1801238 ***
|
Description of problem: Machines do not have nodeRef, phase and status(masters only) on an IPI baremetal deployment. Version-Release number of selected component (if applicable): 4.3.0-0.nightly-2020-03-04-165955 How reproducible: Always Steps to Reproduce: oc get machines -n openshift-machine-api -o yaml Actual results: Example of a worker: kind: Machine metadata: annotations: metal3.io/BareMetalHost: openshift-machine-api/openshift-worker-1 creationTimestamp: "2020-03-05T08:01:00Z" finalizers: - machine.machine.openshift.io generateName: ocp-edge-cluster-worker-0- generation: 1 labels: machine.openshift.io/cluster-api-cluster: ocp-edge-cluster machine.openshift.io/cluster-api-machine-role: worker machine.openshift.io/cluster-api-machine-type: worker machine.openshift.io/cluster-api-machineset: ocp-edge-cluster-worker-0 name: ocp-edge-cluster-worker-0-b2k2j namespace: openshift-machine-api ownerReferences: - apiVersion: machine.openshift.io/v1beta1 blockOwnerDeletion: true controller: true kind: MachineSet name: ocp-edge-cluster-worker-0 uid: ca2b8802-c0cf-4e7e-a4e9-e22dc6f3d02c resourceVersion: "183191" selfLink: /apis/machine.openshift.io/v1beta1/namespaces/openshift-machine-api/machines/ocp-edge-cluster-worker-0-b2k2j uid: f6ceb8c0-a809-4470-be49-b25c24dd1ead spec: metadata: creationTimestamp: null providerSpec: value: hostSelector: {} image: checksum: http://172.22.0.3:6180/images/rhcos-43.81.202001142154.0-openstack.x86_64.qcow2/rhcos-43.81.202001142154.0-compressed.x86_64.qcow2.md5sum url: http://172.22.0.3:6180/images/rhcos-43.81.202001142154.0-openstack.x86_64.qcow2/rhcos-43.81.202001142154.0-compressed.x86_64.qcow2 metadata: creationTimestamp: null userData: name: worker-user-data status: addresses: - address: "" type: InternalIP - address: 172.22.0.30 type: InternalIP - address: worker-1.ocp-edge-cluster.qe.lab.redhat.com type: Hostname - address: worker-1.ocp-edge-cluster.qe.lab.redhat.com type: InternalDNS lastUpdated: "2020-03-05T08:01:30Z" Example of a master apiVersion: machine.openshift.io/v1beta1 kind: Machine metadata: annotations: metal3.io/BareMetalHost: openshift-machine-api/openshift-master-0 creationTimestamp: "2020-03-04T22:11:51Z" finalizers: - machine.machine.openshift.io generation: 1 labels: machine.openshift.io/cluster-api-cluster: ocp-edge-cluster machine.openshift.io/cluster-api-machine-role: master machine.openshift.io/cluster-api-machine-type: master name: ocp-edge-cluster-master-0 namespace: openshift-machine-api resourceVersion: "4336" selfLink: /apis/machine.openshift.io/v1beta1/namespaces/openshift-machine-api/machines/ocp-edge-cluster-master-0 uid: 8ef4c276-dd88-46f1-b26f-891c3fd87253 spec: metadata: creationTimestamp: null providerSpec: value: hostSelector: {} image: checksum: http://172.22.0.3:6180/images/rhcos-43.81.202001142154.0-openstack.x86_64.qcow2/rhcos-43.81.202001142154.0-compressed.x86_64.qcow2.md5sum url: http://172.22.0.3:6180/images/rhcos-43.81.202001142154.0-openstack.x86_64.qcow2/rhcos-43.81.202001142154.0-compressed.x86_64.qcow2 metadata: creationTimestamp: null userData: name: master-user-data status: {} Expected results: The machines on IPI baremetal deployment should have phase, nodeRef as they did on the cloud. Additional info: