[lxc-devel] [lxd/master] storage/ceph: Fix double --cluster

stgraber on Github lxc-bot at linuxcontainers.org
Wed Aug 2 07:42:45 UTC 2017


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/20170802/a97a028f/attachment.bin>
-------------- next part --------------
From a85bb57356b8aa89a58dfda58304efee4bb4bf0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Wed, 2 Aug 2017 03:42:01 -0400
Subject: [PATCH] storage/ceph: Fix double --cluster
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>
---
 lxd/storage_ceph.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxd/storage_ceph.go b/lxd/storage_ceph.go
index 0bd03d7b3..b7e75d6a0 100644
--- a/lxd/storage_ceph.go
+++ b/lxd/storage_ceph.go
@@ -148,7 +148,7 @@ func (s *storageCeph) StoragePoolCreate() error {
 
 		// use existing osd pool
 		msg, err := shared.RunCommand("ceph", "--name",
-			fmt.Sprintf("client.%s", s.UserName), "--cluster",
+			fmt.Sprintf("client.%s", s.UserName),
 			"--cluster", s.ClusterName, "osd", "pool", "get",
 			s.OSDPoolName, "pg_num")
 		if err != nil {


More information about the lxc-devel mailing list