-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I plan to use the Demo DID Finder as a starting point for the SuperCDMS DID finder.
So first I am trying to deploy and test it.
-
I deploy a minimal configuration for ServiceX via Helm https://github.com/pondd-project/pondd-jetstream/blob/main/servicex/values_minimal.yaml
-
I build the Demo container
-
I deploy it with this deployment YAML:
--- apiVersion: apps/v1 kind: Deployment metadata: name: did-finder-demo spec: replicas: 1 selector: matchLabels: app: did-finder-demo template: metadata: labels: app: did-finder-demo spec: containers: - name: did-finder-demo image: servicex-did-finder-demo:latest imagePullPolicy: Never env: - name: INSTANCE_NAME value: pondd-servicex args: - --rabbit-uri - amqp://user:leftfoot1@pondd-servicex-rabbitmq:5672
Then I try to test using the servicex package like in simple_query.ipynb, and I get same error I was getting with the CERN opendata:
Traceback (most recent call last):
File "simple_query.py", line 8, in <module>
sx_dataset = ServiceXDataset("demo://dataset1", backend_name='dev_uproot')
File "/home/zonca/miniconda3/envs/pondd/lib/python3.8/site-packages/servicex/servicex.py", line 220, in __init__
end_point, token = config.get_servicex_adaptor_config(backend_name)
File "/home/zonca/miniconda3/envs/pondd/lib/python3.8/site-packages/servicex/servicex_config.py", line 173, in get_servicex_adaptor_config
config = self._get_backend_info(backend_name)
File "/home/zonca/miniconda3/envs/pondd/lib/python3.8/site-packages/servicex/servicex_config.py", line 121, in _get_backend_info
raise ServiceXException(f'Unable to find name/type {backend_name} '
servicex.utils.ServiceXException: (ServiceXException(...), 'Unable to find name/type dev_uproot in api_endpoints in servicex.yaml configuration file. Saw only names (default, default) and types (xaod, cms_run1_aod)')
instead if I try to test with post.py from the Girder DID finder I get:
python post.py 5000 yt.json
Handling connection for 5000
{'message': 'DID scheme is not supported: demo'}
How do I tell ServiceX that the demo DID finder is available? @BenGalewsky @Michael-D-Johnson @gordonwatts
Metadata
Metadata
Assignees
Labels
No labels