Project

General

Profile

Actions

Bug #4415

closed

Centos rpm cleanup for Teuthology

Added by Anonymous about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

There should probably be a way of using the rpm/yum procedures to remove
files and directories created by tasks such as ceph. Right now, the
_remove_sources_list_centos code removes the repo file, the /var/lib/ceph
directory, and the /tmp/cephtest directory.

Actions #1

Updated by Ian Colle about 11 years ago

  • Assignee set to Anonymous
  • Priority changed from Normal to Urgent
Actions #2

Updated by Anonymous about 11 years ago

  • Status changed from New to In Progress

The recent builds of the ceph-release package should remove the /etc/yum.repos.d/ceph.repo file when the package is removed. I verified that this was the case on todays build of master for centos.

The wip-4415 branch has a ceph.spec.in file that does similar clean up to what's done by the debian packages. That is:

  • unmount any mounted file systems under /var/lib.ceph and remove that directory hierarchy
  • remove the /var/log/ceph and /etc/conf directories
Actions #3

Updated by Sage Weil about 11 years ago

  • Status changed from In Progress to Resolved

commit:ee178fba4938d9b363a2fc245a06f627c5d104ee

Actions #4

Updated by Anonymous about 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF