Invalid facts on external upgrade run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Confirmed
|
High
|
Kevin Carter |
Bug Description
Analyzing CI failure [1] I have found the following situation.
The job tries to upgrade from rocky (which is docker based) to stein (which is podman based)
Upgrade steps were run executing tripleo-docker-rm, removing docker as part of upgrade to podman.
After upgrade steps "External upgrade" steps where processed. On External upgrade step 1, "Online data migration for Cinder" happened which is described as
external_
- when: step|int == 1
block:
- name: Online data migration for Cinder
tags:
- online_upgrade
- online_
So, container_cli should be resolved as podman but it's not as container_cli fact was not updated. Thus, ansible considered that container_cli was still docker.
Steps to reproduce
==================
Deploy standalone rocky
Upgrade to standalone stein
Expected result
===============
Upgraded environment
Actual result
=============
Failed standalone upgrade due to wrong fact.
Changed in tripleo: | |
milestone: | none → victoria-3 |
I guess in tasks/tripleo_ docker_ purge.yml we should rather do
- name: clearing facts
meta: clear_facts
instead of
- name: Refresh hardware facts
gather_ subset:
setup:
- hardware