Re: radosgw-admin unable to list or store user info after upgrade

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

 



The osd returns some unexpected error:

2013-09-26 13:25:17.651552 7ff13cd0b700  1 -- 10.10.2.55:0/1005496 <==
osd.2 10.10.2.200:6800/4790 5 ==== osd_op_reply(25 bob
[call,getxattrs,stat] ack = -5 (Input/output error)) v4 ==== 186+0+0
(4137529543 0 0) 0x7ff120002490 con 0xa6a380

Is there a matching osd log for that? I'd need to have the osd.2 log
for that (if specifying the admin2 user).

On Thu, Sep 26, 2013 at 10:29 AM, Mike O'Toole <mike.otoole@xxxxxxxxxxx> wrote:
> I thought that command would return a list of users.  I get the same issue
> when I supply a --uid
>
> Here are two attached test cases.
>
> 1.  (User Info) radosgw-admin user info --uid=admin2 --debug-ms=1 and
> --debug-rgw=20 --debug-objecter=20 &> $HOME/radosgw_admin2_user_info.out
> 2.  (User Create) radosgw-admin user create --uid=bob --display-name="Bob"
> --debug-ms=1 and --debug-rgw=20 --debug-objecter=20 &>
> $HOME/radosgw_user_create.out
>
>
>> Date: Thu, 26 Sep 2013 10:02:51 -0700
>
>> Subject: Re:  radosgw-admin unable to list or store user info
>> after upgrade
>> From: yehuda@xxxxxxxxxxx
>> To: mike.otoole@xxxxxxxxxxx; ceph-devel@xxxxxxxxxxxxxxx
>>
>> On Thu, Sep 26, 2013 at 9:41 AM, Mike O'Toole <mike.otoole@xxxxxxxxxxx>
>> wrote:
>> > Sure,
>> >
>> > I issued: radosgw-admin user info --debug-ms=1 and --debug-rgw=20
>> > --debug-objecter=20 &> $HOME/radosgw_user_info.out
>>
>> You missed --uid=bob here. The error message is a bit confusing but
>> this is expected.
>>
>> >
>> > log info attached.
>> >
>> >
>> >> Date: Thu, 26 Sep 2013 09:34:45 -0700
>> >
>> >> Subject: Re:  radosgw-admin unable to list or store user
>> >> info
>> >> after upgrade
>> >> From: yehuda@xxxxxxxxxxx
>> >> To: mike.otoole@xxxxxxxxxxx; ceph-users@xxxxxxxxxxxxxx
>> >
>> >>
>> >> Are you sure you ran the same radosgw-admin command? the log shows a
>> >> different error message. Can you re-run it with also (besides the
>> >> --debug-ms=1 and --debug-rgw=20) also with --debug-objecter=20?
>> >>
>> >> On Thu, Sep 26, 2013 at 9:09 AM, Mike O'Toole <mike.otoole@xxxxxxxxxxx>
>> >> wrote:
>> >> > radosgw-admin zone get
>> >> > { "domain_root": ".rgw",
>> >> > "control_pool": ".rgw.control",
>> >> > "gc_pool": ".rgw.gc",
>> >> > "log_pool": ".log",
>> >> > "intent_log_pool": ".intent-log",
>> >> > "usage_log_pool": ".usage",
>> >> > "user_keys_pool": ".users",
>> >> > "user_email_pool": ".users.email",
>> >> > "user_swift_pool": ".users.swift",
>> >> > "user_uid_pool": ".users.uid",
>> >> > "system_key": { "access_key": "",
>> >> > "secret_key": ""},
>> >> > "placement_pools": []}
>> >> >
>> >> > rados lspools
>> >> > data
>> >> > metadata
>> >> > rbd
>> >> > .rgw
>> >> > .rgw.gc
>> >> > .rgw.control
>> >> > .users.uid
>> >> > .users
>> >> > .users.email
>> >> > .rgw.buckets
>> >> > .log
>> >> > .usage
>> >> > .rgw.root
>> >> >
>> >> >
>> >> >> Date: Thu, 26 Sep 2013 09:05:08 -0700
>> >> >
>> >> >> Subject: Re:  radosgw-admin unable to list or store user
>> >> >> info
>> >> >> after upgrade
>> >> >> From: yehuda@xxxxxxxxxxx
>> >> >> To: mike.otoole@xxxxxxxxxxx; ceph-devel@xxxxxxxxxxxxxxx
>> >> >
>> >> >>
>> >> >> What do the following return?
>> >> >>
>> >> >> $ radosgw-admin zone get
>> >> >>
>> >> >> $ rados lspools
>> >> >>
>> >> >>
>> >> >>
>> >> >> On Thu, Sep 26, 2013 at 8:13 AM, Mike O'Toole
>> >> >> <mike.otoole@xxxxxxxxxxx>
>> >> >> wrote:
>> >> >> > Coming through the admin ops rest inteface I get the following log
>> >> >> > info:
>> >> >> > ET
>> >> >> >
>> >> >> > application/x-www-form-urlencoded; charset=utf-8
>> >> >> > Thu, 26 Sep 2013 15:08:34 GMT
>> >> >> > /admin/user
>> >> >> > 2013-09-26 11:08:34.449849 7ffbe67dc700 15 calculated
>> >> >> > digest=5vI0b/Ytn+XaSehRsqRu5PmNUBc=
>> >> >> > 2013-09-26 11:08:34.449854 7ffbe67dc700 15
>> >> >> > auth_sign=5vI0b/Ytn+XaSehRsqRu5PmNUBc=
>> >> >> > 2013-09-26 11:08:34.449855 7ffbe67dc700 15 compare=0
>> >> >> > 2013-09-26 11:08:34.449861 7ffbe67dc700 2 req 2:0.008683::GET
>> >> >> > /admin/user:get_user_info:reading permissions
>> >> >> > 2013-09-26 11:08:34.449867 7ffbe67dc700 2 req 2:0.008690::GET
>> >> >> > /admin/user:get_user_info:verifying op mask
>> >> >> > 2013-09-26 11:08:34.449871 7ffbe67dc700 20 required_mask= 0
>> >> >> > user.op_mask=7
>> >> >> > 2013-09-26 11:08:34.449873 7ffbe67dc700 2 req 2:0.008696::GET
>> >> >> > /admin/user:get_user_info:verifying op permissions
>> >> >> > 2013-09-26 11:08:34.449878 7ffbe67dc700 2 req 2:0.008701::GET
>> >> >> > /admin/user:get_user_info:verifying op params
>> >> >> > 2013-09-26 11:08:34.449881 7ffbe67dc700 2 req 2:0.008704::GET
>> >> >> > /admin/user:get_user_info:executing
>> >> >> > 2013-09-26 11:08:34.449916 7ffbe67dc700 20 get_obj_state:
>> >> >> > rctx=0x7ffc0c008ad0 obj=.users.uid:admin2 state=0x7ffc0c008b98
>> >> >> > s->prefetch_data=0
>> >> >> > 2013-09-26 11:08:34.449927 7ffbe67dc700 10 moving
>> >> >> > .users.uid+admin2
>> >> >> > to
>> >> >> > cache
>> >> >> > LRU end
>> >> >> > 2013-09-26 11:08:34.449930 7ffbe67dc700 10 cache get:
>> >> >> > name=.users.uid+admin2
>> >> >> > : type miss (requested=22, cached=7)
>> >> >> > 2013-09-26 11:08:34.451617 7ffbe67dc700 2 req 2:0.010439::GET
>> >> >> > /admin/user:get_user_info:http status=404
>> >> >> >
>> >> >> > Ive attached the log generated by the radosgw-admin user info
>> >> >> > command
>> >> >> >
>> >> >> >
>> >> >> >> Date: Thu, 26 Sep 2013 07:51:42 -0700
>> >> >> >> Subject: Re:  radosgw-admin unable to list or store
>> >> >> >> user
>> >> >> >> info
>> >> >> >> after upgrade
>> >> >> >> From: yehuda@xxxxxxxxxxx
>> >> >> >> To: mike.otoole@xxxxxxxxxxx
>> >> >> >> CC: ceph-users@xxxxxxxx
>> >> >> >
>> >> >> >>
>> >> >> >> On Thu, Sep 26, 2013 at 7:42 AM, Mike O'Toole
>> >> >> >> <mike.otoole@xxxxxxxxxxx>
>> >> >> >> wrote:
>> >> >> >> > After upgrading from Cuddlefish to Dumpling I am no longer able
>> >> >> >> > to
>> >> >> >> > obtain
>> >> >> >> > user information from the rados gateway.
>> >> >> >> >
>> >> >> >> > radosgw-admin user info
>> >> >> >> > could not fetch user info: no user info saved
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > radosgw-admin user create --uid=bob --display-name="bob"
>> >> >> >> > could not create user: unable to create user, unable to store
>> >> >> >> > user
>> >> >> >> > info
>> >> >> >>
>> >> >> >> What does the gateway log show? Try running the same command with
>> >> >> >> --debug-rgw=20 --debug-ms=1 --log-to-stderr
>> >> >> >>
>> >> >> >> Yehuda
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




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


  Powered by Linux