* [pve-devel] [PATCH container 1/2] migration: allow rbd storages for remote migration
@ 2024-12-18 10:32 Fiona Ebner
2024-12-18 10:32 ` [pve-devel] [PATCH container 2/2] migration: add reminder to evaluate dropping seemingly useless check for PVE 9 Fiona Ebner
2024-12-18 14:21 ` [pve-devel] [PATCH container 1/2] migration: allow rbd storages for remote migration Daniel Kral
0 siblings, 2 replies; 3+ messages in thread
From: Fiona Ebner @ 2024-12-18 10:32 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
This is a follow-up for:
https://lore.proxmox.com/pve-devel/20241217154814.82121-1-f.ebner@proxmox.com/T/#m669d0a02ebf10ab54ad18f27589902ee0b2cbace
src/PVE/LXC/Migrate.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/PVE/LXC/Migrate.pm b/src/PVE/LXC/Migrate.pm
index 0debb9e..e1e6cab 100644
--- a/src/PVE/LXC/Migrate.pm
+++ b/src/PVE/LXC/Migrate.pm
@@ -303,6 +303,7 @@ sub phase1 {
if ($remote) {
push @$migratable_storages, 'cifs';
push @$migratable_storages, 'nfs';
+ push @$migratable_storages, 'rbd';
}
die "storage type '$scfg->{type}' not supported\n"
--
2.39.5
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* [pve-devel] [PATCH container 2/2] migration: add reminder to evaluate dropping seemingly useless check for PVE 9
2024-12-18 10:32 [pve-devel] [PATCH container 1/2] migration: allow rbd storages for remote migration Fiona Ebner
@ 2024-12-18 10:32 ` Fiona Ebner
2024-12-18 14:21 ` [pve-devel] [PATCH container 1/2] migration: allow rbd storages for remote migration Daniel Kral
1 sibling, 0 replies; 3+ messages in thread
From: Fiona Ebner @ 2024-12-18 10:32 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
src/PVE/LXC/Migrate.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/PVE/LXC/Migrate.pm b/src/PVE/LXC/Migrate.pm
index e1e6cab..a550d70 100644
--- a/src/PVE/LXC/Migrate.pm
+++ b/src/PVE/LXC/Migrate.pm
@@ -292,6 +292,8 @@ sub phase1 {
my ($sid, $volname) = PVE::Storage::parse_volume_id($volid);
my $scfg = PVE::Storage::storage_config($self->{storecfg}, $sid);
+ # FIXME PVE 9 - why is this even here, can't it just be dropped completely? The storage
+ # layer already dies if there is no valid transport format.
# TODO move to storage plugin layer?
my $migratable_storages = [
'dir',
--
2.39.5
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [pve-devel] [PATCH container 1/2] migration: allow rbd storages for remote migration
2024-12-18 10:32 [pve-devel] [PATCH container 1/2] migration: allow rbd storages for remote migration Fiona Ebner
2024-12-18 10:32 ` [pve-devel] [PATCH container 2/2] migration: add reminder to evaluate dropping seemingly useless check for PVE 9 Fiona Ebner
@ 2024-12-18 14:21 ` Daniel Kral
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Kral @ 2024-12-18 14:21 UTC (permalink / raw)
To: pve-devel
On 12/18/24 11:32, Fiona Ebner wrote:
> [ ... ]
> --- a/src/PVE/LXC/Migrate.pm
> +++ b/src/PVE/LXC/Migrate.pm
> @@ -303,6 +303,7 @@ sub phase1 {
> if ($remote) {
> push @$migratable_storages, 'cifs';
> push @$migratable_storages, 'nfs';
> + push @$migratable_storages, 'rbd';
> }
>
> die "storage type '$scfg->{type}' not supported\n"
Works as expected, without this patch the remote migration fails. When
applied, containers stored on rbd storages are also allowed.
Tested-by: Daniel Kral <d.kral@proxmox.com>
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-12-18 14:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-18 10:32 [pve-devel] [PATCH container 1/2] migration: allow rbd storages for remote migration Fiona Ebner
2024-12-18 10:32 ` [pve-devel] [PATCH container 2/2] migration: add reminder to evaluate dropping seemingly useless check for PVE 9 Fiona Ebner
2024-12-18 14:21 ` [pve-devel] [PATCH container 1/2] migration: allow rbd storages for remote migration Daniel Kral
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox