Jira: Daisy-757 Os message is 'OS upgrading,begin copy iso' when os upgrade failed
Change-Id: Iffb1823e2d622519c7f277461b0d6189676a58bc
This commit is contained in:
parent
ca52f392e5
commit
8f1885a27c
@ -1273,6 +1273,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…
x
Reference in New Issue
Block a user