generated configs file has duplicate entries, and missing lib configs

Bug #1468955 reported by Ruby Loo
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Sergey Vilgelm
Ironic
Invalid
Low
Unassigned
OpenStack Heat
Fix Released
Undecided
Sergey Vilgelm
Sahara
Fix Released
Undecided
Sergey Vilgelm

Bug Description

After the switch to use the oslo.service library[1], the generated etc/ironic/ironic.conf.sample file is weird. It has two entries that are the same for fatal_deprecations, and it is missing backdoor_port (from eventlet_backdoor) and run_external_periodic_tasks (from periodic_task).

I wonder if it is because we're still using tools/config/generate_sample.sh, which is different that what other projects are using/doing.

[1] Change-Id: Iaa1ca0d97b92b9a6858b2c2d50eb514cc2118762

Revision history for this message
Sergey Vilgelm (sergey.vilgelm) wrote :

I have fixed the problems related to my patch[1], but we have more problems came from the previous patches and one problem from the oslo.log library. the oslo.log library has the duplicated "fatal_deprecations" options[2], also this option came in third time from the openstack.common.versionutils module.
The "send_single_reply" option is duplicated but int the different sections: [oslo_messaging_qpid] and [oslo_messaging_rabbit]. Those came from the oslo.messaging library.
To fix It I suggest to start from creating a patch with switching for the oslo.log in the ironic to avoid the third line of fatal_deprecations. And create a patch to the oslo.log to fix the duplication of the "fatal_deprecations" option.

[1] Change-Id: Iaa1ca0d97b92b9a6858b2c2d50eb514cc2118762
[2] oslo.log.sample.conf

Revision history for this message
Sergey Vilgelm (sergey.vilgelm) wrote :

I have crated the bug for the oslo.log library[1]

[1] https://bugs.launchpad.net/oslo.log/+bug/1469013

Changed in ironic:
assignee: Ruby Loo (rloo) → Sergey Vilgelm (sergey.vilgelm)
status: New → In Progress
Revision history for this message
Sergey Vilgelm (sergey.vilgelm) wrote :

oslo review: https://review.openstack.org/#/c/195891/
ironic review for the versionutils module: https://review.openstack.org/#/c/195987/

Revision history for this message
Sergey Vilgelm (sergey.vilgelm) wrote :

and the review with updated ironic.conf.sample: https://review.openstack.org/#/c/196002/

Revision history for this message
Sergey Vilgelm (sergey.vilgelm) wrote :

Also i made the same error in the other projects which are already merged. I'll associate them with this bug.

Revision history for this message
Sergey Vilgelm (sergey.vilgelm) wrote :
Changed in cinder:
assignee: nobody → Sergey Vilgelm (sergey.vilgelm)
status: New → In Progress
Revision history for this message
Sergey Vilgelm (sergey.vilgelm) wrote :
Changed in heat:
assignee: nobody → Sergey Vilgelm (sergey.vilgelm)
status: New → In Progress
Revision history for this message
Sergey Vilgelm (sergey.vilgelm) wrote :
Changed in sahara:
assignee: nobody → Sergey Vilgelm (sergey.vilgelm)
status: New → In Progress
Changed in heat:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic (master)

Change abandoned by Sergey Vilgelm (<email address hidden>) on branch: master
Review: https://review.openstack.org/195987

Changed in sahara:
status: In Progress → Fix Committed
Changed in cinder:
status: In Progress → Fix Committed
Dmitry Tantsur (divius)
Changed in ironic:
importance: Undecided → Low
Thierry Carrez (ttx)
Changed in sahara:
milestone: none → liberty-2
status: Fix Committed → Fix Released
Changed in cinder:
milestone: none → liberty-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: none → liberty-2
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Sergey Vilgelm (<email address hidden>) on branch: master
Review: https://review.openstack.org/196002
Reason: This is useless patch

Changed in ironic:
status: In Progress → Invalid
assignee: Sergey Vilgelm (sergey.vilgelm) → nobody
Thierry Carrez (ttx)
Changed in sahara:
milestone: liberty-2 → 3.0.0
Thierry Carrez (ttx)
Changed in heat:
milestone: liberty-2 → 5.0.0
Thierry Carrez (ttx)
Changed in cinder:
milestone: liberty-2 → 7.0.0
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.