Ask Your Question
0

Unable to create security group.

asked 2014-03-24 09:41:50 -0500

ogzy gravatar image

I had checked previously asked questions but couldn't find a solution to my problem. At the dashboard when i try to create security group, , get unable to create security group error. Also retrieving gives error.

# cat /etc/nova/nova.conf | grep firewall_driver
firewall_driver=nova.virt.firewall.NoopFirewallDriver
#firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver

# cat /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini | grep firewall
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
# firewall_driver = neutron.agent.firewall.NoopFirewallDriver
# Example: firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver


# tail -n 100 /var/log/nova/nova-api.log

2014-03-24 14:39:06.486 16362 INFO nova.osapi_compute.wsgi.server [-] (16362) accepted ('127.0.0.1', 33987)

2014-03-24 14:39:06.488 16362 INFO keystoneclient.middleware.auth_token [-] Auth Token proceeding with requested v2.0 apis
2014-03-24 14:39:07.389 16362 INFO nova.osapi_compute.wsgi.server [req-63777b51-da4b-46b2-af82-767598d673de 9350b3bef19a4a0f9c41beea4a598dd0 67aa91184b2b40299b1f05ec6ceb95c1] 127.0.0.1 "GET /v2/67aa91184b2b40299b1f05ec6ceb95c1/os-simple-tenant-usage?start=2014-03-24T00:00:00&end=2014-03-24T23:59:59&detailed=1 HTTP/1.1" status: 200 len: 193 time: 0.9020300

2014-03-24 14:39:07.392 16362 INFO nova.osapi_compute.wsgi.server [-] (16362) accepted ('127.0.0.1', 33992)

2014-03-24 14:39:07.409 16362 INFO nova.osapi_compute.wsgi.server [req-fc015ca6-46d4-45dd-a75f-2ed7f5c946a1 9350b3bef19a4a0f9c41beea4a598dd0 67aa91184b2b40299b1f05ec6ceb95c1] 127.0.0.1 "GET /v2/67aa91184b2b40299b1f05ec6ceb95c1/limits HTTP/1.1" status: 200 len: 604 time: 0.0164211

2014-03-24 14:39:10.210 16362 INFO nova.osapi_compute.wsgi.server [-] (16362) accepted ('127.0.0.1', 34004)

2014-03-24 14:39:10.235 16362 INFO nova.osapi_compute.wsgi.server [req-7c874d87-84ae-4b51-82b0-c57fc04f3329 9350b3bef19a4a0f9c41beea4a598dd0 67aa91184b2b40299b1f05ec6ceb95c1] 127.0.0.1 "GET /v2/67aa91184b2b40299b1f05ec6ceb95c1/os-simple-tenant-usage/67aa91184b2b40299b1f05ec6ceb95c1?start=2014-03-24T00:00:00&end=2014-03-24T23:59:59 HTTP/1.1" status: 200 len: 192 time: 0.0235350

2014-03-24 14:39:10.238 16362 INFO nova.osapi_compute.wsgi.server [-] (16362) accepted ('127.0.0.1', 34005)

2014-03-24 14:39:10.253 16362 INFO nova.osapi_compute.wsgi.server [req-2a441c10-001b-4675-bde3-e762cd681f89 9350b3bef19a4a0f9c41beea4a598dd0 67aa91184b2b40299b1f05ec6ceb95c1] 127.0.0.1 "GET /v2/67aa91184b2b40299b1f05ec6ceb95c1/limits HTTP/1.1" status: 200 len: 604 time: 0.0135591

2014-03-24 14:39:14.652 16362 INFO nova.osapi_compute.wsgi.server [-] (16362) accepted ('127.0.0.1', 34018)

2014-03-24 14:39:14.661 16362 ERROR nova.network.security_group.neutron_driver [req-9f5f40ee-47a9-4204-886e-7355f43aa673 9350b3bef19a4a0f9c41beea4a598dd0 67aa91184b2b40299b1f05ec6ceb95c1] Neutron Error getting security groups
2014-03-24 14:39:14.661 16362 TRACE nova.network.security_group.neutron_driver Traceback (most recent call last):
2014-03-24 14:39:14.661 16362 TRACE nova.network.security_group.neutron_driver   File "/usr/lib/python2.7/dist-packages/nova/network/security_group/neutron_driver.py", line 158, in list
2014-03-24 14:39:14.661 16362 TRACE nova.network.security_group.neutron_driver     security_groups = neutron.list_security_groups(**search_opts).get(
2014-03-24 14:39:14.661 16362 TRACE nova.network.security_group.neutron_driver   File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 108, in with_params
2014-03-24 14:39:14.661 16362 TRACE nova.network.security_group.neutron_driver     ret = self.function(instance, *args, **kwargs)
2014-03-24 14:39:14.661 16362 TRACE nova.network.security_group.neutron_driver   File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 466, in list_security_groups
2014-03-24 14:39:14.661 16362 TRACE nova.network.security_group.neutron_driver     retrieve_all ...
(more)
edit retag flag offensive close merge delete

Comments

Verify that Neutron-Server is running and it is able to talk to qpid/rabbit, depending on which one you are using. You might find some relevant output in the neutron log as well.

mpetason gravatar imagempetason ( 2014-03-24 11:04:33 -0500 )edit

Try this:

nova-manage db sync

service neutron-server restart.

mpetason gravatar imagempetason ( 2014-03-24 12:08:28 -0500 )edit

Didn't change anything.

ogzy gravatar imageogzy ( 2014-03-25 02:54:58 -0500 )edit

Are you able to view any other network information? Did you setup the neutron endpoints in Keystone for the service?

keystone endpoint-list

Make sure you have an endpoint for neutron. Then make sure the endpoint is pointed at the server that is running neutron-server.

mpetason gravatar imagempetason ( 2014-03-25 14:01:07 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-03-24 11:26:56 -0500

ogzy gravatar image

updated 2014-03-24 11:46:40 -0500

neutron is working as well as rabbitmq

Maybe this can help

# tail -f /var/log/neutron/server.log | grep "No route"
2014-03-24 16:45:18.828 9965 DEBUG routes.middleware [-] No route matched for GET /ports.json __call__ /usr/lib/python2.7/dist-packages/routes/middleware.py:97
2014-03-24 16:45:23.085 9965 DEBUG routes.middleware [-] No route matched for GET /ports.json __call__ /usr/lib/python2.7/dist-packages/routes/middleware.py:97
2014-03-24 16:45:25.660 9965 DEBUG routes.middleware [-] No route matched for GET /ports.json __call__ /usr/lib/python2.7/dist-packages/routes/middleware.py:97
2014-03-24 16:45:25.678 9965 DEBUG routes.middleware [-] No route matched for GET /networks.json __call__ /usr/lib/python2.7/dist-packages/routes/middleware.py:97
2014-03-24 16:45:25.906 9965 DEBUG routes.middleware [-] No route matched for GET /ports.json __call__ /usr/lib/python2.7/dist-packages/routes/middleware.py:97
edit flag offensive delete link more

Comments

Hi, are you able to solve this issue, i am facing the same. Help me to fix it.

vikrant gravatar imagevikrant ( 2017-05-04 08:27:22 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-03-24 09:41:50 -0500

Seen: 1,099 times

Last updated: Mar 24 '14