Re: [Openstack] python-swiftclient?

2012-02-14 Thread Chmouel Boudjnah
2012/2/14 Juan J. : >> https://github.com/chmouel/python-swiftclient > +1, we did that internally some time ago. > We're the swift structure (swift.commn.client) and added bufferedhttp.py > too to the swift-client package. What do you think about that? I think this is great but that would need to

Re: [Openstack] Glance with Swift backend auth failure using Keystone

2012-02-15 Thread Chmouel Boudjnah
Alan Pevec writes: >> https://github.com/cloudbuilders/swift-keystone2 > Is this official part of openstack? If yes, shouldn't this middleware > be included in the keystone project? This is not official of the OpenStack project, most of the update has been done in keystone redux which should be

Re: [Openstack] Swift S3 with Keystone anyone?

2012-02-17 Thread Chmouel Boudjnah
On 17 Feb 2012, at 06:12, Pete Zaitcev wrote: >> - A S3Token middleware which is based on Akira version with some fixes. > Yeah, that looks beautiful... Unfortunately the back-end > inherits the old problem: it authorizes against EC2 credentials > instead of Swift credentials. The result is, if two

Re: [Openstack] Keystone authentication

2012-02-17 Thread Chmouel Boudjnah
On Fri, Feb 17, 2012 at 9:58 PM, Mahdi Njim wrote: > In the recent versions of NOVA, SWIFT and Glance we can only > do authentication by Keystone This should works nicely with the latest version (and probably earlier) of keystone (ie: master). Chmouel. __

Re: [Openstack] Object Storage Swift on rhel6.0

2012-02-21 Thread Chmouel Boudjnah
Hi, On Tue, Feb 21, 2012 at 12:48 PM, Sudhakar Maiya wrote: > LookupError: Entry point 'swauth' not found in egg 'swift' (dir: > /usr/lib/python2.6/site-packages; protocols: paste.filter_factory, > paste.filter_app_factory; entry_points: ) did you install Pete's swauth rpm? http://people.redhat

Re: [Openstack] Object Storage Swift on rhel6.0

2012-02-23 Thread Chmouel Boudjnah
On Thu, Feb 23, 2012 at 9:53 AM, Sudhakar Maiya wrote: > attached the log file. >> packages/swauth/middleware.py", line 510, in handle_prep#012(path, >> resp.status))#012Exception: Could not create the main auth account: >> /v1/AUTH_.auth 503 Internal Server Error#012: Have you checked file

Re: [Openstack] Swift container ACLs and container visibility question

2012-02-23 Thread Chmouel Boudjnah
On Thu, Feb 23, 2012 at 10:25 PM, John Dickinson wrote: > It all depends on the auth system you are using. This is about the same for keystone but to be a .admin like in tempauth or swauth for keystone middleware you need to have one of the role specified in the configuration variable operator_ro

Re: [Openstack] swift keystone help

2012-02-23 Thread Chmouel Boudjnah
On Thu, Feb 23, 2012 at 10:57 PM, Alan Pevec wrote: > On Thu, Feb 23, 2012 at 11:23 PM, Paras pradhan > wrote: >> Now I have keystone configured at http://192.168.122.14:5000/v2.0  how >> to use curl in this case to get a token? > > Example from devstack: By the way for my dev and testing I use

[Openstack] devstack: excercises script other than shell scripts

2012-02-25 Thread Chmouel Boudjnah
Hi, I'd like to add a excercises to test swift3+s3token in devstack and was thinking to add a python script that use boto and do a few tests to the devstack instance. I was wondering if exercises/ devstack directory should be strictly shell scripts. Chmouel. _

Re: [Openstack] devstack: excercises script other than shell scripts

2012-02-25 Thread Chmouel Boudjnah
On Sat, Feb 25, 2012 at 6:50 PM, Debo Dutta (dedutta) wrote: > +1 > > IMO devstack scripts should be simple and test the system from a user's > perspective. Hence it would be nice to stick to the external APIs. > > I was thinking that we could actually use euca-upload-bundle to demo this functiona

