Project

General

Profile

Actions

Bug #10159

closed

404 on tftp smart proxy

Added by El Joppa about 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
TFTP
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Upon trying to create a new host in Foreman 1.8.0rc3 on Debian Wheezy installed with foreman-installer:

Unable to save

TFTP Settings for hehe.libvirt.local task failed with the following error: ERF12-5472 [ProxyAPI::ProxyException]: Unable to set TFTP boot entry for ([RestClient::ResourceNotFound]: 404 Resource Not Found) for proxy https://rd07.startsiden.dev:8443/tftp

/var/log/foreman-proxy/proxy.log:

I, [2015-04-16T12:45:11.287703 #2112]  INFO -- : 'foreman_proxy' settings were initialized with default values: :enabled: true
I, [2015-04-16T12:45:11.289641 #2112]  INFO -- : 'facts' module is disabled.
I, [2015-04-16T12:45:11.291828 #2112]  INFO -- : 'templates' module is disabled.
I, [2015-04-16T12:45:11.294043 #2112]  INFO -- : 'dhcp' settings were initialized with default values: :dhcp_provider: isc
I, [2015-04-16T12:45:11.506864 #2112]  INFO -- : 'puppet' settings were initialized with default values: :cache_location: /usr/share/foreman-proxy/cache, :puppet_provider: puppetrun, :puppetdir: /etc/puppet, :salt_puppetrun_cmd: puppet.run, :use_cache: true
I, [2015-04-16T12:45:11.517092 #2112]  INFO -- : 'bmc' module is disabled.
I, [2015-04-16T12:45:11.517593 #2112]  INFO -- : 'realm' module is disabled.
D, [2015-04-16T12:45:36.778576 #2117] DEBUG -- : verifying remote client 192.168.30.117 against trusted_hosts ["rd07.startsiden.dev"]
D, [2015-04-16T12:45:36.779300 #2117] DEBUG -- : running /usr/bin/nsupdate -k /etc/bind/rndc.key 
D, [2015-04-16T12:45:36.781818 #2117] DEBUG -- : nsupdate: executed - server 127.0.0.1
D, [2015-04-16T12:45:36.784176 #2117] DEBUG -- : nsupdate: executed - update add 9.122.168.192.in-addr.arpa.  86400 IN PTR hehe.libvirt.local
192.168.30.117 - - [16/Apr/2015 12:45:36] "POST /dns/ HTTP/1.1" 200 - 0.0254
D, [2015-04-16T12:45:36.936144 #2117] DEBUG -- : verifying remote client 192.168.30.117 against trusted_hosts ["rd07.startsiden.dev"]
192.168.30.117 - - [16/Apr/2015 12:45:36] "POST /tftp/syslinux/ HTTP/1.1" 404 462 0.0012
D, [2015-04-16T12:45:37.026763 #2117] DEBUG -- : verifying remote client 192.168.30.117 against trusted_hosts ["rd07.startsiden.dev"]
D, [2015-04-16T12:45:37.027530 #2117] DEBUG -- : running /usr/bin/nsupdate -k /etc/bind/rndc.key 
D, [2015-04-16T12:45:37.030643 #2117] DEBUG -- : nsupdate: executed - server 127.0.0.1
D, [2015-04-16T12:45:37.032079 #2117] DEBUG -- : nsupdate: executed - update delete 9.122.168.192.in-addr.arpa PTR
192.168.30.117 - - [16/Apr/2015 12:45:37] "DELETE /dns/9.122.168.192.in-addr.arpa HTTP/1.1" 200 - 0.0184

Actions #1

Updated by El Joppa about 9 years ago

No error messages for the 404 on "POST /tftp/syslinux/" with DEBUG on.

Actions #2

Updated by El Joppa about 9 years ago

tarball uploaded with foreman-debug:
rsync /tmp/foreman-debug-TfqqP.tar.xz rsync://theforeman.org/debug-incoming

Actions #3

Updated by Lukas Zapletal about 9 years ago

  • Category set to TFTP

Hello,

I see your Foreman instance is sending incorrect URL:

192.168.30.117 - - [16/Apr/2015 10:42:40] "POST /tftp/syslinux/ HTTP/1.1" 404 462 0.0011

Expected query is /tftp/syslinux/MACADDRESS.

Check that your host has MAC address set for the provisioning interface.

FYI this is 1.8 rc3

Actions #4

Updated by Dominic Cleal almost 9 years ago

  • Status changed from New to Need more information
Actions #5

Updated by El Joppa almost 9 years ago

This mysterically went away when i got my libvirt compute resource setup done.

Actions #6

Updated by Dominic Cleal almost 9 years ago

  • Status changed from Need more information to Resolved
  • translation missing: en.field_release deleted (28)

Thanks for checking, let us know if it comes up again.

Actions

Also available in: Atom PDF