Block live migration fails in packstack deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Packstack |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Description of problem:
Block live migration in Packstack deployment does not work without workaround.
How reproducible:
100%
Steps to Reproduce:
1. Deploy RDO in three-node setup (1 controller / 2 compute nodes) by Packstack on RHEL 7
# packstack --install-
2. Convince yourself that both compute nodes have the same CPUs and are connected to the network with the same network interfaces.
3. Add following line to /etc/nova/nova.conf on both compute nodes:
live_migration_
4. Restart openstack-
5. Run following commands on controller:
# source keystonerc_admin
# nova keypair-add --pub-key ~/.ssh/id_rsa root
# nova boot --flavor m1.small --image cirros test --key_name root
6. Check the compute node on which was the instance spawned. In the next step use the other compute node as target host.
7. Run command:
# nova live-migration --block-migrate test ${target_node}
Actual results:
CLI displays no error, but the instance is not migrated. Following error message appears in /var/log/
2014-07-08 16:59:23.894 28674 ERROR nova.virt.
Expected results:
Instance is migrated to the target host. No errors appear in log
Additional info:
The actual workaround is to replace /sbin/nologin shell for nova user on target node by /bin/bash.
The issue is related to the configuration made by Packstack.
summary: |
- Block live migration to fails in packstack deployment + Block live migration fails in packstack deployment |
Change abandoned by Vladan Popovic (<email address hidden>) on branch: master /review. openstack. org/106436 :libvirt class in puppet-nova
Review: https:/
Reason: moving to nova::compute: