Skip to content

Commit

Permalink
Merge pull request #54 from itkovian/move-to-kuykon-scratch-for-pickles
Browse files Browse the repository at this point in the history
Move to kuykon scratch for pickles #HPC-6645
  • Loading branch information
stdweird authored Sep 18, 2017
2 parents 5ebf3a9 + 242ac8b commit 4aecce3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/vsc/administration/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class VscTier2AccountpageUser(VscAccountPageUser):
A user on each of our Tier-2 system using the account page REST API
to retrieve its information.
"""
def __init__(self, user_id, storage=None, pickle_storage='VSC_SCRATCH_DELCATTY', rest_client=None,
def __init__(self, user_id, storage=None, pickle_storage='VSC_SCRATCH_KYUKON', rest_client=None,
account=None, pubkeys=None):
"""
Initialisation.
Expand Down Expand Up @@ -567,12 +567,12 @@ def __setattr__(self, name, value):


cluster_user_pickle_location_map = {
'delcatty': VscTier2AccountpageUser,
'kyukon': VscTier2AccountpageUser,
'muk': MukAccountpageUser,
}

cluster_user_pickle_store_map = {
'delcatty': 'VSC_SCRATCH_DELCATTY',
'kyukon': 'VSC_SCRATCH_KYUKON',
'muk': 'VSC_SCRATCH_MUK',
}

Expand Down Expand Up @@ -624,7 +624,7 @@ def process_users_quota(options, user_quota, storage_name, client):
if storage_name in ['VSC_DATA']:
user.set_data_quota()

if storage_name in ['VSC_SCRATCH_DELCATTY', 'VSC_SCRATCH_PHANPY']:
if storage_name in GENT_PRODUCTION_SCRATCH:
user.set_scratch_quota(storage_name)

ok_quota.append(quota)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from vsc.install.shared_setup import ag

PACKAGE = {
'version': '0.36.3',
'version': '0.37.0',
'author': [ag],
'maintainer': [ag],
'tests_require': ['mock'],
Expand Down

0 comments on commit 4aecce3

Please sign in to comment.