← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1303203] [NEW] VM resize: ssh/scp is tried even VM has no local disk

 

Public bug reported:

When a VM has no local disk, resize operation doesn't need to copy disk files over. It doesn't even need to check if the source/dest hypervisors are on a shared file system. Currently, both are attempted anyway:
https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L4894

This relies on the compute hosts being able to freely ssh/scp to each
other, which requires setting up ssh keys. Further more, when kerberos
is used for ssh authentication, ssh using IPs (the current
implementation) simply won't work - full hostname is required.

In the scenario where VM has no local disk, we should simply skip all
the ssh/scp work..

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  VM resize: ssh/scp is tried even VM has no local disk

Status in OpenStack Compute (Nova):
  New

Bug description:
  When a VM has no local disk, resize operation doesn't need to copy disk files over. It doesn't even need to check if the source/dest hypervisors are on a shared file system. Currently, both are attempted anyway:
  https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L4894

  This relies on the compute hosts being able to freely ssh/scp to each
  other, which requires setting up ssh keys. Further more, when kerberos
  is used for ssh authentication, ssh using IPs (the current
  implementation) simply won't work - full hostname is required.

  In the scenario where VM has no local disk, we should simply skip all
  the ssh/scp work..

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


Follow ups

References