Bug 1318657 - VDSM keeps sending api-version messages to the guest agent when the guest agent is supporting a higher API Version than VDSM
Summary: VDSM keeps sending api-version messages to the guest agent when the guest age...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: vdsm
Classification: oVirt
Component: Core
Version: 4.15.0
Hardware: Unspecified
OS: Unspecified
medium
medium vote
Target Milestone: ovirt-3.6.5
: 4.17.25
Assignee: Vinzenz Feenstra [evilissimo]
QA Contact: sefi litmanovich
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-17 13:09 UTC by Vinzenz Feenstra [evilissimo]
Modified: 2016-04-21 14:38 UTC (History)
2 users (show)

Fixed In Version: 3.6.5-1
Doc Type: Bug Fix
Doc Text:
Previously when having a virtual machine with a version of the guest agent on the guest OS for a higher cluster version than the cluster version it was running on, it was possible that vdsm kept sending a reply to the heart beat of the guest agent with the attempt renegotiate the version. This might have been caused logs filling up slowly on the guest. This issue has now been resolved.
Clone Of:
Environment:
Last Closed: 2016-04-21 14:38:17 UTC
oVirt Team: Virt
vfeenstr: ovirt-3.6.z?
vfeenstr: ovirt-4.0.0?
vfeenstr: planning_ack?
rule-engine: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 54871 0 master MERGED guest-agent: Fix API version negotiation 2016-03-17 18:02:47 UTC
oVirt gerrit 54896 0 ovirt-3.6 MERGED guest-agent: Fix API version negotiation 2016-03-18 08:02:43 UTC

Description Vinzenz Feenstra [evilissimo] 2016-03-17 13:09:07 UTC
Description of problem:

The VDSM API Version negotiation has a problem where it keeps sending the 'api-version' message to the guest agent, even though the negotiation has already taken place.

This happens in cases where the VDSM version is supporting a lower API Version then the guest agent. As this is the case between 3.5 and 3.6

VDSM (4.16.20) @ 3.5 supports API Version 1
ovirt-guest-agent (1.0.11) @ 3.6 supports API Version 2 

Version-Release number of selected component (if applicable):
vdsm-4.16.20

How reproducible:
100%

Steps to Reproduce:
1. setup a 3.5 cluster with 3.5 vdsm installed (4.16.20)
2. create a CentOS 7 VM with the latest guest agent from 3.6 (1.0.11) through epel  

Actual results:
Every two seconds (with every heart beat) an api-version message is sent to the guest agent (seen in the logs on INFO level)

Expected results:
Negotiation only once per migration/vm start/ovirt-guest-agent start or VDSM restart

Comment 1 Eyal Edri 2016-03-31 08:35:52 UTC
Bugs moved pre-mature to ON_QA since they didn't have target release.
Notice that only bugs with a set target release will move to ON_QA.

Comment 2 sefi litmanovich 2016-04-12 14:47:46 UTC
Reproduced as per description.
Verified behaviour with vdsm-4.17.26-0.el7ev on host and ovirt-guest-agent-common-1.0.11-3.el7.noarch on guest.
Message appear only on first communication.


Note You need to log in before you can comment on or make changes to this bug.