Description of problem: Unable to successfully deploy HE on fresh vanilla RHEL8.6, cannot install the best update candidate for package ovirt-engine-extension-logger-log4j-1.1.1-1.el8ev.noarch. [ INFO ] skipping: [localhost] [ INFO ] TASK [redhat.rhv.engine_setup : Run engine-setup with answerfile] [ ERROR ] fatal: [localhost -> 192.168.222.167]: FAILED! => {"changed": true, "cmd": ["engine-setup", "--accept-defaults", "--config-append=/root/ovirt-engine-answers"], "delta": "0:00:12.770550", "end": "2022-03-02 13:42:32.224665", "msg": "non-zero return code", "rc": 1, "start": "2022-03-02 13:42:19.454115", "stderr": "", "stderr_lines": [], "stdout": "[ INFO ] Stage: Initializing\n[ INFO ] Stage: Environment setup\n Configuration files: /etc/ovirt-engine-setup.conf.d/10-packaging-wsp.conf, /etc/ovirt-engine-setup.conf.d/10-packaging.conf, /root/ovirt-engine-answers\n Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20220302134220-2huxqv.log\n Version: otopi-1.10.0_master (otopi-1.10.0-0.0.master.20220117094244.git5857b4c.el8ev)\n[ INFO ] Stage: Environment packages setup\n[ INFO ] Stage: Programs detection\n[ INFO ] Stage: Environment setup (late)\n[ INFO ] Stage: Environment customization\n \n --== PRODUCT OPTIONS ==--\n \n Configure Cinderlib integration (Currently in tech preview) (Yes, No) [No]: \n \n Configuring ovirt-provider-ovn also sets the Default cluster's default network provider to ovirt-provider-ovn.\n Non-Default clusters may be configured with an OVN after installation.\n Configure ovirt-provider-ovn (Yes, No) [Yes]: \n \n * Please note * : Data Warehouse is required for the engine.\n If you choose to not configure it on this host, you have to configure\n it on a remote host, and then configure the engine on this host so\n that it can access the database of the remote Data Warehouse host.\n Configure Data Warehouse on this host (Yes, No) [Yes]: \n Configure Grafana on this host (Yes, No) [Yes]: \n \n --== PACKAGES ==--\n \n[ INFO ] Checking for product updates...\n[ ERROR ] DNF \n Problem: problem with installed package ovirt-engine-extension-logger-log4j-1.1.1-1.el8ev.noarch\n - cannot install the best update candidate for package ovirt-engine-extension-logger-log4j-1.1.1-1.el8ev.noarch\n - cannot install both ovirt-engine-4.4.10.6-0.1.el8ev.noarch and ovirt-engine-4.5.0-582.gd548206.185.el8ev.noarch\n - cannot install the best candidate for the job\n[ INFO ] DNF Performing DNF transaction rollback\n[ ERROR ] Failed to execute stage 'Environment customization': \n Problem: problem with installed package ovirt-engine-extension-logger-log4j-1.1.1-1.el8ev.noarch\n - cannot install the best update candidate for package ovirt-engine-extension-logger-log4j-1.1.1-1.el8ev.noarch\n - cannot install both ovirt-engine-4.4.10.6-0.1.el8ev.noarch and ovirt-engine-4.5.0-582.gd548206.185.el8ev.noarch\n - cannot install the best candidate for the job\n[ INFO ] Stage: Clean up\n Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20220302134220-2huxqv.log\n[ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20220302134231-setup.conf'\n[ INFO ] Stage: Pre-termination\n[ INFO ] Stage: Termination\n[ ERROR ] Execution of setup failed", "stdout_lines": ["[ INFO ] Stage: Initializing", "[ INFO ] Stage: Environment setup", " Configuration files: /etc/ovirt-engine-setup.conf.d/10-packaging-wsp.conf, /etc/ovirt-engine-setup.conf.d/10-packaging.conf, /root/ovirt-engine-answers", " Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20220302134220-2huxqv.log", " Version: otopi-1.10.0_master (otopi-1.10.0-0.0.master.20220117094244.git5857b4c.el8ev)", "[ INFO ] Stage: Environment packages setup", "[ INFO ] Stage: Programs detection", "[ INFO ] Stage: Environment setup (late)", "[ INFO ] Stage: Environment customization", " ", " --== PRODUCT OPTIONS ==--", " ", " Configure Cinderlib integration (Currently in tech preview) (Yes, No) [No]: ", " ", " Configuring ovirt-provider-ovn also sets the Default cluster's default network provider to ovirt-provider-ovn.", " Non-Default clusters may be configured with an OVN after installation.", " Configure ovirt-provider-ovn (Yes, No) [Yes]: ", " ", " * Please note * : Data Warehouse is required for the engine.", " If you choose to not configure it on this host, you have to configure", " it on a remote host, and then configure the engine on this host so", " that it can access the database of the remote Data Warehouse host.", " Configure Data Warehouse on this host (Yes, No) [Yes]: ", " Configure Grafana on this host (Yes, No) [Yes]: ", " ", " --== PACKAGES ==--", " ", "[ INFO ] Checking for product updates...", "[ ERROR ] DNF ", " Problem: problem with installed package ovirt-engine-extension-logger-log4j-1.1.1-1.el8ev.noarch", " - cannot install the best update candidate for package ovirt-engine-extension-logger-log4j-1.1.1-1.el8ev.noarch", " - cannot install both ovirt-engine-4.4.10.6-0.1.el8ev.noarch and ovirt-engine-4.5.0-582.gd548206.185.el8ev.noarch", " - cannot install the best candidate for the job", "[ INFO ] DNF Performing DNF transaction rollback", "[ ERROR ] Failed to execute stage 'Environment customization': ", " Problem: problem with installed package ovirt-engine-extension-logger-log4j-1.1.1-1.el8ev.noarch", " - cannot install the best update candidate for package ovirt-engine-extension-logger-log4j-1.1.1-1.el8ev.noarch", " - cannot install both ovirt-engine-4.4.10.6-0.1.el8ev.noarch and ovirt-engine-4.5.0-582.gd548206.185.el8ev.noarch", " - cannot install the best candidate for the job", "[ INFO ] Stage: Clean up", " Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20220302134220-2huxqv.log", "[ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20220302134231-setup.conf'", "[ INFO ] Stage: Pre-termination", "[ INFO ] Stage: Termination", "[ ERROR ] Execution of setup failed"]} If trying to run manually engine-setup from VM: nsednev-he-1 ~]# engine-setup [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: /etc/ovirt-engine-setup.conf.d/10-packaging-wsp.conf, /etc/ovirt-engine-setup.conf.d/10-packaging.conf Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20220302134628-efcpod.log Version: otopi-1.10.0_master (otopi-1.10.0-0.0.master.20220117094244.git5857b4c.el8ev) [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup (late) [ INFO ] Stage: Environment customization --== PRODUCT OPTIONS ==-- Configure Cinderlib integration (Currently in tech preview) (Yes, No) [No]: Configure Engine on this host (Yes, No) [Yes]: Configuring ovirt-provider-ovn also sets the Default cluster's default network provider to ovirt-provider-ovn. Non-Default clusters may be configured with an OVN after installation. Configure ovirt-provider-ovn (Yes, No) [Yes]: no Configure WebSocket Proxy on this host (Yes, No) [Yes]: no * Please note * : Data Warehouse is required for the engine. If you choose to not configure it on this host, you have to configure it on a remote host, and then configure the engine on this host so that it can access the database of the remote Data Warehouse host. Configure Data Warehouse on this host (Yes, No) [Yes]: no Configure VM Console Proxy on this host (Yes, No) [Yes]: Configure Grafana on this host (Yes, No) [Yes]: --== PACKAGES ==-- [ INFO ] Checking for product updates... [ ERROR ] DNF Problem: problem with installed package ovirt-engine-extension-logger-log4j-1.1.1-1.el8ev.noarch - cannot install the best update candidate for package ovirt-engine-extension-logger-log4j-1.1.1-1.el8ev.noarch - cannot install both ovirt-engine-4.4.10.6-0.1.el8ev.noarch and ovirt-engine-4.5.0-582.gd548206.185.el8ev.noarch - cannot install the best candidate for the job [ INFO ] DNF Performing DNF transaction rollback [ ERROR ] Failed to execute stage 'Environment customization': Problem: problem with installed package ovirt-engine-extension-logger-log4j-1.1.1-1.el8ev.noarch - cannot install the best update candidate for package ovirt-engine-extension-logger-log4j-1.1.1-1.el8ev.noarch - cannot install both ovirt-engine-4.4.10.6-0.1.el8ev.noarch and ovirt-engine-4.5.0-582.gd548206.185.el8ev.noarch - cannot install the best candidate for the job [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20220302134628-efcpod.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20220302134719-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed Version-Release number of selected component (if applicable): On host: ovirt-hosted-engine-setup-2.6.1-1.el8ev.noarch ovirt-hosted-engine-ha-2.4.10-1.el8ev.noarch Red Hat Enterprise Linux release 8.6 Beta (Ootpa) Linux 4.18.0-369.el8.x86_64 #1 SMP Mon Feb 21 10:56:06 EST 2022 x86_64 x86_64 x86_64 GNU/Linux On engine: ovirt-engine-extension-logger-log4j-1.1.1-1.el8ev.noarch ovirt-engine-setup-base-4.5.0-582.gd548206.185.el8ev.noarch ovirt-engine-setup-4.5.0-582.gd548206.185.el8ev.noarch Linux 4.18.0-348.6.el8.x86_64 #1 SMP Mon Nov 8 09:36:54 EST 2021 x86_64 x86_64 x86_64 GNU/Linux Red Hat Enterprise Linux release 8.6 Beta (Ootpa) How reproducible: 100% Steps to Reproduce: 1.hosted-engine --deploy --4 --ansible-extra-vars=he_pause_before_engine_setup=true 2.Update engine VM's repos to latest and delete he_setup_lock. Actual results: Deployment fails on engine side during engine-setup made by ansible. Expected results: Engine-setup should succeed and HE deployment should end up without any errors. Additional info:
Created attachment 1863840 [details] sosreport-alma03-2022-03-02-bgaafxe.tar.xz
Created attachment 1863841 [details] sosreport-nsednev-he-1-2022-03-02-qcstxqr.tar.xz
Seems like a duplicate of 2056146, fixed in rhvm-setup-plugins-4.4.3-1, which is not included in rhvm-appliance-4.5-20211114 # rpm -qa rhvm-appliance rhvm-appliance-4.5-20211114.0.el8ev.x86_64
(In reply to Asaf Rachmani from comment #3) > Seems like a duplicate of 2056146, > fixed in rhvm-setup-plugins-4.4.3-1, which is not included in > rhvm-appliance-4.5-20211114 > > # rpm -qa rhvm-appliance > rhvm-appliance-4.5-20211114.0.el8ev.x86_64 engine is running rhvm-setup-plugins-4.5.0-0.1.alpha.el8ev.noarch
(In reply to Asaf Rachmani from comment #3) > Seems like a duplicate of 2056146, > fixed in rhvm-setup-plugins-4.4.3-1, which is not included in > rhvm-appliance-4.5-20211114 > > # rpm -qa rhvm-appliance > rhvm-appliance-4.5-20211114.0.el8ev.x86_64 After discussing with Nikolai, this does not seem like a duplicate of bug 2056146 Perhaps related to obsoleting logger-log4j package
We have also confirmation of the issue from our automation: 23:44:54 TASK [ovirt.ovirt.engine_setup : Run engine-setup with answerfile] ************* ... [ ERROR ] DNF \n Problem: problem with installed package ovirt-engine-extension-logger-log4j-1.1.1-1.el8ev.noarch\n - cannot install the best update candidate for package ovirt-engine-extension-logger-log4j-1.1.1-1.el8ev.noarch\n - cannot install both ovirt-engine-4.4.10.6-0.1.el8ev.noarch and ovirt-engine-4.5.0-582.gd548206.185.el8ev.noarch\n - cannot install both ovirt-engine-4.5.0-47eec5a1ac06.214.el8ev.noarch and ovirt-engine-4.5.0-582.gd548206.185.el8ev.noarch\n - cannot install the best candidate for the job
@alma03 ~]# hosted-engine --deploy --4 --ansible-extra-vars=he_pause_before_engine_setup=true Then from the engine I manually removed ovirt-engine-extension-logger-log4j-1.1.1-1.el8ev.noarch to be able to finish with the deployment, fetched all the repos and updated the ovirt-engine-setup-4.4.9.5-0.1.el8ev.noarch to ovirt-engine-setup-4.5.0-596.7434eeb1dde2.226.el8ev.noarch, then unlocked the rm -f /tmp/ansible.dctxcais_he_setup_lock so the deployment could continue and for this time that worked for me just fine.
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days