Bug 1370629

Summary: sosreport displays "[plugin:named] added null or empty copy spec"
Product: Red Hat Quickstart Cloud Installer Reporter: Thom Carlin <tcarlin>
Component: Installation - SatelliteAssignee: John Matthews <jmatthew>
Status: ASSIGNED --- QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact: Dan Macpherson <dmacpher>
Priority: unspecified    
Version: 1.0CC: bthurber, tsanders
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1371297 (view as bug list) Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1371297    
Bug Blocks:    

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.