<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>I’m in the process of trying to cleanup all the deprecations we have after moving some services in Juno. One I have outstanding is this warning about cinder.</div>
<div><br>
</div>
<div>"The v1 api is deprecated and will be removed after the Juno release. You should set enable_v1_api=false and enable_v2_api=true in your cinder.conf file."</div>
<div><br>
</div>
<div>I played around with this some and I figured out a few things:</div>
<div><br>
</div>
<div>If you remove the v1 endpoint, cinder client breaks, cinder client breaks because it can’t find the volume service.</div>
<div>If you leave the v1 endpoint, and disable the v1 API, cinder client breaks with "ERROR: ‘volumes’” and the URL its using ends up having /v2/v1 which is obviously wrong.</div>
<div>If you remove the v1 endpoint, and disable the v1 API, cinder client breaks because it can’t find the volume service.</div>
<div><br>
</div>
<div>It is possible to pass in an API version to cinder client, but it can’t figure it out on it’s own apparently. I’ve not tried to see how Horizon reacts to this but a broken client is bad enough for me to question this change.</div>
<div><br>
</div>
<div>One option I have is to remove the V1 end point and rename the V2 endpoint to volume (rather than “volumev2”). I think then the client will figure things out. This will break people who have the v1 API in their scripts (and I bet our Icinga stuff might).</div>
<div><br>
</div>
<div>Another option is to ignore this and assume the client will be fixed.</div>
<div><br>
</div>
<div>What does everyone else do here?</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">This E-mail and any of its attachments may contain Time Warner Cable proprietary information, which is privileged, confidential, or subject to copyright belonging to Time Warner Cable. This E-mail is intended solely
for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to
this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.<br>
</font>
</body>
</html>