Deploy TFTP PXELinux config for lou-servant.local task failed with the following error:

While provisionning VM through fore man getting the following error.

Unable to save

  • Deploy TFTP PXELinux config for lou-servant.local task failed with the
    following error: ERF12-5472 [ProxyAPI::ProxyException]: Unable to set TFTP
    boot entry for 00:5F:09:D0:A6:3E ([RestClient::ResourceNotFound]: 404
    Resource Not Found) for proxy https://foreman-server.local:8443/tftp
  • Failed to perform rollback on Deploy TFTP PXEGrub2 config for
    lou-servant.local - ERF12-7299 [ProxyAPI::ProxyException]: Unable to delete
    TFTP boot entry for 00:5F:09:D0:A6:3E ([RestClient::ResourceNotFound]: 404
    Resource Not Found) for proxy https://foreman-server.local:8443/tftp
··· - - - - Dhcpd.conf file entry. - - - - subnet 192.168.253.0 netmask 255.255.255.0 { - range dynamic-bootp 192.168.253.101 192.168.253.200; - option broadcast-address 192.168.253.254; - option routers 192.168.253.2; - default-lease-time 600; - max-lease-time 7200; - next-server 192.168.253.131; - filename "pxelinux.0"; - } - - - - [root@foreman-server ~]# cat /etc/foreman-proxy/settings.d/dhcp.yml - --- - # Enable DHCP management - # Can be true, false, or http/https to enable just one of the protocols - #:enabled: false - :enabled: https - - # valid providers: - # - dhcp_isc (ISC dhcp server) - # - dhcp_native_ms (Microsoft native implementation) - # - dhcp_libvirt (dnsmasq via libvirt) - :use_provider: dhcp_isc - :server: 127.0.0.1 - # subnets restricts the subnets queried to a subset, to reduce the query time. - #:subnets: - # - 192.168.205.0/255.255.255.128 - # - 192.168.205.128/255.255.255.128 - - :subnets: [192.168.253.0/255.255.255.0] - [root@foreman-server ~]# - - - - [root@foreman-server ~]# cat /etc/foreman-proxy/settings.d/tftp.yml - --- - # TFTP management - :enabled: https - :tftproot: /var/lib/tftpboot - # Defines the TFTP Servername to use, overrides the name in the subnet declaration - :tftp_servername:192.168.253.131 - [root@foreman-server ~]# - - - tail -f /var/log/foreman-proxy/proxy.log - - - - I, [2017-02-08T00:47:19.192980 ] INFO -- : 192.168.253.131 - - [08/Feb/2017:00:47:19 +0530] "POST /tftp/PXELinux/00:5F:09:D0:A6:3E HTTP/1.1" 404 27 0.0069 - - I, [2017-02-08T00:47:19.259632 ] INFO -- : 192.168.253.131 - - [08/Feb/2017:00:47:19 +0530] "DELETE /tftp/PXEGrub2/00:5F:09:D0:A6:3E HTTP/1.1" 404 27 0.0003 - - Please help. - - - -

> While provisionning VM through fore man getting the following error.
>
>
> # Unable to saveDeploy TFTP PXELinux config for lou-servant.local task
> failed with the following error: ERF12-5472 [ProxyAPI::ProxyException]:
> Unable to set TFTP boot entry for 00:5F:09:D0:A6:3E
> ([RestClient::ResourceNotFound]: 404 Resource Not Found) for proxy
> https://foreman-server.local:8443/tftp
[…]
> #
> # [root@foreman-server ~]# cat /etc/foreman-proxy/settings.d/tftp.yml
> # —
> # # TFTP management
> # :enabled: https
> # :tftproot: /var/lib/tftpboot
> # # Defines the TFTP Servername to use, overrides the name in the subnet
> declaration
> # :tftp_servername:192.168.253.131
> # [root@foreman-server ~]#
> #
>
> #
> # tail -f /var/log/foreman-proxy/proxy.log
> #
> #
>
> #
> # I, [2017-02-08T00:47:19.192980 ] INFO – : 192.168.253.131 - -
> [08/Feb/2017:00:47:19 +0530] "POST /tftp/PXELinux/00:5F:09:D0:A6:3E
> HTTP/1.1" 404 27 0.0069

A 404 on this call might suggest that the TFTP module isn't enabled
correctly, despite :enabled: https in the configuration file.

First try restarting foreman-proxy in case the config has since changed,
but otherwise please show the log file from the smart proxy startup
process, preferably with log_level set to DEBUG in
/etc/foreman-proxy/settings.yml. It should log a few lines about the
"tftp" module.

··· On 07/02/17 14:57, NM wrote:


Dominic Cleal
dominic@cleal.org