Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-21720

scale-in failed: admission webhook "clusterinstances.siteconfig.open-cluster-management.io" denied the request: detected unauthorized changes in immutable fields

XMLWordPrintable

    • Quality / Stability / Reliability
    • Hide

      Follow the official doc for the scale in of compute node and remove the node in the middle of the list for e.g. scale in node-3:

      spec:
        nodes:
          - hostName: node-0
      ...
          - hostName: node-1
      ...
          - hostName: node-2
      ...
          - hostName: node-3 # <<< this one
      ...
          - hostName: node-4
      ...
          - hostName: node-5
      ...
      
      Show
      Follow the official doc for the scale in of compute node and remove the node in the middle of the list for e.g. scale in node-3 : spec: nodes: - hostName: node-0 ... - hostName: node-1 ... - hostName: node-2 ... - hostName: node-3 # <<< this one ... - hostName: node-4 ... - hostName: node-5 ...
    • Moderate
    • None

      Scale in of multi node cluster failed after removing the node from the manifest git repo and pushing a change.
      ArgoCD application failed to sync and reported next error:

      Failed sync attempt to c53b48392d3ba0068ea87adcd8c5e1aa0a420059: one or more objects failed to apply, reason: error when patching "/dev/shm/1842516518": admission webhook "clusterinstances.siteconfig.open-cluster-management.io" denied the request: invalid spec changes detected: detected unauthorized changes in immutable fields: /nodes/3/bmcAddress, /nodes/3/bootMACAddress, /nodes/3/hostName, /nodes/3/nodeNetwork/config/interfaces/0/mac-address, /nodes/3/nodeNetwork/config/interfaces/2/ipv4/address/0/ip, /nodes/3/nodeNetwork/config/interfaces/2/ipv6/address/0/ip, /nodes/3/nodeNetwork/interfaces/0/macAddress, /nodes/3/nodeNetwork/interfaces/1/macAddress, /nodes/3/nodeNetwork/interfaces/2/macAddress, /nodes/3/nodeNetwork/interfaces/3/macAddress, /nodes/3/nodeNetwork/interfaces/4/macAddress, /nodes/3/rootDeviceHints/deviceName, /nodes/4/bmcAddress, /nodes/4/bootMACAddress, /nodes/4/hostName, /nodes/4/nodeNetwork/config/interfaces/0/mac-address, /nodes/4/nodeNetwork/config/interfaces/1/link-aggregation/port/0, /nodes/4/nodeNetwork/config/interfaces/1/link-aggregation/port/1, /nodes/4/nodeNetwork/config/interfaces/2/ipv4/address/0/ip, /nodes/4/nodeNetwork/config/interfaces/2/ipv6/address/0/ip, /nodes/4/nodeNetwork/interfaces/0/macAddress, /nodes/4/nodeNetwork/interfaces/1/macAddress, /nodes/4/nodeNetwork/interfaces/2/macAddress, /nodes/4/nodeNetwork/interfaces/3/macAddress, /nodes/4/nodeNetwork/interfaces/3/name, /nodes/4/nodeNetwork/interfaces/4/macAddress, /nodes/4/nodeNetwork/interfaces/4/name, /nodes/4/rootDeviceHints/deviceName, /nodes/5/bmcAddress, /nodes/5/bootMACAddress, /nodes/5/hostName, /nodes/5/ignitionConfigOverride, /nodes/5/nodeNetwork/config/interfaces/0/mac-address, /nodes/5/nodeNetwork/config/interfaces/2/ipv4/address/0/ip, /nodes/5/nodeNetwork/config/interfaces/2/ipv6/address/0/ip, /nodes/5/nodeNetwork/config/interfaces/3/mac-address, /nodes/5/nodeNetwork/config/interfaces/4/mac-address, /nodes/5/nodeNetwork/config/interfaces/5/mac-address, /nodes/5/nodeNetwork/config/interfaces/6/mac-address, /nodes/5/nodeNetwork/interfaces/0/macAddress, /nodes/5/nodeNetwork/interfaces/1/macAddress, /nodes/5/nodeNetwork/interfaces/2/macAddress, /nodes/5/nodeNetwork/interfaces/3/macAddress, /nodes/5/nodeNetwork/interfaces/4/macAddress, /nodes/5/nodeNetwork/interfaces/5/macAddress, /nodes/5/nodeNetwork/interfaces/6/macAddress, /nodes/5/rootDeviceHints/deviceName
      

              sakhoury@redhat.com Sharat Akhoury
              yprokule@redhat.com Yurii Prokulevych
              Trey West Trey West
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: