[Lerftest-ctrls] set_profile no longer works

Wesley Moore wmoore at jlab.org
Wed Jun 13 15:33:17 EDT 2018


Sounds good Patrick.  I think we should follow-up to try to understand what the issue was.  We can turn puppet off on a host and do any testing you need to.  

To sum up the current workaround:

- Changed /home to point to /u/home/links, a directory containing CUE home symlinks.
- On CUE fileserver, added screen -> /s/home/screen, which will only resolve on our LCLS hosts.

Wesley

----- Original Message -----
> From: "Patrick James Pascual" <ppascual at slac.stanford.edu>
> To: "Wesley Moore" <wmoore at jlab.org>
> Cc: "lerftest-ctrls" <lerftest-ctrls at jlab.org>
> Sent: Wednesday, June 13, 2018 3:26:57 PM
> Subject: Re: [Lerftest-ctrls] set_profile no longer works

> Hi Wesley,
> 
> Looks like it works. Not sure why the permissions didn't work either, I'll
> investigate that as a potential alternative in case the /home/screen stuff
> isn't a long-term solution, but for now it should be fine.
> 
> Thanks,
> 
> Patrick J. Pascual
> Controls Software/Systems Engineer, EED
> Bldg 034, Rm 208A
> 2575 Sand Hill Rd., MS50
> Menlo Park, CA 94025
> (650) 926-3539
> 
> ________________________________________
> From: Lerftest-ctrls <lerftest-ctrls-bounces at jlab.org> on behalf of Pascual,
> Patrick James <ppascual at slac.stanford.edu>
> Sent: Wednesday, June 13, 2018 12:23:35 PM
> To: Wesley Moore
> Cc: lerftest-ctrls
> Subject: Re: [Lerftest-ctrls] set_profile no longer works
> 
> Thanks, I'll test it out and let you know.
> 
> Patrick J. Pascual
> Controls Software/Systems Engineer, EED
> Bldg 034, Rm 208A
> 2575 Sand Hill Rd., MS50
> Menlo Park, CA 94025
> (650) 926-3539
> 
> ________________________________________
> From: Wesley Moore <wmoore at jlab.org>
> Sent: Wednesday, June 13, 2018 12:22:43 PM
> To: Pascual, Patrick James
> Cc: lerftest-ctrls
> Subject: Re: [Lerftest-ctrls] set_profile no longer works
> 
> I've got it setup.  There may be something automated that undoes it.  So I'm
> watching for that.  But please try the current setup on lclsapp1/2 and see if
> it's happy now.
> 
> Wesley
> 
> ----- Original Message -----
>> From: "Patrick James Pascual" <ppascual at slac.stanford.edu>
>> To: "Wesley Moore" <wmoore at jlab.org>
>> Cc: "lerftest-ctrls" <lerftest-ctrls at jlab.org>
>> Sent: Wednesday, June 13, 2018 2:04:55 PM
>> Subject: Re: [Lerftest-ctrls] set_profile no longer works
> 
>> Hi Wesley,
>>
>> It looks like setting SCREENBIN and SCREENDIR don't seem to resolve the issue
>> with iocConsole, as the /s/home/screen/bin/screen utility fails to write to
>> /s/home/screen/sock due to some permissions issues. Can you try copying
>> /s/home/screen/* over to /home?
>>
>> Patrick J. Pascual
>> Controls Software/Systems Engineer, EED
>> Bldg 034, Rm 208A
>> 2575 Sand Hill Rd., MS50
>> Menlo Park, CA 94025
>> (650) 926-3539
>>
>> ________________________________________
>> From: Lerftest-ctrls <lerftest-ctrls-bounces at jlab.org> on behalf of Pascual,
>> Patrick James <ppascual at slac.stanford.edu>
>> Sent: Tuesday, June 12, 2018 5:42:50 PM
>> To: Wesley Moore
>> Cc: lerftest-ctrls
>> Subject: Re: [Lerftest-ctrls] set_profile no longer works
>>
>> My mistake, I was under the impression that iocConsole was hardcoded in some
>> fashion. Let me try changing that env, although I'm not entirely sure if any
>> other scripts or utilities use it.
>>
>> Patrick J. Pascual
>> Controls Software/Systems Engineer, EED
>> Bldg 034, Rm 208A
>> 2575 Sand Hill Rd., MS50
>> Menlo Park, CA 94025
>> (650) 926-3539
>>
>> ________________________________________
>> From: Wesley Moore <wmoore at jlab.org>
>> Sent: Tuesday, June 12, 2018 5:11:09 PM
>> To: Pascual, Patrick James
>> Cc: Hoobler, Sonya; lerftest-ctrls; Hill, Bruce
>> Subject: Re: [Lerftest-ctrls]  set_profile no longer works
>>
>> iocConsole picks it from $SCREEN, no change to the code required (exactly why
>> you don’t hardcode stuff like that).  Why is changing that env variable not an
>> acceptable fix?
>>
>> Wesley
>>
>>> On Jun 12, 2018, at 8:07 PM, Pascual, Patrick James <ppascual at slac.stanford.edu>
>>> wrote:
>>>
>>> We did not expect this environment to deviate from a regular linux setup (e.g.,
>>> /home). So either we need to copy /s/home/screen/* over to /home, or create a
>>> symlink to /s/home/screen in /home for iocConsole to work. Any other workaround
>>> would require changing the iocConsole application itself.
>>>
>>> Patrick J. Pascual
>>> Controls Software/Systems Engineer, EED
>>> Bldg 034, Rm 208A
>>> 2575 Sand Hill Rd., MS50
>>> Menlo Park, CA 94025
>>> (650) 926-3539
>>>
>>> ________________________________________
>>> From: Wesley Moore <wmoore at jlab.org>
>>> Sent: Tuesday, June 12, 2018 5:00:30 PM
>>> To: Pascual, Patrick James
>>> Cc: Hoobler, Sonya; lerftest-ctrls; Hill, Bruce
>>> Subject: Re: [Lerftest-ctrls]  set_profile no longer works
>>>
>>> So calling /s/home/screen/bin/screen or putting /s/home/screen/bin upstream in
>>> the path won’t solve that?
>>>
>>> The environment is isolated.  But JLAB staff have to be able to login use it,
>>> requiring a /home for all of them (and it’s a lot between operators, SRF staff,
>>> etc).  Only a few of you actually need/want /home as spec’d out for this
>>> environment.  So for this case you guys become the exception, not the rule.
>>> For those softegr/laci/etc defining it in /etc/passwd is all that’s needed.
>>> No one spoke up about screen, nor is it an actual user.
>>>
>>> Wesley
>>>
>>>> On Jun 12, 2018, at 7:49 PM, Pascual, Patrick James <ppascual at slac.stanford.edu>
>>>> wrote:
>>>>
>>>> Hi Wesley,
>>>>
>>>> We use the /home/screen directory when using the iocConsole script to create a
>>>> connection to an IOC and allows controls engineers to interact with their IOC
>>>> using the screen utility (a variant of which is located at
>>>> /home/screen/bin/screen). The /home/screen directory has the sticky bit set so
>>>> that individual users can attach/detach multiple screen sessions to an IOC.
>>>> Without this set up properly, iocConsole won't work and our controls developers
>>>> won't be able to work on their IOC applications.
>>>>
>>>> Can you explain how and why the filesystem has been changed to its current set
>>>> up with things being moved to /s/home/*? I was under the impression that this
>>>> LERF test facility would be an isolated system, but it appears that there is
>>>> much more integration being done that I was unaware of.
>>>>
>>>> Patrick J. Pascual
>>>> Controls Software/Systems Engineer, EED
>>>> Bldg 034, Rm 208A
>>>> 2575 Sand Hill Rd., MS50
>>>> Menlo Park, CA 94025
>>>> (650) 926-3539
>>>>
>>>> ________________________________________
>>>> From: Wesley Moore <wmoore at jlab.org>
>>>> Sent: Tuesday, June 12, 2018 4:38:46 PM
>>>> To: Hoobler, Sonya; Pascual, Patrick James
>>>> Cc: lerftest-ctrls; Hill, Bruce
>>>> Subject: Re: [Lerftest-ctrls]  set_profile no longer works
>>>>
>>>> Patrick,
>>>>
>>>> Can you tell me how that account/directory is referenced?  It doesnt seem to be
>>>> used as a user. Does it just need to be in the PATH?
>>>>
>>>> Not sure I can add a symlink the way you are expecting. I don't own that nfs
>>>> share.
>>>>
>>>> Wesley
>>>>
>>>>
>>>>
>>>> On Tue, Jun 12, 2018 at 5:23 PM -0400, "Pascual, Patrick James"
>>>> <ppascual at slac.stanford.edu<mailto:ppascual at slac.stanford.edu>> wrote:
>>>>
>>>>
>>>> Hi Wesley,
>>>>
>>>> Can you create a symlink on lclsapp1 and lclsapp2 called /home/screen pointing
>>>> to /s/home/screen? It seems I don't have the right permissions to create a
>>>> symlink there.
>>>>
>>>> Patrick J. Pascual
>>>> Controls Software/Systems Engineer, EED
>>>> Bldg 034, Rm 208A
>>>> 2575 Sand Hill Rd., MS50
>>>> Menlo Park, CA 94025
>>>> (650) 926-3539
>>>>
>>>> ________________________________________
>>>> From: Wesley Moore
>>>> Sent: Tuesday, June 12, 2018 1:30:35 PM
>>>> To: Hoobler, Sonya
>>>> Cc: Pascual, Patrick James; lerftest-ctrls; Hill, Bruce
>>>> Subject: Re: [Lerftest-ctrls]  set_profile no longer works
>>>>
>>>> Yes.
>>>>
>>>> Wesley
>>>>
>>>> ----- Original Message -----
>>>>> From: "Sonya Hoobler"
>>>>> To: "Wesley Moore"
>>>>> Cc: "Patrick James Pascual" , "lerftest-ctrls" , "Bruce Hill"
>>>>>
>>>>> Sent: Tuesday, June 12, 2018 4:17:47 PM
>>>>> Subject: Re: [Lerftest-ctrls]  set_profile no longer works
>>>>
>>>>> Should I be able to run the lclsapp2 processes now?
>>>>>
>>>>> Thanks,
>>>>> Sonya
>>>>>
>>>>> On Tue, 12 Jun 2018, Wesley Moore wrote:
>>>>>
>>>>>> Almost done.  Need to rebuild our site's NIS stuff so they can mount /u/home.
>>>>>> But everything should, in theory, work without that.
>>>>>>
>>>>>> Wesley
>>>>>>
>>>>>> ----- Original Message -----
>>>>>>> From: "Sonya Hoobler"
>>>>>>> To: "Wesley Moore"
>>>>>>> Cc: "Patrick James Pascual" , "lerftest-ctrls"
>>>>>>> , "Bruce Hill"
>>>>>>>
>>>>>>> Sent: Tuesday, June 12, 2018 3:07:05 PM
>>>>>>> Subject: Re: [Lerftest-ctrls]  set_profile no longer works
>>>>>>
>>>>>>> Okay, now is a good time to reboot.
>>>>>>>
>>>>>>> Sonya
>>>>>>>
>>>>>>> On Tue, 12 Jun 2018, Wesley Moore wrote:
>>>>>>>
>>>>>>>> You (Sonya) and I have already discussed this, but to the others, this is a
>>>>>>>> great time to ensure all IOCs/etc startup as expected.
>>>>>>>>
>>>>>>>> Wesley
>>>>>>>>
>>>>>>>> ----- Original Message -----
>>>>>>>>> From: "Sonya Hoobler"
>>>>>>>>> To: "Wesley Moore"
>>>>>>>>> Cc: "Patrick James Pascual" , "lerftest-ctrls"
>>>>>>>>> , "Bruce Hill"
>>>>>>>>>
>>>>>>>>> Sent: Tuesday, June 12, 2018 2:57:39 PM
>>>>>>>>> Subject: Re: [Lerftest-ctrls]  set_profile no longer works
>>>>>>>>
>>>>>>>>> Hi Wesley,
>>>>>>>>>
>>>>>>>>> You're right: we still need to reboot those.
>>>>>>>>>
>>>>>>>>> I'm doing some work with the LERF team at the moment. There should be a
>>>>>>>>> good window coming up. I'll be in touch.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Sonya
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, 12 Jun 2018, Wesley Moore wrote:
>>>>>>>>>
>>>>>>>>>> Short answer, there is only /s/home/softegr and /s/home/laci.
>>>>>>>>>>
>>>>>>>>>> What's not helping things is that app1/2 have not have /home corrected.
>>>>>>>>>> So on those, /home and /s/home are the same thing.  SSA's were being tested so
>>>>>>>>>> it couldn't be fixed.  If I can reboot, I'll wrap that up.
>>>>>>>>>>
>>>>>>>>>> @Sonya, when is a good time to reboot for the app1/2 /home fix?
>>>>>>>>>>
>>>>>>>>>> After they are sorted, /s/home will be the default for a few developers from
>>>>>>>>>> SLAC, softegr, and laci.  CUE /home -> /u/home will be used for everything
>>>>>>>>>> else.
>>>>>>>>>>
>>>>>>>>>> Wesley
>>>>>>>>>>
>>>>>>>>>> ----- Original Message -----
>>>>>>>>>>> From: "Patrick James Pascual"
>>>>>>>>>>> To: "Sonya Hoobler" , "lerftest-ctrls"
>>>>>>>>>>>
>>>>>>>>>>> Cc: "Wesley Moore" , "Bruce Hill"
>>>>>>>>>>> Sent: Tuesday, June 12, 2018 2:36:08 PM
>>>>>>>>>>> Subject: Re: [Lerftest-ctrls]  set_profile no longer works
>>>>>>>>>>
>>>>>>>>>>> Hi Sonya,
>>>>>>>>>>>
>>>>>>>>>>> I'm not exactly sure how to fix this. The change to /s/home/* is super confusing
>>>>>>>>>>> and I don't know where the softegr account is supposed to land upon login,
>>>>>>>>>>> since there appears to be both a /s/home/softegr and a /home/softegr. Maybe
>>>>>>>>>>> Wesley or Bruce can help on this?
>>>>>>>>>>>
>>>>>>>>>>> Patrick J. Pascual
>>>>>>>>>>> Controls Software/Systems Engineer, EED
>>>>>>>>>>> Bldg 034, Rm 208A
>>>>>>>>>>> 2575 Sand Hill Rd., MS50
>>>>>>>>>>> Menlo Park, CA 94025
>>>>>>>>>>> (650) 926-3539
>>>>>>>>>>>
>>>>>>>>>>> ________________________________________
>>>>>>>>>>> From: Lerftest-ctrls  on behalf of Sonya
>>>>>>>>>>> Hoobler
>>>>>>>>>>> Sent: Tuesday, June 12, 2018 8:08:14 AM
>>>>>>>>>>> To: lerftest-ctrls at jlab.org
>>>>>>>>>>> Subject: [Lerftest-ctrls]  set_profile no longer works
>>>>>>>>>>>
>>>>>>>>>>> Hi Patrick,
>>>>>>>>>>>
>>>>>>>>>>> set_profile is no longer working as usual, presumably due to last week's
>>>>>>>>>>> reconfiguration. When you have a chance, could you take a look?
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Sonya
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Mailing List: Lerftest-ctrls at jlab.org
>>>>>>>>>>> https://mailman.jlab.org/mailman/listinfo/lerftest-ctrls
>>>>>>>>>>> Wiki: https://wiki.jlab.org/lerf/index.php/Network
>>>>
>>>>
>>>> Hi Wesley,
>>>>
>>>> Can you create a symlink on lclsapp1 and lclsapp2 called /home/screen pointing
>>>> to /s/home/screen? It seems I don't have the right permissions to create a
>>>> symlink there.
>>>>
>>>> Patrick J. Pascual
>>>> Controls Software/Systems Engineer, EED
>>>> Bldg 034, Rm 208A
>>>> 2575 Sand Hill Rd., MS50
>>>> Menlo Park, CA 94025
>>>> (650) 926-3539
>>>>
>>>> ________________________________________
>>>> From: Wesley Moore <wmoore at jlab.org>
>>>> Sent: Tuesday, June 12, 2018 1:30:35 PM
>>>> To: Hoobler, Sonya
>>>> Cc: Pascual, Patrick James; lerftest-ctrls; Hill, Bruce
>>>> Subject: Re: [Lerftest-ctrls]  set_profile no longer works
>>>>
>>>> Yes.
>>>>
>>>> Wesley
>>>>
>>>> ----- Original Message -----
>>>>> From: "Sonya Hoobler" <sonya at slac.stanford.edu>
>>>>> To: "Wesley Moore" <wmoore at jlab.org>
>>>>> Cc: "Patrick James Pascual" <ppascual at slac.stanford.edu>, "lerftest-ctrls"
>>>>> <lerftest-ctrls at jlab.org>, "Bruce Hill"
>>>>> <bhill at slac.stanford.edu>
>>>>> Sent: Tuesday, June 12, 2018 4:17:47 PM
>>>>> Subject: Re: [Lerftest-ctrls]  set_profile no longer works
>>>>
>>>>> Should I be able to run the lclsapp2 processes now?
>>>>>
>>>>> Thanks,
>>>>> Sonya
>>>>>
>>>>> On Tue, 12 Jun 2018, Wesley Moore wrote:
>>>>>
>>>>>> Almost done.  Need to rebuild our site's NIS stuff so they can mount /u/home.
>>>>>> But everything should, in theory, work without that.
>>>>>>
>>>>>> Wesley
>>>>>>
>>>>>> ----- Original Message -----
>>>>>>> From: "Sonya Hoobler" <sonya at slac.stanford.edu>
>>>>>>> To: "Wesley Moore" <wmoore at jlab.org>
>>>>>>> Cc: "Patrick James Pascual" <ppascual at slac.stanford.edu>, "lerftest-ctrls"
>>>>>>> <lerftest-ctrls at jlab.org>, "Bruce Hill"
>>>>>>> <bhill at slac.stanford.edu>
>>>>>>> Sent: Tuesday, June 12, 2018 3:07:05 PM
>>>>>>> Subject: Re: [Lerftest-ctrls]  set_profile no longer works
>>>>>>
>>>>>>> Okay, now is a good time to reboot.
>>>>>>>
>>>>>>> Sonya
>>>>>>>
>>>>>>> On Tue, 12 Jun 2018, Wesley Moore wrote:
>>>>>>>
>>>>>>>> You (Sonya) and I have already discussed this, but to the others, this is a
>>>>>>>> great time to ensure all IOCs/etc startup as expected.
>>>>>>>>
>>>>>>>> Wesley
>>>>>>>>
>>>>>>>> ----- Original Message -----
>>>>>>>>> From: "Sonya Hoobler" <sonya at slac.stanford.edu>
>>>>>>>>> To: "Wesley Moore" <wmoore at jlab.org>
>>>>>>>>> Cc: "Patrick James Pascual" <ppascual at slac.stanford.edu>, "lerftest-ctrls"
>>>>>>>>> <lerftest-ctrls at jlab.org>, "Bruce Hill"
>>>>>>>>> <bhill at slac.stanford.edu>
>>>>>>>>> Sent: Tuesday, June 12, 2018 2:57:39 PM
>>>>>>>>> Subject: Re: [Lerftest-ctrls]  set_profile no longer works
>>>>>>>>
>>>>>>>>> Hi Wesley,
>>>>>>>>>
>>>>>>>>> You're right: we still need to reboot those.
>>>>>>>>>
>>>>>>>>> I'm doing some work with the LERF team at the moment. There should be a
>>>>>>>>> good window coming up. I'll be in touch.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Sonya
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, 12 Jun 2018, Wesley Moore wrote:
>>>>>>>>>
>>>>>>>>>> Short answer, there is only /s/home/softegr and /s/home/laci.
>>>>>>>>>>
>>>>>>>>>> What's not helping things is that app1/2 have not have /home corrected.
>>>>>>>>>> So on those, /home and /s/home are the same thing.  SSA's were being tested so
>>>>>>>>>> it couldn't be fixed.  If I can reboot, I'll wrap that up.
>>>>>>>>>>
>>>>>>>>>> @Sonya, when is a good time to reboot for the app1/2 /home fix?
>>>>>>>>>>
>>>>>>>>>> After they are sorted, /s/home will be the default for a few developers from
>>>>>>>>>> SLAC, softegr, and laci.  CUE /home -> /u/home will be used for everything
>>>>>>>>>> else.
>>>>>>>>>>
>>>>>>>>>> Wesley
>>>>>>>>>>
>>>>>>>>>> ----- Original Message -----
>>>>>>>>>>> From: "Patrick James Pascual" <ppascual at slac.stanford.edu>
>>>>>>>>>>> To: "Sonya Hoobler" <sonya at slac.stanford.edu>, "lerftest-ctrls"
>>>>>>>>>>> <lerftest-ctrls at jlab.org>
>>>>>>>>>>> Cc: "Wesley Moore" <wmoore at jlab.org>, "Bruce Hill" <bhill at slac.stanford.edu>
>>>>>>>>>>> Sent: Tuesday, June 12, 2018 2:36:08 PM
>>>>>>>>>>> Subject: Re: [Lerftest-ctrls]  set_profile no longer works
>>>>>>>>>>
>>>>>>>>>>> Hi Sonya,
>>>>>>>>>>>
>>>>>>>>>>> I'm not exactly sure how to fix this. The change to /s/home/* is super confusing
>>>>>>>>>>> and I don't know where the softegr account is supposed to land upon login,
>>>>>>>>>>> since there appears to be both a /s/home/softegr and a /home/softegr. Maybe
>>>>>>>>>>> Wesley or Bruce can help on this?
>>>>>>>>>>>
>>>>>>>>>>> Patrick J. Pascual
>>>>>>>>>>> Controls Software/Systems Engineer, EED
>>>>>>>>>>> Bldg 034, Rm 208A
>>>>>>>>>>> 2575 Sand Hill Rd., MS50
>>>>>>>>>>> Menlo Park, CA 94025
>>>>>>>>>>> (650) 926-3539
>>>>>>>>>>>
>>>>>>>>>>> ________________________________________
>>>>>>>>>>> From: Lerftest-ctrls <lerftest-ctrls-bounces at jlab.org> on behalf of Sonya
>>>>>>>>>>> Hoobler <sonya at slac.stanford.edu>
>>>>>>>>>>> Sent: Tuesday, June 12, 2018 8:08:14 AM
>>>>>>>>>>> To: lerftest-ctrls at jlab.org
>>>>>>>>>>> Subject: [Lerftest-ctrls]  set_profile no longer works
>>>>>>>>>>>
>>>>>>>>>>> Hi Patrick,
>>>>>>>>>>>
>>>>>>>>>>> set_profile is no longer working as usual, presumably due to last week's
>>>>>>>>>>> reconfiguration. When you have a chance, could you take a look?
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Sonya
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Mailing List: Lerftest-ctrls at jlab.org
>>>>>>>>>>> https://mailman.jlab.org/mailman/listinfo/lerftest-ctrls
>>>>>>>>>>> Wiki: https://wiki.jlab.org/lerf/index.php/Network
>>>
>>
>>
>> _______________________________________________
>> Mailing List: Lerftest-ctrls at jlab.org
>> https://mailman.jlab.org/mailman/listinfo/lerftest-ctrls
>> Wiki: https://wiki.jlab.org/lerf/index.php/Network
> 
> _______________________________________________
> Mailing List: Lerftest-ctrls at jlab.org
> https://mailman.jlab.org/mailman/listinfo/lerftest-ctrls
> Wiki: https://wiki.jlab.org/lerf/index.php/Network



More information about the Lerftest-ctrls mailing list