Foreman 1.24.2 - ERF12-1261 [ProxyAPI::ProxyException]: Unable to delete DNS entry

2020-04-10T11:51:14 [I|app|798e1fda] Delete the DNS PTR record for 172.28.8.2/brw-8-2.cmp

2020-04-10T11:52:14 [W|app|798e1fda] Remove Reverse IPv4 DNS record for brw-8-2.cmp task failed with the following error: ERF12-1261 [ProxyAPI::ProxyException]: Unable to delete DNS entry ([RestClient::Exceptions::OpenTimeout]: Timed out connecting to server) for proxy https://hpc-maestro.hpc.gulfaero.com:8443/dns
2020-04-10T11:52:14 [W|app|798e1fda] Rolling back due to a problem: [#<Orchestration::Task:0x00007f678576a7e8 @name="Remove Reverse IPv4 DNS record for brw-8-2.cmp", @id="Remove Reverse IPv4 DNS record for brw-8-2.cmp", @status="failed", @priority=1, @action=[#<Nic::Managed id: 1456, mac: "0c:c4:7a:e0:cc:70", ip: "172.28.8.2", type: "Nic::Managed", name: "brw-8-2.cmp", host_id: 518, subnet_id: 1, domain_id: 2, attrs: {"phc_index"=>0, "features"=>{"tx_checksum_ipv4"=>"off [fixed]", "generic_receive_offload"=>"on", "tx_checksum_ipv6"=>"off [fixed]", "tx_scatter_gather_fraglist"=>"off [fixed]", "rx_all"=>"off", "highdma"=>"on [fixed]", "rx_fcs"=>"off [fixed]", "tx_lockless"=>"off [fixed]", "tx_tcp_ecn_segmentation"=>"off [fixed]", "rx_udp_tunnel_port_offload"=>"off [fixed]", "tx_gso_robust"=>"off [fixed]", "tx_ipip_segmentation"=>"on", "tx_tcp_mangleid_segmentation"=>"off", "tx_checksumming"=>"on", "vlan_challenged"=>"off [fixed]", "loopback"=>"off [fixed]", "fcoe_mtu"=>"off [fixed]", "tx_checksum_sctp"=>"on", "tx_vlan_stag_hw_insert"=>"off [fixed]", "rx_vlan_stag_hw_parse"=>"off [fixed]", "tx_gso_partial"=>"on", "tx_tcp_segmentation"=>"on", "rx_vlan_stag_filter"=>"off [fixed]", "large_receive_offload"=>"off [fixed]", "tx_checksum_ip_generic"=>"on", "rx_checksumming"=>"on", "rx_gro_hw"=>"off [fixed]", "tx_fcoe_segmentation"=>"off [fixed]", "busy_poll"=>"off [fixed]", "generic_segmentation_offload"=>"on", "tx_udp_tnl_segmentation"=>"on", "tcp_segmentation_offload"=>"on", "l2_fwd_offload"=>"off [fixed]", "rx_vlan_offload"=>"on", "ntuple_filters"=>"off", "rx_vlan_filter"=>"on [fixed]", "tx_tcp6_segmentation"=>"on", "tx_udp_tnl_csum_segmentation"=>"on", "tx_sctp_segmentation"=>"off [fixed]", "udp_fragmentation_offload"=>"off [fixed]", "scatter_gather"=>"on", "tx_sit_segmentation"=>"on", "tx_checksum_fcoe_crc"=>"off [fixed]", "hw_tc_offload"=>"on", "tx_scatter_gather"=>"on", "netns_local"=>"off [fixed]", "tx_nocache_copy"=>"off", "tx_gre_csum_segmentation"=>"on", "tx_vlan_offload"=>"on", "receive_hashing"=>"on", "tx_gre_segmentation"=>"on"}, "speed"=>1000, "pciid"=>"0000:01:00.0", "module"=>"igb", "mtu"=>1500, "active"=>true, "promisc"=>false, "timestamping"=>["tx_hardware", "tx_software", "rx_hardware", "rx_software", "software", "raw_hardware"], "ipv4"=>{"broadcast"=>"172.28.255.255", "netmask"=>"255.255.0.0", "network"=>"172.28.0.0", "address"=>"172.28.8.2"}, "ipv6"=>[{"scope"=>"link", "prefix"=>"64", "address"=>"fe80::ec4:7aff:fee0:cc70"}], "device"=>"eno1", "type"=>"ether", "hw_timestamp_filters"=>["none", "all"]}, created_at: "2019-08-22 12:54:17", updated_at: "2019-08-24 12:45:07", provider: nil, username: nil, password: nil, virtual: false, link: true, identifier: "eno1", tag: "", attached_to: "", managed: true, mode: "balance-rr", attached_devices: "", bond_options: "", primary: true, provision: true, compute_attributes: {}, execution: true, ip6: nil, subnet6_id: nil>, :del_dns_record, :ptr4], @created=1586533874.4507427, @timestamp=2020-04-10 15:52:14 UTC>]
2020-04-10T11:52:14 [E|app|798e1fda] Unprocessable entity Host::Managed (id: 518):
  Remove Reverse IPv4 DNS record for brw-8-2.cmp task failed with the following error: ERF12-1261 [ProxyAPI::ProxyException]: Unable to delete DNS entry ([RestClient::Exceptions::OpenTimeout]: Timed out connecting to server) for proxy https://hpc-maestro.hpc.gulfaero.com:8443/dns

foreman-1.24.2-1.el7.noarch
foreman-proxy-1.24.2-1.el7.noarch

I’m having trouble trying to remove devices. I also had trouble adding devices, but after hammering (pun intended) additions a few times, things worked.

I’m not sure what’s up. Any help is greatly appreciated.

-jay

Hi,

just from looking at the provided errors, I would assume there is a connection issue between either:

  • your Foreman Server and the Smart Proxy running the DNS plugin or
  • the Smart Proxy and the DNS Server

You might want to take a look into your network connectivity between those components, and also at /var/log/foreman-proxy/proxy.log for the timeframe when the error occures. You might also want to turn up the loglevel for the smart-proxy via /etc/foreman-proxy/settings.yml

Regards

2 Likes