Skip to content

Commit

Permalink
Merge branch 'master' of github.com:opensciencegrid/topology
Browse files Browse the repository at this point in the history
  • Loading branch information
lmichael107 committed Feb 15, 2022
2 parents ab2d783 + bfa8a06 commit ae61ce5
Show file tree
Hide file tree
Showing 39 changed files with 801 additions and 65 deletions.
23 changes: 11 additions & 12 deletions bin/compare-factory-config.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/env python3
import yaml
import git
import tempfile
import sys
import os
import glob
Expand Down Expand Up @@ -192,22 +190,21 @@ def find_non_topology_matches(gfactory_DB, topology_DB, resources):


def run(argv):

# dictionary that adds GLIDEIN_ResourceNames under corresponding tags
topology_DB = {'resources': set(), # set of (name, fqdn) tuples
'sites': set(),
'facilities': set(),
'resourceGroups': set()}
get_topology_data(topology_DB)
# cloning gfactory repository to a temporary directory
temp_dir = tempfile.mkdtemp()
git.Repo.clone_from(
'https://github.com/opensciencegrid/osg-gfactory',
to_path=temp_dir
)
# cloning user input osg-gfactory repository to a temporary directory
if len(argv) != 2:
print('Error: Invalid number of arguments\nUsage: compare-factory-config.py <FACTORY CONFIG GIT REPO DIR>')
exit(2)
factory_config_dir = argv[1]

gfactory = []
gfactory.extend(glob.glob(os.path.abspath(temp_dir) + '/*.xml')
+ (glob.glob(os.path.abspath(temp_dir) + '/OSG_autoconf/*.yml')))
gfactory.extend(glob.glob(os.path.abspath(factory_config_dir) + '/*.xml')
+ (glob.glob(os.path.abspath(factory_config_dir) + '/OSG_autoconf/*.yml')))
# dictionary that stores (GLIDEIN_ResourceNames: (entry name, suggestion)) pairs
gfactory_DB = {}
if factory_dump:
Expand Down Expand Up @@ -235,7 +232,9 @@ def run(argv):
print(f'{x[0]},{x[1]},{x[2]}')
print() # creates an empty line gap between last record and new cmd line

shutil.rmtree(temp_dir, onerror=remove_readonly) # file cleanup

if match_nonresource_entries: # exit non-zero on mismatch (match_nonresource_entries is not empty)
exit(1)


if __name__ == "__main__":
Expand Down
7 changes: 3 additions & 4 deletions bin/osg-origin-authfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"""
A script to generate Authfiles for XCaches in the OSG
"""

import argparse
import os
import sys

Expand All @@ -16,9 +16,8 @@ if __name__ == "__main__" and __package__ is None:
import webapp.models
import stashcache

import argparse

parser = argparse.ArgumentParser(description="Generate an Xrootd Authfile appropriate for a given origin.")
parser.add_argument("--public", action="store_true", help="Generate a public origin Authfile")
parser.add_argument("fqdn", metavar="Origin_FQDN", nargs=1, help="FQDN of the origin for Authfile generation.")

args = parser.parse_args()
Expand All @@ -28,6 +27,6 @@ global_data = webapp.models.GlobalData()
VOData = global_data.get_vos_data()
ResourceGroups = global_data.get_topology().get_resource_group_list()

authfile = stashcache.generate_origin_authfile(args.fqdn[0], VOData, ResourceGroups, suppress_errors=False)
authfile = stashcache.generate_origin_authfile(args.fqdn[0], VOData, ResourceGroups, suppress_errors=False, public_only=args.public)

print(authfile, end="")
1 change: 1 addition & 0 deletions mappings/project_institution.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Repertoire: "Repertoire Immune Medicines"
Rochester: "University of Rochester"
Rowan: "Rowan University"
RPI: "Rensselaer Polytechnic Institute"
SalemState: "Salem State University"
SIUE: "Southern Illinois University Edwardsville"
SDSU: "San Diego State University"
SWOSU: "Southwest Oklahoma State University"
Expand Down
9 changes: 9 additions & 0 deletions projects/CMU_Viswanathan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Department: Department of Mechanical Engineering
Description: Physics-informed machine learning algorithms to facilitate improved prediction of battery performance
FieldOfScience: Mechanical Engineering
Organization: Carnegie-Mellon University
PIName: Venkat Viswanathan

Sponsor:
CampusGrid:
Name: OSG Connect
2 changes: 1 addition & 1 deletion projects/OSG-Staff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Department: Computing Sector
Description: Integration and testing of science applications for new users
FieldOfScience: Computer and Information Science and Engineering
ID: '6'
Organization: Fermilab
Organization: OSG
PIName: Frank Wuerthwein
Sponsor:
VirtualOrganization:
Expand Down
9 changes: 9 additions & 0 deletions projects/PSU_Kennea.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Department: Department of Astronomy and Astrophysics
Description: Swift BAT data to localize Gamma-ray Bursts
FieldOfScience: Astronomy
Organization: Pennsylvania State University
PIName: Jamie Kennea

