Project

General

Profile

Actions

Feature #10181

closed

Bug #10034: Teuthology: Calamari_setup cleanup task error

teuthology-nuke: Facility to clean up after specific ceph-qa-suite tasks.

Added by Anonymous over 9 years ago. Updated over 9 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Reviewed:
Affected Versions:

Description

A couple of things...

1. Should there be a facility for ceph-qa-suite tasks to specify tasks for teuthology-nuke to run? I ran teuthology-nuke on a calamari-server, and then manually ran 'rpm -V calamari-server' on that site. The output showed that several files (/opt/calamari/webapp/* and /var/lib/graphite/*) were still installed. I think that there should be a yaml based option to specify that additional cleanup is necessary, and a function in calamari_setup should do the cleanup. This option should be general enough to be used by other ceph-qa-suite/tasks as well. I looked through the code for a bit but did not find this facility (I could have missed it).

2. Teuthology-nuke does do special cleanup processing for hadoop, and hadoop.py currently resides in teuthology/teuthology/task. I would think that hadoop.py should now be in ceph-qa-suite. If hadoop is special cased just because special nuke handling is needed, once the interface described in paragraph 1 gets implemented, should hadoop be moved to ceph-qa-suite?

Actions #1

Updated by Anonymous over 9 years ago

  • Parent task set to #10034
Actions #2

Updated by Zack Cerza over 9 years ago

  • Assignee changed from Zack Cerza to Anonymous

How would you envision 1. working?

As for 2., hadoop wasn't moved because it isn't ceph-specific. If it's leaving files behind that nuke isn't removing, then nuke should be updated.

Actions #3

Updated by Anonymous over 9 years ago

I think that the Hadoop stuff is working fine. I was just wondering why it was not in ceph_qa_suites.

I now realize that the cleanup of suites is a little tougher than I originally thought, because teuthology-nuke runs alone and has no context about what ran before.
It also does not necessarily need a yaml file. I don't think that teuthology-nuke should know about anything calamari related (or some other task that needs special
cleanup).

Actions #4

Updated by Anonymous over 9 years ago

  • Status changed from New to Duplicate

A nuke fix has been submitted for 10034

Actions

Also available in: Atom PDF