Schema-error : routing-instance fails to reinitialize (which has unicode FQNAME)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
Undecided
|
Unassigned | ||
R3.2 |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
In Contrail 3.2,
During the schema startup, routing instance(which has unicode chars in FQNAME) fails to reinitialize with below error.
Error in reinit routing instance default-
Root cause:
------------
schema-transformer sends the key(routing instance FQNAME) as unicode data type to get route target. But It receives the response as encoded(utf-8) key and value. Hence key doesnot match with the requested one.
1. schema(unicode key)
2. pycassa(unicode key)
3. pycassa(receives utf-8 encoded unicode key)
4. schema(receives utf-8 encoded unicode key)
and it fails to match.
Proposed Fix:
In the config/
convert the keys in to the utf-8 encoded form.
information type: | Proprietary → Public |
Review in progress for https:/ /review. opencontrail. org/48191
Submitter: Jean-Philippe Braun (<email address hidden>)