sriov-network-operator icon indicating copy to clipboard operation
sriov-network-operator copied to clipboard

sytemd services are not deleted

Open e0ne opened this issue 3 years ago • 2 comments

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

e0ne avatar Feb 10 '22 21:02 e0ne

fix should be here: https://github.com/k8snetworkplumbingwg/sriov-network-operator/blob/7102b792c4fe5c30ab3ffb68f808f8a1a279dcc5/bindata/scripts/clean-k8s-services.sh#L10

adrianchiris avatar Feb 13 '22 06:02 adrianchiris

I will take a look

rollandf avatar Mar 07 '22 16:03 rollandf