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

mapi_instance_create_failed metric cannot work when set acceleratedNetworking: true on Azure

    XMLWordPrintable

Details

    • Low
    • CLOUD Sprint 230
    • 1
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, the `mapi_instance_create_failed` alert metric did not fire when there was an error for the Accelerated Networking feature on Microsoft Azure clusters. This release adds the missing alert so that clusters with Accelerated Networking enabled generate alerts when required.
      (link:https://issues.redhat.com/browse/OCPBUGS-5235[*OCPBUGS-5235*])
      Show
      * Previously, the `mapi_instance_create_failed` alert metric did not fire when there was an error for the Accelerated Networking feature on Microsoft Azure clusters. This release adds the missing alert so that clusters with Accelerated Networking enabled generate alerts when required. (link: https://issues.redhat.com/browse/OCPBUGS-5235 [* OCPBUGS-5235 *])
    • Bug Fix
    • Done

    Description

      Description of problem:

      mapi_instance_create_failed metric cannot work when set acceleratedNetworking: true on Azure

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

      4.13.0-0.nightly-2022-12-23-223710

      How reproducible:

      Always

      Steps to Reproduce:

      1.Create a machineset with invalid vmSize and acceleratedNetworking: true
      Copy a default machineset, change name, and change vmSize to an invalid one
      
      liuhuali@Lius-MacBook-Pro huali-test % oc get machine
      NAME                                     PHASE     TYPE              REGION   ZONE   AGE
      huliu-az29-bbl8d-master-0                Running   Standard_D8s_v3   westus          176m
      huliu-az29-bbl8d-master-1                Running   Standard_D8s_v3   westus          176m
      huliu-az29-bbl8d-master-2                Running   Standard_D8s_v3   westus          176m
      huliu-az29-bbl8d-worker-invalid1-5j8zb   Failed                                      39m
      huliu-az29-bbl8d-worker-invalid2-cntwc   Failed                                      33m
      huliu-az29-bbl8d-worker-westus-2jzvd     Running   Standard_D4s_v3   westus          171m
      huliu-az29-bbl8d-worker-westus-fb4pz     Running   Standard_D4s_v3   westus          171m
      huliu-az29-bbl8d-worker-westus-vw7pw     Running   Standard_D4s_v3   westus          171m
      liuhuali@Lius-MacBook-Pro huali-test % 
      
      huliu-az29-bbl8d-worker-invalid1 this machineset doesn’t set acceleratedNetworking: true
      huliu-az29-bbl8d-worker-invalid2 this machineset set acceleratedNetworking: true 
      
      2.Check mapi_instance_create_failed metric on UI
      Only have one mapi_instance_create_failed metric for huliu-az29-bbl8d-worker-invalid1-5j8zb
      
      

      Actual results:

      Machine create failed with acceleratedNetworking: true hasn’t mapi_instance_create_failed metric

      Expected results:

      Machine create failed with acceleratedNetworking: true should have mapi_instance_create_failed metric

      Additional info:

      Test case: https://polarion.engineering.redhat.com/polarion/#/project/OSE/workitem?id=OCP-36989

      Attachments

        Activity

          People

            rmanak@redhat.com Radek Manak
            huliu@redhat.com Huali Liu
            Huali Liu Huali Liu
            Jeana Routh Jeana Routh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: