Project

General

Profile

Actions

Bug #38468

closed

Unable to run a rex job after rebuilding of a provisioned host

Added by Adam Lazik 25 days ago. Updated 12 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
Yes
Found in Releases:

Description

Description of problem:

Unable to run a rex job after rebuilding of a provisioned host

How reproducible:

100%

Is this issue a regression from an earlier version:

No

Steps to Reproduce:

Provision a host
Run a rex job (set Connect by IP to Yes)
Rebuild the host
Try running a rex job again

Actual behavior:
The rex job fails on the host.
The job error is `Offending ED25519 key in /usr/share/foreman-proxy/.ssh/known_hosts:1`

Expected behavior:
The rex job should pass

Additional notes:
It seems that rebuilding a host in-place doesn't reset the host-proxy mapping in host_proxy_invocations.

Actions

Also available in: Atom PDF