Red Hat Bugzilla – Bug 1474885
A remote job runs over multiple servers that belongs to different organization (crossing organizational boundaries)
Last modified: 2018-06-21 01:22:39 EDT
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.
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.
-- Then navigate suddenly to "Any Organization" and wait for the job to get executed.
Job will be executed over clients including which are not the part of organization.
It should run over specific client not on clients from different organizations.
Created redmine issue http://projects.theforeman.org/issues/20415 from this bug
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.