Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-766

Missing the instance-type/region/zone labels in Machine CRs

XMLWordPrintable

    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Currently in 4.11, MAPI nutanix machine-controller does not provide the machine (VM)’s instance-type, region, zone, etc. labels to the Machine CR. And these columns are empty when viewing the Machine CRs, via cli “oc get Machine” or from the OCP cluster web console. 
      $ oc -n openshift-machine-api get machine 
      NAME                                  PHASE      TYPE REGION ZONE   AGE 
      demo-ocp-cluster-g1-77nws-master-0   Running                        133m 
      demo-ocp-cluster-g1-77nws-master-1   Running                        133m 
      demo-ocp-cluster-g1-77nws-master-2   Running                        133m 
      demo-ocp-cluster-g1-77nws-worker-2bsxn Running                      129m 
      demo-ocp-cluster-g1-77nws-worker-75hr5 Running                      129m 
      demo-ocp-cluster-g1-77nws-worker-rg7b9 Running                      129m
      
      We can add something like the below labels to the Machine CR in the mapi-nutanix when reconciling for the Machine CRs: 
      machine.openshift.io/instance-type: AHV 
      machine.openshift.io/region: <prism-central-address> 
      machine.openshift.io/zone: <prism-element-name/uuid>

      Version-Release number of selected component (if applicable):

       

      How reproducible:

      run cli “oc get Machine” or from the OCP cluster web console to view the Machines resource

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      The "Type", "Region", "Zone" columns are empty for each Machine CR.

      Expected results:

      The "Type", "Region", "Zone" columns showing data for each Machine CR.

      Additional info:

       

            yanhli@redhat.com Yanhua Li
            yanhua.li Yanhua Li (Inactive)
            Zhaohua Sun Zhaohua Sun
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: