[Openstack] Live Migration of VMs without shared storage

Remo Mattei Remo at italy1.com
Mon Mar 9 16:48:44 UTC 2015


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/.ssh
This 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 

regards
Neelu

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 user 
When 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,54fdcd94231423779686593! 

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


More information about the Openstack mailing list