yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #38943
[Bug 1486791] Re: Fix mistake in UT: test_detach_unattached_volume
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => liberty-rc1
--
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/1486791
Title:
Fix mistake in UT: test_detach_unattached_volume
Status in OpenStack Compute (nova):
Fix Released
Bug description:
Simple fix:
In nova.test.unit.compute.test_compute.py
def test_detach_unattached_volume(self):
# Ensure exception is raised when volume's idea of attached
# instance doesn't match.
fake_instance = self._fake_instance({'uuid': 'uuid1',
'locked': False,
'launched_at': timeutils.utcnow(),
'vm_state': vm_states.ACTIVE,
'task_state': None})
volume = {'id': 1, 'attach_status': 'in-use',
----------volume attach_status should be 'attached' or 'detached', status should be 'in-use', this should be fixed--------------
'instance_uuid': 'uuid2'}
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1486791/+subscriptions
References