Ask Your Question

unable to migrate a vm on other host

asked 2015-05-11 01:49:27 -0500

Aman gravatar image

I am trying to migrate (Static migrate) an instance from one compute host to another by running the command “nova migrate” but it results in the vm going in error state.


Command: ssh mkdir -p /var/lib/nova/instances/9edcde17-38db-4f80-94e7-fb60bf5c55a0 u'ssh: connect to host port 22: Connection refused "message": "Unexpected error while running command.

Please provide information on what could be the reason for this as all the services are up and running.

Moreover, when i am running comand neutron agent list then i am unable to see new compute host over there.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2015-05-11 03:30:33 -0500

dbaxps gravatar image

Consult :
Section 7 in particular.

Update the libvirt configurations so that the calls can be made securely. These methods enable remote access over TCP and are not documented here.
    SSH tunnel to libvirtd's UNIX socket
    libvirtd TCP socket, with GSSAPI/Kerberos for auth+data encryption
    libvirtd TCP socket, with TLS for encryption and x509 client certs for authentication
    libvirtd TCP socket, with TLS for encryption and Kerberos for authentication 
Restart libvirt. After you run the command, ensure that libvirt is successfully restarted:
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2015-05-11 01:49:27 -0500

Seen: 454 times

Last updated: May 11 '15