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

Also available in: Atom PDF