<div dir="ltr">Hi, Gary<div>   Thanks for your response, i have created router, the fact is that firewall rules don't update share status when updating the corresponding firewall policy share=true. so create firewall under another project and thus fail.</div>
<div>so i think it's a bug.</div><div>what do you think?</div><div><br></div><div>cheers,</div><div>Xurong</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-05 22:00 GMT+08:00 Gary Duan <span dir="ltr"><<a href="mailto:garyduan@gmail.com" target="_blank">garyduan@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Xurong,<div><br></div><div>Firewall is colocated with router. You need to create a router, then the firewall state will be updated.</div>
<div><br></div><div>Gary</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">
On Thu, Jun 5, 2014 at 2:48 AM, Xurong Yang <span dir="ltr"><<a href="mailto:idopra@gmail.com" target="_blank">idopra@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<div dir="ltr">Hi, Stackers<div>My use case:</div><div><br></div><div>under project_id A:</div><div>1.create firewall rule default(share=false).</div><div>2.create firewall policy default(share=false).</div><div>3.attach rule to policy.</div>


<div>4.update policy(share=true)</div><div><br></div><div>under project_id B:</div><div>1.create firewall with policy(share=true) based on project A.</div><div>then create firewall fail and suspend with status=PENDING_CREATE</div>


<div><br></div><div><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">openstack@openstack03:~/Vega$ neutron firewall-policy-list
+--------------------------------------+------+----------------------------------------+
| id                                   | name | firewall_rules                         |
+--------------------------------------+------+----------------------------------------+
| 7884fb78-1903-4af6-af3f-55e5c7c047c9 | Demo | [d5578ab5-869b-48cb-be54-85ee9f15d9b2] |
| 949fef5c-8dd5-4267-98fb-2ba17d2b0a96 | Test | [8679da8d-200e-4311-bb7d-7febd3f46e37, |
|                                      |      |  86ce188d-18ab-49f2-b664-96c497318056] |
+--------------------------------------+------+----------------------------------------+
openstack@openstack03:~/Vega$ neutron firewall-rule-list
+--------------------------------------+----------+--------------------------------------+--------------------------------+---------+
| id                                   | name     | firewall_policy_id                   | summary                        | enabled |
+--------------------------------------+----------+--------------------------------------+--------------------------------+---------+
| 8679da8d-200e-4311-bb7d-7febd3f46e37 | DenyOne  | 949fef5c-8dd5-4267-98fb-2ba17d2b0a96 | ICMP,                          | True    |
|                                      |          |                                      |  source: none(none),           |         |
|                                      |          |                                      |  dest: <a href="http://192.168.0.101/32(none)" target="_blank">192.168.0.101/32(none)</a>, |         |
|                                      |          |                                      |  deny                          |         |
| 86ce188d-18ab-49f2-b664-96c497318056 | AllowAll | 949fef5c-8dd5-4267-98fb-2ba17d2b0a96 | ICMP,                          | True    |
|                                      |          |                                      |  source: none(none),           |         |
|                                      |          |                                      |  dest: none(none),             |         |
|                                      |          |                                      |  allow                         |         |
+--------------------------------------+----------+--------------------------------------+--------------------------------+---------+
openstack@openstack03:~/Vega$ neutron firewall-create --name Test Demo
<b>Firewall Rule d5578ab5-869b-48cb-be54-85ee9f15d9b2 could not be found.</b>
openstack@openstack03:~/Vega$ neutron firewall-show Test
+--------------------+--------------------------------------+
| Field              | Value                                |
+--------------------+--------------------------------------+
| admin_state_up     | True                                 |
| description        |                                      |
| firewall_policy_id | 7884fb78-1903-4af6-af3f-55e5c7c047c9 |
| id                 | 7c59c7da-ace1-4dfa-8b04-2bc6013dbc0a |
| name               | Test                                 |
| status             | <b>PENDING_CREATE</b>                       |
| tenant_id          | a0794fca47de4631b8e414beea4bd51b     |
+--------------------+--------------------------------------+</pre></div></div>
<br></div></div>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>