Skip to content

Commit

Permalink
SM-Storage: fix storage-pool-config to support new format of output.
Browse files Browse the repository at this point in the history
Closes-Bug: #1633234

R.30 do_configured_pools were returning only pool_names, with recent changes,
it started returning other values as well. that caused SM-storage +
Pool_config to break.

Change-Id: I4954e996dd9d8190b377792eec6e2c1d862c3240
  • Loading branch information
Dheeraj Gautam committed Oct 26, 2016
1 parent 290ec4a commit 90b50a9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ if int(NUM_CURR_OSD) == NUM_TARGET_OSD:
sys.exit (2)

#ceph_pool_list=['volumes_hdd_Pool_b', 'volumes_hdd_Pool_a', 'volumes_hdd_Pool_c']
#ceph_pool_list={'ceph_tier_list': [], 'ceph_pool_list': ['volumes_hdd_Pool_a', 'volumes_hdd_Pool_b', 'volumes_hdd_Pool_c', 'volumes_hdd_Pool_d']}
pool_details = {}
for pool_name in ceph_pool_list:
for pool_name in ceph_pool_list['ceph_pool_list']:
# Run local for storage-master for HDD/SSD pools
ceph_setup_utils.exec_local('sudo ceph auth get-or-create client.%s mon \
\'allow r\' osd \
Expand Down

0 comments on commit 90b50a9

Please sign in to comment.