live_migration_flag missing in nova.conf

Bug #1286582 reported by Salman Baset
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Fix Released
Medium
Mark Vanderwiel

Bug Description

To enable live migration with shared storage for VMs, the following flag needs to be added.

live_migration_flag = VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER

See http://docs.openstack.org/admin-guide-cloud/content/section_configuring-compute-migrations.html for live migration options.

Tags: compute
Revision history for this message
Salman Baset (salman-h) wrote :

state path in nova.conf is hard coded

state_path=/var/lib/nova

To take advantage of the shared file system, this parameter must be configurable.

Changed in openstack-chef:
importance: Undecided → Medium
Revision history for this message
Mark Vanderwiel (vanderwl) wrote :

Looks like these might also be needed for live migration:

# Number of 1 second retries needed in live_migration (integer
# value)
#live_migration_retry_count=30

# Number of times to retry live-migration before failing. If
# == -1, try until out of hosts. If == 0, only try once, no
# retries. (integer value)
#migrate_max_retries=-1

# Required for live migration among hosts with different CPU
# features (boolean value)
#limit_cpu_features=false

# Migration target URI (any included "%s" is replaced with the
# migration target hostname) (string value)
#live_migration_uri=qemu+tcp://%s/system

# Migration flags to be set for block migration (string value)
#block_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER, VIR_MIGRATE_NON_SHARED_INC

# Maximum bandwidth to be used during migration, in Mbps
# (integer value)
#live_migration_bandwidth=0

Is your target for this still havana-rc1 (within next week)?

tags: added: compute
no longer affects: openstack-chef/havana
Changed in openstack-chef:
assignee: Salman Baset (salman-h) → Mark Vanderwiel (vanderwl)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cookbook-openstack-compute (master)

Fix proposed to branch: master
Review: https://review.openstack.org/102569

Changed in openstack-chef:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cookbook-openstack-compute (master)

Reviewed: https://review.openstack.org/102569
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-compute/commit/?id=3cbc281f773c0a84c894f50f174738507646225f
Submitter: Jenkins
Branch: master

commit 3cbc281f773c0a84c894f50f174738507646225f
Author: Mark Vanderwiel <email address hidden>
Date: Wed Jun 25 10:46:48 2014 -0500

    Allow live migration attributes

    Change-Id: I435200916b006af9146b8b2790fd167ad4d50fee
    Closes-Bug: #1286582

Changed in openstack-chef:
status: In Progress → Fix Released
Changed in openstack-chef:
milestone: icehouse-rc1 → icehouse-stable
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.