<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
i'm sort of torn on this item. there's a general feeling that
regarding api, nothing should be dropped so i'm hesitant to actually
deprecate it. i think changing the data also is very dangerous when
it comes to compatibility (even though keeping it increases
inconsistency).<br>
<br>
maybe the better solution is to document that these are different
APIs and will return different results.<br>
<br>
<div class="moz-cite-prefix">On 05/11/2015 2:30 AM, Lin Juan IX Xia
wrote:<br>
</div>
<blockquote
cite="mid:201511050731.tA57V8TN001430@d23av02.au.ibm.com"
type="cite"><font size="2" face="Default Sans
Serif,Verdana,Arial,Helvetica,sans-serif"><font face="Arial,
Sans Serif, Verdana, Helvetica, sans-serif">Hi,</font>
<div><font face="Arial, Sans Serif, Verdana, Helvetica,
sans-serif"><br>
</font></div>
<div><font face="Arial, Sans Serif, Verdana, Helvetica,
sans-serif">Here is an open bug : <a moz-do-not-send="true"
href="https://bugs.launchpad.net/ceilometer/+bug/1497073"
target="_blank">https://bugs.launchpad.net/ceilometer/+bug/1497073</a></font></div>
<div><font face="Arial, Sans Serif, Verdana, Helvetica,
sans-serif"><br>
</font></div>
<div style=""><font face="Arial, Sans Serif, Verdana, Helvetica,
sans-serif">Is it a bug or not?<br>
</font>
<div><font face="Arial, Sans Serif, Verdana, Helvetica,
sans-serif"><br>
</font></div>
<div style="">
<pre class="GKSE20JDM3 changeScreenDescription" style="font-size: 9pt; margin-top: 0px; margin-bottom: 0px;"><font face="Arial, Sans Serif, Verdana, Helvetica, sans-serif">For the command "ceilometer sample-list --meter cpu", it calls "/v2/meter" API and return the OldSample objects</font></pre>
<pre class="GKSE20JDM3 changeScreenDescription" style="font-size: 9pt; margin-top: 0px; margin-bottom: 0px;"><font face="Arial, Sans Serif, Verdana, Helvetica, sans-serif">which return body is different from "ceilometer sample-list --query 'meter=cpu'".</font></pre>
<pre class="GKSE20JDM3 changeScreenDescription" style="font-size: 9pt; margin-top: 0px; margin-bottom: 0px;"><font face="Arial, Sans Serif, Verdana, Helvetica, sans-serif">
</font></pre>
<pre class="GKSE20JDM3 changeScreenDescription" style="font-size: 9pt; margin-top: 0px; margin-bottom: 0px;"><font face="Arial, Sans Serif, Verdana, Helvetica, sans-serif">To fix this inconformity, we can <span style="line-height: 18px; white-space: normal;">deprecate the command using -m or fix it to return the same body as command sample-list</span></font><font face="Arial, Sans Serif, Verdana, Helvetica, sans-serif">
</font></pre>
<div><font face="Arial, Sans Serif, Verdana, Helvetica,
sans-serif">Best Regards,</font></div>
<div><font face="Arial, Sans Serif, Verdana, Helvetica,
sans-serif">Xia Linjuan</font></div>
<div style="font-family: Verdana, Arial, Helvetica,
sans-serif;"><br>
</div>
</div>
</div>
</font><br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
gord</pre>
</body>
</html>