Bug 812813

Summary: /usr/bin/apply_errata has a not documented option sat_host.
Product: [Community] Spacewalk Reporter: Dimitar Yordanov <dyordano>
Component: ClientsAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: low    
Version: 1.7CC: msuchy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-23 15:33:04 UTC 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:    
Bug Blocks: 871344    

Description Dimitar Yordanov 2012-04-16 10:14:44 UTC
Description of problem:

Script /usr/bin/apply_errata  process an option "sat_host" that is not documented.

Version-Release number of selected component (if applicable):
spacewalk-utils-1.7.15-1

How reproducible:
100%

Steps to Reproduce:
1. vim /usr/bin/apply_errata 
2. Search for string "sat_host"
  
Actual results:
opt['sat_host'] = ""

   if opt['sat_host'] == "":
      opt['sat_host'] = getServer()

Expected results:
/usr/bin/apply_errata --help provides details about option "sat_host"

Additional info:

Comment 1 Miroslav Suchý 2012-04-23 15:33:04 UTC
This is not option. Opt is not directly populated by options (opts is populated). opt['sat_host'] is set on line 36:
   opt['sat_host'] = ""
so this is just weird coding by Colin.