tripleo-upgrade workaround for update isn't standard and not working.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Sofer Athlan-Guyot |
Bug Description
Hi,
the standard format for workaround in tripleo-upgrade is something like this:
---
pre_overcloud_
- RHBZ-1657138:
patch: false
basedir: ''
id: ''
command: |
echo "Workaround for docker issue"
#source {{ undercloud_rc }} ;
# --stack {{ overcloud_
#ansible -i /tmp/workaround
# -a 'sudo yum install -y yum-versionlock' ;
## downgrade docker
#ansible -i /tmp/workaround
# -a 'sudo yum downgrade -y docker-common docker-client docker-
## restart docker
#ansible -i /tmp/workaround
# -a 'sudo systemctl restart docker ; sudo systemctl status docker ; sudo docker version ; date'
## version lock docker
#ansible -i /tmp/workaround
# -a 'sudo yum versionlock add docker*' ;
This doesn't work for update you have to use something like this:
pre_
- script: pre_undercloud_
- directory: ''
misc: ''
- directory: ''
misc: ''
# todo:doesn't work for some reason ! command: 'sudo yum upgrade -y podman'
post_
- script: post_undercloud
pre_
- script: pre_overcloud_
post_
- script: post_overcloud_
pre_
- script: pre_overcloud_
post_
- script: post_overcloud_
pre_
- script: pre_overcloud_
post_
- script: post_overcloud_
and in the end it doesn't work for both undercloud and overcloud as the structured are not created in the same way:
one is a list the other is a list of list ...
We should fix the former and unify the latter.
Changed in tripleo: | |
milestone: | train-rc1 → ussuri-1 |
Changed in tripleo: | |
milestone: | ussuri-1 → ussuri-2 |
Changed in tripleo: | |
milestone: | ussuri-2 → ussuri-3 |
Fix proposed to branch: master /review. opendev. org/680612
Review: https:/