Re: [ceph-users] RadosGW Swift public links

2017-06-30 Thread Donny Davis
I am trying to get radosgw to act like swift does when its provisioned with
Openstack. I did end up figuring out how to make it work properly for my
use case, and it would be helpful if it was documented somewhere.

For anyone curious how to make radosgw function more similar to the way
swift does, its perfectly capable...but not well documented. Here is my
config, and it works as expected.

[client.rgw.gateway]
host = gateway
rgw_keystone_url = http://127.0.0.1:5000/
rgw_keystone_api_version = 3
rgw_keystone_admin_user = ceph
rgw_keystone_admin_password = supersecretpassword
rgw_keystone_admin_project = services
rgw_keystone_admin_domain = default
rgw_keystone_accepted_roles = admin, _member_
rgw_keystone_token_cache_size = 100
rgw_keystone_revocation_interval = 300
rgw keystone implicit tenants = false  IMPORTANT
rgw_keystone_make_new_tenants = true
rgw_s3_auth_use_keystone = true
rgw_keystone_verify_ssl = false
rgw_dns_name = cloud.example.com
rgw_swift_account_in_url = true ###IMPORTANT



On Thu, Jun 29, 2017 at 9:34 PM, David Turner  wrote:

> Are you accessing the bucket from a URL that is not configured as an
> endpoint in your zone?  I bet if you looked at the log you would see that
> the bucket that doesn't exist is the URL that you are using to access it.
>
> On Thu, Jun 29, 2017, 9:07 PM Donny Davis  wrote:
>
>> I have swift working well with keystone authentication, and I can upload
>> and download files. However when I make a link public, I get nosuchbucket,
>> and I have no idea what url to find the buckets at.
>>
>> When I list the buckets with radosgw-admin bucket list i get back some
>> tenant url+ the bucket.
>>
>> I am lost on where to start with this. I just want to share files with
>> rgw and openstack
>> ___
>> ceph-users mailing list
>> ceph-users@lists.ceph.com
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] RadosGW Swift public links

2017-06-29 Thread David Turner
Are you accessing the bucket from a URL that is not configured as an
endpoint in your zone?  I bet if you looked at the log you would see that
the bucket that doesn't exist is the URL that you are using to access it.

On Thu, Jun 29, 2017, 9:07 PM Donny Davis  wrote:

> I have swift working well with keystone authentication, and I can upload
> and download files. However when I make a link public, I get nosuchbucket,
> and I have no idea what url to find the buckets at.
>
> When I list the buckets with radosgw-admin bucket list i get back some
> tenant url+ the bucket.
>
> I am lost on where to start with this. I just want to share files with rgw
> and openstack
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] RadosGW Swift public links

2017-06-29 Thread Donny Davis
I have swift working well with keystone authentication, and I can upload
and download files. However when I make a link public, I get nosuchbucket,
and I have no idea what url to find the buckets at.

When I list the buckets with radosgw-admin bucket list i get back some
tenant url+ the bucket.

I am lost on where to start with this. I just want to share files with rgw
and openstack
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com