Hope everybody is safe and doing good in this pandemic.
I was testing opennebula setup for self learning purpose.I tried to configure ISCSI datastore for libvirt but opennebula created the image_ds which is not desired state.
Can anybody help me to guide what is the best way to configure system datastore for vms.(For VM High Availability) and guide me how to configure that.
One more thing i checked the SAN as datastore but it seems this functionality is only available in ENTERPRISE version.Is this true please confirm?
But when i create a VM in this datastore it didn’t create any LV in that volume group.It created vm in default DS.
Further i created a LVM image DS, downloaded a image in that and then create a VM, but VM didn’t get deployed and getting below error in logs:
Thu Nov 18 21:48:33 2021 [Z0][ReM][E]: Req:1744 UID:0 one.vm.update result FAILURE [one.vm.update] Cannot update template. Parse error: syntax error, unexpected VARIABLE, expecting EQUAL or EQUAL_EMPTY at line 0, columns 137:139
Also getting error like this image datastore doesn’t support ssh transfer mode while importing/downloading image in image_ds.
Can you please me know where i am making mistake or am i doing all wrong?
Thanks in advance.
Further i created a LVM image DS, downloaded a image in that and then create a VM, but VM didn’t get deployed and getting below error in logs:
Yes, note that in order to use the fs_lvm_ssh system datastore you need to have a compatible image ds (as stated in the docs). Regarding the error you’re seeing, it doesn’t seem related with this.
Also getting error like this image datastore doesn’t support ssh transfer mode while importing/downloading image in image_ds.
Here it seems that you’re trying to use a wrong combination for your image and system datastores. Could you share the output of onedatastore show -x <id> for the image and system datastore you’re trying to use? Also could you attach the output of oned -v command?
[root@opennebula ~]# oned -v
OpenNebula 6.2.0 (c84c3303)
Copyright 2002-2021, OpenNebula Project, OpenNebula Systems
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Yeah agreed must be wrong using wrong combination.Is there any commands or documents where can i cross verify these.
Oops My bad , I was experimenting on the cluster and i have recreated it multiple times and now i don’t have error/logs.
Next time will collect all details and in the end summarize it and put it on the forum,so that other can also learn from it.
Sincere Apologies again.