Fix patch orchestration controller host unlock failure

Recent fw update orchestration introduced a new version of
host data model (Host_v7) without updating the host model
used by the host get list version which broke patch
orchestration for reboot required patches.

This update increments the required host data model for get
host list from Host_v6 to Host_v7

Change-Id: I0b25d45e1c61dbbc91ca9fcec77472971ac836e0
Closes-Bug: 1883176
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
This commit is contained in:
Eric MacDonald 2020-06-16 10:32:52 -04:00
parent 64ebd73d26
commit f19dc40360
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
TIS_PATCH_VER=80
TIS_PATCH_VER=81

View File

@ -109,7 +109,7 @@ def database_host_get_list():
"""
db = database_get()
session = db.session()
query = session.query(model.Host_v6)
query = session.query(model.Host_v7)
host_objs = list()
for host in query.all():