Can you verify that the subuser object actually exist? Try doing:

$ rados ls -p .users.swift

(unless you have non default pools set)

Yehuda

On Tue, Jun 10, 2014 at 6:44 PM, David Curtiss
<dcurtiss_c...@dcurtiss.com> wrote:
> No good. In fact, for some reason when I tried to load up my cluster VMs
> today, I couldnt't get them to work (something to do with a pipe fault), so
> I recreated my VMs nearly from scratch, to no avail.
>
> Here are the commands I used to create the user and subuser:
> radosgw-admin user create --uid=hive_cache --display-name="Hive Cache"
> --email=pds.supp...@ni.com
> radosgw-admin subuser create --uid=hive_cache --subuser=hive_cache:swift
> --access=full
> radosgw-admin key create --subuser=hive_cache:swift --key-type=swift
> --secret=QFAMEDSJP5DEKJO0DDXY
>
> - David
>
>
> On Mon, Jun 9, 2014 at 11:14 PM, Yehuda Sadeh <yeh...@inktank.com> wrote:
>>
>> It seems that the subuser object was not created for some reason. Can
>> you try recreating it?
>>
>> Yehuda
>>
>> On Sun, Jun 8, 2014 at 5:50 PM, David Curtiss
>> <dcurtiss_c...@dcurtiss.com> wrote:
>> > Here's the log: http://pastebin.com/bRt9kw9C
>> >
>> > Thanks,
>> > David
>> >
>> >
>> > On Fri, Jun 6, 2014 at 10:58 PM, Yehuda Sadeh <yeh...@inktank.com>
>> > wrote:
>> >>
>> >> On Wed, Jun 4, 2014 at 12:00 PM, David Curtiss
>> >> <dcurtiss_c...@dcurtiss.com> wrote:
>> >> > Over the last two days, I set up ceph on a set of ubuntu 12.04 VMs
>> >> > (my
>> >> > first
>> >> > time working with ceph), and it seems to be working fine (I have
>> >> > HEALTH_OK,
>> >> > and can create a test document via the rados commandline tool), but I
>> >> > can't
>> >> > authenticate with the swift API.
>> >> >
>> >> > I followed the quickstart guides to get ceph and radosgw installed.
>> >> > (Listed
>> >> > here, if you want to check my work: http://pastebin.com/nfPWCn9P )
>> >> >
>> >> > Visiting the root of the web server shows the ListAllMyBucketsResult
>> >> > XML, as
>> >> > expected, but trying to authenticate always gives me "403 Forbidden"
>> >> > errors.
>> >> >
>> >> > Here's the output of "radosgw-admin user info --uid=hive_cache":
>> >> > http://pastebin.com/vwwbyd4c
>> >> > And here's my curl invocation: http://pastebin.com/EfQ8nw8a
>> >> >
>> >> > Any ideas on what might be wrong?
>> >> >
>> >>
>> >> Not sure. Can you try reproducing it with 'debug rgw = 20' and 'debug
>> >> ms = 1' on rgw and provide the log?
>> >>
>> >> Thanks,
>> >> Yehuda
>> >
>> >
>
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to