Project

General

Profile

Actions

Bug #32675

closed

Canceling a job for a content host redirects to a new page with "{"statusText":"OK"}"

Added by Adam Ruzicka about 4 years ago. Updated almost 4 years ago.

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

Description

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

Description of problem:
Canceling a job for a content host redirects to a new page with "{"statusText":"OK"}"

How reproducible:
Always

Steps to Reproduce:
1. Create a rex job against a host or multiple hosts. Ex.: while : ; do find /var > /dev/null ; done
2. While executing, click on the hostname of any server from the bottom table and then click on the \'Cancel Job\' button.

Actual results:
- Clicking on the "Cancel Job" button redirects you to a new webpage with "{"statusText":"OK"}" text on the webpage.
- One has to click on the "Back <-" button on the browser to navigate back to the satellite UI.
- Also, this is an inconsistent outcome as if a job is aborted then the user is not redirected to a new page and the same job page is visible which is more convinient.

Expected results:
- Clicking on the "Cancel Job" button should keep you on the same task/job page as it does when clicked on the "Abort Job" button.

Additional info:
- When a job is canceled from the main job page instead of clicking on the particular hostname and then canceling the job, the user is kept on the same page which is expected.

Actions #1

Updated by Adam Ruzicka almost 4 years ago

  • Subject changed from Canceling a job for a content host redirects to a new page with "{"statusText":"OK"}" to Canceling a job for a content host redirects to a new page with "{"statusText":"OK"}"
  • Category set to Foreman
  • Assignee set to Adam Ruzicka
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot almost 4 years ago

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

Updated by Adam Ruzicka almost 4 years ago

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

Updated by Adam Ruzicka almost 4 years ago

  • Fixed in Releases foreman_remote_execution-4.7.0 added
Actions #5

Updated by Adam Ruzicka almost 4 years ago

  • Fixed in Releases foreman_remote_execution-4.5.4 added
Actions

Also available in: Atom PDF