[lxc-devel] [lxd/master] lxd/db: Fix ceph username in patch

stgraber on Github lxc-bot at linuxcontainers.org
Thu Feb 20 13:05:03 UTC 2020


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/20200220/b898c45a/attachment.bin>
-------------- next part --------------
From 6588cccbbfc1dbe0e6cf27b0c9d32d08e06f72b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Thu, 20 Feb 2020 08:04:45 -0500
Subject: [PATCH] lxd/db: Fix ceph username in patch
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/db/cluster/update.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxd/db/cluster/update.go b/lxd/db/cluster/update.go
index 43691eb38b..fbfe10e26c 100644
--- a/lxd/db/cluster/update.go
+++ b/lxd/db/cluster/update.go
@@ -85,7 +85,7 @@ func updateFromV24(tx *sql.Tx) error {
 		}
 
 		// Add ceph.user.name config entry.
-		_, err = tx.Exec("INSERT INTO storage_pools_config (storage_pool_id, key, value) VALUES (?, 'ceph.user.name', 'ceph')", poolID)
+		_, err = tx.Exec("INSERT INTO storage_pools_config (storage_pool_id, key, value) VALUES (?, 'ceph.user.name', 'admin')", poolID)
 		if err != nil {
 			return errors.Wrap(err, "Failed to create ceph.user.name config")
 		}


More information about the lxc-devel mailing list