Hi,
I'm have disabled DNS in my SMART PROXY so I don't know why "the foreman"
is trying create a DNS entry.
Rolling back due to a problem: [Create Reverse DNS record for
xxxxxxxxxxxxxxxxxxxxxxxx [#<Host::Managed id: nil, name:
"m1.tems.localdomain", ip: "10.240.0.37", environment: nil, last_compile:
nil, last_freshcheck: nil, last_report: nil, updated_at: nil,
source_file_id: nil, created_at: nil, mac: "52:54:00:f6:fa:b2", root_pass:
nil, serial: nil, puppet_status: 0, domain_id: 75, architecture_id: 1,
operatingsystem_id: 21, environment_id: 1, subnet_id: 4, ptable_id: 11,
medium_id: 20, build: true, comment: "", disk: "", installed_at: nil,
model_id: nil, hostgroup_id: 3, owner_id: 1, owner_type: "User", enabled:
true, puppet_ca_proxy_id: 10, managed: true, use_image: nil, image_file:
nil, uuid: nil, compute_resource_id: 588, puppet_proxy_id: 10, certname:
nil, image_id: nil, organization_id: 2, location_id: 1, type:
"Host::Managed">, :set_dns_ptr_record]]
Delete DHCP reservation for xxxxxxxxxxxxxxxxxxxxxxxxx0.0.37
Failed to save: failed to detect boot server: undefined method `ip' for
nil:NilClass, Create Reverse DNS record for m1.tems.localdomain task failed
with the following error: 404 Resource Not Found
My SMART PROXY configuration:
···
--- # SSL Setupif enabled, all communication would be verfied via SSL
NOTE that both certificates need to be signed by the same CA in order for
this to work
see SSL - Smart Proxy - Foreman for more
information
#:ssl_certificate: ssl/certs/fqdn.pem
#:ssl_ca_file: ssl/certs/ca.pem
#:ssl_private_key: ssl/private_keys/fqdn.key
the hosts which the proxy accepts connections from
commenting the following lines would mean every verified SSL connection
allowed
#:trusted_hosts:
#- foreman.prod.domain
#- foreman.dev.domain
enable the daemon to run in the background
:daemon: true
:daemon_pid: /var/run/foreman-proxy/foreman-proxy.pid
port used by the proxy
:port: 8443
Enable TFTP management
:tftp: true
:tftproot: /tftpboot
:tftp_servername: undef
Defines the TFTP Servername to use, overrides the name in the subnet
declaration
#:tftp_servername: tftp.domain.com
Enable DNS management
:dns: false
:dns_key: /etc/foreman-proxy/Kforeman.+157+34240.private
use this setting if you are managing a dns server which is not localhost
though this proxy
#:dns_server: dns.domain.com
Enable DHCP management
:dhcp: true
:dhcp_vendor: isc
:dhcp_config: /etc/dhcp/dhcpd.conf
:dhcp_leases: /var/lib/dhcpd/dhcpd.leases
:dhcp_key_name: omapi_key
:dhcp_key_secret: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
enable PuppetCA management
:puppetca: true
enable Puppet management
:puppet: true
:puppet_conf: /etc/puppet/puppet.conf
Where our proxy log files are stored
filename or STDOUT
:log_file: /var/log/foreman-proxy/proxy.log
valid options are
WARN, DEBUG, Error, Fatal, INFO, UNKNOWN
#:log_level: DEBUG
Any ideas? Thanks.