Details
-
Type:
Bug
-
Status: Invalid
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ts_middleware
-
Labels:None
-
Team:Telescope and Site
-
Urgent?:No
Description
I wanted someone to know I tried this, and it failed; I'm not sure if this is strictly a bug, or if it happened because I tried to do this before it was supported:
I tried removing the LSST_DDS_DOMAIN environment variable from the CSC environment, since we're using ospl-shmem.xml and the ospl-daemon. When I tried that, I got the following dump:
Traceback (most recent call last):
|
File "/home/saluser/dm_ATArchiver/bin/run_at_archiver_csc.py", line 6, in <module>
|
asyncio.run(ATArchiverCSC.amain(index=None))
|
File "/opt/lsst/software/stack/miniconda/lib/python3.8/asyncio/runners.py", line 44, in run
|
return loop.run_until_complete(main)
|
File "/opt/lsst/software/stack/miniconda/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
|
return future.result()
|
File "/opt/lsst/software/stack/miniconda/lib/python3.8/site-packages/lsst/ts/salobj/base_csc.py", line 410, in amain
|
csc = cls.make_from_cmd_line(index=index, **kwargs)
|
File "/opt/lsst/software/stack/miniconda/lib/python3.8/site-packages/lsst/ts/salobj/base_csc.py", line 390, in make_from_cmd_line
|
csc = cls(**kwargs)
|
File "/home/saluser/dm_ATArchiver/python/lsst/dm/ATArchiver/atarchiver_csc.py", line 36, in __init__
|
super().__init__("ATArchiver", initial_state=salobj.State.STANDBY)
|
File "/home/saluser/dm_csc_base/python/lsst/dm/csc/base/archiver_csc.py", line 45, in __init__
|
super().__init__(name, initial_state=initial_state)
|
File "/home/saluser/dm_csc_base/python/lsst/dm/csc/base/dm_csc.py", line 48, in __init__
|
super().__init__(name, initial_state=initial_state)
|
File "/opt/lsst/software/stack/miniconda/lib/python3.8/site-packages/lsst/ts/salobj/base_csc.py", line 172, in __init__
|
super().__init__(name=name, index=index, do_callbacks=True)
|
File "/opt/lsst/software/stack/miniconda/lib/python3.8/site-packages/lsst/ts/salobj/controller.py", line 172, in __init__
|
domain = Domain()
|
File "/opt/lsst/software/stack/miniconda/lib/python3.8/site-packages/lsst/ts/salobj/domain.py", line 200, in __init__
|
self.participant = dds.DomainParticipant(qos=participant_qos)
|
File "dds.pyx", line 2128, in dds.DomainParticipant.__cinit__
|
dds.DDSException: Failed to create participant Return code: Error
|
Deprecation of LSST_DDS_DOMAIN is in SAL 6, but it should work if you supply the
LSST_DDS_PARTITION_PREFIX instead.