<html><head><base href="x-msg://1213/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Jun 27, 2016, at 2:32 PM, Jean-Pierre Ribeauville wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="color: rgb(31, 73, 125); font-family: Calibri, sans-serif; font-size: 15px; ">As told page 17 of this document :</span><span class="Apple-style-span" style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div lang="FR" link="blue" vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><i><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; ">If you specify NFS, you must specify a list of NFS exports to mount. For example:<o:p></o:p></span></i></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><i><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; ">ip-address:/export-name<o:p></o:p></span></i></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><i><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; ">Enter a single or comma seprated list of NFS exports to use<o:p></o:p></span></i></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><i><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; ">with Cinder [^([\d]{1,3}\.){3}[\d]{1,3}:/.*]:<o:p></o:p></span></i></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -18pt; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><span>1)<span style="font: normal normal normal 7pt/normal 'Times New Roman'; ">     <span class="Apple-converted-space"> </span></span></span></span><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Do I have to specify a different volume for each instance or one volume is enough ?</span></div></div></div></span></blockquote><div><br></div><div>One is enough. Each instance will create a file on that share/volume.</div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div lang="FR" link="blue" vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -18pt; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p></o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -18pt; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><span>2)<span style="font: normal normal normal 7pt/normal 'Times New Roman'; ">     <span class="Apple-converted-space"> </span></span></span></span><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">By doing that , does it mans that LVM is not enabled and that all instances will be located on NFS ?</span></div></div></div></span></blockquote><div><br></div>You can select that at creation time. Well, you're supposed to. I haven't figured</div><div>out how to do that in the web GUI.</div><div><br></div><div>But I have both LVM and NFS enabled, and I can at least create a OS Volume</div><div>on either of them and then attach that to the instance..</div><div><br></div><div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">bladeA01b:~# cinder service-list</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">+------------------+---------------+------+---------+-------+----------------------------+-----------------+</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">|      Binary      |      Host     | Zone |  Status | State |         Updated_at         | Disabled Reason |</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">+------------------+---------------+------+---------+-------+----------------------------+-----------------+</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">|  cinder-backup   |   bladeA01b   | nova | enabled |   up  | 2016-06-27T13:50:22.000000 |        -        |</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">| cinder-scheduler |   bladeA01b   | nova | enabled |   up  | 2016-06-27T13:50:19.000000 |        -        |</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">|  cinder-volume   | bladeA01b@lvm | nova | enabled |   up  | 2016-06-27T13:50:18.000000 |        -        |</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">|  cinder-volume   | bladeA01b@nfs | nova | enabled |   up  | 2016-06-27T13:50:22.000000 |        -        |</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">+------------------+---------------+------+---------+-------+----------------------------+-----------------+</font></div><div><br></div></div><div>So I should be able to specify host=bladeA01b@lvm or host=bladeA01b@nfs</div><div>(bladeA01 is my controller with everything but Nova Compute on it) when</div><div>creating a volume..</div><div><br></div><div>I think LVM is my default (because I have that in the "default_volume_type"</div><div>setting in cinder.conf).</div><div><br></div><div>To have them both, I use:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">     /etc/cinder/cinder.conf:enabled_backends = lvm,nfs</span></div><div><br></div><div>And then the lvm/nfs block in the same file:</div><div><br></div><div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">[lvm]</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">volume_group = blade_center</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">iscsi_protocol = iscsi</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">#iscsi_helper = tgtadm</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">iscsi_helper = lioadm</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">volume_backend_name = LVM_iSCSI</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">lvm_type = default</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;"><br></font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;"># NFS driver</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">[nfs]</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">volume_driver = cinder.volume.drivers.nfs.NfsDriver</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">volume_group = blade_center</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">volume_backend_name = nfsbackend</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">nfs_shares_config = /etc/cinder/nfs.conf</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">nfs_sparsed_volumes = true</font></div><div><font class="Apple-style-span" face="Courier" style="font-size: 9px;">#nfs_mount_options =</font></div><div><br></div></div><div>You might need more, but those are the most obvious things.</div><div><br><blockquote type="cite"><div lang="FR" link="blue" vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -18pt; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p></o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 36pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -18pt; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><span>3)<span style="font: normal normal normal 7pt/normal 'Times New Roman'; ">     <span class="Apple-converted-space"> </span></span></span></span><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Is possible to deploy by using default Packstack parameters and set cinder and nova storages to NFS afterwards ?<br></span></div></div></div></blockquote><div><br></div><div>I have heard so much bad things of all these different installers, so when</div><div>I started my Openstack adventure (and it have been an adventure!! :), I</div><div>decided NOT to use any such thing.</div><div><br></div><div>I chose to do this manually! By hand! Well, almost. I use Debian GNU/Linux</div><div>Sid (unstable) which come with Mitaka and those packages do a lot automatically.</div><div>But I still have had to do _A LOT_ (!!) manually.</div><div><br></div><div>So I can't really answer that question..</div></div><div apple-content-edited="true">-- <br>Try not. Do. Or do not. There is no try!<br>- Yoda
</div>
<br></body></html>