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

Nova uses short hostname while libvirt uses FQDN

XMLWordPrintable

    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • None
    • Hide
      .Host names now match in as expected in command outputs

      The Compute service (nova) now uses the FQDN of the EDPM node as the Compute service host name. Therefore the host names in {{openstack compute service list}} and {{openstack hypervisor list}} now match.
      Show
      .Host names now match in as expected in command outputs The Compute service (nova) now uses the FQDN of the EDPM node as the Compute service host name. Therefore the host names in {{openstack compute service list}} and {{openstack hypervisor list}} now match.
    • Release Note Not Required
    • Moderate

      This looks a difference compared to osp 17.1 where it was used FQDN hostname for host aggregation.

      sh-5.1$ openstack aggregate create aggregate1
      -------------------------------------------------------+

      Field Value

      -------------------------------------------------------+

      availability_zone None
      created_at 2024-02-21T13:45:44.309614
      deleted_at None
      hosts None
      id 40
      is_deleted False
      name aggregate1
      properties None
      updated_at None
      uuid f29338e0-ee47-4636-8b59-104d2f85abbf

      -------------------------------------------------------+
      sh-5.1$ openstack aggregate add host aggregate1 tigon26.storage.example.com
      ResourceNotFound: 404: Client Error for url: https://nova-public-openstack.apps.nfv.openstack.lab/v2.1/os-aggregates/40/action, Compute host tigon26.storage.example.com could not be found.
      2:46
      sh-5.1$ openstack hypervisor list
      ----------------------------------------------------------------------------------------------------

      ID Hypervisor Hostname Hypervisor Type Host IP State

      ----------------------------------------------------------------------------------------------------

      4c9e69ee-c791-4984-aa6d-662839c6a9ac tigon26.storage.example.com QEMU 192.168.122.100 up
      41bc0910-94ec-4feb-847c-5dad68aa22f4 tigon27.storage.example.com QEMU 192.168.122.101 up

      ----------------------------------------------------------------------------------------------------
      2:47
      sh-5.1$ openstack aggregate add host aggregate1 tigon26
      ---------------------------------------------+

      Field Value

      ---------------------------------------------+

      availability_zone None
      created_at 2024-02-21T13:45:44.000000
      deleted_at None
      hosts tigon26
      id 40
      is_deleted False
      name aggregate1
      properties  
      updated_at None
      uuid None

      ---------------------------------------------+

      sh-5.1$ openstack compute service list
      ------------------------------------------------------------------------------------------------------------------------

      ID Binary Host Zone Status State Updated At

      ------------------------------------------------------------------------------------------------------------------------

      9c6f54ab-bfdc-49a5-963d-80d19d13137f nova-conductor nova-cell1-conductor-0 internal enabled up 2024-02-26T08:46:31.000000
      f6ed857f-f1d5-4a7a-ac9b-0ae103e20046 nova-compute tigon26 nova enabled up 2024-02-26T08:46:29.000000
      e85d987e-3b4a-4bb9-a6b7-03b436021a00 nova-compute tigon27 nova enabled up 2024-02-26T08:46:28.000000
      e1ff0a15-dcf5-4199-8fad-57e6b9f7c7fa nova-conductor nova-cell0-conductor-0 internal enabled up 2024-02-26T08:46:37.000000
      05345ee9-fb9b-4434-9099-e33179aa549c nova-scheduler nova-scheduler-0 internal enabled up 2024-02-26T08:46:34.000000

      ------------------------------------------------------------------------------------------------------------------------

      [ciuser@tigon28 ~]$ oc get bmh -A
      NAMESPACE NAME STATE CONSUMER ONLINE ERROR AGE
      openshift-machine-api nfv-master-0 externally provisioned nfv-sq88n-master-0 true 16d
      openshift-machine-api nfv-master-1 externally provisioned nfv-sq88n-master-1 true 16d
      openshift-machine-api nfv-master-2 externally provisioned nfv-sq88n-master-2 true 16d
      openshift-machine-api tigon26 provisioned openstack-edpm-ipam true 16d
      openshift-machine-api tigon27 provisioned openstack-edpm-ipam true 16d

              rh-ee-bgibizer Balazs Gibizer
              mnietoji@redhat.com Miguel Angel Nieto Jimenez
              rhos-workloads-compute
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: