<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hey Cody, </div><div><br></div><div>The bad news, after our email figured I'd check Rocky's status, still not working.</div><div>I've thus opened two new bugs, I'll clone these back for Queens and Pike as well. </div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1637014">https://bugzilla.redhat.com/show_bug.cgi?id=1637014</a></div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1637030">https://bugzilla.redhat.com/show_bug.cgi?id=1637030</a><br></div><div><br></div><div>Any ways per debugging, as you rightfully mentioned docker. <br>As of Queens Cinder was containerized meaning:</div><div>log location: /var/log/container/cinder/cinder-volume.log</div><div>Config file path is : /var/lib/config-data/puppet-generated/cinder/etc/cinder/</div><div>So nfs_shares should be found/reside under this path ^ path. </div><div><br></div><div>However if you login to Cinder's volume docker</div><div># docker ps | grep cinder somethign like -> openstack-cinder-volume-docker-0</div><div># docker exec -it openstack-cinder-volume-docker-0 /bin/bash </div><div>You should see cinder.conf plus the share file under /etc/cinder/</div><div>In side the docker /etc/cinder/ path is valid, outside of docker mapping goes to /var/lib/config-data.. </div><div> </div><div>I'd me more than happy to take a look at your volume log,</div><div>should you be willing to share it in public or private with me. </div><div><br></div><div>Tzach </div><div><br></div><div><br></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Oct 7, 2018 at 7:38 PM Cody <<a href="mailto:codeology.lab@gmail.com">codeology.lab@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Tzach,<br>
<br>
Thank you for getting back! I tested it again with<br>
CinderNfsMountOptions: 'rw,sync,nosharecache' in Queens, but still to<br>
no avail.<br>
<br>
I also noticed that the file /etc/cinder/nfs_shares does not exist on<br>
any controller, although in cinder.conf it has "#nfs_shares_config =<br>
/etc/cinder/nfs_shares". I am not sure if this is normal for using NFS<br>
with the containerized cinder service.<br>
<br>
Thank you,<br>
Cody<br>
<br>
<br>
On Sun, Oct 7, 2018 at 5:03 AM Tzach Shefi <<a href="mailto:tshefi@redhat.com" target="_blank">tshefi@redhat.com</a>> wrote:<br>
><br>
><br>
> Hey Cody,<br>
><br>
> I recall hitting a related problem, when both Glance and Cinder use the same NFS server, while each service uses it's own share if both shares reside on same NFS server you may hit an selinux issue.<br>
><br>
> The original bug I hit/reported, was closed EOL.<br>
> <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1491597" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1491597</a><br>
> Notice 4th comment, adding nosharecache mount option helped me.<br>
><br>
> I'll re-check this on queens as well maybe need to rebug it.<br>
> Thanks<br>
><br>
> Tzach<br>
><br>
><br>
> On Sun, Oct 7, 2018 at 6:32 AM Cody <<a href="mailto:codeology.lab@gmail.com" target="_blank">codeology.lab@gmail.com</a>> wrote:<br>
>><br>
>> Hi everyone,<br>
>><br>
>> I have an issue with using TripleO (Queens) to setup an NFS backend for Cinder.<br>
>><br>
>> My storage.yaml is as follows:<br>
>><br>
>> parameter_defaults:<br>
>> CinderEnableIscsiBackend: false<br>
>> CinderEnableRbdBackend: false<br>
>> CinderEnableNfsBackend: true<br>
>> NovaEnableRbdBackend: false<br>
>> GlanceBackend: 'file'<br>
>><br>
>> CinderNfsMountOptions: 'rw,sync'<br>
>> CinderNfsServers: '192.168.24.1:/export/cinder'<br>
>><br>
>> GlanceNfsEnabled: true<br>
>> GlanceNfsShare: '192.168.24.1:/export/glance'<br>
>> GlanceNfsOptions: 'rw,sync,context=system_u:object_r:glance_var_lib_t:s0'<br>
>><br>
>> NovaNfsEnabled: true<br>
>> NovaNfsShare: '192.168.24.1:/export/nova'<br>
>> NovaNfsOptions: 'rw,sync,context=system_u:object_r:nfs_t:s0'<br>
>><br>
>> I used the undercloud node as an NFS server for testing purposes. Iptables is set accordingly. The /etc/exportfs on the NFS server is as follows:<br>
>><br>
>> /export/nova <a href="http://192.168.24.0/24(rw,no_root_squash)" rel="noreferrer" target="_blank">192.168.24.0/24(rw,no_root_squash)</a><br>
>> /export/glance <a href="http://192.168.24.0/24(rw,no_root_squash)" rel="noreferrer" target="_blank">192.168.24.0/24(rw,no_root_squash)</a><br>
>> /export/cinder <a href="http://192.168.24.0/24(rw,no_root_squash)" rel="noreferrer" target="_blank">192.168.24.0/24(rw,no_root_squash)</a><br>
>><br>
>> All three folders are set to chmod 777. Nova and Glance work as expected. Only Cinder remains problematic. I can try to upload volumes from overcloud, but nothing would show up in the cinder folder. Also Horizon gives errors like unable to retrieve volume and volume snapshots. Did I miss something here? I do plan to use Ceph later, but I wish to use NFS for now to test migration and failover. Any helps would be appreciated. Thank you!<br>
>><br>
>> Best regards,<br>
>> Cody<br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> dev mailing list<br>
>> <a href="mailto:dev@lists.rdoproject.org" target="_blank">dev@lists.rdoproject.org</a><br>
>> <a href="http://lists.rdoproject.org/mailman/listinfo/dev" rel="noreferrer" target="_blank">http://lists.rdoproject.org/mailman/listinfo/dev</a><br>
>><br>
>> To unsubscribe: <a href="mailto:dev-unsubscribe@lists.rdoproject.org" target="_blank">dev-unsubscribe@lists.rdoproject.org</a><br>
><br>
><br>
><br>
> --<br>
><br>
> Tzach Shefi<br>
><br>
> Senior Quality Engineer, RHCSA<br>
><br>
> Red Hat<br>
><br>
> <a href="mailto:tshefi@redaht.com" target="_blank">tshefi@redaht.com</a> M: +972-54-4701080 IM: tshefi<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>
<p style="font-weight:bold;margin:0;padding:0;font-size:14px;text-transform:uppercase;margin-bottom:0"><span>Tzach</span> <span>Shefi</span></p>
<p style="font-weight:normal;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>Senior Quality Engineer</span><span style="color:rgb(204,204,204)">, <span style="font-weight:normal;color:#aaa;margin:0">RHCSA</span></span></p>
<p style="font-weight:normal;margin:0;font-size:10px;color:#999"><a style="color:#0088ce;font-size:10px;margin:0;text-decoration:none;font-family:'overpass',sans-serif" href="https://www.redhat.com" target="_blank">Red Hat <span><br><br></span></a></p>
<p style="font-weight:normal;margin:0px 0px 6px;font-size:10px;color:rgb(153,153,153)"><span style="margin:0px;padding:0px">
<a style="color:#0088ce;font-size:10px;margin:0;text-decoration:none;font-family:'overpass',sans-serif" href="mailto:tshefi@redaht.com" target="_blank">tshefi@redaht.com</a> </span>
<span>M: <a href="tel:+972-54-4701080" style="color:#0088ce;font-size:11px;margin:0;text-decoration:none;font-family:'overpass',sans-serif" target="_blank">+972-54-4701080</a> </span>
<span>IM: <span>tshefi</span></span></p>
<table border="0"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"> <img src="https://www.redhat.com/files/brand/email/sig-redhat.png" width="90" height="auto"></a> </td>
</tr></tbody></table>
</div><span></span></div></div></div></div>