A quick list of files and its permissions, once key is generated. stack@celestial7:~/devstack$ su - nova Password: nova@celestial7:~$ cd /var/lib/nova/ nova@celestial7:~$ ls -al /var/lib/nova/ total 44 drwxr-xr-x 10 nova nova 4096 Mar 9 21:39 . drwxr-xr-x 77 root root 4096 Mar 9 22:15 .. -rw------- 1 nova nova 352 Mar 9 22:18 .bash_history drwxr-xr-x 2 nova nova 4096 Nov 18 22:13 buckets drwxr-xr-x 6 nova nova 4096 Mar 9 20:50 CA drwxr-xr-x 2 nova nova 4096 Nov 18 22:13 images drwxr-xr-x 2 nova nova 4096 Nov 18 22:13 instances drwxr-xr-x 2 nova nova 4096 Nov 18 22:13 keys drwxr-xr-x 2 nova nova 4096 Nov 18 22:13 networks drwxrwxr-x 2 nova nova 4096 Mar 9 21:43 .ssh drwxr-xr-x 2 nova nova 4096 Nov 18 22:13 tmp nova@celestial7:~$ cd .ssh/ nova@celestial7:~/.ssh$ ls -al total 16 drwxrwxr-x 2 nova nova 4096 Mar 9 21:43 . drwxr-xr-x 10 nova nova 4096 Mar 9 21:39 .. -rw------- 1 nova nova 1679 Mar 9 21:43 id_rsa -rw-r--r-- 1 nova nova 397 Mar 9 21:43 id_rsa.pub
Regards Neelu On Monday, 9 March 2015 10:12 PM, somshekar kadam <som_ka...@yahoo.co.in> wrote: 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 <r...@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@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@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 <r...@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_ka...@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 <r...@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_ka...@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,54fdca5b210761702012848!
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack