Unable to start rgw after upgrade from

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rgw hammer -> jewel
Next method helped me

After upgrading newly remake rgw on jewel
ceph auth del client.rgw.ceph403
rm /var/lib/ceph/radosgw/ceph-rgw.ceph403/
ceph-deploy --overwrite-conf rgw create ceph403
systemctl stop ceph-radosgw.target
systemctl start ceph-radosgw.target
systemctl status ceph-radosgw.target


After updating of all rgw if they still fall down
Check ceph -s has no errors
Ceph osd tree shows all osd are there
So lets start treatment of schema

Must all rgw be stoped
systemctl stop ceph-radosgw.target

wget https://raw.githubusercontent.com/yehudasa/ceph/wip-fix-default-zone/src/fix-zone
chmod +x fix-zone
./fix-zone

It makes backup of rgw.root and repairs zones saving next files to current dir: default-zg.json default-zone-fixed.json
Edit them by inserting  realm_id
(radosgw-admin realm list)
Remove symbol "_" at the endings of pool names

radosgw-admin zonegroup set --rgw-zonegroup default < default-zg.json
radosgw-admin zone set --rgw-zonegroup default --rgw-zone default < default-zone-fixed.json

radosgw-admin zonegroup default --rgw-zonegroup default
radosgw-admin zone default --rgw-zone default

check
radosgw-admin zonegroup list
radosgw-admin zonegroup get
radosgw-admin zone list
radosgw-admin zone get

radosgw-admin period update
no errors, only then commit
radosgw-admin period update --commit

systemctl start ceph-radosgw.target

check that everything is ok
radosgw-admin metadata list user
radosgw-admin bucket list

--
Petr Malkov


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20170306/947bdbae/attachment.htm>


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux