quantum plugin floating_ip api error

asked 2013-03-03 14:03:51 -0500

sudhakaroq gravatar image

I am using devstack single node installation with quantum enabled for my openstack learning and quantum plugin development. For the start, I am just trying to create a plugin that calls back openvswitch plugin. Created new plugin folder under stack/quantum/quantum/plugins and added __init__.py and TestPlugin.py files. Created new plugin folder under stack/quantum/etc/quantum/plugins/ and then copied ovs_quantum_plugin.ini and renamed to TestPlugin.ini. Created new file under devstack/lib/quantum_plugins and copied contents of openvswitch file and made changes in it to point my plugin and ini. Changed localtrc to use my plugin.

UnStacked and restacked. But when I try to login it is failing in floating_ips rest call! If I just commentout my plugin in localrc(switching to ovs) then everything works fine.

Pasted my plugin and locarc contents at the bottom. Here is the error:

Environment: Request Method: GET Request URL: http://172.16.4.190/project/

Django Version: 1.4.5 Python Version: 2.7.3 Installed Applications: ['openstack_dashboard', 'django.contrib.contenttypes', 'django.contrib.auth', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'compressor', 'horizon', 'openstack_dashboard.dashboards.project', 'openstack_dashboard.dashboards.admin', 'openstack_dashboard.dashboards.settings', 'openstack_auth'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'horizon.middleware.HorizonMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware')

Traceback: File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response 111. response = callback(request, callback_args, *callback_kwargs) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec 38. return view_func(request, args, *kwargs) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec 54. return view_func(request, args, *kwargs) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec 38. return view_func(request, args, *kwargs) File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py" in view 48. return self.dispatch(request, args, *kwargs) File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch 69. return handler(request, args, *kwargs) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py" in get 155. handled = self.construct_tables() File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py" in construct_tables 146. handled = self.handle_table(table) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py" in handle_table 118. data = self._get_data_dict() File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py" in _get_data_dict 182. self._data = {self.table_class._meta.name: self.get_data()} File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/overview/views.py" in get_data 32. super(ProjectOverview, self).get_data() File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/views.py" in get_data 34. self.usage.get_quotas() File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py" in get_quotas 115. _("Unable to retrieve quota information.")) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py" in get_quotas 112. self.quotas = quotas.tenant_quota_usages(self.request) File "/opt/stack/horizon ... (more)

edit retag flag offensive close merge delete

8 answers

Sort by » oldest newest most voted
0

answered 2013-03-04 12:22:13 -0500

gongysh gravatar image

you can use 'quantum ext-list' to show if the L3 extension is supported by your plugin.

edit flag offensive delete link more
0

answered 2013-03-04 12:23:09 -0500

gongysh gravatar image

and enable debug on the server side to see the URL mapping in /etc/quantum/quantum.conf: debug=True

edit flag offensive delete link more
0

answered 2013-03-03 17:14:33 -0500

danwent gravatar image

this is a 404 error, as the url "/project/" is not something exposed via the quantum API.

edit flag offensive delete link more
0

answered 2013-03-03 19:59:36 -0500

sudhakaroq gravatar image

Thanks Dan for reply. So why is it looking for this "/project/" resource with my plugin. I didn't do any special in my plugin except redirecting the calls to openvswitch plugin. Theoritically, it should work just like openvswitch plugin. Am I missing something basic here?

edit flag offensive delete link more
0

answered 2013-03-04 01:18:06 -0500

gongysh gravatar image

can u use quantum floatingip-list -v to show us your http message trace?

edit flag offensive delete link more
0

answered 2013-03-04 01:20:53 -0500

danwent gravatar image

to be honest, i'm not sure. I'd suggest using the 'quantum' client utility along with the --debug flag, so you can see the exact request and response. I'm not very familiar with horizon + quantum.

edit flag offensive delete link more
0

answered 2013-03-04 05:00:24 -0500

sudhakaroq gravatar image

Yong, Here is the console output when I ran your command.

stack@ubuntu:/opt/stack/devstack$ quantum --os-username admin --os-password password --os-tenant-name admin floatingip-list -v DEBUG: quantumclient.quantum.v2_0.floatingip.ListFloatingIP get_data(Namespace(columns=[], fields=[], filter_specs=[], formatter='table', page_size=None, quote_mode='nonnumeric', request_format='json', show_details=False, sort_dir=[], sort_key=[])) DEBUG: quantumclient.client REQ: curl -i http://127.0.0.1:5000/v2.0/tokens -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-quantumclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "password"}}}'

