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

vsphere techpreview jobs failing - failed to patch machine: is forbidden: ValidatingAdmissionPolicy

    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Critical
    • None
    • None
    • None
    • Approved
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      A significant number of vsphere techpreview 4.22 are failing because of the following errors in MAO. Workers are being created but not powered on.

      https://prow.ci.openshift.org/?job=*4.22*techpreview*&cluster=vsphere02

      I0227 08:29:21.138396       1 session.go:186] Find template by instance uuid: f3a35f4f-a909-463c-ae87-1973392f8857
      I0227 08:29:21.224037       1 reconciler.go:361] ci-op-hjj7v9qh-62ed2-l8k95-worker-0-5kcwn: already exists, but was not powered on after clone
      I0227 08:29:21.224114       1 machine_scope.go:108] ci-op-hjj7v9qh-62ed2-l8k95-worker-0-5kcwn: patching machine
      E0227 08:29:21.228844       1 machine_scope.go:120] Failed to patch machine "ci-op-hjj7v9qh-62ed2-l8k95-worker-0-5kcwn": machines.machine.openshift.io "ci-op-hjj7v9qh-62ed2-l8k95-worker-0-5kcwn" is forbidden: ValidatingAdmissionPolicy 'machine-api-machine-vap' denied request: failed to configure policy: failed to find resource referenced by paramKind: 'cluster.x-k8s.io/v1beta2, Kind=Machine'
      E0227 08:29:21.228869       1 controller.go:341] ci-op-hjj7v9qh-62ed2-l8k95-worker-0-5kcwn: failed to check if machine exists: ci-op-hjj7v9qh-62ed2-l8k95-worker-0-5kcwn: failed to patch machine: machines.machine.openshift.io "ci-op-hjj7v9qh-62ed2-l8k95-worker-0-5kcwn" is forbidden: ValidatingAdmissionPolicy 'machine-api-machine-vap' denied request: failed to configure policy: failed to find resource referenced by paramKind: 'cluster.x-k8s.io/v1beta2, Kind=Machine'
      E0227 08:29:21.233242       1 controller.go:474] "Reconciler error" err="ci-op-hjj7v9qh-62ed2-l8k95-worker-0-5kcwn: failed to patch machine: machines.machine.openshift.io \"ci-op-hjj7v9qh-62ed2-l8k95-worker-0-5kcwn\" is forbidden: ValidatingAdmissionPolicy 'machine-api-machine-vap' denied request: failed to configure policy: failed to find resource referenced by paramKind: 'cluster.x-k8s.io/v1beta2, Kind=Machine'" controller="machine-controller" object="openshift-machine-api/ci-op-hjj7v9qh-62ed2-l8k95-worker-0-5kcwn" namespace="openshift-machine-api" name="ci-op-hjj7v9qh-62ed2-l8k95-worker-0-5kcwn" reconcileID="423ec4ce-8078-453f-9417-1fb26635c0d9"
      
      

              rmanak@redhat.com Radek Manak
              jcallen@redhat.com Joseph Callen
              Huali Liu Huali Liu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: