Project

General

Profile

Bug #34452

Allow host not having an execution interface

Added by Adam Ruzicka 4 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman

Related issues

Related to Foreman Remote Execution - Bug #34404: hammer host interface update does not update remote execution settingReady For Testing

Associated revisions

Revision 759070e4 (diff)
Added by Adam Ruzicka 4 months ago

Fixes #34452 - Allow hosts to have no execution interface

Previously we required each host to have exactly one execution interface. There
was a mechanism in place which would ensure host had at least one execution
interface by marking the primary interface as execution if the host had none.
However this wasn't 100% reliable.

This loosens the requirement from exactly one to 0 or 1 and removes the
mechanism enforcing host has at least 1 execution interface.

Revision 6b9ea2b2 (diff)
Added by Adam Ruzicka 4 months ago

Fixes #34452 - Move the execution flag

This only works when the interface is being updated through the host. It does
nothing if interface is being updated directly through
/api/v2/hosts/$host_id/interfaces/$interface_id.

When multiple interfaces are being marked as execution at the same time, the
first one to be processed "wins", although the ordering in which they're
processed is undefined.

History

#1 Updated by The Foreman Bot 4 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/693 added

#2 Updated by Ondřej Ezr 4 months ago

  • Bugzilla link set to 2009398

#3 Updated by Ondřej Ezr 4 months ago

  • Related to Bug #34404: hammer host interface update does not update remote execution setting added

#4 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases foreman_remote_execution-6.0.1 added

#5 Updated by Adam Ruzicka 4 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Adam Ruzicka 4 months ago

  • Fixed in Releases foreman_remote_execution-5.0.4 added

#7 Updated by Adam Ruzicka 3 months ago

  • Fixed in Releases foreman_remote_execution-6.1.0 added
  • Fixed in Releases deleted (foreman_remote_execution-6.0.1)

Also available in: Atom PDF