<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" id="owaParaStyle"></style><style type="text/css"></style><style type="text/css"></style>
</head>
<body dir="auto" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Courier New;color: #000000;font-size: 10pt;">
Sort of.
<div><br>
</div>
<div>Openstack RPC-over-AMQP (oslo.messaging) automatically ack()'s all messages that are received. So, it becomes the responsibility of the sender to retry. For example, the scheduler in Nova does this. However, if the client fails before getting the message,
 AMQP will automatically requeue it and send it to another client. But that's an unlikely occurrence as it's queue-per-host so there wouldn't be a second client. Therefore, queues should be configured to be durable.</div>
<div><br>
</div>
<div>Hope it helps!</div>
<div>-S<br>
<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF183720" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Aaron Knister [aaron.knister@gmail.com]<br>
<b>Sent:</b> Tuesday, October 14, 2014 12:00 PM<br>
<b>To:</b> Raghu Vadapalli<br>
<b>Cc:</b> <openstack@lists.openstack.org><br>
<b>Subject:</b> Re: [Openstack] Messaging reliability/durability expectations<br>
</font><br>
</div>
<div></div>
<div>
<div>Thanks Raghu. I think I might not be asking the right questions. Part of my ignorance here comes from not understanding AMQP. I think really what I'm trying to figure out is whether openstack expects durable queues. It sounds like the answer is no but
 confirmation of this would be great. Even if it doesn't expect durable queues is there a noticeable advantage to openstack to have them?</div>
<div><br>
</div>
<div>Thanks again!<br>
<br>
Sent from my iPhone</div>
<div><br>
On Oct 14, 2014, at 10:12 AM, Raghu Vadapalli <<a href="mailto:rvatspacket@gmail.com" target="_blank">rvatspacket@gmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div><span id="mailbox-conversation"><br>
</span><br>
<br>
<span class="none">
<div class="mailbox_signature" style="display:block"><br>
—<br>
Raghu</div>
<span id="orc-full-body-initial-text" style="display:inline"><br>
On Tuesday, Oct 14, 2014 at 7:49 AM, Aaron Knister <<a href="mailto:aaron.knister@gmail.com" target="_blank">aaron.knister@gmail.com</a>>, wrote:<br>
</span>
<blockquote class="gmail_quote">
<div>Thanks Remo, could you elaborate a little? Which is part of RabbitMQ? The HA layer or the message retransmission? I'm currently using qpid. Also, just so I'm clear, is it the openstack code or the low-level messaging drivers (rabbit, zmq, qpid) that retransmit
 on message delivery failure?</div>
<div><br>
</div>
<div>Thanks!<br>
<br>
</div>
</blockquote>
<span class="mailbox-inline-edit">​</span>
<div>That should be the job messaging infrastructure provided by rabbit or qpid </div>
<div>Raghu<br>
<blockquote class="gmail_quote">
<div><br>
Sent from my iPhone</div>
<div><br>
On Oct 13, 2014, at 11:59 PM, Remo Mattei <<a href="mailto:remo@italy1.com" target="_blank">remo@italy1.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>That is part of RabbitMQ and yes it will resend the msg. 
<div class=""><br class="">
</div>
<div class="">Remo <br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Oct 13, 2014, at 22:31, Aaron Knister <<a href="mailto:aaron.knister@gmail.com" class="" target="_blank">aaron.knister@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="auto" class="">
<div class="">Hi Everyone,</div>
<div class=""><br class="">
</div>
<div class="">I'm building a production-grade cloud where HA is a requirement. I'm currently working on implementing HA of the messaging layer and am not clear on what the expectations/assumptions are of the messaging layer regarding message durability and
 reliability. I've seen documentation scattered about that suggests OpenStack makes no assumptions that messages will be delivered or will need to persist for any period of time (<a href="https://openstack.redhat.com/Highly_Available_Qpid_for_OpenStack" class="" target="_blank">https://openstack.redhat.com/Highly_Available_Qpid_for_OpenStack</a>).</div>
<div class=""><br class="">
</div>
<div class="">What's the consequence of RPC message loss within openstack? Is it true that it will resend messages?</div>
<div class=""><br class="">
</div>
<div class="">Thanks!</div>
<div class=""><br class="">
</div>
<div class="">-Aaron</div>
!DSPAM:1,543c9c2325772110695322! </div>
_______________________________________________<br class="">
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" class="" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br class="">
Post to     : <a href="mailto:openstack@lists.openstack.org" class="" target="_blank">
openstack@lists.openstack.org</a><br class="">
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" class="" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br class="">
<br class="">
<br class="">
!DSPAM:1,543c9c2325772110695322!<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</blockquote>
</div>
</span></div>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>