]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: add mgr nodes to shrink_mon inventory
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 2 Apr 2020 18:31:38 +0000 (14:31 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 2 Apr 2020 20:02:35 +0000 (22:02 +0200)
Since 306ce82 we explicitly fail when there's no mgr node preent in the
inventory.

fatal: [mon0]: FAILED! => {
    "changed": false
}

MSG:

Please add a mgr host to your inventory.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
tests/functional/shrink_mon/container/hosts
tests/functional/shrink_mon/hosts

index 5d91b7dbd07814a08d7eec90410dc5d058033aff..ff282819fcece0e6bcaf3e2980f4f39fd90a54c3 100644 (file)
@@ -3,5 +3,8 @@ mon0
 mon1
 mon2
 
+[mgrs]
+mon0
+
 [osds]
 osd0
\ No newline at end of file
index b2631e0834f7b28c73e2e4f419a0d57b4a5d6243..828f83bf9fec3c5f1e3de1d845fbe0cb5a59e80c 100644 (file)
@@ -3,5 +3,8 @@ mon0 monitor_address=192.168.1.10
 mon1 monitor_interface=eth1
 mon2 monitor_address=192.168.1.12
 
+[mgrs]
+mon0
+
 [osds]
 osd0
\ No newline at end of file