yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #44308
[Bug 1532340] [NEW] No such file or directory: '/proc/self/mounts'
Public bug reported:
I'm seeing unit test failures like the following on my mac since this
was merged:
https://github.com/openstack/nova/commit/b3879bd199036a9327a32d7c7cacdff3a9c9807d
https://github.com/openstack/nova/blob/b1588cea68d2037dfc2e792b25fbb56d76b7d439/nova/virt/libvirt/host.py#L1005
Traceback (most recent call last):
File "nova/tests/unit/virt/test_virt_drivers.py", line 55, in wrapped_func
return f(self, *args, **kwargs)
File "nova/tests/unit/virt/test_virt_drivers.py", line 380, in test_power_off
instance_ref, network_info = self._get_running_instance()
File "nova/tests/unit/virt/test_virt_drivers.py", line 264, in _get_running_instance
[], 'herp', network_info=network_info)
File "nova/virt/libvirt/driver.py", line 2506, in spawn
write_to_disk=True)
File "nova/virt/libvirt/driver.py", line 4402, in _get_guest_xml
context)
File "nova/virt/libvirt/driver.py", line 4223, in _get_guest_config
self._update_guest_cputune(guest, flavor, virt_type)
File "nova/virt/libvirt/driver.py", line 3571, in _update_guest_cputune
is_able = self._host.is_cpu_control_policy_capable()
File "nova/virt/libvirt/host.py", line 1005, in is_cpu_control_policy_capable
with open("/proc/self/mounts", "r") as fd:
IOError: [Errno 2] No such file or directory: '/proc/self/mounts'
** Affects: nova
Importance: Undecided
Status: New
** Description changed:
I'm seeing unit test failures on my mac:
- Traceback (most recent call last):
- File "nova/tests/unit/virt/test_virt_drivers.py", line 55, in wrapped_func
- return f(self, *args, **kwargs)
- File "nova/tests/unit/virt/test_virt_drivers.py", line 380, in test_power_off
- instance_ref, network_info = self._get_running_instance()
- File "nova/tests/unit/virt/test_virt_drivers.py", line 264, in _get_running_instance
- [], 'herp', network_info=network_info)
- File "nova/virt/libvirt/driver.py", line 2506, in spawn
- write_to_disk=True)
- File "nova/virt/libvirt/driver.py", line 4402, in _get_guest_xml
- context)
- File "nova/virt/libvirt/driver.py", line 4223, in _get_guest_config
- self._update_guest_cputune(guest, flavor, virt_type)
- File "nova/virt/libvirt/driver.py", line 3571, in _update_guest_cputune
- is_able = self._host.is_cpu_control_policy_capable()
- File "nova/virt/libvirt/host.py", line 1005, in is_cpu_control_policy_capable
- with open("/proc/self/mounts", "r") as fd:
- IOError: [Errno 2] No such file or directory: '/proc/self/mounts'
+ Traceback (most recent call last):
+ File "nova/tests/unit/virt/test_virt_drivers.py", line 55, in wrapped_func
+ return f(self, *args, **kwargs)
+ File "nova/tests/unit/virt/test_virt_drivers.py", line 380, in test_power_off
+ instance_ref, network_info = self._get_running_instance()
+ File "nova/tests/unit/virt/test_virt_drivers.py", line 264, in _get_running_instance
+ [], 'herp', network_info=network_info)
+ File "nova/virt/libvirt/driver.py", line 2506, in spawn
+ write_to_disk=True)
+ File "nova/virt/libvirt/driver.py", line 4402, in _get_guest_xml
+ context)
+ File "nova/virt/libvirt/driver.py", line 4223, in _get_guest_config
+ self._update_guest_cputune(guest, flavor, virt_type)
+ File "nova/virt/libvirt/driver.py", line 3571, in _update_guest_cputune
+ is_able = self._host.is_cpu_control_policy_capable()
+ File "nova/virt/libvirt/host.py", line 1005, in is_cpu_control_policy_capable
+ with open("/proc/self/mounts", "r") as fd:
+ IOError: [Errno 2] No such file or directory: '/proc/self/mounts'
since this was merged:
https://github.com/openstack/nova/commit/b3879bd199036a9327a32d7c7cacdff3a9c9807d
+
https://github.com/openstack/nova/blob/b1588cea68d2037dfc2e792b25fbb56d76b7d439/nova/virt/libvirt/host.py#L1005
** Description changed:
- I'm seeing unit test failures on my mac:
+ I'm seeing unit test failures like the following on my mac:
Traceback (most recent call last):
File "nova/tests/unit/virt/test_virt_drivers.py", line 55, in wrapped_func
return f(self, *args, **kwargs)
File "nova/tests/unit/virt/test_virt_drivers.py", line 380, in test_power_off
instance_ref, network_info = self._get_running_instance()
File "nova/tests/unit/virt/test_virt_drivers.py", line 264, in _get_running_instance
[], 'herp', network_info=network_info)
File "nova/virt/libvirt/driver.py", line 2506, in spawn
write_to_disk=True)
File "nova/virt/libvirt/driver.py", line 4402, in _get_guest_xml
context)
File "nova/virt/libvirt/driver.py", line 4223, in _get_guest_config
self._update_guest_cputune(guest, flavor, virt_type)
File "nova/virt/libvirt/driver.py", line 3571, in _update_guest_cputune
is_able = self._host.is_cpu_control_policy_capable()
File "nova/virt/libvirt/host.py", line 1005, in is_cpu_control_policy_capable
with open("/proc/self/mounts", "r") as fd:
IOError: [Errno 2] No such file or directory: '/proc/self/mounts'
since this was merged:
https://github.com/openstack/nova/commit/b3879bd199036a9327a32d7c7cacdff3a9c9807d
https://github.com/openstack/nova/blob/b1588cea68d2037dfc2e792b25fbb56d76b7d439/nova/virt/libvirt/host.py#L1005
** Description changed:
- I'm seeing unit test failures like the following on my mac:
+ I'm seeing unit test failures like the following on my mac since this
+ was merged:
+
+ https://github.com/openstack/nova/commit/b3879bd199036a9327a32d7c7cacdff3a9c9807d
+
+ https://github.com/openstack/nova/blob/b1588cea68d2037dfc2e792b25fbb56d76b7d439/nova/virt/libvirt/host.py#L1005
Traceback (most recent call last):
File "nova/tests/unit/virt/test_virt_drivers.py", line 55, in wrapped_func
return f(self, *args, **kwargs)
File "nova/tests/unit/virt/test_virt_drivers.py", line 380, in test_power_off
instance_ref, network_info = self._get_running_instance()
File "nova/tests/unit/virt/test_virt_drivers.py", line 264, in _get_running_instance
[], 'herp', network_info=network_info)
File "nova/virt/libvirt/driver.py", line 2506, in spawn
write_to_disk=True)
File "nova/virt/libvirt/driver.py", line 4402, in _get_guest_xml
context)
File "nova/virt/libvirt/driver.py", line 4223, in _get_guest_config
self._update_guest_cputune(guest, flavor, virt_type)
File "nova/virt/libvirt/driver.py", line 3571, in _update_guest_cputune
is_able = self._host.is_cpu_control_policy_capable()
File "nova/virt/libvirt/host.py", line 1005, in is_cpu_control_policy_capable
with open("/proc/self/mounts", "r") as fd:
IOError: [Errno 2] No such file or directory: '/proc/self/mounts'
-
- since this was merged:
-
- https://github.com/openstack/nova/commit/b3879bd199036a9327a32d7c7cacdff3a9c9807d
-
- https://github.com/openstack/nova/blob/b1588cea68d2037dfc2e792b25fbb56d76b7d439/nova/virt/libvirt/host.py#L1005
--
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/1532340
Title:
No such file or directory: '/proc/self/mounts'
Status in OpenStack Compute (nova):
New
Bug description:
I'm seeing unit test failures like the following on my mac since this
was merged:
https://github.com/openstack/nova/commit/b3879bd199036a9327a32d7c7cacdff3a9c9807d
https://github.com/openstack/nova/blob/b1588cea68d2037dfc2e792b25fbb56d76b7d439/nova/virt/libvirt/host.py#L1005
Traceback (most recent call last):
File "nova/tests/unit/virt/test_virt_drivers.py", line 55, in wrapped_func
return f(self, *args, **kwargs)
File "nova/tests/unit/virt/test_virt_drivers.py", line 380, in test_power_off
instance_ref, network_info = self._get_running_instance()
File "nova/tests/unit/virt/test_virt_drivers.py", line 264, in _get_running_instance
[], 'herp', network_info=network_info)
File "nova/virt/libvirt/driver.py", line 2506, in spawn
write_to_disk=True)
File "nova/virt/libvirt/driver.py", line 4402, in _get_guest_xml
context)
File "nova/virt/libvirt/driver.py", line 4223, in _get_guest_config
self._update_guest_cputune(guest, flavor, virt_type)
File "nova/virt/libvirt/driver.py", line 3571, in _update_guest_cputune
is_able = self._host.is_cpu_control_policy_capable()
File "nova/virt/libvirt/host.py", line 1005, in is_cpu_control_policy_capable
with open("/proc/self/mounts", "r") as fd:
IOError: [Errno 2] No such file or directory: '/proc/self/mounts'
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1532340/+subscriptions
Follow ups