Problem:
When I start a new host I get to:
That is fine. Then I click on Hosts > Discovered hosts and on the “Provision” button on the right side. After customizing the host I click “submit” and then nothing happens.
Expected outcome:
The host is created in foreman and rebooted.
Foreman and Proxy versions:
2.0.0
Foreman and Proxy plugin versions:
foreman-tasks 1.1.1
foreman_ansible 5.0.1
foreman_discovery 16.0.1
foreman_remote_execution 3.2.1
Distribution and version:
Debian 10.4
Other relevant data:
This might be related to one of these:
Problem:
When booting a newly discovered host (discovery worked fine) I got this error:
[filenotfound]
I checked the /srv/tftp/boot/ directory: The file was there and had a size of about 30MB. I deleted the file, so it would be regenerated, when I click on “Build PXE Default” in Hosts > Provisioning Templates. But it did not get regenerated. Now, when I boot the new host I get: PXE-E32: TFTP Timeout.
Expected outcome:
The machine should boot into the OS installer.
Foreman and Proxy version…
Problem:
When I click on the red “Delete” button in the host’s overview, the box tells me to wait until the request is finished. Then the message disappears and nothing else happens. The host is still there.
Expected outcome:
The host is removed.
Foreman and Proxy versions:
2.0.0
Foreman and Proxy plugin versions:
foreman-tasks 1.1.1
foreman_ansible 5.0.1
foreman_discovery 16.0.1
foreman_remote_execution 3.2.1
Distribution and version:
Debian 10.4
Other relevant data:
This (141.3 K…
Problem:
I ran “apt update”. The machine told me there are updates for:
ruby-foreman-remote-execution:amd64 (3.0.3-1, 3.2.0-1),
ruby-foreman-tasks:amd64 (1.1.0-1, 1.1.1-1)
Thus I ran “apt upgrade”. That failed:
Preparing to unpack …/ruby-foreman-tasks_1.1.1-1_all.deb …
Unpacking ruby-foreman-tasks (1.1.1-1) over (1.1.0-1) …
Preparing to unpack …/ruby-foreman-remote-execution_3.2.0-1_all.deb …
Unpacking ruby-foreman-remote-execution (3.2.0-1) over (3.0.3-1) …
Setting up ruby-foreman-tas…
/var/log/foreman/production.log (11.4 KB)
/var/log/foreman-proxy/proxy.log (4.1 KB)
I just discovered, that I cannot create hosts manually through Hosts > Create Hosts. The symptons are the same.
Is this related to Cannot delete hosts ?
Yes, it seems it was related.
Since the update of ruby-smart-proxy-remote-execution-ssh
to 0.3.0 creating hosts works again.
lzap
May 19, 2020, 12:51pm
5
Remote execution is not associated with anything in discovery (yet). It had to be some misconfiguration. Foreman needs to connect to discovered hosts via HTTPS. For more info:
https://docs.theforeman.org/guides/build/doc-Installing_Server_on_Red_Hat/index-foreman.html#satellite-ports-and-firewalls-requirements_foreman
Also Discovery Smart Proxy must be set for Subnet if you need to proxy the requests.
1 Like