Project

General

Profile

Bug #37874

Updated by Evgeni Golov 2 months ago

Description of problem: 
 Disconnected upgrade fails to switch postgresql module 
 
 Steps to Reproduce: 

 1. Install Foreman 3.10 or older (using PostgreSQL 12) 
 2. Prepare "disconnected" upgrade (using ISOS you can download from RH, or manual reposync) 
 3. Perform upgrade to 3.12 (or any other version that has #37797 fixed) 

 Actual behavior: 
 <pre> 
 2024-10-01 09:12:11 [NOTICE] [root] Loading installer configuration. This will take some time. 
 2024-10-01 09:12:16 [NOTICE] [root] Running installer with log based terminal output at level NOTICE. 
 2024-10-01 09:12:16 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions. 
 Package versions are locked. Continuing with unlock. 
 2024-10-01 09:12:21 [NOTICE] [pre] Performing upgrade of PostgreSQL to 13 
 2024-10-01 09:12:22 [ERROR ] [root] dnf module switch-to postgresql:12 -y failed! Check the output for error! 
 </pre> 

 Expected behavior: 
 Upgrade is finished successfully 

 Note: 
 Connected upgrades (using CDN) are OK

Back