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

OSD 4.17 installation on Google Cloud require constraints/compute.vmCanIpForward to not be enforced

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • Installer (PB) Sprint 263
    • 1
    • Done
    • Bug Fix
    • Hide
      * Previously, when installing a cluster on {gcp-short}, the installation would fail if you enabled the `constraints/compute.vmCanIpForward` constraint on your project. With this update, the installation program disables this constraint if it is enabled, allowing the installation to succeed. (link:https://issues.redhat.com/browse/OCPBUGS-46571[OCPBUGS-46571])
      Show
      * Previously, when installing a cluster on {gcp-short}, the installation would fail if you enabled the `constraints/compute.vmCanIpForward` constraint on your project. With this update, the installation program disables this constraint if it is enabled, allowing the installation to succeed. (link: https://issues.redhat.com/browse/OCPBUGS-46571 [ OCPBUGS-46571 ])
    • None
    • None
    • None
    • None

      Description of problem:

      Installations on Google Cloud require the constraints/compute.vmCanIpForward to not be enforced.
      Error:
      
      time=\"2024-12-16T10:20:27Z\" level=debug msg=\"E1216 10:20:27.538990 97 reconcile.go:155] \\"Error creating an instance\\" err=\\"googleapi: Error 412: Constraint constraints/compute.vmCanIpForward violated for projects/ino-paas-tst. Enabling IP forwarding is not allowed for projects/ino-paas-tst/zones/europe-west1-b/instances/paas-osd-tst2-68r4m-master-0., conditionNotMet\\" controller=\\"gcpmachine\\" controllerGroup=\\"infrastructure.cluster.x-k8s.io\\" controllerKind=\\"GCPMachine\\" GCPMachine=\\"openshift-cluster-api-guests/paas-osd-tst2-68r4m-master-0\\" namespace=\\"openshift-cluster-api-guests\\" reconcileID=\\"3af74f44-96fe-408a-a0ad-9d63f023d2ee\\" name=\\"paas-osd-tst2-68r4m-master-0\\" zone=\\"europe-west1-b\\"\"

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

          4.17

      How reproducible:

          Every Time

      Steps to Reproduce:

          1. Enable constraints/compute.vmCanIpForward on a project
          2. Install OSD 4.17 on that project 
          3. Installation fails
          

      Actual results:

          Installation fails

      Expected results:

          Installation does not fail

      Additional info:

          More info in the attachments

              rh-ee-bbarbach Brent Barbachem
              zmird.openshift Zakaria Mird
              None
              None
              Jianli Wei Jianli Wei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: