Bug 1104491 - Document beaker-log-delete
Summary: Document beaker-log-delete
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: 0.16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: beaker-dev-list
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On: 968828
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-04 07:00 UTC by Dan Callaghan
Modified: 2019-04-15 12:29 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-04-15 12:28:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan Callaghan 2014-06-04 07:00:03 UTC
Description of problem:
When using Kerberos authentication, beaker-log-delete prints a line like

   Kerberos initialization for HTTP/hostname@REALM

This is a problem because we expect the admin to call this command in a cron job, and cron jobs should be silent unless something goes wrong. beaker-log-delete should therefore be silent by default, unless something goes wrong.

It could potentially have a --debug or --verbose option like some of the server commands, if that is desired.

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

How reproducible:
always

Steps to Reproduce:
1. Configure beaker-log-delete to use Kerberos authentication for talking to the archive server
2. Run beaker-log-delete

Actual results:
Prints output.

Expected results:
Silent unless failure.

Additional info:
I think the output comes from requests-kerberos.

Comment 2 Dan Callaghan 2014-06-04 07:08:16 UTC
I would like us to fix this ASAP since it is currently making it difficult to find failures in log-delete (which we are also experiencing, it seems).

Comment 3 Dan Callaghan 2014-06-04 07:19:16 UTC
Actually I just realised this output is probably from k5start. Need to figure out:

* do we document the use of k5start anywhere? if not, it should be
* can we pass k5start an option to suppress the message? if not, need to do something like redirect stdout to /dev/null... either way add it to the docs

Comment 5 Dan Callaghan 2014-06-04 07:26:06 UTC
It's -q.


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