Editing Configuration
#Run on ALL Compute Server and Contoller Server
sed -i "s/#allow_resize_to_same_host.*/allow_resize_to_same_host=true/g" /etc/nova/nova.conf
sed -i "s/#allow_migrate_to_same_host.*/allow_migrate_to_same_host=true/g" /etc/nova/nova.conf
Configure the nova user
usermod -s /bin/bash nova
And enable password less authentication between Nova user’s in all server’s.
To Create Public and Private key for the user
ssh-keygen
To Copy the Public key to other users
ssh-copy-id <To all Server’s>
Add the Following Configruation file under Nova User in Every Server which has a Nova User
su - nova
cat << EOF > ~/.ssh/config
Host *
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null
EOF
When I try to SU to nova, it requires a password.
ReplyDeletehow do you get around that?
Hi , you can set the nova password from the root user. By default the nova user don't have password. But once we change the shell for nova user we can set the password from the root user.
ReplyDeleteWill resetting password break anything in openstack?
DeleteHi, I am not 100% sure about it. But in our environment it didn't break anything and it worked fine.
DeleteThis comment has been removed by a blog administrator.
ReplyDelete