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 wantwater...@gmail.com 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 amount of storage can be configured and new hard disc can be
 added into the ring, but I don't know how to divide individual space for
 a user. I try to find related info in manual but failed.

 Thanks.

 On 3/4/2013 12:43 AM, Gareth wrote:
 I think storage limit is a good feature.


 On Sat, Mar 2, 2013 at 1:14 PM, jeffty wantwater...@gmail.com
 mailto:wantwater...@gmail.com wrote:

 Hi All,

 I can upload/download in swift by execute 'swift upload' and 'swift
 download'. Is it possible to create storage and define its size for a
 specified tenant/user without providing any instance?

 Then the user can upload/download his own files in swift and don't need
 to own an vm instance.

 Thanks.

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 mailto:openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




 --
 Gareth
 /Cloud Computing, Openstack, Fitness, Basketball
 /
 /Novice Openstack contributer/
 /My promise: if you find any spelling or grammar mistake in my email
 from Mar 1 2013, notice me /
 /and I'll donate 1$ or 1¥ to open organization specified by you./


 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp

___
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] [Swift] Define storage size for specified tenant/user

2013-03-04 Thread Gareth
You have many choices,
1. Chmouel's answer (middleware is a good implementation)
2. ACL helps you allow or abandon usage of some user, but cannot give a
specified storage limit
3. If you're developer, you could add this feature and merge it into swift.
(It's not difficult I think)



On Mon, Mar 4, 2013 at 10:57 PM, Chmouel Boudjnah chmo...@chmouel.comwrote:

 Maybe this is what you are looking for :

 https://github.com/cschwede/swquota

 Chmouel.

 On Mon, Mar 4, 2013 at 3:17 PM, jeffty wantwater...@gmail.com 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 amount of storage can be configured and new hard disc can be
  added into the ring, but I don't know how to divide individual space for
  a user. I try to find related info in manual but failed.
 
  Thanks.
 
  On 3/4/2013 12:43 AM, Gareth wrote:
  I think storage limit is a good feature.
 
 
  On Sat, Mar 2, 2013 at 1:14 PM, jeffty wantwater...@gmail.com
  mailto:wantwater...@gmail.com wrote:
 
  Hi All,
 
  I can upload/download in swift by execute 'swift upload' and 'swift
  download'. Is it possible to create storage and define its size for
 a
  specified tenant/user without providing any instance?
 
  Then the user can upload/download his own files in swift and don't
 need
  to own an vm instance.
 
  Thanks.
 
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
  mailto:openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp
 
 
 
 
  --
  Gareth
  /Cloud Computing, Openstack, Fitness, Basketball
  /
  /Novice Openstack contributer/
  /My promise: if you find any spelling or grammar mistake in my email
  from Mar 1 2013, notice me /
  /and I'll donate 1$ or 1¥ to open organization specified by you./
 
 
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp




-- 
Gareth
*Cloud Computing, Openstack, Fitness, Basketball
*
*Novice Openstack contributer*
*My promise: if you find any spelling or grammar mistake in my email from
Mar 1 2013, notice me *
*and I'll donate 1$ or 1¥ to open organization specified by you.*
___
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] [Swift] Define storage size for specified tenant/user

2013-03-04 Thread Gareth
sorry... it's Chmouel


