yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03228
[Bug 1172832] Re: resize instance with shared storage fails
Resolved and should be closed.
** Changed in: nova
Status: In Progress => Invalid
** Changed in: nova
Assignee: Dongdong Zhou (dzhou121) => (unassigned)
--
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/1172832
Title:
resize instance with shared storage fails
Status in OpenStack Compute (Nova):
Invalid
Bug description:
I have two compute nodes (Grizzly) with shared storage (NOVA-INST-DIR/instances on NFS).
nova users don't have ssh keys or shells
and
allow_resize_to_same_host = True
live-migration works well, but resize not always.
resize made on one node works well (e.g. A->A, B->B), but not between two nodes (e.g. A->B, B->A).
There are errors associated with ssh/scp:
nova/virt/libvirt/driver.py", line 3444, in migrate_disk_and_power_off
utils.execute('ssh', dest, 'mkdir', '-p', inst_base)
nova/virt/libvirt/utils.py", line 420, in copy_image
execute('scp', src, dest)
With shared storage migrate_disk_and_power_off/copy_image functions should do local copy instead via ssh/scp
Relying on a simple test:
same_host = (dest == self.get_host_ip_addr())
to choose the local operations vs. remote is not sufficient
As far as I know, the live-migration performs useful test
(_check_shared_storage_test_file(filename)) and resize should too.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1172832/+subscriptions