Bug 1383631 - Old radosgw-admin corrupt radosgw configuration for an upgrade radosgw
Summary: Old radosgw-admin corrupt radosgw configuration for an upgrade radosgw
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 2.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: 2.1
Assignee: Orit Wasserman
QA Contact: Vasishta
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-11 09:52 UTC by Orit Wasserman
Modified: 2017-07-30 15:48 UTC (History)
10 users (show)

Fixed In Version: RHEL: ceph-10.2.3-8.el7cp Ubuntu: ceph_10.2.3-9redhat1xenial
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-22 19:32:18 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 17371 0 None None None 2016-10-11 09:52:51 UTC
Red Hat Product Errata RHSA-2016:2815 0 normal SHIPPED_LIVE Moderate: Red Hat Ceph Storage security, bug fix, and enhancement update 2017-03-22 02:06:33 UTC

Description Orit Wasserman 2016-10-11 09:52:52 UTC
Description of problem:

Running radosgw-admin from 1.3 corrupts radosgw-admin configuration (default and multisite)
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.Run radosgw-admin from 1.3 on a 2.0 (or later) radosgw  
2.Restart the radosgw
3.

Actual results:
Configuration get corrupted.
zonegroup default and zone default get reset

Expected results:
No change in configuration

Additional info:

Comment 2 Orit Wasserman 2016-10-11 12:27:26 UTC
upstream pull request: https://github.com/ceph/ceph/pull/11426

Comment 7 Vasishta 2016-11-08 16:26:49 UTC
Hi,

I tried running radosgw-admin from 1.3 on a 2.1 radosgw, working fine

radosgw-admin from 1.3,

[ubuntu@magna068 ~]$ sudo ceph --version
ceph version 0.94.9-3.el7cp (7358f71bebe44c463df4d91c2770149e812bbeaa)
[ubuntu@magna068 ~]$ sudo radosgw-admin zone list
{
    "zones": [
        "default"
    ]
}

[ubuntu@magna068 ~]$ sudo radosgw-admin region list
{
    "default_info": {
        "default_region": ""
    },
    "regions": []
}

After creating two new zones from 2.0 radosgw,
[ubuntu@magna068 ~]$ sudo radosgw-admin zone list
{
    "zones": [
        "b4d3bf71-e7b1-4795-b66b-638135b140bc",
        "default",
        "420b2a97-a4a2-400a-97a2-7efaeeb01cb0"
    ]
}


After discussing with Orit on IRC, got to know that zone ID getting printed on 1.3 radosgw-admin when zones are listed (as pasted above) is expected. 
As there was no configuration corruption observed, moving this to VERIFIED state.

Regards,
Vasishta

Comment 9 errata-xmlrpc 2016-11-22 19:32:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2016-2815.html


Note You need to log in before you can comment on or make changes to this bug.