nova hypervisor hostname registration is not fqdn when virt-type=lxd

Bug #1521319 reported by Ryan Beisner on 2015-11-30
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nova-lxd
Low
Unassigned
nova-lxd (Ubuntu)
Low
Unassigned

Bug Description

While I've not picked up on any adverse effect to functionality, I'm raising this for the consistency factor.

When virt-type=lxd, the hypervisor hostnames registered with nova are not fqdns (1, 2, 6).

When virt-type=kvm (default), they are registered with fqdns (3, 4, 5).

    nova-compute-kvm:
      branch: lp:charms/trusty/nova-compute
      num_units: 3
      constraints: mem=4G
      options:
        enable-live-migration: True
        enable-resize: True
        migration-auth-type: ssh
...
    nova-compute-lxd:
      branch: lp:charms/trusty/nova-compute
      num_units: 3
      constraints: mem=4G
      options:
        virt-type: lxd

ubuntu@beisner-bastion:~/bzr/openstack-charm-testing-multi-hypervisor$ nova hypervisor-list
+----+--------------------------------------+
| ID | Hypervisor hostname |
+----+--------------------------------------+
| 1 | juju-beis1-machine-19 |
| 2 | juju-beis1-machine-18 |
| 3 | juju-beis1-machine-16.openstacklocal |
| 4 | juju-beis1-machine-15.openstacklocal |
| 5 | juju-beis1-machine-14.openstacklocal |
| 6 | juju-beis1-machine-17 |
+----+--------------------------------------+

More detail:
http://paste.ubuntu.com/13582658/

James Page (james-page) on 2015-12-01
affects: nova-compute (Juju Charms Collection) → nova-compute-lxd (Ubuntu)
Chuck Short (zulcss) wrote :

This has been fixed upstream.

Changed in nova-compute-lxd (Ubuntu):
status: New → Fix Committed
James Page (james-page) on 2015-12-07
Changed in nova-compute-lxd (Ubuntu):
importance: Undecided → Low
Chuck Short (zulcss) on 2015-12-09
affects: nova-compute-lxd (Ubuntu) → nova-lxd (Ubuntu)
Chuck Short (zulcss) on 2016-02-17
Changed in nova-lxd (Ubuntu):
status: Fix Committed → Fix Released
Ryan Beisner (1chb1n) on 2017-04-07
Changed in nova-lxd (Ubuntu):
status: Fix Released → New
James Page (james-page) wrote :

Re-opening as the nova-lxd driver is still reporting an unqualifed hostname

Ryan Beisner (1chb1n) wrote :

xenial-ocata

(serverstack-venv) ubuntu@churel:~/serverstack8/admin/tenant$ openstack hypervisor list
+----+----------------------+-----------------+---------------+-------+
| ID | Hypervisor Hostname | Hypervisor Type | Host IP | State |
+----+----------------------+-----------------+---------------+-------+
| 1 | mutus.serverstack | QEMU | 10.100.100.5 | up |
| 4 | clerke.serverstack | QEMU | 10.100.100.8 | up |
| 7 | flemming.serverstack | QEMU | 10.100.100.7 | up |
| 10 | ciguapa.serverstack | QEMU | 10.100.100.11 | up |
| 13 | chakora.serverstack | QEMU | 10.100.100.9 | up |
| 16 | canaima | lxd | 10.100.100.6 | up |
| 19 | cuegle.serverstack | QEMU | 10.100.100.10 | up |
| 22 | caipora.serverstack | QEMU | 10.100.100.4 | up |
+----+----------------------+-----------------+---------------+-------+

James Page (james-page) on 2017-05-08
Changed in nova-lxd (Ubuntu):
status: New → Triaged
Changed in nova-lxd:
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers