Opened 11 years ago

Last modified 9 years ago

#522 new defect

IZ2592: RQS for unix usergroups broken

Reported by: reuti Owned by:
Priority: normal Milestone:
Component: sge Version: 6.1u3
Severity: Keywords: man
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=2592]

        Issue #:      2592             Platform:     All      Reporter: reuti (reuti)
       Component:     gridengine          OS:        All
     Subcomponent:    man              Version:      6.1u3       CC:    None defined
        Status:       REOPENED         Priority:     P3
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    andreas (andreas)
      QA Contact:     andreas
          URL:
       * Summary:     RQS for unix usergroups broken
   Status whiteboard:
      Attachments:

     Issue 2592 blocks:
   Votes for issue 2592:


   Opened: Wed May 28 02:17:00 -0700 2008 
------------------------


Although it's documented, I can't get unix usergroups working in an RQS for the users entry. It's not
displayed while the job is running, and after the job I get:

reuti@lserver:~> qquota -u "*"
resource quota rule limit                filter
-------------------------------------------------------------------------------
-
reuti/1            slots=-1/2           users @bme

And another user of this group is running jobs at the same time:

reuti@lserver:~> qstat -u "*"
job-ID  prior   name       user         state submit/start at     queue                          slots ja-task-ID
-------------------------------------------------------------------------------
----------------------------------
   1529 0.50951 Dy2I6_1_0  zoli         dr    05/28/2008 08:09:20 parallel@node11                    2
   1530 0.50951 Dy2I6_4    zoli         r     05/28/2008 10:20:35 parallel@node12                    2
   1457 0.60951 Ge2Br4_b_c zoli         r     05/14/2008 07:29:39 parallel@node13                    4
   1528 0.60951 Si2Cl4_a_m zoli         r     05/28/2008 07:39:53 parallel@node21                    4
   1490 0.60951 Ge2I4_b_mp zoli         r     05/19/2008 08:53:25 parallel@node22                    4
   1531 0.00000 Dy2I6_3    zoli         qw    05/28/2008 08:19:43                                    2
   1532 0.00000 Dy2I6_1_0  zoli         qw    05/28/2008 08:29:30                                    2
   1534 0.00000 Dy2I6_6    zoli         qw    05/28/2008 10:21:11


RQS is:

   limit        users @bme to slots=2

and bme is the primary group of both users.

   ------- Additional comments from roland Mon Jun 2 00:50:54 -0700 2008 -------
Hi Reuti,

according to your description "bme" is a unix group but the user field can only
be a unix user or a grid engine user set.

If you want to filter by unix groups you have to create a user set referencing
your unix group. That's the same as for queue, pe or project ACLs.

Best regards
Roland

   ------- Additional comments from reuti Mon Jun 2 02:22:58 -0700 2008 -------
Okay, I see. But the document
"http://gridengine.sunsource.net/nonav/source/browse/~checkout~/gridengine/doc/devel/rfe/Resource
QuotaSpecification.html" mentions in some places groups:

"This is very cumbersome for large numbers of users or user groups." It should then be replaced by:

"This is very cumbersome for large numbers of users or SGE user sets (ACL)." (There are more references
in the document.)

I changed it to a man issue.

Change History (0)

Note: See TracTickets for help on using tickets.