sudhakaroq's profile - activity

2018-09-05 06:53:59 -0500 received badge  Famous Question (source)
2017-04-27 09:28:35 -0500 received badge  Popular Question (source)
2017-04-27 09:28:35 -0500 received badge  Notable Question (source)
2013-04-11 05:33:34 -0500 answered a question Propagating quantum errors to Horizon

Its look like devstack by default is using local_settings.py.example. After getting latest source from git, my little error propagating test is working now. Thanks for your help Julie.

2013-04-10 04:29:55 -0500 asked a question Propagating quantum errors to Horizon

Hi,

I am using devstack single node installation with quantum enabled for my openstack learning and quantum plugin development.

Is there a way to send custom error messages from quantum plugin to Horizon to pop it to user?

I tried it by raising exceptions with a message, but horizon never displayed my exception message! For example, when I threw exception in my Create_Network handler, the horizon always displaying - 'Error: There was an error submitting the form. Please try again' instead of my exception message.

Thanks.

2013-03-04 21:56:46 -0500 answered a question quantum plugin floating_ip api error

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.

2013-03-04 05:00:24 -0500 answered a question quantum plugin floating_ip api error

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": "2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jE2LjQuMTkwOjUwMDAvdjIuMCJ9XSwgImVuZHBvaW50c19saW5rcyI6IFtdLCAidHlwZSI6ICJpZGVudGl0eSIsICJuYW1lIjogImtleXN0b25lIn1dLCAidXNlciI6IHsidXNlcm5hbWUiOiAiYWRtaW4iLCAicm9sZXNfbGlua3MiOiBbXSwgImlkIjogIjc2NzA4YTUwNzU5YzQzNzFhM2QxZTYwNmQ3NzQxYjM4IiwgInJvbGVzIjogW3sibmFtZSI6ICJhZG1pbiJ9XSwgIm5hbWUiOiAiYWRtaW4ifSwgIm1ldGFkYXRhIjogeyJpc19hZG1pbiI6IDAsICJyb2xlcyI6IFsiMDA2NjAxZDdjMDBiNDFlMThmMTE5MmFiYjlmOTM2YzQiXX19fTGB-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: MIILZwYJKoZIhvcNAQcCoIILWDCCC1QCAQExCTAHBgUrDgMCGjCCCkAGCSqGSIb3DQEHAaCCCjEEggoteyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wMy0wNFQwNDo0ODo0MC4xNTM2NTUiLCAiZXhwaXJlcyI6ICIyMDEzLTAzLTA1VDA0OjQ4OjQwWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImVuYWJsZWQiOiB0cnVlLCAiZGVzY3JpcHRpb24iOiBudWxsLCAibmFtZSI6ICJhZG1pbiIsICJpZCI6ICJmMGMzYzIwZjBkNzg0MzEwOWE4ZDZkNDAyNjljZDRkNSJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzE3Mi4xNi40LjE5MDo4Nzc0L3YyL2YwYzNjMjBmMGQ3ODQzMTA5YThkNmQ0MDI2OWNkNGQ1IiwgInJlZ2lvbiI6ICJSZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzE3Mi4xNi40LjE5MDo4Nzc0L3YyL2YwYzNjMjBmMGQ3ODQzMTA5YThkNmQ0MDI2OWNkNGQ1IiwgImlkIjogImM0M2QxNDY5MTgyZjQyNDU5OTM5OWI5ZWIzNjIzZDc5IiwgInB1YmxpY1VSTCI6ICJodHRwOi8vMTcyLjE2LjQuMTkwOjg3NzQvdjIvZjBjM2MyMGYwZDc4NDMxMDlhOGQ2ZDQwMjY5Y2Q0ZDUifV0sICJlbmRwb2ludHNfbGlua3MiOiBbXSwgInR5cGUiOiAiY29tcHV0ZSIsICJuYW1lIjogIm5vdmEifSwgeyJlbmRwb2ludHMiOiBbeyJhZG1pbl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zRhMTFiNjBjODc0Mzc0MTc2Yzk0IiwgInB1YmxpY1VSTCI6ICJodHRwOi8vMTcyLjE2LjQuMTkwOjUwMDAvdjIuMCJ9XSwgImVuZHBvaW50c19saW5rcyI6IFtdLCAidHlwZSI6ICJpZGVudGl0eSIsICJuYW1lIjogImtleXN0b25lIn1dLCAidXNlciI6IHsidXNlcm5hbWUiOiAiYWRtaW4iLCAicm9sZXNfbGlua3MiOiBbXSwgImlkIjogIjc2NzA4YTUwNzU5YzQzNzFhM2QxZTYwNmQ3NzQxYjM4IiwgInJvbGVzIjogW3sibmFtZSI6ICJhZG1pbiJ9XSwgIm5hbWUiOiAiYWRtaW4ifSwgIm1ldGFkYXRhIjogeyJpc19hZG1pbiI6IDAsICJyb2xlcyI6IFsiMDA2NjAxZDdjMDBiNDFlMThmMTE5MmFiYjlmOTM2YzQiXX19fTGB-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)

2013-03-03 19:59:36 -0500 answered a question quantum plugin floating_ip api error

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?

2013-03-03 14:03:51 -0500 asked a question quantum plugin floating_ip api error

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)

2013-03-03 13:10:56 -0500 answered a question provider network vlan tag numbers

Thanks dan wendlandt, that solved my question.

2013-03-02 06:58:14 -0500 asked a question provider network vlan tag numbers

I am using devstack single node installation with quantum enabled for my openstack learning and quantum plugin development. When I create provider vlan networks with particular segment number and some ports on them, I observed tag numbers on br-int are not same as my network segment numbers. Am I missing something here or my configuration for provider networks is wrong? My localrc:

disable_service n-net enable_service q-svc enable_service q-agt enable_service q-dhcp enable_service q-l3 enable_service q-meta enable_service quantum

ENABLE_TENANT_VLANS=True TENANT_VLAN_RANGE=1:1999 PHYSICAL_NETWORK=default OVS_PHYSICAL_BRIDGE=br-Test

mysql> select * from ovs_network_bindings; +--------------------------------------+--------------+------------------+-----------------+ | network_id | network_type | physical_network | segmentation_id | +--------------------------------------+--------------+------------------+-----------------+ | 9414d425-0bba-4d01-92da-11a725143cea | vlan | default | 2 | | d14e28b5-715c-42c3-b8f0-ba53538c05f3 | vlan | default | 50 | | d8852047-435e-485e-8bd6-c82d487d0992 | vlan | default | 1 | +--------------------------------------+--------------+------------------+-----------------+

root@ubuntu:/opt/stack/devstack# ovs-vsctl show 3a7b5c2c-539b-4325-99a3-32cea4acf646 Bridge br-Test Port br-Test Interface br-Test type: internal Port phy-br-Test Interface phy-br-Test Bridge br-ex Port br-ex Interface br-ex type: internal Port "qg-06a68938-de" Interface "qg-06a68938-de" type: internal Bridge br-int Port "tap72d47fb2-fa" tag: 2 Interface "tap72d47fb2-fa" type: internal Port br-int Interface br-int type: internal Port "qvo1caa86ef-9a" tag: 3 Interface "qvo1caa86ef-9a" Port "tapd73218b5-d2" tag: 1 Interface "tapd73218b5-d2" type: internal Port int-br-Test Interface int-br-Test Port "qvo87646ffd-1a" tag: 2 Interface "qvo87646ffd-1a" Port "qr-777e5d43-f8" tag: 1 Interface "qr-777e5d43-f8" type: internal ovs_version: "1.4.3"