Bug 908325 - rlService* functions should provide more debugging information
Summary: rlService* functions should provide more debugging information
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: beakerlib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Filip Holec
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-06 12:45 UTC by Petr Šplíchal
Modified: 2016-06-01 01:44 UTC (History)
5 users (show)

Fixed In Version: beakerlib-1.8-1.fc19
Clone Of:
: 971929 (view as bug list)
Environment:
Last Closed: 2013-06-29 18:03:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
patch providing more debugging information in rlService* functions (3.03 KB, patch)
2013-02-15 14:01 UTC, Filip Holec
no flags Details | Diff

Description Petr Šplíchal 2013-02-06 12:45:22 UTC
Description of problem:

Currently, when a service start fails on a system with systemd
there is not much details shown about the failures itself. The
output can look like this:

> Redirecting to /bin/systemctl start  httpd.service
> Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.
> :: [   LOG    ] ::[ ERROR   ] :: rlServiceStart: Starting service httpd failed
> :: [   FAIL   ] :: Running 'rlServiceStart httpd' (Expected 0, got 1)

In such cases it would be useful to run commands suggested above
to get additional information about why the service action failed.

Version-Release number of selected component (if applicable):
beakerlib-1.6-2.el7

Comment 2 Filip Holec 2013-02-15 14:00:18 UTC
The patch I attach adds this feature to beakerlib (it shows status of the failed service, the reason why the service failed is in the status report)

Comment 3 Filip Holec 2013-02-15 14:01:20 UTC
Created attachment 697808 [details]
patch providing more debugging information in rlService* functions

Comment 4 Petr Muller 2013-04-30 14:33:22 UTC
Should not be MODIFIED, it was not commited yet.

Comment 5 Petr Muller 2013-06-07 15:31:51 UTC
I have applied the patch and extended it so it provides more information even in the BeakerLib log

Comment 7 Fedora Update System 2013-06-10 12:15:48 UTC
beakerlib-1.8-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/beakerlib-1.8-1.fc19

Comment 8 Fedora Update System 2013-06-10 14:38:27 UTC
Package beakerlib-1.8-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing beakerlib-1.8-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-10465/beakerlib-1.8-1.fc19
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2013-06-29 18:03:12 UTC
beakerlib-1.8-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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