utf-8 characters are not supported by opencontrail for resource names
Bug #1396894 reported by
Numan Siddique
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
Medium
|
Numan Siddique | ||
R1.1 |
New
|
Medium
|
Numan Siddique | ||
OpenContrail |
Fix Committed
|
Medium
|
Numan Siddique |
Bug Description
"neutron net-create netéù" is returning "Internal Server Error".
neutron ml2 plugin supports this.
This needs to be supported in opencontrail
The error is mainly seen in Apache thrift (fastbinart.
The issue is not seen when the default encoding is changed to 'utf-8'.
Changed in opencontrail: | |
assignee: | nobody → Numan Siddique (numansiddique) |
status: | New → In Progress |
tags: | added: config |
Changed in juniperopenstack: | |
importance: | Undecided → Medium |
Changed in opencontrail: | |
importance: | Undecided → Medium |
Changed in juniperopenstack: | |
assignee: | nobody → Numan Siddique (numansiddique) |
status: | New → Fix Committed |
To post a comment you must log in.
Below is the exception message
127.0.0.1 - - [2014-11-24 06:08:03] "GET /project/ 5ee0a1e3- 903f-4d2b- adb4-41833ecfc3 b8?exclude_ back_refs= True&exclude_ children= True HTTP/1.1" 200 904 0.124964 lib/python2. 7/dist- packages/ bottle. py", line 862, in _handle lib/python2. 7/dist- packages/ bottle. py", line 1729, in wrapper lib/python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_cfg_ api_server. py", line 475, in handler_ trap_exception lib/python2. 7/dist- packages/ vnc_cfg_ api_server/ gen/vnc_ api_server_ gen.py" , line 17070, in virtual_ networks_ http_post common( request, 'virtual-network', obj_dict) lib/python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_cfg_ api_server. py", line 1375, in _http_post_common 'fq_name' ]) lib/python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_cfg_ ifmap.py" , line 1571, in fq_name_to_uuid _db.fq_ name_to_ uuid(obj_ type, fq_name) lib/python2. 7/dist- packages/ cfgm_common/ vnc_cassandra. py", line 220, in fq_name_to_uuid lib/python2. 7/dist- packages/ pycassa/ columnfamily. py", line 558, in xget execute( 'get_slice' , packed_key, cp, sp, rcl) lib/python2. 7/dist- packages/ pycassa/ pool.py" , line 577, in execute lib/python2. 7/dist- packages/ pycassa/ pool.py" , line 127, in new_f lib/python2. 7/dist- packages/ pycassa/ cassandra/ Cassandra. py", line 579, in get_slice send_get_ slice(key, column_parent, predicate, consistency_level) lib/python2. 7/dist- packages/ pycassa/ cassandra/ Cassandra. py", line 589, in send_get_slice write(self. _oprot) lib/python2. 7/dist- packages/ pycassa/ cassandra/ Cassandra. py", line 3322, in write trans.write( fastbinary. encode_ binary( self, (self.__class__, self.thrift_spec))) exceptions. HttpError' >
Traceback (most recent call last):
File "/usr/local/
return route.call(**args)
File "/usr/local/
rv = callback(*a, **ka)
File "/usr/local/
response = handler(*args, **kwargs)
File "/usr/local/
(ok, result) = self._post_
File "/usr/local/
obj_type, obj_dict[
File "/usr/local/
obj_uuid = self._cassandra
File "/usr/local/
col_infos = list(col_info_iter)
File "/usr/local/
list_cosc = self.pool.
File "/usr/local/
return getattr(conn, f)(*args, **kwargs)
File "/usr/local/
result = f(self, *args, **kwargs)
File "/usr/local/
self.
File "/usr/local/
args.
File "/usr/local/
oprot.
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 24: ordinal not in range(128)
127.0.0.1 - - [2014-11-24 06:08:03] "POST /virtual-networks HTTP/1.1" 500 156 0.274577
<class 'cfgm_common.
Python 2.7.6: /usr/bin/python