DEBUG: quantumclient.client RESP:{'date': 'Mon, 04 Mar 2013 04:48:40 GMT', 'vary': 'X-Auth-Token', 'content-length': '6494', 'status': '200', 'content-type': 'application/json'} {"access": {"token": {"issued_at": "2013-03-04T04:48:40.153655", "expires": "2013-03-05T04:48:40Z", "id": "MIILZwYJKoZIhvcNAQcCoIILWDCCC1QCAQExCTAHBgUrDgMCGjCCCkAGCSqGSIb3DQEHAaCCCjEEggoteyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wMy0wNFQwNDo0ODo0MC4xNTM2NTUiLCAiZXhwaXJlcyI6ICIyMDEzLTAzLTA1VDA0OjQ4OjQwWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImVuYWJsZWQiOiB0cnVlLCAiZ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6IDAsICJyb2xlcyI6IFsiMDA2NjAxZDdjMDBiNDFlMThmMTE5MmFiYjlmOTM2YzQiXX19fTGB-zCB-AIBATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIEwVVbnNldDEOMAwGA1UEBxMFVW5zZXQxDjAMBgNVBAoTBVVuc2V0MRgwFgYDVQQDEw93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEgYCeWoMmTSgIGXY0bFbzCIa3X4pp8Zgh3KLL0bya1+RbbQG+a7JBeq7boNK3aSk37mwsJRRtKmxznJPD4ZMXMfDXABhhshzJQ1Hffefgq4B2c69B595cMMVJk3H3pCmlDrNRb6pte4sxrr8EVHP3kXDyIZD2-4PqEGKuH3Sq6aDwqQ==", "tenant": {"enabled": true, "description": null, "name": "admin", "id": "f0c3c20f0d7843109a8d6d40269cd4d5"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://172.16.4.190:8774/v2/f0c3c20f0d7843109a8d6d40269cd4d5", "region": "RegionOne", "internalURL": "http://172.16.4.190:8774/v2/f0c3c20f0d7843109a8d6d40269cd4d5", "id": "c43d1469182f424599399b9eb3623d79", "publicURL": "http://172.16.4.190:8774/v2/f0c3c20f0d7843109a8d6d40269cd4d5"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://172.16.4.190:9696/", "region": "RegionOne", "internalURL": "http://172.16.4.190:9696/", "id": "004dcb123aa741b3927fe596b10e920e", "publicURL": "http://172.16.4.190:9696/"}], "endpoints_links": [], "type": "network", "name": "quantum"}, {"endpoints": [{"adminURL": "http://172.16.4.190:3333", "region": "RegionOne", "internalURL": "http://172.16.4.190:3333", "id": "52411adec86747c7af494cba40301b08", "publicURL": "http://172.16.4.190:3333"}], "endpoints_links": [], "type": "s3", "name": "s3"}, {"endpoints": [{"adminURL": "http://172.16.4.190:9292", "region": "RegionOne", "internalURL": "http://172.16.4.190:9292", "id": "1742c86bd057417eba6e3e3ecfeb77f1", "publicURL": "http://172.16.4.190:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://172.16.4.190:8776/v1/f0c3c20f0d7843109a8d6d40269cd4d5", "region": "RegionOne", "internalURL": "http://172.16.4.190:8776/v1/f0c3c20f0d7843109a8d6d40269cd4d5", "id": "10d29621b98e4caebf894faa30d8b5b7", "publicURL": "http://172.16.4.190:8776/v1/f0c3c20f0d7843109a8d6d40269cd4d5"}], "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL": "http://172.16.4.190:8773/services/Admin", "region": "RegionOne", "internalURL": "http://172.16.4.190:8773/services/Cloud", "id": "344547726c3249d38221cc3f2b9e6763", "publicURL": "http://172.16.4.190:8773/services/Cloud"}], "endpoints_links": [], "type": "ec2", "name": "ec2"}, {"endpoints": [{"adminURL": "http://172.16.4.190:35357/v2.0", "region": "RegionOne", "internalURL": "http://172.16.4.190:5000/v2.0", "id": "232ae24251234a11b60c874374176c94", "publicURL": "http://172.16.4.190:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "76708a50759c4371a3d1e606d7741b38", "roles": [{"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["006601d7c00b41e18f1192abb9f936c4"]}}}

DEBUG: quantumclient.client REQ: curl -i http://172.16.4.190:9696/v2.0/floatingips.json (http://172.16.4.190:9696/v2.0/floatin...) -X GET -H "User-Agent: python-quantumclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: MIILZwYJKoZIhvcNAQcCoIILWDCCC1QCAQExCTAHBgUrDgMCGjCCCkAGCSqGSIb3DQEHAaCCCjEEggoteyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wMy0wNFQwNDo0ODo0MC4xNTM2NTUiLCAiZXhwaXJlcyI6ICIyMDEzLTAzLTA1VDA0OjQ4OjQwWiIsICJpZC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pbiJ9XSwgIm5hbWUiOiAiYWRtaW4ifSwgIm1ldGFkYXRhIjogeyJpc19hZG1pbiI6IDAsICJyb2xlcyI6IFsiMDA2NjAxZDdjMDBiNDFlMThmMTE5MmFiYjlmOTM2YzQiXX19fTGB-zCB-AIBATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIEwVVbnNldDEOMAwGA1UEBxMFVW5zZXQxDjAMBgNVBAoTBVVuc2V0MRgwFgYDVQQDEw93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEgYCeWoMmTSgIGXY0bFbzCIa3X4pp8Zgh3KLL0bya1+RbbQG+a7JBeq7boNK3aSk37mwsJRRtKmxznJPD4ZMXMfDXABhhshzJQ1Hffefgq4B2c69B595cMMVJk3H3pCmlDrNRb6pte4sxrr8EVHP3kXDyIZD2-4PqEGKuH3Sq6aDwqQ=="

DEBUG: quantumclient.client RESP:{'date': 'Mon, 04 Mar 2013 04:48:40 GMT', 'status': '404', 'content-length': '52', 'content-type': 'text/plain; charset=UTF-8'} 404 Not Found

The resource could not be found.

DEBUG: quantumclient.v2_0.client Error message: 404 Not Found

The resource could not be found.

ERROR: quantumclient.shell 404 Not Found

The resource could not be found.

DEBUG: quantumclient.shell clean_up ListFloatingIP DEBUG: quantumclient.shell got an ... (more)

edit flag offensive delete link more
0

answered 2013-03-04 21:56:46 -0500

sudhakaroq gravatar image

I didn't add any extension related stuff in my plugin. I thought underlying openvswitch plugin will take care of all those! After adding 'supported_extension_aliases' in my plugin, this 'resource not found' problem is gone. Now CreateNetwork call is failing! I guess, simply passing the calls from my plugin to openvswitch plugin is not going to work. Thank you Yong and Dan for your help.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-03-03 14:03:51 -0500

Seen: 126 times

Last updated: Mar 04 '13