Project

General

Profile

Bug #22481

radosgw-admin crashes when the key has wrong permissions

Added by Paul Emmerich over 6 years ago. Updated about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

How to reproduce: remove permissions for the 'default.rgw.meta' pool from the key used by radosgw-admin, then run 'radosgw-admin bucket list' with that key.

    -8> 2017-12-19 17:02:15.752694 7f50387e0700  2 RGWDataChangesLog::ChangesRenewThread: start
    -7> 2017-12-19 17:02:15.752751 7f503bfe7700  4 mgrc handle_mgr_map Got map version 66
    -6> 2017-12-19 17:02:15.752755 7f503bfe7700  4 mgrc handle_mgr_map Active mgr is now 10.0.0.102:6817/3071
    -5> 2017-12-19 17:02:15.752759 7f503bfe7700  4 mgrc reconnect Starting new session with 10.0.0.102:6817/3071
    -4> 2017-12-19 17:02:15.828771 7f50ce765cc0 10 monclient: get_version osdmap req 0x55e5861d1a90
    -3> 2017-12-19 17:02:15.828793 7f50ce765cc0 10 monclient: _send_mon_message to mon.new-croit-host-C0DE01 at 10.0.0.101:6789/0
    -2> 2017-12-19 17:02:15.829025 7f50ba482700 10 monclient: handle_get_version_reply finishing 0x55e5861d1a90 version 88815
    -1> 2017-12-19 17:02:16.173694 7f50ce765cc0  2 all 32 watchers are set, enabling cache
     0> 2017-12-19 17:02:16.176698 7f50ce765cc0 -1 *** Caught signal (Aborted) **
 in thread 7f50ce765cc0 thread_name:radosgw-admin

 ceph version 12.2.2 (cf0baeeeeba3b47f9427c6c97e2144b094b7e5ba) luminous (stable)
 1: (()+0x4d6dd4) [0x55e584834dd4]
 2: (()+0x110c0) [0x7f50cccf30c0]
 3: (gsignal()+0xcf) [0x7f50c20e6fcf]
 4: (abort()+0x16a) [0x7f50c20e83fa]
 5: (__gnu_cxx::__verbose_terminate_handler()+0x15d) [0x7f50c29ff0ad]
 6: (()+0x8f066) [0x7f50c29fd066]
 7: (()+0x8f0b1) [0x7f50c29fd0b1]
 8: (()+0x8f2c9) [0x7f50c29fd2c9]
 9: (librados::NObjectIteratorImpl::get_next()+0x2f0) [0x7f50ce263e20]
 10: (librados::IoCtx::nobjects_begin(ceph::buffer::list const&)+0x50) [0x7f50ce278100]
 11: (librados::IoCtx::nobjects_begin()+0x79) [0x7f50ce2781b9]
 12: (RGWRados::list_buckets_init(void**)+0x3a) [0x55e5845f42aa]
 13: (RGWBucketAdminOp::info(RGWRados*, RGWBucketAdminOpState&, RGWFormatterFlusher&)+0x481) [0x55e5844eeaf1]
 14: (main()+0x9047) [0x55e584481977]
 15: (__libc_start_main()+0xf1) [0x7f50c20d42b1]
 16: (_start()+0x2a) [0x55e5844a96fa]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

History

#1 Updated by Greg Farnum about 6 years ago

  • Project changed from Ceph to rgw
  • Category deleted (22)

Also available in: Atom PDF