sriov-network-operator
sriov-network-operator copied to clipboard
sytemd services are not deleted
Steps to reproduce:
- deploy SriovNetworkNodePolicy CR to configure some NIC with
eSwitchMode: switchdev
- wait until policy will be applied
- verify systemd services
switchdev-configuration-*-nm
are deployed - delete SriovNetworkNodePolicy
- wait until policy will be deleted
Expected results:
VFs are deleted, switchdev-configuration-*-nm
services and their components are deleted if there are no needed anymore
Actual results: systemd services and their scripts are still available on the node
fix should be here: https://github.com/k8snetworkplumbingwg/sriov-network-operator/blob/7102b792c4fe5c30ab3ffb68f808f8a1a279dcc5/bindata/scripts/clean-k8s-services.sh#L10
I will take a look