Skip to content

Commit aa1052e

Browse files
Merge pull request #23 from yiiyama/production
Configuration change
2 parents 2b1a270 + d0df58f commit aa1052e

5 files changed

Lines changed: 4 additions & 5 deletions

File tree

bin/dynamo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ from argparse import ArgumentParser
1212
parser = ArgumentParser(description = 'Dynamo')
1313
parser.add_argument('module', metavar = 'MODULE', nargs = '+', help = 'detox and/or dealer.')
1414
parser.add_argument('--force-inventory-update', '-I', action = 'store_true', dest = 'force_inventory_update', help = 'Force inventory to update.')
15-
parser.add_argument('--detox-partition', '-p', metavar = 'PARTITION', dest = 'detox_partitions', nargs = '+', default = ['Physics', 'RelVal', 'Express'], help = 'Name of the detox partitions. Syntax is <partition>[:<definition name>]. Definition name is translated to path DYNAMO_BASE/policies/detox/<partition>.txt. If none is given, partition name is used.')
15+
parser.add_argument('--detox-partition', '-p', metavar = 'PARTITION', dest = 'detox_partitions', nargs = '+', default = ['Physics', 'RelVal'], help = 'Name of the detox partitions. Syntax is <partition>[:<definition name>]. Definition name is translated to path DYNAMO_BASE/policies/detox/<partition>.txt. If none is given, partition name is used.')
1616
parser.add_argument('--dealer-plugins', '-g', metavar = 'PLUGIN:PRIORITY', dest = 'dealer_plugins', nargs = '+', default = ['Popularity:3', 'Balancer:2', 'Undertaker:1'], help = 'Name:Priority of the dealer plugins to run.')
1717
parser.add_argument('--comment', '-m', metavar = 'COMMENT', dest = 'comment', help = 'Comment to be sent to deletion interface as well as the local deletion record.')
1818
parser.add_argument('--no-auto-approval', '-P', action = 'store_true', dest = 'no_auto_approval', help = 'Do not approve deletion and transfer requests automatically.')

bin/dynamod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ do
8686
APPLICATIONS="$APPLICATIONS dealer"
8787
fi
8888

89-
if [ $(($IHOUR%$INVENTORY_FULL_UPDATE_INTERVAL)) -eq 0 ]
89+
if [ $(($IHOUR%$INVENTORY_FULL_UPDATE_INTERVAL)) -eq 0 ] && ! [ "$TEST" ]
9090
then
9191
echo "Performing the full update of inventory"
9292
$DYNAMO_BASE/bin/execlib common/inventory.py updatefull --site @disk

etc/policies.tag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v52
1+
v53

lib/common/configuration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@
132132
included_sites = disk_sites,
133133
excluded_sites = [
134134
'T1_US_FNAL_New_Disk', # not a valid site
135-
'T1_UK_RAL_ECHO_Disk', # not an actual site
136135
'T2_CH_CERNBOX', # not a valid site
137136
'T2_MY_UPM_BIRUNI', # site not in popDB
138137
],

lib/dealer/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from common.dataformat import Configuration
22

33
main = Configuration(
4-
target_sites = ['T2_*', 'T1_*_Disk', '!T2_GR_Ioannina', '!T2_TR_METU'],
4+
target_sites = ['T2_*', '!T1_*_Disk', 'T1_UK_RAL_ECHO_Disk', '!T2_GR_Ioannina', '!T2_RU_INR', '!T2_IT_Pisa', '!T2_RU_ITEP'],
55
max_dataset_size = 50., # Maximum dataset size to consider for copy in TB
66
max_copy_per_site = 50., # Maximum volume to be copied per site in TB
77
max_copy_total = 200.,

0 commit comments

Comments
 (0)