Actions
Bug #1522
closedrgw couldn't read user info
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