Bug 1370629 - sosreport displays "[plugin:named] added null or empty copy spec"
Summary: sosreport displays "[plugin:named] added null or empty copy spec"
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Quickstart Cloud Installer
Classification: Red Hat
Component: Installation - Satellite
Version: 1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: John Matthews
QA Contact: Dave Johnson
Dan Macpherson
URL:
Whiteboard:
Depends On: 1371297
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-26 20:19 UTC by Thom Carlin
Modified: 2022-07-30 04:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1371297 (view as bug list)
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description Thom Carlin 2016-08-26 20:19:19 UTC
Description of problem:

sosreport displays "[plugin:named] added null or empty copy spec" but does appear to complete successfully

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

QCI-1.0-RHEL-7-201608125.t.0

How reproducible:

Believe 100%

Steps to Reproduce:
1. Install/configure QCI
2. sosreport

Actual results:

 Setting up plugins ...
[plugin:named] added null or empty copy spec
dbname must be supplied to dump a database.
 Running plugins. Please wait ...

Expected results:

 Setting up plugins ...
 Running plugins. Please wait ...

Additional info:

Comment 2 jkim 2016-08-29 19:48:51 UTC
"dbname must be supplied to dump a database." warning output was removed in Sosreport v3.3-2 which is included in RHEL 7.3

https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=510072

The following is is the link of the Commit of the removal of the warning:
https://github.com/sosreport/sos/commit/dace7ab27b51fe67ed98b0328c80c8eea9da3a87

Comment 3 jkim 2016-08-29 20:03:57 UTC
"[plugin:named] added null or empty copy spec"

The above comment is generated while running the 'named' plugin of the sosreport.

The '/etc/named.conf' file is being altered by foreman as seen here:
https://github.com/theforeman/hammer-cli-foreman-admin/blob/master/test/fixture_tree/etc/named.conf

The named plugin is searching for the word "directory" in the /etc/named.conf file in order to search for files to include in its sosreport.  However, the word "directory" does not exist in the foreman installed version of the file.


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