Created attachment 940900[details]
Generated setup answerfile
Description of problem:
When setting up the engine uing a setup file that has the:
OSETUP_RPMDISTRO/enableUpgrade=none:True
That was generated with engine-setup itself.
It still asks about:
Setup has found updates for some packages, do you wish to update them now? (Yes, No) [Yes]:
Version-Release number of selected component (if applicable):
vt4 - 3.5.0
How reproducible:
Run setup with --generate-answer and answer all the question (included the one above)
Downgrade a package (I reprovisioned the host from scratch, the package that it finds is rhevm-branding-rhev-3.5.0-0.1.beta.el6ev.noarch)
Run setup again, using the generated setup answerfile above
Steps to Reproduce:
1. Run setup with --generate-answer and answer all the question (included the one above)
2. Downgrade a package (I reprovisioned the host from scratch, the package that it finds is rhevm-branding-rhev-3.5.0-0.1.beta.el6ev.noarch)
3. Run setup again, using the generated setup answerfile above
Actual results:
It still asks about:
Setup has found updates for some packages, do you wish to update them now? (Yes, No) [Yes]:
Expected results:
Non-interactive installation
Additional info:
Comment 2Simone Tiraboschi
2014-09-25 12:15:29 UTC
The problem is that you have OSETUP_RPMDISTRO/enableUpgrade=none:True while it should be OSETUP_RPMDISTRO/enableUpgrade=bool:True
Now the bug is why does it generate that way?
Created attachment 940900 [details] Generated setup answerfile Description of problem: When setting up the engine uing a setup file that has the: OSETUP_RPMDISTRO/enableUpgrade=none:True That was generated with engine-setup itself. It still asks about: Setup has found updates for some packages, do you wish to update them now? (Yes, No) [Yes]: Version-Release number of selected component (if applicable): vt4 - 3.5.0 How reproducible: Run setup with --generate-answer and answer all the question (included the one above) Downgrade a package (I reprovisioned the host from scratch, the package that it finds is rhevm-branding-rhev-3.5.0-0.1.beta.el6ev.noarch) Run setup again, using the generated setup answerfile above Steps to Reproduce: 1. Run setup with --generate-answer and answer all the question (included the one above) 2. Downgrade a package (I reprovisioned the host from scratch, the package that it finds is rhevm-branding-rhev-3.5.0-0.1.beta.el6ev.noarch) 3. Run setup again, using the generated setup answerfile above Actual results: It still asks about: Setup has found updates for some packages, do you wish to update them now? (Yes, No) [Yes]: Expected results: Non-interactive installation Additional info: