You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I encountered an error while trying to create images in OpenNebula. The error indicates that the image format is unsupported, and this issue occurs both with and without using Terraform.
Expected behavior
Images should be created successfully without any parsing errors.
Details
Affected Component: [Storage]
Hypervisor: [ KVM]
Version: [6.10.0]
Additional context
Error:
Acquiring state lock. This may take a few moments...
data.terraform_remote_state.infrastructure: Reading...
data.opennebula_datastore.default: Reading...
data.opennebula_image.talos_1_7_2: Reading...
opennebula_datastore.default: Refreshing state... [id=1]
data.opennebula_image.talos_1_7_2: Read complete after 0s [name=Talos 1.7.2]
data.opennebula_datastore.default: Read complete after 0s [name=default]
data.terraform_remote_state.infrastructure: Read complete after 1s
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# opennebula_image.talos will be created
+ resource "opennebula_image""talos" {
+ datastore_id = 1
+ default_tags = (known after apply)
+ description = "Talos test"
+ dev_prefix = (known after apply)
+ driver = (known after apply)
+ format = (known after apply)
+ gid = (known after apply)
+ gname = (known after apply)
+ id = (known after apply)
+ lock = "USE"
+ name = "Talos 1.7.2 test"
+ path = "https://github.com/siderolabs/talos/releases/download/v1.7.7/opennebula-amd64.raw.xz"
+ permissions = (known after apply)
+ persistent = false
+ size = (known after apply)
+ tags_all = (known after apply)
+ target = (known after apply)
+ timeout = 20
+ type = "OS"
+ uid = (known after apply)
+ uname = (known after apply)
}
# opennebula_image.ubuntu will be created
+ resource "opennebula_image""ubuntu" {
+ datastore_id = 1
+ default_tags = (known after apply)
+ description = "Ubuntu test"
+ dev_prefix = (known after apply)
+ driver = (known after apply)
+ format = (known after apply)
+ gid = (known after apply)
+ gname = (known after apply)
+ id = (known after apply)
+ lock = "USE"
+ name = "Ubntu 20.04.1"
+ path = "https://cdimage.ubuntu.com/ubuntu-base/releases/focal/release/ubuntu-base-20.04.1-base-amd64.tar.gz"
+ permissions = (known after apply)
+ persistent = false
+ size = (known after apply)
+ tags_all = (known after apply)
+ target = (known after apply)
+ timeout = 20
+ type = "OS"
+ uid = (known after apply)
+ uname = (known after apply)
}
Plan: 2 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value:
opennebula_image.talos: Creating...
opennebula_image.ubuntu: Creating...
╷
│ Error: Failed to create the image
│
│ with opennebula_image.talos,
│ on image.tf line 37, in resource "opennebula_image""talos":
│ 37: resource "opennebula_image""talos" {
│
│ OpenNebula error [INTERNAL]: [one.image.allocate] Cannot parse image SIZE:
│ Unsupported remote image format
╵
╷
│ Error: Failed to create the image
│
│ with opennebula_image.ubuntu,
│ on image.tf line 47, in resource "opennebula_image""ubuntu":
│ 47: resource "opennebula_image""ubuntu" {
│
│ OpenNebula error [INTERNAL]: [one.image.allocate] Cannot parse image SIZE:
│ Unsupported remote image format
╵
exit status 1
20:07:32.696 ERROR terraform invocation failed in. stderr=
╷
│ Error: Failed to create the image
│
│ with opennebula_image.talos,
│ on image.tf line 37, in resource "opennebula_image""talos":
│ 37: resource "opennebula_image""talos" {
│
│ OpenNebula error [INTERNAL]: [one.image.allocate] Cannot parse image SIZE:
│ Unsupported remote image format
╵
╷
│ Error: Failed to create the image
│
│ with opennebula_image.ubuntu,
│ on image.tf line 47, in resource "opennebula_image""ubuntu":
│ 47: resource "opennebula_image""ubuntu" {
│
│ OpenNebula error [INTERNAL]: [one.image.allocate] Cannot parse image SIZE:
│ Unsupported remote image format
╵
20:07:32.703 ERROR 1 error occurred:
* [../storage] exit status 1
Log from oned.log
Sat Oct 26 20:17:42 2024 [Z0][ReM][D]: Req:6896 UID:0 one.system.version result SUCCESS, "6.10.0"
Sat Oct 26 20:17:42 2024 [Z0][ReM][D]: Req:6736 UID:0 IP:10.66.66.96 one.image.allocate invoked , "NAME="Talos 1.7.2 te...", 1Sat Oct 26 20:17:42 2024 [Z0][ReM][D]: Req:8544 UID:0 IP:10.66.66.96 one.image.allocate invoked , "NAME="Ubntu 20.04.1"...", 1Sat Oct 26 20:17:43 2024 [Z0][ReM][D]: Req:6592 UID:0 IP:127.0.0.1 one.zone.raftstatus invokedSat Oct 26 20:17:43 2024 [Z0][ReM][D]: Req:6592 UID:0 one.zone.raftstatus result SUCCESS, "<RAFT><SERVER_ID>-1<..."Sat Oct 26 20:17:43 2024 [Z0][ReM][D]: Req:2464 UID:0 IP:127.0.0.1 one.vmpool.infoextended invoked , -2, -1, -1, -1Sat Oct 26 20:17:43 2024 [Z0][ReM][D]: Req:2464 UID:0 one.vmpool.infoextended result SUCCESS, "<VM_POOL><VM><ID>52<..."Sat Oct 26 20:17:45 2024 [Z0][ImM][I]: Command execution failed (exit code: 255): /var/lib/one/remotes/datastore/fs/stat 23Sat Oct 26 20:17:45 2024 [Z0][ImM][I]: Unsupported remote image formatSat Oct 26 20:17:45 2024 [Z0][ReM][E]: Req:6736 UID:0 one.image.allocate result FAILURE [one.image.allocate] Cannot parse image SIZE: Unsupported remote image formatSat Oct 26 20:17:45 2024 [Z0][ImM][I]: Command execution failed (exit code: 255): /var/lib/one/remotes/datastore/fs/stat 24Sat Oct 26 20:17:45 2024 [Z0][ImM][I]: Unsupported remote image formatSat Oct 26 20:17:45 2024 [Z0][ReM][E]: Req:8544 UID:0 one.image.allocate result FAILURE [one.image.allocate] Cannot parse image SIZE: Unsupported remote image format
Progress Status
Code committed
Testing - QA
Documentation (Release notes - resolved issues, compatibility, known issues)
The text was updated successfully, but these errors were encountered:
Description
I encountered an error while trying to create images in OpenNebula. The error indicates that the image format is unsupported, and this issue occurs both with and without using Terraform.
To Reproduce
With terraform
OR manualy
For Talos:
Name: Talos 1.7.2 test Path: https://github.com/siderolabs/talos/releases/download/v1.7.7/opennebula-amd64.raw.xz
For Ubuntu:
Expected behavior
Images should be created successfully without any parsing errors.
Details
Additional context
Error:
Log from oned.log
Progress Status
The text was updated successfully, but these errors were encountered: