Bug 1474885

Summary: A remote job runs over multiple servers that belongs to different organization (crossing organizational boundaries)
Product: Red Hat Satellite Reporter: Abhishek Sahni <asahni>
Component: Remote ExecutionAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Peter Ondrejka <pondrejk>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.10CC: aruzicka, inecas, jcallaha, sgery
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-28 19:35:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Abhishek Sahni 2017-07-25 14:48:35 UTC
Description of problem:

Remote execution jobs runs over hosts which not not even part of the organization.

Or can say remote jobs ignoring organization boundaries.

How reproducible:

100% 

Steps to Reproduce:

-- Create 2 orgs and register 2 different hosts (eg :RHEL 7) on them respectively.

-- Copy ssh keys over on those clients.

-- Create job

Job Category : Commands
Job Templates : SSH Default
Search Query : os_major = 7

Resolves hosts = 1 expected

Command : echo test

Schedule future execution: after a minute with respect to current time.

SUBMIT

-- Then navigate suddenly to "Any Organization" and wait for the job to get executed.


Actual results:

Job will be executed over clients including which are not the part of organization.

Expected results:

It should run over specific client not on clients from different organizations.

Comment 2 Adam Ruzicka 2017-07-26 07:59:24 UTC
Created redmine issue http://projects.theforeman.org/issues/20415 from this bug

Comment 3 Adam Ruzicka 2017-07-26 08:02:53 UTC
Workaround:
Until this gets fixed, please use more explicit search queries. For original "os_major = 7" use something like "os_major = 7 and organization = MyOrg and location = MyLoc", where MyOrg and MyLoc are names of your organization and location.

Comment 5 Bryan Kearney 2019-02-07 12:09:26 UTC
The Satellite Team is attempting to provide an accurate backlog of bugzilla requests which we feel will be resolved in the next few releases. We do not believe this bugzilla will meet that criteria, and have plans to close it out in 1 month. This is not a reflection on the validity of the request, but a reflection of the many priorities for the product. If you have any concerns about this, feel free to contact Red Hat Technical Support or your account team. If we do not hear from you, we will close this bug out. Thank you.

Comment 6 Bryan Kearney 2019-02-28 19:35:05 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you.