Opts being conditionally registered creating special cases in generate_cinder_opts.py

Bug #1494945 reported by Kendall Nelson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Undecided
Unassigned

Bug Description

In the generate_cinder_opts.py file there are two files where opts are only being conditionally registered meaning that they are only registered if some case is true. This causes problems when dynamically generating the opts file because it may be that they are being added to the opt list but not actually being registered. The code below is what is keeping them from being added to the opt list and in turn the cinder.conf.sample. This should be removed and the root of the problem should dealt with.

87: exists = aline.find('base_san_opts')
88: if (exists != -1) or (key == 'cinder_volume_configuration'):
89: continue

Tags: bugsmash
Changed in cinder:
assignee: nobody → Kendall Nelson (kjnelson)
Revision history for this message
Sean McGinnis (sean-mcginnis) wrote :

Is this still an issue?

Matt Smith (mss-4)
tags: added: bugsmash
Revision history for this message
Kendall Nelson (kjnelson) wrote :

Yeah I think so, it's on my list of things to look into.

Revision history for this message
Sean McGinnis (sean-mcginnis) wrote : Bug Assignee Expired

Unassigning due to no activity for > 6 months.

Changed in cinder:
assignee: Kendall Nelson (kjnelson) → nobody
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.