← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1258169] Re: XenAPI: wait_for_vhd_coalesce times out when garbage collector still running

 

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

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

Title:
  XenAPI: wait_for_vhd_coalesce times out when garbage collector still
  running

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  In some runs, particular stress tests, the GC may run for more than 25
  seconds.  The current timeout is after 5*5 seconds and so this needs
  to be increased.

  2013-12-05 10:57:51.024 DEBUG nova.compute.manager [req-24f4e285-4e0d-48f6-8c19-793fd2735488 ListImageFiltersTestJSON-tempest-987533830-user ListImageFiltersTestJSON-tempest-987533830-tenant] [instance: 37b86681-9225-4786-82f2-f4110697fda6] Cleaning up image 6ccd3d8d-1918-4bbc-b448-af7ebb50ce33 from (pid=25289) decorated_function /opt/stack/nova/nova/compute/manager.py:321
  2013-12-05 10:57:51.024 TRACE nova.compute.manager [instance: 37b86681-9225-4786-82f2-f4110697fda6]   File "/opt/stack/nova/nova/compute/manager.py", line 317, in decorated_function
  2013-12-05 10:57:51.024 TRACE nova.compute.manager [instance: 37b86681-9225-4786-82f2-f4110697fda6]     *args, **kwargs)
  2013-12-05 10:57:51.024 TRACE nova.compute.manager [instance: 37b86681-9225-4786-82f2-f4110697fda6]   File "/opt/stack/nova/nova/compute/manager.py", line 2427, in snapshot_instance
  2013-12-05 10:57:51.024 TRACE nova.compute.manager [instance: 37b86681-9225-4786-82f2-f4110697fda6]     task_states.IMAGE_SNAPSHOT)
  2013-12-05 10:57:51.024 TRACE nova.compute.manager [instance: 37b86681-9225-4786-82f2-f4110697fda6]   File "/opt/stack/nova/nova/compute/manager.py", line 2458, in _snapshot_instance
  2013-12-05 10:57:51.024 TRACE nova.compute.manager [instance: 37b86681-9225-4786-82f2-f4110697fda6]     update_task_state)
  2013-12-05 10:57:51.024 TRACE nova.compute.manager [instance: 37b86681-9225-4786-82f2-f4110697fda6]   File "/opt/stack/nova/nova/virt/xenapi/driver.py", line 250, in snapshot
  2013-12-05 10:57:51.024 TRACE nova.compute.manager [instance: 37b86681-9225-4786-82f2-f4110697fda6]     self._vmops.snapshot(context, instance, image_id, update_task_state)
  2013-12-05 10:57:51.024 TRACE nova.compute.manager [instance: 37b86681-9225-4786-82f2-f4110697fda6]   File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 729, in snapshot
  2013-12-05 10:57:51.024 TRACE nova.compute.manager [instance: 37b86681-9225-4786-82f2-f4110697fda6]     post_snapshot_callback=update_task_state) as vdi_uuids:
  2013-12-05 10:57:51.024 TRACE nova.compute.manager [instance: 37b86681-9225-4786-82f2-f4110697fda6]   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
  2013-12-05 10:57:51.024 TRACE nova.compute.manager [instance: 37b86681-9225-4786-82f2-f4110697fda6]     return self.gen.next()
  2013-12-05 10:57:51.024 TRACE nova.compute.manager [instance: 37b86681-9225-4786-82f2-f4110697fda6]   File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 782, in _snapshot_attached_here_impl
  2013-12-05 10:57:51.024 TRACE nova.compute.manager [instance: 37b86681-9225-4786-82f2-f4110697fda6]     original_parent_uuid)
  2013-12-05 10:57:51.024 TRACE nova.compute.manager [instance: 37b86681-9225-4786-82f2-f4110697fda6]   File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 2044, in _wait_for_vhd_coalesce
  2013-12-05 10:57:51.024 TRACE nova.compute.manager [instance: 37b86681-9225-4786-82f2-f4110697fda6]     raise exception.NovaException(msg)
  2013-12-05 10:57:51.024 TRACE nova.compute.manager [instance: 37b86681-9225-4786-82f2-f4110697fda6] NovaException: VHD coalesce attempts exceeded (5), giving up...
  2013-12-05 10:57:51.024 TRACE nova.compute.manager [instance: 37b86681-9225-4786-82f2-f4110697fda6]

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


References