Uninstall of a package deletes /var/log/contrail

Bug #1499191 reported by Hari Prasad Killi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
Medium
Hari Prasad Killi
Trunk
Fix Committed
Medium
Hari Prasad Killi

Bug Description

When a package is uninstalled, the postrm script deletes /var/log/contrail and /var/lib/contrail directories. Other services do not start because of this.

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

Review in progress for https://review.opencontrail.org/14034
Submitter: Hari Prasad Killi (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/14059
Submitter: Hari Prasad Killi (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/14034
Committed: http://github.org/Juniper/contrail-packages/commit/486561671abf37ac8ac902d87c27838bc2b97388
Submitter: Zuul
Branch: master

commit 486561671abf37ac8ac902d87c27838bc2b97388
Author: Hari <email address hidden>
Date: Thu Sep 24 17:06:27 2015 +0530

Do not remove /var/log/contrail directory on package uninstall.

Remove the log files and remove the directory only when it is empty.

Change-Id: I7921f5695f875a31bd5ed20efdbaec6bae4bd67a
partial-bug: 1499191

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

Reviewed: https://review.opencontrail.org/14059
Committed: http://github.org/Juniper/contrail-packages/commit/b923b955a729a98c828a258d863779e3ed6ea878
Submitter: Zuul
Branch: R2.22-dev

commit b923b955a729a98c828a258d863779e3ed6ea878
Author: Hari <email address hidden>
Date: Fri Sep 25 15:47:57 2015 +0530

Do not remove /var/log/contrail directory on package uninstall.

Remove the log files and remove the directory only when it is empty.

Change-Id: I7d73a0b7a916d0c929be1d5904293722e6b31d0f
partial-bug: 1499191

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.