Actions
Bug #27173
closedhammer-setup asks for password instead of using password provided in satellite-answers.yaml
Difficulty:
Triaged:
No
Bugzilla link:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1712452
Description of problem:
hammer-setup asks for password instead of using password provided in satellite-answers.yaml
Version-Release number of selected component (if applicable):
@satellite 6.6.0 snap 3
@rubygem-foreman_maintain-0.3.3-1.el7sat.noarch
How reproducible:
always
Steps to Reproduce:
1. # foreman-maintain advanced procedure run hammer-setup
- FM hammer-setup asks for password instead of using password provided in satellite-answers.yaml
- foreman-maintain advanced procedure run hammer-setup
Running ForemanMaintain::Scenario ================================================================================
Setup hammer:
Configuring Hammer CLI...
[RUNNING]
--------------------------------------------------------------------------------
<ctrl+c>
- FM hammer-setup should not ask for password if it's already present in satellite-answers.yaml
- foreman-maintain advanced procedure run hammer-setup
Running ForemanMaintain::Scenario ================================================================================
Setup hammer:
Configuring Hammer CLI... [OK]
--------------------------------------------------------------------------------
Additional info:
- this issue is occuring due to changes introduced in foreman-installer in satellite 6.6.0.
In previous satellite versions, option admin_password was used. Now the option is changed to initial_admin_password.
Actions