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

mapi_instance_create_failed metric cannot work when set acceleratedNetworking: true on Azure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • 4.12.z
    • 4.13
    • None
    • Low
    • No
    • 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-36148[*OCPBUGS-36148*])
      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-36148 [* OCPBUGS-36148 *])
    • Bug Fix
    • Done

      This is a clone of issue OCPBUGS-5235. The following is the description of the original issue:

      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

              rmanak@redhat.com Radek Manak
              openshift-crt-jira-prow OpenShift Prow Bot
              Huali Liu Huali Liu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: