<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 17 June 2015 at 15:36, Dmitry Guryanov <span dir="ltr"><<a href="mailto:dguryanov@parallels.com" target="_blank">dguryanov@parallels.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 06/17/2015 02:14 PM, Duncan Thomas wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
On 17 June 2015 at 00:21, Matt Riedemann <<a href="mailto:mriedem@linux.vnet.ibm.com" target="_blank">mriedem@linux.vnet.ibm.com</a><br></span><div><div class="h5">
<mailto:<a href="mailto:mriedem@linux.vnet.ibm.com" target="_blank">mriedem@linux.vnet.ibm.com</a>>> wrote:<br>
<br>
The NFS, GlusterFS, SMBFS, and Quobyte libvirt volume drivers are<br>
all very similar.<br>
<br>
I want to extract a common base class that abstracts some of the<br>
common code and then let the sub-classes provide overrides where<br>
necessary.<br>
<br>
As part of this, I'm wondering if we could just have a single<br>
'mount_point_base' config option rather than one per backend like<br>
we have today:<br>
<br>
nfs_mount_point_base<br>
glusterfs_mount_point_base<br>
smbfs_mount_point_base<br>
quobyte_mount_point_base<br>
<br>
With libvirt you can only have one of these drivers configured per<br>
compute host right? So it seems to make sense that we could have<br>
one option used for all 4 different driver implementations and<br>
reduce some of the config option noise.<br>
<br>
<br>
I can't claim to have tried it, but from a cinder PoV there is nothing<br>
stopping you having both e.g. an NFS and a gluster backend at the same<br>
time, and I'd expect nova to work with it. If it doesn't, I'd consider<br>
it a bug.<br>
</div></div></blockquote>
<br>
I agree, if 2 volume backends will use the same share definition, like "10.10.2.3:/public" you'll get the same mountpoint for them.<span class="im HOEnZb"></span><br></blockquote></div><br></div><div class="gmail_extra">I meant that you should be able to have two complete separate backends, with two different mount points (e.g. /mnt/nfs, /mnt/gluster) and use both simultaneously, e.g. two different volume types. <br clear="all"></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature">Duncan Thomas</div>
</div></div>