Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
4b027a88
Commit
4b027a88
authored
11 years ago
by
jette
Browse files
Options
Downloads
Plain Diff
Merge branch 'slurm-2.6' of
https://github.com/SchedMD/slurm
into slurm-2.6
parents
86baeefb
6c339b2c
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
NEWS
+2
-0
2 additions, 0 deletions
NEWS
doc/html/faq.shtml
+12
-0
12 additions, 0 deletions
doc/html/faq.shtml
src/plugins/accounting_storage/mysql/as_mysql_assoc.c
+8
-8
8 additions, 8 deletions
src/plugins/accounting_storage/mysql/as_mysql_assoc.c
with
22 additions
and
8 deletions
NEWS
+
2
−
0
View file @
4b027a88
...
@@ -5,6 +5,8 @@ documents those changes that are of interest to users and admins.
...
@@ -5,6 +5,8 @@ documents those changes that are of interest to users and admins.
========================
========================
-- Fix issue with reconfig and GrpCPURunMins
-- Fix issue with reconfig and GrpCPURunMins
-- Fix of wrong node/job state problem after reconfig
-- Fix of wrong node/job state problem after reconfig
-- Allow users who are coordinators update their own limits in the accounts
they are coordinators over.
* Changes in Slurm 2.6.1
* Changes in Slurm 2.6.1
========================
========================
...
...
This diff is collapsed.
Click to expand it.
doc/html/faq.shtml
+
12
−
0
View file @
4b027a88
...
@@ -159,6 +159,7 @@ script for Slurm?</a></li>
...
@@ -159,6 +159,7 @@ script for Slurm?</a></li>
launch a shell on a node in the job's allocation?</a></li>
launch a shell on a node in the job's allocation?</a></li>
<li><a href="#upgrade">What should I be aware of when upgrading Slurm?</a></li>
<li><a href="#upgrade">What should I be aware of when upgrading Slurm?</a></li>
<li><a href="#torque">How easy is it to switch from PBS or Torque to Slurm?</a></li>
<li><a href="#torque">How easy is it to switch from PBS or Torque to Slurm?</a></li>
<li><a href="#sssd">I am having trouble using SSSD with Slurm.</a></li>
</ol>
</ol>
<h2>For Management</h2>
<h2>For Management</h2>
...
@@ -1701,6 +1702,17 @@ Slurm recognizes and translates the "#PBS" options in batch scripts.
...
@@ -1701,6 +1702,17 @@ Slurm recognizes and translates the "#PBS" options in batch scripts.
Most, but not all options are supported.
Most, but not all options are supported.
Please share any enhancements that you make.</p>
Please share any enhancements that you make.</p>
<p><a name="sssd"><b>53. I am having trouble using SSSD with Slurm.</b></a></br>
SSSD or System Security Services Deamon does not allow enumeration of group
members by default.
SSSD is also case sensitive, which could possible raise other issues.
Add the following lines to <i>/etc/ssd/ssd.conf</i> on your head node to
address these issues:</p>
<pre>
enumerate = True
case_sensitive = False
</pre>
<p class="footer"><a href="#top">top</a></p>
<p class="footer"><a href="#top">top</a></p>
<p style="text-align:center;">Last modified 21 August 2013</p>
<p style="text-align:center;">Last modified 21 August 2013</p>
...
...
This diff is collapsed.
Click to expand it.
src/plugins/accounting_storage/mysql/as_mysql_assoc.c
+
8
−
8
View file @
4b027a88
...
@@ -3022,8 +3022,10 @@ extern List as_mysql_modify_assocs(mysql_conn_t *mysql_conn, uint32_t uid,
...
@@ -3022,8 +3022,10 @@ extern List as_mysql_modify_assocs(mysql_conn_t *mysql_conn, uint32_t uid,
if
(
!
(
is_admin
=
is_user_min_admin_level
(
if
(
!
(
is_admin
=
is_user_min_admin_level
(
mysql_conn
,
uid
,
SLURMDB_ADMIN_OPERATOR
)))
{
mysql_conn
,
uid
,
SLURMDB_ADMIN_OPERATOR
)))
{
if
(
assoc_cond
->
user_list
if
(
is_user_any_coord
(
mysql_conn
,
&
user
))
{
&&
(
list_count
(
assoc_cond
->
user_list
)
==
1
))
{
goto
is_same_user
;
}
else
if
(
assoc_cond
->
user_list
&&
(
list_count
(
assoc_cond
->
user_list
)
==
1
))
{
uid_t
pw_uid
;
uid_t
pw_uid
;
char
*
name
;
char
*
name
;
name
=
list_peek
(
assoc_cond
->
user_list
);
name
=
list_peek
(
assoc_cond
->
user_list
);
...
@@ -3047,12 +3049,9 @@ extern List as_mysql_modify_assocs(mysql_conn_t *mysql_conn, uint32_t uid,
...
@@ -3047,12 +3049,9 @@ extern List as_mysql_modify_assocs(mysql_conn_t *mysql_conn, uint32_t uid,
}
}
}
}
if
(
!
is_user_any_coord
(
mysql_conn
,
&
user
))
{
error
(
"Only admins/coordinators can modify associations"
);
error
(
"Only admins/coordinators can "
errno
=
ESLURM_ACCESS_DENIED
;
"modify associations"
);
return
NULL
;
errno
=
ESLURM_ACCESS_DENIED
;
return
NULL
;
}
}
}
is_same_user:
is_same_user:
...
@@ -3145,6 +3144,7 @@ is_same_user:
...
@@ -3145,6 +3144,7 @@ is_same_user:
if
(
!
ret_list
)
{
if
(
!
ret_list
)
{
reset_mysql_conn
(
mysql_conn
);
reset_mysql_conn
(
mysql_conn
);
errno
=
rc
;
return
NULL
;
return
NULL
;
}
else
if
(
!
list_count
(
ret_list
))
{
}
else
if
(
!
list_count
(
ret_list
))
{
reset_mysql_conn
(
mysql_conn
);
reset_mysql_conn
(
mysql_conn
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment