Bug 876644
Summary: | oo-register-dns is hardcoded to add entries to a BIND server at 127.0.0.1 | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Javier Peña <javier.pena> |
Component: | Node | Assignee: | Brenton Leanhardt <bleanhar> |
Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 1.2.0 | CC: | bleanhar, jkeck, xjia, xtian |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-01-31 20:32:47 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: |
Description
Javier Peña
2012-11-14 16:28:12 UTC
Ugh. Thanks for pointing this out. It should be really easy to generalize this. 1. At minimum, allow specifying server and key. 2. Better, pick those up from the plugin settings. 3. Best, use the plugin itself (whichever is configured) to make the update. Scheduling for dot release. The upstream pull request is here: https://github.com/openshift/origin-server/pull/1057 This will ship with the next puddle. Verify: [root@xjia-client 1212]# ssh 10.4.59.150 root.59.150's password: Last login: Wed Dec 12 04:43:12 2012 from vm-188-59-4-10.ose.phx2.redhat.com [root@broker ~]# ps aux | grep named root 2289 0.0 0.0 103244 812 pts/0 S+ 04:45 0:00 grep named [root@broker ~]# oo-register-dns -n 10.4.59.176 -h node123 -d example.com -k /var/named/example.com.key -s 10.4.59.174 [root@broker ~]# dig @10.4.59.174 node123.example.com ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.6 <<>> @10.4.59.174 node123.example.com ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9667 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;node123.example.com. IN A ;; ANSWER SECTION: node123.example.com. 180 IN A 10.4.59.176 ;; AUTHORITY SECTION: example.com. 1 IN NS ns1.example.com. ;; ADDITIONAL SECTION: ns1.example.com. 1 IN A 127.0.0.1 ;; Query time: 1 msec ;; SERVER: 10.4.59.174#53(10.4.59.174) ;; WHEN: Wed Dec 12 04:46:40 2012 ;; MSG SIZE rcvd: 87 [root@broker ~]# nslookup node123.example.com Server: 10.4.59.174 Address: 10.4.59.174#53 Name: node123.example.com Address: 10.4.59.176 [root@broker ~]# Version: OpenShiftEnterprise/1.1.x/2012-12-11.3/ 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/RHSA-2013-0220.html |