Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1495373 - Re-running a failed SSH based job on an individual server from a selection of many servers selects all servers to rerun the job.
Summary: Re-running a failed SSH based job on an individual server from a selection of...
Keywords:
Status: CLOSED DUPLICATE of bug 1386192
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Remote Execution
Version: 6.2.12
Hardware: All
OS: Linux
medium
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-25 23:28 UTC by Abhishek Sahni
Modified: 2020-12-14 10:14 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-26 07:22:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Abhishek Sahni 2017-09-25 23:28:28 UTC
Description:

When a single or few servers fail a SSH-based run command, you fix the issue and try to re-run the command on a single host from the results and the "Search query" shows all servers rather than the single server you selected.


Steps to reproduce:

1. Log into the satellite.

2. Select the menu Hosts-> All hosts

3. Pick a bunch of servers.  More than one.

4. On this page,

click Select Action-> Run Job from the button in the upper right corner of the page.

5. Confirm the following:
  a) Job Category: Commands
  b) Job Template: Run command - SSH default
  c) Bookmark: blank
  d) Search query Contains a list of all the servers you are working on.
  e) command: Some shell scripting code that would normally succeed like "touch /tmp/foo"
  f) Schedule: Execute now


6. Click submit.

When the job completes and shows the status page, click Hosts next to Overview to see the results of the job for each host.  Next to one of your servers on the far right is a button that says Host Details and has a drop-down arrow.  Click the arrow and select Rerun on ${server}.  

Results: All servers are resubmitted via the Search query.
Expected results: Only the one server I selected should be in the Search query.

Comment 1 Adam Ruzicka 2017-09-26 07:22:32 UTC
Closing as duplicate. If you feel this bug is not a duplicate of the linked one, please feel free to reopen it.

*** This bug has been marked as a duplicate of bug 1386192 ***


Note You need to log in before you can comment on or make changes to this bug.