"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ironic/drivers/modules/ilo/management.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).

management.py  (ironic-16.0.2):management.py  (ironic-16.0.3)
skipping to change at line 919 skipping to change at line 919
if self._wait_for_disk_erase_status(task.node): if self._wait_for_disk_erase_status(task.node):
LOG.info("For node %(uuid)s erase_devices clean " LOG.info("For node %(uuid)s erase_devices clean "
"step is done.", {'uuid': task.node.uuid}) "step is done.", {'uuid': task.node.uuid})
self._pop_driver_internal_values( self._pop_driver_internal_values(
task, 'ilo_disk_erase_hdd_check', task, 'ilo_disk_erase_hdd_check',
'ilo_disk_erase_ssd_check') 'ilo_disk_erase_ssd_check')
else: else:
LOG.info("No drive found to perform out-of-band sanitize " LOG.info("No drive found to perform out-of-band sanitize "
"disk erase for node %(node)s", {'node': node.uuid}) "disk erase for node %(node)s", {'node': node.uuid})
except ilo_error.IloError as ilo_exception: except ilo_error.IloError as ilo_exception:
LOG.error("Out-of-band sanitize disk erase job failed for node " log_msg = ("Out-of-band sanitize disk erase job failed for node "
"%(node)s. Message: '%(message)s'.", "%(node)s. Message: '%(message)s'." %
{'node': task.node.uuid, 'message': ilo_exception}) {'node': task.node.uuid, 'message': ilo_exception})
self._pop_driver_internal_values(task, self._pop_driver_internal_values(task,
'ilo_disk_erase_hdd_check', 'ilo_disk_erase_hdd_check',
'ilo_disk_erase_ssd_check', 'ilo_disk_erase_ssd_check',
'cleaning_reboot', 'cleaning_reboot',
'skip_current_clean_step') 'skip_current_clean_step')
manager_utils.cleaning_error_handler(task, ilo_exception) manager_utils.cleaning_error_handler(task, log_msg,
errmsg=ilo_exception)
@base.clean_step(priority=0, abortable=False) @base.clean_step(priority=0, abortable=False)
def one_button_secure_erase(self, task): def one_button_secure_erase(self, task):
"""Erase the whole system securely. """Erase the whole system securely.
The One-button secure erase process resets iLO and deletes all licenses The One-button secure erase process resets iLO and deletes all licenses
stored there, resets BIOS settings, and deletes all Active Health stored there, resets BIOS settings, and deletes all Active Health
System (AHS) and warranty data stored on the system. It also erases System (AHS) and warranty data stored on the system. It also erases
supported non-volatile storage data and deletes any deployment setting supported non-volatile storage data and deletes any deployment setting
profiles. profiles.
skipping to change at line 960 skipping to change at line 961
node.maintenance_reason = ( node.maintenance_reason = (
"One Button Secure erase clean step has begun, it will wipe " "One Button Secure erase clean step has begun, it will wipe "
"data from drives and any non-volatile/persistent storage, " "data from drives and any non-volatile/persistent storage, "
"reset iLO and delete all licenses stored there, reset BIOS " "reset iLO and delete all licenses stored there, reset BIOS "
"settings, delete Active Health System (AHS) and warranty " "settings, delete Active Health System (AHS) and warranty "
"data stored in the system and delete any deployment settings " "data stored in the system and delete any deployment settings "
"profiles.") "profiles.")
node.save() node.save()
return states.CLEANWAIT return states.CLEANWAIT
except ilo_error.IloError as ilo_exception: except ilo_error.IloError as ilo_exception:
LOG.error("One button secure erase job failed for node " log_msg = ("One button secure erase job failed for node "
"%(node)s. Message: '%(message)s'.", "%(node)s. Message: '%(message)s'." %
{'node': task.node.uuid, 'message': ilo_exception}) {'node': task.node.uuid, 'message': ilo_exception})
manager_utils.cleaning_error_handler(task, ilo_exception) manager_utils.cleaning_error_handler(task, log_msg,
errmsg=ilo_exception)
 End of changes. 3 change blocks. 
4 lines changed or deleted 5 lines changed or added

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