[slurm-dev] Re: RebootProgram - who uses it?

2017-08-07 Thread Lachlan Musicman
John, thanks. Yes, I have implemented reboot guard, which was why I was
asking if the config just wanted the link to a bin or could take a command
to execute.

Aaron, kind of. I noticed the anomaly yesterday for the first time and my
manager pointed me to this

https://amitksaha.wordpress.com/2013/11/21/poweroff-halt-reboot-and-systemctl/

Like Busybox, systemctl has reboot compiled in..

cheers
L.

--
"The antidote to apocalypticism is *apocalyptic civics*. Apocalyptic civics
is the insistence that we cannot ignore the truth, nor should we panic
about it. It is a shared consciousness that our institutions have failed
and our ecosystem is collapsing, yet we are still here — and we are
creative agents who can shape our destinies. Apocalyptic civics is the
conviction that the only way out is through, and the only way through is
together. "

*Greg Bloom* @greggish
https://twitter.com/greggish/status/873177525903609857

On 7 August 2017 at 17:56, Aaron Knister  wrote:

> Good grief. "reboot" is a legacy tool?!?! I've about had enough of systemd.
>
> Sent from my iPhone
>
> On Aug 7, 2017, at 03:27, John Hearns  wrote:
>
> Lachlan, in the Name of the Wee Man, so 'reboot' is now a 'legacy tool'
> https://access.redhat.com/solutions/1580343
>
> Jeez... Look HPC compute node - I'm in charge, gottit? Yeah, fight back
> all you like with systemd, but I can pull the power plug.
> Let's see you deal with that one.
>
> On 7 August 2017 at 06:08, Lachlan Musicman  wrote:
>
>> I've just been asked about implementing a "drain and reboot" for
>> nodes/partitions.
>>
>> In slurm.conf, there is a RebootProgram - does this need to be a direct
>> link to a bin or can it be a command?
>>
>>
>> RebootProgram=/usr/sbin/reboot
>>
>> or
>>
>> RebootProgram='systemctl disable reboot-guard; reboot'
>>
>> Cheers
>> L.
>>
>> --
>> "The antidote to apocalypticism is *apocalyptic civics*. Apocalyptic
>> civics is the insistence that we cannot ignore the truth, nor should we
>> panic about it. It is a shared consciousness that our institutions have
>> failed and our ecosystem is collapsing, yet we are still here — and we are
>> creative agents who can shape our destinies. Apocalyptic civics is the
>> conviction that the only way out is through, and the only way through is
>> together. "
>>
>> *Greg Bloom* @greggish https://twitter.com/greggish/s
>> tatus/873177525903609857
>>
>
>


[slurm-dev] 17.02.6 and slurm-spank-x11

2017-08-07 Thread Tim Fora

Hi all,

I just upgraded to latest slurm (then recompiled slurm-spank-x11) and
getting the error below. Does anyone have the plugin working with 17.02.6?

l01 $ srun --x11 /bin/true
srun: job 126410 queued and waiting for resources
srun: job 126410 has been allocated resources
srun: error: x11: unable to connect node compute227
error: unable to open file /tmp/slurm-spank-x11.20126410.0
slurmstepd: error: x11: unable to read DISPLAY value


[slurm-dev] Re: RebootProgram - who uses it?

2017-08-07 Thread Aaron Knister
Good grief. "reboot" is a legacy tool?!?! I've about had enough of systemd.

Sent from my iPhone

> On Aug 7, 2017, at 03:27, John Hearns  wrote:
> 
> Lachlan, in the Name of the Wee Man, so 'reboot' is now a 'legacy tool' 
> https://access.redhat.com/solutions/1580343
> 
> Jeez... Look HPC compute node - I'm in charge, gottit? Yeah, fight back all 
> you like with systemd, but I can pull the power plug.
> Let's see you deal with that one.
> 
>> On 7 August 2017 at 06:08, Lachlan Musicman  wrote:
>> I've just been asked about implementing a "drain and reboot" for 
>> nodes/partitions.
>> 
>> In slurm.conf, there is a RebootProgram - does this need to be a direct link 
>> to a bin or can it be a command?
>> 
>> 
>> RebootProgram=/usr/sbin/reboot
>> 
>> or
>> 
>> RebootProgram='systemctl disable reboot-guard; reboot'
>> 
>> Cheers
>> L.
>> 
>> --
>> "The antidote to apocalypticism is apocalyptic civics. Apocalyptic civics is 
>> the insistence that we cannot ignore the truth, nor should we panic about 
>> it. It is a shared consciousness that our institutions have failed and our 
>> ecosystem is collapsing, yet we are still here — and we are creative agents 
>> who can shape our destinies. Apocalyptic civics is the conviction that the 
>> only way out is through, and the only way through is together. "
>> 
>> Greg Bloom @greggish https://twitter.com/greggish/status/873177525903609857
> 


[slurm-dev] Re: RebootProgram - who uses it?

2017-08-07 Thread John Hearns
Lachlan, in the Name of the Wee Man, so 'reboot' is now a 'legacy tool'
https://access.redhat.com/solutions/1580343

Jeez... Look HPC compute node - I'm in charge, gottit? Yeah, fight back all
you like with systemd, but I can pull the power plug.
Let's see you deal with that one.

On 7 August 2017 at 06:08, Lachlan Musicman  wrote:

> I've just been asked about implementing a "drain and reboot" for
> nodes/partitions.
>
> In slurm.conf, there is a RebootProgram - does this need to be a direct
> link to a bin or can it be a command?
>
>
> RebootProgram=/usr/sbin/reboot
>
> or
>
> RebootProgram='systemctl disable reboot-guard; reboot'
>
> Cheers
> L.
>
> --
> "The antidote to apocalypticism is *apocalyptic civics*. Apocalyptic
> civics is the insistence that we cannot ignore the truth, nor should we
> panic about it. It is a shared consciousness that our institutions have
> failed and our ecosystem is collapsing, yet we are still here — and we are
> creative agents who can shape our destinies. Apocalyptic civics is the
> conviction that the only way out is through, and the only way through is
> together. "
>
> *Greg Bloom* @greggish https://twitter.com/greggish/
> status/873177525903609857
>