[Openstack] Ubuntu 12.04 / Havana / Enable migration
Sascha Vogt
sascha.vogt at gmail.com
Fri Jan 24 12:37:40 UTC 2014
Hi all,
found it myself ;) Stupid me moved /var/lib/nova to /srv/nova and didn't
update the user home in /etc/passwd... So authorized_keys was not found.
Not sure if related, I also gave the nova user a login shell (bash).
Greetings
-Sascha-
Am 24.01.2014 10:25, schrieb Sascha Vogt:
> Hi all,
>
> I have a multi node setup and wanted to play with migration. Currently
> I'm getting strange SSH errors. I followed the
> http://docs.openstack.org/havana/install-guide/install/apt/content/ guide.
>
> The first error was a host key verification error. After adding an SSH
> config to <NOVA_HOME>/.ssh/config and giving the nova user an SSH key /
> authorized keys file on all nodes (including the controller) I get:
>
>> amqp [req-bd6b7183-139c-4885-a93c-705b3caf5ce8 516346b4ad844ed7872a179ac663d5d9 62baf66a77e946d191fb4cc785b28e76] Exception during message handling
>> amqp Traceback (most recent call last):
>> amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data
>> amqp **args)
>> amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch
>> amqp result = getattr(proxyobj, method)(ctxt, **kwargs)
>> amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 353, in decorated_function
>> amqp return function(self, context, *args, **kwargs)
>> amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 90, in wrapped
>> amqp payload)
>> amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 73, in wrapped
>> amqp return f(self, context, *args, **kw)
>> amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 243, in decorated_function
>> amqp pass
>> amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 229, in decorated_function
>> amqp return function(self, context, *args, **kwargs)
>> amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 294, in decorated_function
>> amqp function(self, context, *args, **kwargs)
>> amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 271, in decorated_function
>> amqp e, sys.exc_info())
>> amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 258, in decorated_function
>> amqp return function(self, context, *args, **kwargs)
>> amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3021, in resize_instance
>> amqp block_device_info)
>> amqp File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4439, in migrate_disk_and_power_off
>> amqp utils.execute('ssh', dest, 'mkdir', '-p', inst_base)
>> amqp File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 177, in execute
>> amqp return processutils.execute(*cmd, **kwargs)
>> amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/processutils.py", line 178, in execute
>> amqp cmd=' '.join(cmd))
>> amqp ProcessExecutionError: Unexpected error while running command.
>> amqp Command: ssh 10.0.3.250 mkdir -p /srv/nova/instances/36d06898-f11c-4888-87ff-e6d4406986b2
>> amqp Exit code: 255
>
> It might be related to Ubuntu giving the nova (and all other users)
> /bin/false als login shell.
>
> Any advice on that?
>
> Greetings
> -Sascha-
More information about the Openstack
mailing list