Unlock host fails if an application is applied
A recent commit 483482aede
added a new parameter "mode" to method perform_app_apply() in
rpcapi.py. The reference to this method when the application
is reapplied needs to be updated.
Change-Id: I730dcead336449e9db60bfee566eee6fcb7af132
Closes-Bug: 1828562
Signed-off-by: Wei Zhou <wei.zhou@windriver.com>
This commit is contained in:
parent
686d10c9cf
commit
8a11142e2f
|
@ -2473,7 +2473,8 @@ class HostController(rest.RestController):
|
|||
db_app.progress = None
|
||||
db_app.save()
|
||||
pecan.request.rpcapi.perform_app_apply(
|
||||
pecan.request.context, db_app, False)
|
||||
pecan.request.context, db_app,
|
||||
app_not_already_applied=False, mode=None)
|
||||
else:
|
||||
LOG.info("%s system app is present but not applied, "
|
||||
"skipping re-apply" % constants.HELM_APP_OPENSTACK)
|
||||
|
|
Loading…
Reference in New Issue