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

Bug 923775

Summary: Error while reading the virtio-serial channel
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: ovirt-guest-agentAssignee: Vinzenz Feenstra [evilissimo] <vfeenstr>
Status: CLOSED UPSTREAM QA Contact: Jiri Belka <jbelka>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, bazulay, iheim, michal.skrivanek, mkenneth, pstehlik, scohen, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: is12 Doc Type: Bug Fix
Doc Text:
Previously there was an error in the log files of the rhevm-guest-agent when users disconnected from the console accessing a Red Hat Enterprise Linux 5 virtual machine. This bug resolves this issue by supplying a script which was missing.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-24 20:48:17 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:
Attachments:
Description Flags
ovirt-guest-agent.log none

Description Jiri Belka 2013-03-20 12:18:44 UTC
Created attachment 713216 [details]
ovirt-guest-agent.log

Description of problem:
/var/log/ovirt-guest-agent/ovirt-guest-agent.log is full of errors, although guest agent works OK (ip, installed apps, stopping from admin portal via 'Shutdown').

Dummy-2::ERROR::2013-03-20 00:05:55,485::OVirtAgentLogic::135::root::Error while reading the virtio-serial channel.
Traceback (most recent call last):
  File "/usr/share/ovirt-guest-agent/OVirtAgentLogic.py", line 133, in doListen
    self.parseCommand(cmd, args)
  File "/usr/share/ovirt-guest-agent/OVirtAgentLogic.py", line 141, in parseCommand
    self.commandHandler.lock_screen()
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 155, in lock_screen
    subprocess.call(cmd)
  File "/usr/lib/python2.4/subprocess.py", line 419, in call
    return Popen(*args, **kwargs).wait()
  File "/usr/lib/python2.4/subprocess.py", line 550, in __init__
    errread, errwrite)
  File "/usr/lib/python2.4/subprocess.py", line 996, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Version-Release number of selected component (if applicable):
rhevm-guest-agent-1.0.7-1.el5
vdsm-4.10.2-12.0.el6ev.x86_64/vdsm-4.10.2-11.0.el6ev
rhel5.9 x86

How reproducible:
100%

Steps to Reproduce:
1. install rhevm-guest-agent version as above
2. check the log

Additional info:
tried on both vdsm versions (two hosts, shutdown of VM, start VM, on both cases errors appear)

Comment 3 Michal Skrivanek 2013-04-24 07:26:50 UTC
since it's not supported and the guest agent otherwise works, and it's not a regression, moving out to 3.3