Bug 672026

Summary: noisy log: QemuMonitor - "Broken pipe" error while GUEST runs internal requests
Product: Red Hat Enterprise Linux 5 Reporter: Avi Tal <atal>
Component: vdsm22Assignee: Dan Kenigsberg <dkenigsb>
Status: CLOSED WONTFIX QA Contact: yeylon <yeylon>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.6CC: abaron, bazulay, danken, iheim, srevivo, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-23 16:23:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
vdsm log none

Description Avi Tal 2011-01-23 10:21:53 UTC
Created attachment 474802 [details]
vdsm log

Description of problem:
For example, running shutdown from the guest will create these errors.

note: the operation does succeed.

How reproducible:
all the time

Steps to Reproduce:
1. run shotdown from the VM
 
Additional info:
QMon-22918::ERROR::2011-01-23 12:07:45,126::QemuMonitor::268::vds.vmlog.5f9cfe3a-1458-4045-abb1-329cd5947f0f::QemuMonitor
Traceback (most recent call last):
  File "/usr/share/vdsm/QemuMonitor.py", line 266, in _work
    BasicQemuMonitor._work(self)
  File "/usr/share/vdsm/QemuMonitor.py", line 192, in _work
    self._sock.sendall(monq._input + '\n')
  File "<string>", line 1, in sendall
error: (32, 'Broken pipe')
QMon-22918::DEBUG::2011-01-23 12:07:45,127::vm::940::vds.vmlog.5f9cfe3a-1458-4045-abb1-329cd5947f0f::onShutdown() event
QMon-22918::DEBUG::2011-01-23 12:07:45,127::QemuMonitor::317::vds.vmlog.5f9cfe3a-1458-4045-abb1-329cd5947f0f::# GUEST: Got shutdown request
QMon-22918::INFO::2011-01-23 12:07:45,127::vm::695::vds.vmlog.5f9cfe3a-1458-4045-abb1-329cd5947f0f::Monitor stopped
Thread-22920::ERROR::2011-01-23 12:07:45,129::utils::427::vds.vmlog.5f9cfe3a-1458-4045-abb1-329cd5947f0f::Traceback (most recent call last):
  File "/usr/share/vdsm/utils.py", line 421, in run
    self._samples.append(self.sample())
  File "/usr/share/vdsm/vm.py", line 134, in sample
    s = VmSample(self._pid, self._ifids, self._vm)
  File "/usr/share/vdsm/vm.py", line 71, in __init__
    self.hdssample = HdsSample(vm)
  File "/usr/share/vdsm/vm.py", line 49, in __init__
    for line in vm._sendMonitorCommand('info blockstats').splitlines():
  File "/usr/share/vdsm/vm.py", line 1176, in _sendMonitorCommand
    out = self._mon.sendCommand(command, timeout)
  File "/usr/share/vdsm/QemuMonitor.py", line 130, in sendCommand
    return monq.wait(timeout)
  File "/usr/share/vdsm/QemuMonitor.py", line 51, in wait
    raise self._exception
error: (32, 'Broken pipe')

Comment 1 Dan Kenigsberg 2011-01-23 16:23:01 UTC
Avi, you are correct that the logs are noisy, and that this should not be reported as ERROR. However, this is an old 2.2.0 behavior that does not really affect customers.

As I hinted in person, I do not believe this is of zstream quality.