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
Copy file name to clipboardExpand all lines: docs/advanced/addons/vmimport.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,6 +128,7 @@ metadata:
128
128
namespace: default
129
129
spec:
130
130
virtualMachineName: "alpine-export-test"
131
+
folder: "Discovered VM"
131
132
networkMapping:
132
133
- sourceNetwork: "dvSwitch 1"
133
134
destinationNetwork: "default/vlan1"
@@ -145,6 +146,8 @@ This will trigger the controller to export the VM named "alpine-export-test" on
145
146
146
147
This can take a while based on the size of the virtual machine, but users should see `VirtualMachineImages` created for each disk in the defined virtual machine.
147
148
149
+
If the source virtual machine is placed in a folder, you can specify the folder name in the optional `folder` field.
150
+
148
151
The list of items in `networkMapping` will define how the source network interfaces are mapped to the Harvester Networks.
149
152
150
153
If a match is not found, each unmatched network interface is attached to the default `managementNetwork`.
@@ -185,4 +188,7 @@ spec:
185
188
186
189
:::note
187
190
OpenStack allows users to have multiple instances with the same name. In such a scenario, users are advised to use the Instance ID. The reconciliation logic tries to perform a name-to-ID lookup when a name is used.
188
-
:::
191
+
:::
192
+
193
+
#### Known issues
194
+
* **Source virtual machine name is not RFC1123 compliant**: When creating a virtual machine object, the vm-import-controller add-on uses the name of the source virtual machine, which may not meet the Kubernetes object [naming criteria](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names). You may need to rename the source virtual machine to allow successful completion of the import.
Copy file name to clipboardExpand all lines: versioned_docs/version-v1.3/advanced/addons/vmimport.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,6 +128,7 @@ metadata:
128
128
namespace: default
129
129
spec:
130
130
virtualMachineName: "alpine-export-test"
131
+
folder: "Discovered VM"
131
132
networkMapping:
132
133
- sourceNetwork: "dvSwitch 1"
133
134
destinationNetwork: "default/vlan1"
@@ -145,6 +146,8 @@ This will trigger the controller to export the VM named "alpine-export-test" on
145
146
146
147
This can take a while based on the size of the virtual machine, but users should see `VirtualMachineImages` created for each disk in the defined virtual machine.
147
148
149
+
If the source virtual machine is placed in a folder, you can specify the folder name in the optional `folder` field.
150
+
148
151
The list of items in `networkMapping` will define how the source network interfaces are mapped to the Harvester Networks.
149
152
150
153
If a match is not found, each unmatched network interface is attached to the default `managementNetwork`.
@@ -185,4 +188,14 @@ spec:
185
188
186
189
:::note
187
190
OpenStack allows users to have multiple instances with the same name. In such a scenario, users are advised to use the Instance ID. The reconciliation logic tries to perform a name-to-ID lookup when a name is used.
188
-
:::
191
+
:::
192
+
193
+
#### Known issues
194
+
* **Source virtual machine name is not RFC1123 compliant**: When creating a virtual machine object, the vm-import-controller add-on uses the name of the source virtual machine, which may not meet the Kubernetes object [naming criteria](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names). You may need to rename the source virtual machine to allow successful completion of the import.
195
+
196
+
* **Virtual machine image name is too long**: The vm-import-controller add-on labels each imported disk using the format `vm-import-$VMname-$DiskName`. If a label exceeds 63 characters, you will see the following error message in the vm-import-controller logs:
nqsp\" is invalid: metadata.labels: Invalid value: \"vm-import-mike-mr-tumbleweed-test-mike-mr-tumbleweed-test-default-disk-0.img\": must be no more than 63 characters, requeuing"
200
+
```
201
+
You may need to rename the source virtual machine to allow successful completion of the import.
Copy file name to clipboardExpand all lines: versioned_docs/version-v1.4/advanced/addons/vmimport.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,6 +128,7 @@ metadata:
128
128
namespace: default
129
129
spec:
130
130
virtualMachineName: "alpine-export-test"
131
+
folder: "Discovered VM"
131
132
networkMapping:
132
133
- sourceNetwork: "dvSwitch 1"
133
134
destinationNetwork: "default/vlan1"
@@ -144,6 +145,8 @@ This will trigger the controller to export the VM named "alpine-export-test" on
144
145
145
146
This can take a while based on the size of the virtual machine, but users should see `VirtualMachineImages` created for each disk in the defined virtual machine.
146
147
148
+
If the source virtual machine is placed in a folder, you can specify the folder name in the optional `folder` field.
149
+
147
150
The list of items in `networkMapping` will define how the source network interfaces are mapped to the Harvester Networks.
148
151
149
152
If a match is not found, each unmatched network interface is attached to the default `managementNetwork`.
@@ -185,4 +188,14 @@ spec:
185
188
186
189
:::note
187
190
OpenStack allows users to have multiple instances with the same name. In such a scenario, users are advised to use the Instance ID. The reconciliation logic tries to perform a name-to-ID lookup when a name is used.
188
-
:::
191
+
:::
192
+
193
+
#### Known issues
194
+
* **Source virtual machine name is not RFC1123 compliant**: When creating a virtual machine object, the vm-import-controller add-on uses the name of the source virtual machine, which may not meet the Kubernetes object [naming criteria](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names). You may need to rename the source virtual machine to allow successful completion of the import.
195
+
196
+
* **Virtual machine image name is too long**: The vm-import-controller add-on labels each imported disk using the format `vm-import-$VMname-$DiskName`. If a label exceeds 63 characters, you will see the following error message in the vm-import-controller logs:
nqsp\" is invalid: metadata.labels: Invalid value: \"vm-import-mike-mr-tumbleweed-test-mike-mr-tumbleweed-test-default-disk-0.img\": must be no more than 63 characters, requeuing"
200
+
```
201
+
You may need to rename the source virtual machine to allow successful completion of the import.
0 commit comments