Project

General

Profile

Actions

Bug #14090

closed

rgw: the response XML format of admin policy API is error

Added by Dunrong Huang over 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% 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>&lt;AccessControlPolicy xmlns="http://s3.amazonaws.com/doc/2006-03-01/"&gt;&lt;Owner&gt;&lt;ID&gt;testuser&lt;/ID&gt;&lt;DisplayName&gt;testuser&lt;/DisplayName&gt;&lt;/Owner&gt;&lt;AccessControlList&gt;&lt;Grant&gt;&lt;Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser"&gt;&lt;ID&gt;testuser&lt;/ID&gt;&lt;DisplayName&gt;testuser&lt;/DisplayName&gt;&lt;/Grantee&gt;&lt;Permission&gt;FULL_CONTROL&lt;/Permission&gt;&lt;/Grant&gt;&lt;/AccessControlList&gt;&lt;/AccessControlPolicy&gt;</policy>
    
Actions #2

Updated by Kefu Chai over 8 years ago

  • Status changed from New to Pending Backport
Actions #3

Updated by Kefu Chai over 8 years ago

  • Status changed from Pending Backport to Fix Under Review
Actions #4

Updated by Yehuda Sadeh almost 8 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #5

Updated by Nathan Cutler almost 8 years ago

  • Backport set to jewel
Actions #7

Updated by Loïc Dachary over 7 years ago

  • Status changed from Pending Backport to Resolved
  • Backport deleted (jewel)
Actions

Also available in: Atom PDF