Project

General

Profile

Actions

Bug #26185

closed

Tracer rex templates don't handle reboot properly

Added by Ivan Necas over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1534967

Calling reboot directly causes troubles both in ssh and ansible templates. Rex has special templates for dealing with it better
in in ssh templates, and in ansible, we should probably be using `reboot` module.

Steps to Reproduce:
1. Have system registered with remote execution SSH key deployed and with updated kernel
2. Go to Content host details -> Traces -> check "kernel" -> Restart Selected

Actual results:
System is restarted, but ReX job fails

Expected results:
Job should pass if restart worked (it worked for me) and trace item should go away.

Actions #1

Updated by The Foreman Bot over 5 years ago

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

Updated by Ivan Necas over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #3

Updated by John Mitsch over 5 years ago

  • Subject changed from Tracer rex templates don't handle reboot properly to Tracer rex templates don't handle reboot properly
  • Category set to Hosts
  • Target version set to Katello 3.12.0
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF