Fix missed exception raise in _add_driver_fields
There was a bug where the NovaException was not being raised in the IronicDriver._add_driver_fields() method if the client update call failed after the maximum number of retries. Change-Id: Ic082079f35892cc2bf3fcad46cd33cebd1105608
This commit is contained in:
parent
809cbf9281
commit
67cd6d4b17
@ -263,7 +263,7 @@ class IronicDriver(virt_driver.ComputeDriver):
|
||||
% {'param': path_to_add, 'node': node.uuid,
|
||||
'retries': CONF.ironic.api_max_retries})
|
||||
LOG.error(msg)
|
||||
exception.NovaException(msg)
|
||||
raise exception.NovaException(msg)
|
||||
|
||||
def _cleanup_deploy(self, node, instance, network_info):
|
||||
icli = self._get_client()
|
||||
|
Loading…
x
Reference in New Issue
Block a user