On Tue, Mar 5, 2013 at 1:37 AM, Gareth academicgar...@gmail.com wrote:

 HI, Chomouel

 Do you think storage limit (for account or for container) is good feature
 in swift?


 On Tue, Mar 5, 2013 at 1:27 AM, Gareth academicgar...@gmail.com wrote:

 You have many choices,
 1. Chmouel's answer (middleware is a good implementation)
 2. ACL helps you allow or abandon usage of some user, but cannot give a
 specified storage limit
  3. If you're developer, you could add this feature and merge it into
 swift. (It's not difficult I think)



 On Mon, Mar 4, 2013 at 10:57 PM, Chmouel Boudjnah chmo...@chmouel.comwrote:

 Maybe this is what you are looking for :

 https://github.com/cschwede/swquota

 Chmouel.

 On Mon, Mar 4, 2013 at 3:17 PM, jeffty wantwater...@gmail.com 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 amount of storage can be configured and new hard disc can be
  added into the ring, but I don't know how to divide individual space
 for
  a user. I try to find related info in manual but failed.
 
  Thanks.
 
  On 3/4/2013 12:43 AM, Gareth wrote:
  I think storage limit is a good feature.
 
 
  On Sat, Mar 2, 2013 at 1:14 PM, jeffty wantwater...@gmail.com
  mailto:wantwater...@gmail.com wrote:
 
  Hi All,
 
  I can upload/download in swift by execute 'swift upload' and
 'swift
  download'. Is it possible to create storage and define its size
 for a
  specified tenant/user without providing any instance?
 
  Then the user can upload/download his own files in swift and
 don't need
  to own an vm instance.
 
  Thanks.
 
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
  mailto:openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp
 
 
 
 
  --
  Gareth
  /Cloud Computing, Openstack, Fitness, Basketball
  /
  /Novice Openstack contributer/
  /My promise: if you find any spelling or grammar mistake in my email
  from Mar 1 2013, notice me /
  /and I'll donate 1$ or 1¥ to open organization specified by you./
 
 
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp




 --
 Gareth
 *Cloud Computing, Openstack, Fitness, Basketball
 *
 *Novice Openstack contributer*
 *My promise: if you find any spelling or grammar mistake in my email
 from Mar 1 2013, notice me *
  *and I'll donate 1$ or 1¥ to open organization specified by you.*




 --
 Gareth
 *Cloud Computing, Openstack, Fitness, Basketball
 *
 *Novice Openstack contributer*
 *My promise: if you find any spelling or grammar mistake in my email from
 Mar 1 2013, notice me *
 *and I'll donate 1$ or 1¥ to open organization specified by you.*




-- 
Gareth
*Cloud Computing, Openstack, Fitness, Basketball
*
*Novice Openstack contributer*
*My promise: if you find any spelling or grammar mistake in my email from
Mar 1 2013, notice me *
*and I'll donate 1$ or 1¥ to open organization specified by you.*
___
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] [Swift] Define storage size for specified tenant/user

2013-03-04 Thread Gareth
HI, Chomouel

Do you think storage limit (for account or for container) is good feature
in swift?


On Tue, Mar 5, 2013 at 1:27 AM, Gareth academicgar...@gmail.com wrote:

 You have many choices,
 1. Chmouel's answer (middleware is a good implementation)
 2. ACL helps you allow or abandon usage of some user, but cannot give a
 specified storage limit
 3. If you're developer, you could add this feature and merge it into
 swift. (It's not difficult I think)



 On Mon, Mar 4, 2013 at 10:57 PM, Chmouel Boudjnah chmo...@chmouel.comwrote:

 Maybe this is what you are looking for :

 https://github.com/cschwede/swquota

 Chmouel.

 On Mon, Mar 4, 2013 at 3:17 PM, jeffty wantwater...@gmail.com 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 amount of storage can be configured and new hard disc can be
  added into the ring, but I don't know how to divide individual space for
  a user. I try to find related info in manual but failed.
 
  Thanks.
 
  On 3/4/2013 12:43 AM, Gareth wrote:
  I think storage limit is a good feature.
 
 
  On Sat, Mar 2, 2013 at 1:14 PM, jeffty wantwater...@gmail.com
  mailto:wantwater...@gmail.com wrote:
 
  Hi All,
 
  I can upload/download in swift by execute 'swift upload' and 'swift
  download'. Is it possible to create storage and define its size
 for a
  specified tenant/user without providing any instance?
 
  Then the user can upload/download his own files in swift and don't
 need
  to own an vm instance.
 
  Thanks.
 
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
  mailto:openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp
 
 
 
 
  --
  Gareth
  /Cloud Computing, Openstack, Fitness, Basketball
  /
  /Novice Openstack contributer/
  /My promise: if you find any spelling or grammar mistake in my email
  from Mar 1 2013, notice me /
  /and I'll donate 1$ or 1¥ to open organization specified by you./
 
 
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp




 --
 Gareth
 *Cloud Computing, Openstack, Fitness, Basketball
 *
 *Novice Openstack contributer*
 *My promise: if you find any spelling or grammar mistake in my email from
 Mar 1 2013, notice me *
 *and I'll donate 1$ or 1¥ to open organization specified by you.*




-- 
Gareth
*Cloud Computing, Openstack, Fitness, Basketball
*
*Novice Openstack contributer*
*My promise: if you find any spelling or grammar mistake in my email from
Mar 1 2013, notice me *
*and I'll donate 1$ or 1¥ to open organization specified by you.*
___
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] [Swift] Define storage size for specified tenant/user

