* [pve-devel] [PATCH qemu-server] qm: remote migration: improve error when storage cannot be found
@ 2023-06-09 7:37 Fiona Ebner
2023-06-09 7:49 ` [pve-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Fiona Ebner @ 2023-06-09 7:37 UTC (permalink / raw)
To: pve-devel
It can also be a permission issue, so the current error can be
a bit confusing.
Reported in the community forum:
https://forum.proxmox.com/threads/120619/post-562660
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
PVE/CLI/qm.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/CLI/qm.pm b/PVE/CLI/qm.pm
index c3c29824..b17b4fe2 100755
--- a/PVE/CLI/qm.pm
+++ b/PVE/CLI/qm.pm
@@ -251,7 +251,7 @@ __PACKAGE__->register_method({
my $check_remote_storage = sub {
my ($storage) = @_;
my $found = [ grep { $_->{storage} eq $storage } @$storages ];
- die "remote: storage '$storage' does not exist!\n"
+ die "remote: storage '$storage' does not exist (or missing permission)!\n"
if !@$found;
$found = @$found[0];
--
2.39.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pve-devel] applied: [PATCH qemu-server] qm: remote migration: improve error when storage cannot be found
2023-06-09 7:37 [pve-devel] [PATCH qemu-server] qm: remote migration: improve error when storage cannot be found Fiona Ebner
@ 2023-06-09 7:49 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2023-06-09 7:49 UTC (permalink / raw)
To: Proxmox VE development discussion, Fiona Ebner
On 09/06/2023 09:37, Fiona Ebner wrote:
> It can also be a permission issue, so the current error can be
> a bit confusing.
>
> Reported in the community forum:
> https://forum.proxmox.com/threads/120619/post-562660
>
> Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
> ---
> PVE/CLI/qm.pm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-09 7:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-09 7:37 [pve-devel] [PATCH qemu-server] qm: remote migration: improve error when storage cannot be found Fiona Ebner
2023-06-09 7:49 ` [pve-devel] applied: " Thomas Lamprecht
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal