Re: [Openstack] swift

2013-07-08 Thread Pete Zaitcev
On Mon, 8 Jul 2013 23:59:40 +0800 Peter Cheung mcheun...@hotmail.com wrote: Hi AllHow you guy admin swift? by command line or by www.swiftstack.com admin portal? Sounds like a great question for the ops list

Re: [Openstack] [SWIFT] raising network traffic o the storage node

2013-07-08 Thread Pete Zaitcev
On Mon, 8 Jul 2013 13:50:38 + Klaus Schürmann klaus.schuerm...@mediabeam.com wrote: I use a swift storage as a mail-store. Now I have about 1.000.000 objects stored in the cluster. Traffic Storagenode: http://www.schuermann.net/temp/storagenode.png Traffic Proxyserver:

Re: [Openstack] curl with swift

2013-06-14 Thread Pete Zaitcev
On Mon, 10 Jun 2013 11:28:01 -0700 Remo Mattei r...@mattei.org wrote: I am using this command now but I get not auth to get this object. curl -X GET \ -H X-Auth-Token: 813c6eef9f474e7f860ef42dcaeeb53b \ http://192.168.235.113:8080/v1/AUTH_9ffeae726f33436b9e0796d31f85f730/remo.pen

Re: [Openstack] Load Balancers for Swift with nginx and pound

2013-06-14 Thread Pete Zaitcev
On Fri, 14 Jun 2013 18:43:21 +0800 王娜 wangna...@gmail.com wrote: like this,before I stop the proxy service ,there are five containers. I would double-check that both proxies had same ring files. -- Pete ___ Mailing list:

Re: [Openstack] Swift 1.7.4 stable - logging middleware adding lag to final responses

2013-01-10 Thread Pete Zaitcev
On Thu, 10 Jan 2013 12:37:57 -0300 Leandro Reox leandro.r...@gmail.com wrote: When we turn off the proxy-logging middleware, everything starts to response like a charm 8ms or so vs 800-1400ms !!! At a guess, maybe the proxy-logging middle accidentially tries to resolve an IP address somewhere?

Re: [Openstack] python-swiftclient is missing from epel repo

2012-11-19 Thread Pete Zaitcev
On Sun, 18 Nov 2012 23:01:05 +0200 George Lekatsas glekats...@gmail.com wrote: after a yum update in centos 6.3 i have the following error Error: Package: python-glance-2012.2-3.el6.noarch (epel) Requires: python-swiftclient Just retry it later. EPEL works fine to find

Re: [Openstack] [Swift] account-level and container-level usage information

2012-11-13 Thread Pete Zaitcev
On Mon, 12 Nov 2012 20:48:35 -0800 Ning Zhang n...@zmanda.com wrote: Is there any Swift (GUI or command line) tool that can retrieve the account-level and container-level usage information (e.g. how large space has been used under an account, how large space has been used under a tenant) and

Re: [Openstack] Troubleshooting Swift 1.7.4 on mini servers

2012-10-30 Thread Pete Zaitcev
On Tue, 30 Oct 2012 11:07:55 -0700 Nathan Trueblood nat...@truebloodllc.com wrote: The file size seems to have no bearing on the issue, although I haven't tried really tiny files. Bigfile3 is only 200K. Okay. BTW, do not forget to use curl and issue the same PUT that proxy does, see if it

Re: [Openstack] Troubleshooting Swift 1.7.4 on mini servers

2012-10-29 Thread Pete Zaitcev
On Mon, 29 Oct 2012 18:16:52 -0700 Nathan Trueblood nat...@truebloodllc.com wrote: Definitely NOT a problem with the filesystem, but something is causing the object-server to think there is a problem with the filesystem. If you are willing to go all-out, you can probably catch the error with

Re: [Openstack] Troubleshooting Swift 1.7.4 on mini servers

2012-10-26 Thread Pete Zaitcev
On Fri, 26 Oct 2012 17:26:07 -0700 Nathan Trueblood nat...@truebloodllc.com wrote: I'm trying to figure out what's going wrong with my Swift deployment on a small cluster of mini servers. I have a small test cluster (5 storage nodes, 1 proxy) of mini-servers that are ARM-based. The proxy

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

