Bug 812813 - /usr/bin/apply_errata has a not documented option sat_host.
Summary: /usr/bin/apply_errata has a not documented option sat_host.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 1.7
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Milan Zázrivec
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space18
TreeView+ depends on / blocked
 
Reported: 2012-04-16 10:14 UTC by Dimitar Yordanov
Modified: 2012-11-01 16:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-23 15:33:04 UTC
Embargoed:


Attachments (Terms of Use)

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.


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