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

[OSP] Prometheus metric mapi_instance_create_failed missing on openstack

XMLWordPrintable

    • Quality / Stability / Reliability
    • None
    • None
    • None
    • Low
    • None
    • Unspecified
    • None
    • None
    • Rejected
    • None
    • ?
    • None
    • If docs needed, set a value
    • None
    • None
    • None
    • None
    • None

      +++ This bug was initially created as a clone of Bug #1890456 +++

      Description of problem:
      mapi_instance_create_failed doesn't work on openstack

      Version-Release number of selected component (if applicable):
      4.6.0-rc.4

      How reproducible:
      Always

      Steps to Reproduce:
      1.Create a failed machine by setting template to an invalid one
      2.Check prometheus metrics
      3.

      Actual results:
      Prometheus web console show "No datapoints found".

      $ token=`oc sa get-token prometheus-k8s -n openshift-monitoring`
      $ oc -n openshift-monitoring exec -c prometheus prometheus-k8s-0 – curl -k -H "Authorization: Bearer $token" 'https://prometheus-k8s.openshift-monitoring.svc:9091/api/v1/label/_name/values' | jq | grep "mapi_instance"
      % Total % Received % Xferd Average Speed Time Time Time Current
      Dload Upload Total Spent Left Speed
      100 64475 0 64475 0 0 530k 0 -::- -::- -::- 533k
      $ oc get machine
      NAME PHASE TYPE REGION ZONE AGE
      zhsunvs22-tr2bv-master-0 Running 15h
      zhsunvs22-tr2bv-master-1 Running 15h
      zhsunvs22-tr2bv-master-2 Running 15h
      zhsunvs22-tr2bv-worker-5d6xw Running 15h
      zhsunvs22-tr2bv-worker-xrw84 Running 15h
      zhsunvs22-tr2bv-worker1-sjkss Failed 13h

      Expected results:
      Should show mapi_instance_create_failed detail info.

              Unassigned Unassigned
              rh-ee-miyadav Milind Yadav
              None
              None
              Jon Uriarte Jon Uriarte
              None
              Red Hat Employee
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: