Re: [Gluster-users] Troubleshooting Unified Object and File Storage in 3.3

2012-06-09 Thread Vijay Bellur

On 06/08/2012 05:47 AM, Jason Brooks wrote:

On 06/06/2012 10:25 PM, Vijay Bellur wrote:

On 06/07/2012 03:22 AM, Jason Brooks wrote:

I've been testing on CentOS 6.2. The only command from the Admin guide
I've run successfully has been: curl -v -H 'X-Storage-User: test:tester'
-H 'X-Storage-Pass:testing' -k http://127.0.0.1:8080/auth/v1.0.

I started out with a centos machine running gluster-swift, which I was
connecting to a four node gluster cluster. It wasn't clear to me from
the admin guide where I was supposed to mount my gluster volume,


You will need to mount the gluster volume at
/mnt/gluster-object/. For the example in admin guide,
/mnt/gluster-object/AUTH_test needs to be the mountpoint for your
gluster volume.


There's something I'm confused about -- if I mount my gluster volume at
AUTH_test, I am able to work with it, but is the idea that users should
manually create a gluster volume and mountpoint for every account?


Users will be required to create a gluster volume that shares the 
account name (minus 'AUTH_').
If such a volume exists and is started, then the plugin ensures that the 
volume is mounted at the necessary mountpoint.





The gluster-swift-plugin places a set of configuration files into
/etc/swift -- the 1.conf files and the ring configurations. The admin
guide doesn't mention any swift-ring-builder operations -- are these not
required with UFO?



Yes, ring-builder operations are not necessary with UFO.

-Vijay
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Troubleshooting Unified Object and File Storage in 3.3

2012-06-07 Thread Jason Brooks
On 06/06/2012 10:25 PM, Vijay Bellur wrote:
> On 06/07/2012 03:22 AM, Jason Brooks wrote:
>> I've been testing on CentOS 6.2. The only command from the Admin guide
>> I've run successfully has been: curl -v -H 'X-Storage-User: test:tester'
>> -H 'X-Storage-Pass:testing' -k http://127.0.0.1:8080/auth/v1.0.
>>
>> I started out with a centos machine running gluster-swift, which I was
>> connecting to a four node gluster cluster. It wasn't clear to me from
>> the admin guide where I was supposed to mount my gluster volume,
> 
> You will need to mount the gluster volume at
> /mnt/gluster-object/. For the example in admin guide,
> /mnt/gluster-object/AUTH_test needs to be the mountpoint for your
> gluster volume.

There's something I'm confused about -- if I mount my gluster volume at
AUTH_test, I am able to work with it, but is the idea that users should
manually create a gluster volume and mountpoint for every account?

I've been working through this Fedora 17 openstack howto:
https://fedoraproject.org/wiki/Getting_started_with_OpenStack_on_Fedora_17#Configure_swift_with_keystone.
I thought I'd bring gluster into the mix, but it's not clear to me how
the setup directions I see here and elsewhere for swift ought to
interact with the gluster-swift packages.

The gluster-swift-plugin places a set of configuration files into
/etc/swift -- the 1.conf files and the ring configurations. The admin
guide doesn't mention any swift-ring-builder operations -- are these not
required with UFO?

Thanks, Jason
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Troubleshooting Unified Object and File Storage in 3.3

2012-06-07 Thread Jason Brooks
On Wed 06 Jun 2012 10:25:38 PM PDT, Vijay Bellur wrote:
> On 06/07/2012 03:22 AM, Jason Brooks wrote:
>> I've been testing on CentOS 6.2. The only command from the Admin guide
>> I've run successfully has been: curl -v -H 'X-Storage-User: test:tester'
>> -H 'X-Storage-Pass:testing' -k http://127.0.0.1:8080/auth/v1.0.
>>
>> I started out with a centos machine running gluster-swift, which I was
>> connecting to a four node gluster cluster. It wasn't clear to me from
>> the admin guide where I was supposed to mount my gluster volume,
>
> You will need to mount the gluster volume at
> /mnt/gluster-object/. For the example in admin guide,
> /mnt/gluster-object/AUTH_test needs to be the mountpoint for your
> gluster volume.

Thanks -- that helps a lot.

Another Q on the admin guide. Under "12.4.4. Configuring Authentication 
System" the guide says "Proxy server must be configured to authenticate 
using  tempauth."

Is this the only supported auth method? I'm experimenting with keystone.

Thanks, Jason


___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Troubleshooting Unified Object and File Storage in 3.3

2012-06-06 Thread Vijay Bellur

On 06/07/2012 03:22 AM, Jason Brooks wrote:

I've been testing on CentOS 6.2. The only command from the Admin guide
I've run successfully has been: curl -v -H 'X-Storage-User: test:tester'
-H 'X-Storage-Pass:testing' -k http://127.0.0.1:8080/auth/v1.0.

I started out with a centos machine running gluster-swift, which I was
connecting to a four node gluster cluster. It wasn't clear to me from
the admin guide where I was supposed to mount my gluster volume,


You will need to mount the gluster volume at 
/mnt/gluster-object/. For the example in admin guide, 
/mnt/gluster-object/AUTH_test needs to be the mountpoint for your 
gluster volume.



Is there a better source of docs than the admin guide? I'll be happy to
help write this up once I get everything working.


The admin guide sources are in the glusterfs git repo now and has some 
updates in release-3.3 branch since the last published version. You can 
look that up and also contribute patches for that via gerrit.



One more thing, the 3.3 admin guide talks about downloading the 3.2
version of gluster-swift and gluster-swift-plugin -- I'd assumed that
that was a typo, and I've been working with the packages from 3.3, but
maybe I was wrong there -- are the 3.2 packages the right ones?




That certainly is a typo. Fixed in release-3.3 doc as part of:

http://review.gluster.com/#change,3498

Thanks,
Vijay
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users