Looks like xcatdsklspost does get called even for stateful installs. Look at 
the script header.
Usually in cases like this, the issue is that the node being imaged can't 
resolve the name of the master node. Make sure your dns is working properly.

On Oct 23, 2015 12:52 PM, "Heald, Nathan T." <[email protected]> wrote:
>
> To follow up:
>
> I have resolved the pxe problem by upgrading further to xcat 2.10. Now it 
> sets kickstart parameters that centos7 responds to.
>
> However I have a new problem, the rinstall is now looping. I’ve gotten as far 
> as seeing that "/xcatpost” is never created on my stateful install. The xcat 
> debugging page suggests networking problems as the first thing to check. So 
> far I’ve not found anything on that front. I can’t find what specifically 
> creates /xcatpost during the install. I see that /opt/xcat was created which 
> contains the scripts xcatdsklspost and xcatinstallpost. Only the script 
> xcatdsklspost has the line “mkdir /$xcatpost”, I would not expect this script 
> to be executed since this is not a diskless install. “xcatinstallpost” starts 
> trying to download stuff to /xcatpost but there’s nothing in this script that 
> creates this directory. 
>
> Suggestions?
>
> Thanks,
> -Nathan
>
>
> From: Nathan Heald <[email protected]>
> Reply-To: "[email protected]" <[email protected]>
> Date: Tuesday, October 13, 2015 at 5:30 PM
> To: "[email protected]" <[email protected]>
> Subject: [xcat-user] xCAT 2.9.1, problem kickstarting centos7
>
> Greetings,
>
> I’m trying to get a working statefull install of centos7 on generic hardware. 
> This management node started out with xCAT 2.8.4, I have upgraded it to 2.9.1 
> to try to get this working. Of course the parameters of the RH/centos 7 
> kickstart have changed necessitating the upgrade. I found this url indicating 
> that as of 2.9 xcat should know know how to handle RH/centos7:
> http://sourceforge.net/p/xcat/bugs/4318/
>
> However, I’m not able to trick xcat into setting up my pxe file correctly 
> when I run the nodeset for the host I want to install. I get this in my 
> /tftpboot/pxelinux.cfg/host01 file:
> …
> APPEND initrd=xcat/osimage/centos7-x86_64-install-compute/initrd.img quiet 
> repo=http://192.168.0.1:80/install/centos7/x86_64 
> ks=http://192.168.0.1:80/install/autoinst/host01 ksdevice=2C:44:FD:00:00:00 
> …
>
> But I’m expecting something more like this which should be supported by 
> centos7:
> …
> APPEND initrd=xcat/osimage/centos7-x86_64-install-compute/initrd.img quiet 
> inst.repo=http://192.168.0.1:80/install/centos7/x86_64 
> ks=http://192.168.0.1:80/install/autoinst/host01 ksdevice=2C:44:FD:00:00:00 
> …
>
> It looks like the updated xCAT code is trying to match “7.0" in $os for the 
> host definition. It appears that $os was set to “centos7” at some point when 
> I either ran copycds or ran a nodeset. I’ve tried a few different iterations 
> to see if I can tickle this into working to no avail.
>
> Any suggestions would be appreciated.
>
> Thanks,
> -Nathan
>
------------------------------------------------------------------------------
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to