<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:28:40 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-790] ion pumps communication issue</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-790</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;This is not new, but it often happened this time&lt;/p&gt;

&lt;p&gt;it can happen at the ion pumps start as shown below or in operation by the monitoring.&lt;/p&gt;

&lt;p&gt;it would be &quot;nice&quot; to have a way to handle that before starting operation at Subaru&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&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;2019-10-03 15:23:19 xcu_r1 w text=&quot;failed to create connect or send to ion pump: [Errno 111] Connection refused&quot;
2019-10-03 15:23:19 xcu_r1 f text=&quot;command failed: ConnectionRefusedError(111, &apos;Connection refused&apos;) in sendOneCommand() at /software/mhs/products/Linux64/ics_xcuActor/1.11.1/python/xcuActor/Controllers/ionpump.py:65&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="13805">INSTRM-790</key>
            <summary>ion pumps communication issue</summary>
                <type id="1" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10503&amp;avatarType=issuetype">Bug</type>
                                            <priority id="10000" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/medium.svg">Normal</priority>
                        <status id="1" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="cloomis">cloomis</assignee>
                                    <reporter username="fmadec">fmadec</reporter>
                        <labels>
                            <label>SPS</label>
                    </labels>
                <created>Mon, 7 Oct 2019 08:09:50 +0000</created>
                <updated>Wed, 16 Oct 2019 15:10:54 +0000</updated>
                                                                            <component>ics_xcuActor</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="16221" author="cloomis" created="Mon, 7 Oct 2019 18:23:07 +0000"  >&lt;p&gt;The chained pair of ionpump controllers which controls all six ion pumps for the three cryostats are accessible as two RS-485 nodes behind a single MOXA RS-485 port. This cluster of things is commanded from three independent actors. This cannot be reliable, really.&#160;One of the earlier tickets discussing ion pump communications problems suggested having either an &lt;tt&gt;ionpumpActor&lt;/tt&gt; or at least a single program to sequence all commands to the controllers. The traffic is very simple, so either seems rational. Will think about which is best.&lt;/p&gt;

&lt;p&gt;I looked more carefully at the MOXA configuration options, and do not believe we can use it to sequence TCP connections: MOXAs can allow multiple &lt;em&gt;concurrent&lt;/em&gt; connections, but that would be &lt;b&gt;much&lt;/b&gt; worse.&lt;/p&gt;

&lt;p&gt;An inventory of all the &lt;tt&gt;Connection refused&lt;/tt&gt; failures in 2019 does suggest that simply retrying after some small random delay would significantly improve matters.  But that cannot entirely fix the real problem.&lt;/p&gt;

&lt;p&gt;For r1 and b1 together, 2019 showed 1_260_000 commands with all but 49 being &lt;tt&gt;status&lt;/tt&gt; commands; 11_000 of those connections were refused. All but 136 of the refused connections were from when the periodic status queries for the two cryostats synced up (07-1* and 09-1*). The periodic tasks are re-scheduled based on the system clock and not from the end of a command, so it is very easy to get locked into a hopeless failure. Different ticket, but naively retrying to fix this ticket&apos;s problems would probably make things worse without addressing that. I&apos;d rather add a new actor than change that.&lt;/p&gt;

</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="13806">INSTRM-791</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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:i6001gs8</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="64">SM1-2019 P</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>