Closed pploegaert closed 7 years ago
This is the old update logic, can you re-test on new logic?
Update did actually succeed in above scenario, however when such error occurs the following actions should be done to ensure a proper working environment: 1) Verify ALBA package is latest and greatest (apt-cache policy alba) 2) Verify openvstorage-sdm package is latest and greatest (apt-cache policy openvstorage-sdm) 3) When 1) and 2) are met, restart all services
from ovs.dal.lists.albanodelist import AlbaNodeList
for node in AlbaNodeList.get_albanodes():
node.client.restart_services()
4) Profit!
A manual patch could also be applied to prevent the SDM package update to fail Execute code below for this:
vi /opt/OpenvStorage/ovs/extensions/plugins/asdmanager.py +210
Replace
return self._call(requests.post, 'update/execute/{0}'.format(status))
with
return self._call(requests.post, 'update/execute/{0}'.format(status), timeout=300)
Afterwards update of framework was successful
Log shows for each node:
Manual reinstallation of this pkg shows no errors:
Complete log: