Unable to inject config values into neutron-api charm outside of [DEFAULT] section

Bug #1747969 reported by Pen Gale
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Neutron API Charm
Triaged
Wishlist
Pen Gale

Bug Description

The current neutron-api charm can pass exactly two instances of the --config-file flag when invoking the daemon. The first is always the NEUTRON_CONF file, and the second is the path to the config file for a plugin.

Unfortunately, some plugins, such as the Arista plugin, require two configuration files. And there are some deployments where someone may wish to connect multiple plugins to neutron.

This bug is fixed when the neutron-api charm has been refactored to be more flexible, and accommodate Arista deploys, as well as deploys in which multiple plugins are used.

Revision history for this message
Pen Gale (pengale) wrote :

I am grabbing this bug, as I am working on a fix right now.

Changed in charm-neutron-api:
assignee: nobody → Pete Vander Giessen (petevg)
importance: Undecided → High
status: New → In Progress
Ryan Beisner (1chb1n)
Changed in charm-neutron-api:
milestone: none → 18.05
Revision history for this message
Pen Gale (pengale) wrote :

After a conversation with @jamespage, we agreed that it was better practice to simply inject values into the neutron.conf file, rather than adding complexity to the charm by proliferating configuration files.

Unfortunately, it does not appear that the neutron template is currently setup to accept config injection outside of the DEFAULT category. This bug will be fixed once that issue is addressed, I think.

summary: - neutron-api unable to accept more or less than two --config-file flags
+ Unable to inject Arista config into neutron-api charm
Revision history for this message
Pen Gale (pengale) wrote :

Renamed bug to match my current understanding of the issue.

summary: - Unable to inject Arista config into neutron-api charm
+ Unable to inject config values into neutron-api charm outside of
+ [DEFAULT] section
James Page (james-page)
Changed in charm-neutron-api:
status: In Progress → Triaged
importance: High → Wishlist
milestone: 18.05 → 18.08
James Page (james-page)
Changed in charm-neutron-api:
milestone: 18.08 → 18.11
James Page (james-page)
Changed in charm-neutron-api:
milestone: 18.11 → 19.04
David Ames (thedac)
Changed in charm-neutron-api:
milestone: 19.04 → 19.07
David Ames (thedac)
Changed in charm-neutron-api:
milestone: 19.07 → 19.10
David Ames (thedac)
Changed in charm-neutron-api:
milestone: 19.10 → 20.01
James Page (james-page)
Changed in charm-neutron-api:
milestone: 20.01 → 20.05
David Ames (thedac)
Changed in charm-neutron-api:
milestone: 20.05 → 20.08
James Page (james-page)
Changed in charm-neutron-api:
milestone: 20.08 → none
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.