modify data-port reports error of bridge/port already excisting

Bug #1656799 reported by Fairbanks.
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Neutron Open vSwitch Charm
Triaged
Medium
Unassigned
neutron-openvswitch (Juju Charms Collection)
Invalid
Undecided
Unassigned

Bug Description

Hello,

When i want to modify the data-port value via juju config (or juju set) it sometimes fails.
It happens when for instance you only change the physical interface part of br-ex.
Then it complains that br-ex already exists, i first have to remove the config from the charm, and later add it again, this works.

I think the charm first should look if it already exists, and if it does, if it already is linked to the correct interface, if not, then remove the port and add it again pointing to the correct physical interface.

Thx :).

James Page (james-page)
Changed in neutron-openvswitch (Juju Charms Collection):
status: New → Invalid
Revision history for this message
James Page (james-page) wrote :

This codepath could be improved a bit.

Changed in charm-neutron-openvswitch:
status: New → Triaged
importance: Undecided → Medium
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.