Project

General

Profile

Feature #23234

make default --use-cvmfs-tarball behavior configurable by group

Added by Dennis Box over 1 year ago. Updated 4 months ago.

Status:
Under Discussion
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
10/04/2019
Due date:
% Done:

0%

Estimated time:
(Total: 0.00 h)
Stakeholders:
Duration:

Description

It turns out some groups, (mars) cannot use cvmfs for storage, so make the default behavior configurable by group in the ini file


Subtasks

Bug #23380: need to be able to deny ROLES access to rapid code distributionResolvedDennis Box


Related issues

Has duplicate JobSub - Feature #23241: Make Rapid Code Distribution feature configurable by groupClosed09/09/2019

History

#1 Updated by Shreyas Bhat over 1 year ago

  • Has duplicate Feature #23241: Make Rapid Code Distribution feature configurable by group added

#2 Updated by Shreyas Bhat over 1 year ago

  • Assignee set to Shreyas Bhat

The flag --use-cvmfs-dropbox needs to be set as a default based on a flag in the config file. We should be able to override this using the flag specified in #23380.

#3 Updated by Dennis Box over 1 year ago

  • Assignee changed from Shreyas Bhat to Dennis Box

#4 Updated by Shreyas Bhat 10 months ago

  • Assignee changed from Dennis Box to Shreyas Bhat

#5 Updated by Shreyas Bhat 10 months ago

  • Status changed from New to Work in progress

Started work on this.

#6 Updated by Dennis Box 9 months ago

  • Target version set to v1.3.3
  • Assignee changed from Shreyas Bhat to Dennis Box

#7 Updated by Dennis Box 4 months ago

  • Assignee changed from Dennis Box to Shreyas Bhat
  • Status changed from Work in progress to Feedback

Shreyas,
Please review branch 23234-v2 as an implemtation of this issue.
Thanks
Dennis

#8 Updated by Shreyas Bhat 4 months ago

  • Assignee changed from Shreyas Bhat to Dennis Box
  • Status changed from Feedback to Under Discussion

This looks good, and I only have one comment:

In JobsubClient.dropboxMethod: What happens if a user specifies both --use-cvmfs-dropbox and --use-pnfs-dropbox by mistake? It looks right now as if PNFS will be chosen. Perhaps make it so that one or none must be chosen:

    if self.extra_opts.get('use_cvmfs_dropbox') and self.extra_opts.get('use_pnfs_dropbox'):
        raise JobsubClientError('You can only choose one of --use-cvmfs-dropbox or --use-pnfs-dropbox')

Also available in: Atom PDF