[Openstack] [Swift] Use JSON in object xattr

2013-04-06 Thread Victor Rodionov
Hello, Now in Swift object server (swift.object.server.DiskFile) for serialization objects meta data used python cPickle module. So the question is why not use other portable serialization format for this, for example JSON? Thanks, Victor ___ Mai

[Openstack] [Swift] Unresolved reference in swift: test/unit/proxy/test_server.py

2012-10-12 Thread Victor Rodionov
Hello I found unresolved reference for exception MemcacheLockError (test/unit/proxy/test_server.py line 3580) in Swift unit test for proxy server. I try to find this exception class on swift code, but can't find it. https://github.com/openstack/swift/blob/master/test/unit/proxy/test_server.py

Re: [Openstack] [Swift] LFS patch (Ia32c9c34)

2012-07-17 Thread Victor Rodionov
0:40, Pete Zaitcev пишет: On Mon, 16 Jul 2012 22:45:48 +0000 Victor Rodionov wrote: Most of patch code was restructured, most of logic was moved to middleware level and use hooks in Swift code. I create separate project (LFS middleware https://github.com/nexenta/lfs) for now there are only 2 supp

Re: [Openstack] [Swift] LFS patch (Ia32c9c34)

2012-07-17 Thread Victor Rodionov
2012 20:40, Pete Zaitcev пишет: On Mon, 16 Jul 2012 22:45:48 +0000 Victor Rodionov wrote: Most of patch code was restructured, most of logic was moved to middleware level and use hooks in Swift code. I create separate project (LFS middleware https://github.com/nexenta/lfs) for now there

[Openstack] [Swift] LFS patch (Ia32c9c34)

2012-07-16 Thread Victor Rodionov
ge of choices available to users as to how they protect their data. Thanks, Victor Rodionov ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help :

[Openstack] [Swift] Problem with merging

2012-06-27 Thread Victor Rodionov
Hello I have patch https://review.openstack.org/#/c/7565/ (Patch for Swift Solaris (illumos) compatibility), that was approved, but during merging something goes wrong. It seems it's jenkins preblem, can someone whe responsible for this, start merging again please. Thanks, Victor _

Re: [Openstack] [Swift] S3 like ACL for Swift

2012-06-20 Thread Victor Rodionov
I'd > suggest patching the 3rd party swift3 middleware. > > --John > > > On Jun 20, 2012, at 9:38 AM, Victor Rodionov wrote: > >> Hello >> >> I have working implementation of S3 like ACL API for Swift, for this changes >> I need to store ACL

[Openstack] [Swift] S3 like ACL for Swift

2012-06-20 Thread Victor Rodionov
Hello I have working implementation of S3 like ACL API for Swift, for this changes I need to store ACL on object and container server, then I need to change container and object servers code. So my question, if this changes will be interesting for Swift community or no? Thanks, Victor ___

[Openstack] Error with Swift test.functional tests

2012-04-30 Thread Victor Rodionov
Hello I faced with error in test.functional, this a console log vito@vito:~/etalon/swift/test$ nosetests functional .E...E... ==

[Openstack] Running review requests code on jenkins.openstack.org

2012-04-30 Thread Victor Rodionov
Hello How I can run my code on Openstack jenkins server, for verifie it? ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.n

[Openstack] Code contribution

2012-04-27 Thread Victor Rodionov
Hello How code in gerrit becomes verified? ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

Re: [Openstack] HTTP status value naming normalization

2012-04-24 Thread Victor Rodionov
> On Sat, Apr 21, 2012 at 12:22 PM, John Dickinson wrote: >> >> I like what you are trying to do here. Can you please submit this as a >> patch through gerrit so we can get the rest of the core devs to look at it? >> >> --John >> >> >> On Apr 20, 20

[Openstack] HTTP status value naming normalization

2012-04-20 Thread Victor Rodionov
There are many place in Swift code where used hard coded values, such as response statuses (200, 201, 404, ...) which can replaced with constants HTTP_OK, HTTP_CREATED, HTTP_NOT_FOUND. Also there is widlly used idiom 200 <= status < 300, that can be replaced as well with something like this is_succ