The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/6907

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From 6588cccbbfc1dbe0e6cf27b0c9d32d08e06f72b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@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 <stgra...@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")
                }
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to