diff options
author | Ramesh Nachimuthu <rnachimu@redhat.com> | 2014-05-07 09:42:47 +0530 |
---|---|---|
committer | Sahina Bose <sabose@redhat.com> | 2014-05-06 22:54:55 -0700 |
commit | 2b35b6649b5af2d4d4296612f1c711bddcdf7930 (patch) | |
tree | 020c53ce66ebfa4cdc4fa72ae0a060f60abfa928 /tests/test_glustercli.py | |
parent | 43e66567238af129d9d0b4bf82f0af1ee2f1b3ca (diff) |
glustercli: fix for local ip address issue in peerStatus
glustercli._getIpAddresses() throws an exception when
'ovirtmgmt' bridge is present. This is used by peerStatus() to
get the local ip address of the node and peer status
is failing because of the exception.
Current approach is anyway not fool proof as the node can have
multiple network devices and we may not get the right ip address.
So adding 'localhost' as the address for the current host in
peerStatus() API.
Change-Id: Ib804b2109a2578f180b6bf54904a28f19bbdbb7a
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/7688
Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'tests/test_glustercli.py')
0 files changed, 0 insertions, 0 deletions