]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode: remove multipath 480/head
authorIlya Dryomov <idryomov@gmail.com>
Fri, 25 Oct 2019 15:59:44 +0000 (17:59 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 27 Oct 2019 13:27:21 +0000 (14:27 +0100)
multipath can interfere with krbd tests, particularly with
krbd_udev_enumerate.yaml.  Much like udev, multipath opens block
devices behind the scenes, making the block device busy when it
shouldn't be.

None of the lab tests depend on multipath (it's not installed on
ubuntu), so just remove it rather than messing with /etc/multipath.conf
and restarting multipathd.  If the need for multipath comes up, rbd
devices would need to be blacklisted like so:

  blacklist {
          devnode "^rbd[0-9]+"
  }

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
roles/testnode/vars/apt_systems.yml
roles/testnode/vars/yum_systems.yml
roles/testnode/vars/zypper_systems.yml

index 0d35afbe425087fc51d0a48917c8bebe5934f8fe..1857798ee566ae897c001b698d2b5d9b4c073cdf 100644 (file)
@@ -3,6 +3,10 @@ ntp_service_name: ntp
 ssh_service_name: ssh
 nfs_service: nfs-kernel-server
 
+packages_to_remove:
+  # multipath interferes with krbd tests
+  - multipath-tools
+
 ceph_packages_to_remove:
   - ceph
   - ceph-common
index c0dca720236d1c67289bdb23ea059b93be15f9f3..603d7a2c475ffa2c2564e1e4c61869598128a071 100644 (file)
@@ -2,6 +2,10 @@
 ntp_service_name: ntpd
 ssh_service_name: sshd
 
+packages_to_remove:
+  # multipath interferes with krbd tests
+  - device-mapper-multipath
+
 # ceph packages that we ensure do not exist
 ceph_packages_to_remove:
   - ceph
index e849cffc84e94825c1ce49ecec2b0666ed58ef9e..8e0086abfbe1abe13056078c087c1b1ad75cda34 100644 (file)
@@ -6,6 +6,10 @@ nrpe_user: nrpe
 nrpe_group: nrpe
 nagios_plugins_directory: /usr/lib64/nagios/plugins
 
+packages_to_remove:
+  # multipath interferes with krbd tests
+  - multipath-tools
+
 # ceph packages that we ensure do not exist
 ceph_packages_to_remove:
   - ceph