"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ironic/drivers/modules/ilo/raid.py" between
ironic-16.0.2.tar.gz and ironic-16.0.3.tar.gz

About: OpenStack Ironic (Optional Service: Bare-Metal Provisioning) aims to provision bare metal machines instead of virtual machines, forked from the Nova baremetal driver.
The "Victoria" series (latest release).

raid.py  (ironic-16.0.2):raid.py  (ironic-16.0.3)
skipping to change at line 70 skipping to change at line 70
), ),
"required": False, "required": False,
} }
} }
def get_properties(self): def get_properties(self):
"""Return the properties of the interface.""" """Return the properties of the interface."""
return ilo_common.REQUIRED_PROPERTIES return ilo_common.REQUIRED_PROPERTIES
def _set_step_failed(self, task, msg, exc): def _set_step_failed(self, task, msg, exc):
LOG.error("RAID configuration job failed for node %(node)s. " log_msg = ("RAID configuration job failed for node %(node)s. "
"Message: '%(message)s'.", "Message: '%(message)s'." %
{'node': task.node.uuid, 'message': msg}) {'node': task.node.uuid, 'message': msg})
if task.node.provision_state == states.DEPLOYING: if task.node.provision_state == states.DEPLOYING:
manager_utils.deploying_error_handler(task, msg) manager_utils.deploying_error_handler(task, log_msg, errmsg=msg)
else: else:
manager_utils.cleaning_error_handler(task, msg) manager_utils.cleaning_error_handler(task, log_msg, errmsg=msg)
def _set_driver_internal_true_value(self, task, *keys): def _set_driver_internal_true_value(self, task, *keys):
driver_internal_info = task.node.driver_internal_info driver_internal_info = task.node.driver_internal_info
for key in keys: for key in keys:
driver_internal_info[key] = True driver_internal_info[key] = True
task.node.driver_internal_info = driver_internal_info task.node.driver_internal_info = driver_internal_info
task.node.save() task.node.save()
def _set_driver_internal_false_value(self, task, *keys): def _set_driver_internal_false_value(self, task, *keys):
driver_internal_info = task.node.driver_internal_info driver_internal_info = task.node.driver_internal_info
 End of changes. 3 change blocks. 
5 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)