Ask Your Question
0

Newton: Unable to migrate/live-migrate on

asked 2018-01-11 04:46:57 -0600

AB239 gravatar image

updated 2018-01-11 06:01:55 -0600

Hello team,

I am unable to migrate/live-migrate VMs from one compute node to another. Please note that all the commands were executed using root user credentials.

controller:/home/# openstack compute service list
+----+------------------+-------------------+----------+---------+-------+----------------------------+
| ID | Binary           | Host              | Zone     | Status  | State | Updated At                 |
+----+------------------+-------------------+----------+---------+-------+----------------------------+
|  1 | nova-consoleauth | newton-controller | internal | enabled | up    | 2018-01-11T10:41:21.000000 |
|  4 | nova-scheduler   | newton-controller | internal | enabled | up    | 2018-01-11T10:41:26.000000 |
|  5 | nova-conductor   | newton-controller | internal | enabled | up    | 2018-01-11T10:41:29.000000 |
|  8 | nova-compute     | ComputeA           | nova     | enabled | up    | 2018-01-11T10:41:29.000000 |
|  9 | nova-compute     | ComputeB           | nova     | enabled | up    | 2018-01-11T10:41:29.000000 |
+----+------------------+-------------------+----------+---------+-------+----------------------------+

Command executed to migrate from ComputeA to ComputeB:

openstack server migrate c408e2ec-f555-4bd6-8d4d-52186877cd6e --live ComputeB

After this point, I don't get any error. Checked in logs and I couldn't see any error related to migration as well.

Please let me know what could be wrong here?

Update #1:

Able to see this in nova-compute.log on computeA:

2018-01-11 15:12:22.160 32681 ERROR oslo_messaging.rpc.server InvalidSharedStorage: defnet2 is not on shared storage: Live migration can not be used without shared storage except a booted from volume VM which does not have a local dis

If that is the case, can migration be done without --live option? and how?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2018-01-11 06:30:36 -0600

Bernd Bausch gravatar image

Without shared storage, you need to add the --block-migration option. See https://docs.openstack.org/nova/lates....

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

1 follower

Stats

Asked: 2018-01-11 04:46:57 -0600

Seen: 21 times

Last updated: Jan 11