2013-03-04 Thread Christian Schwede
Storage limit for container is already merged into swift, I just merged
swquota into swift for review (I'm the author of swquota ;-)).

I think it's a good feature ;-)

Christian


Am 04.03.13 18:37, schrieb Gareth:
 HI, Chomouel
 
 Do you think storage limit (for account or for container) is good
 feature in swift?
 
 
 On Tue, Mar 5, 2013 at 1:27 AM, Gareth academicgar...@gmail.com
 mailto:academicgar...@gmail.com wrote:
 
 You have many choices,
 1. Chmouel's answer (middleware is a good implementation)
 2. ACL helps you allow or abandon usage of some user, but cannot
 give a specified storage limit
 3. If you're developer, you could add this feature and merge it into
 swift. (It's not difficult I think)
 
 
 
 On Mon, Mar 4, 2013 at 10:57 PM, Chmouel Boudjnah
 chmo...@chmouel.com mailto:chmo...@chmouel.com wrote:
 
 Maybe this is what you are looking for :
 
 https://github.com/cschwede/swquota
 
 Chmouel.
 
 On Mon, Mar 4, 2013 at 3:17 PM, jeffty wantwater...@gmail.com
 mailto:wantwater...@gmail.com 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 amount of storage can be configured and new hard
 disc can be
  added into the ring, but I don't know how to divide individual
 space for
  a user. I try to find related info in manual but failed.
 
  Thanks.
 
  On 3/4/2013 12:43 AM, Gareth wrote:
  I think storage limit is a good feature.
 
 
  On Sat, Mar 2, 2013 at 1:14 PM, jeffty
 wantwater...@gmail.com mailto:wantwater...@gmail.com
  mailto:wantwater...@gmail.com
 mailto:wantwater...@gmail.com wrote:
 
  Hi All,
 
  I can upload/download in swift by execute 'swift upload'
 and 'swift
  download'. Is it possible to create storage and define
 its size for a
  specified tenant/user without providing any instance?
 
  Then the user can upload/download his own files in swift
 and don't need
  to own an vm instance.
 
  Thanks.
 
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
 mailto:openstack@lists.launchpad.net
  mailto:openstack@lists.launchpad.net
 mailto:openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp
 
 
 
 
  --
  Gareth
  /Cloud Computing, Openstack, Fitness, Basketball
  /
  /Novice Openstack contributer/
  /My promise: if you find any spelling or grammar mistake in
 my email
  from Mar 1 2013, notice me /
  /and I'll donate 1$ or 1¥ to open organization specified by
 you./
 
 
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
 mailto:openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp
 
 
 
 
 -- 
 Gareth
 /Cloud Computing, Openstack, Fitness, Basketball
 /
 /Novice Openstack contributer/
 /My promise: if you find any spelling or grammar mistake in my email
 from Mar 1 2013, notice me /
 /and I'll donate 1$ or 1¥ to open organization specified by you./
 
 
 
 
 -- 
 Gareth
 /Cloud Computing, Openstack, Fitness, Basketball
 /
 /Novice Openstack contributer/
 /My promise: if you find any spelling or grammar mistake in my email
 from Mar 1 2013, notice me /
 /and I'll donate 1$ or 1¥ to open organization specified by you./
 
 
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp
 


___
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] [Swift] Define storage size for specified tenant/user

2013-03-04 Thread jeffty
Cool!

Thanks a lot Chomouel  Gareth, I'll try it.

On 3/5/2013 1:43 AM, Christian Schwede wrote:
 Storage limit for container is already merged into swift, I just merged
 swquota into swift for review (I'm the author of swquota ;-)).
 
 I think it's a good feature ;-)
 
 Christian
 
 
 Am 04.03.13 18:37, schrieb Gareth:
 HI, Chomouel

 Do you think storage limit (for account or for container) is good
 feature in swift?


 On Tue, Mar 5, 2013 at 1:27 AM, Gareth academicgar...@gmail.com
 mailto:academicgar...@gmail.com wrote:

 You have many choices,
 1. Chmouel's answer (middleware is a good implementation)
 2. ACL helps you allow or abandon usage of some user, but cannot
 give a specified storage limit
 3. If you're developer, you could add this feature and merge it into
 swift. (It's not difficult I think)



 On Mon, Mar 4, 2013 at 10:57 PM, Chmouel Boudjnah
 chmo...@chmouel.com mailto:chmo...@chmouel.com wrote:

 Maybe this is what you are looking for :

 https://github.com/cschwede/swquota

 Chmouel.

 On Mon, Mar 4, 2013 at 3:17 PM, jeffty wantwater...@gmail.com
 mailto:wantwater...@gmail.com 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 amount of storage can be configured and new hard
 disc can be
  added into the ring, but I don't know how to divide individual
 space for
  a user. I try to find related info in manual but failed.
 
  Thanks.
 
  On 3/4/2013 12:43 AM, Gareth wrote:
  I think storage limit is a good feature.
 
 
  On Sat, Mar 2, 2013 at 1:14 PM, jeffty
 wantwater...@gmail.com mailto:wantwater...@gmail.com
  mailto:wantwater...@gmail.com
 mailto:wantwater...@gmail.com wrote:
 
  Hi All,
 
  I can upload/download in swift by execute 'swift upload'
 and 'swift
  download'. Is it possible to create storage and define
 its size for a
  specified tenant/user without providing any instance?
 
  Then the user can upload/download his own files in swift
 and don't need
  to own an vm instance.
 
  Thanks.
 
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
 mailto:openstack@lists.launchpad.net
  mailto:openstack@lists.launchpad.net
 mailto:openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp
 
 
 
 
  --
  Gareth
  /Cloud Computing, Openstack, Fitness, Basketball
  /
  /Novice Openstack contributer/
  /My promise: if you find any spelling or grammar mistake in
 my email
  from Mar 1 2013, notice me /
  /and I'll donate 1$ or 1¥ to open organization specified by
 you./
 
 
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
 mailto:openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp




 -- 
 Gareth
 /Cloud Computing, Openstack, Fitness, Basketball
 /
 /Novice Openstack contributer/
 /My promise: if you find any spelling or grammar mistake in my email
 from Mar 1 2013, notice me /
 /and I'll donate 1$ or 1¥ to open organization specified by you./




 -- 
 Gareth
 /Cloud Computing, Openstack, Fitness, Basketball
 /
 /Novice Openstack contributer/
 /My promise: if you find any spelling or grammar mistake in my email
 from Mar 1 2013, notice me /
 /and I'll donate 1$ or 1¥ to open organization specified by you./


 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp

 
 
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp
 


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


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

2013-03-01 Thread jeffty
Hi All,

I can upload/download in swift by execute 'swift upload' and 'swift
download'. Is it possible to create storage and define its size for a
specified tenant/user without providing any instance?

Then the user can upload/download his own files in swift and don't need
to own an vm instance.

Thanks.

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp