Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1146234

Summary: Setup does not use answerfile answer
Product: Red Hat Enterprise Virtualization Manager Reporter: David Caro <dcaroest>
Component: ovirt-engine-setupAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED NOTABUG QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: high    
Version: 3.5.0CC: bazulay, didi, ecohen, eedri, gklein, iheim, lsurette, lveyde, rbalakri, Rhev-m-bugs, sbonazzo, stirabos, yeylon
Target Milestone: ---Keywords: Regression, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-25 12:32:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Generated setup answerfile
none
Setup log none

Description David Caro 2014-09-24 20:13:58 UTC
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 1 David Caro 2014-09-24 20:15:34 UTC
Created attachment 940901 [details]
Setup log

Comment 2 Simone 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?

Comment 3 David Caro 2014-09-25 12:32:57 UTC
Nop, the answerfile was generated ok, but the template we used had that line wrong.

My bad