[Openstack] Live Migration of VMs without shared storage

somshekar kadam som_kadam at yahoo.co.in
Mon Mar 9 17:00:47 UTC 2015


Ok, I will move to RDO, we have already a plan to have RDO also, only that we started first with this. to get hold of openstack. Thanks for your suggestions Remo. 
 
Regards
Neelu 

     On Monday, 9 March 2015 10:26 PM, Remo Mattei <Remo at italy1.com> wrote:
   

 Again, If you are not familiar with Devstack, I would suggest to use RDO which is a more realistic environment.  I have stopped using Devstack while back so others may have more tips on that env. 
Remo 
From:  somshekar kadam
Reply-To:  somshekar kadam
Date:  Monday, March 9, 2015 at 09:54
To:  Remo Mattei
Cc:  "openstack at lists.openstack.org Openstack"
Subject:  Re: [Openstack] Live Migration of VMs without shared storage


I followed devstack install steps as mentioned 
http://docs.openstack.org/developer/devstack/guides/multinode-lab.html
I have installed as user stack as mentioned in the link. home dir is /opt/stack.
 
Regards
Neelu 

     On Monday, 9 March 2015 10:18 PM, Remo Mattei <Remo at italy1.com> wrote:
   

 When you create the user, not sure how your installation was performed but your user should always have a home dir. Your account should be able to do use the ssh-copy-id to copy the key from one server to the other. By default the account may not have a valid shell, I would also check on that. 
Remo 
From:  somshekar kadam
Reply-To:  somshekar kadam
Date:  Monday, March 9, 2015 at 09:42
To:  Remo Mattei
Cc:  "openstack at lists.openstack.org Openstack"
Subject:  Re: [Openstack] Live Migration of VMs without shared storage


Yes key is now owned by nova user in default dir /var/lib/nova/.sshThis dir was not present I mean nova user was not present earlier. I will check the pemissions also test and get back. 

 
Regards
Neelu 

     On Monday, 9 March 2015 10:01 PM, Remo Mattei <Remo at italy1.com> wrote:
   

 You should always do su – nova and not su nova. I would check the permissions, do you have an ssh key, is it owned by nova user, after that you need to copy that key between the compute. 
Remo 
From:  somshekar kadam
Reply-To:  somshekar kadam
Date:  Monday, March 9, 2015 at 09:28
To:  Remo Mattei
Cc:  "openstack at lists.openstack.org Openstack"
Subject:  Re: [Openstack] Live Migration of VMs without shared storage


Hello Remo and All, 

When I upgraded my libvirt and kvm, now I able to see id nova
as shown below
stack at celestial7:~/devstack$ id nova
uid=123(nova) gid=131(nova) groups=131(nova),129(libvirtd)
also I did su nova and set password for it. 

when tried restarting the nova service I see following error. + cp -p /opt/stack/nova/etc/nova/policy.json /etc/nova
2015-03-09 16:19:21.209 | cp: cannot create regular file '/etc/nova/policy.json': Permission denied

I have done the same on compute node, I am able to see id nova user now. 

also the same error too when try to compile it.  

+ cp -p /opt/stack/nova/etc/nova/policy.json /etc/nova
2015-03-09 16:19:21.209 | cp: cannot create regular file '/etc/nova/policy.json': Permission denied
if any suggestions, will help, I am also trying to debug it. 

thanks for all your support, 

thanks in advance 

regardsNeelu

Regards
Neelu 

     On Thursday, 5 March 2015 8:18 PM, Remo Mattei <remo at italy1.com> wrote:
   

 Use rdo with packstack since it is closer to real life env. 
Remo 

Inviato da iPhone ()
Il giorno 05/mar/2015, alle ore 00:42, somshekar kadam <som_kadam at yahoo.co.in> ha scritto:


Hello All, 

I have installed openstack using devstack 1 controller and two compute nodes for live migration. 
learnt that need to share ssh keys between compute nodes for nova user. 

When i try to do it, it gives nova user does not exist. 
Allow logins for the nova userWhen I am trying 
usermod -s /bin/bash nova
usermod: user 'nova' does not exist
Please help on this
thanks in advance 
 
Regards
Neelu 

     On Wednesday, 4 March 2015 8:52 PM, Remo Mattei <Remo at Italy1.com> wrote:
   

 This is your error!!!
You need to make sure you have your keys setup correctly. 
Remo 

On Mar 4, 2015, at 07:19, somshekar kadam <som_kadam at yahoo.co.in> wrote:
Permission denied, please try again.^M
Permission denied, please try again.^M
Permission denied (publickey,password).: Connection reset by peer



    


    


    


    !DSPAM:1,54fdd04f246337991016249!


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150309/990c9f33/attachment.html>


More information about the Openstack mailing list