← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1362595] [NEW] move_vhds_into_sr - invalid cookie

 

Public bug reported:

When moving VHDs on the filesystem a coalesce may be in progress.  The
result of this is that the VHD file is not valid when it is copied as it
is being actively changed - and the VHD cookie is invalid.

Seen in XenServer CI: http://dd6b71949550285df7dc-
dda4e480e005aaa13ec303551d2d8155.r49.cf1.rackcdn.com/36/109836/4/23874/run_tests.log

2014-08-28 12:26:37.538 |     Traceback (most recent call last):
2014-08-28 12:26:37.543 |       File "tempest/api/compute/servers/test_server_actions.py", line 251, in test_resize_server_revert
2014-08-28 12:26:37.550 |         self.client.wait_for_server_status(self.server_id, 'VERIFY_RESIZE')
2014-08-28 12:26:37.556 |       File "tempest/services/compute/json/servers_client.py", line 179, in wait_for_server_status
2014-08-28 12:26:37.563 |         raise_on_error=raise_on_error)
2014-08-28 12:26:37.570 |       File "tempest/common/waiters.py", line 77, in wait_for_server_status
2014-08-28 12:26:37.577 |         server_id=server_id)
2014-08-28 12:26:37.583 |     BuildErrorException: Server e58677ac-dd72-4f10-9615-cb6763f34f50 failed to build and is in ERROR status
2014-08-28 12:26:37.589 |     Details: {u'message': u'[\'XENAPI_PLUGIN_FAILURE\', \'move_vhds_into_sr\', \'Exception\', "VDI \'/var/run/sr-mount/16f5c980-eeb6-0fd3-e9b1-dec616309984/os-images/instancee58677ac-dd72-4f10-9615-cb6763f34f50/535cd7f2-80a5-463a-935c-9c4f52ba0ecf.vhd\' has an invalid footer: \' invalid cook', u'code': 500, u'created': u'2014-08-28T11:57:01Z'}

** Affects: nova
     Importance: Medium
     Assignee: John Garbutt (johngarbutt)
         Status: In Progress


** Tags: xenserver

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

Title:
  move_vhds_into_sr - invalid cookie

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  When moving VHDs on the filesystem a coalesce may be in progress.  The
  result of this is that the VHD file is not valid when it is copied as
  it is being actively changed - and the VHD cookie is invalid.

  Seen in XenServer CI: http://dd6b71949550285df7dc-
  dda4e480e005aaa13ec303551d2d8155.r49.cf1.rackcdn.com/36/109836/4/23874/run_tests.log

  2014-08-28 12:26:37.538 |     Traceback (most recent call last):
  2014-08-28 12:26:37.543 |       File "tempest/api/compute/servers/test_server_actions.py", line 251, in test_resize_server_revert
  2014-08-28 12:26:37.550 |         self.client.wait_for_server_status(self.server_id, 'VERIFY_RESIZE')
  2014-08-28 12:26:37.556 |       File "tempest/services/compute/json/servers_client.py", line 179, in wait_for_server_status
  2014-08-28 12:26:37.563 |         raise_on_error=raise_on_error)
  2014-08-28 12:26:37.570 |       File "tempest/common/waiters.py", line 77, in wait_for_server_status
  2014-08-28 12:26:37.577 |         server_id=server_id)
  2014-08-28 12:26:37.583 |     BuildErrorException: Server e58677ac-dd72-4f10-9615-cb6763f34f50 failed to build and is in ERROR status
  2014-08-28 12:26:37.589 |     Details: {u'message': u'[\'XENAPI_PLUGIN_FAILURE\', \'move_vhds_into_sr\', \'Exception\', "VDI \'/var/run/sr-mount/16f5c980-eeb6-0fd3-e9b1-dec616309984/os-images/instancee58677ac-dd72-4f10-9615-cb6763f34f50/535cd7f2-80a5-463a-935c-9c4f52ba0ecf.vhd\' has an invalid footer: \' invalid cook', u'code': 500, u'created': u'2014-08-28T11:57:01Z'}

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


Follow ups

References