Re: [Openstack] Essex-4 milestone available for Keystone, Glance, Nova and Horizon

2012-03-02 Thread Chmouel Boudjnah
On Fri, Mar 2, 2012 at 10:23 AM, Christian Berendt wrote: >> Swift does not follow the common milestones. The latest release is >> 1.4.6, and tha last release available will be included in OpenStack >> 2012.1 common release. > We'll this be fixed in the future? IMO I don't see it as a bug as swif

Re: [Openstack] Openstack workshop

2012-03-06 Thread Chmouel Boudjnah
Hi, On Tue, Mar 6, 2012 at 2:52 PM, Zeeshan Ali Shah wrote: > Hi  , is there any plan for OpenStack workshop/training in Europe ? According to http://www.cloudbuilderstraining.com/, rackspace cloudbuilders have an OpenStack training on : 03/27/2012 - 03/30/2012 I don't know if there is spaces

Re: [Openstack] Discussion on October Design Summit Locations

2011-05-05 Thread Chmouel Boudjnah
Soren Hansen writes: > 2011/5/4 Rick Clark : >> On 05/04/2011 06:58 AM, Soren Hansen wrote: >>> 2011/5/3 Stephen Spector: Finally, Hawaii sounds great until you see the cost of a Diet Coke in a hotel – it is just too expensive. >>> Heh.. Have you even been to Europe? :) >>> At the Ubunt

Re: [Openstack] REST API for Volume Management

2011-05-05 Thread Chmouel Boudjnah
Hi, This is being working on, see this post here : https://lists.launchpad.net/openstack/msg01946.html Chmouel. On Wed, May 4, 2011 at 11:23 PM, Sheshadri Amathnadu < sheshadri.amathn...@huawei.com> wrote: > > Does OpenStack have REST API's f

Re: [Openstack] Compute API 1.1 -- Seeking Community Input

2011-07-04 Thread Chmouel Boudjnah
Hi, On 29/06/2011 18:08, Lorin Hochstein wrote: > Also, is https://github.com/rackspace/python-cloudfiles the OpenStack > equivalent of "boto" for EC2, or is it The python-cloudfiles has made compatible with OpenStack swift and show work as long you point the authurl to your swift cluster. Most

Re: [Openstack] Couldn't find stack-screenrc

2012-11-14 Thread Chmouel Boudjnah
On Thu, Nov 15, 2012 at 4:09 AM, Everett Toews wrote: > > From: Johannes Baltimore > Date: Wednesday, November 14, 2012 8:34 AM > To: "openstack@lists.launchpad.net" > Subject: [Openstack] Couldn't find stack-screenrc > > Hi. > > I got devstack today, but I've been going through a problem. Whene

[Openstack] S3 Token

2012-12-08 Thread Chmouel Boudjnah
Hi, I'm working on removing the swift+keystone middleware from keystone, we have moved it already as keystoneauth since last OpenStack release into the main swift repository. One thing that left in keystone is the s3_token middleware. Since in OpenStack/Swift we are not supporting third party API

Re: [Openstack] S3 Token

2012-12-09 Thread Chmouel Boudjnah
that's s3 token? Or just using S3 creds sans Keystone? That > would help me help you decide how to proceed. Whew. :) > > Thanks, > Anne > > > On Sat, Dec 8, 2012 at 2:49 PM, Blair Bethwaite < > blair.bethwa...@gmail.com> wrote: > >> Hi Chmouel, >>

Re: [Openstack] S3 Token

2012-12-10 Thread Chmouel Boudjnah
On Mon, Dec 10, 2012 at 4:17 AM, Adam Young wrote: > As a Keystone core developer, I have to say that I don't see it as a huge > burden to keep it in place. We want to maintain API backward > compatability, and removing it would break that. We should deprecate it > and get people to sign off on

