Ask Your Question
0

unable to migrate a vm on other host

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

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.

Error:

Command: ssh 10.10.10.31 mkdir -p /var/lib/nova/instances/9edcde17-38db-4f80-94e7-fb60bf5c55a0 u'ssh: connect to host 10.10.10.31 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
0

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

dbaxps gravatar image

Consult : http://docs.openstack.org/admin-guide...
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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

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

Seen: 347 times

Last updated: May 11 '15