Merge "Cluster code looks for wrong field in request for volume type"
This commit is contained in:
commit
92a78ea5e5
@ -0,0 +1,3 @@
|
||||
---
|
||||
fixes:
|
||||
- Allow specification of volume-type on cluster create. (Bug 1623005)
|
@ -161,7 +161,7 @@ class ClusterController(wsgi.Controller):
|
||||
modules = None
|
||||
if 'volume' in node:
|
||||
volume_size = int(node['volume']['size'])
|
||||
volume_type = node['volume'].get('volume_type')
|
||||
volume_type = node['volume'].get('type')
|
||||
if 'nics' in node:
|
||||
nics = node['nics']
|
||||
if 'availability_zone' in node:
|
||||
|
Loading…
x
Reference in New Issue
Block a user