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

ABI cluster installation fails for external OCI platform

XMLWordPrintable

    • Critical
    • None
    • Installer Sprint 261, Installer Sprint 262
    • 2
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, the Agent-based Installer failed to parse the `cloud_controller_manager` parameter in the `install-config.yaml` configuration file. This resulted in the Assisted Service API failing because it received an empty string, and this in turn caused the installation of the cluster to failed on {oci-first}. With this release, an update to the parsing logic ensures that the Agent-based Installer correctly interprets the `cloud_controller_manager` parameter so that the Assisted Service API receives the correct string value. As a result, the Agent-based Installer can now installer a cluster on {oci}. (link:https://issues.redhat.com/browse/OCPBUGS-43674[*OCPBUGS-43674*])
      Show
      * Previously, the Agent-based Installer failed to parse the `cloud_controller_manager` parameter in the `install-config.yaml` configuration file. This resulted in the Assisted Service API failing because it received an empty string, and this in turn caused the installation of the cluster to failed on {oci-first}. With this release, an update to the parsing logic ensures that the Agent-based Installer correctly interprets the `cloud_controller_manager` parameter so that the Assisted Service API receives the correct string value. As a result, the Agent-based Installer can now installer a cluster on {oci}. (link: https://issues.redhat.com/browse/OCPBUGS-43674 [* OCPBUGS-43674 *])
    • Bug Fix
    • Done

      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
              Darragh Fitzmaurice Darragh Fitzmaurice
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: