Bug 1009022

Summary: FWaaS commands return 404 (The resource could not be found)
Product: [Community] RDO Reporter: Rami Vaknin <rvaknin>
Component: openstack-neutronAssignee: RHOS Maint <rhos-maint>
Status: CLOSED NOTABUG QA Contact: Ofer Blaut <oblaut>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: chrisw, oblaut, yeylon
Target Milestone: ---Keywords: TestBlocker
Target Release: Havana   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-02 07:12:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Rami Vaknin 2013-09-17 14:04:54 UTC
Version:
RDO Havana on rhel6.4, openstack-neutron-2013.2-0.4.b3.el6, rdo-release-havana-6


Decription:
FWaaS commands return 404 (resource not found).

The environment was installed using packstack, the following configuration was done by packstack:

/etc/neutron/plugin.ini
firewall_driver=neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver


I've tried to add the following configuration and restart neutron-related services, but firewall commands still return 404:

/etc/neutron/neutron.conf
service_provider=FIREWALL:my_firewall:neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver:default

Commands output:

# neutron firewall-list 
404 Not Found

The resource could not be found.

   

# neutron firewall-rule-list 
404 Not Found

The resource could not be found.



# neutron firewall-policy-list 
404 Not Found

The resource could not be found.

   

# neutron firewall-policy-create firewall1_policy
404 Not Found

The resource could not be found.

Comment 1 Rami Vaknin 2013-10-02 07:12:09 UTC
It works for me when using the right configuration:

in the neutron-service machine, neutron.conf, add the following and restart the neutron-service:
service_plugins = neutron.services.firewall.fwaas_plugin.FirewallPlugin


in the l3 machine, neutron.conf, add the following and restart the l3 service:
[fwaas]
driver = neutron.services.firewall.drivers.linux.iptables_fwaas.IptablesFwaasDriver
enabled = True

Closing as NOTABUG.