<html><body>
<p><font size="2" face="sans-serif">Hi Sandy,</font><br>
<br>
<font size="2" face="sans-serif">Thanks for the clear explanation. Another question, you mentioned that "</font><font size="3" face="serif">One project recently ran into this problem when they were generating non-dict payloads on exceptions. </font><font size="2" face="sans-serif">", would you mind telling me more about the problem? Since Glance is reviewing a similar patch. Thanks. I guess another project is consuming the malformed notification and got a failure, is it? </font><br>
<br>
<font size="2" face="sans-serif">Thanks & Best regards,<br>
Fei Long Wang (Íõ·ÉÁú)<br>
---------------------------------------------------------------------<br>
Tech Lead of Nitrogen (SME team)<br>
Cloud Solutions and OpenStack Development<br>
Tel: 8610-82450513 | T/L: 905-0513 <br>
Email: flwang@cn.ibm.com<br>
China Systems & Technology Laboratory in Beijing<br>
---------------------------------------------------------------------<br>
</font><br>
<br>
<img width="16" height="16" src="cid:1__=C7BBF178DF9B3C128f9e8a93df938@cn.ibm.com" border="0" alt="Inactive hide details for Sandy Walsh ---09/18/2013 08:43:03 PM---On 09/18/2013 04:49 AM, Fei Long Wang wrote: > Hi Sandy,"><font size="2" color="#424282" face="sans-serif">Sandy Walsh ---09/18/2013 08:43:03 PM---On 09/18/2013 04:49 AM, Fei Long Wang wrote: > Hi Sandy,</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From: </font><font size="1" face="sans-serif">Sandy Walsh <sandy.walsh@rackspace.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To: </font><font size="1" face="sans-serif">Fei Long Wang/China/IBM@IBMCN, </font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Cc: </font><font size="1" face="sans-serif">"openstack@lists.openstack.org" <openstack@lists.openstack.org></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date: </font><font size="1" face="sans-serif">09/18/2013 08:43 PM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject: </font><font size="1" face="sans-serif">Re: [Openstack] Notification Usage in OpenStack ... a report card</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<tt><font size="2"><br>
<br>
On 09/18/2013 04:49 AM, Fei Long Wang wrote:<br>
> Hi Sandy,<br>
> <br>
> It's an awesome post. Just some minor questions.<br>
<br>
Thanks!<br>
<br>
> 1. Are you aware of any project is using Oslo.Messaging? Actually, just<br>
> like you know, the porting of Glance Oslo notifier is pending. And the<br>
> main reason is Oslo.Messaging is coming.<br>
<br>
Daniel answered this, but yes, the intention is to move to oslo.messaging.<br>
<br>
Notifications are different than the olso rpc mechanism in a couple of ways:<br>
<br>
1. they support requeue semantics. We can push notifications back on the<br>
queue if the consumer can't deal with it.<br>
<br>
2. they don't require a method with parameters on the consuming end. The<br>
consumer can just pull the notification off the queue and work on it.<br>
It's just a blob of data.<br>
<br>
3. Later, we'll likely want to support dead-letter queues for<br>
notifications that could not be processed. We don't want to lose these<br>
messages.<br>
<br>
So long as this is supported in Messaging, we're fine.<br>
<br>
> 2. You mentioned that Glance implement the audit partially, could you<br>
> please explain more from your point of view? Thanks. <br>
<br>
The "Importance of Usage Notifications" section sort of addresses this.<br>
For billing purposes there should ideally be two notifications emitted.<br>
The first would be the individual notifications for each billable action<br>
(these could be incremental updates) and the second would be a summary<br>
notification to indicate what the image or tenant cost for the day. The<br>
consumer could then verify that the incremental notifications and the<br>
end-of-day summary matches.<br>
<br>
Glance only supports the incremental notifications currently, iirc.<br>
<br>
I think the image transfers are the only real billable event in Glance<br>
right now. Not sure if image storage (snapshots for backup) would be<br>
another.<br>
<br>
Hope it helps!<br>
-S<br>
<br>
<br>
> <br>
> Thanks & Best regards,<br>
> Fei Long Wang (Íõ·ÉÁú)<br>
> ---------------------------------------------------------------------<br>
> Tech Lead of Nitrogen (SME team)<br>
> Cloud Solutions and OpenStack Development<br>
> Tel: 8610-82450513 | T/L: 905-0513<br>
> Email: flwang@cn.ibm.com<br>
> China Systems & Technology Laboratory in Beijing<br>
> ---------------------------------------------------------------------<br>
> <br>
> <br>
> Inactive hide details for Sandy Walsh ---09/17/2013 02:27:00 AM---Hey<br>
> y'all! I took a little time to review most of the OpenStaSandy Walsh<br>
> ---09/17/2013 02:27:00 AM---Hey y'all! I took a little time to review<br>
> most of the OpenStack projects and check on their notifica<br>
> <br>
> From: Sandy Walsh <sandy.walsh@RACKSPACE.COM><br>
> To: "openstack@lists.openstack.org" <openstack@lists.openstack.org>,<br>
> Date: 09/17/2013 02:27 AM<br>
> Subject: [Openstack] Notification Usage in OpenStack ... a report card<br>
> <br>
> ------------------------------------------------------------------------<br>
> <br>
> <br>
> <br>
> Hey y'all!<br>
> <br>
> I took a little time to review most of the OpenStack projects and check<br>
> on their notification support. Happy to say, adoption is good. There are<br>
> things we could do better, but overall very positive.<br>
> <br>
> The article also talks a little about what makes for good notification<br>
> support. Something for you all to think about at the Icehouse summit :)<br>
> <br>
> I'm sure I've made some mistakes along the way, so please let me know<br>
> and I'll fix accordingly.<br>
> <br>
> </font></tt><tt><font size="2"><a href="http://www.sandywalsh.com/2013/09/notification-usage-in-openstack-report.html">http://www.sandywalsh.com/2013/09/notification-usage-in-openstack-report.html</a></font></tt><tt><font size="2"><br>
> <br>
> Look forward to your feedback!<br>
> <br>
> -Sandy<br>
> _______________________________________________<br>
> Mailing list: </font></tt><tt><font size="2"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></font></tt><tt><font size="2"><br>
> Post to : openstack@lists.openstack.org<br>
> Unsubscribe : </font></tt><tt><font size="2"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></font></tt><tt><font size="2"><br>
> <br>
> <br>
<br>
</font></tt><br>
</body></html>