I've been having a heck of a couple days trying to stand up Foreman 1.14 on
Ubuntu 14.04. I have everything setup like another environment, but for
whatever reason, I keep getting crazy errors. I've checked out the rndc
key, to no avail as everything matches up. But yet I keep getting these
errors.
Here is what I get in the production.log and is also shown on the GUI:
Create Reverse IPv4 DNS record for infr003-cldtst.some.domain task failed
with the following error: ERF12-2357 [ProxyAPI::ProxyException]: Unable to
set DNS entry ([RestClient::BadRequest]: 400 Bad Request) for proxy
https://foreman01tst.some.domain:8443/dns
Here is what's going on in the foreman-proxy proxy.log:
I, [2017-01-26T00:31:21.929852 ] INFO – : 10.16.37.2 - - [26/Jan/2017
00:31:21] "GET /tftp/serverName HTTP/1.1" 200 27 0.0013
E, [2017-01-26T00:31:22.015214 ] ERROR – : DHCP record
10.x.x.0/ab:cd:ef:gh:b9:e8 not found
I, [2017-01-26T00:31:22.015645 ] INFO – : 10.x.x.2 - - [26/Jan/2017
00:31:22] "GET /dhcp/10.x.x.0/64:51:06:ee:b9:e8 HTTP/1.1" 404 50 0.0013
E, [2017-01-26T00:31:22.100339 ] ERROR – : DHCP record
10.16.37.0/10.16.37.8 not found
I, [2017-01-26T00:31:22.100921 ] INFO – : 10.x.x.2 - - [26/Jan/2017
00:31:22] "GET /dhcp/10.x.x.0/10.x.x.8 HTTP/1.1" 404 43 0.0014
I, [2017-01-26T00:31:22.325780 ] INFO – : 10.x.x.2 - - [26/Jan/2017
00:31:22] "POST /dhcp/10.16.37.0 HTTP/1.1" 200 - 0.0169
E, [2017-01-26T00:31:22.463041 ] ERROR – : Update errors: Answer:
;; ->>HEADER<<- opcode: UPDATE, status: REFUSED, id: 49597
;; flags: qr ra; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 1
;; ZONE SECTION:
;10.in-addr.arpa. IN SOA
;; TSIG PSEUDOSECTION:
rndc-key. 0 ANY TSIG hmac-md5.sig-alg.reg.int.
1485390682 300 16 kwnn1289abLZrs5bPRqueQ== 49597 NOERROR 0
I, [2017-01-26T00:31:22.464868 ] INFO – : 10.16.37.2 - - [26/Jan/2017
00:31:22] "POST /dns/ HTTP/1.1" 400 329 0.0479
I, [2017-01-26T00:31:22.567307 ] INFO – : 10.16.37.2 - - [26/Jan/2017
00:31:22] "DELETE /dhcp/10.16.37.0/ab:cd:ef:gh:b9:e8 HTTP/1.1" 200 - 0.0135
Servers have been stopped, started and server rebooted. During install, I
just ran foreman-installer with no extra options.