2012-10-12 Thread Pete Zaitcev
On Fri, 12 Oct 2012 15:02:24 +0400 Victor Rodionov victor.rodio...@nexenta.com wrote: 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

Re: [Openstack] [folsom] Swift-backed glance fails x-glance-api-copy-from

2012-10-07 Thread Pete Zaitcev
On Fri, 05 Oct 2012 13:27:17 +0200 Koert van der Veer ko...@cloudvps.com wrote: ERROR glance.api.v1.images [-] Traceback (most recent call last): File /usr/lib/python2.7/dist-ackages/glance/api/v1/images.py, line 437, in _upload image_meta['size']) File

Re: [Openstack] Swift account listing

2012-08-02 Thread Pete Zaitcev
On Thu, 19 Jul 2012 16:10:06 +0100 Juan J. Martinez j...@memset.com wrote: I guess you can use the list of current accounts from Keystone and translate that into the account ring hash. swift-get-nodes /etc/swift/account.ring.gz myKeyStoneAcct | grep Hash | cut -f2

Re: [Openstack] [glance] legacy client removal and python-glanceclient

2012-08-01 Thread Pete Zaitcev
On Wed, 01 Aug 2012 01:06:10 -0400 Jay Pipes jaypi...@gmail.com wrote: I don't disagree with you. At the same time, I think Brian has a good point when he compares having two versions of SQLAlchemy installed on a system: it just doesn't make much sense. But having glance(1) and

[Openstack] Swift account listing

2012-07-18 Thread Pete Zaitcev
Guys, a simple question hopefuly: How do I list all Swift accounts? Specifically, I have a test installation that I used to experiemnt with various upgrades and migrations. I probably lost a few testing accounts in it. Now it sits there and uses up space. How do I find and eliminate orphan

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

2012-07-17 Thread Pete Zaitcev
On Mon, 16 Jul 2012 22:45:48 + Victor Rodionov victor.rodio...@nexenta.com 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

Re: [Openstack] Problem integrating swift with keystone

2012-07-10 Thread Pete Zaitcev
On Tue, 10 Jul 2012 09:29:12 -0800 (GMT-08:00) Jyothsna Padavala jyothsna.padav...@strongauth.com wrote: $: swift -V 2 -A http://nova.strongauth.com:5000/v2.0 -U admin:adminuser -K adminuserpswd stat There is no object-store endpoint on this auth server. $: keystone --endpoint

Re: [Openstack] [Swift]Is the cloudfiles compatible with keystone v2.0?

2012-07-05 Thread Pete Zaitcev
On Thu, 5 Jul 2012 18:21:48 +0800 Alex Yang alex890...@gmail.com wrote: If i want use the cloudfiles with the keystone(the newest version), I need change the code of cloudfiles by myself? Indeed, clients have to be adapted in cases like yours. However, please look at python-swiftclient. It may

Re: [Openstack] Swift on WebOb 1.2

2012-06-05 Thread Pete Zaitcev
I just saw your change uploaded https://review.openstack.org/8195/ Thanks a lot! I'll have a look and review ASAP. -- Pete On Mon, 4 Jun 2012 14:40:21 +0900 iryoung jeong iryo...@gmail.com wrote: Anyway, current status is that I make your PatchSet 3 passed all unit/functests with webob 1.1

Re: [Openstack] Single Server Test

2012-06-03 Thread Pete Zaitcev
On Mon, 04 Jun 2012 10:00:37 +1000 Chandana De Silva chand...@desilva.id.au wrote: I have not worked with OpenStack before this, and want to set up a minimal test instance of Open Stack on a single server. Is this possible, and if so is there a document which goes through the steps ? I

[Openstack] openstack.common inside swiftclient and RPM

2012-05-31 Thread Pete Zaitcev
Hi, Monty: The python-swiftclient has something that I believe you added: [zaitcev@lembas python-swiftclient-tip]$ git log swiftclient/openstack/__init__.py commit 7df012329f0b22e19f878cee2602407cb23042ef Author: Monty Taylor mord...@inaugust.com Date: Wed May 16 17:30:46 2012 -0400 Add

Re: [Openstack] Swift3 Github pages

