RemoteFS driver should initialize shares variables
Bug #1239741 reported by
Eric Harney
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Eric Harney |
Bug Description
RemoteFS driver's code volume mounting code (_ensure_
They should be initialized to None in __init__ so that they always exist. This fixes pylint warnings to this effect, and also makes it less complicated for anyone working on drivers based on this class.
Changed in cinder: | |
status: | New → In Progress |
Changed in cinder: | |
milestone: | none → icehouse-1 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | icehouse-1 → 2014.1 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/49413 github. com/openstack/ cinder/ commit/ 7e37cd80fe12eab aafba5c5c1c8f35 413f193e37
Committed: http://
Submitter: Jenkins
Branch: master
commit 7e37cd80fe12eab aafba5c5c1c8f35 413f193e37
Author: Eric Harney <email address hidden>
Date: Wed Oct 2 14:11:31 2013 -0400
Initialize shares variables for RemoteFsDriver(s)
self.shares and self._mounted_ shares are used by various methods
for RemoteFs-based drivers, but may not be instantiated early enough.
Initialize them in __init__ to ensure they always exist. (Also fixes
pylint warnings.)
Closes-Bug: #1239741 f694cf8a0fb4629 c835da11c91
Change-Id: I0ef884c28b82b7