The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/7927
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) === Without this, the notification to create the mountpath is incorrectly received for the default project. Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From 1eb7e98b1d1a78c51b608bf787df70f9a2c7d1a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com> Date: Wed, 23 Sep 2020 22:17:27 -0400 Subject: [PATCH] lxd/instances: Fix ceph cluster target move MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without this, the notification to create the mountpath is incorrectly received for the default project. Signed-off-by: Stéphane Graber <stgra...@ubuntu.com> --- lxd/instance_post.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxd/instance_post.go b/lxd/instance_post.go index 8111451073..eb7b307a5b 100644 --- a/lxd/instance_post.go +++ b/lxd/instance_post.go @@ -474,7 +474,7 @@ func containerPostClusteringMigrateWithCeph(d *Daemon, c instance.Instance, proj return errors.Wrap(err, "Failed to create mount point on target node") } } else { - path := fmt.Sprintf("/internal/cluster/container-moved/%s", newName) + path := fmt.Sprintf("/internal/cluster/container-moved/%s?project=%s", newName, projectName) resp, _, err := client.RawQuery("POST", path, nil, "") if err != nil { return errors.Wrap(err, "Failed to create mount point on target node")
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel