yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #31449
[Bug 1399127] Re: Hyper-V: copy_vm_console_logs does not behave as expected
** Also affects: nova/juno
Importance: Undecided
Status: New
** Changed in: nova/juno
Importance: Undecided => Low
** Changed in: nova/juno
Status: New => Fix Committed
** Changed in: nova/juno
Milestone: None => 2014.2.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/1399127
Title:
Hyper-V: copy_vm_console_logs does not behave as expected
Status in OpenStack Compute (Nova):
Fix Released
Status in OpenStack Compute (nova) juno series:
Fix Committed
Bug description:
The method nova.virt.hyperv.vmops.VMOps.copy_vm_console_logs does not
behave as expected. For example, it should copy the local files
'local.file', 'local.file.1' to the remote locations 'remote.file',
'remote.file.1' respectively. Instead it copies 'local.file' to
'local.file.1' and 'remote.file' to 'remote.file.1'.
This issue was discovered while creating unit tests:
https://review.openstack.org/#/c/138934/
Trace:
2014-12-04 08:25:51.623 | Traceback (most recent call last):
2014-12-04 08:25:51.624 | File "nova/tests/unit/virt/hyperv/test_vmops.py", line 868, in test_copy_vm_console_logs
2014-12-04 08:25:51.624 | mock.sentinel.FAKE_PATH, mock.sentinel.FAKE_REMOTE_PATH)
2014-12-04 08:25:51.624 | File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 846, in assert_called_once_with
2014-12-04 08:25:51.624 | return self.assert_called_with(*args, **kwargs)
2014-12-04 08:25:51.625 | File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 835, in assert_called_with
2014-12-04 08:25:51.625 | raise AssertionError(msg)
2014-12-04 08:25:51.625 | AssertionError: Expected call: copy(sentinel.FAKE_PATH, sentinel.FAKE_REMOTE_PATH)
2014-12-04 08:25:51.626 | Actual call: copy(sentinel.FAKE_PATH, sentinel.FAKE_PATH_ARCHIVED)
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1399127/+subscriptions
References