Bug 1021222 - [host-deploy] print stderr content as error in audit log
Summary: [host-deploy] print stderr content as error in audit log
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.3.0
Assignee: Alon Bar-Lev
QA Contact: Jiri Belka
URL:
Whiteboard: infra
Depends On:
Blocks: 3.3snap2
TreeView+ depends on / blocked
 
Reported: 2013-10-20 12:56 UTC by Alon Bar-Lev
Modified: 2016-02-10 19:06 UTC (History)
6 users (show)

Fixed In Version: is21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 20395 0 None MERGED host-deploy: output stderr content as error in audit log 2020-05-05 06:17:19 UTC
oVirt gerrit 20579 0 None MERGED host-deploy: output stderr content as error in audit log 2020-05-05 06:17:19 UTC
oVirt gerrit 20889 0 None MERGED host-deploy: fix ssh test suite for stderr 2020-05-05 06:17:19 UTC

Description Alon Bar-Lev 2013-10-20 12:56:57 UTC
When host-deploy fails for unknown reason the stderr contains useful information for the user. Currently logged only into engine.log, better to present it to user (at least its head).

Comment 1 Jiri Belka 2013-11-01 15:59:29 UTC
ok, is21

# grep ERROR /var/log/ovirt-engine/host-deploy/ovirt-20131101165450-10.34.62.205-6f522f62.log
2013-11-01 16:54:50 ERROR otopi.plugins.otopi.packagers.yumpackager yumpackager.error:97 Yum [u'Errors were encountered while downloading packages.', u'libselinux-python-2.0.94-5.3.el6_4.1.x86_64: failure: ../Packages/libselinux-python-2.0.94-5.3.el6_4.1.x86_64.rpm from rhel65-bos: [Errno 256] No more mirrors to try.']
2013-11-01 16:54:50 ERROR otopi.context context._executeMethod:146 Failed to execute stage 'Booting': [u'Errors were encountered while downloading packages.', u'libselinux-python-2.0.94-5.3.el6_4.1.x86_64: failure: ../Packages/libselinux-python-2.0.94-5.3.el6_4.1.x86_64.rpm from rhel65-bos: [Errno 256] No more mirrors to try.']

Comment 2 Itamar Heim 2014-01-21 22:32:18 UTC
Closing - RHEV 3.3 Released

Comment 3 Itamar Heim 2014-01-21 22:32:23 UTC
Closing - RHEV 3.3 Released


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