Bug 1688807 - unable to de-provision cleanly using playbooks/kubevirt.yml
Summary: unable to de-provision cleanly using playbooks/kubevirt.yml
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Installation
Version: 2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Ohad Levy
QA Contact: Irina Gulina
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-14 13:51 UTC by Kedar Bidarkar
Modified: 2019-03-20 11:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-20 11:08:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Kedar Bidarkar 2019-03-14 13:53:47 UTC
Description of problem:

Running deprovision for playbooks/kubevirt.yml does not remove all the resources.

1) /etc/cni/net.d/00-multus.conf existed even after deprovision.
2) kubevirt CRD still existed and did not get removed.

Version-Release number of selected component (if applicable):
cnv-1.4

How reproducible:


Steps to Reproduce:
1. on the master ; cd /usr/share/ansible/kubevirt-ansible
2.  ansible-playbook --connection local playbooks/kubevirt.yml  -e @vars/cnv.yml -e registry_url=registry_url:8888 -e apb_action=deprovision
3.

Actual results:
1) /etc/cni/net.d/00-multus.conf existed even after deprovision.
2) kubevirt CRD still existed and did not get removed.


Expected results:

Should deprovision cleanly all the resources.

Comment 2 Nelly Credi 2019-03-19 13:39:24 UTC
@Dan, is this handled in the operator?
should we assign this to you?

Comment 3 Dan Kenigsberg 2019-03-20 11:08:13 UTC
> 1) /etc/cni/net.d/00-multus.conf existed even after deprovision.

This is a known behavior of the CNI DaemonSets. We have

   CNV-175 daemonsets should clean after themselves during shutdown

to track this, but it is unlike to happen soon.

> 2) kubevirt CRD still existed and did not get removed

Which CRD are you referring to?


In any case, these issue are not going to be addressed in kubevirt-ansible. I suggest this bug is closed and converted into acceptance criteria for

 KNIP-208 Deploy all of CNV components via operators


Note You need to log in before you can comment on or make changes to this bug.