[Openstack-operators] Configuring migrations in multinode kilo

Yuki Nishiwaki uckey.1067 at gmail.com
Fri Jun 19 18:26:06 UTC 2015


These article may be useful .
 - (http://blog.zhaw.ch/icclab/setting-up-live-migration-in-openstack-icehouse/)
 - (http://docs.openstack.org/admin-guide-cloud/content/section_configuring-compute-migrations.html)

If you want to easily try to live-migration , I recommended you change migration-uri from ssh to tcp.
So you may need to change the following configuration.

- live_migration_uri ( in nova.conf )  from  "qemu+ssh://hogehoge@%s/system”  to “qemu+tcp://%s/system”
- listen_tls (in /etc/libvirt/libvirtd.conf ) from “1” to “0”
- listen_tcp ( in /etc/libvirt/libvritd.conf ) from “comment out” to “1”
- tcp_port (  in /etc/libvirt/libvritd.conf ) from “comment out” to “16509”
- auth_tcp ( in /etc/libvirt/libvritd.conf ) from “sasl” to “none”
- libvirtd_opts ( in /etc/default/libvirt-bin ) from “-d” to “-d -l”

I hope this information help you.

Yuki Nishiwaki

2015/06/15 21:04、Abhishek Talwar <abhishek.talwar at tcs.com> のメール:

> Hi,
> I have done a multinode kilo installation with a controller, a network node and two compute nodes.
> I am able to boot instances on both the compute nodes and they are going in to ACTIVE state.
> When I am trying to migrate instance from one compute host to the other I am facing an error :
> [instance: 6cf0c4e2-fc9d-4db5-aeea-314271ea119f] Setting instance back to ACTIVE after: Instance rollback performed due to: Resize error: not able to execute ssh command: Unexpected error while running command. 
> Command: ssh mkdir -p /var/lib/nova/instances/6cf0c4e2-fc9d-4db5-aeea-314271ea119f 
> Exit code: 255 
> Stdout: u'' 
> Stderr: u'ssh: connect to host port 22: Connection refused\r\n'
> So how can we configure migrations in a multinode setup ? Why am I getting an SSH error ?
> Please provide me some information regarding this.
> I configured passwordless authentication between the nodes thinking it is an SSH probelm but the error remains.
> Regards
> Abhishek Talwar
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20150620/45ab6991/attachment.html>

More information about the OpenStack-operators mailing list