Fix partitions error when pass down to ironic.
Set default preserve_ephemeral parameter, then partitions can be passed correctly. Change-Id: Ie353ac2bacb55a69aa4535292d1848dce46a8aa2
This commit is contained in:
parent
c8beb3613d
commit
26304c8763
@ -289,7 +289,7 @@ class IronicDriver(base_driver.BaseEngineDriver):
|
||||
|
||||
# add server info to node
|
||||
node = self._get_node(node_uuid)
|
||||
self._add_server_info_to_node(node, server, partitions)
|
||||
self._add_server_info_to_node(node, server, None, partitions)
|
||||
# validate we are ready to do the deploy
|
||||
validate_chk = self.ironicclient.call("node.validate", node_uuid)
|
||||
if (not validate_chk.deploy.get('result')
|
||||
|
Loading…
Reference in New Issue
Block a user