Re: [Openstack] [OpenStack][Swift] Cannot perform multiple requests with Python API

2013-01-08 Thread Chmouel Boudjnah
I am not sure why it does that (works fine for me), can you try with the git version to see if you can reproduce ? Thanks, Chmouel. On Mon, Jan 7, 2013 at 7:31 PM, Leander Bessa Beernaert wrote: > Hello all, > > I'm having an issue when using the Python API for swift [1]. I am unable > to do t

Re: [Openstack] [OpenStack][Swift] Cannot perform multiple requests with Python API

2013-01-08 Thread Chmouel Boudjnah
/python-swiftclient > - cd python-swiftclient > - sudo python setup.py install > - Repeated the previous procedures > > Did it not install correctly? > > > On Tue, Jan 8, 2013 at 3:47 PM, Chmouel Boudjnah wrote: > >> I am not sure why it does that (works fine for me), c

Re: [Openstack] [OpenStack][Swift] Fast way of uploading 200GB of 200KB files to Swift

2013-01-15 Thread Chmouel Boudjnah
as Chuck explain you usually would see that on the server, having said that if you use latest swiftclient from github you will be able to see the requests that swiftclient make via keystoneclient to keystone to get a token. If you go on the swift proxy server and only if you use a recent checked ou

Re: [Openstack] What's the function of devstack?

2013-01-15 Thread Chmouel Boudjnah
Here is the webpage describing the project : http://devstack.org/ and AFAIK I don't think there will be a GUI to stack.sh (some may consider a graphical terminal a GUI tho) On Tue, Jan 15, 2013 at 9:32 AM, Jia Lee wrote: > Hi, > > Could someone tell me the function of devstack and will there b

Re: [Openstack] [OpenStack][Swift] Fast way of uploading 200GB of 200KB files to Swift

2013-01-15 Thread Chmouel Boudjnah
t; > Since I'm time-restrained, I'll stick with the tempauth system for now. > I'll check back on the keystone token cache later. > > Thanks for all the help. > > > On Tue, Jan 15, 2013 at 8:36 AM, Chmouel Boudjnah wrote: > >> as Chuck explain you usually wou

Re: [Openstack] Network setup - Swift / keystone location and configuraton?

2013-01-20 Thread Chmouel Boudjnah
On Sat, Jan 19, 2013 at 9:57 AM, Kuo Hugo wrote: > The swift-client is using --publicurl as I know . FYI: You can change that behavior with the --os-endpoint-type switch Chmouel. ___ Mailing list: https://launchpad.net/~openstack Post to : opens

Re: [Openstack] Swift + Keystone integration problem

2013-02-01 Thread Chmouel Boudjnah
You probably want to past your proxy-server.conf this may be helpful for us to help you. Chmouel. On Fri, Feb 1, 2013 at 8:49 PM, David Goetz wrote: > I'm sorry- I didn't read that part about the proxy restart :) The proxy > may not log if it gets hung up in some middleware. What middleware do

Re: [Openstack] Swift + Keystone integration problem

2013-02-04 Thread Chmouel Boudjnah
> auth_token = 6bde76d029582066e4ee2edcf0d1c212 > admin_token = 6bde76d029582066e4ee2edcf0d1c212 > admin_tenant_name = service > admin_user = swift > admin_password = swiftpass > signing_dir = /etc/swift > > [filter:healthcheck] > use = egg:swift#healthcheck > >

Re: [Openstack] Swift + Keystone integration problem

2013-02-04 Thread Chmouel Boudjnah
you need to add the proxy-logging middleware, see swift's default proxy-server.conf https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample Chmouel. On Mon, Feb 4, 2013 at 10:37 AM, Andrey V. Romanchev < andrey.romanc...@gmail.com> wrote: > [pipeline:main] > pipeline = catch

Re: [Openstack] [Swift]A design draft of Storage Quota

