-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
6.16.0
-
3
-
False
-
-
False
-
0
-
-
-
Important
-
None
Description of problem:
After executing leapp preupgrade job successfully from Satellite WebUI, the remediation job to fix an inhibitor failed with below error:
Failed to initialize: RuntimeError - Failed rendering template: error during rendering: ERF90-5603 [TemplateInput::UnsatisfiedRequiredInput]: Value for required input 'Channel' was not specified
How reproducible:
100%
Is this issue a regression from an earlier version:
Steps to Reproduce:
1. Register RHEL-8 host with Satellite server. Enable Rex during registration.
2. Go Satellite WebUI >> Hosts >> All Hosts >> Select the host from the list >> Select Action >> Preupgrade Check with leapp
3. After the job is executed successfully, Go to Preupgrade report
4. Sort by Inhibitor >> Select the applicable remediation from the list >> Click Fix Selected
5. The remediation job fails with below error:
Failed to initialize: RuntimeError - Failed rendering template: error during rendering: ERF90-5603 [TemplateInput::UnsatisfiedRequiredInput]: Value for required input 'Channel' was not specified
Actual behavior:
The remediation job fails.
Expected behavior:
The reported inhibitor should be fixed from Satellite WebUI.
Business Impact / Additional info:
Job Remediation Template:
if ! command -v leapp > /dev/null
then
echo "Leapp is not installed."
exit 1
fi
sed -i s/^AllowZoneDrifting=.*/AllowZoneDrifting=no/ /etc/firewalld/firewalld.conf
if ! command -v leapp > /dev/null
then
echo "Leapp is not installed."
exit 1
fi
rm -f /var/log/leapp/leapp-report.json
leapp preupgrade --channel $USER_INPUT[Channel]
echo "===leap_upgrade_report_start==="
cat /var/log/leapp/leapp-report.json