[lxc-devel] [lxd/master] tests: Fix CEPH pool names
stgraber on Github
lxc-bot at linuxcontainers.org
Sat Jul 13 07:21:06 UTC 2019
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 354 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190713/8ef28405/attachment.bin>
-------------- next part --------------
From ee2ebe380e3303b83583043e28c11da7e1538f3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Sat, 13 Jul 2019 03:20:46 -0400
Subject: [PATCH] tests: Fix CEPH pool names
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
test/suites/clustering.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/suites/clustering.sh b/test/suites/clustering.sh
index b6509fe6c5..5046b940cf 100644
--- a/test/suites/clustering.sh
+++ b/test/suites/clustering.sh
@@ -403,7 +403,7 @@ test_clustering_storage() {
driver_config="size=20GB"
fi
if [ "${driver}" = "ceph" ]; then
- driver_config="source=pool1-$(basename "${TEST_DIR}")"
+ driver_config="source=lxdtest-$(basename "${TEST_DIR}")"
fi
driver_config_node1="${driver_config}"
driver_config_node2="${driver_config}"
@@ -451,7 +451,7 @@ test_clustering_storage() {
source2="$(basename "${LXD_TWO_DIR}")"
if [ "${driver}" = "ceph" ]; then
# For ceph volume the source field is the name of the underlying ceph pool
- source1="pool1-$(basename "${TEST_DIR}")"
+ source1="lxdtest-$(basename "${TEST_DIR}")"
source2="${source1}"
fi
LXD_DIR="${LXD_ONE_DIR}" lxc storage show pool1 --target node1 | grep source | grep -q "${source1}"
More information about the lxc-devel
mailing list