Thanks, it’s good to know I’ve got a hundred or so copies with changes back to
9/2017 on our compute nodes.
However even after restoring postscripts/hostkeys, postscripts/_xcat and
postscripts/_ssh and checking the
files we created are still there, the diskless boot still fails:
Mon Jul 2 10:27:35 EDT 2018 [info]: xcat.xcatdsklspost: trying to download
postscripts...
Mon Jul 2 10:28:14 EDT 2018 [err]: xcat.xcatdsklspost: failed to download the
postscripts from the xCAT server for node node552.oscar.ccv.brown.edu
I will try restoring all the changed scripts, but would like to know at what
point it decided it was a failure.
All the /xcatboot files seem to be there. I tried prepopulating the /etc/ssh
directory in the image, but that didn’t help.
Where do I turn up the debugging?
Thanks!
— ddj
> On Jul 2, 2018, at 5:29 AM, Song BJ Yang <yang...@cn.ibm.com> wrote:
>
> hi David Johnson,
>
> In the scenario you described, I think xCAT installation will affect the
> stuff under `/install/postscripts`
> 1) files with the same name with the files under `/install/postscripts`
> shipped by xCAT will be overwritten
> 2) the credentials under "/install/postscripts/hostkeys",
> "/install/postscripts/_xcat" and "/install/postscripts/_ssh/" and
> "/install/postscripts/ca/" will be overwritten
>
> You can restore the original "/install/postscritps" directory with the
> "/xcatpost" directory on the compute nodes(non-hierarchy cluster) or service
> nodes(hierarchy cluster) which are not provisioned after xCAT reinstallation
> with `go-xcat` accidentally.
>
>
> good luck
> ------------------------------------------------------------------------------
> YANG Song (杨嵩)
> IBM China System Technology Laboratory
> Tel: 86-10-82452903
> Email: yang...@cn.ibm.com
> Address: Building 28, ZhongGuanCun Software Park,
> No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, PRC
>
> 北京市海淀区东北旺西路8号中关村软件园28号楼
> 邮编: 100193
>
>
> ----- Original message -----
> From: "Victor Hu" <v...@us.ibm.com>
> To: xcat-user@lists.sourceforge.net
> Cc:
> Subject: Re: [xcat-user] go-xcat accidentally run with /install mounted from
> production xcat master
> Date: Fri, Jun 29, 2018 11:11 PM
>
> Hi Dave,
>
> Thanks for reporting this, can you open a issue here?
> https://github.com/xcat2/xcat-core/issues
> <https://github.com/xcat2/xcat-core/issues>
> If it's inconvenient, please let me know and I'll open one on your behalf.
>
> Thanks,
> Victor
>
> ----- Original message -----
> From: David Johnson <david_john...@brown.edu>
> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
> Cc:
> Subject: [xcat-user] go-xcat accidentally run with /install mounted from
> production xcat master
> Date: Thu, Jun 28, 2018 3:05 PM
>
> I’m trying to set up a separate cluster with a new xcat master node, and
> downloaded and ran the go-xcat script.
> I realized afterwards that it had updated a whole bunch of files in /install,
> which I had forgotten was nfs-mounted
> from our main cluster’s master node.
>
> Right off the bat, I’m thinking there might be a problem with ssh keys, and
> ca.pem.
> Any other likely trouble spots? I put all our netboot stuff in
> /install/custom, and we
> have added postinstall scripts rather than customizing ones from the
> distribution.
>
> I can probably go out to any of the nodes still running and grab individual
> files back.
>
> Thanks,
> — ddj
> Dave Johnson
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> <http://sdm.link/slashdot>
> _______________________________________________
> xCAT-user mailing list
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user
> <https://lists.sourceforge.net/lists/listinfo/xcat-user>
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> <http://sdm.link/slashdot>
> _______________________________________________
> xCAT-user mailing list
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user
> <https://lists.sourceforge.net/lists/listinfo/xcat-user>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org!
> http://sdm.link/slashdot_______________________________________________
> xCAT-user mailing list
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user