2012-05-21 Thread Pete Zaitcev
On Mon, 21 May 2012 18:01:04 +0200 Chmouel Boudjnah chmo...@chmouel.com wrote: I have sent already the gerrit review to remove swift3 from swift : https://review.openstack.org/#/c/7628/ and reference your repository http://github.com/fujita/swift3 in associated project. If swift3 goes

Re: [Openstack] Swift3 Github pages

2012-05-21 Thread Pete Zaitcev
On Mon, 21 May 2012 16:06:42 -0500 Gregory Holt gh...@rackspace.com wrote: There are examples of middleware returning generators out there, such as in PEP 333 WSGI, specifically the class example at http://www.python.org/dev/peps/pep-0333/#the-application-framework-side. Obviously I didn't

Re: [Openstack] Swift on Webob-1.2 anyone?

2012-05-17 Thread Pete Zaitcev
On Wed, 09 May 2012 18:18:52 +0200 Ionuț Arțăriși iartar...@suse.cz wrote: It would be great to have it on 1.2b3, though. I think I had a pretty good start, here: https://review.openstack.org/7569 Not sure if I am doing the right thing, however. I split it like this: - Proxy server does a

Re: [Openstack] Swift on Webob-1.2 anyone?

2012-05-09 Thread Pete Zaitcev
On Wed, 9 May 2012 16:14:48 +0100 Chmouel Boudjnah chmo...@chmouel.com wrote: The challenge if you are taking a stab at it would probably be to support webob 1.1* and 1.2 at the same time in the code. I noticed that too. 1.1.1 made some intermediate choices that are difficult to reconcile,

[Openstack] Swift on Webob-1.2 anyone?

2012-05-08 Thread Pete Zaitcev
I ran .unittests on a box with python-webob-1.2b3 and it throws left and right: errors=72, failures=6. I'm wondering if anyone is working on adapting Swift for WebOb 1.2 and if a patch is available somewhere. I see Ionut fixed lp:984042, but clearly it wasn't enough. If nobody's done it yet, I

Re: [Openstack] swift stat returns Auth GET failed: http://127.0.0.1:5000/v2.0/tokens 401 Not Authorized

2012-05-07 Thread Pete Zaitcev
On Mon, 7 May 2012 23:34:02 +0530 Shashi Kanth Boddula shashi@gmail.com wrote: root@OpenStack:~# swift -V 2 -A http://OpenStack:5000/v2.0 -U adminUser:admin -K 012345SECRET99TOKEN012345 stat Auth GET failed: http://OpenStack:5000/v2.0/tokens 401 Not Authorized endpoints:

[Openstack] Swift's proxy_logging vs. swift3

