Project

General

Profile

Actions

Bug #1522

closed

rgw couldn't read user info

Added by Josh Durgin over 12 years ago. Updated over 6 years ago.

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

0%

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

Description

I'm guessing this is caused by recent changes to argument parsing in radosgw_admin:

$ zcat ~teuthworker/archive/nightly_coverage_2011-09-08/34/remote/ubuntu@sepia72.ceph.dreamhost.com/log/rgw.log.gz | tail -n 15
2011-09-08 01:24:57.659682 7f18cb7fe700 error reading user info, uid=HYHjFv+rECo13k++fTt2Da9pTU8= can't authenticate
2011-09-08 01:24:57.659696 7f18cb7fe700 failed to authorize request
2011-09-08 01:24:57.659716 7f18cb7fe700 --> Status: 403

2011-09-08 01:24:57.659747 7f18cb7fe700 --> Content-Length: 78

2011-09-08 01:24:57.659759 7f18cb7fe700 --> Accept-Ranges: bytes

2011-09-08 01:24:57.659770 7f18cb7fe700 --> Content-type: application/xml

2011-09-08 01:24:57.659791 7f18cb7fe700 nothing to log for operation
2011-09-08 01:24:57.659894 7f18cb7fe700 ====== req done fcgx=0x7f18cc000c50 http_status=403 ======
*** Caught signal (Terminated) **
 in thread 0x7f18d9aa3740. Shutting down.
daemon-helper: command crashed with signal 15

From the teuthology log:

2011-09-08T01:24:17.505 DEBUG:orchestra.run:Running: "LD_LIBRARY_PATH=/tmp/cephtest/binary/usr/local/lib /tmp/cephtest/enable-coredump /tmp/cephtest/binary/usr/local/bin/ceph-coverage /tmp/cephtest/archive/coverage /tmp/cephtest/binary/usr/local/bin/radosgw_admin -c /tmp/cephtest/ceph.conf user create --uid bar.client.0 --display-name 'Mr. bar.client.0' --access-key HYHjFv+rECo13k++fTt2Da9pTU8= --secret Y51WySCUOQNd1I6SL2bU4WqK+j0TazyuQjd+FEUmjQkEyL8NW2QwFA== --email bar.client.0+test@test.test" 
2011-09-08T01:24:17.680 INFO:orchestra.run.err:2011-09-08 01:24:12.816392 7f8ac76b6740 cache put: name=.users.uid+bar.client.0
2011-09-08T01:24:17.680 INFO:orchestra.run.err:2011-09-08 01:24:12.816519 7f8ac76b6740 adding .users.uid+bar.client.0 to cache LRU end
2011-09-08T01:24:17.680 INFO:orchestra.run.err:2011-09-08 01:24:12.816541 7f8ac76b6740 distributing notification oid=notify bl.length()=399
2011-09-08T01:24:17.681 INFO:orchestra.run.err:2011-09-08 01:24:12.817097 7f8ac19aa700 cache put: name=.users.uid+bar.client.0
2011-09-08T01:24:17.681 INFO:orchestra.run.err:2011-09-08 01:24:12.817112 7f8ac19aa700 moving .users.uid+bar.client.0 to cache LRU end
2011-09-08T01:24:17.681 INFO:orchestra.run.out:RGWWatcher::notify() opcode=1 ver=6 bl.length()=399
2011-09-08T01:24:17.764 INFO:orchestra.run.err:2011-09-08 01:24:12.901135 7f8ac76b6740 cache put: name=.users.email+bar.client.0+test@test.test
2011-09-08T01:24:17.764 INFO:orchestra.run.err:2011-09-08 01:24:12.901154 7f8ac76b6740 adding .users.email+bar.client.0+test@test.test to cache LRU end
2011-09-08T01:24:17.764 INFO:orchestra.run.err:2011-09-08 01:24:12.901169 7f8ac76b6740 distributing notification oid=notify bl.length()=420
2011-09-08T01:24:17.765 INFO:orchestra.run.out:RGWWatcher::notify() opcode=1 ver=6 bl.length()=420
2011-09-08T01:24:17.765 INFO:orchestra.run.err:2011-09-08 01:24:12.901717 7f8ac19aa700 cache put: name=.users.email+bar.client.0+test@test.test
2011-09-08T01:24:17.765 INFO:orchestra.run.err:2011-09-08 01:24:12.901728 7f8ac19aa700 moving .users.email+bar.client.0+test@test.test to cache LRU end
2011-09-08T01:24:17.849 INFO:orchestra.run.err:2011-09-08 01:24:12.985760 7f8ac76b6740 cache put: name=.users+WRU1UGLR8F3V4R4DVSL5
2011-09-08T01:24:17.850 INFO:orchestra.run.err:2011-09-08 01:24:12.985785 7f8ac76b6740 adding .users+WRU1UGLR8F3V4R4DVSL5 to cache LRU end
2011-09-08T01:24:17.850 INFO:orchestra.run.err:2011-09-08 01:24:12.985802 7f8ac76b6740 distributing notification oid=notify bl.length()=395
2011-09-08T01:24:17.850 INFO:orchestra.run.err:2011-09-08 01:24:12.986428 7f8ac19aa700 cache put: name=.users+WRU1UGLR8F3V4R4DVSL5
2011-09-08T01:24:17.850 INFO:orchestra.run.err:2011-09-08 01:24:12.986441 7f8ac19aa700 moving .users+WRU1UGLR8F3V4R4DVSL5 to cache LRU end
2011-09-08T01:24:17.850 INFO:orchestra.run.out:RGWWatcher::notify() opcode=1 ver=6 bl.length()=395
2011-09-08T01:24:17.943 INFO:orchestra.run.out:<user_info><user_id>bar.client.0</user_id><rados_uid>0</rados_uid><display_name>Mr. bar.client.0</display_name><email>bar.client.0+test@test.test</email><swift_user></swift_user><swift_key></swift_key><keys><key><user>bar.client.0</user><access_key>WRU1UGLR8F3V4R4DVSL5</access_key><secret_key>kY0w7jvBXBPlZLxPsrZiwiYHlsMRlr5Y76rGNIp2</secret_key></key></keys><subusers></subusers></user_info>

Actions #1

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position set to 30
Actions #2

Updated by Sage Weil over 12 years ago

  • Category set to 22

Does this still happen after commit:9713666c27412a121de4ffefbcfb184af238431d ?

Actions #3

Updated by Josh Durgin over 12 years ago

  • Status changed from New to Resolved

Nope, that fixed it.

Actions #4

Updated by John Spray over 6 years ago

  • Project changed from Ceph to rgw
  • Category deleted (22)
  • Target version deleted (v0.36)

Bulk reassign of radosgw category to RGW project.

Actions

Also available in: Atom PDF