In case nova server has quotas turned off, e.g. when it uses
NoopQuotaDriver, nova-api returns '-1' for corresponding resources which
obviously means 'INFINITY'. In this case we should not check resource
template for any limits and should pass resource creation as-is.
Reviewed: https:/ /review. openstack. org/89388 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=937ac5a0894 719af21cfac24e2 18a980307fceed
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 937ac5a0894719a f21cfac24e218a9 80307fceed
Author: Vladimir Kuklin <email address hidden>
Date: Mon Apr 21 21:42:14 2014 +0400
Ignore nova limits set to '-1'
In case nova server has quotas turned off, e.g. when it uses iver, nova-api returns '-1' for corresponding resources which
NoopQuotaDr
obviously means 'INFINITY'. In this case we should not check resource
template for any limits and should pass resource creation as-is.
Change-Id: Idaf485719e384f 3a613031c7ff272 d55798e6e77
Closes-Bug: #1310710
Co-Authored-By: Dmitry Borodaenko <email address hidden>