Foreman Version 1.11.1 - ERF12-2357 [ProxyAPI::ProxyException]

Hi all,

I'm a new user on foreman and i need your help.

I try to configure provisioning with pxe boot, centos mirror and kickstart
but when i created a host i get an error :cry:

I have this error message : (sorry it's in french)
La tâche Créer un enregistrement DNS inverse pour ttt.mydomain.com a échoué
avec l'erreur suivante : ERF12-2357 [ProxyAPI::ProxyException]: Impossible
de positionner l'entrée DNS ([RestClient::BadRequest]: 400 Bad Request)
pour le proxy https://puppet.mydomain.com:8443/dns

There is one thing i don't understand, if i use a DNS proxy with foreman,
the registration must be done on my domain controller or simply on the
foreman server ?

Server : Centos 7, foreman version 1.11.1

Thanks for your help !

my log :

D, [2016-04-23T16:46:06.606179 #16445] DEBUG – : accept: 172.23.2.17:34069

D, [2016-04-23T16:46:06.612487 #16445] DEBUG – : Rack::Handler::WEBrick is
invoked.

D, [2016-04-23T16:46:06.622487 #16445] DEBUG – : verifying remote client
172.23.2.17 against trusted_hosts ["puppet.mydomain.local"]

I, [2016-04-23T16:46:06.624742 #16445] INFO – : 172.23.2.17 - -
[23/Apr/2016:16:46:06 +0200] "GET /tftp/serverName HTTP/1.1" 200 28 0.0040

D, [2016-04-23T16:46:06.667348 #16445] DEBUG – : close: 172.23.2.17:34069

D, [2016-04-23T16:46:06.727808 #16445] DEBUG – : accept: 172.23.2.17:34070

D, [2016-04-23T16:46:06.730118 #16445] DEBUG – : Rack::Handler::WEBrick is
invoked.

D, [2016-04-23T16:46:06.731578 #16445] DEBUG – : verifying remote client
172.23.2.17 against trusted_hosts ["puppet.mydomain.local"]

D, [2016-04-23T16:46:06.732601 #16445] DEBUG – : Loading subnets for
127.0.0.1

D, [2016-04-23T16:46:06.732861 #16445] DEBUG – : Reading config file
/etc/dhcp/dhcpd.conf

D, [2016-04-23T16:46:06.733286 #16445] DEBUG – : Reading config file
/etc/dhcp/dhcpd.hosts

D, [2016-04-23T16:46:06.734237 #16445] DEBUG – : Added a subnet: 172.23.2.0

D, [2016-04-23T16:46:06.734832 #16445] DEBUG – : Reading config file
/var/lib/dhcpd/dhcpd.leases

D, [2016-04-23T16:46:06.739406 #16445] DEBUG – : Added a reservation:
172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local

D, [2016-04-23T16:46:06.739672 #16445] DEBUG – : Deleted a reservation:
172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local

D, [2016-04-23T16:46:06.739817 #16445] DEBUG – : Added a reservation:
172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local

D, [2016-04-23T16:46:06.739930 #16445] DEBUG – : Deleted a reservation:
172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local

D, [2016-04-23T16:46:06.740092 #16445] DEBUG – : Added a reservation:
172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local

D, [2016-04-23T16:46:06.740225 #16445] DEBUG – : Deleted a reservation:
172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local

D, [2016-04-23T16:46:06.740485 #16445] DEBUG – : Added a lease record:
172.23.2.60:00:50:56:aa:ef:a7

D, [2016-04-23T16:46:06.740622 #16445] DEBUG – : Deleted a lease record:
172.23.2.60:00:50:56:aa:ef:a7

D, [2016-04-23T16:46:06.740734 #16445] DEBUG – : Added a lease record:
172.23.2.60:00:50:56:aa:ef:a7

E, [2016-04-23T16:46:06.741321 #16445] ERROR – : Record
172.23.2.0/00:50:56:aa:ef:a5 not found

D, [2016-04-23T16:46:06.741405 #16445] DEBUG – : Record
172.23.2.0/00:50:56:aa:ef:a5 not found

I, [2016-04-23T16:46:06.741857 #16445] INFO – : 172.23.2.17 - -
[23/Apr/2016:16:46:06 +0200] "GET /dhcp/172.23.2.0/00:50:56:aa:ef:a5
HTTP/1.1" 404 45 0.0107

D, [2016-04-23T16:46:06.783641 #16445] DEBUG – : close: 172.23.2.17:34070

D, [2016-04-23T16:46:06.841334 #16445] DEBUG – : accept: 172.23.2.17:34071

D, [2016-04-23T16:46:06.846064 #16445] DEBUG – : Rack::Handler::WEBrick is
invoked.

D, [2016-04-23T16:46:06.849474 #16445] DEBUG – : verifying remote client
172.23.2.17 against trusted_hosts ["puppet.mydomain.local"]

D, [2016-04-23T16:46:06.850360 #16445] DEBUG – : Loading subnets for
127.0.0.1

D, [2016-04-23T16:46:06.850654 #16445] DEBUG – : Reading config file
/etc/dhcp/dhcpd.conf

D, [2016-04-23T16:46:06.850983 #16445] DEBUG – : Reading config file
/etc/dhcp/dhcpd.hosts

D, [2016-04-23T16:46:06.851729 #16445] DEBUG – : Added a subnet: 172.23.2.0

D, [2016-04-23T16:46:06.852374 #16445] DEBUG – : Reading config file
/var/lib/dhcpd/dhcpd.leases

D, [2016-04-23T16:46:06.856202 #16445] DEBUG – : Added a reservation:
172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local

D, [2016-04-23T16:46:06.856417 #16445] DEBUG – : Deleted a reservation:
172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local

D, [2016-04-23T16:46:06.856558 #16445] DEBUG – : Added a reservation:
172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local

D, [2016-04-23T16:46:06.856657 #16445] DEBUG – : Deleted a reservation:
172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local

D, [2016-04-23T16:46:06.856789 #16445] DEBUG – : Added a reservation:
172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local

D, [2016-04-23T16:46:06.856898 #16445] DEBUG – : Deleted a reservation:
172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local

D, [2016-04-23T16:46:06.857133 #16445] DEBUG – : Added a lease record:
172.23.2.60:00:50:56:aa:ef:a7

D, [2016-04-23T16:46:06.857314 #16445] DEBUG – : Deleted a lease record:
172.23.2.60:00:50:56:aa:ef:a7

D, [2016-04-23T16:46:06.857426 #16445] DEBUG – : Added a lease record:
172.23.2.60:00:50:56:aa:ef:a7

E, [2016-04-23T16:46:06.857767 #16445] ERROR – : Record
172.23.2.0/172.23.2.61 not found

D, [2016-04-23T16:46:06.857853 #16445] DEBUG – : Record
172.23.2.0/172.23.2.61 not found

I, [2016-04-23T16:46:06.858670 #16445] INFO – : 172.23.2.17 - -
[23/Apr/2016:16:46:06 +0200] "GET /dhcp/172.23.2.0/172.23.2.61 HTTP/1.1"
404 39 0.0104

D, [2016-04-23T16:46:06.900104 #16445] DEBUG – : close: 172.23.2.17:34071

D, [2016-04-23T16:46:07.063679 #16445] DEBUG – : accept: 172.23.2.17:34072

D, [2016-04-23T16:46:07.066984 #16445] DEBUG – : Rack::Handler::WEBrick is
invoked.

D, [2016-04-23T16:46:07.090409 #16445] DEBUG – : verifying remote client
172.23.2.17 against trusted_hosts ["puppet.mydomain.local"]

D, [2016-04-23T16:46:07.091194 #16445] DEBUG – : Loading subnets for
127.0.0.1

D, [2016-04-23T16:46:07.091295 #16445] DEBUG – : Reading config file
/etc/dhcp/dhcpd.conf

D, [2016-04-23T16:46:07.091651 #16445] DEBUG – : Reading config file
/etc/dhcp/dhcpd.hosts

D, [2016-04-23T16:46:07.092197 #16445] DEBUG – : Added a subnet: 172.23.2.0

D, [2016-04-23T16:46:07.092536 #16445] DEBUG – : Reading config file
/var/lib/dhcpd/dhcpd.leases

D, [2016-04-23T16:46:07.096693 #16445] DEBUG – : Added a reservation:
172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local

D, [2016-04-23T16:46:07.096909 #16445] DEBUG – : Deleted a reservation:
172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local

D, [2016-04-23T16:46:07.097034 #16445] DEBUG – : Added a reservation:
172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local

D, [2016-04-23T16:46:07.097155 #16445] DEBUG – : Deleted a reservation:
172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local

D, [2016-04-23T16:46:07.097287 #16445] DEBUG – : Added a reservation:
172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local

D, [2016-04-23T16:46:07.097405 #16445] DEBUG – : Deleted a reservation:
172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local

D, [2016-04-23T16:46:07.097561 #16445] DEBUG – : Added a lease record:
172.23.2.60:00:50:56:aa:ef:a7

D, [2016-04-23T16:46:07.097711 #16445] DEBUG – : Deleted a lease record:
172.23.2.60:00:50:56:aa:ef:a7

D, [2016-04-23T16:46:07.097828 #16445] DEBUG – : Added a lease record:
172.23.2.60:00:50:56:aa:ef:a7

D, [2016-04-23T16:46:07.137899 #16445] DEBUG – : omshell: executed - set
name = "aei.mydomain.local"

D, [2016-04-23T16:46:07.138702 #16445] DEBUG – : nil

D, [2016-04-23T16:46:07.138867 #16445] DEBUG – : omshell: executed - set
ip-address = 172.23.2.61

D, [2016-04-23T16:46:07.138956 #16445] DEBUG – : nil

D, [2016-04-23T16:46:07.139071 #16445] DEBUG – : omshell: executed - set
hardware-address = 00:50:56:aa:ef:a5

D, [2016-04-23T16:46:07.139131 #16445] DEBUG – : nil

D, [2016-04-23T16:46:07.139252 #16445] DEBUG – : omshell: executed - set
hardware-type = 1

D, [2016-04-23T16:46:07.139327 #16445] DEBUG – : nil

D, [2016-04-23T16:46:07.140542 #16445] DEBUG – : omshell: executed - set
statements = "filename = "pxelinux.0"; next-server = ac:17:02:11; option
host-name = "aei.mydomain.local";"

D, [2016-04-23T16:46:07.140650 #16445] DEBUG – : nil

D, [2016-04-23T16:46:07.140753 #16445] DEBUG – : omshell: executed - create

D, [2016-04-23T16:46:07.140813 #16445] DEBUG – : nil

I, [2016-04-23T16:46:07.386461 #16445] INFO – : Added DHCP reservation
for aei.mydomain.local (172.23.2.61 / 00:50:56:aa:ef:a5)

I, [2016-04-23T16:46:07.390351 #16445] INFO – : 172.23.2.17 - -
[23/Apr/2016:16:46:07 +0200] "POST /dhcp/172.23.2.0 HTTP/1.1" 200 - 0.3220

D, [2016-04-23T16:46:07.401491 #16445] DEBUG – : close: 172.23.2.17:34072

D, [2016-04-23T16:46:07.468426 #16445] DEBUG – : accept: 172.23.2.17:34074

D, [2016-04-23T16:46:07.473915 #16445] DEBUG – : Rack::Handler::WEBrick is
invoked.

D, [2016-04-23T16:46:07.561302 #16445] DEBUG – : verifying remote client
172.23.2.17 against trusted_hosts ["puppet.mydomain.local"]

D, [2016-04-23T16:46:07.563286 #16445] DEBUG – : running /usr/bin/nsupdate
-k /etc/rndc.key

D, [2016-04-23T16:46:07.597974 #16445] DEBUG – : nsupdate: executed -
server 127.0.0.1

D, [2016-04-23T16:46:07.612570 #16445] DEBUG – : nsupdate: executed -
update add aei.mydomain.local. 86400 A 172.23.2.61

I, [2016-04-23T16:46:07.758352 #16445] INFO – : 172.23.2.17 - -
[23/Apr/2016:16:46:07 +0200] "POST /dns/ HTTP/1.1" 200 - 0.2768

D, [2016-04-23T16:46:07.765421 #16445] DEBUG – : close: 172.23.2.17:34074

D, [2016-04-23T16:46:07.827785 #16445] DEBUG – : accept: 172.23.2.17:34075

D, [2016-04-23T16:46:07.833673 #16445] DEBUG – : Rack::Handler::WEBrick is
invoked.

D, [2016-04-23T16:46:07.839893 #16445] DEBUG – : verifying remote client
172.23.2.17 against trusted_hosts ["puppet.mydomain.local"]

D, [2016-04-23T16:46:07.841044 #16445] DEBUG – : running /usr/bin/nsupdate
-k /etc/rndc.key

D, [2016-04-23T16:46:07.874226 #16445] DEBUG – : nsupdate: executed -
server 127.0.0.1

D, [2016-04-23T16:46:07.882973 #16445] DEBUG – : nsupdate: executed -
update add 61.2.23.172.in-addr.arpa. 86400 PTR aei.mydomain.local

D, [2016-04-23T16:46:07.962739 #16445] DEBUG – : nsupdate: errors

Answer:

;; ->>HEADER<<- opcode: UPDATE, status: REFUSED, id: 50066

;; flags: qr ra; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 1

;; ZONE SECTION:

;23.172.in-addr.arpa. IN SOA

;; TSIG PSEUDOSECTION:

rndc-key. 0 ANY TSIG hmac-md5.sig-alg.reg.int. 1461422767 300 16
TGg2clo+mJXEv860IUAz1g== 50066 NOERROR 0

E, [2016-04-23T16:46:07.964670 #16445] ERROR – : Update errors: Answer:

;; ->>HEADER<<- opcode: UPDATE, status: REFUSED, id: 50066

;; flags: qr ra; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 1

;; ZONE SECTION:

;23.172.in-addr.arpa. IN SOA

;; TSIG PSEUDOSECTION:

rndc-key. 0 ANY TSIG hmac-md5.sig-alg.reg.int. 1461422767 300 16
TGg2clo+mJXEv860IUAz1g== 50066 NOERROR 0

D, [2016-04-23T16:46:07.964764 #16445] DEBUG – : Update errors: Answer:

;; ->>HEADER<<- opcode: UPDATE, status: REFUSED, id: 50066

;; flags: qr ra; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 1

;; ZONE SECTION:

;23.172.in-addr.arpa. IN SOA

;; TSIG PSEUDOSECTION:

rndc-key. 0 ANY TSIG hmac-md5.sig-alg.reg.int. 1461422767 300 16
TGg2clo+mJXEv860IUAz1g== 50066 NOERROR 0

(Proxy::Dns::Error)

/usr/share/foreman-proxy/modules/dns_nsupdate/dns_nsupdate_main.rb:79:in
`nsupdate_disconnect'

/usr/share/foreman-proxy/modules/dns_nsupdate/dns_nsupdate_main.rb:32:in
`do_create'

/usr/share/foreman-proxy/modules/dns_nsupdate/dns_nsupdate_main.rb:20:in
`create_ptr_record'

/usr/share/foreman-proxy/modules/dns/dns_api.rb:26:in `block in <class:Api>'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:1293:in `call'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:1293:in `block in
compile!'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:860:in `[]'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:860:in `block (3
levels) in route!'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:876:in `route_eval'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:860:in `block (2
levels) in route!'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:897:in `block in
process_route'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:895:in `catch'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:895:in
`process_route'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:859:in `block in
route!'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:858:in `each'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:858:in `route!'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:963:in `block in
dispatch!'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `block in
invoke'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `catch'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `invoke'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:960:in `dispatch!'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:794:in `block in
call!'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `block in
invoke'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `catch'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `invoke'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:794:in `call!'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:780:in `call'

/usr/share/gems/gems/rack-1.6.4/lib/rack/commonlogger.rb:33:in `call'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:161:in `call'

/usr/share/foreman-proxy/lib/proxy/log.rb:60:in `call'

/usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in
`call'

/usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in
`call'

/usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in
`call'

/usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in
`call'

/usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in
`call'

/usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in
`call'

/usr/share/gems/gems/rack-1.6.4/lib/rack/nulllogger.rb:9:in `call'

/usr/share/gems/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/showexceptions.rb:21:in
`call'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:124:in `call'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:1417:in `block in
call'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:1499:in `synchronize'

/usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:1417:in `call'

/usr/share/gems/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in call'

/usr/share/gems/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each'

/usr/share/gems/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call'

/usr/share/gems/gems/rack-1.6.4/lib/rack/builder.rb:153:in `call'

/usr/share/gems/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'

/usr/share/ruby/webrick/httpserver.rb:138:in `service'

/usr/share/ruby/webrick/httpserver.rb:94:in `run'

/usr/share/ruby/webrick/server.rb:295:in `block in start_thread'

I, [2016-04-23T16:46:07.968415 #16445] INFO – : 172.23.2.17 - -
[23/Apr/2016:16:46:07 +0200] "POST /dns/ HTTP/1.1" 400 333 0.1313

D, [2016-04-23T16:46:08.011761 #16445] DEBUG – : close: 172.23.2.17:34075

D, [2016-04-23T16:46:08.076654 #16445] DEBUG – : accept: 172.23.2.17:34076

D, [2016-04-23T16:46:08.083169 #16445] DEBUG – : Rack::Handler::WEBrick is
invoked.

D, [2016-04-23T16:46:08.086912 #16445] DEBUG – : verifying remote client
172.23.2.17 against trusted_hosts ["puppet.mydomain.local"]

D, [2016-04-23T16:46:08.088551 #16445] DEBUG – : running /usr/bin/nsupdate
-k /etc/rndc.key

D, [2016-04-23T16:46:08.122336 #16445] DEBUG – : nsupdate: executed -
server 127.0.0.1

D, [2016-04-23T16:46:08.130789 #16445] DEBUG – : nsupdate: executed -
update delete aei.mydomain.local A

I, [2016-04-23T16:46:08.257152 #16445] INFO – : 172.23.2.17 - -
[23/Apr/2016:16:46:08 +0200] "DELETE /dns/aei.mydomain.local HTTP/1.1" 200

  • 0.1711

D, [2016-04-23T16:46:08.260752 #16445] DEBUG – : close: 172.23.2.17:34076

D, [2016-04-23T16:46:08.322528 #16445] DEBUG – : accept: 172.23.2.17:34077

D, [2016-04-23T16:46:08.327630 #16445] DEBUG – : Rack::Handler::WEBrick is
invoked.

D, [2016-04-23T16:46:08.331590 #16445] DEBUG – : verifying remote client
172.23.2.17 against trusted_hosts ["puppet.mydomain.local"]

D, [2016-04-23T16:46:08.332932 #16445] DEBUG – : Loading subnets for
127.0.0.1

D, [2016-04-23T16:46:08.333296 #16445] DEBUG – : Reading config file
/etc/dhcp/dhcpd.conf

D, [2016-04-23T16:46:08.333809 #16445] DEBUG – : Reading config file
/etc/dhcp/dhcpd.hosts

D, [2016-04-23T16:46:08.334854 #16445] DEBUG – : Added a subnet: 172.23.2.0

D, [2016-04-23T16:46:08.335479 #16445] DEBUG – : Reading config file
/var/lib/dhcpd/dhcpd.leases

D, [2016-04-23T16:46:08.341724 #16445] DEBUG – : Added a reservation:
172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local

D, [2016-04-23T16:46:08.342156 #16445] DEBUG – : Deleted a reservation:
172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local

D, [2016-04-23T16:46:08.342294 #16445] DEBUG – : Added a reservation:
172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local

D, [2016-04-23T16:46:08.342438 #16445] DEBUG – : Deleted a reservation:
172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local

D, [2016-04-23T16:46:08.342559 #16445] DEBUG – : Added a reservation:
172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local

D, [2016-04-23T16:46:08.342681 #16445] DEBUG – : Deleted a reservation:
172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local

D, [2016-04-23T16:46:08.342902 #16445] DEBUG – : Added a reservation:
172.23.2.61:00:50:56:aa:ef:a5:aei.mydomain.local

D, [2016-04-23T16:46:08.343216 #16445] DEBUG – : Added a lease record:
172.23.2.60:00:50:56:aa:ef:a7

D,

Hi all,

i have found the solution.
i have had in /var/named/dynamic/db.0.2.23.172.in-addr.arpa 17
PTR puppet.mydomain.com.

and everything work.

But i don't understand why this entry was not made automatically.

Thanks for your help.

··· Le samedi 23 avril 2016 17:45:26 UTC+2, Benoit Pluchet a écrit : > > Hi all, > > I'm a new user on foreman and i need your help. > > I try to configure provisioning with pxe boot, centos mirror and kickstart > but when i created a host i get an error :'( > > I have this error message : (sorry it's in french) > La tâche Créer un enregistrement DNS inverse pour ttt.mydomain.com a > échoué avec l'erreur suivante : ERF12-2357 [ProxyAPI::ProxyException]: > Impossible de positionner l'entrée DNS ([RestClient::BadRequest]: 400 Bad > Request) pour le proxy https://puppet.mydomain.com:8443/dns > > There is one thing i don't understand, if i use a DNS proxy with foreman, > the registration must be done on my domain controller or simply on the > foreman server ? > > > Server : Centos 7, foreman version 1.11.1 > > > Thanks for your help ! > > my log : > > D, [2016-04-23T16:46:06.606179 #16445] DEBUG -- : accept: > 172.23.2.17:34069 > > D, [2016-04-23T16:46:06.612487 #16445] DEBUG -- : Rack::Handler::WEBrick > is invoked. > > D, [2016-04-23T16:46:06.622487 #16445] DEBUG -- : verifying remote client > 172.23.2.17 against trusted_hosts ["puppet.mydomain.local"] > > I, [2016-04-23T16:46:06.624742 #16445] INFO -- : 172.23.2.17 - - > [23/Apr/2016:16:46:06 +0200] "GET /tftp/serverName HTTP/1.1" 200 28 0.0040 > > > D, [2016-04-23T16:46:06.667348 #16445] DEBUG -- : close: 172.23.2.17:34069 > > D, [2016-04-23T16:46:06.727808 #16445] DEBUG -- : accept: > 172.23.2.17:34070 > > D, [2016-04-23T16:46:06.730118 #16445] DEBUG -- : Rack::Handler::WEBrick > is invoked. > > D, [2016-04-23T16:46:06.731578 #16445] DEBUG -- : verifying remote client > 172.23.2.17 against trusted_hosts ["puppet.mydomain.local"] > > D, [2016-04-23T16:46:06.732601 #16445] DEBUG -- : Loading subnets for > 127.0.0.1 > > D, [2016-04-23T16:46:06.732861 #16445] DEBUG -- : Reading config file > /etc/dhcp/dhcpd.conf > > D, [2016-04-23T16:46:06.733286 #16445] DEBUG -- : Reading config file > /etc/dhcp/dhcpd.hosts > > D, [2016-04-23T16:46:06.734237 #16445] DEBUG -- : Added a subnet: > 172.23.2.0 > > D, [2016-04-23T16:46:06.734832 #16445] DEBUG -- : Reading config file > /var/lib/dhcpd/dhcpd.leases > > D, [2016-04-23T16:46:06.739406 #16445] DEBUG -- : Added a reservation: > 172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local > > D, [2016-04-23T16:46:06.739672 #16445] DEBUG -- : Deleted a reservation: > 172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local > > D, [2016-04-23T16:46:06.739817 #16445] DEBUG -- : Added a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:06.739930 #16445] DEBUG -- : Deleted a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:06.740092 #16445] DEBUG -- : Added a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:06.740225 #16445] DEBUG -- : Deleted a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:06.740485 #16445] DEBUG -- : Added a lease record: > 172.23.2.60:00:50:56:aa:ef:a7 > > D, [2016-04-23T16:46:06.740622 #16445] DEBUG -- : Deleted a lease record: > 172.23.2.60:00:50:56:aa:ef:a7 > > D, [2016-04-23T16:46:06.740734 #16445] DEBUG -- : Added a lease record: > 172.23.2.60:00:50:56:aa:ef:a7 > > E, [2016-04-23T16:46:06.741321 #16445] ERROR -- : Record > 172.23.2.0/00:50:56:aa:ef:a5 not found > > D, [2016-04-23T16:46:06.741405 #16445] DEBUG -- : Record > 172.23.2.0/00:50:56:aa:ef:a5 not found > > I, [2016-04-23T16:46:06.741857 #16445] INFO -- : 172.23.2.17 - - > [23/Apr/2016:16:46:06 +0200] "GET /dhcp/172.23.2.0/00:50:56:aa:ef:a5 > HTTP/1.1" 404 45 0.0107 > > > D, [2016-04-23T16:46:06.783641 #16445] DEBUG -- : close: 172.23.2.17:34070 > > D, [2016-04-23T16:46:06.841334 #16445] DEBUG -- : accept: > 172.23.2.17:34071 > > D, [2016-04-23T16:46:06.846064 #16445] DEBUG -- : Rack::Handler::WEBrick > is invoked. > > D, [2016-04-23T16:46:06.849474 #16445] DEBUG -- : verifying remote client > 172.23.2.17 against trusted_hosts ["puppet.mydomain.local"] > > D, [2016-04-23T16:46:06.850360 #16445] DEBUG -- : Loading subnets for > 127.0.0.1 > > D, [2016-04-23T16:46:06.850654 #16445] DEBUG -- : Reading config file > /etc/dhcp/dhcpd.conf > > D, [2016-04-23T16:46:06.850983 #16445] DEBUG -- : Reading config file > /etc/dhcp/dhcpd.hosts > > D, [2016-04-23T16:46:06.851729 #16445] DEBUG -- : Added a subnet: > 172.23.2.0 > > D, [2016-04-23T16:46:06.852374 #16445] DEBUG -- : Reading config file > /var/lib/dhcpd/dhcpd.leases > > D, [2016-04-23T16:46:06.856202 #16445] DEBUG -- : Added a reservation: > 172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local > > D, [2016-04-23T16:46:06.856417 #16445] DEBUG -- : Deleted a reservation: > 172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local > > D, [2016-04-23T16:46:06.856558 #16445] DEBUG -- : Added a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:06.856657 #16445] DEBUG -- : Deleted a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:06.856789 #16445] DEBUG -- : Added a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:06.856898 #16445] DEBUG -- : Deleted a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:06.857133 #16445] DEBUG -- : Added a lease record: > 172.23.2.60:00:50:56:aa:ef:a7 > > D, [2016-04-23T16:46:06.857314 #16445] DEBUG -- : Deleted a lease record: > 172.23.2.60:00:50:56:aa:ef:a7 > > D, [2016-04-23T16:46:06.857426 #16445] DEBUG -- : Added a lease record: > 172.23.2.60:00:50:56:aa:ef:a7 > > E, [2016-04-23T16:46:06.857767 #16445] ERROR -- : Record > 172.23.2.0/172.23.2.61 not found > > D, [2016-04-23T16:46:06.857853 #16445] DEBUG -- : Record > 172.23.2.0/172.23.2.61 not found > > I, [2016-04-23T16:46:06.858670 #16445] INFO -- : 172.23.2.17 - - > [23/Apr/2016:16:46:06 +0200] "GET /dhcp/172.23.2.0/172.23.2.61 HTTP/1.1" > 404 39 0.0104 > > > D, [2016-04-23T16:46:06.900104 #16445] DEBUG -- : close: 172.23.2.17:34071 > > D, [2016-04-23T16:46:07.063679 #16445] DEBUG -- : accept: > 172.23.2.17:34072 > > D, [2016-04-23T16:46:07.066984 #16445] DEBUG -- : Rack::Handler::WEBrick > is invoked. > > D, [2016-04-23T16:46:07.090409 #16445] DEBUG -- : verifying remote client > 172.23.2.17 against trusted_hosts ["puppet.mydomain.local"] > > D, [2016-04-23T16:46:07.091194 #16445] DEBUG -- : Loading subnets for > 127.0.0.1 > > D, [2016-04-23T16:46:07.091295 #16445] DEBUG -- : Reading config file > /etc/dhcp/dhcpd.conf > > D, [2016-04-23T16:46:07.091651 #16445] DEBUG -- : Reading config file > /etc/dhcp/dhcpd.hosts > > D, [2016-04-23T16:46:07.092197 #16445] DEBUG -- : Added a subnet: > 172.23.2.0 > > D, [2016-04-23T16:46:07.092536 #16445] DEBUG -- : Reading config file > /var/lib/dhcpd/dhcpd.leases > > D, [2016-04-23T16:46:07.096693 #16445] DEBUG -- : Added a reservation: > 172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local > > D, [2016-04-23T16:46:07.096909 #16445] DEBUG -- : Deleted a reservation: > 172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local > > D, [2016-04-23T16:46:07.097034 #16445] DEBUG -- : Added a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:07.097155 #16445] DEBUG -- : Deleted a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:07.097287 #16445] DEBUG -- : Added a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:07.097405 #16445] DEBUG -- : Deleted a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:07.097561 #16445] DEBUG -- : Added a lease record: > 172.23.2.60:00:50:56:aa:ef:a7 > > D, [2016-04-23T16:46:07.097711 #16445] DEBUG -- : Deleted a lease record: > 172.23.2.60:00:50:56:aa:ef:a7 > > D, [2016-04-23T16:46:07.097828 #16445] DEBUG -- : Added a lease record: > 172.23.2.60:00:50:56:aa:ef:a7 > > D, [2016-04-23T16:46:07.137899 #16445] DEBUG -- : omshell: executed - set > name = "aei.mydomain.local" > > D, [2016-04-23T16:46:07.138702 #16445] DEBUG -- : nil > > D, [2016-04-23T16:46:07.138867 #16445] DEBUG -- : omshell: executed - set > ip-address = 172.23.2.61 > > D, [2016-04-23T16:46:07.138956 #16445] DEBUG -- : nil > > D, [2016-04-23T16:46:07.139071 #16445] DEBUG -- : omshell: executed - set > hardware-address = 00:50:56:aa:ef:a5 > > D, [2016-04-23T16:46:07.139131 #16445] DEBUG -- : nil > > D, [2016-04-23T16:46:07.139252 #16445] DEBUG -- : omshell: executed - set > hardware-type = 1 > > D, [2016-04-23T16:46:07.139327 #16445] DEBUG -- : nil > > D, [2016-04-23T16:46:07.140542 #16445] DEBUG -- : omshell: executed - set > statements = "filename = \"pxelinux.0\"; next-server = ac:17:02:11; option > host-name = \"aei.mydomain.local\";" > > D, [2016-04-23T16:46:07.140650 #16445] DEBUG -- : nil > > D, [2016-04-23T16:46:07.140753 #16445] DEBUG -- : omshell: executed - > create > > D, [2016-04-23T16:46:07.140813 #16445] DEBUG -- : nil > > I, [2016-04-23T16:46:07.386461 #16445] INFO -- : Added DHCP reservation > for aei.mydomain.local (172.23.2.61 / 00:50:56:aa:ef:a5) > > I, [2016-04-23T16:46:07.390351 #16445] INFO -- : 172.23.2.17 - - > [23/Apr/2016:16:46:07 +0200] "POST /dhcp/172.23.2.0 HTTP/1.1" 200 - 0.3220 > > > D, [2016-04-23T16:46:07.401491 #16445] DEBUG -- : close: 172.23.2.17:34072 > > D, [2016-04-23T16:46:07.468426 #16445] DEBUG -- : accept: > 172.23.2.17:34074 > > D, [2016-04-23T16:46:07.473915 #16445] DEBUG -- : Rack::Handler::WEBrick > is invoked. > > D, [2016-04-23T16:46:07.561302 #16445] DEBUG -- : verifying remote client > 172.23.2.17 against trusted_hosts ["puppet.mydomain.local"] > > D, [2016-04-23T16:46:07.563286 #16445] DEBUG -- : running > /usr/bin/nsupdate -k /etc/rndc.key > > D, [2016-04-23T16:46:07.597974 #16445] DEBUG -- : nsupdate: executed - > server 127.0.0.1 > > D, [2016-04-23T16:46:07.612570 #16445] DEBUG -- : nsupdate: executed - > update add aei.mydomain.local. 86400 A 172.23.2.61 > > I, [2016-04-23T16:46:07.758352 #16445] INFO -- : 172.23.2.17 - - > [23/Apr/2016:16:46:07 +0200] "POST /dns/ HTTP/1.1" 200 - 0.2768 > > > D, [2016-04-23T16:46:07.765421 #16445] DEBUG -- : close: 172.23.2.17:34074 > > D, [2016-04-23T16:46:07.827785 #16445] DEBUG -- : accept: > 172.23.2.17:34075 > > D, [2016-04-23T16:46:07.833673 #16445] DEBUG -- : Rack::Handler::WEBrick > is invoked. > > D, [2016-04-23T16:46:07.839893 #16445] DEBUG -- : verifying remote client > 172.23.2.17 against trusted_hosts ["puppet.mydomain.local"] > > D, [2016-04-23T16:46:07.841044 #16445] DEBUG -- : running > /usr/bin/nsupdate -k /etc/rndc.key > > D, [2016-04-23T16:46:07.874226 #16445] DEBUG -- : nsupdate: executed - > server 127.0.0.1 > > D, [2016-04-23T16:46:07.882973 #16445] DEBUG -- : nsupdate: executed - > update add 61.2.23.172.in-addr.arpa. 86400 PTR aei.mydomain.local > > D, [2016-04-23T16:46:07.962739 #16445] DEBUG -- : nsupdate: errors > > Answer: > > > ;; ->>HEADER< > > ;; flags: qr ra; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 1 > > > ;; ZONE SECTION: > > > ;23.172.in-addr.arpa. IN SOA > > > > > ;; TSIG PSEUDOSECTION: > > > rndc-key. 0 ANY TSIG hmac-md5.sig-alg.reg.int. 1461422767 300 16 > TGg2clo+mJXEv860IUAz1g== 50066 NOERROR 0 > > > > > E, [2016-04-23T16:46:07.964670 #16445] ERROR -- : Update errors: Answer: > > > ;; ->>HEADER< > > ;; flags: qr ra; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 1 > > > ;; ZONE SECTION: > > > ;23.172.in-addr.arpa. IN SOA > > > > > ;; TSIG PSEUDOSECTION: > > > rndc-key. 0 ANY TSIG hmac-md5.sig-alg.reg.int. 1461422767 300 16 > TGg2clo+mJXEv860IUAz1g== 50066 NOERROR 0 > > > > > D, [2016-04-23T16:46:07.964764 #16445] DEBUG -- : Update errors: Answer: > > > ;; ->>HEADER< > > ;; flags: qr ra; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 1 > > > ;; ZONE SECTION: > > > ;23.172.in-addr.arpa. IN SOA > > > > > ;; TSIG PSEUDOSECTION: > > > rndc-key. 0 ANY TSIG hmac-md5.sig-alg.reg.int. 1461422767 300 16 > TGg2clo+mJXEv860IUAz1g== 50066 NOERROR 0 > > > > (Proxy::Dns::Error) > > /usr/share/foreman-proxy/modules/dns_nsupdate/dns_nsupdate_main.rb:79:in > `nsupdate_disconnect' > > /usr/share/foreman-proxy/modules/dns_nsupdate/dns_nsupdate_main.rb:32:in > `do_create' > > /usr/share/foreman-proxy/modules/dns_nsupdate/dns_nsupdate_main.rb:20:in > `create_ptr_record' > > /usr/share/foreman-proxy/modules/dns/dns_api.rb:26:in `block in > ' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:1293:in `call' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:1293:in `block in > compile!' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:860:in `[]' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:860:in `block (3 > levels) in route!' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:876:in `route_eval' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:860:in `block (2 > levels) in route!' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:897:in `block in > process_route' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:895:in `catch' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:895:in > `process_route' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:859:in `block in > route!' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:858:in `each' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:858:in `route!' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:963:in `block in > dispatch!' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `block in > invoke' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `catch' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `invoke' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:960:in `dispatch!' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:794:in `block in > call!' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `block in > invoke' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `catch' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `invoke' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:794:in `call!' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:780:in `call' > > /usr/share/gems/gems/rack-1.6.4/lib/rack/commonlogger.rb:33:in `call' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:161:in `call' > > /usr/share/foreman-proxy/lib/proxy/log.rb:60:in `call' > > /usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in > `call' > > /usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in > `call' > > /usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in > `call' > > /usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in > `call' > > /usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in > `call' > > /usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in > `call' > > /usr/share/gems/gems/rack-1.6.4/lib/rack/nulllogger.rb:9:in `call' > > /usr/share/gems/gems/rack-1.6.4/lib/rack/head.rb:13:in `call' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/showexceptions.rb:21:in > `call' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:124:in `call' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:1417:in `block in > call' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:1499:in > `synchronize' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:1417:in `call' > > /usr/share/gems/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in call' > > /usr/share/gems/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each' > > /usr/share/gems/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call' > > /usr/share/gems/gems/rack-1.6.4/lib/rack/builder.rb:153:in `call' > > /usr/share/gems/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service' > > /usr/share/ruby/webrick/httpserver.rb:138:in `service' > > /usr/share/ruby/webrick/httpserver.rb:94:in `run' > > /usr/share/ruby/webrick/server.rb:295:in `block in start_thread' > > I, [2016-04-23T16:46:07.968415 #16445] INFO -- : 172.23.2.17 - - > [23/Apr/2016:16:46:07 +0200] "POST /dns/ HTTP/1.1" 400 333 0.1313 > > > D, [2016-04-23T16:46:08.011761 #16445] DEBUG -- : close: 172.23.2.17:34075 > > D, [2016-04-23T16:46:08.076654 #16445] DEBUG -- : accept: > 172.23.2.17:34076 > > D, [2016-04-23T16:46:08.083169 #16445] DEBUG -- : Rack::Handler::WEBrick > is invoked. > > D, [2016-04-23T16:46:08.086912 #16445] DEBUG -- : verifying remote client > 172.23.2.17 against trusted_hosts ["puppet.mydomain.local"] > > D, [2016-04-23T16:46:08.088551 #16445] DEBUG -- : running > /usr/bin/nsupdate -k /etc/rndc.key > > D, [2016-04-23T16:46:08.122336 #16445] DEBUG -- : nsupdate: executed - > server 127.0.0.1 > > D, [2016-04-23T16:46:08.130789 #16445] DEBUG -- : nsupdate: executed - > update delete aei.mydomain.local A > > I, [2016-04-23T16:46:08.257152 #16445] INFO -- : 172.23.2.17 - - > [23/Apr/2016:16:46:08 +0200] "DELETE /dns/aei.mydomain.local HTTP/1.1" 200 > - 0.1711 > > > D, [2016-04-23T16:46:08.260752 #16445] DEBUG -- : close: 172.23.2.17:34076 > > D, [2016-04-23T16:46:08.322528 #16445] DEBUG -- : accept: > 172.23.2.17:34077 > > D, [2016-04-23T16:46:08.327630 #16445] DEBUG -- : Rack::Handler::WEBrick > is invoked. > > D, [2016-04-23T16:46:08.331590 #16445] DEBUG -- : verifying remote client > 172.23.2.17 against trusted_hosts ["puppet.mydomain.local"] > > D, [2016-04-23T16:46:08.332932 #16445] DEBUG -- : Loading subnets for > 127.0.0.1 > > D, [2016-04-23T16:46:08.333296 #16445] DEBUG -- : Reading config file > /etc/dhcp/dhcpd.conf > > D, [2016-04-23T16:46:08.333809 #16445] DEBUG -- : Reading config file > /etc/dhcp/dhcpd.hosts > > D, [2016-04-23T16:46:08.334854 #16445] DEBUG -- : Added a subnet: > 172.23.2.0 > > D, [2016-04-23T16:46:08.335479 #16445] DEBUG -- : Reading config file > /var/lib/dhcpd/dhcpd.leases > > D, [2016-04-23T16:46:08.341724 #16445] DEBUG -- : Added a reservation:=2

Hi,

Finally i made a new test :

Foreman create this reverse area :

zone "0.2.23.172.in-addr.arpa" {

type master;

file &quot;/var/named/dynamic/db.0.2.23.172.in-addr.arpa&quot;;

update-policy {

        grant rndc-key zonesub ANY;

};

but my network is 172.23.2.0/26, if i modify zone to :

zone "2.23.172.in-addr.arpa" {

type master;

file &quot;/var/named/dynamic/db.2.23.172.in-addr.arpa&quot;;

update-policy {

        grant rndc-key zonesub ANY;

};

and rename /var/named/dynamic/db.0.2.23.172.in-addr.arpa to /var/named/dynamic/db.2.23.172.in-addr.arpa
and modify this file to

$ORIGIN .

$TTL 10800 ; 3 hours

2.23.172.in-addr.arpa IN SOA puppet.mydomain.com.
root.2.23.172.in-addr.arpa. (

6 ; serial

86400 ; refresh (1 day)

3600 ; retry (1 hour)

604800 ; expire (1 week)

3600 ; minimum (1 hour)

)

NS puppet.mydomain.com.

$ORIGIN 2.23.172.in-addr.arpa.

17 PTR puppet.mydomain.com.

it's work :wink:

if it can help someone !!!

Thanks.

··· Le dimanche 24 avril 2016 19:54:13 UTC+2, Benoit Pluchet a écrit : > > Hi all, > > i have found the solution. > i have had in /var/named/dynamic/db.0.2.23.172.in-addr.arpa 17 > PTR puppet.mydomain.com. > > and everything work. > > But i don't understand why this entry was not made automatically. > > Thanks for your help. > > > Le samedi 23 avril 2016 17:45:26 UTC+2, Benoit Pluchet a écrit : > > Hi all, > > I'm a new user on foreman and i need your help. > > I try to configure provisioning with pxe boot, centos mirror and kickstart > but when i created a host i get an error :'( > > I have this error message : (sorry it's in french) > La tâche Créer un enregistrement DNS inverse pour ttt.mydomain.com a > échoué avec l'erreur suivante : ERF12-2357 [ProxyAPI::ProxyException]: > Impossible de positionner l'entrée DNS ([RestClient::BadRequest]: 400 Bad > Request) pour le proxy https://puppet.mydomain.com:8443/dns > > There is one thing i don't understand, if i use a DNS proxy with foreman, > the registration must be done on my domain controller or simply on the > foreman server ? > > > Server : Centos 7, foreman version 1.11.1 > > > Thanks for your help ! > > my log : > > D, [2016-04-23T16:46:06.606179 #16445] DEBUG -- : accept: > 172.23.2.17:34069 > > D, [2016-04-23T16:46:06.612487 #16445] DEBUG -- : Rack::Handler::WEBrick > is invoked. > > D, [2016-04-23T16:46:06.622487 #16445] DEBUG -- : verifying remote client > 172.23.2.17 against trusted_hosts ["puppet.mydomain.local"] > > I, [2016-04-23T16:46:06.624742 #16445] INFO -- : 172.23.2.17 - - > [23/Apr/2016:16:46:06 +0200] "GET /tftp/serverName HTTP/1.1" 200 28 0.0040 > > > D, [2016-04-23T16:46:06.667348 #16445] DEBUG -- : close: 172.23.2.17:34069 > > D, [2016-04-23T16:46:06.727808 #16445] DEBUG -- : accept: > 172.23.2.17:34070 > > D, [2016-04-23T16:46:06.730118 #16445] DEBUG -- : Rack::Handler::WEBrick > is invoked. > > D, [2016-04-23T16:46:06.731578 #16445] DEBUG -- : verifying remote client > 172.23.2.17 against trusted_hosts ["puppet.mydomain.local"] > > D, [2016-04-23T16:46:06.732601 #16445] DEBUG -- : Loading subnets for > 127.0.0.1 > > D, [2016-04-23T16:46:06.732861 #16445] DEBUG -- : Reading config file > /etc/dhcp/dhcpd.conf > > D, [2016-04-23T16:46:06.733286 #16445] DEBUG -- : Reading config file > /etc/dhcp/dhcpd.hosts > > D, [2016-04-23T16:46:06.734237 #16445] DEBUG -- : Added a subnet: > 172.23.2.0 > > D, [2016-04-23T16:46:06.734832 #16445] DEBUG -- : Reading config file > /var/lib/dhcpd/dhcpd.leases > > D, [2016-04-23T16:46:06.739406 #16445] DEBUG -- : Added a reservation: > 172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local > > D, [2016-04-23T16:46:06.739672 #16445] DEBUG -- : Deleted a reservation: > 172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local > > D, [2016-04-23T16:46:06.739817 #16445] DEBUG -- : Added a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:06.739930 #16445] DEBUG -- : Deleted a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:06.740092 #16445] DEBUG -- : Added a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:06.740225 #16445] DEBUG -- : Deleted a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:06.740485 #16445] DEBUG -- : Added a lease record: > 172.23.2.60:00:50:56:aa:ef:a7 > > D, [2016-04-23T16:46:06.740622 #16445] DEBUG -- : Deleted a lease record: > 172.23.2.60:00:50:56:aa:ef:a7 > > D, [2016-04-23T16:46:06.740734 #16445] DEBUG -- : Added a lease record: > 172.23.2.60:00:50:56:aa:ef:a7 > > E, [2016-04-23T16:46:06.741321 #16445] ERROR -- : Record > 172.23.2.0/00:50:56:aa:ef:a5 not found > > D, [2016-04-23T16:46:06.741405 #16445] DEBUG -- : Record > 172.23.2.0/00:50:56:aa:ef:a5 not found > > I, [2016-04-23T16:46:06.741857 #16445] INFO -- : 172.23.2.17 - - > [23/Apr/2016:16:46:06 +0200] "GET /dhcp/172.23.2.0/00:50:56:aa:ef:a5 > HTTP/1.1" 404 45 0.0107 > > > D, [2016-04-23T16:46:06.783641 #16445] DEBUG -- : close: 172.23.2.17:34070 > > D, [2016-04-23T16:46:06.841334 #16445] DEBUG -- : accept: > 172.23.2.17:34071 > > D, [2016-04-23T16:46:06.846064 #16445] DEBUG -- : Rack::Handler::WEBrick > is invoked. > > D, [2016-04-23T16:46:06.849474 #16445] DEBUG -- : verifying remote client > 172.23.2.17 against trusted_hosts ["puppet.mydomain.local"] > > D, [2016-04-23T16:46:06.850360 #16445] DEBUG -- : Loading subnets for > 127.0.0.1 > > D, [2016-04-23T16:46:06.850654 #16445] DEBUG -- : Reading config file > /etc/dhcp/dhcpd.conf > > D, [2016-04-23T16:46:06.850983 #16445] DEBUG -- : Reading config file > /etc/dhcp/dhcpd.hosts > > D, [2016-04-23T16:46:06.851729 #16445] DEBUG -- : Added a subnet: > 172.23.2.0 > > D, [2016-04-23T16:46:06.852374 #16445] DEBUG -- : Reading config file > /var/lib/dhcpd/dhcpd.leases > > D, [2016-04-23T16:46:06.856202 #16445] DEBUG -- : Added a reservation: > 172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local > > D, [2016-04-23T16:46:06.856417 #16445] DEBUG -- : Deleted a reservation: > 172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local > > D, [2016-04-23T16:46:06.856558 #16445] DEBUG -- : Added a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:06.856657 #16445] DEBUG -- : Deleted a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:06.856789 #16445] DEBUG -- : Added a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:06.856898 #16445] DEBUG -- : Deleted a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:06.857133 #16445] DEBUG -- : Added a lease record: > 172.23.2.60:00:50:56:aa:ef:a7 > > D, [2016-04-23T16:46:06.857314 #16445] DEBUG -- : Deleted a lease record: > 172.23.2.60:00:50:56:aa:ef:a7 > > D, [2016-04-23T16:46:06.857426 #16445] DEBUG -- : Added a lease record: > 172.23.2.60:00:50:56:aa:ef:a7 > > E, [2016-04-23T16:46:06.857767 #16445] ERROR -- : Record > 172.23.2.0/172.23.2.61 not found > > D, [2016-04-23T16:46:06.857853 #16445] DEBUG -- : Record > 172.23.2.0/172.23.2.61 not found > > I, [2016-04-23T16:46:06.858670 #16445] INFO -- : 172.23.2.17 - - > [23/Apr/2016:16:46:06 +0200] "GET /dhcp/172.23.2.0/172.23.2.61 HTTP/1.1" > 404 39 0.0104 > > > D, [2016-04-23T16:46:06.900104 #16445] DEBUG -- : close: 172.23.2.17:34071 > > D, [2016-04-23T16:46:07.063679 #16445] DEBUG -- : accept: > 172.23.2.17:34072 > > D, [2016-04-23T16:46:07.066984 #16445] DEBUG -- : Rack::Handler::WEBrick > is invoked. > > D, [2016-04-23T16:46:07.090409 #16445] DEBUG -- : verifying remote client > 172.23.2.17 against trusted_hosts ["puppet.mydomain.local"] > > D, [2016-04-23T16:46:07.091194 #16445] DEBUG -- : Loading subnets for > 127.0.0.1 > > D, [2016-04-23T16:46:07.091295 #16445] DEBUG -- : Reading config file > /etc/dhcp/dhcpd.conf > > D, [2016-04-23T16:46:07.091651 #16445] DEBUG -- : Reading config file > /etc/dhcp/dhcpd.hosts > > D, [2016-04-23T16:46:07.092197 #16445] DEBUG -- : Added a subnet: > 172.23.2.0 > > D, [2016-04-23T16:46:07.092536 #16445] DEBUG -- : Reading config file > /var/lib/dhcpd/dhcpd.leases > > D, [2016-04-23T16:46:07.096693 #16445] DEBUG -- : Added a reservation: > 172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local > > D, [2016-04-23T16:46:07.096909 #16445] DEBUG -- : Deleted a reservation: > 172.23.2.61:00:50:56:aa:ef:a8:abc.mydomain.local > > D, [2016-04-23T16:46:07.097034 #16445] DEBUG -- : Added a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:07.097155 #16445] DEBUG -- : Deleted a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:07.097287 #16445] DEBUG -- : Added a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:07.097405 #16445] DEBUG -- : Deleted a reservation: > 172.23.2.61:00:50:56:aa:ef:a9:abc.mydomain.local > > D, [2016-04-23T16:46:07.097561 #16445] DEBUG -- : Added a lease record: > 172.23.2.60:00:50:56:aa:ef:a7 > > D, [2016-04-23T16:46:07.097711 #16445] DEBUG -- : Deleted a lease record: > 172.23.2.60:00:50:56:aa:ef:a7 > > D, [2016-04-23T16:46:07.097828 #16445] DEBUG -- : Added a lease record: > 172.23.2.60:00:50:56:aa:ef:a7 > > D, [2016-04-23T16:46:07.137899 #16445] DEBUG -- : omshell: executed - set > name = "aei.mydomain.local" > > D, [2016-04-23T16:46:07.138702 #16445] DEBUG -- : nil > > D, [2016-04-23T16:46:07.138867 #16445] DEBUG -- : omshell: executed - set > ip-address = 172.23.2.61 > > D, [2016-04-23T16:46:07.138956 #16445] DEBUG -- : nil > > D, [2016-04-23T16:46:07.139071 #16445] DEBUG -- : omshell: executed - set > hardware-address = 00:50:56:aa:ef:a5 > > D, [2016-04-23T16:46:07.139131 #16445] DEBUG -- : nil > > D, [2016-04-23T16:46:07.139252 #16445] DEBUG -- : omshell: executed - set > hardware-type = 1 > > D, [2016-04-23T16:46:07.139327 #16445] DEBUG -- : nil > > D, [2016-04-23T16:46:07.140542 #16445] DEBUG -- : omshell: executed - set > statements = "filename = \"pxelinux.0\"; next-server = ac:17:02:11; option > host-name = \"aei.mydomain.local\";" > > D, [2016-04-23T16:46:07.140650 #16445] DEBUG -- : nil > > D, [2016-04-23T16:46:07.140753 #16445] DEBUG -- : omshell: executed - > create > > D, [2016-04-23T16:46:07.140813 #16445] DEBUG -- : nil > > I, [2016-04-23T16:46:07.386461 #16445] INFO -- : Added DHCP reservation > for aei.mydomain.local (172.23.2.61 / 00:50:56:aa:ef:a5) > > I, [2016-04-23T16:46:07.390351 #16445] INFO -- : 172.23.2.17 - - > [23/Apr/2016:16:46:07 +0200] "POST /dhcp/172.23.2.0 HTTP/1.1" 200 - 0.3220 > > > D, [2016-04-23T16:46:07.401491 #16445] DEBUG -- : close: 172.23.2.17:34072 > > D, [2016-04-23T16:46:07.468426 #16445] DEBUG -- : accept: > 172.23.2.17:34074 > > D, [2016-04-23T16:46:07.473915 #16445] DEBUG -- : Rack::Handler::WEBrick > is invoked. > > D, [2016-04-23T16:46:07.561302 #16445] DEBUG -- : verifying remote client > 172.23.2.17 against trusted_hosts ["puppet.mydomain.local"] > > D, [2016-04-23T16:46:07.563286 #16445] DEBUG -- : running > /usr/bin/nsupdate -k /etc/rndc.key > > D, [2016-04-23T16:46:07.597974 #16445] DEBUG -- : nsupdate: executed - > server 127.0.0.1 > > D, [2016-04-23T16:46:07.612570 #16445] DEBUG -- : nsupdate: executed - > update add aei.mydomain.local. 86400 A 172.23.2.61 > > I, [2016-04-23T16:46:07.758352 #16445] INFO -- : 172.23.2.17 - - > [23/Apr/2016:16:46:07 +0200] "POST /dns/ HTTP/1.1" 200 - 0.2768 > > > D, [2016-04-23T16:46:07.765421 #16445] DEBUG -- : close: 172.23.2.17:34074 > > D, [2016-04-23T16:46:07.827785 #16445] DEBUG -- : accept: > 172.23.2.17:34075 > > D, [2016-04-23T16:46:07.833673 #16445] DEBUG -- : Rack::Handler::WEBrick > is invoked. > > D, [2016-04-23T16:46:07.839893 #16445] DEBUG -- : verifying remote client > 172.23.2.17 against trusted_hosts ["puppet.mydomain.local"] > > D, [2016-04-23T16:46:07.841044 #16445] DEBUG -- : running > /usr/bin/nsupdate -k /etc/rndc.key > > D, [2016-04-23T16:46:07.874226 #16445] DEBUG -- : nsupdate: executed - > server 127.0.0.1 > > D, [2016-04-23T16:46:07.882973 #16445] DEBUG -- : nsupdate: executed - > update add 61.2.23.172.in-addr.arpa. 86400 PTR aei.mydomain.local > > D, [2016-04-23T16:46:07.962739 #16445] DEBUG -- : nsupdate: errors > > Answer: > > > ;; ->>HEADER< > > ;; flags: qr ra; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 1 > > > ;; ZONE SECTION: > > > ;23.172.in-addr.arpa. IN SOA > > > > > ;; TSIG PSEUDOSECTION: > > > rndc-key. 0 ANY TSIG hmac-md5.sig-alg.reg.int. 1461422767 300 16 > TGg2clo+mJXEv860IUAz1g== 50066 NOERROR 0 > > > > > E, [2016-04-23T16:46:07.964670 #16445] ERROR -- : Update errors: Answer: > > > ;; ->>HEADER< > > ;; flags: qr ra; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 1 > > > ;; ZONE SECTION: > > > ;23.172.in-addr.arpa. IN SOA > > > > > ;; TSIG PSEUDOSECTION: > > > rndc-key. 0 ANY TSIG hmac-md5.sig-alg.reg.int. 1461422767 300 16 > TGg2clo+mJXEv860IUAz1g== 50066 NOERROR 0 > > > > > D, [2016-04-23T16:46:07.964764 #16445] DEBUG -- : Update errors: Answer: > > > ;; ->>HEADER< > > ;; flags: qr ra; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 1 > > > ;; ZONE SECTION: > > > ;23.172.in-addr.arpa. IN SOA > > > > > ;; TSIG PSEUDOSECTION: > > > rndc-key. 0 ANY TSIG hmac-md5.sig-alg.reg.int. 1461422767 300 16 > TGg2clo+mJXEv860IUAz1g== 50066 NOERROR 0 > > > > (Proxy::Dns::Error) > > /usr/share/foreman-proxy/modules/dns_nsupdate/dns_nsupdate_main.rb:79:in > `nsupdate_disconnect' > > /usr/share/foreman-proxy/modules/dns_nsupdate/dns_nsupdate_main.rb:32:in > `do_create' > > /usr/share/foreman-proxy/modules/dns_nsupdate/dns_nsupdate_main.rb:20:in > `create_ptr_record' > > /usr/share/foreman-proxy/modules/dns/dns_api.rb:26:in `block in > ' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:1293:in `call' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:1293:in `block in > compile!' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:860:in `[]' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:860:in `block (3 > levels) in route!' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:876:in `route_eval' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:860:in `block (2 > levels) in route!' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:897:in `block in > process_route' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:895:in `catch' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:895:in > `process_route' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:859:in `block in > route!' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:858:in `each' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:858:in `route!' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:963:in `block in > dispatch!' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `block in > invoke' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `catch' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `invoke' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:960:in `dispatch!' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:794:in `block in > call!' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `block in > invoke' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `catch' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `invoke' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:794:in `call!' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:780:in `call' > > /usr/share/gems/gems/rack-1.6.4/lib/rack/commonlogger.rb:33:in `call' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:161:in `call' > > /usr/share/foreman-proxy/lib/proxy/log.rb:60:in `call' > > /usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in > `call' > > /usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in > `call' > > /usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in > `call' > > /usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in > `call' > > /usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in > `call' > > /usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in > `call' > > /usr/share/gems/gems/rack-1.6.4/lib/rack/nulllogger.rb:9:in `call' > > /usr/share/gems/gems/rack-1.6.4/lib/rack/head.rb:13:in `call' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/showexceptions.rb:21:in > `call' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:124:in `call' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:1417:in `block in > call' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:1499:in > `synchronize' > > /usr/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:1417:in `call' > > /usr/share/gems/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in call' > > /usr/share/gems/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each' > > /usr/share/gems/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call' > > /usr/share/gems/gems/rack-1.6.4/lib/rack/builder.rb:153:in `call' > > /usr/share/gems/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service' > > /usr/share/ruby/webrick/httpserver.rb:138:in `service' > > /usr/share/ruby/webrick/httpserver.rb:94:in `run' > > /usr/share/ruby/webrick/server.rb:295:in `block in start_thread' > > I, [2016-04-23T16:46:07.968415 #16445] INFO -- : 172.23.2.17 - - > [23/Apr/2016:16:46:07 +0200] "POST /dns/ HTTP/1.1" 400 333 0.1313 > > > D, [2016-04-23T16:46:08.011761 #16445] DEBUG -- : close: 172.23.2.17:34075 > > D, [2016-04-23T16:46:08.076654 #16445] DEBUG -- : accept: > 172.23.2.17:34076 > > D, [2016-04-23T16:46:08.083169 #16445] DEBUG -- : Rack::Handler::WEBrick > is invoked. > > D, [2016-04-23T16:46:08.086912 #16445] DEBUG -- : verifying remote client > 172.23.2.17 against trusted_hosts ["puppet.mydomain.local"] > > D, [2016-04-23T16:46:08.088551 #16445] DEBUG -- : running > /usr/bin/nsupdate -k /etc/rndc.key > > D, [2016-04-23T16:46:08.122336 #16445] DEBUG -- : nsupdate: executed - > server 127.0.0.1 > > D, [2016-04-23T16:46:08.130789 #164