Commit Graph

66 Commits

Author SHA1 Message Date
immarvin
4d4b18ce31 fix defect #3626 yaboot.pm needs to use pkgdir 2013-10-22 00:51:50 -07:00
lissav
47a5a4c536 defect 3844 2013-10-18 07:42:10 -04:00
lissav
ded2be133e defect 3760 2013-10-09 12:17:42 -04:00
lissav
42af194434 defect 3750 2013-09-13 08:00:12 -04:00
lissav
cae2da8eba add check for servicenodes and computenodes in noderange for nodeset. Also remove very old commented out code defect 3750 2013-08-27 12:24:02 -04:00
immarvin
8921bc2734 fix defect 3245 2.8:return value of nodeset does not equal to 0 on ppc64 2013-08-06 00:53:30 -07:00
daniceexi
19241bce05 Make nodeset can pass parameter --noupdateinitrd to mkinstall command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-04 05:17:03 +00:00
immarvin
8bad0490c3 support for addkcmdline of osimage. According to the design, the linuximage:addkcmdline should be appended to kernel arguments of the nodes after "nodeset osimage=".
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-25 12:15:09 +00:00
linggao
1e8061270b added feature in nodeset to get the os image name from the nodetype.provemethod if the osimage is not specified with nodeset osimage command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14621 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 20:59:50 +00:00
xq2005
27a31e9031 Using an array as a reference
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14490 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 08:22:56 +00:00
yinle
b820ab2365 Modify yaboot.pm to support removing xcat-yaboot from xcat-dep.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 07:37:23 +00:00
zhaoertao
40e144b4cc for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
jjhua
feef5d45d7 For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12901 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:58:26 +00:00
immarvin
e4db188074 fixed bug 3495408 :nodeset offline doc and test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12595 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 08:06:47 +00:00
linggao
37c604a69d minor fix for getNodesetStates in pxe and yaboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12065 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 22:22:32 +00:00
linggao
4aef6cbfbc fixed compiling error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 19:12:25 +00:00
jbjohnso
24ee4eb3ce Apply changes from xnba.pm to pxe.pm and yaboot.pm for getstate external calls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12053 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 18:14:03 +00:00
daniceexi
9e2b250062 fixed the issue that xnba,pxe,vsmppex,yaboot failed for service node when no valid nodes in the handled network
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-16 10:31:33 +00:00
ligc
98f393d24b get tftpdir using xCAT::Utils->getTftpDir if it is not passed in through subroutine calling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11673 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-24 06:55:58 +00:00
wanghuaz
cda0df7b5c Fixed issues in service node pool working with diskful and diskless installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-20 07:20:41 +00:00
jbjohnso
d39e110af8 Finish per-node/group tftpdir for NAS mount point managed sync up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-15 21:04:42 +00:00
wanghuaz
4de53d06d7 Fixing defect 3285568: if shardtftp is not set and the compute node is not resolved by xcatmaster, we will give one msg instead of quietly ignore it. this will help a lot to find the problem's root cause. The msg is not an error, since there are cases matching the above two conditions. So this msg should not make too much noise if those two conditions are valid.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-05 14:53:13 +00:00
daniceexi
870ec9643e defect 3189574: replace all the keyword myipfn in the kcmdline attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10256 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-10 07:28:32 +00:00
wanghuaz
d072b35c53 omapi now is supporting hfi hardware type. we direct set the hardware type from omapi instead of change the lease file manually.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9986 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-30 08:14:24 +00:00
linggao
8b0bd2c4de returns non zero value when prescripts fail in nodeset command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9606 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-16 19:59:10 +00:00
wanghuaz
4208499630 hfi mac address failover code checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9494 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-05 15:41:39 +00:00
ligc
1ff81c72e2 remove unnecessary print message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-24 08:58:27 +00:00
jbjohnso
d76eacde2d -Revert sles yaboot overwrite with functional yaboot-xcat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-25 13:29:24 +00:00
jbjohnso
1e833c00a2 -Escape special character in yaboot.conf generator
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6179 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-19 20:59:30 +00:00
ligc
7614a03edb ipv6 fix, replace the Socket library calls with NetworkUtils subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-12 03:09:08 +00:00
jbjohnso
d8ae450ad2 -Make yaboot-by-mac hack a little less easily broken (still imperfect)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6003 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-06 20:39:22 +00:00
daniceexi
a5bd0d0d23 make the mac address used in the yaboot config file name in low case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5603 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-30 08:17:42 +00:00
jbjohnso
cd74247b96 -Also change yaboot plugin for offline
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5356 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-03 18:33:34 +00:00
daniceexi
026f06091c defect: 2768352: add the yaboot configuration file as format yaboot.conf-%s-%s-%s-%s-%s-%s in /tftpboot/ for both redhat and sles, so that redhat also works well when using the yaboot from sles.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4485 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-05 09:18:28 +00:00
linggao
81306eb168 osimage support for nodeset command, phase 1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4198 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-22 15:37:40 +00:00
linggao
cee982b877 more on prescripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3982 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-10 21:18:38 +00:00
linggao
2856ad6f56 fixed infinit loop in prescript.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-03 22:39:01 +00:00
linggao
46c142266d give up pulling dhcp out of pxe.pm and yaboot.pm to prescripts.Otherwise the prescripts code gets too complicated. We'll use site attribute 'dhcpsetup' instead to turn if off if needed. AAsn.pm can also use this attribute to not call makedhcp automatically
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-03 05:49:30 +00:00
linggao
70f0218ce0 prescripts support. need more fixes. Does not support service node pool yet. dhcp and begin scripts need to get worked on more.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-03 02:00:13 +00:00
jbjohnso
3073ff5469 -Implement addkcmdline handling in yaboot plugin
-Comment out redundant anaconda handling of addkcmdline handling since it is moved to pxe and yaboot plugins


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-29 18:41:00 +00:00
ligc
6b6c6f3b2c fix for bug 2790535, does not create symbolic links under directory /tftpboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3368 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-13 09:03:23 +00:00
linggao
af173a793b fixed so that sharedtftp works on service node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-19 03:22:20 +00:00
linggao
55d8f0fb61 fixed nodeset for sles11/ppc that did not created yaboot.conf-mac symbolic link for netboot case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3200 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-15 21:03:56 +00:00
zhanx
43f2118c63 fix for yaboot problem on SLES 11 PPC: use the yaboot file from SLES 11 CD, and create additional yaboot configuration link for this special case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-08 02:58:39 +00:00
jbjohnso
87bdbd136f -Fix nodeset at tftp setup time, and prevent makedhcp from farming out when nodeset was already farmed out
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-28 15:03:36 +00:00
jbjohnso
f9e4ef54a8 -Do not fan out nodeset at tftp build up time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3029 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-28 06:15:05 +00:00
jbjohnso
eca58ec37a -Import required modules for service node setup, don't manipulate DHCP during tftp boot building of a service node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3025 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-28 04:49:49 +00:00
jbjohnso
74ff7bb8e3 -Implement rebuild of tftp directory contents if appropriate in AAsn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3023 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-28 04:25:03 +00:00
jbjohnso
2c970102c5 -Have pxe and yaboot only do hierarchical DHCP manipulation when not already farmed out
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-27 22:09:54 +00:00
linggao
2779f579e1 performance tuning for node status updating for ipmi, blade,PPC, xen and kvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 02:56:58 +00:00