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

Bug 1100249

Summary: ovirt-guest-agent does not run with old config on dpkg and rpm based distributions
Product: [Retired] oVirt Reporter: Sven Kieske <s.kieske>
Component: ovirt-guest-agentAssignee: Vinzenz Feenstra [evilissimo] <vfeenstr>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: high    
Version: 3.4CC: acathrow, bugs, gklein, iheim, michal.skrivanek, oourfali, Rhev-m-bugs, yeylon
Target Milestone: ---   
Target Release: 3.4.2   
Hardware: x86_64   
OS: Linux   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1101129 (view as bug list) Environment:
Last Closed: 2014-06-11 06:44:20 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:
Bug Depends On:    
Bug Blocks: 1101129    

Description Sven Kieske 2014-05-22 11:16:13 UTC
Description of problem:
install older ovirt-guest-agent e.g. from the ubuntu ppa
via apt-get into debian 7 wheezy (same problem should affect ubuntu as well)
alter something in the /etc/ovirt-guest-agent.conf

switch now to the new repo on opensuse.org provided by evilissimo
it installs succesfully, however the new ovirt-guest-agent.conf
does not overwrite the altered ovirt-guest-agent.conf.
instead, it gets written to disk as:
ovirt-guest-agent.conf.dpkg-dist

result: new ovirt-guest-agent can not be started with old config file
output of:
service ovirt-guest-agent status
[FAIL] ovirt-guest-agent is not running ... failed!
service ovirt-guest-agent start
no output at all
service ovirt-guest-agent status
[FAIL] ovirt-guest-agent is not running ... failed!

Version-Release number of selected component (if applicable):
1.0.9.1-1.1

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:
ovirt-guest-agent can't be started with old config

Expected results:
ovirt-guest-agent can be started with old config

Additional info:
this may be related to the new option in the conf file:
report_num_cpu_rate = 60

workaround:
backup your tweaks to the agent conf
remove the old agent conf and the .dpkg-dist file
reinstall ovirt-guest-agent

apply your changes again to the new conf file

Comment 1 Sven Kieske 2014-05-22 11:17:50 UTC
I can't select the proper version for the guest-agent in bugzilla, the versions
you can select are for engine only, this should also affect different
sub-components of ovirt with different versioning schemes like vdsm, too.

Comment 2 Sandro Bonazzola 2014-06-11 06:44:20 UTC
This is an automated message

oVirt 3.4.2 has been released:
 * should fix your issue
 * should be available at your local mirror within two days.

If problems still persist, please make note of it in this bug report.