When any vm creation fails because of exceeding 'gigabytes',
'volumes', 'per_volume_gigabytes' quotas, the error message
generated is specific to 'volumes' quota which says
"Volume resource quota exceeded". Instead, the error message
should be specific to the quota which failed.
Change-Id: I9c1ac2cd4752d5aac20d06407792647b4549ad3d
Closes-Bug: 1680457
(cherry picked from commit 510371d526bd45195be806fb153646abdc269b70)
Reviewed: https:/ /review. openstack. org/462561 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=f5a17d9ed31 2509e51fea154a1 7c4c5fe118c66b
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit f5a17d9ed312509 e51fea154a17c4c 5fe118c66b
Author: Abhishek Sharma <email address hidden>
Date: Wed Apr 26 16:38:15 2017 -0400
Catching OverQuota Exception
When any vm creation fails because of exceeding 'gigabytes', gigabytes' quotas, the error message
'volumes', 'per_volume_
generated is specific to 'volumes' quota which says
"Volume resource quota exceeded". Instead, the error message
should be specific to the quota which failed.
Change-Id: I9c1ac2cd4752d5 aac20d064077926 47b4549ad3d 95be806fb153646 abdc269b70)
Closes-Bug: 1680457
(cherry picked from commit 510371d526bd451