Red Hat Bugzilla – Bug 972733
guest-agent fails to install in automatic provision installation in si29
Last modified: 2015-09-22 09:09 EDT
Description of problem:
We were using the %packages section of the kickstart file to install the guest-agent on our VMs during installation. This worked fine until si28.2, and started failing on si29 build.
Version-Release number of selected component (if applicable):
3.1.5 candidate (si29)
Steps to Reproduce:
1. do a kickstart automation installation with the following packages section:
installation fails with "A fatal error occurred when installing the rhevm-guest-agent package. This could indicate errors when reading the installation media. Installation cannot continue. [Exit installer]"
In the installation script of the rhevm-guest-agent package, /sbin/service is called to check whether there was rhev-agentd running. The file is not there in the anaconda installer environment in the latest RHEL 6.4.
issue with old rhev agent service detection. Should be an easy fix
I understand the issue now - the pretransaction rpm code cannot run during kickstart installs as there is no bash, nothing. We have 2 options - rewrite the code in lua or remove it completely and update relnotes to just start the agent after upgrade from 3.0 agent. I'm in favor of the latter since that's upstream way and also this won't be an issue for 3.1. OTOH the udevtrigger needs to get executed as well if we don't reboot...
Barak, what do you think?
disregard the udevtrigger comment, that's in "post" so no issue there. One more reason to get rid of that;-)
Removing needinfo, this has been solved.
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.