Bug 1285851 - [guest-agent] Problem with negotiation of API version when GA is restarted
Summary: [guest-agent] Problem with negotiation of API version when GA is restarted
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-guest-agent
Classification: oVirt
Component: General
Version: ---
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-3.6.5
: 1.0.11-5
Assignee: Vinzenz Feenstra [evilissimo]
QA Contact: Jiri Belka
URL:
Whiteboard:
Depends On:
Blocks: 1316916
TreeView+ depends on / blocked
 
Reported: 2015-11-26 16:38 UTC by Jiri Belka
Modified: 2016-04-21 14:35 UTC (History)
5 users (show)

Fixed In Version: 3.6.5-1
Doc Type: Bug Fix
Doc Text:
Previously when the ovirt guest agent service has been restarted (e.g. the VM restarted or just the service) the negotiated protocol version between hypervisor and guest os dropped to 0 which caused that all newer features which would have been supported by the guest agent wouldn't be available. This bug fix resolves this issue.
Clone Of:
: 1316916 (view as bug list)
Environment:
Last Closed: 2016-04-21 14:35:51 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-3.6.z+
mgoldboi: planning_ack+
tjelinek: devel_ack+
pstehlik: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 54638 0 master MERGED Force negotiation of the API Version 2016-03-11 12:29:29 UTC
oVirt gerrit 54642 0 ovirt-3.6 MERGED Force negotiation of the API Version 2016-03-11 12:31:27 UTC

Description Jiri Belka 2015-11-26 16:38:50 UTC
Description of problem:

according to vfeenstr@ there's a problem with API version negotiation when GA is restarted. unfortunately logs got rotated on my testing VM but you can see part of the log in BZ1285834.

Version-Release number of selected component (if applicable):
3.6.2.iso and Windows

How reproducible:
?

Steps to Reproduce:
1. install windows and WGT 3.6.2
2. restart GA and see what's negotiated api version
3.

Actual results:
api was 0 till i migrated  the vm

Expected results:
should be 2 on this env

Additional info:

Comment 1 Michal Skrivanek 2016-04-05 08:10:46 UTC
do we have a build? I may have moved the bug to ON_QA by mistake

Comment 2 Jiri Belka 2016-04-18 12:24:17 UTC
ok, 1.0.11-6


[root@10-34-61-96 ~]# grep -Ei '(Stopping|Starting) oVirt|api version' /var/log/ovirt-guest-agent/ovirt-guest-agent.log.1 
MainThread::INFO::2016-04-18 14:19:19,019::ovirt-guest-agent::57::root::Starting oVirt guest agent
Dummy-2::DEBUG::2016-04-18 14:19:19,309::OVirtAgentLogic::193::root::Message timezone not supported by api version 0.
Dummy-2::DEBUG::2016-04-18 14:19:19,358::OVirtAgentLogic::193::root::Message os-info not supported by api version 0.
Dummy-1::DEBUG::2016-04-18 14:19:19,364::OVirtAgentLogic::193::root::Message timezone not supported by api version 0.
Dummy-1::DEBUG::2016-04-18 14:19:19,386::OVirtAgentLogic::193::root::Message os-info not supported by api version 0.
Dummy-1::INFO::2016-04-18 14:19:28,375::OVirtAgentLogic::112::root::API Version updated from 0 to 2
MainThread::INFO::2016-04-18 14:20:07,054::ovirt-guest-agent::102::root::Stopping oVirt guest agent
MainThread::INFO::2016-04-18 14:20:07,428::ovirt-guest-agent::57::root::Starting oVirt guest agent
Dummy-2::DEBUG::2016-04-18 14:20:07,603::OVirtAgentLogic::193::root::Message timezone not supported by api version 0.
Dummy-2::DEBUG::2016-04-18 14:20:07,624::OVirtAgentLogic::193::root::Message os-info not supported by api version 0.
Dummy-1::INFO::2016-04-18 14:20:16,641::OVirtAgentLogic::112::root::API Version updated from 0 to 2


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