Hi Mark,

Executing it in the node works like a charm. I'm trying to understand the gears 
that are in charge to run it at boot time.

I just noted that `logger -t xCAT -p local4.info fooo` does not show at 
headnode /var/log/xcat/compute.log, even running on command line
________________________________
De: Mark Gurevich <[email protected]>
Enviado: terça-feira, 12 de novembro de 2019 18:18
Para: xCAT Users Mailing list <[email protected]>
Assunto: Re: [xcat-user] Troubleshooting postscripts?


Try running the postscript yourself after the node is booted 
(https://xcat-docs.readthedocs.io/en/stable/guides/admin-guides/references/man1/updatenode.1.html#to-run-postscripts):

* Make sure your postscript is in "/install/postscipts" on the management node 
and is executable
* Invoke it with "updatenode <nodename> -P <postscript>"

Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT

"If we knew what it was we were doing, it would not be called research, would 
it?"
--Albert Einstein



[Inactive hide details for Daniel Hilst via xCAT-user ---11/12/2019 04:10:01 
PM---Hi everybody, I'm trying to understand why my]Daniel Hilst via xCAT-user 
---11/12/2019 04:10:01 PM---Hi everybody, I'm trying to understand why my 
postscript is not running. I set up a simple postscrip

From: Daniel Hilst via xCAT-user <[email protected]>
To: xCAT Users Mailing list <[email protected]>
Cc: Daniel Hilst <[email protected]>
Date: 11/12/2019 04:10 PM
Subject: [EXTERNAL] [xcat-user] Troubleshooting postscripts?

________________________________



Hi everybody,

I'm trying to understand why my postscript is not running. I set up a simple 
postscript to easy reproduction, my image object is like this

https://gist.github.com/dhilst/2dc46ab433f17c07cce2c460fff05153

My postscript is in the same gist

When booting the node, I follow all logs as `tail -F /var/log/xcat/*`.

I can't see any information in the logs regarding postscript, I put the logs in 
the same gist too.

When I log in the node I can see my script at `/xcatpost/versatushpc/` but it 
doesn't created the file /tmp/bootdate and no messages at computes.log so it 
seems to not being run. I'm using xCAT-2.15 recently released and CentOS 7

I don't really understand how and when postscripts run. They are started by a 
service? And syncfiles run before or after postscripts? I have a postscript 
that depends on syncfiles running before it, what would be the right approach? 
Use syncfiles EXECUTE directive?

Regards,
Daniel_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user



_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to