On Tue, Jun 30, 2020 at 11:02 AM tim-nospam--- via Users
<users(a)ovirt.org> wrote:
Hi,
I'd like to use the localdisk hook of vdsm and have configured everything according
to the readme:
https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/localdisk
After installing the hook, configuring the ovirt-engine, creating the volume group,
adding the custom property 'localdisk' to the virtual machine and fixing a small
bug in the localdisk-helper,
What was the bug and how it was fixed?
vdsm creates the logical volume on the 'ovirt-local' volume
group after starting the virtual machine. Unfortunately nothing more seems to happen then.
There is no activity on the NAS which would indicate that the disk image is pulled to the
host. I can also see no errors on the host.
Is anyone currently running ovirt 4.4 with the localdisk hook?
I hope that nobody use this.
What else can I do to find out why the image is not being copied to
my host?
You should have logs from the hook in vdsm log.
The localdisk hook was a temporary solution and it is not recommended.
I don't think anyone is testing this code and it is likely to be broken.
We don't have a replacement with the same features, using logical volumes
on a local disk (e.g. fast ssd), but if you want to attach the entire
device to vm,
it should be possible to do this without any hacks in 4.4.
The main issue with the localdisk hooks is that engine does not understand
what the hook is doing, and the changes made by the hooks behind engine
back can cause lot of breakage. Any storage operation on the disks used
for the local disk may fail or cause trouble.
Nir