2012-05-04 Thread Pete Zaitcev
that do_start_response fills are not filled, and swift3 tracebacks with IndexError. I threw together a patch like this (against proxy log patch #6): commit 66b08d63c41c8aeebe745b00ba942dc564595e58 Author: Pete Zaitcev zait...@kotori.zaitcev.us Date: Fri May 4 17:34:32 2012 -0600 Fixed swift3

Re: [Openstack] Endpoints problems

2012-04-13 Thread Pete Zaitcev
On Fri, 13 Apr 2012 04:24:56 + Justin Shepherd jshep...@rackspace.com wrote: And if i am reading the code correctly they support both of the following variable declarations: %(tennant_id)s $(tennant_id)s since it appears the code replaces $( with %( Exactly why documentation is

Re: [Openstack] Endpoints problems

2012-04-13 Thread Pete Zaitcev
On Fri, 13 Apr 2012 13:28:36 + Guilherme Birk guib...@hotmail.com wrote: keystone --token ADMIN --publicurl=http://192.168.100.142:8774/v2/$(tenant_id)s But I'm getting a tenant_id: command not found. Shell expands variables in the double quote () strings, so you have to use single quote

Re: [Openstack] [SWIFT] Looking for an approach to attach an account or a container in operating system . Like a NAS of SAN driver.

2012-04-12 Thread Pete Zaitcev
On Thu, 12 Apr 2012 23:57:59 +0800 Kuo Hugo tonyt...@gmail.com wrote: What if user can attach their own account from swift-proxy (or something else) directly via NFS or CIFS or iscsi target will be much better. Would it not be easier to use an actual filesystem for that, like GlusterFS? I

Re: [Openstack] Endpoints problems

2012-04-12 Thread Pete Zaitcev
On Thu, 12 Apr 2012 15:28:21 -0500 Anne Gentle a...@openstack.org wrote: keystone --token 012345SECRET99TOKEN012345 --endpoint http://192.168.206.130:35357/v2.0 endpoint-create \ [] --internalurl http://192.168.206.130:8774/v2/$(tenant_id)s I haven't fixed this

Re: [Openstack] Endpoints problems

2012-04-12 Thread Pete Zaitcev
On Thu, 12 Apr 2012 22:33:38 -0400 Lorin Hochstein lo...@nimbisservices.com wrote: My understanding (based on somebody's previous answer in the mailing list, or possibly one of the IRC channels) was that you could only do this with the template backend, and when you were using the database

Re: [Openstack] Endpoints problems

2012-04-12 Thread Pete Zaitcev
On Fri, 13 Apr 2012 08:11:28 +0800 Yong Sheng Gong gong...@cn.ibm.com wrote: Maybe, here some codes are worth thouhands of words: I quite agree. On the other hand, does Anne care to read it? She needs a concise answer as to what command to document precisely, if I understad her query right.

Re: [Openstack] Swift nee st code weirdness

2012-04-06 Thread Pete Zaitcev
On Fri, 6 Apr 2012 00:17:49 -0400 Andrew Clay Shafer a...@parvuscaptus.com wrote: What were you expecting/trying to do with the code change? Here's a patch that hopefuly answers the question, although be warned that it does not actually work even if the scope of parser is fixed (it measures

[Openstack] Swift nee st code weirdness

2012-04-05 Thread Pete Zaitcev
Hi, All: In the process of tinkering for lp:959221, I made a benign modification to make it possible to invoke swift as a module, when everything broke loose with errors like NameError: global name 'parser' is not defined. Looking at the code it seems like a thinko, with the following fix: diff

Re: [Openstack] Swift and keystone: asking for an auth token.

2012-04-03 Thread Pete Zaitcev
On Tue, 03 Apr 2012 16:53:05 +0200 Pierre Amadio pierre.ama...@canonical.com wrote: [filter:tokenauth] paste.filter_factory = keystone.middleware.auth_token:filter_factory service_port = 5000 service_host = 192.168.122.102 auth_port = 35357 auth_host = 192.168.122.102 auth_protocol = http

[Openstack] Code 500 when authenticating with password

2012-03-30 Thread Pete Zaitcev
Greetings: It seems that I am unable to authenticate against the current Keystone, and I am not sure if it is a bug or a local misconfiguration. So, before I file in Launchpad, I'd like someone to verify that I am doing the right thing. The problem looks like this: [zaitcev@kvm-rei zaitcev]$

Re: [Openstack] Code 500 when authenticating with password

2012-03-30 Thread Pete Zaitcev
On Sat, 31 Mar 2012 10:26:10 +0800 Yong Sheng Gong gong...@cn.ibm.com wrote: also you can see the request body from server log, just like this: 2012-03-31 10:16:44DEBUG [keystone.common.wsgi] REQUEST BODY 2012-03-31 10:16:44DEBUG

Re: [Openstack] Code 500 when authenticating with password

2012-03-30 Thread Pete Zaitcev
On Sat, 31 Mar 2012 10:26:10 +0800 Yong Sheng Gong gong...@cn.ibm.com wrote: Second: you can use keystone --debug user-list to show what http message sent to server As it turned out, I omitted 's' after the format, because I redone my old Keystone population script, which did not have any of

[Openstack] Object expirer in Swift SAIO

2012-03-23 Thread Pete Zaitcev
Hello: Is running swift-object-expirer necessary in SAIO? Currently, there is no instruction to set one up, and so swift-init bypasses it, only reports that it's missing. Things seem to work fine without. I found a bunch of tombstones, but they are all zero length. Curious, -- Pete

Re: [Openstack] [SWIFT] Skipping disk as it is not mounted

2012-03-22 Thread Pete Zaitcev
On Thu, 22 Mar 2012 14:09:52 + Leander Bessa leande...@gmail.com wrote: I'm installing swift on ubuntu 11.10 on a physical machine with and the partition mounted on /mnt/disk. I have a symbolic link on /srv/node/disk pointing to /mnt/disk and /srv/node belongs to swift:swift. The disk is

Re: [Openstack] [SWIFT] Skipping disk as it is not mounted

2012-03-22 Thread Pete Zaitcev
On Thu, 22 Mar 2012 17:56:01 + Leander Bessa leande...@gmail.com wrote: I've tried mounting it directly but it still didn't work. The only thing that got it running was disabling the mount_check. You don't happen to sub-partition like SAIO does? This works for me (2 volumes on 1 node for

Re: [Openstack] swift-get-nodes lies to me?

2012-03-12 Thread Pete Zaitcev
On Sat, 10 Mar 2012 12:42:02 + Souza, Bob bob.so...@hp.com wrote: The first argument to swift-get-nodes is the swift hash of the user name, typically some like AUTH_mumble, not the user name itself. Indeed so, thanks. I eventually fetched that hash from logs. However, I imagine it may get

[Openstack] swift-get-nodes lies to me?

2012-03-09 Thread Pete Zaitcev
Dear All: A strange thing seems to happen. It looks like this: - I upload a key named testdata [zaitcev@simbelmyne tests]$ /q/zaitcev/hail/swift-tip/bin/swift -A http://kvm-rei:5000/v1.0 -U zaitcev -K pass list test-1235163301 testdata [zaitcev@simbelmyne tests]$ I have a script that also

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

2012-02-23 Thread Pete Zaitcev
On Thu, 23 Feb 2012 10:09:07 +0530 Sudhakar Maiya sma...@gmail.com wrote: please check and let me know what needs to be done You have to decide if you run with SSL or without. These two clauses obviously contradict to each other: [DEFAULT] #cert_file = /etc/swift/cert.crt #key_file =

Re: [Openstack] swift keystone help

2012-02-21 Thread Pete Zaitcev
On Tue, 21 Feb 2012 11:24:06 -0600 Paras pradhan pradhanpa...@gmail.com wrote: Yeah that was a type when I copy pasted. You mean, the commented section header #[]? keystone-manage tenant add adminTenant keystone-manage user add adminUser secretword keystone-manage role add Admin

Re: [Openstack] DeltaCloud

2012-02-21 Thread Pete Zaitcev
On Tue, 21 Feb 2012 23:04:22 +0700 Frans Thamura fr...@meruvian.org wrote: i think the foundation need to be hurry and work closely with Apache ;0 What do you propose this work closely with actually mean? What do you want Foundation actually do in this regard? Issue a press release? -- Pete

Re: [Openstack] swift keystone help

2012-02-20 Thread Pete Zaitcev
On Mon, 20 Feb 2012 14:34:22 -0600 Paras pradhan pradhanpa...@gmail.com wrote: http://paste.openstack.org/show/4912/ Did you notice this: #[filter:keystone] use = egg:keystone#tokenauth Seems commented :-) The only undocumented trap that I hit was that you MUST create users and grant roles

Re: [Openstack] Swift S3 with Keystone anyone?

2012-02-09 Thread Pete Zaitcev
On Thu, 2 Feb 2012 19:03:54 +0900 Akira Yoshiyama akirayoshiy...@gmail.com wrote: I modified the wiki: http://wiki.openstack.org/Keystone-BP-S3Token I added authtoken in main pipeline just now. I am still unable to figure out how to add the right password. So far, the only thing I figured

[Openstack] git-review change 3988

2012-02-09 Thread Pete Zaitcev
Guys, Am I going mad? Can't see what's going on. The resulting code after commit looks is this (copy-pasted precisely): # Workaround bug in urlparse on OSX if parsed_url.scheme == ssh and hostname[:2] == //: hostname = hostname[2:].split(/)[0] # Workaround bug in urlparse on

Re: [Openstack] Swift S3 with Keystone anyone?

2012-02-09 Thread Pete Zaitcev
On Thu, 9 Feb 2012 21:23:06 -0500 Andiabes andi.a...@gmail.com wrote: Take a peek here ( this is for diablo/stable) https://github.com/dellcloudedge/barclamp-keystone/blob/master/chef/cookbooks/keystone/ recipes/server.rb#L160 Thanks a lot, this worked: keystone-manage credentials add

Re: [Openstack] Swift and devstack.

2012-02-06 Thread Pete Zaitcev
On Mon, 6 Feb 2012 18:53:36 +0100 Chmouel Boudjnah chmo...@chmouel.com wrote: Another thing I want to implement is to add Swift as a back-end to Glance. Wait, what is this then [zaitcev@lembas glance-tip]$ ls glance/store/swift.py glance/store/swift.py [zaitcev@lembas glance-tip]$ cat

[Openstack] Swift S3 with Keystone anyone?

2012-02-01 Thread Pete Zaitcev
Hello: Does anyone happen to have Swift running with S3 and Keystone? If yes, send me the proxy-server.conf, please. Also, I'd like to ask a few questions, if I may. I tried to piece it together from the code, but failed. The authentication is done with a special hook into Keystone. It supplies

Re: [Openstack] Swift Consistency Guarantees?

2012-01-20 Thread Pete Zaitcev
On Fri, 20 Jan 2012 15:17:32 -0500 Nikolaus Rath nikol...@rath.org wrote: Thanks! So there is no way to reliably get the most-recent version of an object under all conditions. If you bend the conditions hard enough to hit the CAP theorem, you do. -- Pete

[Openstack] Listing non-public images in Glance

2012-01-19 Thread Pete Zaitcev
Hello: This clearly seems like I am missing something obvious, but is it possible to list non-public images in Glance? It came up because I have a Glance setup without Keystone or other authentication for now, like this: [pipeline:glance-api] pipeline = versionnegotiation context apiv1app

Re: [Openstack] Listing non-public images in Glance

2012-01-19 Thread Pete Zaitcev
On Thu, 19 Jan 2012 16:48:55 -0500 Jay Pipes jaypi...@gmail.com wrote:  a) If authentication is in effect, can users list their own images? Yes. If authentication is enabled and a user calls GET /images, they see a list of non-deleted, non-killed-status *public* images (is_public=True) AND

Re: [Openstack] High I/O on idle Swift devices

2011-12-13 Thread Pete Zaitcev
On Tue, 13 Dec 2011 02:30:14 + Rustam Aliyev rus...@code.az wrote: [...] During this period, I can see constant read I/O of 3MB/s on each swift device. When I shutdown object-server I/O goes to zero. Killing swift-object-server is tantamount to unplugging a disk: the I/O goes to zero,

Re: [Openstack] swfit / keystone auth

2011-12-13 Thread Pete Zaitcev
On Tue, 13 Dec 2011 11:27:28 -0500 andi abes andi.a...@gmail.com wrote: A few questions (about keystone 2012.1) Just to facilitate the tip-sharing, here's what I know - not being an expert in either Swift of Keystone. a) does the swift middleware work with v1.0 or 2.0 auth? I heard that

[Openstack] 404 for account on nodes

2011-12-06 Thread Pete Zaitcev
Greetings: This is most likely to be an administration problem, but I am trying to use it as a hook to gain understanding into workings of Swift. I have a test cluster with 2 VMs and 4 nodes. At some point, I reinstalled one of the nodes, and now this 404 happens from time to time: Dec 6

Re: [Openstack] Keystone + Swift integration

2011-11-25 Thread Pete Zaitcev
On Wed, 23 Nov 2011 09:28:01 -0300 Leandro Reox leandro.r...@gmail.com wrote: keystone-manage endpointTemplates add RegionOne swift http://172.16.0.88:8080/v1/AUTH_%tenant_id% http://172.16.0.88:8080/ http://172.16.0.88:8080/v1/AUTH_%tenant_id% 1 1 I'm curious, did you actually put the '%'

Re: [Openstack] Some insight into the number of instances Nova needs to spin up...

2010-12-30 Thread Pete Zaitcev
On Wed, 29 Dec 2010 19:27:09 + Erik Carlin erik.car...@rackspace.com wrote: The 1M host limit still seems reasonable to me. [] In my opinion, such numbers are completely out of whack. Google's Chubby article says that the busiest Chubby has 90,000 clients (not hosts!) and the biggest