<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:27:52 JST 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>PFS-JIRA</title>
    <link>https://pfspipe.ipmu.jp/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.3.4</version>
        <build-number>803005</build-number>
        <build-date>13-09-2019</build-date>
    </build-info>


<item>
            <title>[INSTRM-711] Implement Simplified alertsActor for LAM AIT</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-711</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;As discussed in last ICS/DRP+SpS telecon 2019-07-10, instead of the full alertsActor implementation of &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-451&quot; title=&quot;Implement and use alertsActor for LAM AIT&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-451&quot;&gt;&lt;del&gt;INSTRM-451&lt;/del&gt;&lt;/a&gt;, implement a simplified solution where the actor reads a YAML file with threshold and apply those thresholds to generate STS keywords.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="13671">INSTRM-711</key>
            <summary>Implement Simplified alertsActor for LAM AIT</summary>
                <type id="10001" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10515&amp;avatarType=issuetype">Story</type>
                                            <priority id="3" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/major.svg">Major</priority>
                        <status id="10002" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="The issue is resolved, reviewed, and merged">Done</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="arnaud.lefur">arnaud.lefur</assignee>
                                    <reporter username="hassan">hassan</reporter>
                        <labels>
                            <label>SM1</label>
                    </labels>
                <created>Tue, 16 Jul 2019 12:49:37 +0000</created>
                <updated>Tue, 27 Aug 2019 15:47:37 +0000</updated>
                            <resolved>Thu, 22 Aug 2019 09:27:59 +0000</resolved>
                                                                    <component>ics_alertsActor</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="15763" author="cloomis" created="Tue, 16 Jul 2019 13:51:57 +0000"  >&lt;p&gt;Specifically, there is a template config file for alerts in &lt;tt&gt;config/keywordAlerts.py&lt;/tt&gt;, and I suggest that we implement &lt;em&gt;only&lt;/em&gt; the &lt;tt&gt;limitsAlert&lt;/tt&gt; part. E.g.&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;  meb:                          # MCS E-Box
    flow:
      &amp;lt;&amp;lt;: *LIMITS_ALERT
      limits: [0.0, null]
      alertFmt: &apos;coolant flow has stopped&apos;
    temps[0]:
      &amp;lt;&amp;lt;: *LIMITS_ALERT
      limits: [10.0, 25.0]
      alertFmt: &apos;temperature out of range&apos;

  xcu_{cam}:                    # All XCUs
    pcmPower[bus1]:
      &amp;lt;&amp;lt;: *LIMITS_ALERT
      limits: [23.5, null]
      alertFmt: &apos;Input power is failing!!: {value}V&apos;
    pcmPower[bus2]:
      &amp;lt;&amp;lt;: *LIMITS_ALERT
      limits: [23.5, null]
      alertFmt: &apos;Input power is failing!!: {value}V&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="15764" author="cloomis" created="Tue, 16 Jul 2019 13:56:04 +0000"  >&lt;p&gt;And I&apos;ll point out &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-311&quot; title=&quot;Fix when condition in hwraid role&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-311&quot;&gt;&lt;del&gt;INSTRM-311&lt;/del&gt;&lt;/a&gt;. I believe that this is the sane thing to do:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;make &lt;em&gt;all&lt;/em&gt; STS types STRING+INTEGER or STRING+FLOAT.&lt;/li&gt;
	&lt;li&gt;make that STRING &quot;OK&quot; or something useful to a human&lt;/li&gt;
	&lt;li&gt;STS logic &lt;em&gt;only&lt;/em&gt; looks at the OK/other (and a couple of timeouts)&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="15767" author="hassan" created="Tue, 16 Jul 2019 20:43:32 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt;: Is your proposal above for the &lt;tt&gt;alertFmt&lt;/tt&gt; in &lt;tt&gt;config/keywordAlerts.yaml&lt;/tt&gt; ? And then regarding the STS logic, would that be a configuration for the &apos;real&apos; STS server? &lt;/p&gt;</comment>
                            <comment id="15768" author="cloomis" created="Tue, 16 Jul 2019 21:06:17 +0000"  >&lt;p&gt;Yes. Exactly the same logic for both the fake and the real STS server. I don&apos;t think the alertsActor can tell the difference.&lt;/p&gt;

&lt;p&gt;Note that the actor is currently using the simpler &lt;tt&gt;STS.yaml&lt;/tt&gt;, where the magic integers are the assigned STS IDs. I think we should merge &lt;tt&gt;STS.yaml&lt;/tt&gt; and the more expressive &lt;tt&gt;keywordAlerts.yaml&lt;/tt&gt; Obviously for &quot;STRING+FLOAT&quot; above I should have written &quot;FLOAT+TEXT&quot;.&lt;/p&gt;

&lt;p&gt;The existing &lt;tt&gt;Controllers/actorRules.py&lt;/tt&gt; wires the &lt;tt&gt;STS.yaml&lt;/tt&gt; keywords to automatically forward to the STS server when they get updated. It actually already checks whether there is an entry in &lt;tt&gt;.actor.activeAlerts&lt;/tt&gt; and forwards that instead of &quot;OK&quot;. We need to also wire in any limit, etc. checks, which just need to set the entry in &lt;tt&gt;actor.activeAlerts&lt;/tt&gt;. &lt;/p&gt;

&lt;p&gt;Note also that we probably do not need to debounce or latch errors, since the STS server does that for us. That is a pretty significant simplification. I.e. if a key field goes back within its limits, we can simply set it back to &quot;OK&quot; &amp;#8211; the STS server will deal with the latching and give the human a way to clean and rearm. Very nice.&lt;/p&gt;</comment>
                            <comment id="15776" author="hassan" created="Wed, 17 Jul 2019 15:20:17 +0000"  >&lt;p&gt;Alerts should be generated on the main pressures, temperatures and voltages.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="12774">INSTRM-451</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_10500" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|02qpuc:i6001gzi</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10100" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Reviewers</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>cloomis</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="54">SM1-2019 K</customfieldvalue>
    <customfieldvalue id="56">SM1-2019 L</customfieldvalue>
    <customfieldvalue id="60">SM1-2019 M</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>