← Back to team overview

openstack team mailing list archive

Re: Nova "migrate" and "resize"

 

Hi,
I mention "nova" user because it's the default in the main distros.
If I understood correctly your question, you can have different users... of course you need to distribute the right keys for ssh access and make sure they have the right permissions in your nova installation.

cheers,
Belmiro

On Jun 6, 2012, at 2:12 AM, William Herry wrote:

> Hi Belmiro, thanks for your share
> 
> Is that required that the two node must have the same setting about the user, like they all use nova run nova-* command, what if I set them different(one of them run nova-* command with user 'stack', is it possible to make it work also?
> 
> Thanks
> 
> On Wed, Jun 6, 2012 at 2:17 AM, Belmiro Moreira <moreira.belmiro.email.lists@xxxxxxxxx> wrote:
> Hi,
> I spent some time today trying understand how to use successfully the “resize” and “migrate” in nova.  Because I couldn’t find any documentation… I share my experience.
> I have a kvm multi-node installation using fedora 16.
> 
> Migrate and resize use ssh to create the directories and transfer the image.
> So you need to make sure that “nova” user is able to ssh the other compute nodes.
> 
> Make sure you have this in your ssh configuration:
> Host *
>        StrictHostKeyChecking no
>        UserKnownHostsFile=/dev/null
> 
> Create a ssh key for “nova” and distribute it in your setup.
> If you are using Fedora set selinux to permissive.
> … and should work.
> 
> cheers,
> Belmiro
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
> 
> 
> 
> -- 
> 
> 
> 
> William Herry
> ====================
> WilliamHerryChina@xxxxxxxxx
> 



Follow ups

References