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





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://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=cGs4a-jfx6Emudek2Wdi4FLq2XKm1pvrlbCQ-h7Qq7A&m=V2E48kpf-A4ikV8-H-c9i5EsltLAqgliRfpdEW6ge4Y&s=Zd6iSO_kymyeAf6lpYrAJldnhIcVIEuG-VgEniI0bKA&e=



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

Reply via email to