Not clear why the charm neutron-openvswitch charm needs pause and resume actions

Bug #1858482 reported by Alex Kavanagh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Neutron Open vSwitch Charm
Triaged
Wishlist
Unassigned

Bug Description

In the process of working on https://bugs.launchpad.net/charm-nova-compute/+bug/1835557 I noticed that the neutron-openvswitch charm (which is a subordinate) has pause and resume actions.

These are implemented in a default way (I did it nearly 4 years ago at the start of coding charms) so they pause the openvswitch services, which are the dataplane.

It's not clear why we'd want to pause the dataplane in the charm, particularly as the pause method in nova-compute DOESN'T pause the libvirt daemon (relevant code from nova-compute charm):

def services_to_pause_or_resume():
    if "post-series-upgrade" in hook_name():
        return services()
    else:
        return list(set(services()) - {libvirt_daemon()})

I think that the pause and resume actions should be removed from the charm to clear up any misunderstandings around their purpose which is about controlling the control plane, and not the data plane services.

Andrew McLeod (admcleod)
Changed in charm-neutron-openvswitch:
status: New → Triaged
importance: Undecided → Wishlist
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.