* [PATCH 1/1] fix: unsupported value of disk format in ovf
@ 2024-08-20 7:22 'Chengshu Mou' via isar-users
2024-08-21 5:12 ` Uladzimir Bely
0 siblings, 1 reply; 8+ messages in thread
From: 'Chengshu Mou' via isar-users @ 2024-08-20 7:22 UTC (permalink / raw)
To: isar-users
[-- Attachment #1.1: Type: text/plain, Size: 1683 bytes --]
Hello guys,
I have a patch to fix the unsupported value of disk format in ovf file
generated by Isar. Details are as follows:
Affected part:
Images for VMware and VirtualBox.
Modification:
Add ‘VMDK_SUBFORMAT’ into template vars of ovf.
Reference issue:
https://github.com/ilbers/isar/issues/106.
Patch:
From 792a013b26a474696d11a31a8bd069554b10b190 Mon Sep 17 00:00:00 2001
From: "Mou Chengshu(Ben)" <chengshu.mou@siemens.com>
Date: Tue, 20 Aug 2024 13:28:06 +0800
Subject: [PATCH] fix: unsupported value of disk format in ovf
---
meta/classes/imagetypes_vm.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/imagetypes_vm.bbclass
b/meta/classes/imagetypes_vm.bbclass
index 56410de9..4da42447 100644
--- a/meta/classes/imagetypes_vm.bbclass
+++ b/meta/classes/imagetypes_vm.bbclass
@@ -60,7 +60,7 @@ macgen() {
OVA_VARS = "OVA_NAME OVA_MEMORY OVA_NUMBER_OF_CPU OVA_VRAM \
OVA_FIRMWARE OVA_ACPI OVA_3D_ACCEL \
- OVA_SHA_ALG VIRTUAL_MACHINE_IMAGE_FILE"
+ OVA_SHA_ALG VIRTUAL_MACHINE_IMAGE_FILE VMDK_SUBFORMAT"
IMAGE_TEMPLATE_FILES:ova = "${OVF_TEMPLATE_FILE}"
IMAGE_TEMPLATE_VARS:ova = "${OVA_VARS}"
--
2.39.2
Please have a look, thanks.
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/506abd25-6c6e-45ef-8087-89dacd1b0ff0n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 3588 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/1] fix: unsupported value of disk format in ovf
2024-08-20 7:22 [PATCH 1/1] fix: unsupported value of disk format in ovf 'Chengshu Mou' via isar-users
@ 2024-08-21 5:12 ` Uladzimir Bely
2024-08-21 9:24 ` [PATCH v2] " Mou Chengshu(Ben)
0 siblings, 1 reply; 8+ messages in thread
From: Uladzimir Bely @ 2024-08-21 5:12 UTC (permalink / raw)
To: Chengshu Mou, isar-users
On Tue, 2024-08-20 at 00:22 -0700, 'Chengshu Mou' via isar-users wrote:
> Hello guys,
>
> I have a patch to fix the unsupported value of disk format in ovf
> file generated by Isar. Details are as follows:
>
> Affected part:
> Images for VMware and VirtualBox.
>
> Modification:
> Add ‘VMDK_SUBFORMAT’ into template vars of ovf.
>
> Reference issue:
> https://github.com/ilbers/isar/issues/106.
>
Hello.
The patch resolves real issue, but it's mailformed and not applicable
as is. Please could you send v2 with "git send-email" but not as
copypaste/attachment in your email client?
> Patch:
> From 792a013b26a474696d11a31a8bd069554b10b190 Mon Sep 17 00:00:00
> 2001
> From: "Mou Chengshu(Ben)" <chengshu.mou@siemens.com>
> Date: Tue, 20 Aug 2024 13:28:06 +0800
> Subject: [PATCH] fix: unsupported value of disk format in ovf
>
missing "Signed-off-by"
> ---
> meta/classes/imagetypes_vm.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/imagetypes_vm.bbclass
> b/meta/classes/imagetypes_vm.bbclass
wrong line break here
> index 56410de9..4da42447 100644
> --- a/meta/classes/imagetypes_vm.bbclass
> +++ b/meta/classes/imagetypes_vm.bbclass
> @@ -60,7 +60,7 @@ macgen() {
>
> OVA_VARS = "OVA_NAME OVA_MEMORY OVA_NUMBER_OF_CPU OVA_VRAM \
> OVA_FIRMWARE OVA_ACPI OVA_3D_ACCEL \
> - OVA_SHA_ALG VIRTUAL_MACHINE_IMAGE_FILE"
> + OVA_SHA_ALG VIRTUAL_MACHINE_IMAGE_FILE VMDK_SUBFORMAT"
>
> IMAGE_TEMPLATE_FILES:ova = "${OVF_TEMPLATE_FILE}"
> IMAGE_TEMPLATE_VARS:ova = "${OVA_VARS}"
> --
> 2.39.2
>
> Please have a look, thanks.
> --
> You received this message because you are subscribed to the Google
> Groups "isar-users" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to isar-users+unsubscribe@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/isar-users/506abd25-6c6e-45ef-8087-89dacd1b0ff0n%40googlegroups.com
> .
--
Best regards,
Uladzimir.
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/b35d1aaaef806e105ae9638dd343ede3bc516df1.camel%40ilbers.de.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2] fix: unsupported value of disk format in ovf
2024-08-21 5:12 ` Uladzimir Bely
@ 2024-08-21 9:24 ` Mou Chengshu(Ben)
2024-08-21 10:05 ` 'Jan Kiszka' via isar-users
0 siblings, 1 reply; 8+ messages in thread
From: Mou Chengshu(Ben) @ 2024-08-21 9:24 UTC (permalink / raw)
To: isar-users; +Cc: Mou Chengshu(Ben)
Signed-off-by: Mou Chengshu(Ben) <chengshu.mou@siemens.com>
---
meta/classes/imagetypes_vm.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/imagetypes_vm.bbclass b/meta/classes/imagetypes_vm.bbclass
index 56410de9..4da42447 100644
--- a/meta/classes/imagetypes_vm.bbclass
+++ b/meta/classes/imagetypes_vm.bbclass
@@ -60,7 +60,7 @@ macgen() {
OVA_VARS = "OVA_NAME OVA_MEMORY OVA_NUMBER_OF_CPU OVA_VRAM \
OVA_FIRMWARE OVA_ACPI OVA_3D_ACCEL \
- OVA_SHA_ALG VIRTUAL_MACHINE_IMAGE_FILE"
+ OVA_SHA_ALG VIRTUAL_MACHINE_IMAGE_FILE VMDK_SUBFORMAT"
IMAGE_TEMPLATE_FILES:ova = "${OVF_TEMPLATE_FILE}"
IMAGE_TEMPLATE_VARS:ova = "${OVA_VARS}"
--
2.39.2
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/20240821092457.408035-1-chengshu.mou%40siemens.com.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2] fix: unsupported value of disk format in ovf
2024-08-21 9:24 ` [PATCH v2] " Mou Chengshu(Ben)
@ 2024-08-21 10:05 ` 'Jan Kiszka' via isar-users
2024-08-23 2:23 ` Mou Chengshu(Ben)
0 siblings, 1 reply; 8+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2024-08-21 10:05 UTC (permalink / raw)
To: Mou Chengshu(Ben), isar-users; +Cc: Mou Chengshu(Ben)
Here, you should put in some words about what was wrong and/or how it
was visible. AKA: "commit message", the thing that should never be empty.
That said, thanks for digging into it and finding the root cause!
Jan
On 21.08.24 11:24, Mou Chengshu(Ben) wrote:
> Signed-off-by: Mou Chengshu(Ben) <chengshu.mou@siemens.com>
> ---
> meta/classes/imagetypes_vm.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/imagetypes_vm.bbclass b/meta/classes/imagetypes_vm.bbclass
> index 56410de9..4da42447 100644
> --- a/meta/classes/imagetypes_vm.bbclass
> +++ b/meta/classes/imagetypes_vm.bbclass
> @@ -60,7 +60,7 @@ macgen() {
>
> OVA_VARS = "OVA_NAME OVA_MEMORY OVA_NUMBER_OF_CPU OVA_VRAM \
> OVA_FIRMWARE OVA_ACPI OVA_3D_ACCEL \
> - OVA_SHA_ALG VIRTUAL_MACHINE_IMAGE_FILE"
> + OVA_SHA_ALG VIRTUAL_MACHINE_IMAGE_FILE VMDK_SUBFORMAT"
>
> IMAGE_TEMPLATE_FILES:ova = "${OVF_TEMPLATE_FILE}"
> IMAGE_TEMPLATE_VARS:ova = "${OVA_VARS}"
--
Siemens AG, Technology
Linux Expert Center
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/6ba70e75-4477-40b6-948d-85c8b7c1947e%40siemens.com.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2] fix: unsupported value of disk format in ovf
2024-08-21 10:05 ` 'Jan Kiszka' via isar-users
@ 2024-08-23 2:23 ` Mou Chengshu(Ben)
2024-08-23 6:13 ` 'Jan Kiszka' via isar-users
0 siblings, 1 reply; 8+ messages in thread
From: Mou Chengshu(Ben) @ 2024-08-23 2:23 UTC (permalink / raw)
To: isar-users; +Cc: Mou Chengshu(Ben)
fix: unsupported value of disk format in ovf
Currently, Isar doesn't assign the variable 'VMDK_SUBFORMAT' into ovf template
that causes generated ovf file contains unsupported disk format value and error
message will be reported when import it into ESXi.
Signed-off-by: Mou Chengshu(Ben) <chengshu.mou@siemens.com>
---
meta/classes/imagetypes_vm.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/imagetypes_vm.bbclass b/meta/classes/imagetypes_vm.bbclass
index 56410de9..4da42447 100644
--- a/meta/classes/imagetypes_vm.bbclass
+++ b/meta/classes/imagetypes_vm.bbclass
@@ -60,7 +60,7 @@ macgen() {
OVA_VARS = "OVA_NAME OVA_MEMORY OVA_NUMBER_OF_CPU OVA_VRAM \
OVA_FIRMWARE OVA_ACPI OVA_3D_ACCEL \
- OVA_SHA_ALG VIRTUAL_MACHINE_IMAGE_FILE"
+ OVA_SHA_ALG VIRTUAL_MACHINE_IMAGE_FILE VMDK_SUBFORMAT"
IMAGE_TEMPLATE_FILES:ova = "${OVF_TEMPLATE_FILE}"
IMAGE_TEMPLATE_VARS:ova = "${OVA_VARS}"
--
2.39.2
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/20240823022356.160179-1-chengshu.mou%40siemens.com.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2] fix: unsupported value of disk format in ovf
2024-08-23 2:23 ` Mou Chengshu(Ben)
@ 2024-08-23 6:13 ` 'Jan Kiszka' via isar-users
2024-08-23 7:25 ` Mou Chengshu(Ben)
0 siblings, 1 reply; 8+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2024-08-23 6:13 UTC (permalink / raw)
To: Mou Chengshu(Ben), isar-users; +Cc: Mou Chengshu(Ben)
On 23.08.24 04:23, Mou Chengshu(Ben) wrote:
> fix: unsupported value of disk format in ovf
>
Almost: duplicate subject line.
> Currently, Isar doesn't assign the variable 'VMDK_SUBFORMAT' into ovf template
> that causes generated ovf file contains unsupported disk format value and error
> message will be reported when import it into ESXi.
>
That's perfect!
Jan
> Signed-off-by: Mou Chengshu(Ben) <chengshu.mou@siemens.com>
> ---
> meta/classes/imagetypes_vm.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/imagetypes_vm.bbclass b/meta/classes/imagetypes_vm.bbclass
> index 56410de9..4da42447 100644
> --- a/meta/classes/imagetypes_vm.bbclass
> +++ b/meta/classes/imagetypes_vm.bbclass
> @@ -60,7 +60,7 @@ macgen() {
>
> OVA_VARS = "OVA_NAME OVA_MEMORY OVA_NUMBER_OF_CPU OVA_VRAM \
> OVA_FIRMWARE OVA_ACPI OVA_3D_ACCEL \
> - OVA_SHA_ALG VIRTUAL_MACHINE_IMAGE_FILE"
> + OVA_SHA_ALG VIRTUAL_MACHINE_IMAGE_FILE VMDK_SUBFORMAT"
>
> IMAGE_TEMPLATE_FILES:ova = "${OVF_TEMPLATE_FILE}"
> IMAGE_TEMPLATE_VARS:ova = "${OVA_VARS}"
--
Siemens AG, Technology
Linux Expert Center
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/99c3cca9-b507-40a0-9360-614faece6701%40siemens.com.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2] fix: unsupported value of disk format in ovf
2024-08-23 6:13 ` 'Jan Kiszka' via isar-users
@ 2024-08-23 7:25 ` Mou Chengshu(Ben)
2024-08-27 16:59 ` Uladzimir Bely
0 siblings, 1 reply; 8+ messages in thread
From: Mou Chengshu(Ben) @ 2024-08-23 7:25 UTC (permalink / raw)
To: isar-users; +Cc: Mou Chengshu(Ben)
Currently, Isar doesn't assign the variable 'VMDK_SUBFORMAT' into ovf template
that causes generated ovf file contains unsupported disk format value and error
message will be reported when import it into ESXi.
Signed-off-by: Mou Chengshu(Ben) <chengshu.mou@siemens.com>
---
meta/classes/imagetypes_vm.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/imagetypes_vm.bbclass b/meta/classes/imagetypes_vm.bbclass
index 56410de9..4da42447 100644
--- a/meta/classes/imagetypes_vm.bbclass
+++ b/meta/classes/imagetypes_vm.bbclass
@@ -60,7 +60,7 @@ macgen() {
OVA_VARS = "OVA_NAME OVA_MEMORY OVA_NUMBER_OF_CPU OVA_VRAM \
OVA_FIRMWARE OVA_ACPI OVA_3D_ACCEL \
- OVA_SHA_ALG VIRTUAL_MACHINE_IMAGE_FILE"
+ OVA_SHA_ALG VIRTUAL_MACHINE_IMAGE_FILE VMDK_SUBFORMAT"
IMAGE_TEMPLATE_FILES:ova = "${OVF_TEMPLATE_FILE}"
IMAGE_TEMPLATE_VARS:ova = "${OVA_VARS}"
--
2.39.2
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/20240823072541.267555-1-chengshu.mou%40siemens.com.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2] fix: unsupported value of disk format in ovf
2024-08-23 7:25 ` Mou Chengshu(Ben)
@ 2024-08-27 16:59 ` Uladzimir Bely
0 siblings, 0 replies; 8+ messages in thread
From: Uladzimir Bely @ 2024-08-27 16:59 UTC (permalink / raw)
To: Mou Chengshu(Ben), isar-users
On Fri, 2024-08-23 at 15:25 +0800, Mou Chengshu(Ben) wrote:
> Currently, Isar doesn't assign the variable 'VMDK_SUBFORMAT' into ovf
> template
> that causes generated ovf file contains unsupported disk format value
> and error
> message will be reported when import it into ESXi.
>
> Signed-off-by: Mou Chengshu(Ben) <chengshu.mou@siemens.com>
> ---
> meta/classes/imagetypes_vm.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/imagetypes_vm.bbclass
> b/meta/classes/imagetypes_vm.bbclass
> index 56410de9..4da42447 100644
> --- a/meta/classes/imagetypes_vm.bbclass
> +++ b/meta/classes/imagetypes_vm.bbclass
> @@ -60,7 +60,7 @@ macgen() {
>
> OVA_VARS = "OVA_NAME OVA_MEMORY OVA_NUMBER_OF_CPU OVA_VRAM \
> OVA_FIRMWARE OVA_ACPI OVA_3D_ACCEL \
> - OVA_SHA_ALG VIRTUAL_MACHINE_IMAGE_FILE"
> + OVA_SHA_ALG VIRTUAL_MACHINE_IMAGE_FILE VMDK_SUBFORMAT"
>
> IMAGE_TEMPLATE_FILES:ova = "${OVF_TEMPLATE_FILE}"
> IMAGE_TEMPLATE_VARS:ova = "${OVA_VARS}"
> --
> 2.39.2
>
Applied to next, thanks.
--
Best regards,
Uladzimir.
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/2d75254b9d7180b96e181a28e4b4e1f78a8e37ef.camel%40ilbers.de.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-08-27 16:59 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-20 7:22 [PATCH 1/1] fix: unsupported value of disk format in ovf 'Chengshu Mou' via isar-users
2024-08-21 5:12 ` Uladzimir Bely
2024-08-21 9:24 ` [PATCH v2] " Mou Chengshu(Ben)
2024-08-21 10:05 ` 'Jan Kiszka' via isar-users
2024-08-23 2:23 ` Mou Chengshu(Ben)
2024-08-23 6:13 ` 'Jan Kiszka' via isar-users
2024-08-23 7:25 ` Mou Chengshu(Ben)
2024-08-27 16:59 ` Uladzimir Bely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox