Bug 814411

Summary: RFE: Add list of default groups in user preferences.
Product: [Retired] Beaker Reporter: Mike Gahagan <mgahagan>
Component: web UIAssignee: beaker-dev-list
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 0.8CC: baiesi, bpeck, emcnabb, mastyk, stl, tools-bugs
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard: GroupModel
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-02 11:42:54 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 Mike Gahagan 2012-04-19 19:56:02 UTC
Description of problem:

As of now, a user who is a member of multiple system groups has to explicitly exclude a group in their job xml to prevent machines in said group from picking up the job. This leads to a tedious and error prone process of having to manually edit the job xml and exclude the unwanted groups before submitting the job. 

I would like to propose that we add a default groups list as one of the user preferences. If a job xml does not include any group specification then only the systems in the user's default groups will be used to run the job. By default we can include all the groups the user is a member of so that users who have no need for this feature can continue to work as they do today.

Example:

Alice has some jobs she wants to run on every RHEL 9.x tree as it lands. It makes no difference to her which systems run those jobs so there are no group specifications in any of her xml files.

Alice then goes on vacation for a month and her testing responsibilities transition to Bob during that time. Bob however is a member of the sooper-sekrit-hardware group which consists of 10 very rare prototype systems. Bob would like to save those systems for testing specific to that hardware and they are not for general use. 

Bob currently has to modify all of Alice's xml files to exclude that group that he is in. It would be much easier for him to be able to exclude that group by default and only have jobs run on systems in that group if he specifies either a hostname in that group or the group itself in the job xml. 

 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Nick Coghlan 2013-04-16 09:26:12 UTC
This "Use only when explicitly requested" behaviour should be considered as a possible element in the System Pools feature planned for Beaker 1.1 (see http://beaker-project.org/dev/proposals/system-pools.html)

Comment 3 Evan McNabb 2014-12-12 18:29:55 UTC
Hi Nick, any update on this potential feature?

Comment 4 Nick Coghlan 2015-01-27 09:58:31 UTC
Hi Evan, sorry for the delayed reply. There unfortunately aren't any near term changes planned in this area - marking systems as "Prototype" so they're automatically excluded by the default "Machine" filter remains the best option for ensuring they're only selected when you intended to use them. Another alternative these days, if only addressing them by name is an acceptable limitation, is to put them in Manual mode and only access them via forced identity-based scheduling rather than the regular host filtering mechanism.

Comment 5 Martin Styk 2020-06-02 11:42:54 UTC
Hello,

thank you for opening issue in Beaker project.
This issue was marked with component "web ui".
As we are not planning to address any further issues in current UI, due to technical stack and not being able to work with Python 3 codebase, I'm closing this issue as WONTFIX.
New UI will be reimplemented within new versions of Beaker.

If you have any questions feel free to reach out to me.

Best regards,
Martin <martin.styk>