I now verified a workaround: 3.3 engine/dwh setup add 3.4 repo yum update rhevm-setup yum install rhevm-dwh-setup engine-setup Reply 'Cancel' at 'Please confirm installation settings' Note name of answer file generated engine-setup --config-append=answer-file-from-previous-run This fails with 3.4.0. To fix, run this command, to copy engine db host/port to dwh: sed -rne 's/^ENGINE_DB_(HOST|PORT)=(.*)/DWH_DB_\1=\2/p' \ < /etc/ovirt-engine/engine.conf.d/10-setup-database.conf \ >> /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-database.conf now engine-setup with the answer file should not fail.
Jodi, would you like to chime in for the process?
Jodi - note that the doc text is currently phrased for 3.4.1. I lightly adapted it to 3.4.0 in bug #1105873 but understood that another bug is not needed. You might base the release notes text on the doc text there.
Hi Didi We've missed the cut off for 3.4.0 inclusions for release notes, so this will be included in 3.4.1.
Current fix breaks unattended clean setup.
is that ok that "first try" (see below) asks for confirmation? otherwise upgrade with answer file is OK. 3.3.x engine/dwh/reports yum update rhevm-setup # update to 3.4 service ovirt-engine-dwhd stop engine-setup <snapshot> - first try: yum install rhevm-dwh-setup rhevm-reports-setup engine-setup --config-append=$file # asks for confirmation for packages ... [ INFO ] Checking for product updates... Setup has found updates for some packages, do you wish to update them now? (Yes, No) [Yes]: Yes - 2nd try: yum install rhevm-dwh-setup rhevm-reports-setup engine-setup --config-append=$file # all automatic
(In reply to Jiri Belka from comment #11) > is that ok that "first try" (see below) asks for confirmation? otherwise > upgrade with answer file is OK. > > 3.3.x engine/dwh/reports > yum update rhevm-setup # update to 3.4 > service ovirt-engine-dwhd stop > engine-setup > <snapshot> > > - first try: > > yum install rhevm-dwh-setup rhevm-reports-setup > engine-setup --config-append=$file # asks for confirmation for packages > ... > [ INFO ] Checking for product updates... > Setup has found updates for some packages, do you wish to update > them now? (Yes, No) [Yes]: Yes > How exactly was $file created? IIRC if it was created on a system where no updates for any relevant packages were found, it will not ask about this (obviously) and not keep an answer for this question (perhaps less obvious). So using the generated answer file for a system where such updates are available will not provide an answer to this question. In any case, this is unrelated to this bug. > - 2nd try: > > yum install rhevm-dwh-setup rhevm-reports-setup > engine-setup --config-append=$file # all automatic Naturally, if on second try there were no updates anymore, it does not ask about that.
ok, av10.1/rhevm-dwh-3.4.1-2.el6ev fyi, correct upgrade path of dwh/reports from 3.3 to 3.4 is: 5.1.3. Updating Red Hat Enterprise Virtualization Manager Reports yum update rhevm-reports rhevm-dwh then all was OK.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-0968.html