2013-02-20 Thread Chmouel Boudjnah
I haven't had the chance to do a full reviews but here is a few toughts : - the account quota goes along this review: https://review.openstack.org/#/c/21563/ so we can get easily have account metadatas from middlewares. - I am not sure I fancy much the json blob in the ini config (why not a new

Re: [Openstack] [Swift]A design draft of Storage Quota

2013-02-20 Thread Chmouel Boudjnah
Hi Kevin, On Wed, Feb 20, 2013 at 5:26 PM, Kevin L. Mitchell wrote: > I'll also point out Boson: https://wiki.openstack.org/wiki/Boson and > https://github.com/klmitch/boson with some initial work. Unfortunately, > I'm not able to work on Boson at the moment due to higher-priority > tasks… >Fro

Re: [Openstack] [Swift]A design draft of Storage Quota

2013-02-20 Thread Chmouel Boudjnah
I was guessing this is the part of what synaps do but from looking at https://wiki.openstack.org/wiki/Synaps it may just provide only notifications and not enforcements. Chmouel. On Wed, Feb 20, 2013 at 9:17 PM, Kevin L. Mitchell wrote: > On Wed, 2013-02-20 at 21:09 +0100, Chmouel Boudj

Re: [Openstack] [Swift] Define storage size for specified tenant/user

2013-03-04 Thread Chmouel Boudjnah
Maybe this is what you are looking for : https://github.com/cschwede/swquota Chmouel. On Mon, Mar 4, 2013 at 3:17 PM, jeffty wrote: > Thanks Gareth, > > But how to set the storage limit? The swift is installed in a single > node, and all the authorized user can use the upload. > > The total amo

Re: [Openstack] openstack installation of swift

2013-03-06 Thread Chmouel Boudjnah
You can install Swift as standalone and you can even use its builtin auth server like swauth if you really don't want deps on other things than swift. (auth v1 only). Chmouel. On Thu, Mar 7, 2013 at 8:28 AM, Arun Fera wrote: > Is it necessary to install all the components for using swift alone.

Re: [Openstack] Entering DST madness zone again

2013-03-12 Thread Chmouel Boudjnah
On Tue, Mar 12, 2013 at 11:24 AM, Thierry Carrez wrote: > Remember that all our OpenStack online meetings are expressed in UTC > time (which does not have DST nonsense), and doublecheck what that means > for you using tools like: Or for the lazy ones (i.e: most of us) who don't want to switch an

Re: [Openstack] [Swift]

2013-03-15 Thread Chmouel Boudjnah
On Fri, Mar 15, 2013 at 8:02 AM, Tomáš Šoltys wrote: > curl -k -v -H 'X-Storage-User: service:swift' -H 'X-Storage-Pass: 12345678' > -X 'POST' http://localhost:5000/v2.0/auth > > But when for following it works: > > curl -k -v -X 'POST' http://localhost:5000/v2.0/tokens -d > '{"auth":{"passwordCre

Re: [Openstack] Error while trying to login to Devstack dashboard

2013-03-19 Thread Chmouel Boudjnah
On Mon, Mar 18, 2013 at 7:03 PM, Abhishek Chanda wrote: > 2013-03-18 13:30:55ERROR [keystone.common.cms] Signing error: Unable to > load certificate - ensure you've configured PKI with 'keystone-manage > pki_setup' perhaps by doing this? Chmouel. ___

Re: [Openstack] Swift questions

2013-05-22 Thread Chmouel Boudjnah
On Wed, May 22, 2013 at 3:53 AM, Chuck Thier wrote: > It can be set to 1, and I think the default devstack install may do exactly > that. this is correct, this is the default devstack install to set one replica. Chmouel. ___ Mailing list: https://lau

Re: [Openstack] [Swift] Intermittent error 403 "Access was denied to this resource"

2013-06-04 Thread Chmouel Boudjnah
I have seen this when keystone is too busy for validating tokens. getting keystone behind apache or scaling up keystone make things a better (and make sure you are using swift memcache connection in auth_token). Chmouel. On Mon, Jun 3, 2013 at 8:15 PM, Andrii Loshkovskyi wrote: > Hello, > > I w

