Comment 4 for bug 1491737

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Reviewed: https://review.openstack.org/221525
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=5153dcda807c554769081626c10c43d16adea671
Submitter: Jenkins
Branch: master

commit 5153dcda807c554769081626c10c43d16adea671
Author: Andrey Kurilin <email address hidden>
Date: Wed Sep 9 01:04:45 2015 +0300

    [BugFix] Change parameters for legacy bdm

    `_parse_block_device_mapping` method was design to support both
    bdm v1 and v2. The implementation is based on the fact that API side
    ignores unknown/incorrect parameters, so `_parse_block_device_mapping` compose
    equal parameter for bdm v1 and bdm v2. Since Nova V2.1 contains schema checks,
    such implementation stoped working.
    Despite the fact that novaclient.v2.servers contains separate logic for bdm v2,
    we can make `_parse_block_device_mapping` works only with legacy bdm and
    in future patches make it works for both bdm v1 and bdm v2.

    Change-Id: I37c00ac77b1a3b500221d779533532e9f43e5277
    Closes-Bug: #1491737