STORAGE: compute_pool_config.py does not handle non-disk storage-computes properly

Bug #1591455 reported by wenqing liang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
New
High
Dheeraj Gautam
R3.0
Won't Fix
High
Dheeraj Gautam
R3.1
Invalid
High
Dheeraj Gautam
Trunk
Won't Fix
High
Dheeraj Gautam

Bug Description

sm provision is stuck at 'steps': [[(u'a5d01e07', 'post_provision') for compute with non-disk storage.

Jun 10 14:36:40 a5d01e07 puppet-agent[32192]: python /opt/contrail/bin/compute_pool_config.py returned 1 instead of one of [0]
Jun 10 14:36:40 a5d01e07 puppet-agent[32192]: (/Stage[storage]/Contrail::Profile::Storage/Contrail::Storage/Contrail::Lib::Storage_common[storage-compute]/Exec[setup_compute_pool_config]/returns) change from notrun to 0 failed: python /opt/contrail/bin/compute_pool_config.py returned 1 instead of one of [0]

root@a5d01e07:~# python /opt/contrail/bin/compute_pool_config.py
[localhost] local: ceph osd dump | grep -w '10.87.129.226' | wc -l
Traceback (most recent call last):
  File "/opt/contrail/bin/compute_pool_config.py", line 29, in <module>
    disk_name = disksplit[1]
IndexError: list index out of range
root@a5d01e07:~#

seen r3.0.2.0-51 kilo.

wenqing liang (wliang)
information type: Proprietary → Public
Revision history for this message
Abhay Joshi (abhayj) wrote :

This issue comes when there is a storage-compute role configured but no disks are configured for that server. So this is -ve test case.

Revision history for this message
Dheeraj Gautam (dgautam) wrote :

This needs to be revisited with newer implementation based on containers/ansible

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.