Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-32868

Summit config for Watcher is broken

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Won't Fix
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ts_integration
    • Labels:
      None
    • Team:
      Telescope and Site
    • Urgent?:
      No

      Description

      The following error is preventing the Watcher from transitioning:

      b'Traceback (most recent call last):\n File "/opt/lsst/software/stack/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-0.7.0/lib/python3.8/site-packages/lsst/ts/salobj/csc_utils.py", line 158, in set_summary_state\n await cmd.start(timeout=timeout)\n File "/opt/lsst/software/stack/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-0.7.0/lib/python3.8/site-packages/lsst/ts/salobj/topics/remote_command.py", line 483, in start\n return await cmd_info.next_ackcmd(timeout=timeout)\n File "/opt/lsst/software/stack/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-0.7.0/lib/python3.8/site-packages/lsst/ts/salobj/topics/remote_command.py", line 201, in next_ackcmd\n raise base.AckError(msg="Command failed", ackcmd=ackcmd)\nlsst.ts.salobj.base.AckError: msg=\'Command failed\', ackcmd=(ackcmd private_seqNum=1705528539, ack=<SalRetCode.CMD_FAILED: -302>, error=1, result="Failed: Config 1 for rule class OverTemperature not valid: config={\'name\': \'MT Camera Hexapod\', \'temperature_sensors\': [{\'sal_index\': 1, \'topics\': [{\'topic_name\': \'temperature\', \'sensor_names\': [{\'sensor_name\': \'CamHex_CCW-ESS01\', \'indices\': [2, 3, 4, 5, 5")\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File "/opt/lsst/software/stack/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-0.7.0/lib/python3.8/site-packages/lsst/ts/salobj/base_script.py", line 589, in do_run\n await self._run_task\n File "/home/saluser/ts_standardscripts/python/lsst/ts/standardscripts/set_summary_state.py", line 191, in run\n await salobj.set_summary_state(\n File "/opt/lsst/software/stack/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-0.7.0/lib/python3.8/site-packages/lsst/ts/salobj/csc_utils.py", line 160, in set_summary_state\n raise RuntimeError(\nRuntimeError: Error on cmd=cmd_start, initial_state=5: msg=\'Command failed\', ackcmd=(ackcmd private_seqNum=1705528539, ack=<SalRetCode.CMD_FAILED: -302>, error=1, result="Failed: Config 1 for rule class OverTemperature not valid: config={\'name\': \'MT Camera Hexapod\', \'temperature_sensors\': [{\'sal_index\': 1, \'topics\': [{\'topic_name\': \'temperature\', \'sensor_names\': [{\'sensor_name\': \'CamHex_CCW-ESS01\', \'indices\': [2, 3, 4, 5, 5")' 

       

        Attachments

          Issue Links

            Activity

            Hide
            rowen Russell Owen added a comment - - edited

            What version of ts_watcher and ts_config_ocs are you using?

            ts_config_ocs 0.12.0 requires ts_watcher 1.6 and ts_xml 10.1.

            Older versions of ts_config_cs do not include configuration for the new ESS-based rules, and as such, should work with ts_xml 10 or 10.1 and ts_watcher 1.6 or 1.5.

            Show
            rowen Russell Owen added a comment - - edited What version of ts_watcher and ts_config_ocs are you using? ts_config_ocs 0.12.0 requires ts_watcher 1.6 and ts_xml 10.1. Older versions of ts_config_cs do not include configuration for the new ESS-based rules, and as such, should work with ts_xml 10 or 10.1 and ts_watcher 1.6 or 1.5.
            Hide
            mareuter Michael Reuter added a comment -

            ts_watcher=1.6.0

            ts_config_ocs=0.10.0

            Show
            mareuter Michael Reuter added a comment - ts_watcher=1.6.0 ts_config_ocs=0.10.0
            Hide
            tribeiro Tiago Ribeiro added a comment -

            Let me update the config package and we see how it goes..

            Show
            tribeiro Tiago Ribeiro added a comment - Let me update the config package and we see how it goes..
            Hide
            tribeiro Tiago Ribeiro added a comment -

            It is a typo in the config file. Fixing it in DM-32877

            Show
            tribeiro Tiago Ribeiro added a comment - It is a typo in the config file. Fixing it in DM-32877
            Hide
            rowen Russell Owen added a comment -

            Fixed by Tiago Ribeiro in DM-32877

            Show
            rowen Russell Owen added a comment - Fixed by Tiago Ribeiro in DM-32877

              People

              Assignee:
              rowen Russell Owen
              Reporter:
              mareuter Michael Reuter
              Watchers:
              Michael Reuter, Russell Owen, Tiago Ribeiro
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.