Re: [Openstack] [Swift] Intermittent error 403 "Access was denied to this resource"

2013-06-04 Thread Chmouel Boudjnah
che middleware properly. > Further debugging proved that hosts without memcached don't return the error > 403. I'm still investigating what service can return such error body > message. > well you probably want to have caching... > > > On Tue, Jun 4, 2013 at 12:55 PM,

Re: [Openstack] grizzly keystone with v1.0 API

2013-06-05 Thread Chmouel Boudjnah
FYI I had a clean extension for keystone doing just that : https://github.com/chmouel/keystone-legacyv1-extension but it needed the review in keystone : https://review.openstack.org/#/c/25235/ for keystone which was unfortunately not accepted for a reason I am not totally sure about. Chmouel.

Re: [Openstack] Folsom Keystone and Grizzly Swift

2013-06-11 Thread Chmouel Boudjnah
python-keystoneclient latest should be release independent and should be compatible with folsom and have the fix you need for caching (the cache=swift.cache parameter to have in auth_token). You will need a recent version of swift tho to get everything working well. On Tue, Jun 11, 2013 at 4:39 P

Re: [Openstack] HTTP headers are incorrectly treated case sensitive by jClouds causing OpenStack x-storage-url to fail

2013-06-28 Thread Chmouel Boudjnah
On Fri, Jun 28, 2013 at 2:00 AM, Ali, Saqib wrote: > Is there anything we can do to work around this, while someone from the > jClouds community fixes this issue? I would be believe a jclouds fix would be faster to get in than to try agree on a hack to do on swift. Chmouel. ___

Re: [Openstack] [Design] Why/how object storage(Swift) better than scale-out NAS?

2013-07-04 Thread Chmouel Boudjnah
On Wed, Jul 3, 2013 at 8:47 AM, Li, Leon wrote: > However a scale-out NAS could also have these benefits, if you build the > scale-out NAS with open source cluster FS(for example HDFS), just like many > Internet company did. Please feel free to considerate contributing to this blueprint effort :

Re: [Openstack] [Swift] Updating best practices for XFS inode size

2013-07-04 Thread Chmouel Boudjnah
On Mon, Jul 1, 2013 at 9:02 AM, Robert van Leeuwen wrote: >> I would like to thank the XFS folks at Redhat for letting us know about the >> improvements in XFS, >> and the XFS team in general for the great work they have done. > Thanks for the heads up. > Do you, or any of the Redhat people, kno

Re: [Openstack] [ANN] Caimito 0.11 - WebDAV frontend for OpenStack Swift Cloud Storage

2013-07-15 Thread Chmouel Boudjnah
On Wed, Jul 10, 2013 at 4:14 PM, Gabe Wong wrote: > Lots of work has been done to Caimito. In addition to bug fixes: > - Faster request handling. > - Better handling of files with spaces and other characters. > > Thanks to everyone who have contributed. Of course the community's valuable > feedbac

Re: [Openstack] [ANN] Caimito 0.11 - WebDAV frontend for OpenStack Swift Cloud Storage

2013-07-17 Thread Chmouel Boudjnah
reviewed : https://wiki.openstack.org/wiki/How_To_Contribute Cheers, Chmouel. > > > -Original Message- > From: "Chmouel Boudjnah" > Sent: Tuesday, July 16, 2013 2:45am > To: "Gabe Wong" > Cc: openstack@lists.launchpad.net > Subject:

Re: [Openstack] Improved browser-based access to Swift

2013-07-18 Thread Chmouel Boudjnah
On Thu, Jul 18, 2013 at 2:20 PM, Koert van der Veer wrote: > Both middleware projects are released under the Apache 2.0 licence, and can > be found on our github page: > https://github.com/CloudVPS/better-staticweb > https://github.com/CloudVPS/swift-basicauth Nice! You probably want to use the s

<    1   2