Added a deployment tasks synchronization to the update procedure
Added a command for deployment tasks synchronization at the end of Fuel master node update procedure. Change-Id: Ifecaec2b03c5f7961b727c47a5a7a7a4d7c0d54b Related-Bug: #1691124
This commit is contained in:
parent
b7b75d60c7
commit
a49e1615bf
|
@ -665,6 +665,7 @@ class EnvironmentModel(object):
|
|||
reboot
|
||||
dockerctl start all
|
||||
dockerctl check
|
||||
fuel release --sync-deployment-tasks --dir /etc/puppet/liberty-8.0/
|
||||
"""
|
||||
logger.info('Disabling containers services...')
|
||||
self.ssh_manager.execute_on_remote(
|
||||
|
@ -758,8 +759,12 @@ class EnvironmentModel(object):
|
|||
|
||||
cmd = ' ; '.join(
|
||||
["dockerctl start all",
|
||||
"dockerctl check"]
|
||||
)
|
||||
"dockerctl check",
|
||||
"fuel release --sync-deployment-tasks "
|
||||
"--dir /etc/puppet/liberty-8.0/ "
|
||||
"--user={user} --password={pwd}"
|
||||
"".format(user=settings.KEYSTONE_CREDS['username'],
|
||||
pwd=settings.KEYSTONE_CREDS['password'])])
|
||||
|
||||
result = self.ssh_manager.execute(
|
||||
ip=self.ssh_manager.admin_ip,
|
||||
|
|
Loading…
Reference in New Issue