<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi ,<br>
<br>
Adding more info<br>
<br>
create_firewall(self, agent_mode, apply_list, firewall) and
update_firewall(self, agent_mode, apply_list, firewall) api's are
getting called with empty apply list<br>
<br>
apply_list is generated by the _get_router_info_list_for_tenant. The
rootcause for returning empty list is due to empty self.router_info.<br>
<br>
<br>
If kill the firewall agent and start the firewall agent again ,then
router_info is getting updated with existing router , then
update_firewall is getting called with<br>
non empty apply list so firewall rules are getting applied to
existing routers. But new firewall updates are still not getting
updated as the apply_list is empty.<br>
<br>
So basically to apply the firewall rules i am ending up to restart
the firewall_agent repeatedly<br>
<br>
<br>
The agent which i am using vyatta firewall
agent(neutron_fwaas/services/firewall/agents/vyatta)<br>
<br>
I checked other agents code , the implementation is almost same in
all the agents.<br>
<br>
It seems to be recent breakage as this was working fine in the last
month.<br>
<br>
i suspect recent changes in neutron or neutron-fwaas might have
broken this. <br>
<br>
Can someone help me out on this issue<br>
<br>
Thanks,<br>
bharath<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On Thursday 27 August 2015 09:26 PM,
bharath wrote:<br>
</div>
<blockquote cite="mid:55DF3342.8080403@brocade.com" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
Hi,<br>
<br>
while testing the fwaas , i found router_info is not getting
updated. list awlays seems to be empty and getting updated only
after the restart of fw agent.<br>
<br>
This issue resulting empty list while calling
_get_router_info_list_for_tenant.<br>
<br>
i can see some comments as <b>"for routers without an interface -
get_routers returns the router - but this is not yet populated
in router_info"</b><br>
but in my case even though routers have an interface still the
router_info is empty.<br>
<br>
It seems to be recent breakage as this was working fine in the
last month.<br>
<br>
<br>
Thanks,<br>
bharath<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>
</body>
</html>