Sorry for late reply and lack of valuable info in previous posts.
Below you can find a bit more data:
“# foreman-installer --scenario foreman
–foreman-proxy-httpboot true
–foreman-proxy-http true
–foreman-proxy-tftp true”
- HTTPBoot Capsule added to the “provisioning network”
- all ports between “provisioning network” and server are opened
- /var/lib/tftpboot/grub2/grub.cfg file looks as follows:
menuentry 'Foreman Discovery Image' --id discovery {
linuxefi boot/fdi-image/vmlinuz0 rootflags=loop root=live:/fdi.iso rootfstype=auto ro rd.live.image acpi=force rd.luks=0 rd.md=0 rd.dm=0 rd.lvm=0 rd.bootif=0 rd.neednet=0 nomodeset proxy.url=https://ip_address proxy.type=foreman BOOTIF=01-$mac
initrdefi boot/fdi-image/initrd0.img
}
menuentry 'Foreman Discovery Image custom' --id custom_discovery {
linuxefi (http,ip_address)/pulp/isos/company_name/Library/custom/Foreman_Discovery_Image/Foreman_Discovery_Image_repo/foreman-discovery-image-3.7.5.iso-vmlinuz ip=dhcp rootflags=loop root=live:/fdi.iso rootfstype=auto ro rd.live.image acpi=force rd.luks=0 rd.md=0 rd.dm=0 rd.lvm=0 rd.bootif=0 rd.neednet=0 nokaslr nomodeset proxy.url=https://ip_address proxy.type=foreman BOOTIF=01-$mac
initrdefi (http,ip_address)/pulp/isos/company_name/Library/custom/Foreman_Discovery_Image/Foreman_Discovery_Image_repo/foreman-discovery-image-3.7.5.iso-img fdi.countdown=10
}
- first option (with id → discovery) via TFTP works fine and downloads the image (but due to TFTP protocol, this takes a lot of time)
- wget works fine and downloads the images w/o any problem
- once host is booted, proper boot menu (from grub.cfg) is shown and when choosing “custom_discovery” download of the files starts but after few seconds I got: "“error: …/…/grub-core/net/tftp.c:255:File not found.” " (see screenshot attached) and then laptop gets “Kernel Panic” (also screenshot attached).
- in the “/var/log/httpd/error_log” following can be found
[ 2021-10-07 16:30:41.5074 13001/7f139af46700 Pool2/Implementation.cpp:1274 ]: [App 13334 stderr] #<Thread:0x00007f7f259b6b70@/opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:471 run> terminated with exception (report_on_exception is true):
[ 2021-10-07 16:30:43.1631 13001/7f139af46700 Pool2/Implementation.cpp:1274 ]: [App 13334 stderr] /opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/connection/heartbeats.rb:100:in `sleep'
[ 2021-10-07 16:30:44.5600 13001/7f139af46700 Pool2/Implementation.cpp:1274 ]: [App 13334 stderr] : time interval must be positive (ArgumentError)
[ 2021-10-07 16:30:44.5601 13001/7f139af46700 Pool2/Implementation.cpp:1274 ]: [App 13334 stderr] from /opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/connection/heartbeats.rb:100:in `block in _start_send_ticker'
[ 2021-10-07 16:30:44.5601 13001/7f139af46700 Pool2/Implementation.cpp:1274 ]: [App 13334 stderr] from /opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
next try
[ 2021-10-07 16:35:37.5453 13001/7f139af46700 Pool2/Implementation.cpp:1274 ]: [App 13334 stderr] warning: broker sent EOF, and connection not reliable
[ 2021-10-07 16:35:37.5454 13001/7f139af46700 Pool2/Implementation.cpp:1274 ]: [App 13334 stderr] #<Thread:0x00007f7f259b61c0@/opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:471 run> terminated with exception (report_on_exception is true):
[ 2021-10-07 16:35:37.0176 13001/7f139af46700 Pool2/Implementation.cpp:1274 ]: [App 13334 stderr] /opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/client/utils.rb:198:in `block (2 levels) in start_listeners': Received message is nil, and connection not reliable (Stomp::Error::NilMessageError)
[ 2021-10-07 16:35:37.0176 13001/7f139af46700 Pool2/Implementation.cpp:1274 ]: [App 13334 stderr] from /opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/client/utils.rb:194:in `loop'
[ 2021-10-07 16:35:37.0177 13001/7f139af46700 Pool2/Implementation.cpp:1274 ]: [App 13334 stderr] from /opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/client/utils.rb:194:in `block in start_listeners'
[ 2021-10-07 16:35:37.0177 13001/7f139af46700 Pool2/Implementation.cpp:1274 ]: [App 13334 stderr] from /opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
another one:
[ 2021-10-07 16:44:07.9582 13001/7f139af46700 Pool2/Implementation.cpp:1274 ]: [App 13334 stderr] warning: broker sent EOF, and connection not reliable
[ 2021-10-07 16:44:07.9585 13001/7f139af46700 Pool2/Implementation.cpp:1274 ]: [App 13334 stderr] #<Thread:0x000000001d49f530@/opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:471 run> terminated with exception (report_on_exception is true):
[ 2021-10-07 16:44:07.9585 13001/7f139af46700 Pool2/Implementation.cpp:1274 ]: [App 13334 stderr] /opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/client/utils.rb:198:in `block (2 levels) in start_listeners': Received message is nil, and connection not reliable (Stomp::Error::NilMessageError)
[ 2021-10-07 16:44:07.9585 13001/7f139af46700 Pool2/Implementation.cpp:1274 ]: [App 13334 stderr] from /opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/client/utils.rb:194:in `loop'
[ 2021-10-07 16:44:07.9585 13001/7f139af46700 Pool2/Implementation.cpp:1274 ]: [App 13334 stderr] from /opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/client/utils.rb:194:in `block in start_listeners'
[ 2021-10-07 16:44:07.9585 13001/7f139af46700 Pool2/Implementation.cpp:1274 ]: [App 13334 stderr] from /opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
and last one:
[Thu Oct 07 16:45:17.540823 2021] [mpm_prefork:notice] [pid 12820] AH00170: caught SIGWINCH, shutting down gracefully
[ 2021-10-07 16:45:23.6915 9615/7fb58edae780 agents/Watchdog/Main.cpp:450 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nobody', 'default_python' => 'python', 'default_ruby' => 'ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_instances_per_app' => '6', 'max_pool_size' => '12', 'passenger_root' => '/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/locations.ini', 'pool_idle_time' => '300', 'prestart_urls' => 'aHR0cDovL3NhdGVsbGl0ZS5kczEuaW50ZXJuYWw6ODAAaHR0cHM6Ly9zYXRlbGxpdGUuZHMxLmludGVybmFsOjQ0MwA=', 'temp_dir' => '/var/run/rubygem-passenger', 'union_station_gateway_address' => 'gateway.unionstationapp.com', 'union_station_gateway_port' => '443', 'user_switching' => 'true', 'web_server_pid' => '9614', 'web_server_type' => 'apache', 'web_server_worker_gid' => '48', 'web_server_worker_uid' => '48' }
[ 2021-10-07 16:45:23.6961 9618/7f0aae4c8780 agents/HelperAgent/Main.cpp:602 ]: PassengerHelperAgent online, listening at unix:/var/run/rubygem-passenger/passenger.1.0.9614/generation-0/request
[ 2021-10-07 16:45:23.7085 9625/7f08ef5a6880 agents/LoggingAgent/Main.cpp:318 ]: PassengerLoggingAgent online, listening at unix:/var/run/rubygem-passenger/passenger.1.0.9614/generation-0/logging
[ 2021-10-07 16:45:23.7088 9615/7fb58edae780 agents/Watchdog/Main.cpp:631 ]: All Phusion Passenger agents started!
[ 2021-10-07 16:45:23.7485 9642/7f23fd276780 agents/Watchdog/Main.cpp:450 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nobody', 'default_python' => 'python', 'default_ruby' => 'ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_instances_per_app' => '6', 'max_pool_size' => '12', 'passenger_root' => '/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/locations.ini', 'pool_idle_time' => '300', 'prestart_urls' => 'aHR0cDovL3NhdGVsbGl0ZS5kczEuaW50ZXJuYWw6ODAAaHR0cHM6Ly9zYXRlbGxpdGUuZHMxLmludGVybmFsOjQ0MwA=', 'temp_dir' => '/var/run/rubygem-passenger', 'union_station_gateway_address' => 'gateway.unionstationapp.com', 'union_station_gateway_port' => '443', 'user_switching' => 'true', 'web_server_pid' => '9614', 'web_server_type' => 'apache', 'web_server_worker_gid' => '48', 'web_server_worker_uid' => '48' }
[ 2021-10-07 16:45:23.7522 9645/7f2671c52780 agents/HelperAgent/Main.cpp:602 ]: PassengerHelperAgent online, listening at unix:/var/run/rubygem-passenger/passenger.1.0.9614/generation-1/request
[ 2021-10-07 16:45:23.7590 9653/7f674f3c9880 agents/LoggingAgent/Main.cpp:318 ]: PassengerLoggingAgent online, listening at unix:/var/run/rubygem-passenger/passenger.1.0.9614/generation-1/logging
[ 2021-10-07 16:45:23.7592 9642/7f23fd276780 agents/Watchdog/Main.cpp:631 ]: All Phusion Passenger agents started!
[ 2021-10-07 16:45:25.7871 9645/7f2671b5b700 Pool2/Spawner.h:738 ]: [App 9929 stdout]
[ 2021-10-07 16:45:34.9645 9645/7f2671b9c700 Pool2/Spawner.h:159 ]: [App 9929 stderr] /usr/share/foreman/lib/foreman.rb:8: warning: already initialized constant Foreman::UUID_REGEXP
[ 2021-10-07 16:45:34.9647 9645/7f2671b9c700 Pool2/Spawner.h:159 ]: [App 9929 stderr] /usr/share/foreman/lib/foreman.rb:8: warning: previous definition of UUID_REGEXP was here
[ 2021-10-07 16:45:36.9890 9645/7f2671b5b700 Pool2/Spawner.h:738 ]: [App 9929 stdout] API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.
[ 2021-10-07 16:45:50.6920 9645/7f2671b9c700 Pool2/Spawner.h:159 ]: [App 9929 stderr] /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_theme_satellite-6.0.1.7/app/models/concerns/distributor_version.rb:5: warning: already initialized constant Katello::Glue::Provider::DISTRIBUTOR_VERSION
[ 2021-10-07 16:45:50.6921 9645/7f2671b9c700 Pool2/Spawner.h:159 ]: [App 9929 stderr] /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.16.0.26/app/models/katello/glue/provider.rb:3: warning: previous definition of DISTRIBUTOR_VERSION was here
[ 2021-10-07 16:45:53.7256 9634/7fb58edae780 agents/Watchdog/Main.cpp:337 ]: Some Phusion Passenger agent processes did not exit in time, forcefully shutting down all.
[ 2021-10-07 16:45:58.3169 9645/7f2671b9c700 Pool2/Spawner.h:159 ]: [App 9929 stderr] /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_azure_rm-2.1.2/app/models/foreman_azure_rm/azure_rm_compute.rb:13: warning: circular argument reference - sdk
[ 2021-10-07 16:46:15.3835 9645/7f2671b5b700 Pool2/SmartSpawner.h:301 ]: Preloader for /usr/share/foreman started on PID 9929, listening on unix:/var/run/rubygem-passenger/passenger.1.0.9614/generation-1/backends/preloader.9929
Any idea what might be causing this?
Thanks for help!