On Fri, Feb 1, 2019 at 10:21 AM Giulio Casella <giulio@di.unimi.it> wrote:
Il 31/01/2019 18:14, Sandro Bonazzola ha scritto:
> As far as I can tell, there are no tools that creates subdirectories
> within storage domains.
> Did you manually upload the iso into the nfs mount creating a
> subdirectory there?
> I think this layout is not supported at all.

Yes, I did (sorry :-)). My ISOs are growing, and I'd like to have a
hierarchical structure.
To say the truth it was only a test, I wasn't sure to see ISOs in
subdir. But when I've seen them (correctly listed in admin portal as
"foo/bar.iso"), I'd expect to be able mount them.

I also filed a bug
(https://bugzilla.redhat.com/show_bug.cgi?id=1671046), if the answer
will be NOTABUG, I'll try with a RFE.

Vdsm list iso files in subdirectories, and should be able to use them when
starting vms. I don't know about engine side, but this may be a regression
in 4.2, which made major changes in the way vm are started.

You can try to create a 4.1 cluster and see if this works there. If you don't
need any of the features added in 4.2 cluster version, using 4.1 cluster 
version may be good enough.

But note that ISO domains are deprecated and will be removed in future
versions. Mostly likely 4.4 will not have them.


Thanks,
gc


TL;DR

The scenario I'm trying to implement is a DVD video store, provided by
images in ISO domain, automatically mounted on VM on demand, via a
backend python script. That's why in this case a hyerarchical structure
would be much better than a flat one.

I would like to hear more about this use case.

Why do you need to start a vm connected to iso file in a DVD store?

Nir