]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
nuke: Remove nfs-ganesha repos 1034/head
authorDavid Galloway <dgallowa@redhat.com>
Fri, 24 Feb 2017 19:01:12 +0000 (14:01 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Fri, 24 Feb 2017 19:01:12 +0000 (14:01 -0500)
Fixes: http://tracker.ceph.com/issues/18974
Signed-off-by: David Galloway <dgallowa@redhat.com>
teuthology/nuke/actions.py

index 6b37fea9782f69cc0c8670e13736e9beb169a03a..f01abbe901de7088e3aa2fd747aafd7b8f4045ec 100644 (file)
@@ -262,6 +262,10 @@ def remove_ceph_packages(ctx):
                 args=['sudo', 'rm', run.Raw("/etc/yum.repos.d/*samba*")],
                 check_status=False,
             )
+            remote.run(
+                args=['sudo', 'rm', run.Raw("/etc/yum.repos.d/*nfs-ganesha*")],
+                check_status=False,
+            )
             remote.run(
                 args=['sudo', 'rpm', '--rebuilddb', run.Raw('&&'), 'yum',
                       'clean', 'all']
@@ -281,6 +285,10 @@ def remove_ceph_packages(ctx):
                 args=['sudo', 'rm', run.Raw("/etc/apt/sources.list.d/*samba*")],
                 check_status=False,
             )
+            remote.run(
+                args=['sudo', 'rm', run.Raw("/etc/apt/sources.list.d/*nfs-ganesha*")],
+                check_status=False,
+            )
             log.info("Autoclean")
             remote.run(
                 args=['sudo', 'apt-get', 'autoclean'],