Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-12956

Documentation feedback: Pool ID is missing in subscription section for EDPM nodes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • rhos-18.0.4
    • rhos-18.0.3
    • documentation
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • None
    • Hide
      .Documentation: Specify a pool to register nodes if you have multiple Red Hat subscriptions

      Before this update, there was an optional command missing to specify a pool when you registered nodes for your RHOSO deployment in the procedures for creating the `OpenStackDataPlaneNodeSet` CR with pre-provisoned nodes or unprovisioned nodes. The missing command could cause a registration error when deploying the data plane or Compute nodes in RHOSO if you had multiple Red Hat subscriptions.

      With this update, the optional command to specify a pool if you have multiple Red Hat subscriptions is included in these procedures.
      Show
      .Documentation: Specify a pool to register nodes if you have multiple Red Hat subscriptions Before this update, there was an optional command missing to specify a pool when you registered nodes for your RHOSO deployment in the procedures for creating the `OpenStackDataPlaneNodeSet` CR with pre-provisoned nodes or unprovisioned nodes. The missing command could cause a registration error when deploying the data plane or Compute nodes in RHOSO if you had multiple Red Hat subscriptions. With this update, the optional command to specify a pool if you have multiple Red Hat subscriptions is included in these procedures.
    • Bug Fix
    • Done
    • Important

      While deploying edpm  / compute node in RHOSO we need to register the nodes and there is command missing to pass pool ID which is important if multiple subscriptions are provided to customer [1] 

      If pool ID is not passed it throws error like

       
      
      Error:  TASK [osp.edpm.edpm_bootstrap : Bootstrap command output] ********************** task path: /usr/share/ansible/collections/ansible_collections/osp/edpm/roles/edpm_bootstrap/tasks/bootstrap_command.yml:20 fatal: [edpm-compute-0]: FAILED! => {  "msg": {  "stderr": [  "Network error: Name or service not known (error code -2)",  "This system is not yet registered. Try 'subscription-manager register --help' for more information."  ],  "stdout": [  "Registering to: subscription.rhsm.redhat.com:443/subscription",  "This system has no repositories available through subscriptions.",  "This system has no repositories available through subscriptions."  ]  } } 

       

      It should look like

      edpm_bootstrap_command: |
        subscription-manager register --username {{ subscription_manager_username }} --password {{ subscription_manager_password }}
        subscription-manager attach --pool=<pool_id>
        subscription-manager release --set=9.4
        subscription-manager repos --disable=*
        subscription-manager repos --enable=rhel-9-for-x86_64-baseos-eus-rpms --enable=rhel-9-for-x86_64-appstream-eus-rpms --enable=rhel-9-for-x86_64-highavailability-eus-rpms --enable=fast-datapath-for-rhel-9-x86_64-rpms --enable=rhoso-18.0-for-rhel-9-x86_64-rpms --enable=rhceph-7-tools-for-rhel-9-x86_64-rpms

      [1] https://docs.redhat.com/en/documentation/red_hat_openstack_services_on_openshift/18.0/html-single/deploying_red_hat_openstack_services_on_openshift/index#proc_creating-an-OpenStackDataPlaneNodeSet-CR-with-preprovisioned-nodes_dataplane

              rhn-support-jelynch Jenny-Anne Lynch
              schhabdi@redhat.com Shailesh Chhabdiya
              rhos-dfg-df
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: