acdcserver 2.3.3__tar.gz → 2.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {acdcserver-2.3.3/src/python/acdcserver.egg-info → acdcserver-2.3.4}/PKG-INFO +1 -1
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/adhoc-scripts/checkStuckLQE.py +2 -4
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/adhoc-scripts/drainAgent.py +1 -2
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/adhoc-scripts/getWQStatusByWorkflow.py +1 -3
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/dbsbuffer-file-fix.py +1 -1
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/kill-workflow-in-agent +2 -6
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/kill-workflow-in-global +2 -6
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/wmagent-couchapp-init +41 -8
- {acdcserver-2.3.3 → acdcserver-2.3.4}/setup_dependencies.py +5 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/__init__.py +1 -1
- {acdcserver-2.3.3 → acdcserver-2.3.4/src/python/acdcserver.egg-info}/PKG-INFO +1 -1
- {acdcserver-2.3.3 → acdcserver-2.3.4}/LICENSE +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/MANIFEST.in +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/NOTICE +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/README.md +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/HWMon/wmcore-SysStat +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/acdcserver-tools +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/adhoc-scripts/ParseSpecCmsswdist.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/adhoc-scripts/adjustMongoDocs.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/adhoc-scripts/checkDsetFileCount.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/adhoc-scripts/createPileupObjects.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/adhoc-scripts/fixWorkflowParentage.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/adhoc-scripts/injectUnified.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/adhoc-scripts/mongoInit.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/adhoc-scripts/parseUnifiedCampaigns.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/adhoc-scripts/setrequeststatus.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/adhoc-scripts/summaryWMStatsFailures.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/adhoc-scripts/updatePileupObjects.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/adhoc-scripts/updateTotalStats.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/adhoc-scripts/workflowCompletion.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/attempt-to-patch.sh +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/buildrelease.sh +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/check-ACDC-parentage +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/check-phedex-dbs-status +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/check-request-wq-status +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/clean-oracle +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/combineMinifyWMStats.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/couch-thrash.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/couch_archiver.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/create-iam-token.sh +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/createStoreResults.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/deploy-rpm-to-jenkins.sh +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/fix-dbs-parentage +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/inject-to-config-cache +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/make-local-clones.sh +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/outputmodules-from-config +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/patchComponent.sh +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/paused-jobs +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/purgeDeletedCouchDoc.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/reqmgr-put-default-config +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/reqmgr-sw-update +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/vaildateCMSSWMergeVersion +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/wmagent-delete-couchdb-workflow +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/wmagent-mod-config +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/wmagent-resource-control +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/wmagent-unregister-wmstats +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/wmagent-upload-config +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/wmagent-workqueue +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/wmc-dist-patch +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/wmc-dist-unpatch +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/wmc-httpd +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/wmcore-db-init +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/wmcore-new-config +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/wmcore-new-flow +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/bin/wmcoreD +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/requirements.txt +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/setup.cfg +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/setup.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/setup_build.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/_attachments/CouchDBLogo.png +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/_attachments/DMWMLogo.png +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/_attachments/collections.html +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/_attachments/displaycollection.html +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/_attachments/index.html +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/_attachments/style/main.css +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/_id +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/couchapp.json +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/filters/filterDeletedDocs.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/rewrites.json +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/validate_doc_update.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/vendor/acdc/_attachments/acdc.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/views/byCollectionName/map.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/views/byCollectionName/reduce.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/views/byTimestamp/map.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/views/coll_fileset_count/map.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/views/coll_fileset_count/reduce.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/views/coll_fileset_docs/map.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/views/coll_fileset_docs/reduce.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/.couchappignore +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/.couchapprc +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/_attachments/index.html +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/_attachments/style/main.css +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/_id +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/couchapp.json +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/updates/newgroup.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/updates/newuser.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/updates/ownthis.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/vendor/couchapp/README.md +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/vendor/couchapp/_attachments/jquery.couchapp.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/vendor/couchapp/couchapp.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/vendor/couchapp/date.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/vendor/couchapp/metadata.json +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/vendor/couchapp/path.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/vendor/couchapp/template.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/vendor/groupuser/_attachments/groupuser.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/views/group_members/map.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/views/groups/map.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/views/name_map/map.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/views/owner_group_user/map.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/GroupUser/views/users/map.js +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/ACDC/Collection.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/ACDC/CollectionTypes.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/ACDC/CouchCollection.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/ACDC/CouchFileset.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/ACDC/CouchService.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/ACDC/DataCollectionService.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/ACDC/Fileset.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/ACDC/__init__.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Algorithms/ParseXMLFile.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Algorithms/Permissions.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Algorithms/__init__.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Configuration.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/DataStructs/File.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/DataStructs/Fileset.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/DataStructs/Job.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/DataStructs/JobGroup.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/DataStructs/JobPackage.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/DataStructs/LumiList.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/DataStructs/Mask.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/DataStructs/Pickleable.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/DataStructs/Run.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/DataStructs/Subscription.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/DataStructs/WMObject.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/DataStructs/WorkUnit.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/DataStructs/Workflow.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/DataStructs/__init__.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Database/CMSCouch.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Database/ConfigDBMap.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Database/CouchUtils.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Database/DBCore.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Database/DBCreator.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Database/DBExceptionHandler.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Database/DBFactory.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Database/DBFormatter.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Database/Dialects.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Database/ExecuteDAO.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Database/MongoDB.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Database/MySQLCore.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Database/ResultSet.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Database/Transaction.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Database/__init__.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Database/ipy_profile_couch.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/GroupUser/CouchObject.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/GroupUser/Decorators.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/GroupUser/Group.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/GroupUser/Interface.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/GroupUser/User.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/GroupUser/__init__.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Lexicon.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Services/Requests.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Services/__init__.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Services/pycurl_manager.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/WMException.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Wrappers/JsonWrapper/JSONThunker.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Wrappers/JsonWrapper/__init__.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/WMCore/Wrappers/__init__.py +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/acdcserver.egg-info/SOURCES.txt +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/acdcserver.egg-info/dependency_links.txt +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/acdcserver.egg-info/requires.txt +0 -0
- {acdcserver-2.3.3 → acdcserver-2.3.4}/src/python/acdcserver.egg-info/top_level.txt +0 -0
|
@@ -72,10 +72,8 @@ def commonDataLocation(element):
|
|
|
72
72
|
return commonLoc
|
|
73
73
|
|
|
74
74
|
def main():
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
config = loadConfigurationFile(os.environ["WMAGENT_CONFIG"])
|
|
78
|
-
|
|
75
|
+
config = loadConfigurationFile(os.environ.get('WMA_CONFIG_FILE', '/data/srv/wmagent/current/config/config.py'))
|
|
76
|
+
|
|
79
77
|
if len(sys.argv) != 2:
|
|
80
78
|
print("You must provide a request name")
|
|
81
79
|
sys.exit(1)
|
|
@@ -366,8 +366,7 @@ def main():
|
|
|
366
366
|
twiki = ('<pre>', '</pre>') if args.twiki else ('', '')
|
|
367
367
|
print(twiki[0])
|
|
368
368
|
|
|
369
|
-
os.environ
|
|
370
|
-
config = loadConfigurationFile(os.environ["WMAGENT_CONFIG"])
|
|
369
|
+
config = loadConfigurationFile(os.environ.get('WMA_CONFIG_FILE', '/data/srv/wmagent/current/config/config.py'))
|
|
371
370
|
|
|
372
371
|
gmtTimeNow = strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime())
|
|
373
372
|
print("Drain check time: %s\n" % gmtTimeNow)
|
|
@@ -37,9 +37,7 @@ def createElementsSummary(reqName, elements, queueUrl):
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
def main():
|
|
40
|
-
|
|
41
|
-
os.environ['WMAGENT_CONFIG'] = '/data/srv/wmagent/current/config/wmagent/config.py'
|
|
42
|
-
config = loadConfigurationFile(os.environ["WMAGENT_CONFIG"])
|
|
40
|
+
config = loadConfigurationFile(os.environ.get('WMA_CONFIG_FILE', '/data/srv/wmagent/current/config/config.py'))
|
|
43
41
|
|
|
44
42
|
if len(sys.argv) != 2:
|
|
45
43
|
print("You must provide a request name")
|
|
@@ -9,7 +9,7 @@ from WMCore.Database.DBFormatter import DBFormatter
|
|
|
9
9
|
from WMCore.WMInit import connectToDB
|
|
10
10
|
|
|
11
11
|
def fixDBSmissingFileAssoc():
|
|
12
|
-
os.environ['
|
|
12
|
+
os.environ['WMA_CONFIG_FILE'] = '/data/srv/wmagent/current/config/config.py'
|
|
13
13
|
connectToDB()
|
|
14
14
|
myThread = threading.currentThread()
|
|
15
15
|
formatter = DBFormatter(logging, myThread.dbi)
|
|
@@ -16,12 +16,8 @@ def killWorkflowAgent(WorkflowName):
|
|
|
16
16
|
"""
|
|
17
17
|
Cancel work for a given workflow - delete in wmbs, delete from workqueue db, set canceled in inbox
|
|
18
18
|
"""
|
|
19
|
-
# get configuration file path
|
|
20
|
-
|
|
21
|
-
os.environ['WMAGENT_CONFIG'] = '/data/srv/wmagent/current/config/wmagent/config.py'
|
|
22
|
-
|
|
23
|
-
# load config
|
|
24
|
-
wmConfig = loadConfigurationFile(os.environ['WMAGENT_CONFIG'])
|
|
19
|
+
# get configuration file path and load it
|
|
20
|
+
wmConfig = loadConfigurationFile(os.environ.get('WMA_CONFIG_FILE', '/data/srv/wmagent/current/config/config.py'))
|
|
25
21
|
wqManager = wmConfig.section_('WorkQueueManager')
|
|
26
22
|
|
|
27
23
|
couchUrl = wqManager.couchurl
|
|
@@ -25,12 +25,8 @@ def main():
|
|
|
25
25
|
sys.exit(0)
|
|
26
26
|
wflowName = args[0]
|
|
27
27
|
|
|
28
|
-
# get configuration file path
|
|
29
|
-
|
|
30
|
-
os.environ['WMAGENT_CONFIG'] = '/data/srv/wmagent/current/config/wmagent/config.py'
|
|
31
|
-
|
|
32
|
-
# load config
|
|
33
|
-
wmConfig = loadConfigurationFile(os.environ['WMAGENT_CONFIG'])
|
|
28
|
+
# get configuration file path and load it
|
|
29
|
+
wmConfig = loadConfigurationFile(os.environ.get('WMA_CONFIG_FILE', '/data/srv/wmagent/current/config/config.py'))
|
|
34
30
|
|
|
35
31
|
gqService = WorkQueue(wmConfig.WorkloadSummary.couchurl,
|
|
36
32
|
wmConfig.WorkQueueManager.dbname)
|
|
@@ -18,6 +18,19 @@ from WMCore.Configuration import loadConfigurationFile
|
|
|
18
18
|
from WMCore.Lexicon import splitCouchServiceURL
|
|
19
19
|
from WMCore.WMBase import getWMBASE
|
|
20
20
|
|
|
21
|
+
parser = argparse.ArgumentParser()
|
|
22
|
+
parser.add_argument("--skip-cron", dest = "cron",
|
|
23
|
+
default = True, action = "store_false",
|
|
24
|
+
help = "Do not install maintenance cron jobs")
|
|
25
|
+
parser.add_argument("--only-cron", dest = "pushApps",
|
|
26
|
+
default = True, action = "store_false",
|
|
27
|
+
help = "Install only maintenance cron jobs")
|
|
28
|
+
options = parser.parse_args()
|
|
29
|
+
|
|
30
|
+
if not options.cron and not options.pushApps:
|
|
31
|
+
print("Mutually excluding options: --skip-cron && --only-cron")
|
|
32
|
+
print("Chose only one of them.")
|
|
33
|
+
sys.exit(1)
|
|
21
34
|
|
|
22
35
|
def couchAppRoot(couchapp):
|
|
23
36
|
"""Return parent path containing couchapp"""
|
|
@@ -31,7 +44,32 @@ def couchAppRoot(couchapp):
|
|
|
31
44
|
return os.path.join(wmcoreroot, 'data', 'couchapps')
|
|
32
45
|
raise OSError('Cannot find couchapp: %s' % couchapp)
|
|
33
46
|
|
|
34
|
-
|
|
47
|
+
# Defining a minimal decorator with parameter
|
|
48
|
+
def pushApps(pushAppsFlag):
|
|
49
|
+
"""
|
|
50
|
+
Decorator with a single Bool parameter
|
|
51
|
+
:param pushApps: Bool parameter to check if the callFunc is to be executed or not
|
|
52
|
+
:return: The decorated function with call arguments if pushApps=True
|
|
53
|
+
"""
|
|
54
|
+
def pushAppsDecorator(callFunc):
|
|
55
|
+
"""
|
|
56
|
+
An Auxiliary simple decorator
|
|
57
|
+
"""
|
|
58
|
+
def installCouchAppWrapper(*args, **kwargs):
|
|
59
|
+
"""
|
|
60
|
+
The callFunc wrapper. To decide whether to return the call to the
|
|
61
|
+
wrapped function or not based on the decorator's pushAppsFlag
|
|
62
|
+
:*args: All parameters passed to the wrapped function call
|
|
63
|
+
:**kwargs: All keyword arguments passed to the wrapped function call
|
|
64
|
+
"""
|
|
65
|
+
if pushAppsFlag:
|
|
66
|
+
return callFunc(*args, **kwargs)
|
|
67
|
+
else:
|
|
68
|
+
return
|
|
69
|
+
return installCouchAppWrapper
|
|
70
|
+
return pushAppsDecorator
|
|
71
|
+
|
|
72
|
+
@pushApps(options.pushApps)
|
|
35
73
|
def installCouchApp(couchUrl, couchDBName, couchAppName, basePath=None):
|
|
36
74
|
"""
|
|
37
75
|
_installCouchApp_
|
|
@@ -273,11 +311,6 @@ files_needed_from_yui = [
|
|
|
273
311
|
|
|
274
312
|
|
|
275
313
|
if __name__ == "__main__":
|
|
276
|
-
parser = argparse.ArgumentParser()
|
|
277
|
-
parser.add_argument("--skip-cron", dest = "cron",
|
|
278
|
-
default = True, action = "store_false",
|
|
279
|
-
help = "Do not install maintenance cron jobs")
|
|
280
|
-
options = parser.parse_args()
|
|
281
314
|
|
|
282
315
|
if "WMAGENT_CONFIG" not in os.environ:
|
|
283
316
|
print("The WMAGENT_CONFIG environment variable needs to be set before")
|
|
@@ -285,7 +318,7 @@ if __name__ == "__main__":
|
|
|
285
318
|
sys.exit(1)
|
|
286
319
|
|
|
287
320
|
wmagentConfig = loadConfigurationFile(os.environ["WMAGENT_CONFIG"])
|
|
288
|
-
|
|
321
|
+
|
|
289
322
|
if hasattr(wmagentConfig, "JobStateMachine") and hasattr(wmagentConfig.JobStateMachine, "couchDBName"):
|
|
290
323
|
fwjrDumpName = urllib.parse.quote_plus("%s/fwjrs" % wmagentConfig.JobStateMachine.couchDBName)
|
|
291
324
|
jobDumpName = urllib.parse.quote_plus("%s/jobs" % wmagentConfig.JobStateMachine.couchDBName)
|
|
@@ -355,7 +388,7 @@ if __name__ == "__main__":
|
|
|
355
388
|
urlsplit(wmagentConfig.WorkloadSummary.couchurl).scheme == 'http':
|
|
356
389
|
installCouchApp(wmagentConfig.ACDC.couchurl, wmagentConfig.ACDC.database, "ACDC")
|
|
357
390
|
installCouchApp(wmagentConfig.ACDC.couchurl, wmagentConfig.ACDC.database, "GroupUser")
|
|
358
|
-
|
|
391
|
+
|
|
359
392
|
if hasattr(wmagentConfig, "Tier0Feeder"):
|
|
360
393
|
installCouchApp(wmagentConfig.JobStateMachine.couchurl, wmagentConfig.Tier0Feeder.requestDBName, "T0Request")
|
|
361
394
|
centralWMStatsURL = wmagentConfig.General.centralWMStatsURL
|
|
@@ -186,6 +186,7 @@ dependencies = {
|
|
|
186
186
|
'WMCore.BossAir+', 'WMCore.Credential',
|
|
187
187
|
'WMCore.JobSplitting+', 'WMCore.ProcessPool',
|
|
188
188
|
'WMCore.Services+', 'WMCore.WMSpec+',
|
|
189
|
+
'WMCore.ReqMgr.DataStructs+', 'WMCore.ReqMgr.Tools+',
|
|
189
190
|
'WMCore.WMBS+', 'WMCore.ResourceControl+'],
|
|
190
191
|
'systems': ['wmc-web', 'wmc-database', 'global-workqueue', 'wmc-runtime'],
|
|
191
192
|
'statics': ['bin+',
|
|
@@ -196,6 +197,10 @@ dependencies = {
|
|
|
196
197
|
'src/couchapps/JobDump+',
|
|
197
198
|
'src/couchapps/WMStatsAgent+',
|
|
198
199
|
'src/couchapps/WorkQueue+',
|
|
200
|
+
'src/couchapps/T0Request+',
|
|
201
|
+
'src/couchapps/WMStats+',
|
|
202
|
+
'src/couchapps/LogDB+',
|
|
203
|
+
'src/couchapps/UserMonitoring+',
|
|
199
204
|
'src/javascript/WMCore/WebTools/Agent',
|
|
200
205
|
'src/javascript/WMCore/WebTools/WMBS',
|
|
201
206
|
'src/javascript/external/graphael',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{acdcserver-2.3.3 → acdcserver-2.3.4}/src/couchapps/ACDC/_attachments/displaycollection.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|