Jira: Daisy-757 Os message is 'OS upgrading,begin copy iso' when os upgrade failed
Change-Id: Iffb1823e2d622519c7f277461b0d6189676a58bc
This commit is contained in:
parent
23759b70d9
commit
48040d8c79
|
@ -1260,6 +1260,7 @@ def upgrade_os(req, version_id, version_patch_id, update_file,
|
|||
if host_detail['os_status'] == host_os_status['UPDATING']:
|
||||
host_meta['os_status'] = \
|
||||
host_os_status['UPDATE_FAILED']
|
||||
host_meta['messages'] = "OS upgraded failed"
|
||||
daisy_cmn.update_db_host_status(req,
|
||||
host['id'], host_meta)
|
||||
if host_detail['os_status'] == host_os_status['ACTIVE']:
|
||||
|
|
Loading…
Reference in New Issue