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

Failed on azure [It] Webhooks should be able to create machines from a machineset with a minimal providerSpec

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • Yes
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      After installer PR https://github.com/openshift/installer/pull/10076 merged, installer no longer creates Gallery images, case "[It] Webhooks should be able to create machines from a machineset with a minimal providerSpec"  failed with GalleryImageNotFound: The gallery image /subscriptions/.../galleries/.../images/.../versions/latest is not available in centralus region example job https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_cluster-api-actuator-pkg/423/pull-ci-openshift-cluster-api-actuator-pkg-master-e2e-azure-operator/1992906462472441856 

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

      4.21

      How reproducible:

      always

      Steps to Reproduce:

      create machines from a machineset with a minimal providerSpec

      Actual results:

      Failed to create machines from a machineset with a minimal providerSpec
      
      RESPONSE 404: 404 Not Found
      ERROR CODE: GalleryImageNotFound
      --------------------------------------------------------------------------------
      {
        "error": {
          "code": "GalleryImageNotFound",
          "message": "\"The gallery image /subscriptions/d38f1e38-4bed-438e-b227-833f997adf6a/resourceGroups/ci-op-zhqnnj0w-d57e2-jdzbn-rg/providers/Microsoft.Compute/galleries/gallery_ci_op_zhqnnj0w_d57e2_jdzbn/images/ci-op-zhqnnj0w-d57e2-jdzbn/versions/latest is not available in westus region. Please contact image owner to replicate to this region, or change your requested region.\"",
          "target": "imageReference"
        }
      }

      Expected results:

      Machine create succeed with a minimal providerSpec

      Additional info:

      https://redhat-internal.slack.com/archives/CBZHF4DHC/p1764555476621779

              padillon Patrick Dillon
              rhn-support-zhsun Zhaohua Sun
              None
              None
              Zhaohua Sun Zhaohua Sun
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: