Windows connectors have wrong method signature

Bug #1738390 reported by Lucian Petrut
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-brick
Fix Released
Medium
Unassigned

Bug Description

The Windows connectors do not include the 'device_info' argument in the 'disconnect_volume' method.
This wasn't an issue for Nova as the Hyper-V driver doesn't pass this argument, yet Cinder does pass it, which will lead to an exception.

Changed in os-brick:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-brick (master)

Reviewed: https://review.openstack.org/528236
Committed: https://git.openstack.org/cgit/openstack/os-brick/commit/?id=603d036ff93add6692097f2a7654d33d3443d99a
Submitter: Zuul
Branch: master

commit 603d036ff93add6692097f2a7654d33d3443d99a
Author: Lucian Petrut <email address hidden>
Date: Fri Dec 15 12:16:52 2017 +0200

    Windows: fix connectors 'disconnect_volume' signature

    The Windows connectors do not include the 'device_info' argument
    in the 'disconnect_volume' method.

    This wasn't an issue for Nova as the Hyper-V driver doesn't pass
    this argument, yet Cinder does pass it, which will lead to an
    exception.

    This change adds the missing argument, defaulting to "None" so that
    it won't break the Nova Hyper-V driver.

    Change-Id: Iaf8b57c97afc393862a61a7338a35f008b65c8c1
    Closes-Bug: #1738390

Changed in os-brick:
status: Confirmed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/os-brick 2.4.0

This issue was fixed in the openstack/os-brick 2.4.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.