Bug 1822054 - [IPI on Baremetal] Machines missing phase, nodeRef and status
Summary: [IPI on Baremetal] Machines missing phase, nodeRef and status
Keywords:
Status: CLOSED DUPLICATE of bug 1801238
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cloud Compute
Version: 4.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.5.0
Assignee: sdasu
QA Contact: sunzhaohua
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-08 06:59 UTC by sunzhaohua
Modified: 2020-05-19 16:45 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-19 16:45:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description sunzhaohua 2020-04-08 06:59:29 UTC
+++ This bug was initially created as a clone of Bug #1810430 +++

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.4.0-0.nightly-2020-04-04-025830

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:

Comment 2 Beth White 2020-05-19 16:45:53 UTC

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


Note You need to log in before you can comment on or make changes to this bug.