]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode/tasks/yum_systems.yml: always rebuild rpmdb
authorSamuel Just <sjust@redhat.com>
Thu, 24 Mar 2016 21:29:39 +0000 (14:29 -0700)
committerSamuel Just <sjust@redhat.com>
Mon, 28 Mar 2016 21:55:32 +0000 (14:55 -0700)
Signed-off-by: Samuel Just <sjust@redhat.com>
roles/testnode/tasks/yum_systems.yml

index c3caf336fe985192f177b01fe6ad56caeb1f4199..72439e6f78ca3312430044175db9bfb4bd0a089f 100644 (file)
     owner: root
     mode: 0644
 
+# http://tracker.ceph.com/issues/15272
+# We don't know why it's happening, but something is corrupting the
+# rpmdb.  Let's try just rebuilding it every time.
+- name: Rebuild rpmdb
+  command:
+    sudo rpm --rebuilddb
+
 - name: Setup local repo files.
   include: yum/repos.yml
   tags: