← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1559579] [NEW] NovaException: Unable to get host UUID: /etc/machine-id is empty

 

Public bug reported:

This is in a functional test locally:

Traceback (most recent call last):
      File "nova/compute/manager.py", line 2218, in _build_resources
        yield resources
      File "nova/compute/manager.py", line 2064, in _build_and_run_instance
        block_device_info=block_device_info)
      File "nova/virt/libvirt/driver.py", line 2767, in spawn
        write_to_disk=True)
      File "nova/virt/libvirt/driver.py", line 4714, in _get_guest_xml
        context)
      File "nova/virt/libvirt/driver.py", line 4563, in _get_guest_config
        root_device_name)
      File "nova/virt/libvirt/driver.py", line 4370, in _configure_guest_by_virt_type
        guest.sysinfo = self._get_guest_config_sysinfo(instance)
      File "nova/virt/libvirt/driver.py", line 3716, in _get_guest_config_sysinfo
        sysinfo.system_serial = self._sysinfo_serial_func()
      File "nova/virt/libvirt/driver.py", line 3705, in _get_host_sysinfo_serial_auto
        return self._get_host_sysinfo_serial_os()
      File "nova/virt/libvirt/driver.py", line 3699, in _get_host_sysinfo_serial_os
        raise exception.NovaException(msg)
    NovaException: Unable to get host UUID: /etc/machine-id is empty


From: nova.tests.functional.libvirt.test_rt_servers.RealTimeServersTest.test_success

The test should be mocking something out since it shouldn't expect
actual files to exist on the host system during test runs.

** Affects: nova
     Importance: Medium
         Status: Confirmed


** Tags: functional libvirt low-hanging-fruit testing

** Tags added: low-hanging-fruit

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1559579

Title:
  NovaException: Unable to get host UUID: /etc/machine-id is empty

Status in OpenStack Compute (nova):
  Confirmed

Bug description:
  This is in a functional test locally:

  Traceback (most recent call last):
        File "nova/compute/manager.py", line 2218, in _build_resources
          yield resources
        File "nova/compute/manager.py", line 2064, in _build_and_run_instance
          block_device_info=block_device_info)
        File "nova/virt/libvirt/driver.py", line 2767, in spawn
          write_to_disk=True)
        File "nova/virt/libvirt/driver.py", line 4714, in _get_guest_xml
          context)
        File "nova/virt/libvirt/driver.py", line 4563, in _get_guest_config
          root_device_name)
        File "nova/virt/libvirt/driver.py", line 4370, in _configure_guest_by_virt_type
          guest.sysinfo = self._get_guest_config_sysinfo(instance)
        File "nova/virt/libvirt/driver.py", line 3716, in _get_guest_config_sysinfo
          sysinfo.system_serial = self._sysinfo_serial_func()
        File "nova/virt/libvirt/driver.py", line 3705, in _get_host_sysinfo_serial_auto
          return self._get_host_sysinfo_serial_os()
        File "nova/virt/libvirt/driver.py", line 3699, in _get_host_sysinfo_serial_os
          raise exception.NovaException(msg)
      NovaException: Unable to get host UUID: /etc/machine-id is empty

  
  From: nova.tests.functional.libvirt.test_rt_servers.RealTimeServersTest.test_success

  The test should be mocking something out since it shouldn't expect
  actual files to exist on the host system during test runs.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1559579/+subscriptions


Follow ups