Bug 917493
| Summary: | oo-register-dns on broker has duplicate options | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | yangmingzhi <miyang> |
| Component: | Node | Assignee: | Jason DeTiberus <jdetiber> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 1.1.1 | CC: | bleanhar, jdetiber, jinzhang, libra-onpremise-devel, lmeyer, mshao, xjia |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| 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 19:50:10 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: | |
| Embargoed: | |||
| Bug Depends On: | 917491 | ||
| Bug Blocks: | |||
|
Description
yangmingzhi
2013-03-04 07:50:31 UTC
This has been fixed upstream and been pulled in with the 1.2 rebase. 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
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 |