Problem:
I think I have ruined some configuration, my unattended provisioning was working fine earlier. After I tried installing third party SSL it stopped working.
I can’t find the exact reason or pinpoint the exact, requesting your expertise to help solve this issue.
I am attaching the production logs, please do help me.
Expected outcome:
Successful provisioning of the server
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Other relevant data:
logs
/usr/share/passenger/phusion_passenger/request_handler.rb:455:in block (3 levels) in start_threads' /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’
2019-07-04T00:44:56 [W|tem|9b6977e8] unable to obtain template url set by proxy https://repo.mbi.nus.edu.sg:9090/unattended. falling back on proxy url.
2019-07-04T00:44:56 [I|blo|9b6977e8] Unattended render of ‘Kickstart default PXEGrub’ = ‘b778dc97cf7aa326eee1a1e1ff33f09ffe370ee730971643786aa7320763e1e8’
This file was deployed via ‘Kickstart default PXEGrub’ template
default=0
timeout=10
title Kickstart default PXEGrub
root (nd)
kernel (nd)/…/boot/centos7_dvd_ftp-6s10R3DkW0Bm-vmlinuz ks=https://repo.mbi.nus.edu.sg:9090/unattended/provision?token=ef141144-ce61-4a7e-84bc-53aa33cc2fd3 network ksdevice=bootif ks.device=bootif BOOTIF=00-56-6f-d2-17-00-02 kssendmac ks.sendmac inst.ks.sendmac
initrd (nd)/…/boot/centos7_dvd_ftp-6s10R3DkW0Bm-initrd.img
2019-07-04T00:44:56 [I|app|9b6977e8] Deploying TFTP PXEGrub configuration for ipa.mbi.nus.edu.sg
2019-07-04T00:44:56 [W|app|9b6977e8] Failed to obtain template server from smart-proxy https://repo.mbi.nus.edu.sg:9090/unattended
RestClient::NotFound: 404 Not Found
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/abstract_response.rb:223:in exception_with_response' /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/abstract_response.rb:103:in
return!’
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/request.rb:809:in process_result' /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/request.rb:725:in
block in transmit’
/opt/rh/rh-ruby25/root/usr/share/ruby/net/http.rb:910:in `start’
opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/middleware/executor.rb:14:in call' /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/middleware/static.rb:127:in
call’
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/rack-2.0.5/lib/rack/sendfile.rb:111:in call' /opt/theforeman/tfm/root/usr/share/gems/gems/secure_headers-6.0.0/lib/secure_headers/middleware.rb:13:in
call’
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/railties-5.2.1/lib/rails/engine.rb:524:in call' /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/railties-5.2.1/lib/rails/railtie.rb:190:in
public_send’
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/railties-5.2.1/lib/rails/railtie.rb:190:in method_missing' /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/rack-2.0.5/lib/rack/urlmap.rb:68:in
block in call’
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/rack-2.0.5/lib/rack/urlmap.rb:53:in each' /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/rack-2.0.5/lib/rack/urlmap.rb:53:in
call’
/usr/share/passenger/phusion_passenger/rack/thread_handler_extension.rb:74:in process_request' /usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:141:in
accept_and_process_next_request’
/usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:109:in main_loop' /usr/share/passenger/phusion_passenger/request_handler.rb:455:in
block (3 levels) in start_threads’
/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’
2019-07-04T00:44:56 [W|tem|9b6977e8] unable to obtain template url set by proxy https://repo.mbi.nus.edu.sg:9090/unattended. falling back on proxy url.
2019-07-04T00:44:56 [I|blo|9b6977e8] Unattended render of ‘Kickstart default iPXE’ = ‘9f7327e3a5ed002dfabc38fc8d8b1fd6834d6de0dd91d19c5bb79717150a361c’
#!gpxe
kernel ftp://repo.mbi.nus.edu.sg/pub/CentOS_7_x86_64//images/pxeboot/vmlinuz initrd=initrd.img ks=https://repo.mbi.nus.edu.sg:9090/unattended/provision?token=ef141144-ce61-4a7e-84bc-53aa33cc2fd3 inst.stage2=ftp://repo.mbi.nus.edu.sg/pub/CentOS_7_x86_64/ ksdevice=56:6f:d2:17:00:02 network kssendmac ks.sendmac inst.ks.sendmac ip=${netX/ip} netmask=${netX/netmask} gateway=${netX/gateway} dns=${dns}
initrd ftp://repo.mbi.nus.edu.sg/pub/CentOS_7_x86_64//images/pxeboot/initrd.img
boot
2019-07-04T00:44:56 [I|app|9b6977e8] Deploying TFTP iPXE configuration for ipa.mbi.nus.edu.sg
2019-07-04T00:44:56 [I|app|9b6977e8] Fetching required TFTP boot files for ipa.mbi.nus.edu.sg
2019-07-04T00:44:57 [I|app|9b6977e8] Processed 5 tasks from queue ‘Host::Managed Main’, completed 5/5
2019-07-04T00:44:57 [I|aud|9b6977e8] Nic::Managed (45) create event on mac 56:6f:d2:17:00:02
2019-07-04T00:44:57 [I|aud|9b6977e8] Nic::Managed (45) create event on ip