Bug #10034
closed
Teuthology: Calamari_setup cleanup task error
Added by Anonymous over 9 years ago.
Updated over 9 years ago.
Description
After running calamari_setup, the following was observed.
[ubuntu@vpm164 ~]$ rpm -V calamari-server
.....UG.. /opt/calamari/webapp/calamari
.....UG.. /opt/calamari/webapp/calamari/.gitignore
.....UG.. /opt/calamari/webapp/calamari/manage.py
missing /var/lib/calamari
.....UG.. /var/lib/graphite
.....UG.. /var/lib/graphite/log
.....UG.. /var/lib/graphite/log/webapp
.....UG.. /var/lib/graphite/whisper
missing /var/log/calamari
I suppose we should get rid of all the calamari server stuff.
- Project changed from 16 to teuthology
This is in the teuthology setup task.
We probably should do the same thing that the calamari processes do. In this case, the teuthology task may be doing too much and it should leave the /var/lib and /var/log files alone.
Teuthology-nuke should probably be updated to remove all this stuff.
Redmine Feature #10181 may affect this task.
I think that nuke should remove the webapp/calamari and graphite packages. I was originally wondering how much we should remove, but since this will be run on testing machines, it's probably okay to remove these files if they are there.
Part of the reason why this bug was originally opened was due to confusion when testing teuthology calamari_setup. It may be reasonable to close this bug and implement all the changes in #10181
- Status changed from New to Duplicate
def remove_installed_packages(ctx):
dpkg_configure(ctx)
config = {'project': 'ceph'}
install_task.remove_packages(
ctx,
config,
{"deb": install_task.deb_packages['ceph'] + ['salt-common', 'salt-minion'],
"rpm": install_task.rpm_packages['ceph']})
install_task.remove_sources(ctx, config)
install_task.purge_data(ctx)
Question 1:
Should salt-common and salt-minion also be added for rpm?
Question 2:
Should calamari-server also be added to both of these packages?
- Status changed from Duplicate to In Progress
- Status changed from In Progress to Fix Under Review
Change: f493c0b4ab2dec6b9a6ba5e30fa756bf8363eb28
PR: 372
wip-10034-wusui
- Status changed from Fix Under Review to Closed
Also available in: Atom
PDF