Fix live migration RPC compatibility with older versions

Bug #1441521 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
High
Thorking

Bug Description

https://review.openstack.org/151775
commit e7828d91aa3ec5a781a2d8dbd411e5d4210aa5c0
Author: Dan Smith <email address hidden>
Date: Tue Jan 6 10:41:41 2015 -0800

    Fix live migration RPC compatibility with older versions

    In commit bc45c56f102cdef58840e02b609a89f5278e8cce, the live migration
    RPC APIs were changed such that they intentionally wouldn't communicate
    with older versions that don't provide the extra parameters that were
    added. This breaks people using live migration to move workloads between
    icehouse and juno compute nodes during an upgrade. It also generally
    runs counter to our policies regarding RPC API compatibility.

    The original bug only affected shared block storage users, which means
    a large portion of users aren't even affected. Thus, this patch restores
    compatibility with the older versions in all cases, but logs weighty
    warning messages for the operators when a migration is performed that
    looks to be affected by the bug. If we have enough information to
    determine that the migration is not affected, we avoid the warning, but
    otherwise err on the side of caution. If an operator is not actually
    affected by the bug, they will see the warnings while the RPC API
    version cap is in place (i.e. during the upgrade window) and then
    the warnings will stop once it is removed.

    UpgradeImpact: This will resolve upgrade issues from Icehouse->Juno
    when using live migration.

    DocImpact: Documenting the potential for data loss when migrating from
    Icehouse to Juno when using live migration is something operators should
    be aware of.

    Conflicts:
            nova/compute/rpcapi.py
            nova/tests/unit/compute/test_rpcapi.py
            nova/tests/unit/virt/libvirt/test_driver.py

    NOTE(mriedem): The rpcapi conflict was due to jsonutils not being
    on master. The test conflicts were due to the modules being moved
    on master.

    Change-Id: I5651fb7ba95f38e2e2f8a48a98ff04072c6bb885
    Closes-Bug: #1402813
    (cherry picked from commit 5477faab6740f1d8a4fcb4c28779dfc4fd316afe)

Tags: nova
Lana (loquacity)
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → High
milestone: none → kilo
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: kilo → liberty
Thorking (thorking2)
Changed in openstack-manuals:
assignee: nobody → Thorking (thorking2)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

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

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

Reviewed: https://review.openstack.org/202950
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=c5458ee1a0ca9c9f1888ec86087832b044dc46ed
Submitter: Jenkins
Branch: master

commit c5458ee1a0ca9c9f1888ec86087832b044dc46ed
Author: thorking <email address hidden>
Date: Tue Jul 21 16:56:50 2015 +0800

    Fix live migration RPC compatibility

    Add warning message to admin guide to notice operator
    the potential of data loss when they use live migration
    between Icehouse and Juno compute nodes.

    Change-Id: Ib906646fe335184f7a62d0967795a15f07155b59
    Closes-Bug: 1441521

Changed in openstack-manuals:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-manuals 15.0.0

This issue was fixed in the openstack/openstack-manuals 15.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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