Re: [openstack-dev] [Nova] Proposal to revert per-user-quotas

2013-08-21 Thread Gary Kotton
From: Vishvananda Ishaya [mailto:vishvana...@gmail.com] Sent: Tuesday, August 20, 2013 9:41 PM To: OpenStack Development Mailing List Subject: Re: [openstack-dev] [Nova] Proposal to revert per-user-quotas On Aug 20, 2013, at 9:02 AM, Yingjun Li liyingjun1...@gmail.commailto:liyingjun1

[openstack-dev] [Nova] Proposal to revert per-user-quotas

2013-08-20 Thread Andrew Laski
The patch in question (https://review.openstack.org/#/c/28232/24) adds the ability to track quota usage on a per user basis within a project. I have run into two issues with it so far: the db migration is incomplete and leaves the data in a bad state, and the sync methods used during quota

Re: [openstack-dev] [Nova] Proposal to revert per-user-quotas

2013-08-20 Thread Yingjun Li
Thanks for address the issues. About the bad state for fixed_ips, floating_ips, i think we could make the user_id column=NULL when creating the quota usage and reservation, so the usages for fixed_ips and floating_ips will be synced within the project. Does this make sense? 2013/8/20 Andrew

Re: [openstack-dev] [Nova] Proposal to revert per-user-quotas

2013-08-20 Thread Andrew Laski
On 08/21/13 at 12:02am, Yingjun Li wrote: Thanks for address the issues. About the bad state for fixed_ips, floating_ips, i think we could make the user_id column=NULL when creating the quota usage and reservation, so the usages for fixed_ips and floating_ips will be synced within the project.

Re: [openstack-dev] [Nova] Proposal to revert per-user-quotas

2013-08-20 Thread Vishvananda Ishaya
On Aug 20, 2013, at 9:02 AM, Yingjun Li liyingjun1...@gmail.com wrote: Thanks for address the issues. About the bad state for fixed_ips, floating_ips, i think we could make the user_id column=NULL when creating the quota usage and reservation, so the usages for fixed_ips and floating_ips