Devstack fwaas stuck in Pending_Create/Pending_delete when using Fwaas and VPNaas Together

asked 2016-07-28 22:09:16 -0500

Mo Oye gravatar image

Hello I am using fwaas and vpnaas installed through devstack.I am having an issue where firewalls when created get stuck in pending create. I have tried using both the admin and demo accounts added a router to the firewall in both the admin and demo tenants and restarted the q-svc. I have also noticed the problem seems to only happen when I install both the vpnaas and fwaas together. if the fwaas is installed without the vpnaas as a service the firewall starts without incident. Would apreciate any help.

Here's the log from q-svc

2016-07-21 08:53:52.838 ^[[00;32mDEBUG neutron.api.v2.base [^[[01;36mreq-1f1bd515-cd98-47cb-acc7-319ee5f2860b ^[[00;36mdemo 79efdd820596449694e4f2f9798621e6^[[00;32m] ^[[01;35m^[[00;32mRequest body: {u'firewall': {u'router_ids': [u'6b31cb95-e826-4953-953c-890fb0d7277d'], u'description': u'', u'firewall_policy_id': u'3082ac96-0381-463a-b958-535df9d77dd4', u'name': u'test', u'admin_state_up': True}}

(I see the firewall create request above so i know its getting to q-svc)

^[[00m ^[[00;33mfrom (pid=12914) prepare_request_body /opt/stack/neutron/neutron/api/v2/base.py:651^[[00m
2016-07-21 08:53:52.841 ^[[00;32mDEBUG neutron.db.quota.driver [^[[01;36mreq-1f1bd515-cd98-47cb-acc7-319ee5f2860b ^[[00;36mdemo 79efdd820596449694e4f2f9798621e6^[[00;32m] ^[[01;35m^[[00;32mResources endpoint_group,ikepolicy,ipsecpolicy,ipsec_site_connection,subnetpool,vpnservice have unlimited quota limit. It is not required to calculate headroom ^[[00m ^[[00;33mfrom (pid=12914) make_reservation

(Not sure if this has anything to do with this)

/opt/stack/neutron/neutron/db/quota/driver.py:191^[[00m
2016-07-21 08:53:52.842 ^[[00;32mDEBUG neutron_fwaas.db.firewall.firewall_db [^[[01;36mreq-1f1bd515-cd98-47cb-acc7-319ee5f2860b ^[[00;36mdemo 79efdd820596449694e4f2f9798621e6^[[00;32m] ^[[01;35m^[[00;32mget_firewalls_count() called^[[00m ^[[00;33mfrom (pid=12914) get_firewalls_count /opt/stack/neutron-fwaas/neutron_fwaas/db/firewall/firewall_db.py:387^[[00m
2016-07-21 08:53:52.847 ^[[00;32mDEBUG neutron.db.quota.driver [^[[01;36mreq-1f1bd515-cd98-47cb-acc7-319ee5f2860b ^[[00;36mdemo 79efdd820596449694e4f2f9798621e6^[[00;32m] ^[[01;35m^[[00;32mAttempting to reserve 1 items for resource firewall. Total usage: 0; quota limit: 10; headroom:10^[[00m ^[[00;33mfrom (pid=12914) make_reservation /opt/stack/neutron/neutron/db/quota/driver.py:223^[[00m
2016-07-21 08:53:52.887 ^[[00;32mDEBUG neutron_fwaas.services.firewall.fwaas_plugin [^[[01;36mreq-1f1bd515-cd98-47cb-acc7-319ee5f2860b ^[[00;36mdemo 79efdd820596449694e4f2f9798621e6^[[00;32m] ^[[01;35m^[[00;32mcreate_firewall() called^[[00m ^[[00;33mfrom (pid=12914) create_firewall /opt/stack/neutron-fwaas/neutron_fwaas/services/firewall/fwaas_plugin.py:233^[[00m
2016-07-21 08:53:52.887 ^[[00;32mDEBUG neutron_fwaas.db.firewall.firewall_router_insertion_db [^[[01;36mreq-1f1bd515-cd98-47cb-acc7-319ee5f2860b ^[[00;36mdemo 79efdd820596449694e4f2f9798621e6^[[00;32m] ^[[01;35m^[[00;32mneutron_fwaas.services.firewall.fwaas_plugin.FirewallPlugin method validate_firewall_routers_not_in_use called with arguments (<neutron.context.Context object at 0x7f73dd8a5f10>, [u'6b31cb95-e826-4953-953c-890fb0d7277d']) {}^[[00m ^[[00;33mfrom (pid=12914) wrapper /usr/local/lib/python2.7/dist-packages/oslo_log/helpers.py:47^[[00m
2016-07-21 08:53:52.889 ^[[00;32mDEBUG neutron_fwaas.db.firewall.firewall_db [^[[01;36mreq-1f1bd515-cd98-47cb-acc7-319ee5f2860b ^[[00;36mdemo 79efdd820596449694e4f2f9798621e6^[[00;32m] ^[[01;35m^[[00;32mcreate_firewall() called^[[00m ^[[00;33mfrom (pid=12914) create_firewall /opt/stack/neutron-fwaas/neutron_fwaas/db/firewall/firewall_db.py:319^[[00m

Here's my local.conf

[[local|localrc]]
HOST_IP=172.24.9.99
SERVICE_HOST=172.24.9.99
MYSQL_HOST=172.24.9.99
RABBIT_HOST=172.24.9.99
GLANCE_HOSTPORT=172.24.9.99:9292
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=secret
RABBIT_PASSWORD=secret
SERVICE_PASSWORD ...
(more)
edit retag flag offensive close merge delete