Bug 1393283

Summary: [RGW] [RFE] - Zone ID getting printed when zones are listed from 1.3 radosgw-admin on 2.0 RGW
Product: Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: RGWAssignee: Matt Benjamin (redhat) <mbenjamin>
Status: CLOSED WONTFIX QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.1CC: cbodley, ceph-eng-bugs, kbader, kdreyer, mbenjamin, owasserm, sweil, yehuda
Target Milestone: rc   
Target Release: 2.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-05 19:31:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vasishta 2016-11-09 09:21:45 UTC
Description of problem:
Zone ID is getting printed when zones are listed from 1.3 radosgw-admin on 2.0 RGW

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. Get a 1.3 cluster with one RGW node
2. Install ceph-common, ceph-radosgw packages and copy /etc/ceph/ contents of existing node on a fresh node after enabling 1.3 tool repos.
3. Upgrade existing cluster and create some zones.
4. Run sudo radosgw-admin zone list' on the node on which ceph-radosgw package is installed.

Actual results:
$ sudo radosgw-admin zone list
{
    "zones": [
        "b4d3bf71-e7b1-4795-b66b-638135b140bc",
        "default",
        "420b2a97-a4a2-400a-97a2-7efaeeb01cb0"
    ]
}


Expected results:
$ sudo radosgw-admin zone list
{
    "zones": [
        "<zone_name1>",
        "default",
        "<zone_name2>"
    ]
}


Additional info: