yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #18869
[Bug 1354258] [NEW] nova-api will go wrong if AZ name has space in it when memcach is used
Public bug reported:
Description:
1. memcahe is enabled
2. AZ name has space in it such as "vmware region"
Then the nova-api will go wrong:
[root@rs-144-1 init.d]# nova list
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-a26c1fd3-ce08-4875-aacf-f8db8f73b089)
Reason:
Memcach retrieve the AZ name as key and check it. It will raise an error if there are unexpected character in the key.
LOG in /var/log/api.log
2014-08-08 03:22:50.525 23184 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/nova/availability_zones.py", line 145, in get_instance_availability_zone
2014-08-08 03:22:50.525 23184 TRACE nova.api.openstack az = cache.get(cache_key)
2014-08-08 03:22:50.525 23184 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/memcache.py", line 898, in get
2014-08-08 03:22:50.525 23184 TRACE nova.api.openstack return self._get('get', key)
2014-08-08 03:22:50.525 23184 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/memcache.py", line 847, in _get
2014-08-08 03:22:50.525 23184 TRACE nova.api.openstack self.check_key(key)
2014-08-08 03:22:50.525 23184 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/memcache.py", line 1065, in check_key
2014-08-08 03:22:50.525 23184 TRACE nova.api.openstack # "Control characters not allowed")
2014-08-08 03:22:50.525 23184 TRACE nova.api.openstack MemcachedKeyCharacterError: Control characters not allowed
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1354258
Title:
nova-api will go wrong if AZ name has space in it when memcach is used
Status in OpenStack Compute (Nova):
New
Bug description:
Description:
1. memcahe is enabled
2. AZ name has space in it such as "vmware region"
Then the nova-api will go wrong:
[root@rs-144-1 init.d]# nova list
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-a26c1fd3-ce08-4875-aacf-f8db8f73b089)
Reason:
Memcach retrieve the AZ name as key and check it. It will raise an error if there are unexpected character in the key.
LOG in /var/log/api.log
2014-08-08 03:22:50.525 23184 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/nova/availability_zones.py", line 145, in get_instance_availability_zone
2014-08-08 03:22:50.525 23184 TRACE nova.api.openstack az = cache.get(cache_key)
2014-08-08 03:22:50.525 23184 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/memcache.py", line 898, in get
2014-08-08 03:22:50.525 23184 TRACE nova.api.openstack return self._get('get', key)
2014-08-08 03:22:50.525 23184 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/memcache.py", line 847, in _get
2014-08-08 03:22:50.525 23184 TRACE nova.api.openstack self.check_key(key)
2014-08-08 03:22:50.525 23184 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/memcache.py", line 1065, in check_key
2014-08-08 03:22:50.525 23184 TRACE nova.api.openstack # "Control characters not allowed")
2014-08-08 03:22:50.525 23184 TRACE nova.api.openstack MemcachedKeyCharacterError: Control characters not allowed
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1354258/+subscriptions
Follow ups
References