[lxc-devel] [lxd/master] Add path check to `lxc query`

stgraber on Github lxc-bot at linuxcontainers.org
Thu Jun 18 17:56:53 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 301 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200618/95739de1/attachment-0001.bin>
-------------- next part --------------
From 989592c48482eb09e002243d636cd79e2dbb15a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Thu, 18 Jun 2020 13:55:01 -0400
Subject: [PATCH 1/2] lxc/query: Add path check
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Closes #7548

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 lxc/query.go | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lxc/query.go b/lxc/query.go
index e4fae86dee..f3a69b6804 100644
--- a/lxc/query.go
+++ b/lxc/query.go
@@ -7,6 +7,7 @@ import (
 	"io/ioutil"
 	"net/http"
 	"net/url"
+	"strings"
 
 	"github.com/spf13/cobra"
 
@@ -72,6 +73,11 @@ func (c *cmdQuery) Run(cmd *cobra.Command, args []string) error {
 		return err
 	}
 
+	// Validate path
+	if !strings.HasPrefix(path, "/") {
+		return fmt.Errorf(i18n.G("Query path must start with /"))
+	}
+
 	// Attempt to connect
 	d, err := conf.GetInstanceServer(remote)
 	if err != nil {

From e02cef7a9267a3379a7c8beabba0cece2679fddf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Thu, 18 Jun 2020 13:55:19 -0400
Subject: [PATCH 2/2] i18n: Update translation templates
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>
---
 po/bg.po      | 42 +++++++++++++++++++++++-------------------
 po/ca.po      | 42 +++++++++++++++++++++++-------------------
 po/de.po      | 42 +++++++++++++++++++++++-------------------
 po/el.po      | 42 +++++++++++++++++++++++-------------------
 po/es.po      | 42 +++++++++++++++++++++++-------------------
 po/fa.po      | 42 +++++++++++++++++++++++-------------------
 po/fi.po      | 42 +++++++++++++++++++++++-------------------
 po/fr.po      | 42 +++++++++++++++++++++++-------------------
 po/hi.po      | 42 +++++++++++++++++++++++-------------------
 po/id.po      | 42 +++++++++++++++++++++++-------------------
 po/it.po      | 42 +++++++++++++++++++++++-------------------
 po/ja.po      | 42 +++++++++++++++++++++++-------------------
 po/ko.po      | 42 +++++++++++++++++++++++-------------------
 po/lxd.pot    | 42 +++++++++++++++++++++++-------------------
 po/nb_NO.po   | 42 +++++++++++++++++++++++-------------------
 po/nl.po      | 42 +++++++++++++++++++++++-------------------
 po/pa.po      | 42 +++++++++++++++++++++++-------------------
 po/pl.po      | 42 +++++++++++++++++++++++-------------------
 po/pt_BR.po   | 42 +++++++++++++++++++++++-------------------
 po/ru.po      | 42 +++++++++++++++++++++++-------------------
 po/sl.po      | 42 +++++++++++++++++++++++-------------------
 po/sr.po      | 42 +++++++++++++++++++++++-------------------
 po/sv.po      | 42 +++++++++++++++++++++++-------------------
 po/te.po      | 42 +++++++++++++++++++++++-------------------
 po/tr.po      | 42 +++++++++++++++++++++++-------------------
 po/uk.po      | 42 +++++++++++++++++++++++-------------------
 po/zh_Hans.po | 42 +++++++++++++++++++++++-------------------
 27 files changed, 621 insertions(+), 513 deletions(-)

diff --git a/po/bg.po b/po/bg.po
index aaa82009d6..8e225258f9 100644
--- a/po/bg.po
+++ b/po/bg.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,11 +210,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -263,7 +263,7 @@ msgstr ""
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -425,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -889,7 +889,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1207,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1408,7 +1408,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1440,7 +1440,7 @@ msgstr ""
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2043,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2275,7 +2275,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2409,6 +2409,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2638,7 +2642,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -2902,7 +2906,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3105,7 +3109,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3166,7 +3170,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3304,7 +3308,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3585,7 +3589,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -3904,7 +3908,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4026,7 +4030,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/ca.po b/po/ca.po
index 5aa879d9c9..5000c4566a 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,11 +210,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -263,7 +263,7 @@ msgstr ""
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -425,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -889,7 +889,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1207,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1408,7 +1408,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1440,7 +1440,7 @@ msgstr ""
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2043,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2275,7 +2275,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2409,6 +2409,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2638,7 +2642,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -2902,7 +2906,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3105,7 +3109,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3166,7 +3170,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3304,7 +3308,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3585,7 +3589,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -3904,7 +3908,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4026,7 +4030,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/de.po b/po/de.po
index f535302124..2a0212daaa 100644
--- a/po/de.po
+++ b/po/de.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: LXD\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: 2020-04-27 19:48+0000\n"
 "Last-Translator: Predatorix Phoenix <predatorix at web.de>\n"
 "Language-Team: German <https://hosted.weblate.org/projects/linux-containers/"
@@ -335,12 +335,12 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 #, fuzzy
 msgid "--console can't be used with --all"
 msgstr "--refresh kann nur mit Containern verwendet werden"
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 #, fuzzy
 msgid "--console only works with a single instance"
 msgstr "kann nicht zum selben Container Namen kopieren"
@@ -394,7 +394,7 @@ msgstr "Akzeptiere Zertifikat"
 msgid "Access the expanded configuration"
 msgstr "Profil %s erstellt\n"
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr "Aktion (Standard: GET)"
 
@@ -566,7 +566,7 @@ msgstr "Ungültige Abbild Eigenschaft: %s\n"
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1071,7 +1071,7 @@ msgstr "Kein Zertifikat für diese Verbindung"
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1417,7 +1417,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 #, fuzzy
 msgid "Force the instance to shutdown"
 msgstr "Herunterfahren des Containers erzwingen."
@@ -1624,7 +1624,7 @@ msgstr "Abbild mit Fingerabdruck %s importiert\n"
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 #, fuzzy
 msgid "Immediately attach to the console"
 msgstr "Herunterfahren des Containers erzwingen."
@@ -1658,7 +1658,7 @@ msgstr "Herunterfahren des Containers erzwingen."
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2314,7 +2314,7 @@ msgstr "Kein Zertifikat für diese Verbindung"
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 #, fuzzy
 msgid "Must supply instance name for: "
 msgstr "der Name des Ursprung Containers muss angegeben werden"
@@ -2552,7 +2552,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2694,6 +2694,10 @@ msgstr "kann nicht zum selben Container Namen kopieren"
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2936,7 +2940,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -3215,7 +3219,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, fuzzy, c-format
 msgid "Some instances failed to %s"
 msgstr "Anhalten des Containers fehlgeschlagen!"
@@ -3430,7 +3434,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 #, fuzzy
 msgid "Time to wait for the instance before killing it"
 msgstr "Wartezeit bevor der Container gestoppt wird."
@@ -3493,7 +3497,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr "kann nicht zum selben Container Namen kopieren"
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3640,7 +3644,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -4018,7 +4022,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, fuzzy, c-format
 msgid "error: %v"
 msgstr "Fehler: %v\n"
@@ -4379,7 +4383,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4531,7 +4535,7 @@ msgstr ""
 "\n"
 "lxd %s <Name>\n"
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/el.po b/po/el.po
index 201fe4d32e..d7e9cbec01 100644
--- a/po/el.po
+++ b/po/el.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: 2017-02-14 08:00+0000\n"
 "Last-Translator: Simos Xenitellis <simos.65 at gmail.com>\n"
 "Language-Team: Greek <https://hosted.weblate.org/projects/linux-containers/"
@@ -213,11 +213,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -266,7 +266,7 @@ msgstr ""
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -428,7 +428,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -893,7 +893,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1214,7 +1214,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1415,7 +1415,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1447,7 +1447,7 @@ msgstr ""
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2052,7 +2052,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2285,7 +2285,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2419,6 +2419,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2648,7 +2652,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -2912,7 +2916,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3115,7 +3119,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3176,7 +3180,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3314,7 +3318,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3595,7 +3599,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -3914,7 +3918,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4036,7 +4040,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/es.po b/po/es.po
index 62e8a339e0..c67da65b92 100644
--- a/po/es.po
+++ b/po/es.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: 2019-09-06 07:09+0000\n"
 "Last-Translator: Stéphane Graber <stgraber at stgraber.org>\n"
 "Language-Team: Spanish <https://hosted.weblate.org/projects/linux-containers/"
@@ -334,11 +334,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 #, fuzzy
 msgid "--console only works with a single instance"
 msgstr "Perfil para aplicar al nuevo contenedor"
@@ -389,7 +389,7 @@ msgstr "Acepta certificado"
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr "Accion (predeterminados a GET)"
 
@@ -552,7 +552,7 @@ msgstr "Propiedad mala: %s"
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 #, fuzzy
 msgid "Both --all and instance name given"
 msgstr "Ambas: todas y el nombre del contenedor dado"
@@ -1029,7 +1029,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1352,7 +1352,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1553,7 +1553,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1586,7 +1586,7 @@ msgstr "No se puede proveer el nombre del container a la lista"
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2196,7 +2196,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2428,7 +2428,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2565,6 +2565,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2797,7 +2801,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -3061,7 +3065,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, fuzzy, c-format
 msgid "Some instances failed to %s"
 msgstr "Dispositivo %s añadido a %s"
@@ -3264,7 +3268,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3325,7 +3329,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr "No se puede proveer el nombre del container a la lista"
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3463,7 +3467,7 @@ msgstr "Cacheado: %s"
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3755,7 +3759,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -4079,7 +4083,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4204,7 +4208,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/fa.po b/po/fa.po
index fcb6987d3a..7f2f6ad8d7 100644
--- a/po/fa.po
+++ b/po/fa.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,11 +210,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -263,7 +263,7 @@ msgstr ""
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -425,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -889,7 +889,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1207,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1408,7 +1408,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1440,7 +1440,7 @@ msgstr ""
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2043,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2275,7 +2275,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2409,6 +2409,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2638,7 +2642,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -2902,7 +2906,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3105,7 +3109,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3166,7 +3170,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3304,7 +3308,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3585,7 +3589,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -3904,7 +3908,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4026,7 +4030,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/fi.po b/po/fi.po
index 8ae04809db..ac87d88316 100644
--- a/po/fi.po
+++ b/po/fi.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,11 +210,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -263,7 +263,7 @@ msgstr ""
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -425,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -889,7 +889,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1207,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1408,7 +1408,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1440,7 +1440,7 @@ msgstr ""
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2043,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2275,7 +2275,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2409,6 +2409,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2638,7 +2642,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -2902,7 +2906,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3105,7 +3109,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3166,7 +3170,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3304,7 +3308,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3585,7 +3589,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -3904,7 +3908,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4026,7 +4030,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/fr.po b/po/fr.po
index 0ee6f34826..b01d5cef95 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: LXD\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: 2019-01-04 18:07+0000\n"
 "Last-Translator: Deleted User <noreply+12102 at weblate.org>\n"
 "Language-Team: French <https://hosted.weblate.org/projects/linux-containers/"
@@ -334,11 +334,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 #, fuzzy
 msgid "--console only works with a single instance"
 msgstr "Profil à appliquer au nouveau conteneur"
@@ -391,7 +391,7 @@ msgstr "Accepter le certificat"
 msgid "Access the expanded configuration"
 msgstr "Afficher la configuration étendue"
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr "Action (GET par défaut)"
 
@@ -560,7 +560,7 @@ msgstr "Mauvaise propriété : %s"
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1081,7 +1081,7 @@ msgstr "Copie de l'image : %s"
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1428,7 +1428,7 @@ msgstr "Forcer l'allocation d'un pseudo-terminal"
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 #, fuzzy
 msgid "Force the instance to shutdown"
 msgstr "Forcer le conteneur à s'arrêter"
@@ -1644,7 +1644,7 @@ msgstr "Image importée avec l'empreinte : %s"
 msgid "Image refreshed successfully!"
 msgstr "Image copiée avec succès !"
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 #, fuzzy
 msgid "Immediately attach to the console"
 msgstr "Forcer l'arrêt du conteneur (seulement pour stop)"
@@ -1679,7 +1679,7 @@ msgstr "Ignorer l'état du conteneur (seulement pour start)"
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2375,7 +2375,7 @@ msgstr "Copie de l'image : %s"
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 #, fuzzy
 msgid "Must supply instance name for: "
 msgstr "Vous devez fournir le nom d'un conteneur pour : "
@@ -2621,7 +2621,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2762,6 +2762,10 @@ msgstr "Création du conteneur"
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -3008,7 +3012,7 @@ msgstr "ENSEMBLE DE STOCKAGE"
 msgid "STORAGE VOLUMES"
 msgstr "ENSEMBLE DE STOCKAGE"
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -3294,7 +3298,7 @@ msgstr "Instantanés :"
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, fuzzy, c-format
 msgid "Some instances failed to %s"
 msgstr "L'arrêt du conteneur a échoué !"
@@ -3515,7 +3519,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 #, fuzzy
 msgid "Time to wait for the instance before killing it"
 msgstr "Temps d'attente du conteneur avant de le tuer"
@@ -3580,7 +3584,7 @@ msgstr "Transfert de l'image : %s"
 msgid "Transferring instance: %s"
 msgstr "Transfert de l'image : %s"
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr "Essayer `lxc info --show-log %s` pour plus d'informations"
@@ -3727,7 +3731,7 @@ msgstr "Créé : %s"
 msgid "WWN: %s"
 msgstr "Nom : %s"
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -4131,7 +4135,7 @@ msgstr ""
 msgid "enabled"
 msgstr "activé"
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr "erreur : %v"
@@ -4517,7 +4521,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4675,7 +4679,7 @@ msgstr ""
 "\n"
 "lxc %s [<remote>:]<container> [[<remote>:]<container>...]%s"
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/hi.po b/po/hi.po
index fbb133bbf0..73b683b3e9 100644
--- a/po/hi.po
+++ b/po/hi.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,11 +210,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -263,7 +263,7 @@ msgstr ""
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -425,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -889,7 +889,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1207,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1408,7 +1408,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1440,7 +1440,7 @@ msgstr ""
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2043,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2275,7 +2275,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2409,6 +2409,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2638,7 +2642,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -2902,7 +2906,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3105,7 +3109,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3166,7 +3170,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3304,7 +3308,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3585,7 +3589,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -3904,7 +3908,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4026,7 +4030,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/id.po b/po/id.po
index cf30e53e5b..4eb00f218b 100644
--- a/po/id.po
+++ b/po/id.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,11 +210,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -263,7 +263,7 @@ msgstr ""
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -425,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -889,7 +889,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1207,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1408,7 +1408,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1440,7 +1440,7 @@ msgstr ""
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2043,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2275,7 +2275,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2409,6 +2409,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2638,7 +2642,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -2902,7 +2906,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3105,7 +3109,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3166,7 +3170,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3304,7 +3308,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3585,7 +3589,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -3904,7 +3908,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4026,7 +4030,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/it.po b/po/it.po
index c673157757..eb8c7b4701 100644
--- a/po/it.po
+++ b/po/it.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: 2019-09-06 07:09+0000\n"
 "Last-Translator: Luigi Operoso <brokenpip3 at gmail.com>\n"
 "Language-Team: Italian <https://hosted.weblate.org/projects/linux-containers/"
@@ -326,11 +326,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 #, fuzzy
 msgid "--console only works with a single instance"
 msgstr "non tutti i profili dell'origine esistono nella destinazione"
@@ -380,7 +380,7 @@ msgstr "Accetta certificato"
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr "Azione (default a GET)"
 
@@ -542,7 +542,7 @@ msgstr "Proprietà errata: %s"
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1017,7 +1017,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1341,7 +1341,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1543,7 +1543,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1576,7 +1576,7 @@ msgstr "Creazione del container in corso"
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2189,7 +2189,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2422,7 +2422,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2558,6 +2558,10 @@ msgstr "Creazione del container in corso"
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2791,7 +2795,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -3055,7 +3059,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, fuzzy, c-format
 msgid "Some instances failed to %s"
 msgstr "errore di processamento degli alias %s\n"
@@ -3261,7 +3265,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3322,7 +3326,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr "Creazione del container in corso"
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3461,7 +3465,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3755,7 +3759,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -4079,7 +4083,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4204,7 +4208,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/ja.po b/po/ja.po
index 092aa32eab..0bcf999142 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: LXD\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: 2020-05-22 19:59+0000\n"
 "Last-Translator: KATOH Yasufumi <karma at jazz.email.ne.jp>\n"
 "Language-Team: Japanese <https://hosted.weblate.org/projects/linux-"
@@ -328,12 +328,12 @@ msgstr "- パーティション %d"
 msgid "- Port %d (%s)"
 msgstr "- ポート %d (%s)"
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 #, fuzzy
 msgid "--console can't be used with --all"
 msgstr "--mode と --target は同時に指定できません"
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 #, fuzzy
 msgid "--console only works with a single instance"
 msgstr "移動先のインスタンスに適用するプロファイル"
@@ -383,7 +383,7 @@ msgstr "証明書を受け入れます"
 msgid "Access the expanded configuration"
 msgstr "拡張した設定を表示する"
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr "使用するHTTPのメソッド (デフォルト: GET)"
 
@@ -557,7 +557,7 @@ msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 "書式が不適切です。次のような形式で指定してください <device>,<key>=<value>: %s"
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr "--all とインスタンス名を両方同時に指定することはできません"
 
@@ -1034,7 +1034,7 @@ msgstr "ストレージボリュームを削除します"
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1381,7 +1381,7 @@ msgstr "強制的に擬似端末を割り当てます"
 msgid "Force removing a member, even if degraded"
 msgstr "degraded 状態であっても強制的にメンバを削除します"
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr "インスタンスを強制シャットダウンします"
 
@@ -1597,7 +1597,7 @@ msgstr "イメージは以下のフィンガープリントでインポートさ
 msgid "Image refreshed successfully!"
 msgstr "イメージの更新が成功しました!"
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 #, fuzzy
 msgid "Immediately attach to the console"
 msgstr "インスタンスのコンソールに接続します"
@@ -1635,7 +1635,7 @@ msgstr "インスタンスのインポート中: %s"
 msgid "Infiniband:"
 msgstr "Infiniband:"
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr "入力するデータ"
 
@@ -2355,7 +2355,7 @@ msgstr "ストレージボリュームの移動中: %s"
 msgid "Must run as root to import from directory"
 msgstr "ディレクトリからのインポートは root で実行する必要があります"
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr "インスタンス名を指定する必要があります: "
 
@@ -2587,7 +2587,7 @@ msgstr "見やすい形 (pretty) で表示します"
 msgid "Print help"
 msgstr "ヘルプを表示します"
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr "レスポンスをそのまま表示します"
 
@@ -2721,6 +2721,10 @@ msgstr "インスタンス内にファイルをコピーします"
 msgid "Pushing %s to %s: %%s"
 msgstr "ファイル %s をコンテナ %s 内にコピーします: %%s"
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr "仮想マシンイメージを対象にします"
@@ -2957,7 +2961,7 @@ msgstr "STORAGE POOL"
 msgid "STORAGE VOLUMES"
 msgstr "STORAGE VOLUMES"
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr "直接リクエスト (raw query) を LXD に送ります"
 
@@ -3253,7 +3257,7 @@ msgstr "スナップショット:"
 msgid "Socket %d:"
 msgstr "ソケット %d:"
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr "一部のインスタンスで %s が失敗しました"
@@ -3472,7 +3476,7 @@ msgstr ""
 msgid "Threads:"
 msgstr "スレッド:"
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr "インスタンスを強制停止するまで待つ時間"
 
@@ -3540,7 +3544,7 @@ msgstr "イメージを転送中: %s"
 msgid "Transferring instance: %s"
 msgstr "インスタンスを転送中: %s"
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr "更に情報を得るために `lxc info --show-log %s` を実行してみてください"
@@ -3682,7 +3686,7 @@ msgstr "Verb: %s (%s)"
 msgid "WWN: %s"
 msgstr "WWN: %s"
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr "処理が完全に終わるまで待ちます"
 
@@ -3972,7 +3976,7 @@ msgstr "enable [<remote>:] <name>"
 msgid "enabled"
 msgstr "有効"
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr "エラー: %v"
@@ -4390,7 +4394,7 @@ msgstr ""
 "lxc profile edit <profile> < profile.yaml\n"
 "    profile.yaml の内容でプロファイルを更新します"
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4538,7 +4542,7 @@ msgstr ""
 "push <source path> [<remote>:]<instance>/<path> [[<remote>:]<instance>/"
 "<path>...]"
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr "query [<remote>:]<API path>"
 
diff --git a/po/ko.po b/po/ko.po
index 78fbe40865..7aeb071455 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,11 +210,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -263,7 +263,7 @@ msgstr ""
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -425,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -889,7 +889,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1207,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1408,7 +1408,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1440,7 +1440,7 @@ msgstr ""
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2043,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2275,7 +2275,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2409,6 +2409,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2638,7 +2642,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -2902,7 +2906,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3105,7 +3109,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3166,7 +3170,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3304,7 +3308,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3585,7 +3589,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -3904,7 +3908,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4026,7 +4030,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/lxd.pot b/po/lxd.pot
index 4b6d7bb884..6476526eb1 100644
--- a/po/lxd.pot
+++ b/po/lxd.pot
@@ -7,7 +7,7 @@
 msgid   ""
 msgstr  "Project-Id-Version: lxd\n"
         "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-        "POT-Creation-Date: 2020-06-16 20:18-0400\n"
+        "POT-Creation-Date: 2020-06-18 13:55-0400\n"
         "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
         "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
         "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -201,11 +201,11 @@ msgstr  ""
 msgid   "- Port %d (%s)"
 msgstr  ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid   "--console can't be used with --all"
 msgstr  ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid   "--console only works with a single instance"
 msgstr  ""
 
@@ -253,7 +253,7 @@ msgstr  ""
 msgid   "Access the expanded configuration"
 msgstr  ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid   "Action (defaults to GET)"
 msgstr  ""
 
@@ -410,7 +410,7 @@ msgstr  ""
 msgid   "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr  ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid   "Both --all and instance name given"
 msgstr  ""
 
@@ -822,7 +822,7 @@ msgstr  ""
 msgid   "Delete storage volumes"
 msgstr  ""
 
-#: lxc/action.go:31 lxc/action.go:50 lxc/action.go:70 lxc/action.go:91 lxc/alias.go:22 lxc/alias.go:54 lxc/alias.go:100 lxc/alias.go:144 lxc/alias.go:195 lxc/cluster.go:31 lxc/cluster.go:74 lxc/cluster.go:153 lxc/cluster.go:203 lxc/cluster.go:253 lxc/cluster.go:336 lxc/cluster.go:421 lxc/config.go:30 lxc/config.go:89 lxc/config.go:360 lxc/config.go:452 lxc/config.go:610 lxc/config.go:734 lxc/config_device.go:24 lxc/config_device.go:76 lxc/config_device.go:188 lxc/config_device.go:261 lxc/config_device.go:327 lxc/config_device.go:416 lxc/config_device.go:507 lxc/config_device.go:513 lxc/config_device.go:613 lxc/config_device.go:681 lxc/config_metadata.go:27 lxc/config_metadata.go:52 lxc/config_metadata.go:174 lxc/config_template.go:28 lxc/config_template.go:65 lxc/config_template.go:108 lxc/config_template.go:150 lxc/config_template.go:236 lxc/config_template.go:295 lxc/config_trust.go:28 lxc/config_trust.go:57 lxc/config_trust.go:115 lxc/config_trust.go:193 lxc/console.go:31 lxc/copy.go:40 lxc/delete.go:30 lxc/exec.go:40 lxc/export.go:32 lxc/file.go:72 lxc/file.go:105 lxc/file.go:154 lxc/file.go:217 lxc/file.go:407 lxc/image.go:38 lxc/image.go:129 lxc/image.go:277 lxc/image.go:328 lxc/image.go:453 lxc/image.go:612 lxc/image.go:840 lxc/image.go:975 lxc/image.go:1273 lxc/image.go:1352 lxc/image_alias.go:25 lxc/image_alias.go:58 lxc/image_alias.go:105 lxc/image_alias.go:150 lxc/image_alias.go:252 lxc/import.go:28 lxc/info.go:33 lxc/init.go:40 lxc/launch.go:23 lxc/list.go:45 lxc/main.go:50 lxc/manpage.go:19 lxc/monitor.go:30 lxc/move.go:36 lxc/network.go:32 lxc/network.go:108 lxc/network.go:181 lxc/network.go:254 lxc/network.go:326 lxc/network.go:376 lxc/network.go:461 lxc/network.go:546 lxc/network.go:669 lxc/network.go:727 lxc/network.go:807 lxc/network.go:902 lxc/network.go:971 lxc/network.go:1021 lxc/network.go:1091 lxc/network.go:1153 lxc/operation.go:24 lxc/operation.go:53 lxc/operation.go:102 lxc/operation.go:181 lxc/profile.go:29 lxc/profile.go:101 lxc/profile.go:164 lxc/profile.go:244 lxc/profile.go:300 lxc/profile.go:354 lxc/profile.go:404 lxc/profile.go:528 lxc/profile.go:577 lxc/profile.go:636 lxc/profile.go:712 lxc/profile.go:762 lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86 lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384 lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620 lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33 lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539 lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89 lxc/storage.go:163 lxc/storage.go:213 lxc/storage.go:333 lxc/storage.go:388 lxc/storage.go:508 lxc/storage.go:582 lxc/storage.go:651 lxc/storage.go:735 lxc/storage_volume.go:33 lxc/storage_volume.go:140 lxc/storage_volume.go:219 lxc/storage_volume.go:302 lxc/storage_volume.go:463 lxc/storage_volume.go:540 lxc/storage_volume.go:616 lxc/storage_volume.go:698 lxc/storage_volume.go:779 lxc/storage_volume.go:979 lxc/storage_volume.go:1070 lxc/storage_volume.go:1143 lxc/storage_volume.go:1174 lxc/storage_volume.go:1287 lxc/storage_volume.go:1363 lxc/storage_volume.go:1462 lxc/storage_volume.go:1495 lxc/storage_volume.go:1571 lxc/version.go:22
+#: lxc/action.go:31 lxc/action.go:50 lxc/action.go:70 lxc/action.go:91 lxc/alias.go:22 lxc/alias.go:54 lxc/alias.go:100 lxc/alias.go:144 lxc/alias.go:195 lxc/cluster.go:31 lxc/cluster.go:74 lxc/cluster.go:153 lxc/cluster.go:203 lxc/cluster.go:253 lxc/cluster.go:336 lxc/cluster.go:421 lxc/config.go:30 lxc/config.go:89 lxc/config.go:360 lxc/config.go:452 lxc/config.go:610 lxc/config.go:734 lxc/config_device.go:24 lxc/config_device.go:76 lxc/config_device.go:188 lxc/config_device.go:261 lxc/config_device.go:327 lxc/config_device.go:416 lxc/config_device.go:507 lxc/config_device.go:513 lxc/config_device.go:613 lxc/config_device.go:681 lxc/config_metadata.go:27 lxc/config_metadata.go:52 lxc/config_metadata.go:174 lxc/config_template.go:28 lxc/config_template.go:65 lxc/config_template.go:108 lxc/config_template.go:150 lxc/config_template.go:236 lxc/config_template.go:295 lxc/config_trust.go:28 lxc/config_trust.go:57 lxc/config_trust.go:115 lxc/config_trust.go:193 lxc/console.go:31 lxc/copy.go:40 lxc/delete.go:30 lxc/exec.go:40 lxc/export.go:32 lxc/file.go:72 lxc/file.go:105 lxc/file.go:154 lxc/file.go:217 lxc/file.go:407 lxc/image.go:38 lxc/image.go:129 lxc/image.go:277 lxc/image.go:328 lxc/image.go:453 lxc/image.go:612 lxc/image.go:840 lxc/image.go:975 lxc/image.go:1273 lxc/image.go:1352 lxc/image_alias.go:25 lxc/image_alias.go:58 lxc/image_alias.go:105 lxc/image_alias.go:150 lxc/image_alias.go:252 lxc/import.go:28 lxc/info.go:33 lxc/init.go:40 lxc/launch.go:23 lxc/list.go:45 lxc/main.go:50 lxc/manpage.go:19 lxc/monitor.go:30 lxc/move.go:36 lxc/network.go:32 lxc/network.go:108 lxc/network.go:181 lxc/network.go:254 lxc/network.go:326 lxc/network.go:376 lxc/network.go:461 lxc/network.go:546 lxc/network.go:669 lxc/network.go:727 lxc/network.go:807 lxc/network.go:902 lxc/network.go:971 lxc/network.go:1021 lxc/network.go:1091 lxc/network.go:1153 lxc/operation.go:24 lxc/operation.go:53 lxc/operation.go:102 lxc/operation.go:181 lxc/profile.go:29 lxc/profile.go:101 lxc/profile.go:164 lxc/profile.go:244 lxc/profile.go:300 lxc/profile.go:354 lxc/profile.go:404 lxc/profile.go:528 lxc/profile.go:577 lxc/profile.go:636 lxc/profile.go:712 lxc/profile.go:762 lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86 lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384 lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620 lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33 lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539 lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89 lxc/storage.go:163 lxc/storage.go:213 lxc/storage.go:333 lxc/storage.go:388 lxc/storage.go:508 lxc/storage.go:582 lxc/storage.go:651 lxc/storage.go:735 lxc/storage_volume.go:33 lxc/storage_volume.go:140 lxc/storage_volume.go:219 lxc/storage_volume.go:302 lxc/storage_volume.go:463 lxc/storage_volume.go:540 lxc/storage_volume.go:616 lxc/storage_volume.go:698 lxc/storage_volume.go:779 lxc/storage_volume.go:979 lxc/storage_volume.go:1070 lxc/storage_volume.go:1143 lxc/storage_volume.go:1174 lxc/storage_volume.go:1287 lxc/storage_volume.go:1363 lxc/storage_volume.go:1462 lxc/storage_volume.go:1495 lxc/storage_volume.go:1571 lxc/version.go:22
 msgid   "Description"
 msgstr  ""
 
@@ -1116,7 +1116,7 @@ msgstr  ""
 msgid   "Force removing a member, even if degraded"
 msgstr  ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid   "Force the instance to shutdown"
 msgstr  ""
 
@@ -1306,7 +1306,7 @@ msgstr  ""
 msgid   "Image refreshed successfully!"
 msgstr  ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid   "Immediately attach to the console"
 msgstr  ""
 
@@ -1337,7 +1337,7 @@ msgstr  ""
 msgid   "Infiniband:"
 msgstr  ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid   "Input data"
 msgstr  ""
 
@@ -1906,7 +1906,7 @@ msgstr  ""
 msgid   "Must run as root to import from directory"
 msgstr  ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid   "Must supply instance name for: "
 msgstr  ""
 
@@ -2133,7 +2133,7 @@ msgstr  ""
 msgid   "Print help"
 msgstr  ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid   "Print the raw response"
 msgstr  ""
 
@@ -2267,6 +2267,10 @@ msgstr  ""
 msgid   "Pushing %s to %s: %%s"
 msgstr  ""
 
+#: lxc/query.go:78
+msgid   "Query path must start with /"
+msgstr  ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid   "Query virtual machine images"
 msgstr  ""
@@ -2492,7 +2496,7 @@ msgstr  ""
 msgid   "STORAGE VOLUMES"
 msgstr  ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid   "Send a raw query to LXD"
 msgstr  ""
 
@@ -2740,7 +2744,7 @@ msgstr  ""
 msgid   "Socket %d:"
 msgstr  ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid   "Some instances failed to %s"
 msgstr  ""
@@ -2934,7 +2938,7 @@ msgstr  ""
 msgid   "Threads:"
 msgstr  ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid   "Time to wait for the instance before killing it"
 msgstr  ""
 
@@ -2994,7 +2998,7 @@ msgstr  ""
 msgid   "Transferring instance: %s"
 msgstr  ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid   "Try `lxc info --show-log %s` for more info"
 msgstr  ""
@@ -3129,7 +3133,7 @@ msgstr  ""
 msgid   "WWN: %s"
 msgstr  ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid   "Wait for the operation to complete"
 msgstr  ""
 
@@ -3401,7 +3405,7 @@ msgstr  ""
 msgid   "enabled"
 msgstr  ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid   "error: %v"
 msgstr  ""
@@ -3685,7 +3689,7 @@ msgid   "lxc project edit <project> < project.yaml\n"
         "    Update a project using the content of project.yaml"
 msgstr  ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid   "lxc query -X DELETE --wait /1.0/instances/c1\n"
         "    Delete local instance \"c1\"."
 msgstr  ""
@@ -3793,7 +3797,7 @@ msgstr  ""
 msgid   "push <source path> [<remote>:]<instance>/<path> [[<remote>:]<instance>/<path>...]"
 msgstr  ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid   "query [<remote>:]<API path>"
 msgstr  ""
 
diff --git a/po/nb_NO.po b/po/nb_NO.po
index 9bdb321312..df0d1cc1c5 100644
--- a/po/nb_NO.po
+++ b/po/nb_NO.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,11 +210,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -263,7 +263,7 @@ msgstr ""
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -425,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -889,7 +889,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1207,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1408,7 +1408,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1440,7 +1440,7 @@ msgstr ""
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2043,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2275,7 +2275,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2409,6 +2409,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2638,7 +2642,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -2902,7 +2906,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3105,7 +3109,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3166,7 +3170,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3304,7 +3308,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3585,7 +3589,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -3904,7 +3908,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4026,7 +4030,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/nl.po b/po/nl.po
index 732247d331..fffe8ed87c 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: 2019-09-06 07:09+0000\n"
 "Last-Translator: Stéphane Graber <stgraber at stgraber.org>\n"
 "Language-Team: Dutch <https://hosted.weblate.org/projects/linux-containers/"
@@ -327,11 +327,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -380,7 +380,7 @@ msgstr ""
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -542,7 +542,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1006,7 +1006,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1324,7 +1324,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1525,7 +1525,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1557,7 +1557,7 @@ msgstr ""
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2160,7 +2160,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2392,7 +2392,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2526,6 +2526,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2755,7 +2759,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -3019,7 +3023,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3222,7 +3226,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3283,7 +3287,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3421,7 +3425,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3702,7 +3706,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -4021,7 +4025,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4143,7 +4147,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/pa.po b/po/pa.po
index 314e144be4..cbc389c9dc 100644
--- a/po/pa.po
+++ b/po/pa.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,11 +210,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -263,7 +263,7 @@ msgstr ""
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -425,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -889,7 +889,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1207,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1408,7 +1408,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1440,7 +1440,7 @@ msgstr ""
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2043,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2275,7 +2275,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2409,6 +2409,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2638,7 +2642,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -2902,7 +2906,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3105,7 +3109,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3166,7 +3170,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3304,7 +3308,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3585,7 +3589,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -3904,7 +3908,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4026,7 +4030,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/pl.po b/po/pl.po
index cfad0f4814..5eed9e2434 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: 2018-09-08 19:22+0000\n"
 "Last-Translator: m4sk1n <me at m4sk.in>\n"
 "Language-Team: Polish <https://hosted.weblate.org/projects/linux-containers/"
@@ -337,11 +337,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -390,7 +390,7 @@ msgstr ""
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -552,7 +552,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1016,7 +1016,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1334,7 +1334,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1535,7 +1535,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1567,7 +1567,7 @@ msgstr ""
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2170,7 +2170,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2402,7 +2402,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2536,6 +2536,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2765,7 +2769,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -3029,7 +3033,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3232,7 +3236,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3293,7 +3297,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3431,7 +3435,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3712,7 +3716,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -4031,7 +4035,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4153,7 +4157,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 2501a83d35..4dab402a78 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: 2019-09-06 07:09+0000\n"
 "Last-Translator: Stéphane Graber <stgraber at stgraber.org>\n"
 "Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/"
@@ -336,12 +336,12 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 #, fuzzy
 msgid "--console can't be used with --all"
 msgstr "--refresh só pode ser usado com containers"
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 #, fuzzy
 msgid "--console only works with a single instance"
 msgstr "Configuração chave/valor para aplicar ao novo contêiner"
@@ -397,7 +397,7 @@ msgstr "Aceitar certificado"
 msgid "Access the expanded configuration"
 msgstr "Editar configurações de perfil como YAML"
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr "Ação (padrão para o GET)"
 
@@ -566,7 +566,7 @@ msgstr "Propriedade ruim: %s"
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr "Erro de sintaxe, esperado <dispositivo>,<chave>=<valor>: %s"
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1053,7 +1053,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1381,7 +1381,7 @@ msgstr "Forçar alocação de pseudo-terminal"
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1586,7 +1586,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 #, fuzzy
 msgid "Immediately attach to the console"
 msgstr "Anexar interfaces de rede aos perfis"
@@ -1619,7 +1619,7 @@ msgstr "Editar arquivos no container"
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2228,7 +2228,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2460,7 +2460,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2599,6 +2599,10 @@ msgstr "Editar arquivos no container"
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2830,7 +2834,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -3102,7 +3106,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, fuzzy, c-format
 msgid "Some instances failed to %s"
 msgstr "Dispositivo %s adicionado a %s"
@@ -3306,7 +3310,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3367,7 +3371,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr "Editar arquivos no container"
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3509,7 +3513,7 @@ msgstr "Em cache: %s"
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3790,7 +3794,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -4109,7 +4113,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4231,7 +4235,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/ru.po b/po/ru.po
index 02a3b3a284..2b6020db81 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: 2018-06-22 15:57+0000\n"
 "Last-Translator: Александр Киль <shorrey at gmail.com>\n"
 "Language-Team: Russian <https://hosted.weblate.org/projects/linux-containers/"
@@ -338,11 +338,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -392,7 +392,7 @@ msgstr "Принять сертификат"
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -556,7 +556,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1038,7 +1038,7 @@ msgstr "Копирование образа: %s"
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1365,7 +1365,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1567,7 +1567,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1601,7 +1601,7 @@ msgstr "Невозможно добавить имя контейнера в с
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2222,7 +2222,7 @@ msgstr "Копирование образа: %s"
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2456,7 +2456,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2590,6 +2590,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2827,7 +2831,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -3094,7 +3098,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, fuzzy, c-format
 msgid "Some instances failed to %s"
 msgstr "Невозможно добавить имя контейнера в список"
@@ -3300,7 +3304,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3361,7 +3365,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr "Невозможно добавить имя контейнера в список"
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3499,7 +3503,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3861,7 +3865,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -4216,7 +4220,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4362,7 +4366,7 @@ msgstr ""
 "\n"
 "lxc %s [<remote>:]<container> [[<remote>:]<container>...]%s"
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/sl.po b/po/sl.po
index e44a918304..d2eb89256e 100644
--- a/po/sl.po
+++ b/po/sl.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,11 +210,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -263,7 +263,7 @@ msgstr ""
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -425,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -889,7 +889,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1207,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1408,7 +1408,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1440,7 +1440,7 @@ msgstr ""
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2043,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2275,7 +2275,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2409,6 +2409,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2638,7 +2642,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -2902,7 +2906,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3105,7 +3109,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3166,7 +3170,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3304,7 +3308,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3585,7 +3589,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -3904,7 +3908,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4026,7 +4030,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/sr.po b/po/sr.po
index ac28a60dc5..8cc1b9cf79 100644
--- a/po/sr.po
+++ b/po/sr.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,11 +210,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -263,7 +263,7 @@ msgstr ""
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -425,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -889,7 +889,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1207,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1408,7 +1408,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1440,7 +1440,7 @@ msgstr ""
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2043,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2275,7 +2275,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2409,6 +2409,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2638,7 +2642,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -2902,7 +2906,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3105,7 +3109,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3166,7 +3170,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3304,7 +3308,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3585,7 +3589,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -3904,7 +3908,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4026,7 +4030,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/sv.po b/po/sv.po
index f042606c72..5be63d0919 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,11 +210,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -263,7 +263,7 @@ msgstr ""
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -425,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -889,7 +889,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1207,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1408,7 +1408,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1440,7 +1440,7 @@ msgstr ""
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2043,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2275,7 +2275,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2409,6 +2409,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2638,7 +2642,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -2902,7 +2906,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3105,7 +3109,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3166,7 +3170,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3304,7 +3308,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3585,7 +3589,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -3904,7 +3908,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4026,7 +4030,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/te.po b/po/te.po
index 2826fa29bd..ca6118b091 100644
--- a/po/te.po
+++ b/po/te.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,11 +210,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -263,7 +263,7 @@ msgstr ""
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -425,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -889,7 +889,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1207,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1408,7 +1408,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1440,7 +1440,7 @@ msgstr ""
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2043,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2275,7 +2275,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2409,6 +2409,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2638,7 +2642,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -2902,7 +2906,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3105,7 +3109,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3166,7 +3170,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3304,7 +3308,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3585,7 +3589,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -3904,7 +3908,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4026,7 +4030,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/tr.po b/po/tr.po
index 83737293e6..0029ea713d 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,11 +210,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -263,7 +263,7 @@ msgstr ""
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -425,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -889,7 +889,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1207,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1408,7 +1408,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1440,7 +1440,7 @@ msgstr ""
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2043,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2275,7 +2275,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2409,6 +2409,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2638,7 +2642,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -2902,7 +2906,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3105,7 +3109,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3166,7 +3170,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3304,7 +3308,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3585,7 +3589,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -3904,7 +3908,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4026,7 +4030,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/uk.po b/po/uk.po
index daffb3288d..bec7a024c9 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,11 +210,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -263,7 +263,7 @@ msgstr ""
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -425,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -889,7 +889,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1207,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1408,7 +1408,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1440,7 +1440,7 @@ msgstr ""
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2043,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2275,7 +2275,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2409,6 +2409,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2638,7 +2642,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -2902,7 +2906,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3105,7 +3109,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3166,7 +3170,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3304,7 +3308,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3585,7 +3589,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -3904,7 +3908,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4026,7 +4030,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 
diff --git a/po/zh_Hans.po b/po/zh_Hans.po
index aeb9af3917..3360e98d51 100644
--- a/po/zh_Hans.po
+++ b/po/zh_Hans.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-16 20:18-0400\n"
+"POT-Creation-Date: 2020-06-18 13:55-0400\n"
 "PO-Revision-Date: 2018-09-11 19:15+0000\n"
 "Last-Translator: 0x0916 <w at laoqinren.net>\n"
 "Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/"
@@ -213,11 +213,11 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
-#: lxc/action.go:260
+#: lxc/action.go:262
 msgid "--console can't be used with --all"
 msgstr ""
 
-#: lxc/action.go:264
+#: lxc/action.go:266
 msgid "--console only works with a single instance"
 msgstr ""
 
@@ -266,7 +266,7 @@ msgstr ""
 msgid "Access the expanded configuration"
 msgstr ""
 
-#: lxc/query.go:41
+#: lxc/query.go:42
 msgid "Action (defaults to GET)"
 msgstr ""
 
@@ -428,7 +428,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:232
+#: lxc/action.go:234
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -892,7 +892,7 @@ msgstr ""
 #: lxc/profile.go:821 lxc/profile.go:875 lxc/project.go:29 lxc/project.go:86
 #: lxc/project.go:151 lxc/project.go:214 lxc/project.go:334 lxc/project.go:384
 #: lxc/project.go:476 lxc/project.go:531 lxc/project.go:591 lxc/project.go:620
-#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:31 lxc/remote.go:33
+#: lxc/project.go:673 lxc/publish.go:31 lxc/query.go:32 lxc/remote.go:33
 #: lxc/remote.go:84 lxc/remote.go:423 lxc/remote.go:459 lxc/remote.go:539
 #: lxc/remote.go:601 lxc/remote.go:651 lxc/remote.go:689 lxc/rename.go:21
 #: lxc/restore.go:24 lxc/snapshot.go:27 lxc/storage.go:33 lxc/storage.go:89
@@ -1210,7 +1210,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:122
+#: lxc/action.go:124
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1411,7 +1411,7 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
-#: lxc/action.go:118
+#: lxc/action.go:118 lxc/action.go:120
 msgid "Immediately attach to the console"
 msgstr ""
 
@@ -1443,7 +1443,7 @@ msgstr ""
 msgid "Infiniband:"
 msgstr ""
 
-#: lxc/query.go:42
+#: lxc/query.go:43
 msgid "Input data"
 msgstr ""
 
@@ -2046,7 +2046,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:153
+#: lxc/action.go:155
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2278,7 +2278,7 @@ msgstr ""
 msgid "Print help"
 msgstr ""
 
-#: lxc/query.go:40
+#: lxc/query.go:41
 msgid "Print the raw response"
 msgstr ""
 
@@ -2412,6 +2412,10 @@ msgstr ""
 msgid "Pushing %s to %s: %%s"
 msgstr ""
 
+#: lxc/query.go:78
+msgid "Query path must start with /"
+msgstr ""
+
 #: lxc/image.go:458 lxc/image.go:843 lxc/image.go:1355
 msgid "Query virtual machine images"
 msgstr ""
@@ -2641,7 +2645,7 @@ msgstr ""
 msgid "STORAGE VOLUMES"
 msgstr ""
 
-#: lxc/query.go:30 lxc/query.go:31
+#: lxc/query.go:31 lxc/query.go:32
 msgid "Send a raw query to LXD"
 msgstr ""
 
@@ -2905,7 +2909,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:293
+#: lxc/action.go:295
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3108,7 +3112,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:123
+#: lxc/action.go:125
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3169,7 +3173,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:198 lxc/launch.go:99
+#: lxc/action.go:200 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3307,7 +3311,7 @@ msgstr ""
 msgid "WWN: %s"
 msgstr ""
 
-#: lxc/query.go:39
+#: lxc/query.go:40
 msgid "Wait for the operation to complete"
 msgstr ""
 
@@ -3588,7 +3592,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:285
+#: lxc/action.go:287
 #, c-format
 msgid "error: %v"
 msgstr ""
@@ -3907,7 +3911,7 @@ msgid ""
 "    Update a project using the content of project.yaml"
 msgstr ""
 
-#: lxc/query.go:33
+#: lxc/query.go:34
 msgid ""
 "lxc query -X DELETE --wait /1.0/instances/c1\n"
 "    Delete local instance \"c1\"."
@@ -4029,7 +4033,7 @@ msgid ""
 "<path>...]"
 msgstr ""
 
-#: lxc/query.go:29
+#: lxc/query.go:30
 msgid "query [<remote>:]<API path>"
 msgstr ""
 


More information about the lxc-devel mailing list