Windows connectors have wrong method signature
Bug #1738390 reported by
Lucian Petrut
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 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/528236 /git.openstack. org/cgit/ openstack/ os-brick/ commit/ ?id=603d036ff93 add6692097f2a76 54d33d3443d99a
Committed: https:/
Submitter: Zuul
Branch: master
commit 603d036ff93add6 692097f2a7654d3 3d3443d99a
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: Iaf8b57c97afc39 3862a61a7338a35 f008b65c8c1
Closes-Bug: #1738390