Re: [openstack-dev] [Nova] Question about thread safe of key-pair and securtiy rules quota

2014-07-24 Thread Kevin L. Mitchell
On Thu, 2014-07-24 at 14:04 +0800, Chen CH Ji wrote: > According to bug [1], there are some possibilities that concurrent > operations on keypair/security rules can exceed quota > Found that we have 3 kinds of resources in quotas.py: > ReservableResource/AbsoluteResource/CountableResource > > cur

[openstack-dev] [Nova] Question about thread safe of key-pair and securtiy rules quota

2014-07-23 Thread Chen CH Ji
According to bug [1], there are some possibilities that concurrent operations on keypair/security rules can exceed quota Found that we have 3 kinds of resources in quotas.py: ReservableResource/AbsoluteResource/CountableResource curious about CountableResource because it's can't be thread safe du