Bug #20415
closedA remote job runs over multiple servers that belongs to different organization (crossing organizational boundaries)
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1474885
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.
Updated by Adam Ruzicka over 6 years ago
- Category set to Foreman
- Target version set to 113
Maybe some variation on KeepCurrentUser middleware which would keep organization and/or location would be useful.
Updated by Adam Ruzicka almost 3 years ago
- Status changed from New to Closed
- Triaged set to No
We know have a middleware keeping organizations and locations set. This should be fixed in $current