Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 2014-01-10 21:35:52 -0500

mili gravatar image

ssh resize


I have a 3 compute nodes and I want to enable resizing between them. I'm using ubuntu 12.04 and HAVANA. The best link I found was how to do this on fedora but nothing for ubuntu. Please look below for fedora conf and please help me with ubuntu configuration.

Migrate and Resize

This is implemented currently by transferring the images between compute nodes over ssh. Therefore currently you need to make these adjustments on each compute node to allow that.

Allow logins for the nova user
 # usermod -s /bin/bash nova
 # su - nova
 $ chcon -u system_u -r object_r -t user_home_t .
 $ mkdir -p -m 700 --context=system_u:object_r:ssh_home_t:s0 .ssh && cd .ssh
Disable host identity checking by adding this to ssh config
 $ cat > config <<EOF
 Host * 
   StrictHostKeyChecking no 
Generate and distribute ssh key
 $ ssh-keygen -f id_rsa -b 1024 -P ""
 $ scp /var/lib/nova/.ssh/ root@otherHost:/var/lib/nova/.ssh/authorized_keys
 # chown nova:nova /var/lib/nova/.ssh/authorized_keys