Sponsor:
CampusGrid:
Name: OSG Connect
9 changes: 9 additions & 0 deletions projects/SalemState_Poitevin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Department: Department of Mathematics
Description: Find segments of nucleotides in different genomes that can be parsed both visually and phonetically.
FieldOfScience: Visual Arts
Organization: Salem State University
PIName: Pedro Poitevin

Sponsor:
CampusGrid:
Name: OSG Connect
11 changes: 11 additions & 0 deletions projects/TG-BIO200038.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Description: >
RNAMake Science Gateway: a public resource for the design
and analysis of RNA 3D structure for custom nanomachines
Department: Chemistry
FieldOfScience: Biophysics
Organization: University of Nebraska-Lincoln
PIName: Joseph Yesselman

Sponsor:
CampusGrid:
Name: OSG Connect
9 changes: 9 additions & 0 deletions projects/TG-TRA090005.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Description: Campus Champion Allocation for University of Michigan
Department: Advanced Research Computing - Technology Services
FieldOfScience: Training
Organization: University of Michigan
PIName: Michelle Johnson

Sponsor:
CampusGrid:
Name: OSG Connect
14 changes: 14 additions & 0 deletions projects/TG-TRA220014.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Description: This Campus Champions allocation will primarily be used
to allow USDA-ARS SCINet (https://scinet.usda.gov/) users to
evaluate Jetstream as a possible alternative to public cloud (AWS,
Azure) resources, which can be administratively difficult to
obtain; as well as evaluate resources (e.g., newer GPU models) that
are unavailable on SCINet HPC clusters.
Department: Corn Insects and Crop Genetics Research Unit
FieldOfScience: Training
Organization: USDA Agricultural Research Service
PIName: Nathan Weeks

Sponsor:
CampusGrid:
Name: OSG Connect
9 changes: 9 additions & 0 deletions projects/Training-ACE-NIAID.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Description: Group for ACE training (through NIAID/NIH)
Department: Bioinformatics and Computational Biosciences Branch (BCBB)
FieldOfScience: Biological Sciences
Organization: NIAID/NIH
PIName: Mariam Quiñones

Sponsor:
CampusGrid:
Name: OSG Connect
9 changes: 9 additions & 0 deletions projects/UCDavis_Leveau.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Department: Department of Plant Pathology
Description: Study of plant-microbe interactions specifically pertaining to microbes in the phyllosphere (leaf surface)
FieldOfScience: Biological and Biomedical Sciences
Organization: University of California, Davis
PIName: Johan Leveau

Sponsor:
CampusGrid:
Name: OSG Connect
9 changes: 9 additions & 0 deletions projects/UCSD_Duarte.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Department: Department of Physics
Description: Machine learning (ML) development for particle physics, primarily for the CMS experiment at the CERN Large Hadron Collider.
FieldOfScience: High Energy Physics
Organization: University of California, San Diego
PIName: Javier Duarte

Sponsor:
CampusGrid:
Name: OSG Connect
10 changes: 10 additions & 0 deletions projects/UND_Delhommelle.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Description: Unraveling Crystallization and Phase Transition Processes
through Topology, Rare-Event Simulations, and Machine Learning
Department: Chemistry
FieldOfScience: Physical Chemistry
Organization: University of North Dakota
PIName: Jerome Delhommelle

Sponsor:
CampusGrid:
Name: OSG Connect
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,14 @@
- CE
- GridFtp
# ---------------------------------------------------------
- Class: UNSCHEDULED
ID: 1085853095
Description: 'GPFS issue retiring old pool. Need a few hours without DDM to fix. '
Severity: Severe
StartTime: Jan 30, 2022 23:45 +0000
EndTime: Jan 31, 2022 12:00 +0000
CreatedTime: Jan 30, 2022 23:28 +0000
ResourceName: NET2
Services:
- GridFtp
# ---------------------------------------------------------
Original file line number Diff line number Diff line change
Expand Up @@ -1800,8 +1800,8 @@
ID: 997651556
Description: Networking upgrades, Power station switch
Severity: Outage
StartTime: Feb 07, 2022 07:00 -0800
EndTime: Feb 08, 2022 17:00 -0800
StartTime: Feb 18, 2022 17:00 -0800
EndTime: Feb 22, 2022 17:00 -0800
CreatedTime: Jan 21, 2022 17:00 -0800
ResourceName: CIT_CMS_SE
Services:
Expand All @@ -1811,8 +1811,8 @@
ID: 997651557
Description: Networking upgrades, Power station switch
Severity: Outage
StartTime: Feb 07, 2022 07:00 -0800
EndTime: Feb 08, 2022 17:00 -0800
StartTime: Feb 18, 2022 17:00 -0800
EndTime: Feb 22, 2022 17:00 -0800
CreatedTime: Jan 21, 2022 17:00 -0800
ResourceName: CIT_CMS_T2
Services:
Expand All @@ -1822,8 +1822,8 @@
ID: 997651558
Description: Networking upgrades, Power station switch
Severity: Outage
StartTime: Feb 07, 2022 07:00 -0800
EndTime: Feb 08, 2022 17:00 -0800
StartTime: Feb 18, 2022 17:00 -0800
EndTime: Feb 22, 2022 17:00 -0800
CreatedTime: Jan 21, 2022 17:00 -0800
ResourceName: CIT_CMS_T2B
Services:
Expand All @@ -1833,8 +1833,8 @@
ID: 997651559
Description: Networking upgrades, Power station switch
Severity: Outage
StartTime: Feb 07, 2022 07:00 -0800
EndTime: Feb 08, 2022 17:00 -0800
StartTime: Feb 18, 2022 17:00 -0800
EndTime: Feb 22, 2022 17:00 -0800
CreatedTime: Jan 21, 2022 17:00 -0800
ResourceName: CIT_CMS_T2C
Services:
Expand All @@ -1844,8 +1844,8 @@
ID: 997651560
Description: Networking upgrades, Power station switch
Severity: Outage
StartTime: Feb 07, 2022 07:00 -0800
EndTime: Feb 08, 2022 17:00 -0800
StartTime: Feb 18, 2022 17:00 -0800
EndTime: Feb 22, 2022 17:00 -0800
CreatedTime: Jan 21, 2022 17:00 -0800
ResourceName: CIT_CMS_T2_Squid
Services:
Expand All @@ -1855,8 +1855,8 @@
ID: 997651561
Description: Networking upgrades, Power station switch
Severity: Outage
StartTime: Feb 07, 2022 07:00 -0800
EndTime: Feb 08, 2022 17:00 -0800
StartTime: Feb 18, 2022 17:00 -0800
EndTime: Feb 22, 2022 17:00 -0800
CreatedTime: Jan 21, 2022 17:00 -0800
ResourceName: CIT_CMS_T2_2_Squid
Services:
Expand All @@ -1866,8 +1866,8 @@
ID: 997651562
Description: Networking upgrades, Power station switch
Severity: Outage
StartTime: Feb 07, 2022 07:00 -0800
EndTime: Feb 08, 2022 17:00 -0800
StartTime: Feb 18, 2022 17:00 -0800
EndTime: Feb 22, 2022 17:00 -0800
CreatedTime: Jan 21, 2022 17:00 -0800
ResourceName: CIT-CMS-T2-XRD
Services:
Expand All @@ -1877,8 +1877,8 @@
ID: 997651563
Description: Networking upgrades, Power station switch
Severity: Outage
StartTime: Feb 07, 2022 07:00 -0800
EndTime: Feb 08, 2022 17:00 -0800
StartTime: Feb 18, 2022 17:00 -0800
EndTime: Feb 22, 2022 17:00 -0800
CreatedTime: Jan 21, 2022 17:00 -0800
ResourceName: CIT_CMS_SE_Ceph
Services:
Expand All @@ -1888,10 +1888,57 @@
ID: 997651564
Description: Networking upgrades, Power station switch
Severity: Outage
StartTime: Feb 07, 2022 07:00 -0800
EndTime: Feb 08, 2022 17:00 -0800
StartTime: Feb 18, 2022 17:00 -0800
EndTime: Feb 22, 2022 17:00 -0800
CreatedTime: Jan 21, 2022 17:00 -0800
ResourceName: CIT_CMS_T2_XRD_Ceph
Services:
- XRootD component

# ----------------------------------------
# Replacing faulty storage headnodes
#
- Class: SCHEDULED
ID: 997651565
Description: Replacing faulty storage nodes
Severity: Outage
StartTime: Feb 7, 2022 09:00 -0800
EndTime: Feb 7, 2022 12:00 -0800
CreatedTime: Feb 04, 2022 15:00 -0800
ResourceName: CIT_CMS_SE
Services:
- GridFtp

- Class: SCHEDULED
ID: 997651566
Description: Replacing faulty storage nodes
Severity: Outage
StartTime: Feb 7, 2022 09:00 -0800
EndTime: Feb 7, 2022 12:00 -0800
CreatedTime: Feb 04, 2022 15:00 -0800
ResourceName: CIT-CMS-T2-XRD
Services:
- XRootD component

- Class: SCHEDULED
ID: 997651567
Description: Replacing faulty storage nodes
Severity: Outage
StartTime: Feb 7, 2022 09:00 -0800
EndTime: Feb 7, 2022 12:00 -0800
CreatedTime: Feb 04, 2022 15:00 -0800
ResourceName: CIT_CMS_SE_Ceph
Services:
- GridFtp

- Class: SCHEDULED
ID: 997651568
Description: Replacing faulty storage nodes
Severity: Outage
StartTime: Feb 7, 2022 09:00 -0800
EndTime: Feb 7, 2022 12:00 -0800
CreatedTime: Feb 04, 2022 15:00 -0800
ResourceName: CIT_CMS_T2_XRD_Ceph
Services:
- XRootD component

Loading

0 comments on commit ae61ce5

Please sign in to comment.