<div dir="ltr">Updates for the Kilo version of the installation guide included adding support for cinder v2. The initial approach involved disabling cinder v1, but we quickly found out that broke certain things. However, having two separate service entries and groups of endpoints didn't make sense because other services seem to handle multiple versions without them. So, along came experimentation. Turns out, the things that broke could use cinder v2 if the "volume" service used /v2 in the endpoints... to the best of our testing abilities. I hoped cinder would adopt endpoints without a version or some other way to reduce the catalog clutter in Liberty, but no such luck and testing revealed some potential issues with the approach taken in Kilo version of the installation guide. So, we reverted the cinder configuration in the Liberty version of the installation guide [1] to use /v1 in the endpoints for the "volume" service and /v2 in the endpoints for the "volumev2" service. We'll evaluate this situation again for Mitaka.<div><br></div><div>[1] <a href="http://docs.openstack.org/liberty/install-guide-ubuntu/cinder-controller-install.html#prerequisites">http://docs.openstack.org/liberty/install-guide-ubuntu/cinder-controller-install.html#prerequisites</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 4, 2015 at 3:40 PM, Anne Gentle <span dir="ltr"><<a href="mailto:annegentle@justwriteclick.com" target="_blank">annegentle@justwriteclick.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Thu, Dec 3, 2015 at 9:33 AM, Salman Toor <span dir="ltr"><<a href="mailto:salman.toor@it.uu.se" target="_blank">salman.toor@it.uu.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="word-wrap:break-word">
<div>Hi, </div>
<div><br>
</div>
<div>In the following link of Kilo document the cinder V1 endpoints have v2 in it.</div>
<div><br>
</div>
<div><a href="http://docs.openstack.org/kilo/install-guide/install/yum/content/cinder-install-controller-node.html" target="_blank">http://docs.openstack.org/kilo/install-guide/install/yum/content/cinder-install-controller-node.html</a></div>
<div><br>
</div>
<div>
<pre style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;width:670px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;padding:0.5em!important">openstack endpoint create \
--publicurl http://<em><code>controller</code></em>:8776/v2/%\(tenant_id\)s \
--internalurl http://<em><code>controller</code></em>:8776/v2/%\(tenant_id\)s \
--adminurl http://<em><code>controller</code></em>:8776/v2/%\(tenant_id\)s \
--region RegionOne \
volume</pre>
<div>Shouldn’t it be like following (colour in RED)</div>
</div>
<div><br>
</div>
<div>
<pre style="font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;width:670px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;padding:0.5em!important"><span style="color:rgb(35,48,45)">openstack endpoint create \
--publicurl http://<em><code>controller</code></em>:8776/</span><font color="#e32400">v1</font><font color="#23302d">/%\(tenant_id\)s \
--internalurl http://</font><em style="color:rgb(35,48,45)"><code>controller</code></em><font color="#23302d">:8776/</font><font color="#e32400">v1</font><font color="#23302d">/%\(tenant_id\)s \
--adminurl http://</font><em style="color:rgb(35,48,45)"><code>controller</code></em><font color="#23302d">:8776/</font><font color="#e32400">v1</font><font color="#23302d">/%\(tenant_id\)s \
--region RegionOne \
volume</font></pre>
<div><br>
</div>
</div>
<div>Is that a documentation error? Can someone please confirm? </div>
<div><br>
</div>
<div><br></div></div></blockquote><div><br></div></span><div>For the install documentation, especially one in use for and tested as many months as the Kilo one, you can be assured it is not a documentation error. </div><div><br></div><div>It is a specific choice by our install doc team to ensure that all requests are redirected to a v2 endpoint. Otherwise your Dashboard will not display the Block Storage information. </div><div><br></div><div>If you're ever in doubt, feel free to search through fixed documentation bugs or read the commentary, such as:</div><div><a href="https://bugs.launchpad.net/openstack-manuals/+bug/1508355" target="_blank">https://bugs.launchpad.net/openstack-manuals/+bug/1508355</a><br></div><div><br></div><div>Thanks,</div><div>Anne</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><div style="word-wrap:break-word"><div>
</div>
<div>Thanks in advance. </div>
<div><br>
</div>
<div>Regards..</div><span><font color="#888888">
<div>Salman.</div>
<div><br>
</div>
<div></div>
<br>
</font></span></div>
<br></span><span class="">_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>Anne Gentle</div><div>Rackspace</div><div>Principal Engineer</div><div><a href="http://www.justwriteclick.com" target="_blank">www.justwriteclick.com</a></div></div></div>
</font></span></div></div>
<br>_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br></blockquote></div><br></div>