[openstack-dev] Nova Migrate/Resize Libvirt Methods

Daniel P. Berrange berrange at redhat.com
Mon Sep 30 08:12:02 UTC 2013


On Fri, Sep 27, 2013 at 02:11:36PM -0400, Solly Ross wrote:
> Hello Fellow OpenStackers,
> 
> I was working on a bug (https://bugzilla.redhat.com/show_bug.cgi?id=975014)
> involving the Nova resize functionality in the libvirt driver.  So, it
> turns out that the bug is caused by nova code trying to ssh directly
> into another compute node.  Since it was not authorized to do so, the
> command failed.
>
> So, my question is this: should nova really be SSHing directly into a
> peer machine to create a directory?  Doesn't that kind of defeat the
> purpose of the centralized RPC mechanism?  However, if this is the
> intended functionality, should Packstack be smarter about setting up
> permissions (this was a packstack install) when there are two or more
> compute nodes listed?

Yes, I think that it is really pretty bogus design to use ssh in this way
in Nova & this should be fixed to not use ssh.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|



More information about the OpenStack-dev mailing list