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

[release-4.16] ABI cluster installation fails for external OCI platform

XMLWordPrintable

    • Critical
    • None
    • Installer Sprint 262
    • 1
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • Hide
      *Cause*: The installer failed to parse the `cloud_controller_manager` field correctly, passing it as an empty string to the Assisted Service API.
      *Consequence*: This error causes the `assisted-service` to fail, blocking successful OCP cluster installations on OCI.
      *Fix*: The parsing logic was updated to correctly interpret the `cloudControllerManager` field from `install-config.yaml`, ensuring its expected value is properly sent to the Assisted Service API.
      *Result*: The bug is resolved, allowing successful cluster installations without error.
      Show
      *Cause*: The installer failed to parse the `cloud_controller_manager` field correctly, passing it as an empty string to the Assisted Service API. *Consequence*: This error causes the `assisted-service` to fail, blocking successful OCP cluster installations on OCI. *Fix*: The parsing logic was updated to correctly interpret the `cloudControllerManager` field from `install-config.yaml`, ensuring its expected value is properly sent to the Assisted Service API. *Result*: The bug is resolved, allowing successful cluster installations without error.
    • Bug Fix
    • In Progress

      This is a clone of issue OCPBUGS-43674. The following is the description of the original issue:

      Description of problem:

      The assisted service is throwing an error message stating that the Cloud Controller Manager (CCM) is not enabled, even though the CCM value is correctly set in the install-config file.

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

      4.18.0-0.nightly-2024-10-19-045205

      How reproducible:

      Always

      Steps to Reproduce:

          1. Prepare install-config and agent-config for external OCI platform.
            example of install-config configuration
      .......
      .......
      platform: external
        platformName: oci
        cloudControllerManager: External
      .......
      .......
          2. Create agent ISO for external OCI platform     
          3. Boot up nodes using created agent ISO     

      Actual results:

      Oct 21 16:40:47 agent-sno.private.agenttest.oraclevcn.com service[2829]: time="2024-10-21T16:40:47Z" level=info msg="Register cluster: agenttest with id 2666753a-0485-420b-b968-e8732da6898c and params {\"api_vips\":[],\"base_dns_domain\":\"abitest.oci-rhelcert.edge-sro.rhecoeng.com\",\"cluster_networks\":[{\"cidr\":\"10.128.0.0/14\",\"host_prefix\":23}],\"cpu_architecture\":\"x86_64\",\"high_availability_mode\":\"None\",\"ingress_vips\":[],\"machine_networks\":[{\"cidr\":\"10.0.0.0/20\"}],\"name\":\"agenttest\",\"network_type\":\"OVNKubernetes\",\"olm_operators\":null,\"openshift_version\":\"4.18.0-0.nightly-2024-10-19-045205\",\"platform\":{\"external\":{\"cloud_controller_manager\":\"\",\"platform_name\":\"oci\"},\"type\":\"external\"},\"pull_secret\":\"***\",\"schedulable_masters\":false,\"service_networks\":[{\"cidr\":\"172.30.0.0/16\"}],\"ssh_public_key\":\"ssh-rsa XXXXXXXXXXXX\",\"user_managed_networking\":true,\"vip_dhcp_allocation\":false}" func="github.com/openshift/assisted-service/internal/bminventory.(*bareMetalInventory).RegisterClusterInternal" file="/src/internal/bminventory/inventory.go:515" cluster_id=2666753a-0485-420b-b968-e8732da6898c go-id=2110 pkg=Inventory request_id=82e83b31-1c1b-4dea-b435-f7316a1965e

      Expected results:

      The cluster installation should be successful. 

              ppinjark@redhat.com pawan pinjarkar
              rhn-support-mhans Manoj Hans
              Manoj Hans Manoj Hans
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: