Delete oper on k8s/openshift all-in-one YAML file doesn't delete the mount paths, vHost interfaces

Bug #1717745 reported by Savithru Lokanath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.1
Won't Fix
Low
Prasanna Mucharikar
R5.0
Fix Committed
Low
Prasanna Mucharikar
Trunk
Fix Committed
Low
Prasanna Mucharikar

Bug Description

Deleting Contrail all-in-one YAML file in K8s/OpenShift doesn't delete all the resources it creates during create oper.

As a result, re-running the all-in-one installer will fail. Resources like mountpaths, vHost interface, kernel vRouter module, etc needs to have a clean teardown.

Tags: csg
Revision history for this message
Prasanna Mucharikar (mprasanna) wrote :

Waiting for https://review.opencontrail.org/#/c/41791/4 to be merged. After that the cleanup script can be added in a K8S lifecycle hook.

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/42116
Submitter: Prasanna Mucharikar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/42117
Submitter: Prasanna Mucharikar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/42117
Committed: http://github.com/Juniper/contrail-container-builder/commit/5315a5e677e3efc34675ad4a2b81e98055619e15
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit 5315a5e677e3efc34675ad4a2b81e98055619e15
Author: Prasanna Mucharikar <email address hidden>
Date: Wed Apr 18 14:31:59 2018 -0700

Added cleanup script in the preStop lifecycle event for vrouter-agent.
Also added missing mounts in non-nested template.

Change-Id: I9bdfbdb9065031d1b6404d6a1ae7d6c390545f6d
Closes-bug: #1717745

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/42116
Committed: http://github.com/Juniper/contrail-container-builder/commit/13ca5eb770d19cefa6d8c9f43832eed819251928
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 13ca5eb770d19cefa6d8c9f43832eed819251928
Author: Prasanna Mucharikar <email address hidden>
Date: Wed Apr 18 14:31:59 2018 -0700

Added cleanup script in the preStop lifecycle event for vrouter-agent.
Also added missing mounts in non-nested template.

Change-Id: I9bdfbdb9065031d1b6404d6a1ae7d6c390545f6d
Closes-bug: #1717745

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.