Re: [Openstack] Can't Migrate a VM?

2013-05-29 Thread Lei Zhang
Your ssh key may be not config properly. Checkout following steps. 1. You get a key pair( pub key and private key). You can using the root's key which locate `/root/.ssh/id_rsa` and `/root/.ssh/id_ras.pub` or generate a new one 2. Enable the nova user login-able ``` usermod -s /bin/bash nova ``` N

Re: [Openstack] Can't Migrate a VM?

2013-05-29 Thread Nehal J. Wani
Exact error after putting that configuration: ./nova/compute. log:7203:Stderr: "Warning: Permanently added '10.3.3.58' (RSA) to the list of known hosts.\r\nPermission denied, please try again.\r\nPermission denied, please try again.\r\nPermission denied (publickey,gssapi-keyex,gssapi-with-mic,pass

Re: [Openstack] Can't Migrate a VM?

2013-05-29 Thread Nehal J. Wani
I tried putting that into ~nova/.ssh/config But the it says permission denied. On Wed, May 29, 2013 at 6:25 PM, Lei Zhang wrote: > You may also need add following config in /var/lib/nova/.ssh/config > > StrictHostKeyChecking no > > > > On Wed, May 29, 2013 at 8:25 PM, Mac Innes, Kiall wrote:

Re: [Openstack] Can't Migrate a VM?

2013-05-29 Thread Lei Zhang
You may also need add following config in /var/lib/nova/.ssh/config StrictHostKeyChecking no On Wed, May 29, 2013 at 8:25 PM, Mac Innes, Kiall wrote: > Then, packstack either has a bug, or the default settings don't allow for > the use of block migration.. > > I've personally never even heard

Re: [Openstack] Can't Migrate a VM?

2013-05-29 Thread Mac Innes, Kiall
Then, packstack either has a bug, or the default settings don't allow for the use of block migration.. I've personally never even heard of packstack, so I can't comment on how to fix/where to file a bug etc... Maybe someone else can? Thanks, Kiall On 29/05/13 13:18, Nehal J. Wani wrote: But p

Re: [Openstack] Can't Migrate a VM?

2013-05-29 Thread Nehal J. Wani
Initially, the error was: host key verification failed So I created the host keys for nova user with the command: ssh-keygen -f nova and then renamed them to id_rsa and id_rsa.pub and then put them to ~nova/.ssh/ Also, I copied the files /root/.ssh/known_hosts and /root/.ssh/authorized_keys to ~

Re: [Openstack] Can't Migrate a VM?

2013-05-29 Thread Mac Innes, Kiall
On 29/05/13 13:11, Nehal J. Wani wrote: > 2013-05-29 17:39:04.795 5106 TRACE nova.openstack.common.rpc.amqp > ProcessExecutionError: Unexpected error while running command. > 2013-05-29 17:39:04.795 5106 TRACE nova.openstack.common.rpc.amqp > Command: ssh 10.3.3.58 mkdir -p > /var/lib/nova/instance

[Openstack] Can't Migrate a VM?

2013-05-29 Thread Nehal J. Wani
How do I resolve this? 2013-05-29 17:39:04.795 ERROR nova.openstack.common.rpc.amqp [req-ab0ab357-b84e-4882-8b58-6f6d2b50050e 8a31b05e02f34486902792b59f9c5183 b7ddbab8f6c64086ba13b9ddbe76a87e] Exception during message handling 2013-05-29 17:39:04.795 5106 TRACE nova.openstack.common.rpc.amqp Trace