Actions
Bug #14090
closedrgw: the response XML format of admin policy API is error
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
- reproduce step:
$ curl -s -X GET http://ceph1:9090/admin/bucket?format=xml&policy&bucket=m8x | xmllint --format -
- expected result
reponse content with XML format
- actual result
reponse with error format like following:<?xml version="1.0" encoding="UTF-8"?> <policy><AccessControlPolicy xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Owner><ID>testuser</ID><DisplayName>testuser</DisplayName></Owner><AccessControlList><Grant><Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser"><ID>testuser</ID><DisplayName>testuser</DisplayName></Grantee><Permission>FULL_CONTROL</Permission></Grant></AccessControlList></AccessControlPolicy></policy>
Actions