GlusterFS: fix retrieval of management address of GlusterFS volumes
We need the so-called management address of a GlusterFS
volume (ssh address of its management node) at a few places
for bookkeping reasons (certain data like GlusterFS version
is stored in management address-keyed dicts).
So far it was available only through ad-hoc mangling of
various attributes of a GlusterManager instance that
represents the volume. Now we make it available
directly from GlusterManager as an attribute.
Also fix an occurrence of ad-hoc mangling going wrong,
ie. where a wrongly constructed address is attempted
to be used as dict key.
Reviewed: https:/ /review. openstack. org/204270 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=26ff88ca9f6 3ea24374d027252 ee7501fe36451a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 26ff88ca9f63ea2 4374d027252ee75 01fe36451a
Author: Csaba Henk <email address hidden>
Date: Tue Jul 21 23:27:19 2015 +0200
GlusterFS: fix retrieval of management address of GlusterFS volumes
We need the so-called management address of a GlusterFS
volume (ssh address of its management node) at a few places
for bookkeping reasons (certain data like GlusterFS version
is stored in management address-keyed dicts).
So far it was available only through ad-hoc mangling of
various attributes of a GlusterManager instance that
represents the volume. Now we make it available
directly from GlusterManager as an attribute.
Also fix an occurrence of ad-hoc mangling going wrong,
ie. where a wrongly constructed address is attempted
to be used as dict key.
Change-Id: Ic5a96bc99943dd a35923725129162 57d53f61b80
Closes-Bug: #1476710