cinder/cinder
Adriano Rosso 4f39141e32 HNAS driver: Fix SSH and cluster_admin_ip0 bug
HNAS driver has 2 configuration options:
- SSC (ssh_enabled: False ): requires a local utility package
installed to run the commands
- SSH (ssh_enabled: True): Runs the commands using the utility
package installed on HNAS

Currently, the HNAS driver is considering the "ssh_enabled" and the
"cluster_admin_ip0" tags to decide if the command to get the utility
package version should be ran locally or not. This is not correct
because the "cluster_admin_ip0" tag is not mandatory even if the SSH
mode is enabled.
So, if we have a situation that SSH is enabled and the
"cluster_admin_ip0" does not exist in the configuration, the driver
tries to run the command to get the utility package version locally
and its initialization breaks.
This patch makes the driver consider only the "ssh_enabled" tag
value to decide if the command to get the utility package version
is necessary.

Change-Id: I29fb5d7199e10eafee329dbd4ccef524245fbc28
Closes-Bug: 1543208
2016-02-12 11:26:17 -02:00
..
api Merge "Add pagination support to consistency group" 2016-01-29 05:42:01 +00:00
backup Merge "Cleanup in backup reset status" 2016-02-11 06:25:14 +00:00
brick Add LC_ALL=C to lvcreate, lvextend and pvresize 2015-11-05 18:43:31 +01:00
cmd Replace exit() by sys.exit() 2016-01-25 17:29:09 +08:00
common Run flake8 also on cinder/common 2016-01-21 14:17:34 +01:00
compute Fix InstanceLocalityFilter scheduler filter 2015-11-18 15:42:13 +02:00
config Dynamically Pull Out Option Sections 2015-12-05 05:23:13 -06:00
consistencygroup Don't create cgsnapshot if cg is empty 2016-02-03 14:16:30 -08:00
db Merge "Return updated volume type after updating" 2016-02-11 06:34:47 +00:00
hacking hacking: Fix false positive in C302 check 2016-02-09 14:58:46 +01:00
image Wrong usage of "a" 2015-12-27 01:18:21 +08:00
keymgr Check context before returning cached value 2015-12-08 20:51:48 -05:00
locale Imported Translations from Zanata 2016-02-04 06:38:33 +00:00
objects Port objects unit tests to Python 3 2016-02-08 10:47:53 +01:00
openstack Merge "Fix the bug of can't get the desired image info" 2015-12-02 04:39:28 +00:00
replication
scheduler Merge "Wrap the method to calculate virtual free capacity" 2016-02-10 22:12:00 +00:00
testing
tests HNAS driver: Fix SSH and cluster_admin_ip0 bug 2016-02-12 11:26:17 -02:00
transfer Disallow transferring volume in consistency group 2016-01-15 22:52:21 -08:00
volume HNAS driver: Fix SSH and cluster_admin_ip0 bug 2016-02-12 11:26:17 -02:00
wsgi Move wsgi to oslo_service.wsgi 2016-01-19 18:15:54 +02:00
zonemanager Adds support for configuring zoning in a virtual fabric 2016-02-08 13:49:04 -08:00
__init__.py Re-enabled hacking checks for H105 2016-01-05 11:22:40 +02:00
context.py Preserve request id in Cinder logs 2015-12-16 12:04:57 -06:00
coordination.py Tooz locks 2015-12-17 10:27:43 +00:00
exception.py Adds HTTPS southbound connector for Brocade FC Zone Driver 2016-01-28 15:07:04 -08:00
flow_utils.py Refactoring of manager's create_volume flow 2015-07-24 11:19:09 +02:00
i18n.py Remove unused gettextutils from oslo-incubator 2015-10-16 15:22:49 -05:00
manager.py Merge "Enhance deletion efficiency when backup init host" 2015-08-30 12:57:46 +00:00
opts.py Add cinder backup driver for Google Cloud Storage 2016-01-18 23:28:23 +05:30
policy.py adds user_id to check_is_admin 2015-08-25 04:46:18 -07:00
quota.py Cinder Nested Quota Driver 2015-08-26 12:00:15 -07:00
quota_utils.py Retyping volume got error under max vol limit 2015-12-22 11:18:33 +08:00
rpc.py Pin RPC and object version to lowest running 2016-01-29 08:36:04 -05:00
service.py Merge "Move wsgi to oslo_service.wsgi" 2016-02-09 20:24:35 +00:00
ssh_utils.py Fix Python 3 issues in utils 2015-06-15 10:29:22 +02:00
test.py Move get_by_id to CinderObject 2015-11-20 14:34:21 +01:00
utils.py Wrap the method to calculate virtual free capacity 2016-01-21 10:45:10 +08:00
version.py