Bug 853962

Summary: too verbose error message in events and logs when installation fails
Product: Red Hat Enterprise Virtualization Manager Reporter: Barak Dagan <bdagan>
Component: ovirt-engineAssignee: Alon Bar-Lev <alonbl>
Status: CLOSED CURRENTRELEASE QA Contact: Barak Dagan <bdagan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: acathrow, bazulay, dyasny, iheim, lpeer, oramraz, pstehlik, Rhev-m-bugs, yeylon, ykaul, yzaslavs
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: si18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
logs none

Description Barak Dagan 2012-09-03 12:31:10 UTC
Created attachment 609369 [details]
logs

Description of problem:
During hots installation / re-installation, if one of the repositories under /etc/yum.repos.d/ is not correct, the event and logs shows some strange error msg instead of specifing that its repository issue.

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


How reproducible:


Steps to Reproduce:
1. change repository /etc/yum.repos.d/vdsm.repo value from http://bob.eng.lab.tlv.redhat.com/builds/si16
to http://bob.eng.lab.tlv.redhat.com/builds/si116
2. re-install the host
3.
  
Actual results:


Expected results:


Additional info:

Comment 7 Itamar Heim 2012-09-03 15:24:01 UTC
i think we should keep it in the logs, but not in the audit log if possible.

Comment 9 Alon Bar-Lev 2012-09-03 18:13:16 UTC
blocker? regression? well...

Comment 10 Alon Bar-Lev 2012-09-03 18:18:10 UTC
commit 6af1cd850b52f7a1d8ea5d25f2b22e9eb3b11511
Author: Alon Bar-Lev <alonbl>
Date:   Mon Sep 3 20:15:11 2012 +0300

    bootstrap: reduce verbosity of errors in event log (#853962)
    
    The exact command syntax is not important to user.
    
    The exact exception is not important to user.
    
    Change-Id: Ie9f0042610b16af56487cb02349a399ee0f6b093
    Signed-off-by: Alon Bar-Lev <alonbl>

http://gerrit.ovirt.org/#/c/7722/1

Comment 11 Alon Bar-Lev 2012-09-03 18:22:31 UTC
Text:
SSH command failed while executing at host '%1$s', refer to logs for further information.

Comment 12 Alon Bar-Lev 2012-09-10 09:15:43 UTC
commit 6a27c6ab91ece345ccdbdd9599d8757a833627f9
Author: Alon Bar-Lev <alonbl>
Date:   Mon Sep 3 20:15:11 2012 +0300

    bootstrap: reduce verbosity of errors in event log (#853962)
    
    The exact command syntax is not important to user.
    
    The exact exception is not important to user.
    
    Change-Id: Ie9f0042610b16af56487cb02349a399ee0f6b093
    Signed-off-by: Alon Bar-Lev <alonbl>

https://gerrit.eng.lab.tlv.redhat.com/#/c/1971/