Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 917493 - oo-register-dns on broker has duplicate options
oo-register-dns on broker has duplicate options
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Pod (Show other bugs)
1.1.1
Unspecified Unspecified
low Severity low
: ---
: ---
Assigned To: Jason DeTiberus
libra bugs
: Triaged
Depends On: 917491
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-04 02:50 EST by yangmingzhi
Modified: 2017-03-08 12 EST (History)
7 users (show)

See Also:
Fixed In Version: openshift-origin-broker-util-1.9.7-1.2.el6op
Doc Type: Bug Fix
Doc Text:
Cause: oo-register-dns help text listed -h option twice. Consequence: This is confusing. Fix: Update to openshift-origin-broker-util-1.9.7-1.2.el6op Result: The -h option is only for host name and -? is for help.
Story Points: ---
Clone Of: 917491
Environment:
Last Closed: 2013-07-09 15:50:10 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:1031 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 1.2 Infrastructure Release Advisory 2013-07-09 19:48:02 EDT

  None (edit)
Description yangmingzhi 2013-03-04 02:50:31 EST
+++ This bug was initially created as a clone of Bug #917491 +++

Description of problem:
oo-register-dns on broker has duplicate options.It will confuse customers.

Version-Release number of selected component (if applicable):
puddle:2013-02-27.1

How reproducible:
always

Steps to Reproduce:
1.run "oo-register-dns -h" on broker

  
Actual results:
[root@broker ~]# oo-register-dns -h
/usr/sbin/oo-register-dns: option requires an argument -- h
== Synopsis

oo-register-dns: Register node's DNS name with Bind
  This command must be run as root.

== Usage

oo-register-dns --with-node-hostname node1 \
                --with-node-ip 192.168.0.1 \
                --domain example.com \
                --dns-server broker.example.com

== List of arguments
  -h|--with-node-hostname   host        Hostname for the node (required)
  -n|--with-node-ip         ip          IP of the node (required)
  -d|--domain               domain      Domain name for this node (optional, default: example.com)  
  -s|--dns-server           server      IP address or hostname of DNS server to update (optional, default: 127.0.0.1)  
  -k|--key-file             file        Bind key (optional, default: /var/named/<domain name>.key)  
  -h|--help                             Print this message

[root@broker ~]# 


Expected results:
[-h|--with-node-hostname ] has a different short option from [-h| --help]

Additional info:
Comment 3 Jason DeTiberus 2013-05-14 16:49:50 EDT
This has been fixed upstream and been pulled in with the 1.2 rebase.
Comment 4 yangmingzhi 2013-05-14 22:07:56 EDT
Verified in puddle 2013-05-14.1



Verify steps and outputs:

[root@broker ~]# oo-register-dns -h
/usr/sbin/oo-register-dns: option requires an argument -- h
== Synopsis

oo-register-dns: Register node's DNS name with Bind
  This command must be run as root.

== Usage

oo-register-dns --with-node-hostname node1 \
                --with-node-ip 192.168.0.1 \
                --domain example.com \
                --dns-server broker.example.com

== List of arguments
  -h|--with-node-hostname   host        Hostname for the node (required)
  -n|--with-node-ip         ip          IP of the node (required)
  -d|--domain               domain      Domain name for this node (optional, default: example.com)  
  -s|--dns-server           server      IP address or hostname of DNS server to update (optional, default: 127.0.0.1)  
  -k|--key-file             file        Bind key (optional, default: /var/named/<domain name>.key)  
  -?|--help                             Print this message
Comment 7 errata-xmlrpc 2013-07-09 15:50:10 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2013-1031.html

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