Can not translate special char "&" in XML function create_volume_metadata volumes_client.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Ryan McNair | ||
tempest |
Fix Released
|
Undecided
|
Ryan McNair |
Bug Description
1. I add special char like ""!@#$%^&*" in volume "metadata = {"key1": "value1",
2. I test it successfully in volumes_
3. When I test it in XML function, it report error like below
Traceback (most recent call last):
File "/tempest/
metadata)
File "/tempest/
self.headers)
File "/tempest/
return self.request(
File "/tempest/
resp, resp_body)
File "/tempest/
raise exceptions.
ServerFault: Got server fault
Details: The server has either erred or is incapable of performing the requested operation.
4. After our investigation, we find when we remove special char "&" , it will be ok. So I think in XML function, it can not translate these special char to correct format.
I also run it in tempest, it also run same error
FAIL: tempest.
2014-01-13 11:13:15.079 | Traceback (most recent call last):
2014-01-13 11:13:15.079 | File "tempest/
2014-01-13 11:13:15.079 | metadata)
2014-01-13 11:13:15.079 | File "tempest/
2014-01-13 11:13:15.079 | self.headers)
2014-01-13 11:13:15.080 | File "tempest/
2014-01-13 11:13:15.080 | return self.request(
2014-01-13 11:13:15.080 | File "tempest/
2014-01-13 11:13:15.080 | resp, resp_body)
2014-01-13 11:13:15.080 | File "tempest/
2014-01-13 11:13:15.080 | raise exceptions.
2014-01-13 11:13:15.080 | ServerFault: Got server fault
2014-01-13 11:13:15.080 | Details: The server has either erred or is incapable of performing the requested operation
no longer affects: | qtdeclarative-opensource-src (Ubuntu) |
description: | updated |
Changed in cinder: | |
assignee: | nobody → Ryan McNair (rdmcnair) |
Changed in tempest: | |
status: | New → In Progress |
assignee: | nobody → Ryan McNair (rdmcnair) |
Thanks for your bug report. It looks like a bug not in qtdeclarative, but in some other package (openstack?) instead. Please reassign it as appropriate.