yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #72835
[Bug 1770375] Re: DiskNotFound exception raised when updating available resources
I'm pretty sure unstack.sh is no longer really supported in devstack.
** Changed in: nova
Status: New => Invalid
--
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/1770375
Title:
DiskNotFound exception raised when updating available resources
Status in devstack:
New
Status in OpenStack Compute (nova):
Invalid
Bug description:
With a new devstack installation, when nova tries to initially update
available resources of compute nodes it fails leaving no hypervisors
available.
The following traceback is given in the nova compute logs:
DEBUG oslo_service.periodic_task [None req-af656602-6b0a-4820-a5a0-f0a177286ed8 None None] Running periodic task ComputeManager.update_available_resource {{(pid=10526) run_periodic_tasks /usr/lib/python2.7/site-packages/oslo_service/periodic_task.py:215}}
ERROR nova.compute.manager [None req-af656602-6b0a-4820-a5a0-f0a177286ed8 None None] No compute node record for host wn1209301.in.tier2.hep.manchester.ac.uk: ComputeHostNotFound_Remote: Compute host wn1209301.in.tier2.hep.manchester.ac.uk could not be found.
DEBUG nova.compute.resource_tracker [None req-af656602-6b0a-4820-a5a0-f0a177286ed8 None None] Auditing locally available compute resources for wn1209301.in.tier2.hep.manchester.ac.uk (node: wn1209301.in.tier2.hep.manchester.ac.uk) {{(pid=10526) update_available_resource /opt/stack/nova/nova/compute/resource_tracker.py:663}}
ERROR nova.compute.manager [None req-af656602-6b0a-4820-a5a0-f0a177286ed8 None None] Error updating resources for node wn1209301.in.tier2.hep.manchester.ac.uk.: DiskNotFound: No disk at /opt/stack/data/nova/instances/d974d379-a237-4848-be27-d284a2b53696/disk
ERROR nova.compute.manager Traceback (most recent call last):
ERROR nova.compute.manager File "/opt/stack/nova/nova/compute/manager.py", line 7334, in update_available_resource_for_node
ERROR nova.compute.manager rt.update_available_resource(context, nodename)
ERROR nova.compute.manager File "/opt/stack/nova/nova/compute/resource_tracker.py", line 664, in update_available_resource
ERROR nova.compute.manager resources = self.driver.get_available_resource(nodename)
ERROR nova.compute.manager File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 6395, in get_available_resource
ERROR nova.compute.manager disk_over_committed = self._get_disk_over_committed_size_total()
ERROR nova.compute.manager File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 7992, in _get_disk_over_committed_size_total
ERROR nova.compute.manager err_ctxt.reraise = False
ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
ERROR nova.compute.manager self.force_reraise()
ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
ERROR nova.compute.manager six.reraise(self.type_, self.value, self.tb)
ERROR nova.compute.manager File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 7938, in _get_disk_over_committed_size_total
ERROR nova.compute.manager config, block_device_info)
ERROR nova.compute.manager File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 7846, in _get_instance_disk_info_from_config
ERROR nova.compute.manager dk_size = disk_api.get_allocated_disk_size(path)
ERROR nova.compute.manager File "/opt/stack/nova/nova/virt/disk/api.py", line 109, in get_allocated_disk_size
ERROR nova.compute.manager return images.qemu_img_info(path).disk_size
ERROR nova.compute.manager File "/opt/stack/nova/nova/virt/images.py", line 57, in qemu_img_info
ERROR nova.compute.manager raise exception.DiskNotFound(location=path)
ERROR nova.compute.manager DiskNotFound: No disk at /opt/stack/data/nova/instances/d974d379-a237-4848-be27-d284a2b53696/disk
This path doesn't exist, as no instances have been created. Thought it might be a something left over in the sql db, but no instances are listed there. The instance id changes if you reinstall openstack by running unstack.sh and then stack.sh again.
This leaves the hypervisor unavailable and so instances can't be created.
On devstack commit b89bfa21b0e144d8160478b54a45a1087ea3e1df
On nova commit a8d3c61a579648f3ee469f81aee24d57cc8f37cb
Hypervisor: libvirt/kvm
Networking: Neutron w/ ovs
To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack/+bug/1770375/+subscriptions
References