Yet even more new stuff
This commit is contained in:
parent
79313b139e
commit
7502dbbd84
2
hosts
2
hosts
@ -36,7 +36,7 @@ rear-client ansible_host=10.10.42.192
|
||||
ansible_user=root
|
||||
|
||||
[temp]
|
||||
pkg-locks ansible_host=10.10.42.58
|
||||
ipu-test-1 ansible_host=10.10.42.186
|
||||
|
||||
[temp:vars]
|
||||
ansible_user=root
|
||||
|
@ -80,3 +80,42 @@ with locks in place (`leapp upgrade --target 8.10`):
|
||||
replacing leapp-upgrade-el7toel8-deps.noarch 0.20.0-13.el7_9
|
||||
```
|
||||
|
||||
|
||||
wf pkgs:
|
||||
--------
|
||||
```
|
||||
leapp-0.16.0-1.el7_9
|
||||
leapp-deps-0.16.0.1.el7_9
|
||||
leapp-upgrade-el7toel8-0.19.0-1.el7_9
|
||||
leapp-upgrade-el7toel8-deps-0.19.0-1.el7_9
|
||||
python2-leapp-0.16.0-1.el7_9
|
||||
```
|
||||
|
||||
Goal:
|
||||
-----
|
||||
To prevent the Leapp packages from being upgraded to the latest release present
|
||||
during patching so that the Leapp package dependencies remain consistant
|
||||
from pre-checks to actual in place upgrade execution
|
||||
|
||||
Observations:
|
||||
-------------
|
||||
Use either yum-plugin-versionlock or yum.conf to lock
|
||||
|
||||
```
|
||||
# cat /etc/yum/pluginconf.d/versionlock.list
|
||||
|
||||
# Added locks on Tue Jan 28 15:57:08 2025
|
||||
0:leapp-0.17.0-2.el7_9.*
|
||||
|
||||
# Added locks on Tue Jan 28 15:57:24 2025
|
||||
0:leapp-upgrade-el7toel8-0.20.0-13.el7_9.*
|
||||
|
||||
# Added locks on Tue Jan 28 15:57:41 2025
|
||||
0:leapp-upgrade-el7toel8-deps-0.20.0-13.el7_9.*
|
||||
|
||||
# Added locks on Tue Jan 28 15:57:58 2025
|
||||
0:leapp-deps-0.17.0-2.el7_9.*
|
||||
|
||||
# Added locks on Tue Jan 28 15:58:15 2025
|
||||
0:python2-leapp-0.17.0-2.el7_9.*
|
||||
```
|
||||
|
@ -23,6 +23,6 @@
|
||||
register: r_lock_pkgs
|
||||
loop: "{{ lock_pkgs }}"
|
||||
|
||||
- name: Debug r_lock_pkgs
|
||||
ansible.builtin.debug:
|
||||
var: r_lock_pkgs
|
||||
# - name: Debug r_lock_pkgs
|
||||
# ansible.builtin.debug:
|
||||
# var: r_lock_pkgs
|
||||
|
Loading…
x
Reference in New Issue
Block a user