<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:26:37 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-592] Pin down pfs and pfs-data uid/gids before shipping to Subaru.</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-592</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-22&quot; title=&quot;[ICD] Standard configuration (uid/gid/NFS) of summit ICS hosts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-22&quot;&gt;&lt;del&gt;INSTRM-22&lt;/del&gt;&lt;/a&gt; lists some OS conventions for ICS machines and software, and was written before PFS computers started being integrated at Subaru. LAM and JHU had settled on the &lt;tt&gt;pfs&lt;/tt&gt; and &lt;tt&gt;pfs-data&lt;/tt&gt; accounts having uid/gids of 1000 and 1001, respectively. But at Subaru user accounts are managed through a central LDAP server, and the two accounts were assigned 2085 and 2087. The ids will conflict when we deliver the SM1 BEEs.&lt;/p&gt;

&lt;p&gt;I can think of four solutions:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;renumber existing accounts at JHU and LAM. Ugh, especially at LAM.&lt;/li&gt;
	&lt;li&gt;use NFSv4 id mapping. NFSv4 uses &lt;tt&gt;user@domain&lt;/tt&gt; &lt;em&gt;names&lt;/em&gt;, and has mechanisms for mapping those to ids. We can try/test how well this works.&lt;/li&gt;
	&lt;li&gt;do &lt;em&gt;not&lt;/em&gt; treat the &lt;tt&gt;pfs&lt;/tt&gt; and &lt;tt&gt;pfs-data&lt;/tt&gt; accounts as LDAP-managed accounts at Subaru, and leave them at 1000/1001.&lt;/li&gt;
	&lt;li&gt;reconfigure the ids just on the BEEs on arrival at Subaru, or re-image them. We might be able to convince ourselves this is safe, testing-wise.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I think that re-imaging is the right choice. If not that, renumbering. We still need to build a decent way to re-image the BEEs in any case, and being able to set the user ids dynamically would be a modest requirement.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=fmadec&quot; class=&quot;user-hover&quot; rel=&quot;fmadec&quot;&gt;fmadec&lt;/a&gt;? &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=kiaina&quot; class=&quot;user-hover&quot; rel=&quot;kiaina&quot;&gt;Kiaina Schubert&lt;/a&gt;?&lt;/p&gt;</description>
                <environment></environment>
        <key id="13228">INSTRM-592</key>
            <summary>Pin down pfs and pfs-data uid/gids before shipping to Subaru.</summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</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="-1">Unassigned</assignee>
                                    <reporter username="cloomis">cloomis</reporter>
                        <labels>
                    </labels>
                <created>Thu, 10 Jan 2019 17:31:40 +0000</created>
                <updated>Mon, 14 Jan 2019 16:50:29 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="14771" author="fmadec" created="Mon, 14 Jan 2019 15:04:36 +0000"  >&lt;p&gt;I do not have strong opinion.&lt;/p&gt;

&lt;p&gt;renumbering is bit painful but acceptable. As you said, only bee is concerned because we do not deliver computer to SUBARU (of course ids have to match on each site). &lt;/p&gt;

&lt;p&gt;why do you need to re-image the bees in any case?&lt;/p&gt;</comment>
                            <comment id="14773" author="cloomis" created="Mon, 14 Jan 2019 16:50:29 +0000"  >&lt;p&gt;We do not &lt;em&gt;need&lt;/em&gt; to re-image before delivery, but we do need to have/provide a good scheme to create/install an image in the first place. Currently we PXE boot to a rescue disk and tftp/dd a premade image right onto the disk device. Crude, and if I were at Subaru barely or not acceptable.&lt;/p&gt;

&lt;p&gt;If that were to be redone properly, allowing for specifying uid/gids would not be much extra work.&lt;/p&gt;

&lt;p&gt;If LAM and JHU were to renumber, we &lt;em&gt;might&lt;/em&gt; have to renumber more than just the BEE ids, unless we used NFSv4 id mapping. Stuff in /software and /data, programs which are reading from /data, etc. Yes, we probably only need to renumber &lt;tt&gt;pfs-data&lt;/tt&gt; everywhere, and to be careful on other machines, but it might leak: we would be writing into /data with pfs gid=2085.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="12137">INSTRM-321</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="11339">INSTRM-22</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|s001zs:</customfieldvalue>

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