Activity log for bug #797419

Date Who What changed Old value New value Message
2011-06-14 21:19:03 Salvatore Orlando bug added bug
2011-06-14 22:54:42 Salvatore Orlando description A regular expression error occurs when running Quantum service on a Red Hat installation. The Quantum service is not able to process any requests on account of which this error. The exception trace can be found at http://paste.openstack.org/show/1638/ The offending regular expression appears to be coming from the URL mapper for the "port" resource: ^/tenants\/(?P<tenant_id>[^/]+?)\/networks\/(?P<network_id>[^/]+?)\/port s\/(?P<id>[^/]+?)\/attachment(?P<.format>[^/]+?)(/)?$ Trying to validate the above regex points to a "group" error. Possible workaround is to comment out the mapper.connect() calls for the "port" resource in quantum/api/__init__.py I did not see this error when running Quantum on Ubuntu. Is this an artifact of an incorrect "routes" version that I might be running on RHEL, or is it something else? Any pointers are appreciated. Thanks, ~Sumit. Exception trace: ... ... 2011-06-11 17:04:54 DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True 2011-06-11 17:04:54 DEBUG [eventlet.wsgi.server] (19740) wsgi starting up on http://0.0.0.0:9696/ 2011-06-11 17:09:41 DEBUG [quantum.common.wsgi] HERE - wsgi.Router.__call__ 2011-06-11 17:09:41 DEBUG [eventlet.wsgi.server] Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/eventlet/wsgi.py", line 336, in handle_one_response result = self.application(self.environ, start_response) File "/usr/lib/python2.6/site-packages/paste/urlmap.py", line 203, in __call__ return app(environ, start_response) File "/usr/lib/python2.6/site-packages/webob/dec.py", line 159, in __call__ return resp(environ, start_response) File "/usr/lib/python2.6/site-packages/routes/middleware.py", line 82, in __call__ config.environ = environ File "/usr/lib/python2.6/site-packages/routes/__init__.py", line 22, in __setattr__ self.load_wsgi_environ(value) File "/usr/lib/python2.6/site-packages/routes/__init__.py", line 51, in load_wsgi_environ result = mapper.routematch(path) File "/usr/lib/python2.6/site-packages/routes/mapper.py", line 336, in routematch result = self._match(url) File "/usr/lib/python2.6/site-packages/routes/mapper.py", line 270, in _match self.create_regs() File "/usr/lib/python2.6/site-packages/routes/mapper.py", line 237, in create_regs self._create_regs(*args, **kwargs) File "/usr/lib/python2.6/site-packages/routes/mapper.py", line 251, in _create_regs route.makeregexp(clist) File "/usr/lib/python2.6/site-packages/routes/route.py", line 287, in makeregexp self.regmatch = re.compile(reg) File "/usr/lib64/python2.6/re.py", line 190, in compile return _compile(pattern, flags) File "/usr/lib64/python2.6/re.py", line 245, in _compile raise error, v # invalid expression error: bad character in group name 2011-06-11 17:09:41 DEBUG [eventlet.wsgi.server] 10.10.9.99 - - [11/Jun/2011 17:09:41] "DELETE /v0.1/tenants/totore/networks/000003.json HTTP/1.1" 500 1735 0.004934 A regular expression error occurs when running Quantum service on a Red Hat installation. The Quantum service is not able to process any requests on account of which this error. The exception trace can be found at http://paste.openstack.org/show/1638/ The offending regular expression appears to be coming from the URL mapper for the "port" resource: ^/tenants\/(?P<tenant_id>[^/]+?)\/networks\/(?P<network_id>[^/]+?)\/port s\/(?P<id>[^/]+?)\/attachment(?P<.format>[^/]+?)(/)?$ Trying to validate the above regex points to a "group" error. Possible workaround is to comment out the mapper.connect() calls for the "port" resource in quantum/api/__init__.py The error was not observed on Ubuntu.
2011-06-21 15:41:34 Salvatore Orlando quantum: assignee Salvatore Orlando (salvatore-orlando)
2011-06-21 15:41:41 Salvatore Orlando quantum: status New Confirmed
2011-06-29 10:21:39 Salvatore Orlando branch linked lp:~salvatore-orlando/quantum/bug797419
2011-07-07 09:08:44 Salvatore Orlando quantum: status Confirmed Invalid
2011-07-07 09:09:15 Salvatore Orlando quantum: status Invalid In Progress
2011-07-29 15:47:17 Salvatore Orlando quantum: status In Progress Fix Committed
2011-07-29 15:47:20 Salvatore Orlando quantum: importance Undecided Low
2011-07-29 15:47:22 Salvatore Orlando quantum: importance Low Undecided
2012-01-24 01:29:01 dan wendlandt quantum: status Fix Committed Fix Released
2012-12-12 14:48:10 Yolanda Robla quantum (Ubuntu): status New Fix Released
2012-12-12 14:48:14 Yolanda Robla nominated for series Ubuntu Precise