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

There is confusing error in image registry operator "StorageExists" condition

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.17.z, 4.18.0
    • Image Registry
    • Low
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

         There is error "RESPONSE 404: 404 The specified account does not exist.\nERROR CODE: AccountNotFound" in "Storage container exists" condition.

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

      4.14.z,4.15.z,4.16.z,4.17.z, 4.18.0

      How reproducible:

          always

      Steps to Reproduce:

          1.Set .spec.managementState back and forth between Removed and Managed   
          2. Check the image registry operator log
          3.
          

      Actual results:

      There is the error code in Storage container exists condition

      changed:status.conditions.5.lastTransitionTime={"2024-11-20T07:23:29Z" -> "2024-11-20T07:25:23Z"},
      changed:status.conditions.5.message={"Storage container exists" -> "Container has been already deleted: DELETE https://imageregistrywxj20vnjr5n.blob.core.windows.net/wxj-20-vn29v-image-registry-jbvltpnbidkgelvltxpqkmwyfjkfiykasm\n--------------------------------------------------------------------------------\nRESPONSE 404: 404 The specified account does not exist.\nERROR CODE: AccountNotFound\n--------------------------------------------------------------------------------\n\ufeff<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>AccountNotFound</Code><Message>The specified account does not exist.\nRequestId:fb127ec0-a01e-007a-291d-3bd1a5000000\nTime:2024-11-20T07:25:23.9511625Z</Message></Error>\n--------------------------------------------------------------------------------\n"},
      changed:status.conditions.5.reason={"ContainerExists" -> "ContainerNotFound"},
      changed:status.conditions.5.status={"True" -> "False"},changed:status.conditions.6.lastTransitionTime={"2024-11-20T07:23:49Z" -> "2024-11-20T07:25:23Z"}
      

      Expected results:

          Should have clear information when storage account and it's container are deleted.

      Additional info:

          

              fmissi Flavian Missi
              rh-ee-xiuwang XiuJuan Wang
              XiuJuan Wang XiuJuan Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: