Fixed _processServerCreate()
This commit fixes the setting of the quota type (for Ocata). Change-Id: Ic7bdaa31e2028256d49cbbc0b1b41ab88e4fe1b4 Sem-Ver: bugfix
This commit is contained in:
parent
ba2c862c17
commit
ebc4694782
@ -337,7 +337,10 @@ class SchedulerManager(Manager):
|
|||||||
request.getProjectId(), num_attempts, reason))
|
request.getProjectId(), num_attempts, reason))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
try:
|
||||||
self.nova_manager.setQuotaTypeServer(server)
|
self.nova_manager.setQuotaTypeServer(server)
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
|
|
||||||
if server.isPermanent():
|
if server.isPermanent():
|
||||||
if quota.allocate(server, blocking=False):
|
if quota.allocate(server, blocking=False):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user