Bug 1258302
Summary: | default block_migration_flag should not include VIR_MIGRATE_TUNNELLED | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | August Simonelli <asimonel> |
Component: | openstack-tripleo-heat-templates | Assignee: | Emilien Macchi <emacchi> |
Status: | CLOSED ERRATA | QA Contact: | Prasanth Anbalagan <panbalag> |
Severity: | unspecified | Docs Contact: | |
Priority: | urgent | ||
Version: | 7.0 (Kilo) | CC: | emacchi, jcoufal, jslagle, mburns, mcornea, panbalag, racedoro, rhel-osp-director-maint |
Target Milestone: | ga | Keywords: | Triaged |
Target Release: | 8.0 (Liberty) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-tripleo-heat-templates-0.8.12-1.el7ost | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-04-15 14:29:23 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1221776, 1267598 | ||
Bug Blocks: |
Description
August Simonelli
2015-08-31 02:58:59 UTC
We first need to support Nova migration, defined by https://bugzilla.redhat.com/show_bug.cgi?id=1221776 Until 1221776 is solved, neither resize or bloc migration would work. I might be wrong but AFIK there is no workaround at this time (need to be verified). I asked for the blocker flag because to me it's a very critical thing that to be able to migrate a VM. Operating VMs often require to evacuate compute nodes, so I think we should provide the feature in OSP8. Feel free to disagree on the blocker thing, if we can ship OSP8 without live migration or if any workaround has been applied somewhere I've missed. since we don't deploy live migration support out of the box, I'm not sure patching this bug can be solved for GA. Please check BZ#1301986 for Nova guys recommendation in regards to this issue. I unassigned the bug, regarding BZ#1301986, someone from Nova's team should handle this bug. Assigning the bug again, and working on it with nova folks. merged to stable/liberty, will build later today from configuration point of view this looks ok, still need someone to test migration. Verified as follows, ************ VERSION ************ [stack@instack ~]$ rpm -qa openstack-tripleo-heat-templates openstack-tripleo-heat-templates-0.8.14-5.el7ost.noarch ******* LOGS ******* [heat-admin@overcloud-novacompute-0 ~]$ sudo grep "block_migration" /etc/nova/nova.conf #block_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER, VIR_MIGRATE_LIVE, VIR_MIGRATE_TUNNELLED, VIR_MIGRATE_NON_SHARED_INC block_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER, VIR_MIGRATE_LIVE, VIR_MIGRATE_NON_SHARED_INC [heat-admin@overcloud-novacompute-0 ~]$ [heat-admin@overcloud-novacompute-1 ~]$ sudo grep "block_migration" /etc/nova/nova.conf #block_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER, VIR_MIGRATE_LIVE, VIR_MIGRATE_TUNNELLED, VIR_MIGRATE_NON_SHARED_INC block_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER, VIR_MIGRATE_LIVE, VIR_MIGRATE_NON_SHARED_INC [heat-admin@overcloud-novacompute-1 ~]$ [heat-admin@overcloud-novacompute-1 ~]$ nova list +--------------------------------------+-----------+---------+------------+-------------+----------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+-----------+---------+------------+-------------+----------+ | b9c1e141-beaa-4f12-acdf-705c9a4b7618 | numa-test | SHUTOFF | - | Shutdown | | | 6d4bd435-7040-49ba-92d5-7a1c6efddcc8 | vm2 | SHUTOFF | - | Shutdown | | | 73372d68-f5d2-43a2-86b0-2796666aea4a | vm3 | ACTIVE | - | Running | | +--------------------------------------+-----------+---------+------------+-------------+----------+ [heat-admin@overcloud-novacompute-1 ~]$ [heat-admin@overcloud-novacompute-1 ~]$ nova host-list +-------------------------------------+-------------+----------+ | host_name | service | zone | +-------------------------------------+-------------+----------+ | overcloud-controller-0.localdomain | scheduler | internal | | overcloud-controller-0.localdomain | consoleauth | internal | | overcloud-controller-0.localdomain | conductor | internal | | overcloud-novacompute-1.localdomain | compute | nova | | overcloud-novacompute-0.localdomain | compute | nova | | overcloud-controller-0.localdomain | cert | internal | +-------------------------------------+-------------+----------+ [heat-admin@overcloud-novacompute-1 ~]$ nova show vm3 | grep host | OS-EXT-SRV-ATTR:host | overcloud-novacompute-0.localdomain | | OS-EXT-SRV-ATTR:hypervisor_hostname | overcloud-novacompute-0.localdomain | | hostId | 3e29a93ddf6b2523c52504366e87b28e12c01941bc17635cd4d7c666 | [heat-admin@overcloud-novacompute-1 ~]$ [heat-admin@overcloud-novacompute-1 ~]$ [heat-admin@overcloud-novacompute-1 ~]$ nova live-migration --block-migrate vm3 overcloud-novacompute-1.localdomain [heat-admin@overcloud-novacompute-1 ~]$ [heat-admin@overcloud-novacompute-1 ~]$ nova show vm3 | grep host | OS-EXT-SRV-ATTR:host | overcloud-novacompute-1.localdomain | | OS-EXT-SRV-ATTR:hypervisor_hostname | overcloud-novacompute-1.localdomain | | hostId | 59a8043b41fe1eb2259658dd3ab4b536b8c8ccc3950b733624ed8075 | [heat-admin@overcloud-novacompute-1 ~]$ Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0637.html The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |