Re: [Openstack] [Keystone][Swift] Problems with admin_user, admin_password, admin_tenant_name

2013-02-24 Thread Alex Yang
If you want to create a reseller_admin user with keystone, you should add this user in keystone with admin role. The admin role is the configuration of keysoneauth. [filter:keystoneauth] use = egg:swift#keystoneauth operator_roles = admin, swiftoperator 2013/2/23 Kun Huang

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

2013-02-20 Thread Alex Yang
changed the code slightly to make it more consistent to the already merged container quota. @chmouel: I might create a pull request to swift itself - what do you think? Christian Am Mittwoch, den 20.02.2013, 11:11 +0100 schrieb Alex Yang alex890...@gmail.com: Storage Quotas Design [1

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

2013-02-20 Thread Alex Yang
in system. Chmouel. On Wed, Feb 20, 2013 at 11:11 AM, Alex Yang alex890...@gmail.com wrote: Storage Quotas Designhttps://docs.google.com/document/d/1b5hkT_E8PyzaAPjNImW0SF-yyh8vGrN_DNjMChol4_Q/edit This is the design draft of Storage Quota. Implementation of this design is https

Re: [Openstack] [Swift] Administration Interfaces/Tools for Swift

2013-01-30 Thread Alex Yang
You can try to use StatD wisth zabbix. 2013/1/31 Gui Maluf guimal...@gmail.com Nice things guys! I think for the monitoring purpose swift is well served. There is many tools that make the work. But seems that there is a lack of a admin interface, right? What I've found on SwiftStack looks

Re: [Openstack] [swift] how to configure NWR policy

2012-12-10 Thread Alex Yang
Hi, Zhang, Just add 'X-Newest: Ture' in the HTTP GET request. 2012/12/11 Hua ZZ Zhang zhu...@cn.ibm.com Hi all, I have a question about swift configuration for NWR policy. According to some documents of Swift, NWR is configurable. The general configuration is: N=3, W=2, R=1 or 2. Swift

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

2012-11-12 Thread Alex Yang
Hi, The python-swiftclient(https://github.com/openstack/python-swiftclient) can retrieve the account-level and container-level usage infomation. To retrieve the account usage information: $ swift -V 2 -A http://127.0.0.1:5000/v2.0 -U tenant1:swift_user -K 19561212 stat Account:

Re: [Openstack] Troubleshooting Swift 1.7.4 on mini servers

2012-10-29 Thread Alex Yang
There are any error about disk in the kern.log? 2012/10/30 Nathan Trueblood nat...@truebloodllc.com Still no further clues. I re-created all the volumes I'm using for Swift. Plenty of Inodes free: lab@data02:~$ df -i FilesystemInodes IUsed IFree IUse% Mounted on /dev/sda2

Re: [Openstack] does swift support resume upload?

2012-10-13 Thread Alex Yang
Hi, What is resume upload? 2012/10/13 符永涛 yongta...@gmail.com Dear swift experts, We're planning to use swift to implement an upload service. And we want to know if swift support resume upload feature? Thank you. -- 符永涛 ___ Mailing list:

[Openstack] [Swift]How to recovery the ring builder file?

2012-09-16 Thread Alex Yang
Hi all. Yesterday, I made a mistake than I delete all my ring builder files. How can I recovery the ring builder files? -- 杨雨 Email: alex890...@gmail.com GitHub: https://github.com/AlexYangYu Blog:http://alexyang.sinaapp.com Weibo:

Re: [Openstack] Swift PTL candidacy

2012-09-05 Thread Alex Yang
John does a great job! 2012/9/5 Thierry Carrez thie...@openstack.org John Dickinson wrote: I am running to continue my position as Swift PTL. As an election official, I can confirm that you are eligible. -- Thierry Carrez (ttx) Release Manager, OpenStack

Re: [Openstack] [OpenStack][Swift] How about move auth_toke and swift_auth middlewares into Swift?

2012-08-30 Thread Alex Yang
keystone since there is a massive works of documentation that needed to be done and it's a bit too late for this release timeline since distributors/operators may be not ready for it yet. Chmouel. On Thu, Aug 30, 2012 at 5:45 AM, Alex Yang alex890...@gmail.com wrote: Hi Swifters, I use

Re: [Openstack] [OpenStack][Swift] How about move auth_toke and swift_auth middlewares into Swift?

2012-08-30 Thread Alex Yang
Thanks! 2012/8/30 Chmouel Boudjnah chmo...@chmouel.com Hello Alex, On Thu, Aug 30, 2012 at 11:52 AM, Alex Yang alex890...@gmail.com wrote: How to deal with the auth_token middleware? Move it into swift or move it into openstack/common? there was a whole discussion last week about

[Openstack] [OpenStack][Swift] How about move auth_toke and swift_auth middlewares into Swift?

2012-08-29 Thread Alex Yang
Hi Swifters, I use keystone for the authentication and authorization of swift. During the benchmark test, I also encountered this kind of problems https://bugs.launchpad.net/keystone/+bug/1020127. I do some changes that moved the auth_toke and swift_auth middlewares into swift and replace the

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

2012-07-05 Thread Alex Yang
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

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

2012-07-05 Thread Alex Yang
2012/7/6 Alex Yang alex890...@gmail.com Hi, I have created a new branch named for_keystone2.0 in g...@github.com: AlexYangYu/python-cloudfiles.git. This branch works fine with keystone v2.0. import cloudfiles conn = cloudfiles.get_connection( username='service:swift', api_key='swift

Re: [Openstack] Swift: tempURL

2012-05-14 Thread Alex Yang
tempurl dose not work with keystone. you must follow the instruction of tempurl to use it. the instruction is locate in the comment of swift/common/middleware/tempurl.py 在 2012-5-15 上午2:06,Suchi Sinha (susinha) susi...@cisco.com写道: I am trying to run swift temp url feature. We have keystone

[Openstack] [Swift] Does there any exist blueprint or sub-project of user's storage space quota or counting method for Swift ?

2012-04-12 Thread Alex Yang
In my view, the biggest problem of swift is not the new features but the improvement of performance. At first, we knew that container-updater, *-auditor, *-replicator will loop all the files in the disk during the running interval. When the number of files is very large, the process of

[Openstack] The high CPU usage of container-server in swift

2012-01-10 Thread Alex Yang
Hi! I faced a problem that the process of container-server performance a high CPU usage. I tried to profile the container-server via repoze.profile, but failed. Any one else can give me some suggestion about profiling the container-server? Thanks!