Problem: When provisioning instances to be deployed on EC2, the process fails and rolls back. This did not happen with ruby-foreman-remote-execution:all/plugins 3.0.3-1 but does starting with 3.2.0. Uninstalling the 3.2 versions and manually installing 3.0.3 allows instance creation.
Expected outcome: Instance should fully provision.
Foreman and Proxy versions:
foreman:amd64/buster 2.0.0-1 uptodate
foreman-cli:all/buster 2.0.0-1 uptodate
foreman-debug:all/buster 2.0.0-1 uptodate
foreman-ec2:all/buster 2.0.0-1 uptodate
foreman-installer:all/buster 2.0.0-1 uptodate
foreman-postgresql:all/buster 2.0.0-1 uptodate
foreman-proxy:all/buster 2.0.0-1 uptodate
ruby-foreman-deface:all/plugins 1.5.3-1 uptodate
ruby-foreman-remote-execution:all/plugins 3.0.3-1 upgradeable to 3.2.1-1
ruby-foreman-remote-execution-core:all/buster 1.3.0-1 uptodate
ruby-foreman-tasks:all/plugins 1.1.1-1 uptodate
ruby-foreman-tasks-core:all/buster 0.3.4-1 uptodate
ruby-hammer-cli-foreman:all/buster 2.0.1-1 uptodate
Distribution and version:
Debian Buster 10.3
Other relevant data:
foreman/production.log:
2020-05-19T14:18:47 [W|app|c52a109a] ERF12-6886 [ProxyAPI::ProxyException]: Unable to remove host from known hosts ([RestClient::NotFound]: 404 Not Found) for proxy https://foreman:8443/ssh
2020-05-19T14:18:47 [W|app|c52a109a] Rolling back due to a problem: [#<Orchestration::Task:0x00007fee3d26a038 @name=“Remove SSH known hosts for will-pinegar.domain.com”, @id=“ssh_remove_known_hosts_interface_3.16.67.127_1”, @status=“failed”, @priority=200, @action=[#<Nic::Managed id: 36, mac: nil, ip: “3.16.67.127”, type: “Nic::Managed”, name: “will-pinegar.domain.com”, host_id: 27, subnet_id: nil, domain_id: 4, attrs: {}, created_at: “2020-04-23 16:15:56”, updated_at: “2020-04-23 16:15:56”, provider: nil, username: nil, password: nil, virtual: false, link: true, identifier: “”, tag: “”, attached_to: “”, managed: true, mode: “balance-rr”, attached_devices: “”, bond_options: “”, primary: true, provision: true, compute_attributes: {}, ip6: “”, subnet6_id: nil, execution: true>, :drop_from_known_hosts, [1, “3.16.67.127”]], @created=1589915927.0023513, @timestamp=2020-05-19 19:18:47 UTC>]
foreman-proxy/proxy.log
2020-05-19T14:18:47 c52a109a [I] Started DELETE /ssh/known_hosts/3.16.67.127
2020-05-19T14:18:47 c52a109a [I] Finished DELETE /ssh/known_hosts/3.16.67.127 with 404 (0.39 ms)