yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #15140
[Bug 1326566] [NEW] Incorrect Error Message displayed when FlavorDiskTooSmall
Public bug reported:
ICEHOUSE install, CentOS 6.5 using RDO repositories but installation
does not use Packstack.
If you launch an image with a Disk size that is too small for what is
needed and --min-disk is not set the compute log reports correcly
FlavorDiskTooSmall: Flavor's disk is too small for requested image .
But this error also causes an error similar to the one below after the
FlavorDiskTooSmall.
This means that nova show for the instance that failed shows the reason
for the failure as the ovs-vsctl command failing rather than
FlavorDiskTooSmall.
2014-06-05 09:17:34.243 5631 ERROR oslo.messaging._drivers.common [-] Returning exception Error during following call to agent: ['ovs-vsctl', '--timeout=120', 'del-port', 'br-int', u'qvofe5b6d34-77'] to caller
2014-06-05 09:17:34.243 5631 ERROR oslo.messaging._drivers.common [-] ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply\n incoming.message))\n', ' File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, **new_args)\n', ' File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/server.py", line 139, in inner\n return func(*args, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/exception.py", line 88, in wrapped\n payload)\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/exception.py", line 71, in wrapped\n return f(self, context, *args, **kw)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 280, in decorated_function\n pass\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 266, in decorated_function\n return function(self, context, *args, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 333, in decorated_function\n function(self, context, *args, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 309, in decorated_function\n e, sys.exc_info())\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 296, in decorated_function\n return function(self, context, *args, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2075, in run_instance\n do_run_instance()\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py", line 249, in inner\n return f(*args, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2074, in do_run_instance\n legacy_bdm_in_spec)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1207, in _run_instance\n notify("error", fault=e) # notify that build failed\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1191, in _run_instance\n instance, image_meta, legacy_bdm_in_spec)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1355, in _build_instance\n filter_properties, bdms, legacy_bdm_in_spec)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1401, in _reschedule_or_error\n self._log_original_error(exc_info, instance_uuid)\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1396, in _reschedule_or_error\n bdms, requested_networks)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2125, in _shutdown_instance\n requested_networks)\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2115, in _shutdown_instance\n block_device_info)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 953, in destroy\n destroy_disks)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 989, in cleanup\n self.unplug_vifs(instance, network_info)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 860, in unplug_vifs\n self.vif_driver.unplug(instance, vif)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 783, in unplug\n self.unplug_ovs(instance, vif)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 667, in unplug_ovs\n self.unplug_ovs_hybrid(instance, vif)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 661, in unplug_ovs_hybrid\n v2_name)\n', ' File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line 1317, in delete_ovs_vif_port\n _ovs_vsctl([\'del-port\', bridge, dev])\n', ' File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line 1302, in _ovs_vsctl\n raise exception.AgentError(method=full_args)\n', "AgentError: Error during following call to agent: ['ovs-vsctl', '--timeout=120', 'del-port', 'br-int', u'qvofe5b6d34-77']\n"]
Thanks
** Affects: nova
Importance: Undecided
Status: New
--
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/1326566
Title:
Incorrect Error Message displayed when FlavorDiskTooSmall
Status in OpenStack Compute (Nova):
New
Bug description:
ICEHOUSE install, CentOS 6.5 using RDO repositories but installation
does not use Packstack.
If you launch an image with a Disk size that is too small for what is
needed and --min-disk is not set the compute log reports correcly
FlavorDiskTooSmall: Flavor's disk is too small for requested image .
But this error also causes an error similar to the one below after the
FlavorDiskTooSmall.
This means that nova show for the instance that failed shows the
reason for the failure as the ovs-vsctl command failing rather than
FlavorDiskTooSmall.
2014-06-05 09:17:34.243 5631 ERROR oslo.messaging._drivers.common [-] Returning exception Error during following call to agent: ['ovs-vsctl', '--timeout=120', 'del-port', 'br-int', u'qvofe5b6d34-77'] to caller
2014-06-05 09:17:34.243 5631 ERROR oslo.messaging._drivers.common [-] ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply\n incoming.message))\n', ' File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, **new_args)\n', ' File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/server.py", line 139, in inner\n return func(*args, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/exception.py", line 88, in wrapped\n payload)\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/exception.py", line 71, in wrapped\n return f(self, context, *args, **kw)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 280, in decorated_function\n pass\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 266, in decorated_function\n return function(self, context, *args, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 333, in decorated_function\n function(self, context, *args, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 309, in decorated_function\n e, sys.exc_info())\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 296, in decorated_function\n return function(self, context, *args, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2075, in run_instance\n do_run_instance()\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py", line 249, in inner\n return f(*args, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2074, in do_run_instance\n legacy_bdm_in_spec)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1207, in _run_instance\n notify("error", fault=e) # notify that build failed\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1191, in _run_instance\n instance, image_meta, legacy_bdm_in_spec)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1355, in _build_instance\n filter_properties, bdms, legacy_bdm_in_spec)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1401, in _reschedule_or_error\n self._log_original_error(exc_info, instance_uuid)\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1396, in _reschedule_or_error\n bdms, requested_networks)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2125, in _shutdown_instance\n requested_networks)\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2115, in _shutdown_instance\n block_device_info)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 953, in destroy\n destroy_disks)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 989, in cleanup\n self.unplug_vifs(instance, network_info)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 860, in unplug_vifs\n self.vif_driver.unplug(instance, vif)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 783, in unplug\n self.unplug_ovs(instance, vif)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 667, in unplug_ovs\n self.unplug_ovs_hybrid(instance, vif)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 661, in unplug_ovs_hybrid\n v2_name)\n', ' File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line 1317, in delete_ovs_vif_port\n _ovs_vsctl([\'del-port\', bridge, dev])\n', ' File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line 1302, in _ovs_vsctl\n raise exception.AgentError(method=full_args)\n', "AgentError: Error during following call to agent: ['ovs-vsctl', '--timeout=120', 'del-port', 'br-int', u'qvofe5b6d34-77']\n"]
Thanks
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1326566/+subscriptions
Follow ups
References