← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1431203] Re: too long error message on InstanceDeployFailure

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => kilo-3

-- 
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/1431203

Title:
  too long error message on InstanceDeployFailure

Status in OpenStack Dashboard (Horizon):
  Invalid
Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  The following is typical error messages with the Ironic virt driver.  Notice the actual cause of these errors are prefixed by not-quite-helpful "No valid host" or "Exceeded max scheduling attempts" messages.
  On the horizon UI, these error messages are truncated and users cannot see the actual causes.

  I'm not quite sure who is to be blamed, but the situation needs to be
  improved.

  n-cond.log.2015-03-10-110822:2015-03-10 11:32:33.692 WARNING nova.scheduler.utils [req-9665ef1b-d302-47c3-9270-c356f03580b5 admin admin] Failed to compute_task_build_instances: No valid host was found. Exceeded max scheduling attempts 3 for instance d2546e67-2872-4ef2-93cf-be882971cad8. Last exception: [u'Traceback (most recent call last):\n', u'  File "/opt/stack/nova/nova/compute/manager.py", line 2104, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/opt/stack/nova/nova/compute/manager.py", line 2251, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance d2546e67-2872-4ef2-93cf-be882971cad8 was re-scheduled: Failed to provision instance d2546e67-2872-4ef2-93cf-be882971cad8: Failed to prepare to deploy. Error: Swift temporary URLs require a Swift account string. You must provide "swift_account" as a config option.\n']
                    
  n-cond.log.2015-03-11-102132:2015-03-11 15:47:47.563 WARNING nova.scheduler.utils [req-3fdc1d78-dea6-4475-9b7b-cc0d94ec3466 admin demo] Failed to compute_task_build_instances: No valid host was found. Exceeded max scheduling attempts 3 for instance eb9cb163-6588-4985-885f-2d9feafd1067. Last exception: [u'Traceback (most recent call last):\n', u'  File "/opt/stack/nova/nova/compute/manager.py", line 2104, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/opt/stack/nova/nova/compute/manager.py", line 2251, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance eb9cb163-6588-4985-885f-2d9feafd1067 was re-scheduled: Failed to provision instance eb9cb163-6588-4985-885f-2d9feafd1067: Failed to deploy. Error: No VIFs found for node 58be8584-6895-4e8e-abd6-96da3afe0b18 when attempting to update DHCP BOOT options.\n']

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


References