charm breaks on add-relation when used with postgresql

Bug #1398571 reported by Jasper Aikema
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron-api (Juju Charms Collection)
Fix Released
High
Unassigned

Bug Description

The 'pgsql-db-relation-changed' hook returns an error on first (and every) time it runs.

This is because of this line :
CONFIGS.write(neutron_plugin_attribute(plugin, 'config'))

The script will run the 'neutron_plugin_attribute' command in 'hooks/charmhelpers/contrib/openstack/neutron.py'. This will run the command 'network_manager'. And that will run the command config('network-manager').lower().
This will break because there is no config option network-manager.

This is fixed in neutron_api_utils with an extra option 'neutron'.
I will add a merge request for this bug.

Related branches

Liam Young (gnuoy)
Changed in neutron-api (Juju Charms Collection):
importance: Undecided → High
Changed in neutron-api (Juju Charms Collection):
status: New → Fix Released
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.