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

Network operator fails to finish rolling out in OpenStack platform because it cannot update Infrastructure.Spec

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.18.0
    • HyperShift
    • Important
    • None
    • Hypershift Sprint 258
    • 1
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      In the case of OpenStack, the network operator tries and fails to update the infrastructure resource.   

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

          4.18.0

      How reproducible:

          always

      Steps to Reproduce:

          1. Install hypershift
          2. Create openstack hosted cluster
          

      Actual results:

      Network operator fails to report as available due to:
       - lastTransitionTime: "2024-08-22T15:54:16Z"
          message: 'Error while updating infrastructures.config.openshift.io/cluster: failed
            to apply / update (config.openshift.io/v1, Kind=Infrastructure) /cluster: infrastructures.config.openshift.io
            "cluster" is forbidden: ValidatingAdmissionPolicy ''config'' with binding ''config-binding''
            denied request: This resource cannot be created, updated, or deleted. Please
            ask your administrator to modify the resource in the HostedCluster object.'
          reason: UpdateInfrastructureSpecOrStatus
          status: "True"
          type: network.operator.openshift.io/Degraded    

      Expected results:

          Cluster operator becomes available

      Additional info:

          This is a bug introduced with https://github.com/openshift/hypershift/pull/4303 

            sjenning Seth Jennings
            cewong@redhat.com Cesar Wong
            Jie Zhao Jie Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: