Project

General

Profile

Actions

Bug #38140

open

Job: Resolve Traces - Katello Ansible Default - fails to reboot machine

Added by Lucas Bickel 5 days ago. Updated 5 days ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
-
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

After applying errata that include a kernel update, i want to reboot the machine via the traces UI and select all traces. This changes the button from "Restart app" to "Reboot host", i click the button and it runs the "Resolve Traces - Katello Ansible Default" job. Ansible then fails to reboot the host.

```
ERROR! 'reboot' is not a valid attribute for a Play
The error appears to be in '/tmp/d20250115-157201-nu0y9u/project/playbook.yml': line 1, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- reboot:
^ here
```

The template is currently rather hardcoded, it should defer the reboot implementation to the "Power Action - Ansible Default" template.

Actions #1

Updated by The Foreman Bot 5 days ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/11276 added
Actions #2

Updated by Samir Jha 5 days ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF