Compare commits

..

4172 Commits

Author SHA1 Message Date
arif b366a38464 fix ipv6 0.0.0.0 to ::, the equivalent ip 2014-04-07 13:17:07 +01:00
arif 71ba4c3d00 add ifname to arguments for checkConfig_Sles 2014-04-07 13:16:52 +01:00
arif 3e11b02f14 update routeop with device based routing 2014-04-07 13:16:31 +01:00
arif 5982836805 update route.pm, and start work on routeop 2014-04-07 13:16:13 +01:00
arif d22815398a defect 4033: fix device based routing in makeroutes 2014-04-07 13:15:51 +01:00
daniceexi 5fd991246a added the resource to POST token for an account 2014-04-07 08:11:23 -04:00
daniceexi 6bb22d2342 added the token authentication mechanism in the xcatd 2014-04-07 07:57:57 -04:00
Jarrod Johnson d5cb13be6d Fix windows install problem where tmplfile was masked out in scope 2014-04-04 23:27:36 -04:00
linggao 3c7870afbc removed the dependency on openrc file, fixed defect 4040 and 4041 2014-04-05 04:42:28 -04:00
zhaoertao b169de45ef Modify doc output for osimage/osimage_allattr 2014-04-04 03:47:02 -07:00
zhaoertao bc8d13c9c0 use ext4 for powerkvm VM 2014-04-04 02:00:41 -07:00
ligc 997a8e36d0 Temporary remove the grub2-xcat dependency for PCM, it blockes PCM test 2014-04-04 04:34:33 -04:00
litingt 51e53737a2 merge 2.8 case to 2.9 2014-04-04 01:32:56 -07:00
ligc 69598e32f7 Build a separate xCAT-server for PCM, because of the perl-JSON dependency caused by RESTAPI 2014-04-04 14:46:26 -05:00
zhaoertao ebbfe29f5c nodeset supporting ubuntu LE for pkvm VM 2014-04-03 20:20:54 -07:00
yinle 7848b733b3 Modify doc for policy and site. 2014-04-04 01:52:49 -07:00
yinle 69455327e6 Modify doc output of policy and site. 2014-04-04 01:46:33 -07:00
linggao 469126c759 added verbose output for opsaddimage and opsaddbmnode commands. 2014-04-04 06:32:07 -04:00
lissav af908aafdf add timeout option on usage 2014-04-03 07:24:09 -04:00
lissav c5172263b9 fix syntax in hellp 2014-04-03 07:08:40 -04:00
yinle 788b616458 Modify auto-test script, add new configuration file keys. 2014-04-03 07:50:59 -07:00
ligc d84f7d5e9e pull build-debs-all from 2.8 to master 2014-04-03 15:30:02 -05:00
litingt 0579db7baa re-org all the code in this script 2014-04-03 01:24:15 -07:00
ligc f252d167a1 fix for 4029: do not try to modify /, will cause rpm install failure on RHEL7 2014-04-03 15:06:02 -05:00
daniceexi a0bbb92921 refine the output/doc of nodeshell,nodecopy,sw,postscript; Added the support of slpnodes 2014-04-03 04:29:42 -04:00
ligc b572e045fb fix for bug 4038: do not override --installdir with xcatdsklspost 2014-04-03 09:44:29 -05:00
mellor af9b887d23 defect 4026 add service node to error msg 2014-04-02 13:05:07 -04:00
ligc 40319ab858 fix a problem in perl-xCAT.spec for git commit id 2014-04-02 05:30:14 -04:00
ligc f88f454e9a fix a problem in perl-xCAT.spec for git commit id 2014-04-02 05:23:53 -04:00
ligc 9a71aee476 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2014-04-02 05:15:34 -04:00
daniceexi a2e384931a add more comments 2014-04-02 10:23:08 -04:00
ligc 09df503e1e add the git commit id in xCAT version 2014-04-02 15:50:41 -05:00
ligc 3a65f12683 undo the last checkin for buildcore.sh, wrong local repo 2014-04-02 05:12:17 -04:00
GONG Jie e867ef90e9 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2014-04-02 15:32:57 +08:00
litingt 276554154f add CURDIR to specify directory 2014-04-01 20:58:53 -07:00
Chuck Brazie 1ece21a021 Comment out the horizontal whitespace escape char 2014-04-01 13:23:24 -04:00
daniceexi c6486a6228 Add more comments and remove not used subroutines 2014-04-01 12:41:51 -04:00
daniceexi c540c616ab make the output of nodeshell src is grouped with the nodename; support the xcoll flag to group the output with the output message instead of node 2014-04-01 10:16:02 -04:00
mellor a698e1757d defect 4020 - correctly handle results from gethostbyaddr in xcatd installmonitor 2014-03-31 17:50:05 -04:00
lissav 9e3dfa484b fix defect 4034 2014-03-31 14:26:29 -04:00
daniceexi 8887485857 support subnodes resource 2014-03-31 10:17:54 -04:00
daniceexi cf5fc84937 add the support of makedns/makedhcp, nodestat and bootstate=offline for node 2014-03-29 04:36:15 -04:00
GONG Jie da3d528caf Add mn_install 2014-03-28 22:48:12 +08:00
daniceexi 843a32e664 add the URI support for group and makedns/makedhcp 2014-03-28 10:09:17 -04:00
litingt 9ceb62cdaa checkin for Junxia 2014-03-28 00:16:49 -07:00
litingt e62178aee8 add repo file creation 2014-03-27 22:21:51 -07:00
daniceexi c418e9aeb9 More uri definition changes 2014-03-28 03:04:55 -04:00
lissav a487eeda81 fix spelling 2014-03-27 13:34:07 -04:00
daniceexi e0ff38a38a refine the output for node resources 2014-03-27 10:18:29 -04:00
mellor e75be5fe88 defect 3998 - change file vars to globals 2014-03-26 17:10:05 -04:00
lissav c822d4f560 defect 3953 2014-03-26 13:08:41 -04:00
ligc 4d262b0db4 doxcat: the ntp -c rv 0 offset may return negative number 2014-03-26 16:02:16 -05:00
ligc fe545184b5 gensis-scripts: doxcat - ntpq -c rv state does not work any more, use the ntpq -c rv offset instead 2014-03-26 14:23:28 -05:00
mellor 2709ec4d25 defect 3964 - clarify mknb man page for hierarchy with sharedtftp=0 2014-03-25 15:59:17 -04:00
lissav 4c88b1b469 defect 3941 2014-03-25 08:11:11 -04:00
ligc 95a3d8ef3c add the centos6.5 discid info, fix a problem in post.xcat 2014-03-25 17:17:00 -05:00
daniceexi 8be3e23145 Change the output format for several URI 2014-03-25 10:18:34 -04:00
litingt 435e989da4 build script for local automation test 2014-03-25 02:45:11 -07:00
immarvin 36c2404d1c add grub2-xcat as a dependency to enable provisioning rhel7 on an ubuntu MN 2014-03-25 01:17:24 -07:00
ligc 9f9768fd28 fix xCAT-genesis-builder/buildrpm for latest mcp version 2014-03-25 14:54:51 -05:00
yinle 194b864487 Merge subroutines to xcatreg 2014-03-25 02:00:50 -07:00
root eb3e5aaee0 wangjunxiaw check autotest script 2014-03-24 18:51:30 -07:00
lissav 0297069b71 remove autosetup of useflowcontorl see 4031 2014-03-24 09:26:46 -04:00
zhaoertao 054ef6d125 rcons support for powerkvm 2014-03-24 02:03:06 -07:00
huweihua ec8a2069cd fix defect 3875 2014-03-24 05:04:30 -04:00
root e60212cfb8 code frame step by step 2014-03-24 01:39:31 -07:00
lissav dba2219b18 update man 2014-03-21 14:52:17 -04:00
lissav 5694147a73 tabprune -a supports all tables 2014-03-21 14:45:56 -04:00
Jarrod Johnson d183a0bb9d Support 'specific' copycds mode.
ESXi releases updates without bumping version numbers.  For such cases,
the default behavior is for the new version to supersede the old.  This
makes sense for the vast majority of cases.  There are, however, corner
cases where being explicit about the release is indicated.
2014-03-21 10:57:42 -04:00
lissav 021b4c69fb fix -L option 2014-03-21 09:57:22 -04:00
lissav 8fcfccb42f add pointer to Easy Regx documentation 2014-03-21 08:02:49 -04:00
immarvin 3fa9fd3e7b append some code logic and documentation for rhels7 support on grub2
Conflicts:

	xCAT-server/lib/xcat/plugins/grub2.pm
2014-03-21 04:53:07 -07:00
zhaoertao 17aa3f84ac support for powerkvm provisioning 2014-03-21 00:14:47 -07:00
huweihua 5a3847d3ea add testcase for xdsh 2014-03-21 02:10:01 -04:00
huweihua 737550e69b add testcase for xdcp 2014-03-21 02:09:21 -04:00
huweihua 25f7bb326e add testcase for sysclone 2014-03-21 02:08:44 -04:00
huweihua 398e63f180 add testcase for pscp 2014-03-21 02:08:10 -04:00
huweihua 0a45d0bcf9 add testcase for prsync 2014-03-21 02:07:38 -04:00
huweihua 1535113fb1 add testcase for ppping 2014-03-21 01:55:20 -04:00
huweihua 43fefadf30 add testcase for makeroutes 2014-03-21 01:53:27 -04:00
huweihua b186280ab8 add testcase for makedns 2014-03-21 01:37:04 -04:00
arif 373cc13aa0 fix bug #4027, replace chop with chomp 2014-03-20 23:10:31 +00:00
lissav 12f1819180 fix defect 3981 2014-03-20 14:22:47 -04:00
linggao b96b2d0ec9 more code for supporting other hardware in OpenStack baremetal driver. 2014-03-21 06:58:10 -04:00
Jia Zhao ff619264a4 fix autodiscovery problem as not run makehosts command 2014-03-20 18:34:41 +08:00
daniceexi 3bac60fac8 add more rest api implementation. refine the doc output 2014-03-20 11:26:50 -04:00
daniceexi 4aafb62e16 add comments for the procedure to handle a restapi request; add comments to describe the definition of URI 2014-03-20 02:13:27 -04:00
Bruce Potter eab4fced6a Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core
updated table rest api description
2014-03-19 18:02:24 -04:00
Bruce Potter bd7a9096b2 updated table rest api description 2014-03-19 18:01:58 -04:00
immarvin 9c3ed358b4 fix defect #4030 [DEV]'makedhcp -n' failed to add subnet info to dhcpd.conf on rhels7.0 x86_64 mn 2014-03-19 08:15:58 -07:00
immarvin c2b6d4def1 add rhels7 stateless and statelite support for x86_64 2014-03-19 08:00:45 -07:00
daniceexi 221a6854b7 add more doc info 2014-03-19 10:19:43 -04:00
lissav 149f0fd277 fix defect 4028 2014-03-19 07:23:32 -04:00
litingt 81dc649a24 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2014-03-19 02:10:47 -04:00
litingt a0dc770139 xCAT daily regression tool script 2014-03-19 00:15:48 -04:00
Bruce Potter 7ad5cf800d Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core
finished table get rest api calls
2014-03-18 18:47:14 -04:00
Bruce Potter 0bd4753702 finished table get rest api calls 2014-03-18 18:47:01 -04:00
mellor 9a2305dd3a clarify that genimage -i is optional 2014-03-18 14:55:32 -04:00
daniceexi a5ff9cfeec add the mechanism to auto make document for restapi 2014-03-18 10:22:17 -04:00
ligc 707f0c315b xCAT-SoftLayer package is noarch only on Linux, not on AIX 2014-03-18 16:20:19 -05:00
ligc 596aadcd3e xCAT-SoftLayer.spec: cp -a does not work on AIX, change to use -p -R instead 2014-03-18 14:16:55 -05:00
ligc 83732b7b5d makerpm: add copying xcat.conf.apach24 into /SOURCES 2014-03-18 13:56:45 -05:00
ligc 2a65930be9 update with xCAT-OpenStack-baremetal packaging: 1) update xpod2man to not create summary page 2) remove xcat.1.pod from xCAT-OpenStack-baremetal 2014-03-17 23:40:49 -04:00
Bruce Potter 120312c5ea Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core
got table rest api call to work for single or multiple node
2014-03-17 18:16:43 -04:00
linggao 5529a93267 fix defect #4023 syntax error 2014-03-18 09:16:25 -04:00
Bruce Potter 79d7b55208 got table rest api call to work for single or multiple node 2014-03-17 18:16:13 -04:00
daniceexi c55655a50c Add more rest api support 2014-03-17 10:11:27 -04:00
lissav 6cf827b891 defect 4022 and add podchecker, good debug tool 2014-03-17 06:50:23 -04:00
lissav 3f08f410fe defect 4022 and add podchecker, good debug tool 2014-03-17 06:49:46 -04:00
Bruce Potter 3eaf383163 started the table api calls 2014-03-16 19:54:00 -04:00
ligc 7f63cf564c fix for bug 3935: support nic name with space, like Local Area Network on windows 2014-03-14 17:49:49 -05:00
ligc 6f79aead61 fix for bug 3937: return 1 when lsdef <object> can not find the object 2014-03-14 17:02:47 -05:00
daniceexi df3239cbb5 new implementaion of xCAT rest api 2014-03-14 09:45:04 -04:00
ligc 50fed0a17a fix for bug 3976: check -i flag 2014-03-14 16:15:16 -05:00
lissav 9ae698fb70 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2014-03-13 10:43:26 -04:00
immarvin dcaef3f2eb add xCAT-OpenStack-baremetal to build-ubunturepo package list, change debian/source/format to 1.0 2014-03-13 07:45:29 -07:00
lissav 5fc7fe289e Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2014-03-13 10:37:53 -04:00
lissav 2c49eb1195 additional checks 2014-03-13 10:37:35 -04:00
immarvin 770e8a7301 add ubuntu/debian package files for dpkg-buildpackage 2014-03-13 07:13:28 -07:00
lissav 25e02c8b73 change sync of keys so they are cleaned up when zones are removed 2014-03-13 09:50:10 -04:00
lissav ddcec671a0 chzone manpage 2014-03-13 08:45:16 -04:00
lissav 62cdefa219 add and improve zone manpages 2014-03-13 07:53:23 -04:00
lissav 655148ffdd add man page for mkzone 2014-03-12 12:30:23 -04:00
lissav 24da10e021 fix parsing 2014-03-12 11:33:27 -04:00
lissav acc07123e9 rm id_rsa so we can switch between sshbetweennode yes and no 2014-03-12 10:46:45 -04:00
linggao 89c649ae56 xCAT baremetal driver for OpenStack supports nodes with all hw types that are supported by xCAT 2014-03-13 03:18:27 -04:00
linggao dbf362ea52 fix the description for table hwinv. 2014-03-13 03:15:59 -04:00
lissav 77f1e2452e chzone code 2014-03-11 14:19:36 -04:00
xcat aix bld machine d3f205440a create instoss for AIX 6.1Y using new perl-Net_SSLeay.pm-1.55 2014-03-11 04:24:33 -04:00
zhaoertao dd1eaab04c fix bug 4014: updatenodegroups routine always add all group to the node 2014-03-10 19:09:26 -07:00
lissav cc955a172b a lot of chzone, needs more work 2014-03-10 14:43:35 -04:00
immarvin 4323842e28 rhels7 statelite/stateless support 2014-03-08 06:40:40 -08:00
immarvin 376c57d74e fix defect 4015 2014-03-07 08:06:11 -08:00
lissav 127934c3d3 rmzone 2014-03-07 09:57:52 -05:00
lissav 1ded53ae14 rmzone support 2014-03-07 09:56:51 -05:00
immarvin 35ed43d06b fix defect #3999 2014-03-07 06:02:26 -08:00
immarvin 5a8d12715a fix defect #3999 and #4013 2014-03-07 05:59:13 -08:00
ligc 72abb182bb fix for bug 4010: remove xcatws.cgi from PCM build 2014-03-06 15:52:23 -06:00
zhaoertao c8ebe8a9df fix bug 4007: DFM support Powerlinux, mkvm return error 2014-03-05 00:53:58 -08:00
lissav 555810f7ed better hierarchical processing for zones 2014-03-04 10:22:55 -05:00
lissav aff04efce8 docuement DSH_REMOTE_PASSWORD env variable 2014-03-04 08:32:41 -05:00
lissav d3c808f75f fix spelling 2014-03-03 14:51:18 -05:00
lissav f4cc23ef0f add xCAT-OpenStack-baremetal rpm 2014-03-03 14:43:53 -05:00
lissav 82d9b5b9ef support getting zone ssh keys 2014-03-03 13:29:29 -05:00
lissav 971808efbd support zone root ssh keys 2014-03-03 13:18:53 -05:00
lissav bf27c3ac96 more zone functions 2014-03-03 13:15:40 -05:00
Bruce Potter e9f220cecc fixed man page issue with xCAT-SoftLayer rpm 2014-03-02 18:33:13 -05:00
Bruce Potter 6be8450b9b added xCAT-SoftLayer rpm to buildcore.sh 2014-03-02 18:11:39 -05:00
Bruce Potter aecc720d7d packaged softlayer files into an rpm 2014-03-02 18:05:09 -05:00
Bruce Potter 9893a2dd71 template and postscript for softlayer node install 2014-03-02 13:11:41 -05:00
ligc c464e3c1d6 fix for bug 4002, configib replaces /etc/sysctl.conf 2014-02-28 14:05:59 -06:00
lissav 43f9eb6384 updatenode customized mypostscript.tmpl with ZONENAME lines 2014-02-27 10:57:02 -05:00
lissav a7867e1370 updatenode customized mypostscript.tmpl with ZONENAME lines 2014-02-27 10:27:23 -05:00
zhaoertao 8751f25154 fix bug 3873: DFM illegal action could work 2014-02-27 01:26:45 -08:00
Bruce Potter 316470c60d Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core
finished test driver for node resource
2014-02-26 19:34:58 -05:00
linggao bccae8efe7 Merge branch 'master' of ssh://linggao@git.code.sf.net/p/xcat/xcat-core 2014-02-27 10:52:23 -05:00
linggao 49d53ed922 more for xCAT baremetal driver for OpenStack 2014-02-27 10:51:50 -05:00
Bruce Potter 681ec3c968 finished test driver for node resource 2014-02-26 19:34:16 -05:00
lissav d122c8a3fa initialize if no zones 2014-02-26 11:32:07 -05:00
lissav 318cf6bfa8 add zonename 2014-02-26 10:41:42 -05:00
lissav 8f6bbd40d9 support zonename 2014-02-26 10:39:17 -05:00
lissav 78d3e285a6 adding routines for support 2014-02-26 10:38:03 -05:00
lissav cd8389984f fix ENABLESSHBETWEENNODES setting in mypostscript file when zones 2014-02-26 08:37:26 -05:00
lissav a5e378a641 fix ENABLESSHBETWEENNODES setting in mypostscript file when zones 2014-02-26 08:17:21 -05:00
daniceexi 4abeecbd03 defect 3961: make domain name keep without . at beginning 2014-02-26 13:27:14 -05:00
linggao ef589ec580 removed the debugger 2014-02-26 04:29:02 -05:00
lissav f3392ba1ee defect 3994 2014-02-25 11:45:10 -05:00
lissav ec5de72ee4 zone hierarchical support for xdsh -K 2014-02-25 10:00:43 -05:00
Bruce Potter c58f440db1 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core
removed user/pw from xcatws-test.sh
2014-02-25 04:11:56 -05:00
Bruce Potter 29c8b4216b removed user/pw from xcatws-test.sh 2014-02-25 04:11:22 -05:00
zhaoertao 61a686acac update manpage for mkvm and chvm about partitioning item 2014-02-25 00:00:40 -08:00
ligc 242b39ace6 fix a typo in updatenode manpage 2014-02-25 13:50:40 -06:00
baiyuan 1607a1dac6 fix:convert array to hash,xcatws.cgi use hash entries 2014-02-25 00:07:34 -05:00
lissav d5695f5727 xdsh -K support (still need to do hierarchy) 2014-02-24 11:48:09 -05:00
lissav 539f37f391 xdsh -K support (still need to do hierarchy) 2014-02-24 11:39:36 -05:00
baiyuan 86e663860d fix:line 6: user: command not found. add: arguments 2014-02-24 04:14:18 -05:00
Bruce Potter b77b8e7c7d got node list of xcatws.cgi also working with new json structure 2014-02-23 16:00:37 -05:00
Bruce Potter e251f0a2cf example rest apis working with new json structure 2014-02-23 04:13:15 -05:00
Bruce Potter aea43684c3 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core
added workaround to pushinitrd for slow SL switches
2014-02-21 10:08:49 -05:00
ligc 54982068cf fix for bug 3991: if the node can not be resolved or ip address is not valid, print warning message and ignore the node 2014-02-21 12:39:57 -06:00
Bruce Potter 84bc552130 added workaround to pushinitrd to handle slow switches 2014-02-21 10:08:20 -05:00
lissav 56e8e8b0d5 zone coce 2014-02-20 12:34:51 -05:00
lissav 2e0ccb7d7e more code 2014-02-20 11:35:20 -05:00
lissav e331cf5085 more code 2014-02-20 11:33:54 -05:00
lissav 4c031e1806 fix for defect 3985 2014-02-20 07:25:29 -05:00
linggao 542259583c xCAT baremetal driver for OpenStack 2014-02-20 09:45:15 -05:00
Bruce Potter c159000f94 pushinitrd is finished, for now 2014-02-19 14:38:04 -05:00
lissav 2598e30ee1 more zone code 2014-02-19 12:52:11 -05:00
lissav 9db5ceef6a designchanges 2014-02-19 08:50:18 -05:00
lissav 1a59531d6c designchanges 2014-02-19 08:48:43 -05:00
lissav cdf72640fd add zone table sshbetweennodes attribute 2014-02-19 07:13:24 -05:00
lissav d45ba76f8e add missing -g flag 2014-02-19 05:24:13 -05:00
lissav 8ced46f7cc more improvements for zones 2014-02-18 10:16:24 -05:00
lissav e16e4d327b more zone support 2014-02-18 09:15:41 -05:00
lissav 22b529f8e3 more zone support 2014-02-18 08:52:24 -05:00
lissav d0e85aeee2 fix man page 2014-02-18 06:21:39 -05:00
arif 1b6225b820 change comment on path of where the gpfs_updates directory is placed 2014-02-17 12:23:17 +00:00
arif 26d8a9b4a5 Merge branch 'add/nodeconsoleondemand' of gitlab.arif-ali.co.uk:arif/xcat-core 2014-02-17 11:14:57 +00:00
Bruce Potter c2e2cefd9f Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core
cmds to push network boot info to softlayer nodes
2014-02-15 16:32:15 -05:00
Bruce Potter 35b919185e add cmds to push the network boot info to softlayer nodes 2014-02-15 16:31:35 -05:00
lissav 540e11c599 link in commands 2014-02-13 13:55:15 -05:00
Jarrod Johnson 14b61f339d Explicitly set SSL_VERIFY_MODE during start ssl in Client 2014-02-13 09:51:40 -05:00
lissav 72acb3b564 Multiple zone support 2014-02-13 07:53:31 -05:00
lissav 352f12aaee Multiple zone support 2014-02-13 07:51:44 -05:00
zhaoertao 8987ad4702 update manpage of mkdef/chdef for osimage 2014-02-13 00:56:48 -08:00
jjhua c58b291e98 only use short node name in loadclouddata 2014-02-13 12:31:28 -05:00
immarvin ea0241e836 specify text installation mode, otherwise, anaconda will drop into choice dialog when fails to start X in graphic mode 2014-02-12 00:56:06 -08:00
immarvin 8aa878427e take *.rhel*.pkglist as pkglist file if *.rhels*.pkglist do not exist 2014-02-12 00:54:54 -08:00
zhaoertao 8bc490094a fix bug 3983: copycds show error info 2014-02-11 22:09:06 -08:00
jjhua 76a60547ff the template for keystone and swift(all in one) 2014-02-12 12:36:47 -05:00
Bruce Potter 751f3c4b89 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core
new getslnodes file
2014-02-11 10:55:13 -05:00
Bruce Potter 6b40d076fa new script to get softlayer info into xcat db 2014-02-11 10:54:18 -05:00
Jarrod Johnson 98bc658385 Have openssl req use better message digest 2014-02-11 10:07:30 -05:00
yinle 84ee1eb9f1 fix bug #3984 Ubuntu 13.10 diskless installation fails 2014-02-11 10:47:13 -08:00
daniceexi 9e91cf4f63 roll back the last change in configmic file; And fix the issue that hostname cannot show the short hostname 2014-02-11 04:50:41 -05:00
Jarrod Johnson af305e1c65 RHEL7 support for diskful compute profile complete 2014-02-10 13:59:14 -05:00
Jarrod Johnson 2b8f1c5086 Have RHEL7 proceed to get through install completion
Still need to get through the postscript phase
2014-02-10 10:48:46 -05:00
Jarrod Johnson 29b7e4331b Add signature detection for RHEL7 media to anaconda 2014-02-10 10:24:59 -05:00
daniceexi b7a04d3c94 fix the issue that hostname command cannot get short hort name 2014-02-10 08:26:55 -05:00
Bruce Potter 9c0fa6a8bb Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core
some improvements to xcatws.cgi
2014-02-09 15:43:53 -05:00
Bruce Potter 80d4cf913b curl working for xcatws.cgi put and some reorg of code 2014-02-09 15:43:37 -05:00
Jarrod Johnson 56556bdeec Fix xCAT init script status reporting
xCAT in some cases was reporting improper status for certain scenarios.
Risk being inaccure if no pid file exists so that it is accurate when it
does exist.
2014-02-07 17:37:56 -05:00
lissav 7f39eb7fe4 new zone table and zonename attribute 2014-02-05 08:39:46 -05:00
Jarrod Johnson d25680575d Correct } mistake in previous commit to IPMI.pm 2014-02-04 10:27:45 -05:00
Jarrod Johnson c2c29970ff Make IPMI 2.0 crypto dependencies mandatory
Faced with an increasing population of IPMI 2 only devices, make the AES/CBC
requirements mandatory as it is a common source of systems failing to work
now.
2014-02-04 10:27:42 -05:00
Bruce Potter dd8096b39f 1st put works with json dict 2014-02-03 15:58:15 -05:00
Bruce Potter 91b4041a3c Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2014-01-31 08:27:40 -05:00
Bruce Potter 466d5f0a9f test scripts for the rest api 2014-01-31 08:26:55 -05:00
Jarrod Johnson 7032988d7f Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2014-01-30 13:01:18 -05:00
Jarrod Johnson ac83cbe428 _clear_cache was removed long ago. _build_cache does all the needed work itself, so skip _build_cache. 2014-01-30 13:01:13 -05:00
arif 65470149e9 add per node consoleondemand 2014-01-29 21:47:09 +00:00
ligc 179a62145b fix for a typo in confignics, caused ib configuration problems 2014-01-29 10:02:13 -06:00
lissav a3d6555515 Add IBM_HPC_Stack_in_an_xCAT_Cluster 2014-01-28 14:48:34 -05:00
yinle 9db688423c minor fix 2014-01-28 13:49:26 -08:00
yinle 0f829608d1 minor fix of message 2014-01-28 13:33:57 -08:00
yinle ae62c9e403 Add range check and message to nmap 2014-01-28 13:32:46 -08:00
baiyuan 2825e469fe fix Undefined subroutine &JSON::decode_json called at /opt/xcat/ws/xcatws.cgi line 168 2014-01-27 23:36:01 -05:00
zhaoertao 4c74a94daf modify usage for 'chvm' and 'mkvm', remove debug msg 2014-01-26 22:52:30 -08:00
zhaoertao 9374e01b76 create VIOS and logical partitions 2014-01-26 22:08:15 -08:00
zhaoertao 5a9abe2acf The scripts used for configuring and provisioning VIOS partition 2014-01-26 22:07:08 -08:00
qyin edf9a4dc64 windows solution: 222013 2014-01-27 13:52:33 +08:00
ligc e299342956 fix for bug 3979: print a message with rnetboot/bootseq when gateway is empty 2014-01-27 09:57:13 -06:00
lissav b26b5c42bd improve man for sshbetweennodes 2014-01-23 12:59:57 -05:00
lissav d5cfab0c97 improve man for sshbetweennodes 2014-01-23 12:26:26 -05:00
zhaoertao addd4ed9c4 3974 rinv failed for Fujitsu Blade Server 2014-01-22 23:17:13 -08:00
baiyuan 6ffaad98d1 upload testcase for ubuntu 2014-01-22 22:34:33 -05:00
baiyuan fa236764e1 fix 3879,complete kit size is too big,just keep build_input in complete kit with buildkit.conf,other_files,plugins and scripts, remove other useless dir 2014-01-21 03:51:06 -05:00
yinle 225a2564bd fix bug #3973 Ubuntu 13.10 diskful installation fails 2014-01-20 13:36:27 -08:00
yinle 542a3dbbe4 Add a new file xcat.conf.apach24 2014-01-20 13:31:53 -08:00
yinle 407bef3e3d Add a new file xcat.conf.apach24 2014-01-20 13:29:02 -08:00
yinle ad6649144c fix bug #3973 Ubuntu 13.10 diskful installation fails 2014-01-20 13:25:36 -08:00
baiyuan 60f33728d2 this part of code is doubled by git automatically, remove redundant part 2014-01-20 09:34:48 -05:00
daniceexi 9908a8156c Change the man page of nodeset to make it supports the shutdown and shell operations 2014-01-20 11:10:07 -05:00
baiyuan 9cb232d069 fix 3879,remove build_input dir from complete kit xxx.tar.gz 2014-01-20 04:08:30 -05:00
baiyuan cc207c5ecd kitconponent should be kitcomponent 2014-01-19 22:20:54 -05:00
baiyuan 584fe221c2 update imgexport/imgimport manpage to surpport kits 2014-01-19 21:56:14 -05:00
arif e86917e218 fix bug 3971, trim othernames variable 2014-01-17 08:45:17 +00:00
baiyuan 481a93554f fixed 3357,add symlink,copy postscripts and plugin files for kit 2014-01-16 21:01:50 -05:00
yinle 894bdb17e7 update building of ubuntu repo to include the supported ubuntu disctros 2014-01-16 04:33:11 -08:00
daniceexi 9164cf83a3 defect 3968: fixed the issue that for statelite on aix, the .statelite dir was not copied to shared_root spot from default spot 2014-01-16 04:49:17 -05:00
lissav f93a5eb28b fix mysqlsetup -u 2014-01-15 06:15:35 -05:00
immarvin caafd03ca0 fix defect #3960 Genimage broken for CentOS 5.4 nodes 2014-01-14 01:03:54 -08:00
lissav 0fab0368ec defect 3541 2014-01-13 12:55:15 -05:00
daniceexi 35376641b4 To make bmcsetup cmd to update node status to be [bmcready] in genesis; And make chain mechanism to support [shutdown] key word which is used to poweroff the node 2014-01-13 07:55:03 -05:00
arif dd3f08682f Merge commit 'e5bde95310d245174ae533251f7eb8a9c6c2702e' 2014-01-10 14:43:07 +00:00
daniceexi b58e374758 fix the issue that proxydhcp configuration file cannot be updated 2014-01-10 09:16:42 -05:00
arif e5bde95310 add nichostnameprefixes to @nodeattrs 2014-01-10 14:16:15 +00:00
sjing a4e0952b6c Fix for bug 3955. 2014-01-10 03:00:25 -05:00
sjing 24215114c6 Fix for bug 3815
Last fix results in "makedhcp -n" not working, so re-fix it.
2014-01-09 22:20:51 -05:00
arif e01827f9d3 first commit for prefix hostname feature 2014-01-09 21:02:53 +00:00
lissav 23c464cbe8 update description 2014-01-09 08:45:15 -05:00
Jarrod Johnson 3b1d444077 Fix detection of debian for some ubuntu installations 2014-01-08 15:16:51 -05:00
lissav 835ab6b592 simplify messages for odbcsetup call 2014-01-08 11:14:22 -05:00
ligc 9e81eccc66 fix for bug 3951: remove the code to check xcat versions during xcatd restart/reload 2014-01-08 23:47:28 +08:00
lissav 41a16bb370 fix for defect 3839 2014-01-08 10:34:21 -05:00
ligc 99802e8a09 fix for bug 3947: add check for AIX and nmap existence 2014-01-08 23:32:40 +08:00
lissav 69e5f3abf6 add catagories to site table 2014-01-08 08:30:44 -05:00
wanghuaz 9976df95e9 handle kit staff in imgexport/imgimport 2014-01-08 20:53:39 +08:00
daniceexi adf723db25 fix the issue that xcatd hangs when reading the request which is formatted in one line like litefile request from statelte CN 2014-01-08 07:42:35 -05:00
daniceexi 23b836102a defect 3135: changed the mount process for the statelite directory (for persistent entries) that make a directory after the node name and remount to the nodename directory instead of nfs root dir for persistent 2014-01-08 05:00:32 -05:00
Jarrod Johnson e02a913e86 Use sha256 by default in openssl.cnf 2014-01-07 14:18:53 -05:00
Jarrod Johnson ee812a995f Have esxi report itself ready at the correct time after a netboot or install 2014-01-07 14:18:05 -05:00
baiyuan 23a51d7bbb fix:remoed should be removed 2014-01-07 03:08:49 -05:00
daniceexi 69833876fa make confignics postscript to accept the site.setinstallnic to configure installnic to be static 2014-01-07 02:27:35 -05:00
lissav e87604fd5f defect 3948 2014-01-06 14:58:46 -05:00
wanghuaz bb4fa36b29 fixing the migration problem that rmkitcomp should remove the kitdeployment parameter file and its contents. 2014-01-06 15:19:24 +08:00
immarvin adb04f1651 fedora19/fedora20 diskful support 2014-01-02 23:52:13 -08:00
baiyuan 0723ce1117 update cases0 for buildkit 2014-01-02 02:52:25 -05:00
ligc 66bb1bc712 do not use nodels --version in /etc/init.d/xcatd 2014-01-02 14:39:40 +08:00
sjing 2cca891e35 Fix for bug 3952
Made makedhcp be able to handle the case where site.nameservers or
networks.nameservers is a comma delimited list with <xcatmaster>
keyword in it.
2014-01-02 01:23:43 -05:00
daniceexi e7dc46a03a defect 3909: make xcatd loads xCAT::Enabletrace by require instead of use to save resource 2014-01-02 02:05:37 -05:00
daniceexi 0599847898 fix man page of mknb to indicate that mknb only supports x86_64 2014-01-02 01:14:51 -05:00
daniceexi 553ecb83d2 Change the Windows deployment templates to support disk configuration, nics configuration and run postscripts 2013-12-31 09:02:26 -05:00
daniceexi 05946f11db Enhance genimage.cmd to accept second and third params for multiple winpe support 2013-12-31 08:04:25 -05:00
wanghuaz 9383ceca98 add an enhancement to skip not well-formed deployment parameters. 2013-12-31 17:03:21 +08:00
wanghuaz 3b1900c52d minor change in last check of passing parameters to postinstall and postbootscritps 2013-12-31 15:36:10 +08:00
daniceexi 3221fed0da Add some comments and help message for genimage.bat 2013-12-30 23:03:37 -05:00
daniceexi cf371f30e7 fixed the issue that missed the winpe-scripting.cab in last checkin 2013-12-30 07:02:49 -05:00
wanghuaz 045f334d33 fixing bug 3815: don't use global variables which doest work well in hierarchy system. 2013-12-30 11:02:02 +08:00
wanghuaz 0c911a96a3 passing kitcomponent deploy parameters to genimage package installation, postinstall script and postbootscripts. 2013-12-30 09:54:46 +08:00
wanghuaz 85d9803221 fixng bug 3945: give an example of how to write ospkgdeps and kitpkgdeps in different arch. 2013-12-27 17:03:32 +08:00
wanghuaz c60e45b4b2 fixng bug 3945: give an example of how to write ospkgdeps and kitpkgdeps in different arch. 2013-12-27 17:02:38 +08:00
baiyuan b63193149d kit release should be mandatory according to mini-design 2013-12-27 02:40:32 -05:00
wanghuaz 01f621ee32 fixing bug 3943: give accureate pattern to match output from console 2013-12-27 15:32:23 +08:00
baiyuan 17b7ee559a fix Use of uninitialized value within @a2 in pattern match (m//) at BuildKitUtils.pm line 273 2013-12-27 01:59:43 -05:00
sjing 62a0cb6350 Support dns master/slave configuration 2013-12-26 22:52:41 -05:00
wanghuaz a2aee1a0bb fixing bug 3848, moving preuninstall script from prerequisite rpm to meta rpm to make sure it can be issued before componnet been uninstalled. 2013-12-26 15:09:52 +08:00
jjhua 921d251301 if there are two roles for one chef-client, the script couldn't assign the
roles to the node. fixed it.
2013-12-26 12:41:15 -05:00
nott b12771ab54 template cleanup 2013-12-23 15:29:39 -05:00
jjhua 623ccadcc0 support for cinder 2013-12-23 16:29:55 -05:00
yinle 71213c8719 Add warning message on fsp wrong slp reply 2013-12-22 05:11:50 -08:00
immarvin 8b38c35e63 grep in busybox do not support long optipn string, use short instead 2013-12-19 19:11:31 -08:00
linggao 1e3062d8e4 Changed table name from capacity to hwinv. 2013-12-19 22:39:50 -05:00
immarvin 06af9c15a1 add rhels5.10 discinfo 2013-12-19 04:56:51 -08:00
immarvin bd36de6f1b fix syntax error if is blank 2013-12-19 04:27:16 -08:00
immarvin f75d136828 grep in busybox do not support long optipn string, use short instead 2013-12-19 01:41:19 -08:00
daniceexi 8eb9348c51 add the second argument for genimage.bat to make it can generate winpe and BCD to a specific dir 2013-12-19 07:26:14 -05:00
immarvin b014538601 fix the problem that rhels5.10 initrd cannot resolve the mn hostname 2013-12-18 23:21:42 -08:00
daniceexi abea7eceee Rewirte the proxydhcp.c with proxydhcp-xcat in perl; Added site.installnic to control the nics setting for windows; Added servicenode.proxydhcp and noderes.proxydhcp to control the starting of proxydhcp-xcat daemon and makedhcp againsts node for windows deployment 2013-12-19 04:55:27 -05:00
yinle 412f3b51c6 Modify the bug that causes mklocalrepo.sh error 2013-12-19 01:07:52 -08:00
linggao 2f17a10f92 added capacity table to store cpu, memory and disk sizes for nodes 2013-12-19 08:25:41 -05:00
Bruce Potter c4170ce728 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-12-18 15:43:59 -05:00
Bruce Potter 69fbb8add5 fixed Error: at the beginning of monshow usage (feature request 73) 2013-12-18 15:42:25 -05:00
lissav a2d494c501 defect 3916 2013-12-18 09:14:50 -05:00
sjing f7812a2517 Support dns master/slave configuration 2013-12-18 01:25:16 -05:00
lissav 91347e0a9b defect 3916 2013-12-17 13:22:27 -05:00
daniceexi b3af99e178 make including winpostscript dir only for linux 2013-12-17 13:55:39 -05:00
jjhua 78bde6f6f7 if we set up the chef-server during os provision, there are some error messages
in the /var/log/messages on the management node. Fixed it.
2013-12-17 14:16:58 -05:00
daniceexi 0851987c3b Make xCAT rpm to install all files in /install/winpostscripts/* for Windows support 2013-12-17 02:24:42 -05:00
daniceexi 7c81f38a80 Enhanced postscript support in templates 2013-12-16 03:57:30 -05:00
daniceexi 9b5ad5113e code drop for windows postscript/postbootscript support. The postscript/postbootscript should be set in node/osimage.postscript/postbootscript and copy to /install/winpostscripts before running nodeset 2013-12-16 02:24:11 -05:00
yinle 8b71e68c68 Add lsslp unicast support 2013-12-13 01:24:18 -08:00
yinle ca73b902f1 Add lsslp unicast support 2013-12-13 01:19:04 -08:00
yinle 22e3c40f09 Add lsslp unicast support 2013-12-13 01:13:44 -08:00
lissav 5585b97e18 fix defect 3942 2013-12-12 11:20:40 -05:00
immarvin 55f981ea47 liteimg use rc.statelite instead of rc.statelite.ppc.redhat for rhels6.5.ppc64 statelite 2013-12-12 02:15:24 -08:00
wanghuaz f8bb5e4b50 prevent the running of postbootscripts 2013-12-12 17:50:49 +08:00
wanghuaz 7c45a82a53 prevent the running of postbootscripts 2013-12-12 17:35:09 +08:00
daniceexi 7a8b802a86 skip the bmc interface for nics configuration 2013-12-10 07:18:53 -05:00
baiyuan 7ab60cf654 add test cases for addkit 2013-12-10 02:21:21 -05:00
daniceexi 663a0b7da8 Mutiple winpes support. nodeset (Windows.pm) will generate configuration file (path of winpe) in /var/lib/xcat/proxydhcp.cfg and send signal to proxydhcp daemon, proxydhcp daemon loads configuration file and offers 4011 service to windows compute nodes. 2013-12-10 05:35:37 -05:00
wanghuaz 2dd2518120 fixing bug 3340: add test option for rmkit to list kitcomponents in use 2013-12-09 21:38:41 -08:00
wanghuaz e2688d0211 fixing bug 3340: add test option for rmkit to list kitcomponents in use 2013-12-09 21:24:51 -08:00
zhaoertao f4b432b9ab modify the vmstorage value format of local path 2013-12-09 19:01:15 -08:00
Bruce Potter b952e390f2 add valid values of kvm, esx, rhevm to nodehm.mgt and power attributes 2013-12-09 19:01:49 -05:00
Bruce Potter b4ab8a1b4c update description of litefile and litetree image attribute to include reference to image groups 2013-12-09 14:38:00 -05:00
immarvin 94ca59d560 rhels6.5 support 2013-12-05 21:51:47 -08:00
Bruce Potter 7f5465e80f filter out another useless line of output from xhtml2pdf in getxcatdocs 2013-12-05 08:42:12 -05:00
Bruce Potter 75f28121ec change getxcatdocs to not exit when it hits an error converting one of the wiki pages 2013-12-05 08:24:36 -05:00
ligc 1170cda7f4 fix for bug 3902: add bridge nics into dhcpd.conf, em\d+ for Fedora 2013-12-05 12:51:49 +08:00
ligc c78350a9bf fix for bug 3922, use getNodesAttribs instead of getNodeAttribs 2013-12-05 09:46:44 +08:00
sjing 0d00b1be94 Fix for bug 3912
update net-snmp rpm version
2013-12-04 03:59:03 -05:00
lissav 810c5324b5 fix lots of info in man page 2013-12-03 07:21:07 -05:00
daniceexi 6dd972fd50 code drop for feature to support multiple disks/paritions and multiple nics configuration for Windows deployment. 2013-12-03 02:36:48 -05:00
sjing 9c24bcf48b Fixed bug 3927
AIX bundle file can not recognize '#' in the middle of line.
2013-12-02 22:55:36 -05:00
wanghuaz 20ec000e77 fixing the typo error in last commit for master 2013-12-03 00:55:56 +08:00
lissav ef5ec3c17c Defect 3926, rerun of mysqlsetup -i leaves xcatd stopped 2013-12-02 06:43:41 -05:00
jjhua 75fbe70734 two environment template files if develop_mode=false 2013-12-02 16:34:06 -05:00
xq2005 7abd27fbfe put mypostscript.tmpl under /opt/xcat/share/xcat/templates/mypostscript 2013-12-02 00:10:47 -08:00
baiyuan e2672df777 update linux.conf.template for autotest 2013-12-01 22:17:02 -05:00
jjhua 4e4ea3c0a2 To support databag in openstack chef cookbook.
--nodevmode is only used when running all the procedure, and will
generate the secret, create the databag, and load the databag item
2013-11-29 14:58:06 -05:00
baiyuan 794ca69b97 support multiple os version 2013-11-29 00:33:09 -05:00
baiyuan d21d6271cc add test cases for buildkit 2013-11-28 22:04:16 -05:00
xq2005 0585d387fb delete unused build script on ubuntu and debian 2013-11-28 00:43:57 -08:00
Bruce Potter f02239bf29 change instoss in builddep.sh to upgrade all net-snmp rpms together - bug 3914 2013-11-27 11:12:36 -05:00
Bruce Potter 5570ab24cf removed the nbroot rpms from the yum group file 2013-11-27 04:36:07 -05:00
Jarrod Johnson 05f5636ebc Have ipmi do wire format, to match ipmitool and microsoft behavior in spite of the spec (which no one follows, not even prior xCAT code) 2013-11-26 10:26:09 -05:00
baiyuan 14ac0776d0 enhance os value in testcase,adding os:rhels,os:sles support in cases0 2013-11-22 03:42:11 -05:00
xq2005 2ce177d155 for bug 3919: version compare problem 2013-11-22 01:38:23 -08:00
xq2005 b19f226801 update the ubuntu dep tarball 2013-11-21 20:03:06 -08:00
zhaoertao cd984f7c51 remove 'sequential' parameter for runxcmd calling in configfpc.pm 2013-11-21 01:05:36 -08:00
zhaoertao 8bc0488764 fix bug 3889 xcatd not running preprocess for multiple plugins when mgt=ipmi 2013-11-21 00:52:08 -08:00
daniceexi a8ba71961f defect 3917: add support for running of postinstall script in mic genimage. The rootimage root is changed to overlay/rootimg from overlay/package 2013-11-21 05:19:11 -05:00
wanghuaz a2a8bbf514 fixing the problem that configing bond0 flushed the default gateway. 2013-11-21 10:15:06 +08:00
daniceexi 49cda4ba0f Change the man pages of nodeset,genimage and geninitrd commands for adding --ignorekernelchk option 2013-11-19 07:08:56 -05:00
ligc f132ece7be Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-11-19 15:55:13 +08:00
daniceexi 9fbd6a0f7d Code drop for new requirement: Add a new flag --ignorekernelchk for nodeset, geninitrd and genimage commands to skip the kernel version checking when injecting drivers from osimage.driverupdatesrc 2013-11-19 06:29:46 -05:00
ligc a3cad111de fix for bug 3913: do not use autocommit=0 for table read 2013-11-19 15:50:15 +08:00
sjing 3b9be43df8 Fix syntax error in 00kitnodebase.pm
When I upgrade xcat to 2.9, I got error "Error loading module
/opt/xcat/lib/perl/xCAT_plugin/00kitnodebase.pm  ...skipping"
This is caused by syntax error of line 182, near "$reques
t_command".
2013-11-19 01:05:39 -05:00
Jarrod Johnson 9799071116 Fix SLES driver update media injection that is not rpm based 2013-11-18 16:31:59 -05:00
lissav f1311c0aa8 defect 3870 2013-11-18 13:43:30 -05:00
lissav f77e980e2e Defect 3906 2013-11-18 06:51:08 -05:00
jjhua 7e66fc5072 fixed bug 3904, if the environements dir doesn't exsit, create it. 2013-11-18 16:28:05 -05:00
Jarrod Johnson e52df92352 Fix problem where bnx2x dependency tree needs special handling in sles 2013-11-14 15:53:36 -05:00
jjhua 0a4d9fd9bc fixed bug 3898. 2013-11-14 14:18:25 -05:00
xq2005 0bf9efc290 replace , or . in xcatlib and confignics 2013-11-13 23:49:05 -08:00
John Simpson 6da15f4770 update to add comment on susspend and RHEL 2013-11-13 15:14:36 -05:00
immarvin 6f9f434b4a fix defect #3693 [DEV] rhels6.4-ppc64 statelite failed with (FATAL error: could not get the entries from litefile table...) when noderes.xcatmaster=<hostname of MN> 2013-11-12 23:41:51 -08:00
sjing f475c143e9 only try to stop named if restartneeded=1
because on linux, if the named is already stopped, when we tried
to stop named, the return code is 0 with a warning message;
while on AIX, if the named is already stopped, when we tried to
stop named, the return code is 1, it's different with Linux.
2013-11-13 02:06:00 -05:00
xq2005 c010a68bb3 cacl broadcast address in configeth 2013-11-12 18:45:49 -08:00
John Simpson 2afe367b20 udpate to rflash man page for NeXtScale FPC 2013-11-12 16:46:36 -05:00
Jarrod Johnson e770d4b6dc Fix problem where fsm pulled in mic support 2013-11-12 10:03:53 -05:00
Jarrod Johnson 00f940d48b Remove ipmi.pm.legacy removal from fsm/zvm builds 2013-11-12 10:03:27 -05:00
sjing 88cbc07d96 update perl-Net_SSLeay.pm to 1.55-3 for AIX7.1.3 and above 2013-11-12 09:25:32 -05:00
sjing 039cf57962 update perl-Net_SSLeay.pm to 1.55-3 for AIX7.1.3 and above 2013-11-12 09:20:37 -05:00
John Simpson efb4906c68 updated the rflash man page with the NeXtScale FPC information 2013-11-11 19:18:26 -05:00
John Simpson bfca7b0bb7 update to fix configtfpc problems with running in xcatd 2013-11-11 17:49:29 -05:00
Jarrod Johnson 80b54be58e Add ability for appliances to forbid 32 bit architectures for RHEL 2013-11-11 15:31:32 -05:00
Jarrod Johnson 2f930993c0 Recognize and translate invalid url message 2013-11-11 09:25:22 -05:00
Jarrod Johnson 3dccc94696 Revert "Have rflash on fpc present a more readable error message"
This reverts commit 5509f6ab48.
2013-11-11 09:23:37 -05:00
Jarrod Johnson 5509f6ab48 Have rflash on fpc present a more readable error message 2013-11-11 09:18:00 -05:00
yinqing 1e40a422b1 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-11-11 17:25:36 +08:00
jjhua b9ef6a4282 fixed bug 3888
initialize the variable uselocalhost;
add new script configgw to configure the public gw
2013-11-11 16:11:18 -05:00
jjhua 5669c23ff1 remove the -vx flag 2013-11-11 14:46:37 -05:00
jjhua b91d6cd875 clean the chef-server data and stop the chef-server before uninstall the chef-server 2013-11-11 13:46:27 -05:00
yinqing 712ac48e82 merge 2.8.2-pcm code change from qing 2013-11-11 17:24:10 +08:00
Jarrod Johnson 3a4b586ea9 Fix bug with genimage and sles 2013-11-08 15:58:38 -05:00
John Simpson 5be4fab2b3 update to rvitals man page to remove summary option 2013-11-08 10:52:46 -05:00
John Simpson c7fbdf4626 update to rvitals man page to remove lcds from the options for BMC 2013-11-08 10:30:08 -05:00
John Simpson 9dabf11cd4 update to rinv man page to add descriptions for mprom, deveid, and guid 2013-11-08 10:24:40 -05:00
John Simpson a11fd07dbc update to process firm the same as firmware 2013-11-08 09:57:20 -05:00
John Simpson 3698609370 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-11-08 09:54:30 -05:00
xq2005 d8f6d1a6b4 confignics search ipv6 networks name automatically 2013-11-08 07:37:18 -08:00
John Simpson d3894733bd updated messages in ipmi.pm to correct double colon problem with IBM::EnergyManager in the string 2013-11-08 09:31:03 -05:00
Bruce Potter 3bd9fbc891 remove ipmi.pm.legacy 2013-11-08 08:31:58 -05:00
xq2005 ad7916eba0 delete grep error information in xcatlib.sh 2013-11-08 02:02:16 -08:00
daniceexi a3040af400 changed the description for column name powermgt in mic table 2013-11-07 23:03:44 -05:00
Jarrod Johnson efb4565f32 Fix problem where SLES11 SP3 SDK disk 3 would overwrite disk 1 2013-11-07 13:45:51 -05:00
Bruce Potter 9ab47e362f Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-11-07 12:10:06 -05:00
Bruce Potter d1066357b4 automatically save previous bld 2013-11-07 12:09:43 -05:00
Jarrod Johnson b91db176cd Add option to xcoll for individual output (-i) 2013-11-07 10:31:15 -05:00
Jarrod Johnson c2e30cadf2 Fix problem where reventlog would fail against a management module 2013-11-07 09:59:07 -05:00
xq2005 253c365f3c build xcat-openstack on ubuntu 2013-11-07 00:06:16 -08:00
xq2005 1fbcfd4785 build xcat-openstack on ubuntu 2013-11-07 00:03:10 -08:00
xq2005 5249e76e70 build xcat-openstack on ubuntu 2013-11-06 23:58:05 -08:00
xq2005 4e47350c59 build xcat-openstack on ubuntu 2013-11-06 23:47:48 -08:00
Bruce Potter 3c1268bc75 change group of sym links too in builddep.sh 2013-11-06 10:57:51 -05:00
Bruce Potter 2ef2f3d77b fix chgrp problem in build scripts on aix 2013-11-06 10:15:13 -05:00
Bruce Potter dae22d2531 update builddep.sh to have instoss install newer perl-Net_SSLeay.pm rpm on aix 71L 2013-11-06 09:41:05 -05:00
wanghuaz 40ea9ba362 Fixing bug 3876, reutrn with usage if no kitcomponent specified to addkitcomp/rmkitcomp 2013-11-06 18:20:22 +08:00
immarvin 88926480a2 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-11-06 01:45:42 -08:00
immarvin 7ba5977869 fix #3877 [FVT]genimage return confusing error message when xCAT-IBMhpc is not installed 2013-11-06 01:45:12 -08:00
daniceexi b33e239dc1 Xeon Phi support. Support nfs mount to any server which set in statelite table. Support power management setting. 2013-11-06 07:09:14 -05:00
wanghuaz 4624c6b9fa fixing bug 3815: check options again in process_request to make sure makedhcp options can be processes on service node. 2013-11-06 17:31:36 +08:00
wanghuaz 957403a1d2 still fixing bug 3815, dhcp.pm process_request with different makedhcp options -n and -a are triggerd by AAsn.pm twice during xcatd restarting on SN. the first -n option is enabled and not get cleanup because it is a global variable. and then second call with -a option conficts with -n option in last makedhcp context. we have to clean up -n before call the second makedhcp. 2013-11-06 17:26:52 +08:00
xq2005 adae06ce7b bug 3824: systeimager install failed on sles10 golden client 2013-11-04 23:49:20 -08:00
xq2005 53302a77ed bug 3824: systeimager install failed on sles10 golden client 2013-11-04 23:40:46 -08:00
xq2005 4fb578678c bug3872: stay on 'booting' when installing sles10 2013-11-04 22:50:19 -08:00
baiyuan d863097b05 add test cases for cn installation with sn in x86_64 redhat vm with kvm 2013-11-04 03:51:45 -05:00
baiyuan dcefc401c7 add testcase for sn installation in x86_64 redhat vm with kvm 2013-11-04 03:32:31 -05:00
baiyuan 128c35fa74 add testcase for cn diskfull installation with sn in x86_64 sles vm with kvm 2013-11-04 03:20:12 -05:00
baiyuan dee77954a1 add testcase for cn installatiion with sn in x86_64 sles vm with kvm 2013-11-04 03:09:54 -05:00
baiyuan 72b9ac43c7 add testcase for cn installation with sn in x86_64 sles vm with kvm 2013-11-04 03:06:12 -05:00
baiyuan fc3d050265 add testcase for sn installation in x86_64 sles vm with kvm 2013-11-04 02:47:30 -05:00
immarvin 67c66abb1e correct a syntax 2013-11-03 22:02:49 -08:00
daniceexi 4904b08a78 complete comments 2013-11-03 09:40:39 -05:00
daniceexi 9f1fd6c223 code drop for xeon phi (mic) support phase 2. 1. Support mpss 3.1; 2. Support to install software in .filelist, rpm and simple format; 3. Support the hcp software to be installed in .filelist format by genimage command; 4. Support the nfs mount setting for mic node (base on litefile table); 5. Support Internal bridge setting for mic host 2013-11-03 09:40:17 -05:00
Bruce Potter 36e4842a1c add db2man for blding xCAT-OpenStack man pages 2013-11-01 16:45:32 -04:00
Bruce Potter 7b57d0ba6c build man pages for xCAT-OpenStack tables and objects 2013-11-01 16:38:35 -04:00
immarvin 5e8d0c91e3 fix defect #2980 install kernel-source fail in genimage in rh6/centos 2013-11-01 04:06:59 -07:00
xq2005 23905cb311 use ip address to find the network name 2013-11-01 03:33:39 -07:00
Bruce Potter ae1241c0b2 add check for git pull success to build script 2013-10-31 12:57:33 -04:00
John Simpson c76c88f0e2 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-31 11:33:11 -04:00
jjhua 79f90a33a8 move the environment template files into the ./share/xcat/templates directory 2013-10-31 20:22:32 -04:00
jjhua e727395b75 add 2 environment template files 2013-10-31 17:06:27 -04:00
John Simpson 0bd4a8fc81 update configfpc 2013-10-31 11:32:45 -04:00
immarvin 6f1ff7a924 fix defect #3813 imgexport 2.7 will not imgimport 2.8 2013-10-31 01:42:57 -07:00
jjhua b5589691a9 Merge branch 'master' of ssh://jjhua@git.code.sf.net/p/xcat/xcat-core 2013-10-31 16:01:25 -04:00
jjhua 4cf04607d1 fixed some issues about errors and messages from Linda 2013-10-31 15:58:34 -04:00
yinle ec3fa3a7ec Fix bug #3712 p6 IH full-disk install fails with no /tftpboot/yaboot 2013-10-31 06:54:59 -07:00
yinle d526bbaaa8 Merge branch 'master' of ssh://git.code.sf.net/p//xcat/xcat-core 2013-10-31 06:48:09 -07:00
immarvin 195bd69ab2 fix defect #3393 xcat 2.8 mgt server(rhels6.4-ppc64) hang on Generating /etc/rndc.key during reboot 2013-10-30 07:12:35 -07:00
xq2005 0e54237c42 bug 3831: install ubuntu hang 2013-10-30 03:05:27 -07:00
wanghuaz 213556c27f fixing bug 3867 2013-10-30 01:46:24 -07:00
wanghuaz 3477b1f7a1 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-30 01:44:46 -07:00
nott 13e7903b43 buildkit fixes 3845, 3855, 3857 2013-10-29 14:45:14 -04:00
John Simpson 2b7def707f Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-29 11:29:51 -04:00
lissav 0eb918b7bd 3865,3864 2013-10-29 11:08:40 -04:00
ligc cac2677c1c temp fix for bug 3792: multiple nics in the same subnet, use the first nic that in the subnet for dhcp 2013-10-29 10:48:31 +08:00
Jarrod Johnson 3664f1d5c3 Implement rescansan in esx.pm and wire up svc.pm to issue rescansan 2013-10-28 20:26:40 -04:00
John Simpson 08accdf517 update to configfpc to add support for verbose and -i <int_adapter> option and a ping verification 2013-10-28 16:16:36 -04:00
Jarrod Johnson 952ff38ce4 Add --format to mkstorage 2013-10-28 16:15:25 -04:00
Jarrod Johnson fbce5a6a00 Add formatdisk to esx plugin, to be called by mkstorage 2013-10-28 16:07:38 -04:00
John Simpson abbbe735b5 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-28 15:44:16 -04:00
Jarrod Johnson b0ddf05865 Fix stateless esxi warning about ssh 2013-10-28 10:44:40 -04:00
Jarrod Johnson 908efae0ba Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-28 10:43:25 -04:00
Jarrod Johnson ec85d06117 Suppress warnings about ssh/tech support shell 2013-10-28 10:43:08 -04:00
yinle 0d827b59ab Add a new file configeth_aix 2013-10-28 07:35:09 -07:00
yinle 3be3d26ac3 Add lsslp support for IMM2. 2013-10-28 07:27:29 -07:00
yinle 8ecf88438c Add check in confignics to give message to AIX user. 2013-10-28 06:33:44 -07:00
yinle 0c7e33c045 Add check in configeth to give message to AIX user. 2013-10-28 06:28:45 -07:00
jjhua 428058af5a move setup_openstack_repo from xCAT/postscripts/ to xCAT-OpenStack/postscripts, and it will be packed into xCAT-OpenStack package 2013-10-28 11:02:30 -04:00
Jarrod Johnson 06fe33434a Fix table sourced controller pointing in *storage calls in svc 2013-10-27 16:49:25 -04:00
Jarrod Johnson bb351003dc Implement rmstorage for sc 2013-10-27 16:39:23 -04:00
Jarrod Johnson bd899691b0 Add detachstorage call to svc plugin 2013-10-27 16:23:52 -04:00
Jarrod Johnson 7cab5a1f41 Have mkstorage report the volumes created. 2013-10-27 15:22:50 -04:00
Jarrod Johnson dc9dd79a5b Add ability to request a specific name when doing mkstorage 2013-10-27 15:16:14 -04:00
Jarrod Johnson 1e8ebff8ac Add lsstorage command to the svc plugin 2013-10-27 14:51:20 -04:00
Jarrod Johnson 2aaeb87959 Fix shared mkstorage to actually function correctly in svc 2013-10-27 11:17:50 -04:00
Jarrod Johnson b44b1bbd6e Tolerate and amend host definitions in SVC removing hard requirement for host names to match svc and xCAT 2013-10-27 11:08:20 -04:00
jjhua fbc44597ca remove the print Dumper() 2013-10-27 16:16:57 -04:00
John Simpson ca3e7da99b update to configfpc to add support for verbose and -i <int_adapter> option and a ping verification 2013-10-25 12:33:38 -04:00
John Simpson 84f4f2c7c9 update to add the configfpc man page 2013-10-25 12:28:57 -04:00
wanghuaz 0ffc189fee fixing bug 3821 give better description for chkkitcomp 2013-10-26 00:19:27 +08:00
wanghuaz f7ae606485 fixing bug 3821 give better description for chkkitcomp 2013-10-26 00:17:42 +08:00
lissav dc9c746cbc defect 3859 2013-10-25 08:28:24 -04:00
immarvin 3d9582728b fix defect #3694 [PCM] Showing booting status always for NGP X node status after power reset: update site.status during normal diskful reboot 2013-10-25 00:27:46 -07:00
jjhua aaed135c1e add a new optional --script for confignics 2013-10-25 14:52:08 -04:00
zhaoertao b8f9d57194 fix bug 3856: rmvm could remove cec 2013-10-24 23:32:02 -07:00
jjhua a5424b703b add a new script configbr-ex to configure the IP of the external bridge for network node 2013-10-25 14:33:18 -04:00
zhaoertao 5de59481e1 fix bug 3850: "chtab key=fsp,username=HMC ..." doesn't work for Powerlinux 2013-10-24 23:01:18 -07:00
lissav 9a09552de5 defect 3851, further enhancements 2013-10-24 08:05:59 -04:00
lissav 4bac666675 defect 3851, further enhancements 2013-10-24 07:23:59 -04:00
lissav 3cae77406c defect 3851, further enhancements 2013-10-24 06:55:54 -04:00
daniceexi 399e71a4c0 defect 3789: fixed the issue that xcatdebug command kill the xcatd ssl listening process. The fix is that just remove the handling debug message from plugin modules since xcatd loads plugin modules for each command run, don't need xcatdebug for plugin any more. 2013-10-24 10:41:48 -04:00
zhaoertao d53c777ca1 fix bug 3820: rinv for feihu FPC is producing errors 2013-10-24 02:13:34 -07:00
daniceexi 245c3eab83 defect 3588: For rpower reset on kvm, in the case persistkvmguests is enabled, check the domain is inactive before resetting the domain 2013-10-24 08:58:21 -04:00
daniceexi b18d580dd5 defect 3369: to add the flag -g for genimage command like for sles that make rh could handle the case that the kernel version is different with the name of kernel rpm when using -k to specify a new kernel version. 2013-10-24 08:07:21 -04:00
sjing fb60b65258 Handle the case where networks.nameservers is a comma delimited list 2013-10-24 04:19:47 -04:00
wanghuaz 5565f20b8b fixing bug 3848: add prerequisite component as dependency of kit component meta rpm 2013-10-24 15:07:04 +08:00
zhaoertao eac9954e26 fix bug 3651: rspconfig with cmm does not execute or provide error when entry found in ipmi table 2013-10-23 23:46:04 -07:00
John Simpson 526ef5fbd8 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-23 16:56:22 -04:00
lissav 3bf30fcc38 defect 3851- handle multiple MN in DB 2013-10-23 13:50:05 -04:00
Jarrod Johnson 857af4d498 Send a positive acknowledgement of flow request 2013-10-23 11:15:04 -04:00
daniceexi 67f5b9c808 change the position to run localdisk script that put it before killing udev. For stateless only. 2013-10-23 15:05:26 -04:00
jjhua 7cff252401 add the loadclouddata, share/xcat/mypostscript/mypostscript_cloud.tmpl into xCAT-OpenStack 2013-10-23 22:56:17 -04:00
jjhua 4e59b13e0f move out the code to read cloud/clouds table from Postage.pm to Cloud.pm in xCAT-OpenStack. Move out the loadchefdata script. 2013-10-23 22:41:15 -04:00
daniceexi 50a853c96e add more kernel modules of scsi for localdisk support 2013-10-23 14:01:09 -04:00
Jarrod Johnson 3243037a91 For newer versions of esxi for which we have selected a less vague name, ensure we remake it every time. 2013-10-22 10:45:42 -04:00
immarvin 06e244202b correct xcat-yaboot in error message to yaboot-xcat 2013-10-22 05:11:27 -07:00
immarvin 105b54d4cd fix defect #3626 yaboot.pm needs to use pkgdir 2013-10-22 04:53:02 -07:00
immarvin bcd72b4040 fix defect #3626 yaboot.pm needs to use pkgdir 2013-10-22 00:57:14 -07:00
jjhua d464001ca1 Add the chef-client to invoke the config_chef_client script 2013-10-22 14:29:56 -04:00
jjhua f8daa39253 fixed a minor problem 2013-10-22 13:25:45 -04:00
jjhua e852d0b264 changes for the command makeclouddata 2013-10-22 10:45:41 -04:00
jjhua a77996e933 Postscripts for OpenStack-Chef-Cookbook/xCAT integration 2013-10-22 10:22:39 -04:00
jjhua 42bc6cef07 code for OpenStack-Chef-Cookbook/xCAT integration 2013-10-22 10:07:08 -04:00
Chuck Brazie 66d62f7e65 Adding file back in, not sure why it delted 2013-10-21 14:09:31 -04:00
Chuck Brazie ef75e82fe3 Merge zVM updates into xCAT 2.8.3 2013-10-21 14:01:20 -04:00
lissav 81679ffdb9 defect 3819 2013-10-21 11:28:50 -04:00
zhaoertao 80ba0a4601 fix bug 3774 :getmacs <noderange> -D -V failed 2013-10-21 02:54:15 -07:00
xq2005 617de03d13 delete 127.0.1.1 from /etc/hosts on ubuntu compute node 2013-10-21 01:08:59 -07:00
John Simpson 49f714850b Adding a new plugin confgifpc to support discovery and configuring of NeXtScale FPCs 2013-10-18 16:18:14 -04:00
nott c88d7751de check return from find_latest_pkg 2013-10-18 07:59:14 -04:00
nott 41b7c99bee Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-18 07:58:16 -04:00
nott 9f53a3c4e6 check return from find_latest_pkg 2013-10-18 07:57:49 -04:00
lissav e1c55be4ff defect 3844 2013-10-18 07:50:22 -04:00
lissav 059a4fd6f6 defect 3841 2013-10-18 07:24:00 -04:00
immarvin 4fcf3a96e6 fix defect #3370 Create osimage definition for the Management Node 2013-10-18 01:58:05 -07:00
ligc c30f46cc80 fix for bug 3841: syntax error in remoteshell postscript 2013-10-18 15:58:18 +08:00
ligc e5d8576cfd Update Clouds table for xCAT-OpenStack 2013-10-18 15:53:10 +08:00
nott 6bdf5bfc3f add -F option to lskit man 2013-10-17 15:18:07 -04:00
nott 899be1a70d add -F option to lskit 2013-10-17 15:02:18 -04:00
lissav c05b7c9a66 additional flowcontrol error handling defect 3819 2013-10-17 11:46:12 -04:00
lissav 6d00593449 enhance error reporting 2013-10-17 11:04:01 -04:00
xq2005 87db317493 add env parameters in runxcatpost 2013-10-17 02:21:02 -07:00
zhaoertao 52344f9997 fix bug 3835: 'rspconfig blade network=*' result need to be enhanced 2013-10-16 23:52:02 -07:00
xq2005 f8a56d3712 bug 3801: the booted status after syslone reboot 2013-10-16 20:12:52 -07:00
nott b3a222e811 add build_input subdir to complete kit 2013-10-16 15:03:55 -04:00
lissav 529a287a92 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-16 12:56:34 -04:00
xq2005 6043695181 bug 3801: the booted status after syslone reboot 2013-10-16 08:43:20 -07:00
lissav 74dffc5f26 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-16 06:08:51 -04:00
lissav 5e5cf68068 put manpage back 2013-10-16 06:08:30 -04:00
zhaoertao c8899e694a fix bug 3834: 'lsslp -s CMM -w' write different id for cmm01 with 'rscan cmm01 -u' 2013-10-16 02:35:43 -07:00
zhaoertao 8081d7bf4f modify the operating for CMM doesn't rely on 'id' attribute 2013-10-16 02:35:27 -07:00
zhaoertao ace7a82ef9 modifying 'rscan -u|-w' for working through DFM 2013-10-15 19:40:17 -07:00
Bruce Potter 3bd7a65b37 remove xcat.1.pod, it is generated by xpod2man 2013-10-15 21:10:22 -04:00
Bruce Potter 7040aebf37 require perl-IO-Stty on x86_64 too, in case managing ppc64 nodes 2013-10-15 20:44:05 -04:00
lissav b9144fc028 comment out for now disable buffering on the socket 2013-10-15 14:24:43 -04:00
Jarrod Johnson a52dc5b5f9 Correct problem introduced by partial backout of storable.
Client.pm was still expecting some output to a request no longer sent.  Correct that.
2013-10-15 13:39:20 -04:00
lissav 53974fcaa8 defect 3819, changes for xcatdsklspost and setuppostbootscripts 2013-10-15 10:21:53 -04:00
lissav 9c7f3e41c0 defect 3819 enhance -s behavior 2013-10-15 09:05:44 -04:00
lissav 248415daea defect 3819 enhance -s behavior 2013-10-15 08:15:12 -04:00
wanghuaz 3aca3b2a70 fixing bug 3510 remove useless repos after genimage 2013-10-15 17:49:01 +08:00
wanghuaz 882d64f809 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-15 02:32:43 -07:00
wanghuaz 8b035a3570 fixing bug 3510: remove useless repos after genimage. 2013-10-15 02:31:01 -07:00
ligc 6375fb72ad sequential discovery phase 2: add -n, osimage and -s flags 2013-10-15 16:06:26 +08:00
wanghuaz f788778e48 fixing bug 3821, use better description for chkkitcomp command 2013-10-15 15:43:10 +08:00
ligc ca6318cf58 fix for bug 3833: if ip forwarding is not enabled, do not use the MN as gateway 2013-10-15 09:49:30 +08:00
nott e2213896d2 change pkgdir description 2013-10-14 10:21:34 -04:00
xq2005 a9b4000b61 for bug 3817 modification 2013-10-14 04:31:18 -07:00
xq2005 7fc282011b bug 3817: sysclone support rhels 5.9 2013-10-14 03:46:53 -07:00
Sheng Feng Xing 53dc1cde81 Do not import lpar node if FSP network associated with it 2013-10-14 15:05:30 +08:00
jjhua feda4dddbb fixed bug 3683. In rhels 6.x, the mksquashfs doesn't have the -le and -be options.
for sles, the mksquashfs is in /usr/bin/ .
2013-10-14 12:33:55 -04:00
nott d962fc5092 change kit framework to 2 2013-10-13 10:38:20 -04:00
nott f229e78a9e change kit framework to 2 2013-10-13 10:37:22 -04:00
nott baabb6d4ba add -v and aix note 2013-10-12 12:58:15 -04:00
nott 6fa8fdfb74 add -v and aix note 2013-10-12 12:54:38 -04:00
Bruce Potter 008e6ecdb7 filter out signing msg in build script 2013-10-11 17:42:39 -04:00
Bruce Potter e329e234a7 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-11 17:31:10 -04:00
Bruce Potter 7a187b19aa set group for files/dirs to root instead of xcat, because the xcat group does not exist on users mn 2013-10-11 17:28:14 -04:00
nott 1842cff1cf add framework to -v and check for aix 2013-10-11 16:40:44 -04:00
Jarrod Johnson 62b436be08 Disable storable encoding for client
Clever things can live in Storable payloads that can essentially be remote execution.
Disable that for now.
2013-10-11 15:57:29 -04:00
Jarrod Johnson 5bfcf11689 Rework previous changeset somewhat and add gateway support 2013-10-11 14:57:26 -04:00
Jarrod Johnson 8376bfab67 Attempt to set ip and netmask remotely 2013-10-11 14:45:19 -04:00
Bruce Potter d3c49894d5 updated description of useflowcontrol attr 2013-10-11 13:31:37 -04:00
lissav 764e263c2f defect 3819 2013-10-11 07:17:30 -04:00
lissav fa24d1f47c defect 3819 2013-10-11 06:47:35 -04:00
immarvin 3724f333fe fix defect #3830 [DEV] rinstall complains inappropriate message 2013-10-11 01:21:25 -07:00
lissav f4610cfc6d defect 3819 2013-10-10 14:53:24 -04:00
lissav 8b84e9e0eb defect 3819 2013-10-10 13:57:18 -04:00
lissav cd1c5414d6 defect 3819 2013-10-10 11:25:36 -04:00
lissav 4a04c8fb10 defect 3823 2013-10-10 09:09:37 -04:00
xq2005 d8c0929f24 bug 3824: install systemimager on sles10 failed 2013-10-10 03:14:50 -07:00
xq2005 39b5298569 bug 3824: install systemimager on sles10 failed 2013-10-10 03:11:53 -07:00
xq2005 381287e451 build ubutnu packages for prega 2013-10-10 02:59:19 -07:00
Jia Zhao bf0c433a8e fix nodeimport message problem 2013-10-10 15:29:35 +08:00
Bruce Potter 81760673e3 fix setversionvars command not found problem during promote 2013-10-09 19:54:10 -04:00
lissav b733b711c3 defect 3819 2013-10-09 15:26:55 -04:00
lissav b83cb162dd defect 3819 2013-10-09 13:46:42 -04:00
lissav 2a4a063169 defect 3760 2013-10-09 12:28:09 -04:00
Jarrod Johnson e81fae18d1 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-08 16:09:14 -04:00
Jarrod Johnson 8862d59f99 Add a rmvcluster command for vSphere support 2013-10-08 16:08:51 -04:00
lissav 3598d5047d defect 3816 2013-10-08 15:36:59 -04:00
jjhua eb6cc1d15c fixed bug 3796. At the end of genimage, remove the repositories of zypper. 2013-10-08 16:22:58 -04:00
xq2005 80291f4473 bug 3808: error info when running confignics 2013-10-08 01:45:23 -07:00
xq2005 9c409845ba bug 3809: get the dhcp info from lease file 2013-10-07 22:57:42 -07:00
lissav 4116445f88 update again to log 2013-10-03 10:36:05 -04:00
lissav a632c7b307 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-03 09:31:38 -04:00
nott 8461780ea5 add find_latest_pkg 2013-10-02 14:18:34 -04:00
nott 4711465ad0 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-02 14:16:38 -04:00
nott d74b4a2527 add find_latest_pkg 2013-10-02 14:15:18 -04:00
nott a4ebd3bf6a add find_latest_pkg 2013-10-02 14:10:36 -04:00
Jarrod Johnson 422cf661ee Add removevlan support to chhypervisor for vmware 2013-10-02 13:46:15 -04:00
Jarrod Johnson 10dd94e428 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-02 12:45:57 -04:00
Jarrod Johnson 8b786b30c5 If xCAT-vlan is installed, have chhypervisor change the switch and the hypervisor 2013-10-02 12:28:29 -04:00
nott 213394d3a6 add mult pkg dir support 2013-10-02 12:00:57 -04:00
Jarrod Johnson 698cf75276 Refactor hostportgroup management code in esx plugin
Have esxi support --addvlan parameter
2013-10-02 10:24:18 -04:00
lissav 73d269c8c1 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-02 09:14:32 -04:00
lissav 490ea0e57c defect 3797 2013-10-02 09:13:40 -04:00
Jarrod Johnson c440e892da Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-02 08:36:30 -04:00
lissav 57f924c50d defect 3811 2013-10-01 08:25:09 -04:00
John Simpson 36c1eb5fd7 Add support for missing NeXtScale sensors 2013-09-30 16:51:00 -04:00
lissav 3e6abbcc60 temp fix for defect 3797, at least get it working on SLES 2013-09-27 09:55:48 -04:00
xq2005 d856b6caf4 ubuntu 13.04 stateful support 2013-09-27 02:56:44 -07:00
daniceexi 09fe6d5c8f defect 3803: appending the default drvier list even new driver is specified in netdrivers attr; change the output message of genimage 2013-09-27 01:59:06 -04:00
xq2005 58e403c28c bug:3804 2013-09-26 19:29:30 -07:00
daniceexi 9f8a003107 check in the code to support the driver injection for stateless: 1. genimage will copy the generated initrd to /tftpboot;2. support nodeset --noupdateinitrd 2013-09-26 03:04:36 -04:00
Jarrod Johnson fbb1c3c1c0 Add lsvcluster private esx function 2013-09-25 17:23:27 -04:00
Jarrod Johnson c0585e091b Add an easter egg entry point for createvcluster 2013-09-25 17:10:49 -04:00
Jarrod Johnson e600768e19 SVC support phase 2
Generally able to create shared and dedicated storage luns

TODO: still put the boot data into storage.osvolume
TODO: format callout to nodetype.os driven plugin (looking at esxi here)

attachstorage/detachstorage/showstorage/rmstorage still TODO
2013-09-25 11:26:27 -04:00
lissav 9845d52bb7 defect 3800 2013-09-25 08:13:39 -04:00
lissav c5119b23fd add /install/custom directory 2013-09-25 07:24:01 -04:00
daniceexi 18d6398e02 defect 3783: add the missing driver for sles11.3; fix the bug of adding new drivers with incorrect order 2013-09-25 02:06:47 -04:00
daniceexi f9c1bd930e defect 3779: change the output of driver injection to make it sensible 2013-09-25 01:49:56 -04:00
Jarrod Johnson 25dd2ce800 Phase 1 of SVC plugin implementation
This commit is able to create storage in an existing mdisk grp.

It hardcodes the iogrp to 0 for now.  The next step is to make hosts and vhostmap.
mkhost -name <name> -hbawwpn <wwpn> -force

And then map them together:
mkvdiskhostmap -host <host> -force <vdisk>

If boot, store the wwn into storage.osvolume for future use.

Commands to do:
attachstorage
detachstorage
showstorage
rmstorage

suspect frontending:
lsmdiskgrp to show state of avail space
will be appropriate
2013-09-24 21:03:48 -04:00
lissav 14696db19f defect 3799 2013-09-24 10:26:00 -04:00
xq2005 b5c87afbb2 bug 3798: confignics -s failed on sles11 sp3 2013-09-24 02:14:43 -07:00
lissav 4a1260201d defect 3618 2013-09-23 12:02:52 -04:00
wanghuaz 5f0bc62131 Fixing bug 3406, using md5 hash algorithm for centos 5.x during createrepo 2013-09-23 18:50:23 +08:00
xq2005 cbba505632 confignics modification for syntactics 2013-09-23 02:57:28 -07:00
Sheng Feng Xing 4dd033b069 Commit new nodeimport man page into master branch for Power rack-mount node support 2013-09-23 15:30:30 +08:00
xq2005 ed0e4b6fc2 bug 3795: node can not boot after cloning sles11.3 with legacy mode 2013-09-23 01:07:55 -07:00
Sheng Feng Xing 9b5e17ab88 Merge PowerLinux 7R2 support patches into master branch 2013-09-23 14:45:43 +08:00
wanghuaz 25563cc4eb Fixing bug 3406, using md5 hash algorithm for centos 5.x during createrepo 2013-09-22 18:21:59 +08:00
Sheng Feng Xing eb16d571a0 Fix #3793: CFMUtils.pm can not sync-up symbolic link directory under cfmdir 2013-09-22 14:34:40 +08:00
Jarrod Johnson c3749b7f93 Add support for esxi5.5 2013-09-19 15:53:29 -04:00
lissav 25c5e4686a defect 3150, check for errors from DB. We can do itgit diff tabutils.pm 2013-09-19 13:06:08 -04:00
lissav 9f7f09d0f7 defect 3580 2013-09-19 10:52:57 -04:00
lissav a23b9ab782 defect 3785 2013-09-19 07:36:48 -04:00
lissav 57db78797e document xcatmaxbatchconnections update 2013-09-18 14:24:16 -04:00
lissav 16f60b110a document xcatmaxbatchconnections, try 2013-09-18 14:09:35 -04:00
lissav 5e0fde83cd defect 3785 2013-09-18 13:45:11 -04:00
lissav e11faa9992 fix extra output on -k interface 2013-09-18 08:21:29 -04:00
lissav e8d067b359 defect 3785 2013-09-18 07:08:41 -04:00
ligc bfe3cdad05 fix for bug 3748: lsdef --osimage need to list all osimage attributes 2013-09-18 13:46:00 +08:00
ligc 982f411251 fix bug 3745: makehosts -d to delete otherinterfaces hosts 2013-09-18 07:54:40 +08:00
Jarrod Johnson 29d9d824fe Fix pasu with multi-node eX5 systems 2013-09-17 17:27:47 -04:00
lissav 82617219fc fix defect 3786 2013-09-17 12:23:17 -04:00
lissav 863481ab17 fix for defect 3785(PCM) requirement 2013-09-17 10:38:04 -04:00
zhaoertao 35479c4cf9 enhancement of supporting partition on IBM power 7R1/7R2 machines. 2013-09-17 07:21:37 -07:00
xq2005 ce0d0e18f7 bug 3763:write install nics's configuration file 2013-09-17 00:49:04 -07:00
litingt 22cbc9f005 confignics test case part one 2013-09-16 23:35:22 -04:00
Sheng Feng Xing c3963a7f80 Fix #3784: CFMUtils.pm reports error messages in Verbose model if osimage.cfmdir is not set 2013-09-17 10:32:49 +08:00
lissav 07397d277f defect 3781 2013-09-16 09:29:20 -04:00
xq2005 69d3902280 bug 3776: post install script hung when deploy rhels5.9 2013-09-16 01:48:57 -07:00
zhaoertao a731c4f20b Enhancement of fixing for bug 3780: Incorrect password selected for blade 2013-09-15 23:17:00 -07:00
lissav c667ff8f28 add support for -a (addrows) flag 2013-09-13 14:21:29 -04:00
lissav a854eaa08f add support for -a (addrows) flag 2013-09-13 14:18:49 -04:00
lissav df24dc4db9 add support for -a (addrows) flag 2013-09-13 14:17:36 -04:00
immarvin a9b22625d3 add fedora19 full install support 2013-09-13 07:16:13 -07:00
lissav 71274bf063 add missing libraries 2013-09-13 07:57:40 -04:00
lissav 48e922423a defect 3750 2013-09-13 07:37:25 -04:00
xq2005 bfd7e6c7ee setupntp do not return directly 2013-09-13 02:05:25 -07:00
zhaoertao cf14e652d1 fix bug 3780: Incorrect password selected for blade 2013-09-13 00:46:26 -07:00
lissav 0b9bccf4df defect 3750 2013-09-12 09:26:39 -04:00
lissav 1b808bcffd Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-09-12 08:19:19 -04:00
lissav 1223ff467e add -t info 2013-09-12 07:54:58 -04:00
xq2005 9390efe04e confignics modify -s option 2013-09-11 23:48:49 -07:00
Jarrod Johnson 787fb3207c Implement rflash support for NeXtScale Enclosure manager 2013-09-11 14:26:03 -04:00
lissav 0537dc4e61 defect 3766 2013-09-11 08:56:09 -04:00
lissav de087c0f9d defect 3778 2013-09-11 07:15:34 -04:00
zhaoertao f3d00082c2 Modifications of setting memory for partitions on Power Machines 2013-09-11 02:46:38 -07:00
daniceexi 9f2f230037 defect 3759: fix the man page for power 6 that attributes syssbpower,sysIPLtime were not in the command line list 2013-09-11 09:47:12 -04:00
xq2005 f9e7a88e69 bug3767:Target node doesn't return 'booted' status in sysclone 2013-09-11 03:23:19 -07:00
xq2005 d7db26b19c bug3767:Target node doesn't return 'booted' status in sysclone 2013-09-11 03:18:06 -07:00
xq2005 689d4837fb bug 3755, No way to setup CN hardware clock 2013-09-11 03:09:17 -07:00
sjing 069169902d Enhance usability of makedns with more checks and better messages. 2013-09-11 05:15:36 -04:00
lissav ad095fe20c fix defect 3777 2013-09-10 14:23:22 -04:00
lissav 0c36ee3155 add centos6 2013-09-10 09:13:58 -04:00
xq2005 3b1333d88f fix the postinst script for xcat-server on ubuntu 2013-09-10 02:24:18 -07:00
wanghuaz 73cf93f36b fixing bug 3764, add osminor version for sles. 2013-09-10 14:50:04 +08:00
wanghuaz 6c6f954ff8 enable snmpv3 monitoring on Linux on master 2013-09-10 14:48:46 +08:00
zhaoertao e42ce7835c Add a column 'physlots' for 'vm' table, it is used for partitioning. 2013-09-08 23:26:25 -07:00
xq2005 b10396f556 bug 3765 2013-09-08 23:55:13 -07:00
Jarrod Johnson 742fc45068 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-09-06 11:16:13 -04:00
Jarrod Johnson f39001788f Provide rpower reseat for NeXTScale 2013-09-06 11:15:39 -04:00
nott 0fac74810f #3655 - add two new subroutines for comparing rpm versions 2013-09-05 13:05:39 -04:00
nott 3b82ab0817 #3674 - add error return code 2013-09-05 12:29:37 -04:00
nott cf6f185635 #3752 - change tmp work dir location 2013-09-05 11:20:25 -04:00
zhaoertao ec4622a096 Modify manpage for mkvm, lsvm, rmvm. And checking if parition is disabled. 2013-09-05 01:28:27 -07:00
zhaoertao 371c4c79a9 Supporting full-partition and physical-partition with DFM 2013-09-05 01:28:01 -07:00
xq2005 4cb0606746 bug 3768,3769,3770 2013-09-04 20:59:20 -07:00
ligc db4b5a2065 add the storage.rhels6.pkglist 2013-09-05 09:59:39 +08:00
sjing 3e71a82741 add an error message if mn's hostname can not be resolved. 2013-09-04 05:58:19 -04:00
xq2005 0f9cd87b13 for bug 3762 2013-09-04 02:45:31 -07:00
Bruce Potter 9263cb2f15 specify --checksum for createrepo so the repo will work on rhel5 2013-08-31 10:35:25 -04:00
ligc e9d60852b7 add rhelhpc6.4 support 2013-08-30 09:13:17 +08:00
lissav c9053f4a6c add timeout support to updatenode to pass into xdsh 2013-08-29 13:53:34 -04:00
lissav bfbdb24622 add timeout support to updatenode to pass into xdsh 2013-08-29 13:34:13 -04:00
lissav f2ded51dec implement timeout in xdsh -K 2013-08-29 09:12:50 -04:00
lissav 856dd30fae more code to enable user input timeout on xdsh -K 2013-08-29 07:59:36 -04:00
xq2005 a5fb87a364 add syscloneimgupdate scripts to update the target nodes files 2013-08-29 02:59:32 -07:00
lissav 2662d2913f add support to supply expect timeout 2013-08-28 13:07:38 -04:00
lissav e8052e3e37 add check for servicenodes and computenodes in noderange for nodeset. Also remove very old commented out code defect 3750 2013-08-27 13:10:37 -04:00
lissav 072e57437a Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-27 12:55:34 -04:00
Bruce Potter f61d224d1c fix bld script change 2013-08-27 12:49:04 -04:00
lissav edabe5dc6c add check for servicenodes and computenodes in noderange for nodeset. Also remove very old commented out code defect 3750 2013-08-27 12:48:37 -04:00
Bruce Potter 79abddc476 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-27 12:36:38 -04:00
lissav c0fbda2ee2 add check for servicenodes and computenodes in noderange for nodeset. Also remove very old commented out code defect 3750 2013-08-27 12:26:09 -04:00
Bruce Potter b20f9ae848 change git cmd used to get current branch 2013-08-27 11:23:22 -04:00
lissav bacfae1024 fixes for defect 3750 2013-08-27 09:48:31 -04:00
xq2005 260d2a5746 sles.pm modification for sysclone on sles 2013-08-26 20:51:26 -07:00
xq2005 aa892335de update scripts for sysclone supports sles 2013-08-26 20:16:47 -07:00
lissav 1fc54f6bdc changes for defect 3758 git patch 2013-08-26 11:08:06 -04:00
xq2005 b2f511f4df sles.pm modification for sles 2013-08-26 00:01:05 -07:00
daniceexi 098ddc4b46 Just a checkin test, no change 2013-08-26 01:55:39 -04:00
daniceexi 1f7cb1b593 Just a checkin test, no change 2013-08-26 01:53:16 -04:00
daniceexi 2f175e4cef Just a checkin test, no change 2013-08-26 01:48:17 -04:00
ligc 0b874a4bd5 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-26 09:29:00 +08:00
lissav a8c36721b0 add additonal ethernet setup 2013-08-24 06:32:33 -04:00
daniceexi afc950912d kill the child processes when create socket failed 2013-08-23 06:42:36 -04:00
xq2005 e87d5fa074 add mksysclone in sles.pm 2013-08-22 23:32:02 -07:00
xq2005 56ed1f53d0 postscripts modification for sysclone on sles 2013-08-22 22:58:53 -07:00
Jarrod Johnson 82e6644c85 Correct more issues with noderange 2013-08-22 14:35:21 -04:00
lissav 84b36c29ab fix schema definition 2013-08-22 12:03:14 -04:00
daniceexi 10a1973aae make geninitrd could run against statelite image to generate initrd 2013-08-22 07:05:41 -04:00
daniceexi 969f535536 Remove the validity checking base machine type so that any power machines can be run with renergy command 2013-08-22 06:38:41 -04:00
xq2005 6df017b620 remove klogd from genesis base 2013-08-21 19:50:17 -07:00
lissav 5d7072da13 defect 3754 2013-08-21 12:55:39 -04:00
xcat ubuntu build machine 0565563156 build packages on ubuntu 2013-08-21 16:31:02 +00:00
xq2005 5aee2ceea8 add reiserfs into genesis to support sysclone for sels 2013-08-21 09:07:48 -07:00
xq2005 66700054a3 add kvm pkglist and template for ubuntu 2013-08-21 07:35:23 -07:00
xq2005 9e2bb00b82 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-21 03:07:34 -07:00
xq2005 65a2d35112 modification for builing xcat on ubuntu 2013-08-21 03:05:59 -07:00
Jarrod Johnson 2275e87b6f Try to suppress scary warning at time of checking for bmc port activity 2013-08-20 16:31:53 -04:00
Jarrod Johnson 7ac9dae5af Attempt to fix bmcsetup problem where service processor changes after request to change too late 2013-08-20 15:59:42 -04:00
Jarrod Johnson 21e8a18c9e Fix problem where values after parenthitcal group were not evaluated correctly 2013-08-20 15:34:16 -04:00
wanghuaz 0a59a7beb6 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-20 23:11:19 +08:00
wanghuaz 6439ab60ee fixing bug 94319: handle the case of some postscript contains parameters 2013-08-20 23:10:41 +08:00
lissav 8e48b6a40f fix defect 3750 2013-08-20 10:24:06 -04:00
xq2005 3188ab14cc postscripts modifiction about sysclone supporting for sles on master 2013-08-20 02:09:46 -07:00
xq2005 19d72e6f84 add debianpreconf into xcatlib.sh on master 2013-08-19 23:47:34 -07:00
lissav 6cac1a8001 fix pid files did not get removed and the kill term showing up 2013-08-19 13:29:51 -04:00
Bruce Potter bae1fbbdf4 add --nonodecheck to the psh usage and man page 2013-08-17 10:52:52 -04:00
immarvin 6b546dbf85 update node provision status based on the feedback of nodes instead of rpower/rnetboot 2013-08-16 02:17:16 -07:00
immarvin fd0accd00c update node provision status based on the feedback of nodes instead of rpower/rnetboot 2013-08-16 02:05:31 -07:00
immarvin 565f67b9fe update node provision status based on the feedback of nodes instead of rpower/rnetboot 2013-08-16 02:00:23 -07:00
immarvin 6769c92f7e update node provision status based on the feedback of nodes instead of rpower/rnetboot 2013-08-16 01:43:38 -07:00
immarvin 50901d0ac1 update node provision status based on the feedback of nodes instead of rpower/rnetboot 2013-08-16 01:42:53 -07:00
immarvin ef4a931440 update node provision status based on the feedback of nodes instead of rpower/rnetboot 2013-08-16 01:42:10 -07:00
immarvin 8eb4b81c90 update node provision status based on the feedback of nodes instead of rpower/rnetboot 2013-08-16 01:38:09 -07:00
immarvin c507d9a7d1 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-16 01:29:08 -07:00
immarvin 1e6f25b395 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-16 01:29:08 -07:00
immarvin 6a42e3c11b update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-16 01:29:08 -07:00
immarvin 4c1c27c753 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-16 01:29:08 -07:00
zhaoertao f78ec64c25 The item of updating pre-defined groups for nodes 2013-08-15 23:56:30 -07:00
daniceexi 004e0533f0 Enchancement for drvier injection to initrd: 1. add the updateonly keyword for netdrivers att that only update the existed drivers from new distro update instead of copying all the drivers, this is helpful to reduce the size of new built initrd; 2. the drivers for old kernel will be removed if there's new kernel will be used. And merge the status update commit which checked in by Yang Song from 2.8 2013-08-16 05:55:19 -04:00
immarvin 125fb4d812 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 22:40:47 -07:00
immarvin b1d5658f5e update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 22:38:32 -07:00
immarvin 7cbc8b1bea update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 22:33:51 -07:00
immarvin 6131921307 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 22:10:07 -07:00
immarvin 988da99f89 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 20:31:29 -07:00
immarvin c8ca832460 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 20:29:27 -07:00
immarvin e918aa27a4 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 20:27:20 -07:00
immarvin 908508f44c update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 20:24:34 -07:00
immarvin 3cef537a5f update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 20:18:47 -07:00
Jarrod Johnson 1c8bee1e14 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-15 11:35:33 -04:00
Jarrod Johnson 433866fb0b Default in user/password in the same way that ipmi works in plugin 2013-08-15 11:35:12 -04:00
lissav a13dc3db50 fix syntax 2013-08-15 07:34:54 -04:00
ligc ac9a21620d Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-15 11:00:57 +08:00
lissav 10ecce9fac new man page for xcatconfig -t 2013-08-14 09:54:23 -04:00
lissav f11b298acd setup interface for setting tunables 2013-08-14 09:46:19 -04:00
Jarrod Johnson f8cf3fd1d9 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-14 08:58:28 -04:00
Jarrod Johnson fa1b9f924b Correct spelling mistake in xCAT-genesis that got in the way of interface bring up 2013-08-14 08:58:01 -04:00
Bruce Potter 23cb176d27 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-13 13:52:56 -04:00
Bruce Potter e14616c4f8 fixed build script to include release in the path for the built rpms 2013-08-13 13:49:29 -04:00
Jarrod Johnson c6608120cb Try to bring up extra interfaces for discovery 2013-08-13 13:28:34 -04:00
lissav 6e5fcf3edd bad code in remoteshell for flowcontrol 2013-08-13 11:49:32 -04:00
Jarrod Johnson 4b506b415a Add support for rinv and faster DDR3 dimms 2013-08-13 10:13:45 -04:00
jjhua 2f352c0b1a Merge commit 'origin/master' 2013-08-13 17:18:54 -04:00
jjhua 1d3d316d05 fixed bug 3718. This fix only checked into xCAT 2.9 2013-08-13 17:13:47 -04:00
Jarrod Johnson 275a19151b Fix ipmi FRU parser to give up once malformed data is encountered 2013-08-12 16:04:08 -04:00
lissav a02372c5cb defect 3731 2013-08-12 13:49:31 -04:00
lissav 9209ba674b Defect 3731 2013-08-12 12:52:25 -04:00
daniceexi ddc5274f50 Add usage message and manpage for geninitrd command; Add --noupdateinitrd flag for nodeset manpage; Make geninitrd to check the provmethod if no image name is specified 2013-08-12 11:18:49 -04:00
xq2005 221caa74ab add comments in anaconda.pm 2013-08-12 02:48:54 -07:00
wanghuaz 0b9b5f957c fixing bug 3721, don't remove the repo from otherpkgdir if the repo is used by other osimage 2013-08-12 14:37:01 +08:00
immarvin 754866a6f5 fix defect 3734 makehosts throw exceptions when node ip is not illegal 2013-08-12 14:37:01 +08:00
Jarrod Johnson 325f887b40 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-09 10:31:40 -04:00
Jarrod Johnson 2952f0e907 Do sparse allocation for non-lvm raw format images 2013-08-09 10:30:58 -04:00
wanghuaz ab02c12352 fixing bug 3721, don't remove the repo from otherpkgdir if the repo is used by other osimage 2013-08-09 17:10:36 +08:00
immarvin d5609b9ca8 fix defect 3734 makehosts throw exceptions when node ip is not illegal 2013-08-08 21:32:03 -07:00
Jarrod Johnson 65e1f6f484 Implement vm.storagecache and vm.storageformat
It has been requested to make these tunables available since different storage schemes
can benefit greatly from them
2013-08-08 16:27:04 -04:00
jjhua fcd5f2fc45 fixed bug 3732, centos 5.x needs the url rpository 2013-08-08 14:26:51 -04:00
daniceexi 4139e20fb3 defect 3703: to support command [nodeset <node> osimage] when the provmethod has been set 2013-08-08 12:54:07 -04:00
daniceexi 9650919738 defect 3703: make the configmic and flashmic could get the correct hostname on the host node 2013-08-08 12:52:35 -04:00
ligc c3ebc4ec3b update testcase lsdef_nics 2013-08-08 16:41:06 +08:00
ligc a092441f67 add testcase lsdef --nics 2013-08-08 16:21:03 +08:00
ligc 00861c3455 add test case lsdef_t_h_i 2013-08-08 16:00:49 +08:00
Jarrod Johnson 2aeee72311 Fix for noderange parentheses handling 2013-08-07 17:00:09 -04:00
daniceexi 2810fbea3f defect 3726: for the initrd of sles, the /modules in initrd should symbol link to the new kernel dir if there's new kernel dir 2013-08-07 09:59:54 -04:00
immarvin b868858de3 fix defect 3719 [DEV] rcons fails when nodehm.mgt=kvm 2013-08-07 00:42:39 -07:00
yinqing d6debec1a6 #220993 Can not import node by auto discovery switch and switch port. 2013-08-07 13:40:05 +08:00
yinqing 9ddfd08f24 #221180 There is no mechanism to prevent error message printed in kitimagepostdelete when disassociated kit with the image profile 2013-08-07 11:32:13 +08:00
linggao f6ecd4a68e fixed defect 3729 imgexport does not honor rootimgdir 2013-08-06 20:15:23 -04:00
lissav f18d19a102 Change tabprune and tabdump to use MAXMIN routine 2013-08-06 11:55:54 -04:00
Jarrod Johnson cff10ef530 Correct language in sensor decode 2013-08-06 10:56:57 -04:00
lissav 5fe991bc02 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-06 09:43:58 -04:00
lissav 42b5373796 fix bug 2013-08-06 09:43:40 -04:00
immarvin 27747c44fa fix defect 3245 2.8:return value of nodeset does not equal to 0 on ppc64 2013-08-06 00:57:05 -07:00
lissav 38c2e8e06f add MAXMIN routine 2013-08-05 14:17:48 -04:00
Jia Zhao a4f86be2c9 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-05 19:01:21 +08:00
Jia Zhao aa83596560 fix noderegenips scalability problem 2013-08-05 19:00:42 +08:00
xq2005 b4578aeabe comment the useless apt repo in full installation on ubuntu 2013-08-05 02:23:59 -07:00
Lei Ai f0c90b3a51 initialize global variables to avoid Cannot re-provision the node which has been removed 2013-08-05 15:11:45 +08:00
xcat ubuntu build machine 67161bdcc7 changes to build-ubunturepo for git repo 2013-08-05 03:04:27 +00:00
lissav 6d1a5a12ea add support to generate mypostscript files 2013-08-02 12:27:07 -04:00
lissav 8591165766 add support to generate mypostscript files 2013-08-02 12:25:16 -04:00
lissav e0e331fc2e add support to generate mypostscript files 2013-08-02 12:22:27 -04:00
xq2005 fd48d12d60 transfer the confignics and configeth to shell 2013-08-02 03:03:26 -07:00
xq2005 9800265c12 start the xcatd on ubuntu/debian when system booting 2013-08-02 01:46:26 -07:00
linggao 9ed91d3a09 document tabdump -n 2013-08-01 12:18:16 -04:00
linggao da34a50431 add support to tabdump -n <#records> for auditlog and eventlog 2013-08-01 11:48:39 -04:00
immarvin 057c5668cb fix defect 3722: replace die with MsgUtils->message and exit 2013-08-01 02:38:34 -07:00
root f0e5505b24 fix defect 3724, makehosts should report error/warning messages when entrys in hosts table are not correct 2013-08-01 00:21:21 -07:00
lissav 03281d9891 Impliment flow control call for getpostscript and getcredentials 2013-07-31 09:29:32 -04:00
daniceexi cc888734aa Change the insert_dd function for handling the initrd hacking. 2013-07-31 06:57:34 -04:00
lissav 6588a4e05f Fix makehosts -h does not display and add makehosts -v (version) 2013-07-30 14:36:44 -04:00
lissav 8947209fd7 Fix for defect 3717 2013-07-29 14:24:45 -04:00
Jarrod Johnson 9ffbe24f64 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-29 14:01:34 -04:00
bp-sawyers 992d5c50ce Update bld script for different git branches
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17034 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-29 15:34:16 +00:00
Jarrod Johnson 39ba905704 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-26 14:31:44 -04:00
bp-sawyers 8098a1b4d7 Updates to build script to build from git
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-26 18:07:55 +00:00
lissav d9415d6871 fix message part of defect 3718
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-26 13:32:39 +00:00
simba372 581631e87d 211979: [low rank][PCM4.1][unmanaged node]Failed to create unmanaged node with the length of device name which is less than three letters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-26 09:47:17 +00:00
creativezj 14656f2613 re-design node plugin 00kitnodebase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17026 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-26 09:34:39 +00:00
lissav efbc5003b9 fix syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17025 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-25 17:38:29 +00:00
jbjohnso d7c4c6e5f9 Fix problem where setting a string that happened to contain the letters 'NULL' somewhere would fail
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17024 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-25 15:14:21 +00:00
Jarrod Johnson d82e567d13 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-25 11:10:41 -04:00
jbjohnso 40a65cc564 Fix problem where xcatd would error on end of stream
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-25 13:27:37 +00:00
Jarrod Johnson e55dcc8b3e Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-25 09:22:49 -04:00
Jarrod Johnson 725e89bef5 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-25 09:20:32 -04:00
lissav 7fd861742e fix defect 3714
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17021 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-25 11:00:45 +00:00
sjing d331353592 Remove klogd binary since it's not included in mcp 7.3
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17019 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-25 01:37:43 +00:00
jbjohnso 1d733e7911 Add information about IBM backup firmware to rinv
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17017 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-24 18:39:47 +00:00
Jarrod Johnson 66493d480a Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-24 14:34:49 -04:00
Jarrod Johnson a734799fa1 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-24 13:44:53 -04:00
bp-sawyers d755a59421 update xCAT-genesis-builder for mcp build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-23 19:37:06 +00:00
Jarrod Johnson 1d217b4d47 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-23 14:31:25 -04:00
lissav be0c38e03b Do not check for config file for Mellanox, no longer needed. Also improve error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17012 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-23 13:19:26 +00:00
jjhua 18c8045c66 fixed bug 3706, enabled=0 in the Centos-Base.repo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17011 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-23 05:27:34 +00:00
lissav 383c35fb49 fix defect 3707
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-22 17:11:01 +00:00
Jarrod Johnson b3413a47bf Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-22 09:45:17 -04:00
chudegao c55ab672f0 fix#220182,The node is not rebooted automatically while use new image profile during re-installation process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17008 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-22 06:54:47 +00:00
asirxing d57098c482 Skip to add root relative information into CFM merge files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17006 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-22 05:55:43 +00:00
jbjohnso cd85ac13c1 Fix problem where name resolution was used instead of certificate subject to identify 'trusted' peer
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17004 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-19 13:26:46 +00:00
Jarrod Johnson 52dff9bf51 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-19 09:22:42 -04:00
jbjohnso db0dd06b3f Fix Client.pm handling of Storable paylod
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17001 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-18 19:16:07 +00:00
Jarrod Johnson 89f2a8fcb5 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-18 15:11:20 -04:00
Jarrod Johnson 0604637110 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-18 14:56:17 -04:00
lissav ea552b5898 fix so output only shows up under updatenode -V
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17000 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-18 14:14:33 +00:00
lissav 3f6796b1d3 new osimageusercomment not needed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16999 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-18 11:32:08 +00:00
lissav 04bb21fef7 checked in with garbage on line 4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16998 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-18 11:28:18 +00:00
jbjohnso e5dd20f15e Clear $1 prior to calling plugins
xcatd now might let $1 leak into the plugins.  Ideally, the downstream code
would check match before relying upon $1 to be undef, but better to
avoid unintuitive behavior.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16997 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 18:59:10 +00:00
Jarrod Johnson c321b3223b Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-17 14:54:14 -04:00
lissav 97db7efd56 defect 3137
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16996 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 18:17:27 +00:00
lissav ee1ec2e91f fix defect 3137
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 17:25:39 +00:00
lissav 9e41f13680 don't implement in AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 15:56:08 +00:00
jbjohnso 40f9dee2c6 Fix problem where Client would wait for EOF with storable encoding.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16993 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 15:29:26 +00:00
lissav 5801a0db29 fix defect 3137, add -V flag input to xcatdsklspost to be passed as VERBOSE env variable to postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16992 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 15:28:13 +00:00
Jarrod Johnson 8c671750b9 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-17 11:24:35 -04:00
jbjohnso 1f6177a5c6 Have xcatd send client more similar content between xml and non xml
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16991 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 15:20:49 +00:00
Jarrod Johnson 367df148be Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-17 11:16:03 -04:00
jbjohnso f468d1a5d3 Remove extraneous use from ipmi plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16990 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 14:55:13 +00:00
Jarrod Johnson 31c6ef075e Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-17 10:50:33 -04:00
Jarrod Johnson acc6f2769c Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-17 10:43:03 -04:00
xq2005 9fdebefca8 fix the syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16989 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 14:40:30 +00:00
lissav 437b9348d1 fix defect 3627
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16988 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 10:54:05 +00:00
wanghuaz 0602dcfb6d Fixing bug 3697: addkitcomp -a option works with pessl automatically makes a wrong perte/compiler order in postbootscript for diskfull installation. compiler's postinstall script should always run before perte's postbootscripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 08:37:45 +00:00
wanghuaz f4e93057b1 fixing bug 3653 on sles and ubuntu.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16985 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 03:07:26 +00:00
nott 4e11f026ef add check for sles10 and rh5
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16983 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-16 16:33:33 +00:00
lissav dac3f1ca3f fix for defect 3464
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-16 11:59:20 +00:00
lissav 63abcb074b fix defect 3521
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-15 17:16:32 +00:00
jbjohnso 4e4e10d1f8 Rebuild discovery payload every cycle.
Since some things like LLDP data might trickle in, enable gather to
be gathered as it changes.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16979 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-15 14:09:19 +00:00
Jarrod Johnson 5c82c9606d Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-15 10:04:31 -04:00
Jarrod Johnson 713a3a5408 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-15 09:57:17 -04:00
lissav ae708fa5e2 document sorting the policy table by priority defect 2959
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16978 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-15 12:31:10 +00:00
lissav 4d21c75a7e sort policy table before checking entries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16977 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-15 12:22:53 +00:00
daniceexi 22290197a7 add the link for new command geninitrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-15 03:06:28 +00:00
daniceexi d36a03cc36 Add the new plugin to handle the geninitrd command that regenerate (hack) initrd for stateful osimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16975 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-15 03:05:27 +00:00
daniceexi d18c4b0307 Changed the insert_dd that the kernel will be updated from the new update distro.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16974 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-15 03:04:36 +00:00
bp-sawyers 03fc1d2f34 Improve performance of makeconservercf - bug 3691
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-13 19:59:15 +00:00
phamt c025c72802 Enlarged division width of bar chart so it could accommodate more data.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-13 14:10:26 +00:00
phamt b3b29d3c76 Enhanced z/VM resources page with bar chart to show disk pool space.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16970 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-13 13:25:22 +00:00
lissav 4057237b48 put back change do not think it breaks build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16968 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-12 15:41:28 +00:00
zhaoertao 246b1aaa53 fix bug 3689: Modifying manpage for rspconfig and rscan
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-12 02:43:46 +00:00
lissav 125b6e006c backup kvm line to fix build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16960 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 16:12:11 +00:00
jbjohnso 785fe50e9f Change bmcsetup to disable cipher suites 0 and 1 in the face of peculiar cipher suite support or enumeration
Also change to enable cipher suites 2 and 3 to facilitate sites without Rijndael

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 14:59:13 +00:00
Jarrod Johnson 6ca8ae5366 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-11 10:54:20 -04:00
Jarrod Johnson 160343bdef Change bmcsetup to disable cipher suites 0 and 1 in the face of peculiar cipher suite support or enumeration
Also change to enable cipher suites 2 and 3 to facilitate sites without Rijndael
2013-07-11 10:53:15 -04:00
nott 5b661a3160 add call to updtvpkg in instoss
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16955 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 14:01:12 +00:00
Jarrod Johnson a0e2438e06 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-11 08:45:36 -04:00
wanghuaz bc9aaf6b5b Fixing a problem while adding multiple kits, several data structures are not initialized in last feature checkin. Updated the data structures and did strong UTs today. Open bugs tonight.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16953 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 10:05:52 +00:00
daniceexi f485547a4d fixed a typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16950 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 08:31:04 +00:00
ligc 97473a8b09 fix for bug 3671: use autocommit => 1 instead of autocommit => 0 when opening a table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16948 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 08:18:36 +00:00
zhaoertao c71bc4a320 modify man page for "rspconfig <node> USERID=\*"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16947 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 07:18:42 +00:00
daniceexi 8e7e887e37 fixed the code to display error messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16945 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 07:02:31 +00:00
daniceexi af1638ce7d two changes: 1. run mount -a anyway to make sure the osimage has been mounted from MN; 2. set the STDIN/STDOUT/STDERR to /dev/null so that mpss start can daemonized cleanly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16942 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 06:44:52 +00:00
daniceexi 12b4fd8975 defect 3685: fixed the source path for link /opt/xcat/share/xcat/cons/mic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16941 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 06:22:02 +00:00
wanghuaz 9c94100609 Fixing a problem on sles that we need to use tar --wildcards option while extracting a file from kit tarball.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16938 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 05:22:56 +00:00
xq2005 ba7484e5a1 using nics table when getting vlan ip address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 02:43:02 +00:00
lissav d12f9bd051 fix defect 3479
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16933 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-10 16:43:02 +00:00
xq2005 bb1a93a385 check the capabilities(CAP_NET_ADMIN) of /usr/bin/qemu-system-x86_64 on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16932 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-10 09:28:47 +00:00
xq2005 d8ccaf37e8 bug 3679, delete all ib nics' configuration files before configure them
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16931 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-10 09:07:51 +00:00
jjhua 4fa363e910 fixed bug 3682. In some case, the attribute BOOT_IMAGE added into the /proc/cmdline, using another method to get the nex-server value to fix this issue.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16928 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-10 09:07:11 +00:00
wanghuaz 86276afd3b Fixing bug 3643: remove createrepo from buildkit spec and add error check while using it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16926 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-10 09:05:47 +00:00
wanghuaz c642e22556 Fixing bug 3669: passing envlist to yum upgrade command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16925 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-10 08:30:39 +00:00
phamt 5ff3e2c42d Enable noderes.primarynic to be specified and used during nodeset.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16922 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 21:07:17 +00:00
lissav 7245c20ef8 fix 3668 Ubuntu also
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 16:43:58 +00:00
lissav ba524d3dba fix defect 3668
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 16:35:06 +00:00
phamt f2d4b07d2b Fixed the target disk address to be the same as the source disk address in cloning.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 12:30:20 +00:00
phamt bad07970cf Fixed the target disk address to be the same as the source disk address in cloning.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16915 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 12:26:42 +00:00
xq2005 5263081254 ubuntu and debian ship SHA.pm instand of SHA1.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16914 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 07:21:49 +00:00
xq2005 0db7fd3e4a ubuntu and debian ship SHA.pm instand of SHA1.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16913 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 07:20:57 +00:00
xq2005 e5e572f940 ubuntu and debian ship SHA.pm instand of SHA1.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16912 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 07:18:25 +00:00
xq2005 b5f3b1b526 ubuntu and debian ship SHA.pm instand of SHA1.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 07:15:39 +00:00
xq2005 4e38b17f76 xHRM support ubuntu/debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16910 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 06:46:31 +00:00
xq2005 5779f4e927 ubuntu and debian does release SHA.pm instand of SHA1.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16909 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 03:24:32 +00:00
xq2005 f40260f9cb ubuntu and debian does release SHA.pm instand of SHA1.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 03:19:47 +00:00
lissav c1731fec39 fix spelling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16907 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-08 18:41:42 +00:00
phamt 5d0a2c75b7 Disable IPL column if advanced tab is selected on xCAT-UI z/VM provision page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16905 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-08 13:14:38 +00:00
xq2005 277eb7cc53 build the ubuntu packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16903 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-08 07:15:25 +00:00
wanghuaz 2cf7521735 don't uninstall the packages from osimage with rmkit -f
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-08 03:09:07 +00:00
qyin 8a1502f0a9 #212726 [PCM4.1][Patch] [Dev to propose fix] The image profile kit plugins are not getting called by pcmimageprofile.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-05 08:36:32 +00:00
xq2005 e54dbe69e4 get the timzone automatic on ubuntu/debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16895 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-05 07:10:50 +00:00
daniceexi 8db9e8be80 defect 3673: fix a typo which affects the nodeset next
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-05 07:09:49 +00:00
xq2005 4bc071aa8d roolback to the last version
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16891 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-05 06:58:05 +00:00
xq2005 01ae96dcb5 xCAT::TableUtils->enablessh in postage.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-05 06:15:07 +00:00
jjhua 7aabf34d76 chef client/workstation installation based on the cfgmgt table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-05 03:20:19 +00:00
jjhua 5f35f1d961 add the CFGMGT variable in the template to support the cfgmgt table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-05 02:12:42 +00:00
jjhua daf8435663 modifiy the install chef server/client/workstation scripts to support the cfgmgt table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-05 02:11:01 +00:00
xq2005 a728938094 add the double quote for --otherpkgdir option in genimage.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-05 01:57:36 +00:00
phamt ef30d13e94 Added option to select IPL device. Added more error handling.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-04 13:49:23 +00:00
wanghuaz 5881cc4268 Fixed a potential problem with kitcomponent.prerequisite that in some cases prerequisite is not removed from KIT_RMPKGS.otherpkg.pkglist during addkitcomp.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-04 05:54:04 +00:00
daniceexi 01d68774a2 Make nodeset can pass parameter --noupdateinitrd to mkinstall command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16878 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-04 05:20:16 +00:00
daniceexi d3f0f4013f Make nodeset can pass parameter --noupdateinitrd to mkinstall command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16876 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-04 05:10:50 +00:00
daniceexi 57889f408a Enhance of initrd hack: Additional drivers loading from osdistroupdate and support the --noupdateinitrd for nodeset command to avoid the initrd hack
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16874 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-04 05:06:50 +00:00
mellor 425a715d3c defect 3670 - add xcatd reload to post section for xCAT-OpenStack rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16871 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-03 15:31:10 +00:00
phamt 0111c1e6c3 Simplified z/VM provision page by abstracting the creation of the user directory entry.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16870 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-03 14:27:36 +00:00
creativezj bb811495cb fix nodeimport same ip error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-03 13:42:15 +00:00
jjhua 37c0f9a382 in some of the mlnxofedinstall script from Mellanox OFED iso, there is not --nodeps to uninstall the libibverbs package. But the new pe kits are depended on the libibberbs. So I add the rpm -e --nodeps --allmatches libibverbs in mlnxofed_ib_install to uninstall the libibverbs before invoking the mlnxofedinstall script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16865 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-03 06:10:51 +00:00
daniceexi 5acfd5a014 To make the mount of /install check to be accurate.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16863 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-03 03:14:03 +00:00
phamt 81b7bb502b Added option under rinv to collect z/VM user profile names.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-02 20:43:58 +00:00
phamt ba92de3034 Added option under rinv to collect z/VM user profile names.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16861 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-02 20:34:09 +00:00
Jarrod Johnson f317a3e10a Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-02 10:00:31 -04:00
leiaibj f7acefece1 Node provision failed after replacing one compute node: We can not call makedhcp twice in a single plugin.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16858 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-02 02:29:09 +00:00
wanghuaz fb6844fb64 Fixing bug 3409, added the handle for postscripts, missing in last checkin.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16857 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 10:18:13 +00:00
daniceexi 171c5a189f defect 3660: display the correct message when run nodediscoverdef command defines a request a node which has not correct IP.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16855 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 09:11:24 +00:00
xq2005 17d195449a delete needless file for building xcat-openstack
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 08:01:16 +00:00
wanghuaz 9d2b7e46b0 Fixing bug 3659: adjust the file order to work in some specific scenario
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16849 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 07:47:11 +00:00
xq2005 07c61eb98c change the source format into 1.0 on ubuntu/debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16848 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 07:45:14 +00:00
xq2005 a028fabf7f build xCAT-OpenStack in build-ubunturepo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16846 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 07:31:00 +00:00
xq2005 358ba2c411 build xcat-openstack on ubuntu/debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16845 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 07:28:43 +00:00
ligc 58c5cfaafb undo the last checkin, rerun buildxcat fixed the build failure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16844 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 04:38:27 +00:00
ligc 20383d8ba8 fix the build problem with cons/mic on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16843 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 03:25:11 +00:00
wanghuaz 7e808dc649 fixing several kit related bugs: 3657,3629,3409. the major change is now addkitcomp -a will add its dependency recursively, instead of two levels before. and in each level, it will check if the dependency fits to the osimage. So now user just need to add the highest level of product to osimage, addkitcomp -a will find it dependencies, check them and go to next level based on its kitcomponnent settings in the kit.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 02:29:19 +00:00
daniceexi ca435eb5d1 add symbol link from share/xcat/cons/kvm to share/xcat/cons/mic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16840 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-30 04:40:16 +00:00
daniceexi bbeddd775a Code drop for Xeon Phi (mic) support. The plugin to handle the rpower, rinv, nodeset, rcons commands for mic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-30 04:30:33 +00:00
daniceexi 6ab9ab0e29 dir for mic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-30 04:29:29 +00:00
daniceexi cc619af68b Code drop for Xeon Phi (mic) support. Run on host to flash the mic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-30 04:29:00 +00:00
daniceexi 9bd662e82a Code drop for Xeon Phi (mic) support. Run on host node to configure the mic (network,hostname,onboot,vlog)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-30 04:28:19 +00:00
daniceexi 7f3a029049 Code drop for Xeon Phi (mic) support. Add the usage message for mic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16827 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-30 03:57:28 +00:00
daniceexi 349e081cc0 Code drop for Xeon Phi (mic) support. Add the mic table.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-30 03:57:13 +00:00
daniceexi abf8941676 Code drop for Xeon Phi (mic) support. Add the rscan to scan mic from x86 host node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16825 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-30 03:57:00 +00:00
daniceexi 1d9e405667 Code drop for Xeon Phi (mic) support. add the handling of tar format src to call the copytar command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-30 03:56:29 +00:00
phamt 536bc94da7 Changed tabs to spaces. Fixed error in xcatconf4z script.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16819 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-28 18:14:52 +00:00
wanghuaz 68e4dd3d70 Fixing bug 3653: with more than 9 new_install_list sessions in otherpkgs.pkglist, perl 'sort' take the integers as string, and so does not sort the order correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-28 06:27:23 +00:00
Jarrod Johnson 360e76309f Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-06-27 15:09:00 -04:00
jbjohnso 18f0040778 Restore xcatws understanding of existing code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-27 19:08:49 +00:00
lissav ba7d622595 Add they are not hierarchical
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-27 16:52:15 +00:00
phamt d05143bef8 Fixed bug in xCAT-UI where empty inputs are not set as empty values in the policy table.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16810 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-27 15:25:13 +00:00
xq2005 fb95977151 upload the promote tar ball to xcat/<version>.x_Ubuntu/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16809 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-27 14:43:17 +00:00
lissav 58d0965249 fix defect 3461
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16807 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-27 14:03:26 +00:00
ligc 8a22702ae3 fix for bug 3648: set xCAT::Client::EXITCODE=1 with error communication with the xCAT server seems to have been ended prematurely
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-27 08:22:50 +00:00
immarvin a9b79e36d2 add discinfo of centos5.9
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16801 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-27 08:14:09 +00:00
bp-sawyers a007fb74c9 Fix check for 2nd arg for xCAT-OpenStack
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16797 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-27 07:01:03 +00:00
zhaoertao b10007be4b delete internal information for rspconfig <celogin1>
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16787 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-27 03:24:46 +00:00
jjhua c448c7f09a accept Bruce's suggestion, not re-copy the hash every time. And it's really more efficient to have an inner foreach that just adds the keys to the hash
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16783 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-27 01:25:45 +00:00
mellor 69b2b419d6 make xCAT-OpenStack arch specific rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16782 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-26 20:45:11 +00:00
Jarrod Johnson 2d905826f8 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-06-26 16:44:40 -04:00
jbjohnso fc16c672ba Fix problem where Ctrl-C didn't work with new payload format
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16781 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-26 20:42:39 +00:00
bp-sawyers 265308065c update buildcore.sh to build the new xCAT-OpenStack meta rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16780 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-26 20:21:49 +00:00
mellor 8af3b2587d build tool changes for new xCAT-OpenStack rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16779 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-26 18:54:00 +00:00
mellor f87e899c78 files for new xCAT-OpenStack rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-26 18:52:41 +00:00
lissav 98295e06b1 fix defect 3641
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16775 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-26 18:09:22 +00:00
mellor 2aefc417d9 add new cfgmgt table to xCAT database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16772 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-26 16:13:36 +00:00
jbjohnso 2a998b99d9 Have rvitals avoid requesting the same sensor multiple times
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-26 14:33:52 +00:00
Jarrod Johnson 70f8cae983 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-06-26 10:33:22 -04:00
Jarrod Johnson 85237d5126 Fix problem where rvitals could request the same sensor multiple times 2013-06-26 10:32:07 -04:00
Jarrod Johnson 508071d903 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-06-26 09:58:15 -04:00
nott 3e67ba3e19 enhance msgs for cpcosi error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-26 13:51:08 +00:00
chudegao 4998ce006e fix #218490:There is no any case-sensitive checking of mac address when import the node by hostinfo file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16766 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-26 09:41:39 +00:00
xq2005 e47c090868 change the Maintainer to xCAT when building genesis base on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16761 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-26 07:35:59 +00:00
xq2005 28d9fdd2aa change the Maintainer to xCAT when building packages on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16760 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-26 07:34:47 +00:00
jjhua 1e42465195 defect 3605. correct the nodesetstate value.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-26 06:58:53 +00:00
xq2005 33127b6f2d for bug 3438 on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16756 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-26 06:57:48 +00:00
xq2005 5e70dbce10 upload the GA build on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-26 06:09:58 +00:00
lissav 46c918d22d fix defect 3642
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16752 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-25 15:30:35 +00:00
lissav e95b7084b9 fix defect 3642
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-25 14:56:43 +00:00
xq2005 1fba5dfceb bug 3563, fix the post install script error when install xcat-genesis-base-amd64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16748 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-25 14:04:33 +00:00
phamt 79c3f3e825 Make IP and hostname optional when configuring the group for the self service page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16746 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-25 14:00:37 +00:00
xq2005 2ff3e57296 bug 3474 for removing the rpm error message on ubuntu/debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-25 13:51:47 +00:00
jbjohnso 0eecf43a7e Fix problem where dbworkersocket rename could indicate a missing path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16743 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-25 13:28:52 +00:00
Jarrod Johnson fe9a146b36 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-06-25 09:28:42 -04:00
Jarrod Johnson 4eacc008e3 Fix problem where dbworkersocket rename could indicate a missing path 2013-06-25 09:26:52 -04:00
jjhua 9e4450bab0 defect 3605. 1, change ENABLESSHBETWEENNODES= in the template, and add new subroutine TableUtil::enableSSH() 2, change NODESETSTATE= in the mypostscript.tmpl, and invoke the xCAT::SvrUtils->getNodesetStates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16739 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-25 09:05:00 +00:00
jbjohnso 3dc34ed30d Do the same thing for pscp that I did for psh to avoid perl misbehavior on opening a reference to null glob
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16737 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-24 19:23:57 +00:00
jbjohnso 6c6f16a8f5 Rework sshnode sub to avoid pasing glob by reference since some perls don't seem to like that
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16736 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-24 19:17:16 +00:00
phamt 0f99809daa Added a hypervisor field in the storage table to handle z/VM native SCSI disks. In z/VM native SCSI disks must be configured for one or more hypervisors before they can be used.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16735 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-24 14:24:46 +00:00
lissav 1b47f597b7 fix defect 3642
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16734 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-24 12:57:49 +00:00
chudegao 02836b7287 remove files checked in by mistake
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16732 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-24 10:01:08 +00:00
ligc 2a33d3dcb2 remove README.txt which was checked in accidently
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16731 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-24 09:13:27 +00:00
xq2005 eee22d9c39 find SHA.pm in /usr/lib/perl on ubuntu/debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16729 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-24 07:36:06 +00:00
creativezj 0ef86edf17 fix nodeimport generate ip error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16727 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-24 06:48:40 +00:00
lissav b1d6199c98 add req->{status} to runxcmd for defect 3641
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16726 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-23 10:55:24 +00:00
lissav ce47cdc151 add example of plugin to plugin call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16723 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-22 11:58:26 +00:00
chudegao 94d469f741 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16722 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2013-06-22 00:24:03 +00:00
jbjohnso 7fb9cdeff5 Fix plurality of pscript variable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-21 19:13:03 +00:00
lissav d9e740a251 fix defect 3639
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16720 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-21 17:02:12 +00:00
lissav 56f28c07ab fix defect 3639
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16718 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-21 10:29:37 +00:00
wanghuaz e997e19531 fixing bug 3608: give error msg while kitrepo is not valid for 'buildkit cleanrepo <kitrepo>' command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16716 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-21 01:20:31 +00:00
lissav 1141f649c0 fix defect 3637
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-20 13:06:18 +00:00
duowang 399b7f31bb enhanced profilenodes.pm to acquire chain attribute from hardwareprofile and append it to the node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-20 04:01:22 +00:00
wanghuaz d329307578 Fixing bug 3636 for error msg outputing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-20 03:42:51 +00:00
zhaoertao 28e70dd89d supportting x222 in "rscan cmm"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16706 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-20 03:22:24 +00:00
linggao 0afc9b9d9d enhance postscrit perfomance when getting monitoring variables. defect 3605
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16704 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 20:21:09 +00:00
phamt b6e87461db Changed xcatconf4z logging.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16702 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 20:04:58 +00:00
phamt 1b0e64699a Undo some disabled buttons made with last checkin.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16701 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 19:27:55 +00:00
bp-sawyers 3f1f14aa94 require xCAT-buildkit so it is installed by default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16698 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 18:59:40 +00:00
phamt cd4f866c6a In imgcapture, added option for specifying device to capture (only s390x). In rmimage, added support to remove provmethod = raw (native SCSI/FCP) images. In imgimport and imgexport, added remote host option to download from a node not managed by xCAT, fixed indentation issues, and added support for provmethod = raw (native SCSI/FCP device image)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16697 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 16:18:42 +00:00
phamt 62761908f2 Added support for capture and deploy of system images for z/VM. This includes capturing ECKD/FBA and native SCSI/FCP devices. Each device is captured and stored as an image (.img) file. Note that mkvm has to be used to create the VM definition and chvm has to be used to add the disks. nodeset is used to put the .img contents onto existing disks.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 16:17:23 +00:00
phamt 9c7b61f341 Updated REST-API to support more xCAT commands and more z/VM options.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 16:16:51 +00:00
phamt 48b710c7cd Fixed bugs in xCAT-UI: fixed spacing issues, set default commands for guest users, set default arch and hypervisor for add z/VM node, and fixed dialog for adding SCSI/FCP device directly using WWPN & LUN.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16694 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 16:14:21 +00:00
jbjohnso d9100200e1 Simple implementation of postscripts, put in postscripts table and /install/winpostscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16689 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 12:43:34 +00:00
sjing 61a42ec882 add "sysclone" as a valid osimage.provmethod.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 03:35:06 +00:00
wanghuaz 32f4697d67 fixing bug 3179: adding a sleep and reorder the steps
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16677 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 03:33:24 +00:00
creativezj 5184e7da2b fix nodeimport generate brocadcast ip or gateway ip
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 02:36:44 +00:00
ligc 1dd791c776 fix for bug 3630: typo with opt_nc and opt_c
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16673 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 01:38:02 +00:00
jbjohnso 3e86b5f20c Fix bug in esx.pm where spurious data could find its way into the nicmodel
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16672 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-18 19:34:54 +00:00
jbjohnso 4e16d8fb9f Fix problem where serialized empty list of args manifested differently between xml and storable strategies
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16671 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-18 17:45:17 +00:00
jbjohnso df8fdf3896 Add support for flexdiscover to work with x222 servers
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16670 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-18 17:07:46 +00:00
jbjohnso 5222f25f25 Correct deref in previous commit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-18 15:39:56 +00:00
jbjohnso 8dba31f059 Change flexdiscover to separate imm and cmm search
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16664 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-18 15:35:07 +00:00
lissav 5849169891 make /xcatpost a variable so that we can override easily with a debug mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16663 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-18 13:51:54 +00:00
jjhua 57da947035 fixed bug 3605
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16661 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-18 09:06:00 +00:00
creativezj 1226f58bc6 fix modify multiple nodes profile error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-18 08:22:12 +00:00
sjing 6abbe5c74b bug2830 - use xCAT::TableUtils->get_site_attribute("installdir") instead of gettab.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-18 08:08:03 +00:00
jjhua ebf7ea4be4 fixed bug 3605, improve the code according to Bruce's suggestion, except xCAT_monitoring::monitorctrl->getNodeConfData()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-18 07:41:10 +00:00
creativezj 628e2a6ca5 fix regenerate ip error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-18 04:46:29 +00:00
lissav da0ceef6b3 modify limitation on policy table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-17 18:15:06 +00:00
jbjohnso 9b0c3f100f Add timeout to psh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16647 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-17 17:50:35 +00:00
lissav 7d0cb74de6 fix defect 3625
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16646 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-17 17:34:52 +00:00
lissav 428c8f299d fix defect 3625
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16644 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-17 15:58:45 +00:00
lissav c4ac51c87d document non supported fields in policy table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16641 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-17 12:56:45 +00:00
daniceexi ab6f939e62 defect 3619: backup the req before dispatch to a xCAT module and recover it after the dispatch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16638 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-15 10:45:29 +00:00
brianfinley 38b5424c5d Captian Grammar fixes spelling -- s/sepcified/specified/g
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-14 15:45:27 +00:00
jbjohnso 246362ca48 Leave no processes or files behind on exit, allow updatenode to happily exit
Actually retry every interval rather than just endlessly listening

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16635 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-14 14:39:12 +00:00
jbjohnso 25c5f5fc28 Tolerate older bash versions in flowrequest example
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16634 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-14 14:39:06 +00:00
jbjohnso 434739f3a3 Fix problem with getipmicons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16633 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-14 12:53:14 +00:00
jjhua b855407d64 fixed bug 3569, add #INSTALL_SOURCES# to the storage template file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16631 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-14 08:17:32 +00:00
xq2005 a079b6c306 makeroutes support on stateless debian/ubuntu nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16630 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-14 07:24:59 +00:00
xq2005 7e10342919 makeroutes support on stateless debian/ubuntu nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16627 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-14 07:01:59 +00:00
lissav d1230bcf16 moved xcatflowrequest to /install/postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16626 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-13 16:15:11 +00:00
lissav 29e4fa31e7 add flow request
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16625 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-13 16:14:08 +00:00
nott d069bff740 cleanup comment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16623 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-13 15:15:29 +00:00
nott 9e7a1c8fb4 clarify cleantar option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16621 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-13 15:10:50 +00:00
nott bdfe498ee7 make cleantar remove ALL tar files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16619 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-13 14:32:39 +00:00
lissav 87ebb6ae87 removed undocumented/does not work plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16618 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-12 16:30:41 +00:00
lissav b145a34062 checkin for defect 3613
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-12 13:00:09 +00:00
bp-sawyers 2956839732 remove man pages for tools mkrrbc and mkrrnodes that were removed previously
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16614 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-12 12:29:03 +00:00
daniceexi 43a7d86394 For auto created bmc, add it to hosts.otherinterfaces instead of creating a new entry in the hosts table for bmc individually. That means auto created bmc will not be a individual node.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16612 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-12 02:56:50 +00:00
nott f341aa50ab allow kit location and kit name to be different
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16611 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-11 14:51:54 +00:00
nott 0b44aaa1ad more - better description of kit location
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16608 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-11 14:44:54 +00:00
nott 28a6d78c06 better description of kit location
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16606 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-11 12:55:41 +00:00
lissav f14b1042d3 defect 3613
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16605 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-10 20:02:58 +00:00
lissav 41e538c46d defect 3613
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16604 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-10 20:01:41 +00:00
lissav 1753ea7474 defect 3613
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16603 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-10 20:00:40 +00:00
jbjohnso b4f1b9a6ea Have client default to storable model to reduce XML overhead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16599 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-10 18:44:17 +00:00
jbjohnso 20b3960c09 Prevent child reapers from trouncing accurate syscall errno settings
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16597 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-10 14:42:25 +00:00
jbjohnso 11e2d1e834 Further prepare xcatd to understand alternate encoding
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16596 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-10 14:42:18 +00:00
daniceexi 73e90f6cd9 added the checking of path for runimage, if cannot download, display an error message for nodeset command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16594 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-09 09:15:57 +00:00
daniceexi 8ffc45d9cb defect 3612: add one line to handle variable like in the runimage; And added the checking code logic to display error message if wget failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16592 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-09 09:13:03 +00:00
daniceexi afa886e729 fix the issue that nodediscoverdef -u -n command cannot move the discovered node to next destiny. And also formatted the indention that replace the tab with four space
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16590 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-08 23:39:06 +00:00
daniceexi 518d0c0b02 Change the code logic that get bmc name from ipmi.bmc instead of using default <node>-bmc. If user uses hostiprange or bmciprange and did not define ipmi.bmc, the default bmc name will be <node>-bmc.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16588 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-08 23:31:28 +00:00
wanghuaz 9ba0cd197e update addkit command according to revision 16568 for kit framework
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16587 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-08 09:29:38 +00:00
ligc faec9945d0 add HAMN scripts cronEdit, activate-mn and deactivate-mn; based on the scripts from John Williams
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16585 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-08 08:34:57 +00:00
sjing 5a18669108 bug 3478 - exclude the net with external namesserver configured from dns zones.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16580 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-08 07:04:09 +00:00
wanghuaz f7f871278c Fixing bug 3610: not add prerequisite to full kit if there is no 'prerequisite' in kit.conf of partial kit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-08 05:00:41 +00:00
nott f8bbdf8a97 clarify alt client cleanup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16575 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-07 17:35:38 +00:00
bp-sawyers 9a42e826b9 Add hfi option to rbootseq man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16573 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-07 14:01:19 +00:00
nott cabe21df2c add #'s
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16572 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-07 13:24:04 +00:00
nott e6c93dc100 remove xCAT dependencies
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16570 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-07 13:16:29 +00:00
nott 72f6e3f1b2 add kitloc, create_frameworks, and misc updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16568 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-07 13:10:16 +00:00
jbjohnso 7e9a9d09f3 Fix loop after request done, can_read will happily return true even if the client has closed... TODO: perhaps check for client closed explicitly
if we ever feel like doing multiple request scheme

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16566 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-06 17:48:47 +00:00
zhaoertao f79b2850ad adding predefined groups based on hardware types
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16565 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-06 05:24:08 +00:00
immarvin a0f0158e74 if nodetype.provmethod is not set, use install as default value; call rsetboot net to set boot over network for ipmi nodes before rpower
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16563 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-06 03:14:52 +00:00
wanghuaz 12467ecd6c not export buildkit -n option by default.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-06 00:50:25 +00:00
bp-sawyers fd4a5040ba fix xCATsn install problem running mknb
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16558 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-05 23:04:36 +00:00
bp-sawyers 2bccc85011 stop building i386 version of xcat pkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16556 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-05 21:00:33 +00:00
jbjohnso dc5b18e4ef Have xcatd prepare to accept alternate encoding 'storable'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16555 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-05 20:58:47 +00:00
nott 0c5c11b541 kitloc and misc updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16554 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-05 17:01:28 +00:00
lissav 4d28e9fbe6 fix defect 3603
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16552 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-05 16:26:31 +00:00
jbjohnso c67d9135c1 Accept ECHILD as meaning the same thing as EAGAIN on sysread/syswrite to accomodate seemingly flawed platform behavior
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16548 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-05 13:58:03 +00:00
duowang bcabd11857 modified method gen_new_hostinfo_string() in profilenodes.pm to sort the nodes' name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-05 10:34:59 +00:00
wanghuaz 83db9da9b1 code checkin for ordering rpm installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16543 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-05 07:28:04 +00:00
jbjohnso e24032c284 Have kvm update vm.memory if chvm is called
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16536 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-04 18:45:33 +00:00
jbjohnso 235e3e9d7f Recognize some common variants on chvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-04 18:36:04 +00:00
jwsimpson a9f5a6b396 Updated with comments only
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16533 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-04 17:07:57 +00:00
jwsimpson 9a7b3b91df fixed syntax problem with checking on option -n
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-04 12:29:22 +00:00
sjing d5f7c77bc1 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16530 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2013-06-04 08:16:38 +00:00
jjhua 427d482261 service node pool supports for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16529 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-04 07:54:52 +00:00
creativezj 0eb9db534b fix multiple nics problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16524 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-04 05:46:55 +00:00
lissav 1e30875be2 fix code assumes only XCATSERVER entry in xcatinfo, we have now added NODE
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16523 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-03 15:37:27 +00:00
xq2005 72e4bea17f fix the syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16521 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-03 08:29:25 +00:00
immarvin 73f7a9322b add code comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16520 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-01 12:16:35 +00:00
nott 25300a2ef5 add workdir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16517 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 19:50:36 +00:00
nott 8016f03610 add support for workdir and new spec attrs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16516 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 19:23:54 +00:00
nott 4029cba989 add holders for new attrs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 19:08:03 +00:00
nott 42af8e7112 add new attr descriptions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 19:03:30 +00:00
lissav c17cce832a remove LInux restricction on precreatemypostscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16508 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 18:48:12 +00:00
jbjohnso bbfe35a452 Serial console and vdagent support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16507 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 18:47:53 +00:00
lissav a11e9f3242 redesign to match more closely the processing in xcatdsklspost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16506 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 18:36:42 +00:00
lissav edbbcb625b add new lines for array return
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16505 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 18:35:23 +00:00
immarvin 2bd59af6a2 fix defect #3463 rinstall does not support provmethod=osimagename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 10:35:20 +00:00
jjhua 68bf4ad971 for rhels6.x, move the repository generation to pre-script in kickstart
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16500 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 08:58:50 +00:00
jjhua cfa71e3f2c service node pool supports for system X rhels6.x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16499 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 08:51:20 +00:00
jjhua 43a3259a69 improve the code for last checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16497 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 08:47:19 +00:00
jjhua e4838e2efb service node pool support for system X rhesl6.x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16496 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 08:36:28 +00:00
jjhua 88f35c5e0e service node pool support for system X rhesl6.x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16495 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 08:34:10 +00:00
jbjohnso 22e92e3c05 Try to doubly make sure that buffering and EGAIN doesn't interfere with communication
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16481 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-30 18:58:15 +00:00
jbjohnso d7ddcebef2 Add some chassis status support to rvitals
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16479 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-30 14:47:19 +00:00
lissav 0b7943fe28 get rid of duplicate messages on updatenode -k
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-30 11:47:39 +00:00
wanghuaz cadca639d8 fixed the problem that xcat failed to replace some system environments if there are mulitple levels of #INCLUDE. we should firstly expand the #INCLUDE and then to replace the system environements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16476 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-30 09:24:24 +00:00
xq2005 ccfd373fd3 sudoer support on ubuntu/debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16474 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-30 09:02:31 +00:00
daniceexi dccddf6428 force to boot from pxe before the reboot in the genesis
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-30 08:43:38 +00:00
sjing 93511ea70d removed mkfs.btrfs since it's for ubuntu.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16471 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-30 06:58:56 +00:00
sjing e30fbd2b80 use reboot in genesis instead of shutdown
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16469 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-30 06:06:27 +00:00
sjing 7009498b84 Add a check for rsync service to make sure it's running.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16468 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-30 06:04:47 +00:00
amy0701 e78c04591c change rhsn to 23619SN in testcase linux_cn_with_sn_statelite_installation_x86_64_redhat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16466 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-30 03:19:10 +00:00
amy0701 30285d5f10 add test bundle for x86_64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16465 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-30 03:07:24 +00:00
jbjohnso 5c8c7c2a4d Fix autoula windows scheme to use the delimiter for mac that windows prefers
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16462 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-29 18:08:08 +00:00
immarvin 01e0c1c6f5 fix defect #3599 syslog-ng is shutting down in sles xCAT MN Edit, enable the settings that will log to local files in syslog-ng
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-29 12:14:13 +00:00
lissav ae3c564ef0 defect 3596
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16455 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-29 11:35:43 +00:00
lissav 80588e01c8 defect 3596
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16454 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-29 11:34:41 +00:00
lissav 6c293a26e3 defect 3596
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-29 11:33:53 +00:00
jjhua 257666102d remove the code which passes the into the subvars() in Template.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16445 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-29 07:46:27 +00:00
jjhua 58a6b7a28d fixed bug 3598 for PCM Ai Lei, support it for rhels5.9.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16444 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-29 07:44:21 +00:00
jjhua 3f43a9a760 fixed bug 3598 for PCM Ai Lei, support it for rhels5.9.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16443 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-29 07:23:52 +00:00
jjhua 2f8b62530d fixed bug 3598 for PCM Ai Lei, support it for rhels5.9.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16442 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-29 07:22:51 +00:00
asirxing a0f77dc958 Move codes to call makedns and makehosts for kitnoderemove request from 00kitnodebase.pm to profilednodes.pm as other kitnoderemove plugins need the node name for some operations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-29 03:47:47 +00:00
jwsimpson 3165c35860 comment changes only to dhcp.pm to help document the code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16436 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-28 15:30:40 +00:00
jbjohnso 130d2b2494 Add event log cmdlets to powershell
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16435 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-28 15:05:07 +00:00
lissav fb01e8e151 use NODE name defined in /opt/xcat/xcatinfo file, if there
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16433 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-28 13:52:39 +00:00
lissav 03ea26b499 up tablespace of servicenode for DB2 , it is close to the8K limit, if more attributes added we would be over
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16431 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-28 12:27:37 +00:00
lissav 425ec1d0cd remove anaconda.pm.new
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16429 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-28 12:20:48 +00:00
lissav a180201e24 add NODE=<nodename> to kcmdline
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16428 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-28 12:20:12 +00:00
xq2005 970aa52ab3 makeroutes support on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16421 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-24 09:43:29 +00:00
ligc 1bbe000d21 fix for bug 3593: check_options error with makedhcp -s statements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-24 09:23:12 +00:00
xq2005 5f7c88a8b9 change tabs to spaces
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16417 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-24 09:06:45 +00:00
xq2005 ac3633b1b2 routeop support on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16415 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-24 08:37:11 +00:00
xq2005 cbe902cf22 change tabs to spaces
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16412 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-24 06:20:34 +00:00
lissav 9a3d8b8703 fix for 3591
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16409 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-23 19:07:11 +00:00
zhaoertao 1d89fb6e1b enhancement of "rspconfig noderange USERID=<password>"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16408 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-23 08:23:21 +00:00
qyin e6fedc6556 fix #215702 nodeimport can import the same host info file for switch auto discovery twice or more
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16405 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-23 07:59:27 +00:00
xq2005 7f3056c15f change the tabs to spaces
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16403 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-23 03:07:25 +00:00
lissav e2e793d864 fix defect 3580/3586
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16401 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-22 18:24:28 +00:00
lissav e11519483c remove unused getNodeSpecAttribs routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-22 17:23:42 +00:00
lissav 1da068a263 improve grep for error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16395 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-22 17:07:17 +00:00
daniceexi 0147aa233f support the predefined bmc is set in the hosts.otherinterfaces
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16392 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-22 14:57:01 +00:00
lissav 389c3cb193 support long hostnames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-22 12:42:02 +00:00
lissav f5ccad350e cleanup tmp files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16388 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-22 12:39:17 +00:00
zhaoertao 916a05b1cc fix bug 3583: mkhwconn -s cannnot work for firebird in rh mn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16387 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-22 06:14:45 +00:00
lissav d86b8b8413 remove version 2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16383 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-21 18:15:42 +00:00
lissav 32cf475cf8 fix getpostscript.pm call (noversion)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16381 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-21 18:10:56 +00:00
jbjohnso e815ba5ac9 Add some more commands, have powershell recognize the multiple natures of data elements in api
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16380 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-21 14:37:07 +00:00
jbjohnso 398b975563 Fixes and trimming of exported internal function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16378 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-21 13:50:25 +00:00
jbjohnso 083623ab1b Commit powershell files to windows style line wrap in case of notepad
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16375 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-21 12:56:46 +00:00
jwsimpson 20655afd7b updates to dhcp.pm to fix the problem with plugins calling it without arguements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-21 12:22:17 +00:00
xq2005 181dc9ec47 ubuntu provision need the mirror/http/hostname configuration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16372 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-21 08:26:26 +00:00
sjing 0f7e5d53f0 new otherpkg list for sysclone
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16370 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-21 06:47:34 +00:00
jbjohnso 2071c5945c Try to make powershell module more tolerant of pathing situations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16369 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-20 21:21:43 +00:00
jbjohnso 0d6b9af866 Fix problem when request did not have adequate arg in dhcp.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16367 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-20 17:59:40 +00:00
jbjohnso 38b3d1c46a Fix error in vbscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16365 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-20 14:56:01 +00:00
bp-sawyers 973597d493 Add genericrange option to noderange function so we can remove NameRange.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16363 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-20 13:12:54 +00:00
lissav ee7d43cc61 Add setup of postgresql
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16361 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-20 11:01:20 +00:00
lissav dd438f5cfa fix defect 3575
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16359 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-18 10:23:43 +00:00
jbjohnso 0b30264d39 Note to future self about tabooseq scope
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16356 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-17 20:55:05 +00:00
phamt a21422aad7 Fixed issue with AutoYast where it expects the FCP channel, WWPN, and LUN to all be in lower-case. Otherwise, AutoYast would not find the SCSI/FCP device.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16355 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-17 20:20:59 +00:00
jbjohnso 784b582b1f Have fixupunattend check the process, user, and system environment space for value before giving up (MS env handling is madness)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16352 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-17 13:38:45 +00:00
zhaoertao 2a8e95b4e8 the feature:enhancement of rspconfig for blacktip blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16349 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-17 09:30:50 +00:00
zhaoertao e3cbfd954f fix bug 3578: "rscan cmm -u|-w" will write information of System p blade into ipmi table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16347 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-17 02:54:46 +00:00
ligc 2a396bc1fd fix the issue with XCATHOST=ipv6-lla%eth0:3001 and remote xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16344 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-17 02:38:48 +00:00
jbjohnso b21c3d7a61 Provide hook for OS volume selection
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16343 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 21:03:24 +00:00
jbjohnso 5c3e7c96e7 Should someone decide to switch from generated to static password on vm(s), remove expiry if present
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16341 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 19:52:08 +00:00
jbjohnso 9064aaf24b Remove debug output from Client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16340 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 18:30:44 +00:00
lissav 99a88822e3 use new interface to makescript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16337 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 17:07:05 +00:00
lissav c45ed81db3 add check for nofiles and more than one node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16336 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 16:45:38 +00:00
lissav 43c5246b1a more postage removal
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16334 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 16:04:57 +00:00
lissav 8dde80a13a add info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16331 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 15:59:24 +00:00
lissav 92091599da remove debug code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16329 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 15:44:17 +00:00
lissav 86e108ead9 remove comment out call to writescript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16326 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 14:17:14 +00:00
lissav 6d452dbcd4 remove writescript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16325 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 14:14:59 +00:00
lissav 62b988207f remove postage xCAT command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16322 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 14:08:38 +00:00
lissav 748b4ee78c first update for enhance precreatemypostscript handling, more todo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16321 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 13:56:17 +00:00
jbjohnso cc457b33ee Support LLA with scope index XCATHOST
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16318 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 13:34:41 +00:00
daniceexi 8a98c3f75d add the man page for nodediscoverdef command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16316 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 13:07:37 +00:00
daniceexi 53ba6a49ef add the manual type of discovery method
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16314 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 08:36:11 +00:00
daniceexi 5b4d1a01d6 add link for nodediscoverdef command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16313 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 08:26:27 +00:00
daniceexi c8eadb91df add the nodediscoverdef command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16309 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 08:17:47 +00:00
daniceexi cd4e45e385 filter off several inside attributes from request
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16308 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 08:16:50 +00:00
jjhua c20c72aba9 feature-request#157 Some Improvements to the mlnxofed_ib_install script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16306 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 07:48:55 +00:00
amy0701 eef51c0af1 add testcase in bundle
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16304 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 07:19:54 +00:00
jwsimpson 322fde4ed9 updates to dhcp.pm and makedhcp man page for makedhcp query
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16303 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-15 20:36:34 +00:00
jbjohnso 688aec431a Add very thin support for x222 servers in 'blade.pm', *just* enough to facilitate discovery
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16301 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-15 15:04:39 +00:00
phamt 775339a584 Make IP and hostname inputs optional when configuring the group profile.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16300 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-15 14:20:55 +00:00
phamt 24cfe77966 Fixed bug where the profile conf file is not updated on 1st edit. Fixed error messages in to use double quotes so that variables are interpreted.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16299 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-15 14:10:28 +00:00
jbjohnso 6839048a17 Fix networkutils to work with CIDR again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16297 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 15:28:11 +00:00
jbjohnso 60609b1b24 Fix problem erroneously requiring per-net config in ipv6 case not required in ipv4 case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16295 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 15:13:28 +00:00
jbjohnso 86466c955c Fix problem where default gateway was interpreted oddly in makedhcp ipv6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16293 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 14:50:12 +00:00
amy0701 6684bdab99 add testcase chdef_group_p for defect3574
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16291 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 09:29:22 +00:00
ligc 94f876a1cc fix for bug 3574: the blank grptype means static nodegroup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16289 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 07:17:21 +00:00
immarvin 6c19753851 move "dbworker.sock.$$" from "/tmp/xcat" to "/var/run/xcat/" to avoid mis-deletion
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16288 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 05:18:56 +00:00
sjing d8c107b54a back port sysclone support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16285 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 02:42:48 +00:00
daniceexi 5b81a7a8ca add comment to support multiple actions for the nodeset state
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16283 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 02:41:23 +00:00
sjing d569bfab3d back port sysclone support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16281 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 02:38:07 +00:00
daniceexi b173de4f13 add comment for why the /etc/mtab needs special case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16277 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 02:19:49 +00:00
bp-sawyers 906dbc3015 Fix noderange bug 3572 by switching back to jarrod's bracket noderange fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16274 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 02:17:41 +00:00
lissav 89e1f04f29 fix defect 3565
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16272 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-13 13:51:44 +00:00
xq2005 fb9501a197 upgrade xcat-genesis-base error on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16262 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-13 10:31:46 +00:00
xq2005 e6f7ece3d2 Check more directly for location of arp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-13 09:07:22 +00:00
xq2005 cae54539ab build perl-xCAT when build xcat package
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-13 08:03:38 +00:00
sjing 34acc982c3 add SCRIPTNAME into kernel append parameters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-13 08:01:45 +00:00
sjing 8d2e4859fc fix unrecognized chars in genesis
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16247 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-13 07:54:44 +00:00
xq2005 7fd4933fe8 lsxcatd -v return error revision on debian/ubuntu(bug 3564)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16245 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-13 07:52:27 +00:00
sjing ebd1b34f84 change file mod to 755
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-13 07:48:13 +00:00
bp-sawyers 867e18a67c Fixed some typos in the postscripts descriptions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16243 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-11 10:09:29 +00:00
nott 79a0dcd3d5 add check for blank file name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-10 16:53:00 +00:00
jbjohnso 2bbce57260 Simple implementation of postscripts, put in postscripts table and /install/winpostscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16237 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-10 14:52:44 +00:00
jbjohnso e1a21649ff Check more directly for location of arp (TODO: stop using arp, use ip neigh)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16234 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-10 13:29:23 +00:00
zhaoertao 58dc034d02 fix bug 3562:"rspconfig cmm USERID=<password>" doesn't update password properly for existing hdwr connection
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-10 05:27:45 +00:00
lissav 336a1aa2ab do not regenerate hostkeys for xcatconfig -u
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16231 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-09 11:05:24 +00:00
daniceexi 57e42eaccc 3543: fixed the issue that /etc/ cannot be set to tmpfs. It was caused by the /etc/mtab which is a speicfic file which is needed for mount command.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16230 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-09 02:43:30 +00:00
mellor 71eb28ebc6 remove template directory. added by mistake with HPC kit build files.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16226 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-08 20:42:00 +00:00
mellor 473f1e6761 remove HPC kit build files. moved to git repository in GSA
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16223 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-08 20:09:52 +00:00
lissav 686ebdb500 fix for defect 3554 and 3549
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16220 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-08 18:24:32 +00:00
xq2005 5463dcdfa5 arp command location is different between redhat and debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-08 09:52:30 +00:00
xq2005 b13e95a70b arp command location is different between redhat and debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16216 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-08 09:40:02 +00:00
xq2005 cdb5b59df5 upload the building packages to sourceforge by default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16214 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-08 08:25:56 +00:00
bp-sawyers b44063e744 fix bug 3429: noderange not expanded correctly for some bracket cases
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16213 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-07 19:28:28 +00:00
ligc 4dc12d61ab backout changes for bug 3429, revision 16190, Bruce will follow up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16212 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-07 13:10:16 +00:00
zhaoertao 1e59b83e1d fix bug 3552, using mp.id and ipmi.bmc to judge whether it is a x blade.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16210 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-07 10:53:32 +00:00
wanghuaz 2c2079b8bb enable snmp monitoring on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-07 08:53:16 +00:00
amy0701 441ba139d4 add noderange testcase into bat.bundle
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16207 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-07 07:58:21 +00:00
daniceexi a7d3d1da21 take back the filter_nodes operation after the fix in Utils::filter_nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16202 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-07 04:44:35 +00:00
daniceexi 6f9e40db93 change filter_nodes subroutine that (renergy relhistogram) goto ipmi.pm and (rspconfig network|textid) goto blade.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16201 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-07 04:39:22 +00:00
daniceexi e2c745d9ba only set the groups attribute to default value when it was null
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16199 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-07 04:23:39 +00:00
amy0701 f7ca82b1d1 update testcase noderange_group_intersection and noderange_individual_grp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16196 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-07 02:38:44 +00:00
daniceexi 90a932fe28 Change the default bmc name to be (node name)-bmc instead of bmc(#)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16194 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-07 02:25:45 +00:00
linggao 71862fdff0 added openstack grizzly repository for ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16192 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-06 21:02:33 +00:00
jbjohnso 1141b16f3e Attempt to correct dual bracketed noderanges
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-06 18:01:21 +00:00
jbjohnso 6f69796223 Fix blade to once again work correctly with bladecenter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16189 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-06 15:26:42 +00:00
jbjohnso 8ae4adb75c Fix problem when staticv6 failed to adequately space out a comment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-06 14:03:06 +00:00
zhaoertao f0bfee65d2 fix bug 3552 rpower/rinv getting incorrect password with Blacktip flex blade check password tables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16184 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-06 09:39:48 +00:00
jbjohnso ec6325f1f7 Rely upon storage detection code in ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-03 21:07:31 +00:00
jbjohnso f1e4a15d4e Fixes for ubuntu enhancements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16181 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-03 21:06:54 +00:00
jbjohnso 12bad57506 Stop filtering out on ITEs renergy for now as well as rspconfig...
Have rspconfig do textid

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16178 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-03 20:34:03 +00:00
jbjohnso b502edec67 Have detectnic write out to preseed.cfg file, which seems to take better
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16177 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-03 18:36:36 +00:00
phamt e39d942d9c Fixed issue in user table so it parses the policy table correctly. Changed the order of the refresh button in the self-service cnfigure page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-03 15:02:06 +00:00
jbjohnso 54909beda7 Have nic detection happen sooner
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16174 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-03 14:06:33 +00:00
xyye 37a76708f1 remove makedhcp command for adding the unmanagement node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-03 05:58:59 +00:00
phamt 14b475f74e Removed code that adds the any node to the "all" group.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16170 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-02 21:56:53 +00:00
phamt 4f10fd671a Fixed table ID used when shutdown button is clicked.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16169 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-02 21:44:21 +00:00
phamt 4c2f445b0a Disabled SELinux in default kickstart template. Added check in rpower softoff to check if node is pingable, if not proceed to shutdown instead of waiting. Rearranged buttons on action bar in self-service page. Added shutdown button in nodes page to shutdown node gracefully.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16168 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-02 21:24:26 +00:00
jbjohnso fd95ac4c80 Quiet down ubuntu kernel
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16167 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-02 19:27:19 +00:00
bp-sawyers f8261cf6ad added help back to mktoolscenter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16165 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-02 19:07:18 +00:00
jbjohnso 1023dbc6f7 Have debian no longer require setting of noderes.nfsserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16163 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-02 18:27:41 +00:00
bp-sawyers 4669c26b02 Updated the node discovery man pages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16161 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-02 16:41:18 +00:00
billwajda 1f1430f074 added NM_CONTROLLED=no for configib and configeth and changed BOOTPROTO=none for redhat in both files for bug 3499
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16160 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-02 15:01:28 +00:00
lissav 3713a0de0b fix defect 3477 PCM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16159 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-02 11:29:30 +00:00
jbjohnso ff434f5822 Add storage detection logic to debian deploy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16155 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-01 21:00:28 +00:00
jbjohnso 0d857ceabf Have debian support support BOOTIF autodetection
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16152 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-01 19:10:46 +00:00
jbjohnso 1ec86928e6 Fix from Shadd Gallegos on mktoolscenter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16150 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-01 18:18:32 +00:00
phamt 36a7a4486c Fixed how MAC address prefix is obtained by using VMCP Q VMLAN instead of using VMCP Q V NIC. VMCP Q VMLAN is more accurate for z/VM 6.2 SSI clusters.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16149 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-01 17:16:28 +00:00
lissav 71b56b9ed3 on updatenode call xcatdsklspost adds NODE with the nodes database name to the /opt/xcat/xcatinfo file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16148 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-01 16:40:12 +00:00
lissav 0f2a45f436 add export NODE=nodename; to thexdsh precommand so the node knows it's name as defined in the database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-01 16:12:32 +00:00
phamt fc05b61ce0 Changed rpower off to use Image_Deactivate with IMMED flag because without the flag, sometimes the VM would not power off correctly.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16146 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-01 14:26:45 +00:00
jbjohnso 715e42d86c Actually fix LVM with 6.4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-30 19:48:57 +00:00
jbjohnso f8d8231255 Remove senseless indication of primarynic in ubuntu template, this file isn't even read until network is already up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16142 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-30 19:32:05 +00:00
jbjohnso ac4206007d Fix problem with certain versions of libvirt and lvm storage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-30 19:27:58 +00:00
jbjohnso f96b7b59fa Fix problem where ubuntu needlessly mandates noderes.primarynic in one place, one to go
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-30 19:11:02 +00:00
jbjohnso 5dab441718 Fix problem with esxi detection of image template availability
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16135 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-30 18:52:56 +00:00
mellor 121d3de03b defect 3546 add kit framework info to kit.conf files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16133 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-30 18:39:19 +00:00
jbjohnso c0fdce99e0 Fix a problem where partition recipe was incorrectly written out
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16130 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-30 17:41:37 +00:00
mellor d2ea7c3b54 defect 3505 - fix manpage typos
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16129 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-30 13:09:30 +00:00
linggao d628976bd4 fixed a defect #3543 running confignics has authority issues on statelite nfs_based cn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16127 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-29 20:27:22 +00:00
jbjohnso ab25897d4e Fix problem where makedns suddenly required hosts table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-29 18:04:21 +00:00
phamt 0bf672f284 Changed nodeset tab to accept osimage argument. Allow z/VM identities to be specified in directory entry. Allow an admin username to log into the main xCAT UI.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-29 17:13:20 +00:00
phamt 37307c1058 Fixed how broadcast address is calculated using IP and netmask, instead of relying on ifcfg file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16122 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-29 16:59:46 +00:00
phamt 272b5fb0eb Simplified selection of user types when creating an xCAT user from the UI.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-29 15:37:23 +00:00
phamt 42fa7a7ef1 Fixed bug in how jQuery dialogs are closed. If you use dialog('close'), it will only hide the dialog. But if you use dialog('destroy').remove(), the entire dialog will be removed from the page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-29 15:08:10 +00:00
daniceexi 29af0d1043 change the shift to get the blade server bay from 24 to 18, this may caused by the firmware update
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-28 09:00:09 +00:00
zhaoertao e3d0fb9c9e fix bug 3536 rscan cmm -z for Blacktip blades has wrong hwtype=xblade and missing cons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-28 06:28:55 +00:00
xyye 7839592fbc make dns and dhcp after adding unmanagement node in profilenodes.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16115 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-28 06:07:08 +00:00
qyin 8067ecb0e1 fix 215709 nodeimport can use host info file mixed with switch , switchport and mac address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-28 05:49:39 +00:00
sjing 55e71dcde5 fix for bug 3542 - duplicated script name for efibootmgr, so changed it to configefi.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16109 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-28 02:47:58 +00:00
sjing a478ed4eb4 fix for bug 3542 - duplicated script name for efibootmgr, so changed it to configefi.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-28 02:40:53 +00:00
daniceexi 7b70df4161 run localdisk in stateless
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 08:04:47 +00:00
daniceexi a8a4a10263 move the localdisk mount point creating to genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 08:03:10 +00:00
daniceexi 337c515d02 change the mount point of localdisk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 08:01:13 +00:00
daniceexi 1ccb22b56a Make localdisk script do mount for stateless node. Add log to node:/.sllocal/log/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 07:55:28 +00:00
daniceexi c2dcbfc537 create localdisk directories during genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16102 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 07:52:30 +00:00
daniceexi 390f7693b9 support localdisk to run on stateless
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16101 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 07:50:49 +00:00
daniceexi 52d1725a0c Change the kernel parameter name which passed to localdisk script to indicate the action
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16100 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 07:46:54 +00:00
daniceexi d19f601dec Change the kernel parameter name which passed to localdisk script to indicate the action
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16099 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 07:44:56 +00:00
ligc eab43f0f39 fix for bug 3533: rnetboot hang for Power5 servers
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 07:23:42 +00:00
sjing 2cd7e5aaa4 Fix for bug 3538 - sometimes stopsrc -s named takes a longer time to take effect.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16095 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 06:11:49 +00:00
qyin 8cf5c6de87 #215407 Typo in man page: nodeimport
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16093 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 05:46:44 +00:00
zhaoertao 72993ed022 fix bug 3531: New CMM firmware is adding node # ( textid ) wrapper around textd - breaks rscan -u
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16091 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 02:38:46 +00:00
willn256 ce0fe877db Make sample kit plugin modules end with 1; and fix buildkit to rename kit plugin files correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16088 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 22:28:33 +00:00
phamt a21935e9c7 Enabled multiple volumes to be removed. Allowed delete button to delete using noderm instead of rmvm if checked.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16085 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 20:19:37 +00:00
jbjohnso 315a7a3c4a Change nextdestiny to use system context rather than nebulous user context in powershell
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16084 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 20:15:27 +00:00
jbjohnso 9e9000d609 Make local system work and also clean out messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16082 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 19:55:24 +00:00
jbjohnso 30d67b4813 Modify xCAT powershell module to:
-Support it's own per-user cert store
-Use more capable .Net x509 management functions
-Work with lower .net requirement

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16081 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 19:55:13 +00:00
phamt 51e03a7c4d Synched up with changes in 2.8 branch.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 19:03:55 +00:00
jbjohnso 90f638f3b2 Fix breakage where recent changes broke nodeset shell and friends
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 14:10:58 +00:00
jbjohnso 248569fa64 Fix issues with bmcsetup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16075 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 14:10:47 +00:00
lissav 1b87913d30 put rsh/rcp deprecated in comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 11:28:58 +00:00
jjhua c8a4383e9d fixed bug 3354
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16069 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 02:16:18 +00:00
daniceexi feb65fcb64 defect 3520: fixed a typo that using - replace =
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16068 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 02:15:52 +00:00
wanghuaz e78b7a27f6 Check if the deploy parameter is used by other kitcomponent that is not in the same kit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16064 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-25 12:56:34 +00:00
immarvin 775941db70 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/trunk@16062 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-25 12:07:48 +00:00
sjing 34a90f1e78 fix for bug 3526 - remove litetree.table from inst_root for the update.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16061 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-25 07:56:59 +00:00
bp-sawyers 59af92bb8f document the --nonodecheck flag of psh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16059 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-24 20:13:39 +00:00
daniceexi 58f0ffc4f1 defect 3346: support that the argument of nodeset could be multiple actions which separated with ,; e.g. runimage=xxx,osimage=xxx
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16058 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-24 13:03:26 +00:00
immarvin 1d13b5c300 1. fill in the proper value in /etc/sysconfig/clock and set the timezone of the stateless/statelite node with site:timezone
2. copy libnss_files.so.2 from directory lib(for 32bit system) or lib64(for 64 bit system) into initrd 


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-24 08:33:48 +00:00
jjhua ca67d14658 fixed bug 3490.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16055 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-24 08:05:01 +00:00
jjhua c362fa3bc7 fixed bug 3490.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16054 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-24 08:02:36 +00:00
jjhua 226c907bbd fixed the bug 3490. put the insserv message into /dev/null
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16052 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-24 07:57:20 +00:00
linggao 6c4ed80d83 added --dryrun flag for genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16049 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-23 19:16:55 +00:00
mellor 0b1d186caf rebuild gpfs kitcomponents to not include gpfs.src and gpfs.libsrc rpms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16047 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-23 19:09:08 +00:00
lissav 31fc76401d fix defect 3512
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16044 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-23 18:26:50 +00:00
lissav 8421c4bcba fix defect 3517
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16043 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-23 14:35:55 +00:00
lissav f643ea5156 fix defect 3517
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16042 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-23 14:29:48 +00:00
daniceexi a868d2358c defect 3516: fixed the typo to handle the getnextdestiny result
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-23 08:19:42 +00:00
xq2005 e5a4cc7075 fix the SHA1.pm miss problem on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-23 02:30:55 +00:00
mellor 7546f8ab98 rebuild teal kits to only include kitcomponents for base,ib,syslog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16036 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-22 20:19:06 +00:00
jbjohnso 4f2d1153b1 If lzma is older than gzip genesis, prefer newer
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-22 19:18:34 +00:00
jbjohnso 6fe6d9d9c8 Have ddns.pm call the code that hosts plugin uses to support extra interfaces
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-22 19:03:07 +00:00
yinle 2151ea5130 support lsslp -s CMM match hostname with switch table.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-22 10:13:45 +00:00
jjhua 19a7849178 fixed one minor issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-22 07:11:24 +00:00
jjhua c3e9663bf0 remove the xcat-otherpkgs*repo from ospkgs script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-22 06:30:18 +00:00
daniceexi adf9297047 Fixed the method to receive http payload with chunk format
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16024 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-19 14:02:10 +00:00
xq2005 370376f043 start ttyS0 for stateless boot on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16021 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-19 12:23:49 +00:00
wanghuaz d64e320ce1 remove teal-gpfs and teal-gpfs-sn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16020 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-19 11:28:13 +00:00
wanghuaz 85f1c3e9b0 remove teal-gpfs and teal-gpfs-sn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16019 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-19 11:27:00 +00:00
jjhua 27b0f260e6 fixed bug 3513
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16016 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-19 05:56:33 +00:00
nott eacba49833 add clroptionvars
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16015 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-18 15:54:48 +00:00
jbjohnso c40b974182 Fix problem where KMS key not being used as default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-17 18:38:22 +00:00
jwsimpson 3375666c53 Update rpower usage with onstandby and sms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16012 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-17 15:10:41 +00:00
mellor 7b85d31579 defect 3508 - change teal kitcomponent names to avoid conflicts with product rpms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-17 14:11:27 +00:00
jbjohnso 6f21c19ba0 Fix openssl template for 'server' to also allowed to be a 'client' to restore hierarchy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16006 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-17 13:53:38 +00:00
jjhua 75f98c010e fixed the bug when updatenode on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16004 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-17 08:18:12 +00:00
zhaoertao 7ec6aaf2ee fix bug 3502 rspconfig support for USERID=<password> for CMM in genesis case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16003 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-17 07:21:28 +00:00
qyin 233b2bf351 solution:215058 enable switch auto discovery for PCM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15999 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-17 07:06:57 +00:00
jjhua a2247f0170 fixed bug 3506, at the beginning of the ospkgs/otherpkgs, only remove the repos which are created by xCAT.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15998 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-17 07:05:21 +00:00
daniceexi 439985c34d Add the help for flex and iDataplex support for renergy command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-17 06:55:47 +00:00
xq2005 0d716b5691 use defined suborutine on hash object import warning message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15992 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-17 06:38:42 +00:00
phamt 16b23e8045 Fixed bug in event log page, where the wrong option flag is specified for the destination directory.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15991 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-16 19:38:11 +00:00
mellor e61f74a602 set PE env var for kit build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15990 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-16 18:24:44 +00:00
mellor cf032d05d6 update PE env vars and added other PE kit files to make this dir complete
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15989 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-16 18:19:35 +00:00
phamt 79cf47513e Enabled disk and zFCP pool tables to be generated even if no disk or zFCP pools exit.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15986 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-16 17:49:43 +00:00
mellor d8cf8fa312 defect 3482 - fix find wildcarding
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15985 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-16 15:17:49 +00:00
mellor b3c503a8d0 defect 3503 - remove duplicates and sort output of lskmodules
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15983 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-16 13:20:46 +00:00
jjhua f4acade014 only remove the repositories which were created by xCAT for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15978 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-16 05:36:05 +00:00
ligc e8edeca80c fix for bug 3476: set @::finalTypeList based on both CLI and FILEATTR
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15977 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-16 02:48:38 +00:00
lissav 3f51657eef fix 3477
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15973 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-15 12:28:46 +00:00
xq2005 ac38b17a5a support pgsql on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-15 07:10:48 +00:00
ligc 7f60027aa1 fix for bug 3496: disable SELinux on RHEL, check rc problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15969 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-15 04:53:04 +00:00
daniceexi 97c4aef241 Change how to get the bmc for a predefined node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-12 08:10:25 +00:00
daniceexi 3faab403aa Update the code that get the correct switch infor for the install nic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15964 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-12 08:09:37 +00:00
daniceexi 9d73e3a4fb Change the collaboration with sequential discovery for the output of nodediscover* message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15963 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-12 08:08:17 +00:00
linggao 61eacdadad modified puppet kit version
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15961 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-11 20:32:06 +00:00
jbjohnso 34f0ece400 Fix problem where hot takeover failed to completely kill off discovery worker
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15960 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-11 20:15:00 +00:00
jbjohnso 4817dfbe26 Fix unclean shutdown induced by discovery worker
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15959 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-11 19:46:48 +00:00
jbjohnso d3adad02ee Fix discovery in worker
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15958 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-11 19:37:23 +00:00
jbjohnso 7d7bfb00b4 Break discovery out to it's own worker
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-11 19:36:45 +00:00
jbjohnso f54c5dfb36 Remove debug output from wcons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15956 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-11 18:01:58 +00:00
jbjohnso 47f73b0569 Have wcons not call nodels as a subprocess
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15955 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-11 18:01:45 +00:00
jbjohnso 39d6a2e0d4 start fixing wcons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15954 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-11 18:01:37 +00:00
nott 6de92a9ef1 remove use of global variable DELNODE
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15950 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-11 14:18:08 +00:00
daniceexi 08c3c1cefc Add cappingGmin support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15948 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-11 04:22:34 +00:00
daniceexi 607ef66ea8 Add cappingstatus support and support the capping setting for double wide blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15945 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-11 03:15:27 +00:00
jbjohnso 75159bbfea Fix problem where psh -f would go more than requested
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15942 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 21:01:09 +00:00
bp-sawyers eae50e0deb fix syntax errors in nodediscoverls and nodediscoverstart pod pages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15940 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 20:50:31 +00:00
mellor cf581571a2 add arch and other attrs to full kitname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15939 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 19:40:11 +00:00
lissav 0eff1909de fix defect 3483
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15937 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 15:55:06 +00:00
amy0701 adbb9d5609 spelling mistake for Script_Post make script_post fail to work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15932 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 11:34:17 +00:00
jjhua cb445f14ec remove the debug flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 09:33:56 +00:00
jjhua ffe3068f8c add some code to make the config_chef_server work during post boot period
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15928 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 09:32:49 +00:00
jjhua 5b09fc7b4b add the rpm version to the kit version # and the kitcomponet version #
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15926 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 09:29:45 +00:00
jjhua 7b6e031df2 1. modifies some comments 2. add the rpm post scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15925 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 09:28:56 +00:00
sjing ab76120c96 use genesis kernel/initrd for sysclone.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 06:36:22 +00:00
wanghuaz 40fe923477 Updated lskit to 'SEE ALSO' section in manpage of addkit/rmkit/addkitcomp/rmkitcomp/chkkitcomp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15920 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 06:36:09 +00:00
sjing 0fd3f77e32 use genesis kernel/initrd for sysclone.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 06:35:36 +00:00
sjing 87f87fe85f use genesis kernel/initrd for sysclone.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15918 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 06:28:16 +00:00
sjing 996e2e9741 use genesis kernel/initrd for sysclone.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 06:23:55 +00:00
sjing afdd5ef8a7 use genesis kernel/initrd for sysclone.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 06:18:46 +00:00
sjing 73c2949cee use genesis kernel/initrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15915 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 06:07:38 +00:00
sjing 90ba6dba21 use genesis kernel/initrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15914 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 06:00:42 +00:00
yinle 1242f4c912 fix bug 3462 no any output executing lsslp --flexdiscover. Remove man information of --flexdiscover.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15913 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 03:06:33 +00:00
yinle 2740e8a6ec fix bug 3462 no any output executing lsslp --flexdiscover. Remove man information of --flexdiscover.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15912 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 03:03:16 +00:00
mellor ca78a2dc38 defect 3465 ppedev 1.2.0-2 kits
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 02:31:17 +00:00
jbjohnso 876fa7df69 Add support for external DNS and DHCP servers
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 20:21:02 +00:00
lissav 57cbc0c372 fix defect 3477
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15904 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 18:23:51 +00:00
jbjohnso 9c368aaf55 Add a bash+awk variant of a flow request
stil need powershell and python (esxi)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15903 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 18:16:38 +00:00
jbjohnso 29efa2321b Add a src file for xcatflowrequest
-Tried bash /dev/udp and read built-in.  This causes single byte read() calls (see zread.c in bash source)
-Tried gawk.  No concept of a timeout and getline never did return the data right...

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15902 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 17:30:51 +00:00
mellor 361c5e5665 defect 3474 - fix parsing of rpm names for kitpkgdeps
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15901 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 13:11:19 +00:00
daniceexi af8cf07ece Update the man page for sequential discovery support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 12:00:20 +00:00
wanghuaz ecd3fbc5ba Removed the sample perl modules
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 11:27:01 +00:00
wanghuaz 869e5948f6 Removed the sample perl modules
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15895 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 11:25:23 +00:00
wanghuaz a94d088a91 Checkin the partial-teal kit source files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 09:00:59 +00:00
ligc 6d4cc3f97d fix for bug 3454: handle the object name like fd59::/64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15892 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 08:20:15 +00:00
jjhua f3fc6a7f25 remove the -vx
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 08:02:43 +00:00
jjhua a18693ec9f make it work during postboot period
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 08:02:15 +00:00
yinle ac252f7f83 Continue to fix bug 3428 lsslp -n does not check xCAT DB properly for current objects, support using mtms to match cmm.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 07:13:18 +00:00
immarvin 21df7c201c replace nfs-utils with nfs-kernel-server in sles11 pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 06:45:27 +00:00
ligc 6985f95b28 fix for bug 3353: remove lsvpd and busybox-anaconda
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 06:31:17 +00:00
jbjohnso 033b6706b7 Fix problems with IPv6-ification of the UDP service
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 20:36:14 +00:00
jbjohnso f2de7ef12e Fix problem where tc grants always were sent to the last peer to send traffic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 17:37:15 +00:00
jbjohnso 27459a2869 Fix issue where TC requests would be remembered not at all and then forever
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 17:37:10 +00:00
jbjohnso 15d0a15364 Fix output to have a newline in packet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15878 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 17:37:05 +00:00
jbjohnso 4204e9070e Implement udp request (but no reply yet)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 17:36:57 +00:00
jbjohnso b9e587e703 Step one of traffic control, have SSL inform UDP process of current client count
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15876 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 17:36:51 +00:00
daniceexi 1138ab87d4 support the regular expression in the hosts table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15875 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 08:38:15 +00:00
immarvin 0a226feef7 add /lib64/libnss_files.so.2 into initrd, this is needed by mount.nfs in sles11.2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 08:19:38 +00:00
jjhua efa051a181 remove the repeated info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15870 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 08:15:26 +00:00
zhaoertao d5ef187fe1 update manpage for mkdef|chdef that adding option \'-u\' for them to fill in osimage attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 07:35:25 +00:00
ligc bfee3cf96a fix for bug 3470: remove the ifname from the /etc/sysconfig/network/routes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15865 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 07:28:55 +00:00
ligc 6801e064cf fix for bug 3471: print message if the persistent route does not exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15864 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 07:12:02 +00:00
zhaoertao db6fc2c563 change \'-s\' to \'-u\' for mkdef|chdef command to have osimage find custom files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 07:03:24 +00:00
daniceexi 89f238f5cd move the switch info update and nodediscoverydata update before the final communication for restart to avoid the sock missing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 06:36:07 +00:00
jjhua cdb7aa0ab6 remove the -vx from the shell script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15858 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 06:31:35 +00:00
jjhua 91a1736e61 Added code for xCAT chef intergration on Ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15856 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 06:27:25 +00:00
jjhua 3e02ce0e4f Added code for xCAT chef intergration on RH
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 06:19:41 +00:00
jjhua e2e7c0b35c remove the repositoris whose prefix is -path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15852 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 01:38:17 +00:00
xq2005 beadfcd627 buildkit support on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15849 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-07 08:41:35 +00:00
ligc dfd91e4d4a fix for bug 3476: remove empty nics definition from nics table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15848 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-07 06:53:23 +00:00
wanghuaz 64af7cbc19 Fixed an error in last checkin.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15844 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-07 06:30:53 +00:00
asirxing 2d555c821a Merge lskit/lskitcomp/lskitdeployparam codes to xCAT trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15843 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-07 06:17:34 +00:00
xq2005 786cfde0a8 buildkit support on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-07 06:14:08 +00:00
daniceexi e1c60cb830 add nodediscoverstart -V to display detail free host ips and bmc ips. And make sequential.pm handle the usage display for both sequential and profile discovery
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15840 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-06 09:09:08 +00:00
daniceexi b7daccfe36 move the usage message display to sequential.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15839 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-06 09:07:21 +00:00
jbjohnso 571487bf46 Fix AAsn to not die horribly when non-reference is returned from some function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-05 20:51:12 +00:00
phamt 85b4be21c5 Fixed grep to be case insensitive and find SCSI device using both WPN and LUN, instead of just LUN. A WPN and LUN uniquely identify a device.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-05 02:35:29 +00:00
jbjohnso aca5b290c2 Correct syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-04 20:16:40 +00:00
jbjohnso 97e50a2aae Fix typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15834 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-04 20:16:34 +00:00
jbjohnso 4a30157492 Apply methodology from previous commit to a number of other places
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15831 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-04 20:11:28 +00:00
jbjohnso c72f824670 Simplify a lot of xcat IPC by removing the silly 'endoffreeze' in favor of store_fd and retrieve_fd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15830 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-04 20:11:19 +00:00
phamt e30d85bf2d Fixed how default route was specified in autoyast template. Moved 'add SCSI' to disk panel on xCAT-UI because 'add SCSI' creates an EDEV.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15827 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-04 16:01:24 +00:00
jbjohnso 1d37352e85 Fix for template recognition to detect major release generic templates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15825 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-04 13:03:50 +00:00
jbjohnso c0e81dc8ad Use a different error code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:57:18 +00:00
jbjohnso bd67c19612 Have copycds error set exit code on client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15823 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:57:08 +00:00
linggao 0768e46b91 bug fix for puppet kit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15819 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:37:32 +00:00
jbjohnso c1a25ac668 Support per-node product keys, defaulting to 'os key' if nothing specified
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:34:15 +00:00
jbjohnso 3995fae3b6 Fix nextdestiny powershell script to have WinPE skip trying to retrieve CA certs mid-connection
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:20:29 +00:00
jbjohnso 2d0f36801a Fix error in esxi plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15814 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 18:21:29 +00:00
xq2005 66e30f3a17 pgsqlsetup support postgresql on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 16:29:42 +00:00
lissav cb415007ba add back the csm to xcat migration tools
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15809 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 13:15:25 +00:00
zhaoertao 0a89522d18 add -s for *def command to have osimage find custom files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15808 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 11:43:18 +00:00
xq2005 8990dc25ff debian/ubuntu support internet repo for otherpkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15805 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 09:17:08 +00:00
ligc c256f1c0fe fix for bug 3460: add ipv6 default gateway setup for configib
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15804 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 09:16:43 +00:00
xq2005 c5e3b1a06d debian/ubuntu support internet repo for otherpkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15802 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 09:12:22 +00:00
zhaoertao acbcc58858 3461 Undefined subroutine &xCAT::FSPUtils::defiend called at /opt/xcat/lib/perl/xCAT/FSPUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15800 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 09:06:33 +00:00
phamt be6a71e607 Updated output message of purgerdr option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 20:34:15 +00:00
phamt f69b6ac018 Enabled remote Linux repositories to be specified in noderes.nfsserver. When specified, noderes.nfsserver will be used instead of the local /install directory.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15798 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 20:26:28 +00:00
jbjohnso 7ace2412fe Add support for Windows to do autoula mode and indicate non-support of static managed address mode in windows context
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15796 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 19:55:57 +00:00
mellor ea3431f5a7 defect 3385 again - need separate subs for both real kitname and modified kitname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15795 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 19:54:24 +00:00
jbjohnso 8360cddd12 Provide a mechanism for bundled xCAT instances to forbid image import without existing templates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 19:19:30 +00:00
mellor d3043285f2 update kit template with various changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 17:54:01 +00:00
mellor 28d75b347f defect 3406 createrepo for RH5 and 3407 correctly handle blank osminorversion value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15786 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 16:31:21 +00:00
mellor 9a639e015e buildkit man page update for addpkg and other changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15785 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 13:37:28 +00:00
zhaoertao ce4e807a04 fix bug:3451 New xCAT Support for mkhwconn -s and sfp for Flex P blades with HMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15782 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 09:06:11 +00:00
wanghuaz e05b6c62b2 Updated addkitcomp manpage for --noupgrade option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15780 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 04:59:28 +00:00
mellor e705fc08e9 defect 3385 fix string subs in plugins and finish defect 3366 kit version and release subs in addpkgs support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 21:26:26 +00:00
jbjohnso 8f37638f66 Rename site value to something more specific
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15775 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 19:11:16 +00:00
nott e0b1400489 more usage msgs and error checking
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15773 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 18:49:55 +00:00
bp-sawyers fb0028623a fixed typo in regex example in xcatdb man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15771 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 18:46:30 +00:00
jbjohnso 528ecb3e56 Provide site value to suppress credential check messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 17:57:13 +00:00
nott b5afe5e3b9 support xCAT long hostname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 17:22:21 +00:00
lissav 525d1dcb63 fix defect 3412
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15766 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 16:46:32 +00:00
wanghuaz e01282f5eb Output erros if there is any failure during DB operation, in case DB operation didn't output any error on failures.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15764 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 12:51:58 +00:00
wanghuaz a1fdfce779 Fixing a problem that sles enables all the repos for new #NEW_INSTALL_LIST set, it prevents putting multiple versions of a packages with different repos into otherpkgs dir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15761 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 12:09:26 +00:00
wanghuaz 85e66bdcfc Fixing bug 3410: don't remove kitrepo if there is other kitcomponent assigned to the osimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15760 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 10:43:07 +00:00
daniceexi 2d9139705f Code drop for sequential discovery support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15758 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 10:32:07 +00:00
yinle e927682f24 Modify the man of rscan to support rscan with system-x-nodes in flex.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 07:58:23 +00:00
yinle 69812d996a Modify man page of rspconfig, add support of rspconfig system-x-nodes network=*
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15755 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 07:52:32 +00:00
creativezj ff67a1d864 fix multiple nic error while all nics in same network
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15751 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 07:16:59 +00:00
phamt a9e5f73abd Fixed bug where argument size check was not correct. Added default mode for chvm --add9336 option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 01:46:31 +00:00
wanghuaz 9e26b11fe2 Fixing two problems: 1. previously all the repos are enabled for all the yum commands. now we only enable the required repos for each yum command. 2. run yum clean in the diskless image to cleanup the repo meta data. this is required if there are multiple versions for one package name to be installed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15748 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-31 22:44:19 +00:00
wanghuaz ef9db848fd added addkitcomp --noupgrade option to install multiple PE RTE PTFs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15747 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-31 22:35:50 +00:00
xq2005 a2c0e85f08 statelss image support internet repo on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-31 14:39:27 +00:00
phamt 265cbde35b Fixed typo in output string
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15743 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-30 21:47:51 +00:00
phamt 9eda055ddd Fixed disk format bug where code continues to run even though link is only R/O.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15742 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-30 21:38:55 +00:00
linggao ce3ea63680 Openstack support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-30 21:14:20 +00:00
wanghuaz 83e983106c Create osimage with profile compute for management node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15738 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-30 07:51:25 +00:00
linggao 30d3984998 bug fix in otherpkgs, keep the repofile because sometimes the error is caused by other repos
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15736 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-30 02:10:38 +00:00
linggao 1e1b6417d7 Added code for xCAT puppet integration on RH
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15734 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 19:53:12 +00:00
linggao d8824a068f Added code for xCAT puppet integration on Ubuntu.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15732 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 19:03:18 +00:00
phamt 70414d2b08 Changed mount point during cloning so that multiple clones could be run independently.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15731 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 16:30:41 +00:00
phamt 236a415bf7 Allowed dialog box to show up when adding disks or NICs, even when no disk pool or network exists.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15730 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 15:38:05 +00:00
nott 4c82d3101f add default for nichostnamesuffixes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15729 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 13:20:41 +00:00
nott 4c2f0c2ceb description cahnge for nicaliases
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15726 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 12:53:18 +00:00
lissav 6b9baa15e5 fix defect 3426
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15723 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 11:36:48 +00:00
creativezj f93460d4f6 support multiple nics in nodeimport
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 05:58:26 +00:00
xq2005 b5f73f7a23 copycds support option -i on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15718 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 03:44:57 +00:00
xq2005 43c44ee347 load firmware in debian/ubuntu stateless initrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15716 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 03:04:41 +00:00
jbjohnso 25eb443587 Have provision for per-node AD admin credentials
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 20:52:15 +00:00
jbjohnso e899e3d62b Make allowances for per-node activedirectory enablement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15712 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 18:59:48 +00:00
jbjohnso 52620d3edd Add entry to allow per-node authentication domain configuration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 18:53:50 +00:00
jbjohnso d7987c5e46 Now that we can specify domain per node, take out check that would reject a valid config
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 18:50:30 +00:00
jbjohnso e9441739a0 Add more IPv6 magic to ESXi setup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15705 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 18:30:46 +00:00
lissav abf400572b handle easy regx expressions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15703 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 12:06:27 +00:00
immarvin 5cabc2b9ef replace kernel with kernel-default in sles11 pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15702 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 09:33:51 +00:00
immarvin 1d11ddb65f nfs-client not exist in sles11 iso, remove it from pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15700 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 08:46:15 +00:00
yinle 03eb28bb46 lsslp --flexdiscover enhancement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 08:17:39 +00:00
yinle 430d5c0c09 lsslp --flexdiscover enhancement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 08:15:58 +00:00
yinle ea966447d6 lsslp --flexdiscover enhancement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15694 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 08:13:59 +00:00
immarvin 1533cf185c add ntp into the sles pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15688 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 06:34:22 +00:00
immarvin 749cf2f240 add ntp into the sles pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 06:33:14 +00:00
ligc c06c616558 fix for bug 3446: for SLES, do not add FW_DEV_EXT if there is only nic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 05:35:58 +00:00
mellor 7dbd6aaf3e added kit.release attr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 02:36:54 +00:00
mellor 51fe0df1c4 rewrote buildkit buildtar and addpkgs for kit verrel substitution support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 02:31:55 +00:00
ligc 045b83d76d fix for bug 3446: add 69 into ports list, chkconfig SuSEfirewall2_init on
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 01:41:14 +00:00
jbjohnso 3d8c237a01 Add flag for appliance use to recognize static addressing modes not yet supported in xCAT mainline
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-27 20:43:00 +00:00
bp-sawyers 5ac785b6f6 corrected chain.chain attribute description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15673 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-27 20:39:23 +00:00
wanghuaz 4768f5adba enhanced function Utils->osver() to accept paramerters to output different data. If no parameter, the output will be same as before.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15669 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-27 10:15:07 +00:00
jbjohnso 18193f31a4 Fix DNS client configuration for Windows when doing static assignment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15668 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-26 14:38:57 +00:00
jbjohnso aad6c3c311 Fix missing close tag on xml in last windows commit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15666 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 21:08:26 +00:00
jbjohnso 42ae915878 Switch to server side fill in attempt for interface identifier in dns client config in windows
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15663 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 20:52:21 +00:00
jbjohnso e5755dbc64 Add directive to support alternate DNS server for windows deployments if DHCP is not to be trusted
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15661 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 20:02:04 +00:00
jbjohnso 4b2e5beb12 Fix issues with previous commit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 19:36:31 +00:00
jbjohnso ee48169642 Fix issue where powershell instrumentation fired up with no hope of successfully performing SSL
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 19:36:20 +00:00
mellor f20e77dd93 new kits for PE RTE 1.3.0.2 and GPFS 3.5.0.9
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 17:57:37 +00:00
jbjohnso cdf3b7aeb2 Fix for anaconda claiming toolscenter oses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 17:39:33 +00:00
zhaoertao 1a2383d9f8 modify "rvitals <flex node> lcds" using pblade_query_lcds to get the lcds info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15635 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 02:55:34 +00:00
jbjohnso 037f32bd54 Have upflag try to use powershell when available instead of exes.
Have xCAT powershell client attempt without a certificate when no client certificate specified

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15632 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-23 17:23:20 +00:00
nott 61158bbfcf add support for nicaliases
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15630 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-22 14:19:17 +00:00
nott 6a8534a0f6 add to nicaliases description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15628 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-22 14:11:05 +00:00
xq2005 f19761ef71 genimage on ubuntu12.04.2 meet package installation error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15626 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-22 07:16:18 +00:00
phamt a4187efcb2 Enable graphics tab on xCAT-UI to handle nodes where the nodetype is not specified.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15625 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 21:40:53 +00:00
phamt 922921a739 Added new columns into the storage table to handle z/VM's SCSI-FCP devices.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15624 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 20:32:28 +00:00
nott cee8a7a73b add nicaliases support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15622 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 19:23:46 +00:00
phamt 474c298630 Fixed toggle of options to be triggered by input box vs. list item.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15621 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 18:46:00 +00:00
phamt 0575001ef2 Fixed eventlog tab on xCAT UI to use a textarea instead of input box for log options.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15620 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 18:36:20 +00:00
nott 3ceb5fe7e4 fix bad hosts file entry - 3439
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15618 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 18:18:45 +00:00
jwsimpson d00ded29a2 lsslp support for transAM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 17:33:18 +00:00
nott 4312042e2a add bash to aix bundles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15613 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 15:32:37 +00:00
nott d129856a4f fix rmnimres subroutine - 2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15610 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 13:52:44 +00:00
nott 5c1c601119 fix rmnimres subroutine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15609 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 12:37:13 +00:00
xq2005 a2a91cdd21 delete the uesless genimage.old
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15607 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 08:25:02 +00:00
jjhua 4940906c05 made some updates in the pkglist for bug 3444
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15605 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 06:56:38 +00:00
ligc b857a25081 update xcatstanzafile manpage to inidicate the attribute might include the character dot (.)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15604 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 06:50:15 +00:00
ligc 83bed2cb04 chdef,mkdef enhancements to support nic attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 06:41:01 +00:00
jjhua 079665a651 fixed bug 3437
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15600 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 05:20:18 +00:00
phamt bd38609ba1 Cleaned up how smcli calls are logged in syslog.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15597 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-20 20:47:12 +00:00
xq2005 5777cd4dd7 support copycds -i on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15595 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-20 08:08:50 +00:00
ligc bab48dbc50 lsdef enhancements to show nics attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15594 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-20 06:56:32 +00:00
linggao 6c1a840369 fixed SF bug#2433
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15590 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 21:17:46 +00:00
lissav 2830bab937 fix for defect 3436
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15588 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 17:58:17 +00:00
jbjohnso eda584a0f5 HTTP/1.1 sends headers back more, tolerate that
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15587 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 16:01:43 +00:00
jbjohnso 67787dad86 HTTP/1.1 seems to be required for RHEV-M to respond right
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15586 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 16:01:22 +00:00
jbjohnso 4c6b234e13 Fix xCAT-server rpm build srpm problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15584 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 14:48:33 +00:00
jbjohnso d095c0fc5f Have sshd directory contain public keys, as some pieces of software are expecting, whether they should or not
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15580 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 13:35:59 +00:00
jbjohnso cab8191379 Support per-node ssh host keys if detected - Thanks to Frank Schwichtenberg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15577 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 13:22:33 +00:00
lissav 586c212d93 add use File::Path used in code,but missing. Result of Utils.pm split. Broke zvm build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15575 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 13:16:39 +00:00
lissav 8d8c38d3b4 fix for defect 3434
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15573 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 11:14:23 +00:00
xq2005 c9778bf3f7 setup odbc for mysql on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15571 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 08:55:04 +00:00
xq2005 029df230d6 use mysql db on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15570 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 07:43:30 +00:00
immarvin 1eb4411009 fixed some syntax in storage.rhels6.tmpl, as some variables are no longer supported in the kickstart. rename storage.pglist to storage.pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15567 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 07:17:34 +00:00
xq2005 d4e79d7a95 use mysql db on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15565 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 07:13:05 +00:00
amy0701 3bcdc5e371 update testcase for checking geninitrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 06:50:22 +00:00
jbjohnso cfed625f4c Add more objdef mappings for table data
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15562 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-18 20:56:02 +00:00
jbjohnso c6672270ea Add node/group level nameserver indication to schema
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-18 20:55:55 +00:00
amy0701 f0161a5c45 add testcases for diskless/diskfull/SN installation on x86_64 sles11sp2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15559 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-18 08:22:41 +00:00
wanghuaz 2d6b18cfc9 Added the manpage of addkit -i|--inspection option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15558 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-18 08:14:39 +00:00
amy0701 eb3ccaa773 add testcase for SN installation,diskless/diskfull/statelite installation with SN on x86_64 redhat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15557 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-18 07:49:38 +00:00
jbjohnso de9fbe4f82 Show errors in default formatting.
Add function to import exported credential package

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15551 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-18 00:17:34 +00:00
jbjohnso 0a4d227a2d Add script to export credentials for powershell client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15550 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-17 22:48:46 +00:00
jbjohnso 9d374c1421 Finish xcoll, add some more objects to control formatting better, have NodeRange on pipeline attempt to join for chaining after xcoll
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15549 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-17 17:20:53 +00:00
jbjohnso ef8f762590 Work towards an xcoll workalike, also likely a xcsv workalike
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15548 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-17 05:12:06 +00:00
jbjohnso 95c6a3d93d Add familiar aliases for PS usage
Add more commands
Support pipelined strings and xCATNodeData for indicating noderange

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15547 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-17 02:11:58 +00:00
jbjohnso c519c111ec Add some inital table formatting for typical output
Fix problem where Powershell replaces commas with spaces (hopefully fixed)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-16 23:27:53 +00:00
jbjohnso 717cd66082 Spice things up a little by putting in a vitals and a power test case, testing out the command send command
TODO: repackage the xml object into intended powershell objects
Output types:
-xCATData
-xCATNodeData
-xCATNoderangeData
xCAT Data has error and data not contained within a node
xCATNodeData has error and data contained within a node
xCATNoderangeData will be an aggregation of the above (to be treated differently ps1xml wise hopefully)

The original noderange will be chucked into any of these, for Merge-xCATNodeData to have as a hint maybe

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15545 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-16 01:50:35 +00:00
jbjohnso 4a572f5015 Actually have the powershell module successfully be able to run commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15544 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-16 01:50:29 +00:00
jbjohnso 0344b08ba1 Actually have a test case that will get to the permission denied phase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15543 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-16 01:50:22 +00:00
jwsimpson 4bde0a0ded FSPpower.pm was updated to allow sms option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15542 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 21:43:06 +00:00
jbjohnso c602006c04 Milestone for powershell client code, can now add the CA and successfully verify server:
PS R:\pst> import-module .\xCAT.psd1
PS R:\pst> Import-xCATCA .\ca-cert.pem
PS R:\pst> Connect-xCAT odin 3001
PS R:\pst>
(commit best reviewed while listening to O Fortuna)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 21:12:53 +00:00
jbjohnso 7eaed897e8 Properly restart syslog when dhcp says to
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15538 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 20:00:35 +00:00
jbjohnso 16642a0810 Test change to reduce dhclient activity - as suggested by Daniel Weeks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15537 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 19:56:00 +00:00
jbjohnso 4337554e71 Correct Sys::Virt version check
Fix broken LVM behavior when faced with a pre-built LVM VG/PV (as reported by Michael Fenn)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 19:42:25 +00:00
jbjohnso 1dc28f2540 A little more PowerShell experimentation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15534 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 19:42:17 +00:00
jwsimpson 43826a511a lsslp Usage update to add FSP and IMM2 to -s option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15533 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 13:53:18 +00:00
yinle 57707391b4 fix bug 3428: lsslp -n does not check xCAT DB properly for current objects
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15528 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 07:46:16 +00:00
yinle f211c92b82 fix the issue that lsslp put in the SLP request messages into the "stana" files working with lsslp -z flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15527 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 06:13:29 +00:00
yinle 17abb515db fix the issue that lsslp put in the SLP request messages into the "stana" files working with lsslp -z flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15522 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 06:02:37 +00:00
nott 3c81f67a62 misc cleanup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15520 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 16:02:31 +00:00
bp-sawyers 221a44d1bd added author to tools help
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15518 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 14:18:54 +00:00
xq2005 45fb564db6 use the default pkglist on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15515 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 08:54:50 +00:00
xq2005 5a4e5a3559 support comment in the pkglist on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15513 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 08:50:57 +00:00
jjhua 2fbdba3fe3 Before adding the os repos and otherpkgs repos, check if the repos were already added by xCAT in the previous run, if yes, update these repos; otherwise, create these repos directly. For the os repo added by addsiteyum, it should be deleted by ospkgs and otherpkgs, the ospkg and otherpkgs will add the os repos point to more directories. After ospkg/otherpkgs is done, do not remove the repos.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 07:47:46 +00:00
jjhua c4e7fe9f02 Before adding the os repos and otherpkgs repos, check if the repos were already added by xCAT in the previous run, if yes, update these repos; otherwise, create these repos directly. For the os repo added by addsiteyum, it should be deleted by ospkgs and otherpkgs, the ospkg and otherpkgs will add the os repos point to more directories. After ospkg/otherpkgs is done, do not remove the repos.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 07:47:28 +00:00
zhaoertao df466fe7b6 update manpage for reventlog <-s>
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15505 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 07:29:53 +00:00
xq2005 8df12f9219 buildkit support external non_native_pkgs on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15503 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 07:21:22 +00:00
zhaoertao bc44b57b73 add option '-s' for reventlog to output the event from latest to oldest
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 07:12:37 +00:00
daniceexi dea73cdb01 Add the support for flex
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15499 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 06:27:43 +00:00
jjhua 621ad77911 fixed bug 3259, have the addsiteyum be called before running the postscripts, the repos might be needed by some other user customized scripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15498 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 02:44:52 +00:00
jjhua 29945eb0d1 fixed bug 3259, disabled the the centos internet repos added by the os.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15495 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 02:29:50 +00:00
bp-sawyers 111782a728 automatically build readme for tools
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15490 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 23:01:17 +00:00
jbjohnso 4b09b8f926 Fix bug with optional persistence where reset no longer survives
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15489 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 19:59:45 +00:00
jwsimpson d07d624b01 Updated to skip Flex power blades when "-s CEC" is specified - also corrected model to not filter on 8236 for flex
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15488 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 19:21:41 +00:00
linggao 10ad3b6945 fix sf bug #3422 updatenode -P fails to resolve name of mypostscript file on the MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15484 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 19:05:27 +00:00
nott 46ad21d88c changes to finding xcat node name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15482 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 18:39:23 +00:00
xq2005 2de350cf80 support makeknownhosts on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 10:11:02 +00:00
xq2005 2ce147d84b support makeknownhosts on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15477 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 10:06:38 +00:00
xq2005 e05797bb60 support makeknownhosts on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15476 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 10:06:09 +00:00
wanghuaz 774c178272 Don't mount /proc fs since it will confuse the rpm or scripts that they are on diskless nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 09:54:45 +00:00
xq2005 5f8ed93998 for kdump bug on non-p7 ih power server, bug number 2898
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 06:38:51 +00:00
phamt 50445cdc26 Fixed cloning issue where code was looking for a case-sensitive NIC address and not modifying the network configuration correctly. Added logging of smcli calls into syslog to improve debugging. Add loop to find the correct partition with file -s /dev/dasd*. This fixes a cloning issue where flashcopy is not instantaneous and flashed copy volumes do not appear immediately when linked.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15470 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 23:10:58 +00:00
jbjohnso 4de0a47920 Add centos6.4 discid
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15468 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 18:13:17 +00:00
nott c4c942fbab add xcat node name to /etc/xcatinfo file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15466 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 16:37:37 +00:00
lissav 5d3e1f3d53 add /share/xcat/tools for aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 13:13:27 +00:00
lissav fbfe3777b4 add /opt/xcat/share/xcat/tools to the path on linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 13:04:37 +00:00
lissav 907b14ba9d add /opt/xcat/share/xcat/tools to the path for AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 12:35:49 +00:00
daniceexi ede3d3ced7 defect 3195: change the search pattern to the uxspi binary path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15459 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 11:12:15 +00:00
daniceexi e59dc8a9ce code drop for flex energy management support through cmm snmp interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15456 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 10:46:21 +00:00
immarvin f5ed6658ec support rhels5.9
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15455 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 08:09:28 +00:00
immarvin 2abdf800d9 add anaconda template for compute.rhel5.ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 07:41:19 +00:00
wanghuaz 180eb62560 ppe rte license 1.3.0.0 can only be used. PTFs cannot include license file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 07:08:15 +00:00
xq2005 e6a50b4215 resolve the conflict between xcat-genesis-base-amd64 and xcat-genesis-amd64 on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15449 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 06:12:44 +00:00
nott e2aa75569f fix -m and xcat node name issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15448 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-11 19:36:19 +00:00
phamt a0d1d5b41a Added check for return code on Linux dd.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15444 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 22:50:16 +00:00
linggao 80b20c444f More fix for SF bug #3404 configib for aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15442 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 19:49:02 +00:00
jwsimpson 15447d0398 lsslp replaced flex filter for model 8236 (P7IH - mistake) with P24L model 1457
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 16:02:06 +00:00
lissav 51d4c30e4a moved insptbls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15437 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 11:41:20 +00:00
jjhua 7ab0cf1ffd add the image name and timestamp into diskless image when it is packed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15434 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 06:07:30 +00:00
immarvin 20ff90225a #3130 installnic=mac does not work for rh5 ppc64 netboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15426 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 03:05:32 +00:00
wanghuaz 04e63c307e Create otherpkgdir if it doesn't exist on management node or service node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15415 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-07 20:59:34 +00:00
lissav 6d6ab9b951 fix defect 3403
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15410 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-07 14:26:49 +00:00
lissav 9765d32dc6 fix defect 3403
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15409 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-07 14:25:34 +00:00
xq2005 86b29b0edb buildkit on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15408 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-07 08:59:45 +00:00
linggao 4613a85c23 fixed SF bug #3367 so that imgimport and imgexport will get all the attributes from the osimage and linuximage tables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15406 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-07 00:18:44 +00:00
linggao f2eb32b3c9 fixed SF bug #3404 configib: Update xCAT IB configuration for AIX IB APAR IV36529
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15405 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 20:18:37 +00:00
lissav 93bcbc5e71 add sudo dcp -F support SF 3403
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15402 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 17:48:53 +00:00
linggao 361cd8c42b fix for SF bug #3398 updatenode -P fails if hostname on the node is FQDN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15400 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 14:49:46 +00:00
xq2005 6ae785af6e fix infinite provision problem after use kit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15399 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 10:33:41 +00:00
immarvin a288b88bd9 prevent remount root filesystem in rw mode during reboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 08:47:47 +00:00
xq2005 1e797ed26b buildkit buildtar on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15395 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 08:44:26 +00:00
xq2005 89dba8092d build xCAT-buildkit on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15394 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 05:47:32 +00:00
xq2005 2195f9261e buildkit for buildrepo on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15393 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 05:36:32 +00:00
xq2005 87a957642f buildkit for buildrepo on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15392 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 05:31:11 +00:00
sjing a5fd918ba7 support imaged provisioning.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 05:29:06 +00:00
xq2005 7f90243337 build xcat-buildkit on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15389 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 05:04:56 +00:00
phamt 11ecff91d4 Fixed post-script to echo default gateway to /etc/sysconfig/network/routes file in mkay4z script.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15388 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-05 15:32:24 +00:00
xq2005 d342bab175 build xCAT-buildkit on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15387 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-05 09:25:45 +00:00
immarvin 9c367350c9 rhels6.4 support for ppc64 and x86_64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15385 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-05 07:29:18 +00:00
xq2005 002b2ec9df build xCAT-server on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15383 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-05 05:36:29 +00:00
xq2005 59e4b3df05 build xCAT on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15382 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-05 05:35:25 +00:00
phamt 2bdbf688ab Added support for IP pools in xCAT UI. This includes creating a group with an assigned list of node names, IP address, and hostnames. It also includes updating and deleting an existing group with an IP pool.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15380 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-05 04:10:57 +00:00
linggao 845774a571 fixed a defect # 3398 updatenode -P fails if hostname on the node is FQDN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 22:32:17 +00:00
jbjohnso 8612355df9 Append rather than prepend xcatpost to PATH
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15378 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 21:56:58 +00:00
jbjohnso 002d093a37 Add a manifest for the powershell xCAT client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 21:45:29 +00:00
jbjohnso b787fc643b Rename xCAT powershell module
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 21:25:31 +00:00
jbjohnso 0073bfd6b3 Modify xCAT Powershell libs to load without warning/error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15375 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 21:25:23 +00:00
phamt 09d423997e Moved mkay4z script into /opt/xcat/share/xcat/scripts directory.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 19:57:48 +00:00
lissav 9a7dba6d86 fix defect 3401
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15371 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 16:46:28 +00:00
sjing 7d2ad45443 support imaged provisioning.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15368 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 07:38:50 +00:00
sjing 1c2f665993 support imaged provisioning.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 03:05:07 +00:00
jwsimpson 706eca1ef7 update lsslp.pm to not report CEC for flex p blades. Also added support fro IMM2.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15357 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 22:01:04 +00:00
phamt 0d195918e3 Fixed nodeset to copy the contents of xcatinstallpost and xcatpostinit1 into the autoyast or kickstart template, allowing postbootscripts to be run.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15355 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 21:23:24 +00:00
nott dc488dfc08 add support for running local install script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15350 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 19:14:32 +00:00
linggao 2a5ae3d1b4 fixed SF bug #3392 rmimage removes tftpboot kernel file that may be used by other images
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15348 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 19:11:29 +00:00
lissav acd8d676c1 fix defect 3398
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15343 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 17:33:03 +00:00
nott 01f1a52525 new aix software update script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15342 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 17:03:48 +00:00
lissav 46a89fa1c6 add crontab -l
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15332 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 13:38:09 +00:00
lissav d53284d914 add additional ssl settings for xcatd SF 3396
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15326 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 13:05:34 +00:00
xq2005 e36f3e5684 comppkgname support debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15323 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 09:11:32 +00:00
xq2005 17ae3213cd add the debian directory for building xcat-buildkit on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15320 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 08:59:27 +00:00
ligc 111793e3a6 update description for nics table, IPv6 support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15318 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 08:27:13 +00:00
jjhua f9069a18e0 add some information of multiple paths to linuximage.pkgdir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15317 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 08:25:52 +00:00
jjhua a0bb9e1665 support multiple paths of osimage on centos6 diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15316 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 07:31:11 +00:00
jjhua 92ecdf8b0b support multiple paths of osimage on centos6 diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15315 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 07:30:10 +00:00
jjhua 2c8c8257a8 support multiple paths of osimage for sles10sp3 diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15314 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 07:09:36 +00:00
ligc e706f5cbd4 configib support multiple ipv4 addresses and IPv6 addresses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15312 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 03:39:58 +00:00
phamt 37c015a7ca Fixed clone function.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15298 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 16:04:15 +00:00
bp-sawyers 200e369d5d Remove newline in Version file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15295 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 15:24:39 +00:00
jjhua a9829ab17b support multiple paths of osimage in rhels diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15289 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 07:20:45 +00:00
jjhua b6ff220b06 support multiple paths of osimage in rhels diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15288 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 07:19:46 +00:00
jjhua 6b2012900a support multiple paths of osimage in rhels6 kvm diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15287 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 07:09:45 +00:00
jjhua e5011c3919 support multiple paths of osimage in rhels6 compute node diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15286 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 07:01:46 +00:00
jjhua 72cf13e8e3 support multiple paths of osimage in rhels6 ppc64 service node diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15285 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 06:56:30 +00:00
jjhua 2c6158570b support multiple paths of osimage in rhels6 ppc64 compute node diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 06:43:54 +00:00
jjhua 5be856cddc support multiple paths of osimage in rhels6 service node diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15283 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 06:28:08 +00:00
jjhua cbf108f8b8 support multiple paths of osimage in rhels6 compute node diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15282 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 06:26:36 +00:00
jjhua 6e9b41d4bc support multiple paths of osimage in sles11 service node diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15281 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 06:25:16 +00:00
jjhua 0f17710b39 support multiple paths of osimage in sles11 compute node diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15280 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 06:22:36 +00:00
jjhua 0308e63ef4 support multiple paths of osimage in sles diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15279 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 06:20:30 +00:00
jjhua 6a8f62a2ac support multiple paths of osimage in rh diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 06:19:41 +00:00
jjhua 05bc99e483 support multiple paths of osimage in rh/sles diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15277 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 06:18:27 +00:00
ligc d9725518d8 makeroutes support IPv6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15276 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 02:32:24 +00:00
bp-sawyers 6116ea5bd7 Improved the regex section of the xcatdb man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15275 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 00:30:11 +00:00
mellor 9aacc4d203 add PE RTE ptf1 buildkit.conf file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15274 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-27 22:48:12 +00:00
jbjohnso b79f6bb7ee Check in more comments and code into the still yet non-functional powershell module
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15273 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-27 22:05:53 +00:00
jbjohnso 651e259871 Support site key "persistkvmguests"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15272 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-27 19:14:36 +00:00
phamt 889ef5508e Fixed column labels for zfcp pools.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15271 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-27 16:33:16 +00:00
brianfinley dee47b2c55 - Added comments from Nate Rini on pciutils RPMs that properly detect PCI Gen3
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15270 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-27 15:23:41 +00:00
daniceexi 39230d1672 defect 3389: support the sles with tightvnc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15268 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-27 08:10:17 +00:00
xq2005 a5a4feb798 osver() support debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15267 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-27 07:36:34 +00:00
jbjohnso 5a21746fe8 Have xCAT support ssl parameter settings in site table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15265 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-26 21:11:54 +00:00
lissav b22f425c3e add crontab -l
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-26 16:01:48 +00:00
linggao 56684fb6da handle when conserver is management node itslef.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15262 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-26 14:54:55 +00:00
sjing d49c882778 support imaged provisioning.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15261 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-26 04:53:56 +00:00
immarvin e166962d49 support -i for the command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-26 03:57:36 +00:00
phamt a19b640ba4 Added syslog comments.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15259 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-26 03:01:08 +00:00
sjing 9581e25412 support imaged provisioning.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15258 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-26 02:43:57 +00:00
sjing a035d397ce support imaged provisioning.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15257 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-26 02:43:25 +00:00
sjing 6208b57203 support imaged provisioning.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15256 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-26 02:39:21 +00:00
phamt 05687101ee Added syslog comments.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-26 02:18:13 +00:00
phamt 9d01a63782 Fixed nodeset to accept noderes.nfsserver. Added golden images to self-service portal.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15254 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-26 00:19:46 +00:00
jbjohnso 73eae21f3c First pass at some xCAT powershell functions to build updatemynodestat/reportip/updateflag out of in name of removing compiled code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-25 22:05:33 +00:00
jbjohnso dabd5d5f09 Certain nmap output with ipv6 could leave nodename with a trailing \n, correct
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15251 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-25 16:26:08 +00:00
phamt bcfacb1dbf Added partprobe on cloning.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15250 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-25 15:50:21 +00:00
immarvin bbd1498272 support -i in ppping GetOptions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-25 09:31:37 +00:00
phamt 311a25a05a Enabled cloning of offline nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-25 02:19:33 +00:00
phamt cece5458f9 Fixed cloning where fdasd is need for vanilla disks.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15247 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-24 04:33:12 +00:00
lissav 816d98fb73 fix of defect 3380
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-23 12:50:14 +00:00
lissav 2192c8e148 fix of defect 3380
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15243 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-23 12:46:23 +00:00
bp-sawyers 2e9d460772 xCAT-genesis-scripts rpm version was mistakenly hard-coded to 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15242 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-22 15:18:12 +00:00
zhaoertao 3c4b71e06a fix bug 3382:"rvitals cec lcds" no output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15241 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-22 09:28:24 +00:00
ligc adfb223fd4 call /etc/sysconfig/network-scripts/ifup-ipv6 on RedHat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15239 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-22 08:48:49 +00:00
immarvin 38b5874b32 add "-l" option support of genimage in dracut mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-22 08:35:36 +00:00
ligc 2142411c43 add configth ipv6 support work with nics table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15237 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-22 08:22:55 +00:00
zhaoertao b9034410a9 enhancement for 'rvitals <Flex node> all' to display 'lcds' infomaiton in case no 'nodetype' attribute defined in 'mp' table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15236 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-22 06:36:36 +00:00
jjhua a840161de9 fixed bug 3342, and made some performance enhancement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-21 06:30:07 +00:00
jbjohnso 3d98c4fe6e Correct typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15232 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-20 19:28:17 +00:00
jbjohnso 2b61bf2c91 Add objdef for storage.osvolume
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15230 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-20 19:13:26 +00:00
lissav 200373f48d ON the MN only start dhcpd if not running if servicenode.dhcpserver set
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15228 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-20 18:57:33 +00:00
lissav 6bbbfeff81 add sudo xdcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15227 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-20 15:47:10 +00:00
lissav ba1cadb6e9 add sudo xdcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15226 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-20 15:39:57 +00:00
lissav 68f86b703b add sudo xdcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15225 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-20 14:59:27 +00:00
lissav 413f6c0010 more cleanup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-20 14:05:40 +00:00
lissav a3caf9e5aa Remove useless code in setup_CONS so it will work on the Management NOde
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15223 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-20 12:16:32 +00:00
lissav b5d6951f62 isServiceReq handles MN special case and now returns a hash instead of an array to AAsn.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15222 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-20 11:59:36 +00:00
lissav 1c1e78bf89 AAsn.pm will not setup MN from the servicenode table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15221 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-20 11:56:23 +00:00
xq2005 116e770bfb create repo on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15213 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-20 06:21:19 +00:00
xq2005 bf2aa12fd3 create the signature to the Packages file for authentication checking
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15212 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-20 06:07:54 +00:00
mellor afe5dd5024 add sample doc files to HPC kits
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15210 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-19 20:22:09 +00:00
nott dbdd43de8d fix description of -r
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15209 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-19 15:06:55 +00:00
lissav cfcca53716 setup the MN in the servicenode table with proper defaults
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-19 13:29:55 +00:00
bp-sawyers 85828d24aa update for latest mcp build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15207 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-18 22:46:22 +00:00
mellor bd812ab851 defect 3371 - fix osimage check for chkkitcomp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-18 21:18:26 +00:00
mellor daf319a402 defect 3376 - need to load XCATSITEVAL global in upd listener process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15203 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-18 20:30:37 +00:00
lissav 9154b2edc9 improve mgmt into servicenode table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15201 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-18 20:22:36 +00:00
lissav e69cdc2d5f fix bypass mode running makedns plugin when site.dnshandlers is set
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15200 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-18 16:16:19 +00:00
lissav d5c6ad426c fix spelling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15199 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-18 12:39:25 +00:00
leiaibj 4650f29bb7 The function isValidHostname, it can not detect illegal hostname like 'a=b-c'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15198 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-18 02:04:52 +00:00
brianfinley 6329990417 Addition from the BEF_Scripts for xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15196 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-17 16:25:57 +00:00
xq2005 1acb9398d6 only create the link to sha.pm after installation on ubuntu/debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15194 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-16 07:53:19 +00:00
phamt fa89345a5c Fix MAC address prefix.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15193 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-15 23:12:19 +00:00
phamt bb1f68f440 Fix MAC address prefix.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15191 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-15 22:52:59 +00:00
phamt b4ad09c0ce Fix dependency issue with z/VM build.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15188 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-15 19:52:50 +00:00
phamt 3535bd753d Updated rmigrate man page for z/VM.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-15 18:15:01 +00:00
phamt b6e467acff Fixed inventory tab.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-15 17:21:45 +00:00
phamt a838da18d7 Synched up with code in 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15183 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-14 20:42:32 +00:00
jbjohnso 40dc51dd1b No longer allow weaker connections, rdesktop may lack but xfreerdp is viable and users should use it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15181 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-14 19:48:04 +00:00
jbjohnso 8bc4dd7476 Have xCAT WS support credentials via header rather than uri
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15180 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-14 19:19:19 +00:00
brianfinley 04268e1f5d - Added slash in front of "var" in the NICSTOBRINGUP dhclient section.
Bug reported by Jeff Lang <jrlang@uwyo.edu>.  Thanks, Jeff!



git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15178 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-14 17:09:29 +00:00
lissav f942046a68 xcatconfig -m add mn to the servicenode table defect 3308
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15174 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-14 15:07:21 +00:00
lissav 24003e0910 fix messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-14 15:04:14 +00:00
phamt 1e2c70f859 Synched up with code in 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15172 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-14 05:28:55 +00:00
willn256 1f69def767 Commit new kit plugin samples
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15168 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-13 19:44:39 +00:00
mellor a60ce4d483 HPC kits - change license string to ILAN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15164 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-13 16:34:25 +00:00
lissav 4b7181dfee add comments about not case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-13 12:03:45 +00:00
phamt f9f370cd5f Synched up with code in 2.8 branch.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15161 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 22:59:26 +00:00
lissav 8b1334a3d6 improve helps
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 19:39:20 +00:00
lissav 23f7cd6d36 fix man page with new path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15157 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 19:21:27 +00:00
lissav 3f986ecf29 remove old scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 18:57:08 +00:00
lissav 2a55eb6ee5 remove old roadrunner script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15155 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 18:52:59 +00:00
lissav 6f0b9a6eec remove old roadrunner script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 18:52:06 +00:00
lissav 0835970d7f add /opt/xcat/share/xcat/samples dir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15153 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 18:50:53 +00:00
lissav d2e361331a moved to samples directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15152 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 18:47:41 +00:00
lissav 52db6d0e9a moved to samples directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15151 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 18:47:04 +00:00
lissav 204d1a8df5 move db2 SQL script to scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15150 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 18:45:49 +00:00
lissav cad9eca293 remove csm migration tools, if need get from 2.6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15149 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 18:42:50 +00:00
lissav 612b2d8098 remove db2 scripts, now in scripts directory not tools
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15148 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 18:40:47 +00:00
lissav efed7f2b66 move db2 routines from tools directory to scripts directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 18:39:21 +00:00
lissav 5f6ccbff86 change db2sqlsetup to look for files in /opt/xcat/share/xcat/scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15146 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 18:33:29 +00:00
lissav 12bf36dfc0 Fix xcatdsklspost to xcataixpost interface, allow parameters on updatenode -P for AIX defect 3362
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15145 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 15:53:36 +00:00
jbjohnso ab2cfba24a Fix missing mandatory columns in storage table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-11 22:30:39 +00:00
jbjohnso c4dc675a87 storage table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-11 22:30:32 +00:00
mellor fde574046e pperte kits - use wildcards for partial kits
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-11 22:19:23 +00:00
lissav 8fbae2dfa7 fix bug 3365
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-11 19:08:25 +00:00
phamt 48872e61fd Synched up with 2.8 branch code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-11 16:24:06 +00:00
phamt a215989fb3 Updated trunk with code from 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15133 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-11 00:27:58 +00:00
xq2005 11c5f32f0e do not create the source.list file for sourceforge reason
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15131 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-10 07:52:48 +00:00
xq2005 15616a151e create repo on ubuntu and upload to the sourceforge
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15129 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-09 06:12:35 +00:00
phamt fa783ea9b7 Synch up code that was fixed in 2.8 to trunk.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15128 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-09 05:24:21 +00:00
jbjohnso 8066ec5c07 Fix mistake in the win2k8r2 template
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 20:52:44 +00:00
jbjohnso e665d1dad8 Fix windows.pm to be drive letter agnostic in installs
Fix fixupunattend.vbs to not echo

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 20:11:15 +00:00
jbjohnso 318d33b9b1 Fix Template to add a missing \r to windows templates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 19:10:59 +00:00
xq2005 eda83f4580 build xcat-genesis-base-amd64 on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15115 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 15:15:59 +00:00
xq2005 23625b7a48 change xcat package denpency on xcat-genesis-scripts on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15114 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 07:34:18 +00:00
xq2005 af9c8731ee build xcat-genesis-scripts-amd64 on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15113 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 07:31:33 +00:00
xq2005 ae99ef1a30 build xcat-genesis-base package on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15112 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 06:01:28 +00:00
xq2005 5b29162989 build xcat-genesis-script on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15110 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 05:48:50 +00:00
brianfinley a6eea2c977 - Added slash in front of "var" in the NICSTOBRINGUP dhclient section.
Bug reported by Jeff Lang <jrlang@uwyo.edu>.  Thanks, Jeff!



git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15109 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 05:43:18 +00:00
leiaibj 9c69cb198a Fix a bug for hostname valiation pattern
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 01:56:46 +00:00
jbjohnso 8efa7cdd67 Add windows to fsm build variant
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 22:26:23 +00:00
jbjohnso f6c999796f Fix various 'strict' issues in windows.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 21:32:19 +00:00
jbjohnso 3f6d09e554 Fix mistake in variable name in windows.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 21:32:12 +00:00
jbjohnso 615363b332 Give vncviewer an extended period of time to get around to reading the password file before cleaning it up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15100 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 20:55:08 +00:00
jbjohnso c2238857f4 Make the Windows templates consistently leverage the AD/Local/DisableAdmin behavior
Eliminate the 'UEFI' only templates, have a single template get modified at runtime via a vbscript

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15099 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 20:54:55 +00:00
jbjohnso 602854999a Add a script to sub in different mount letters and UEFI/plain partition plans into a unified windows template scheme
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 19:25:01 +00:00
lissav 72f1715eb0 add fanout
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15096 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 13:19:45 +00:00
lissav 2af0eff7ed add -E hierarchy and --fanout support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15095 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 12:45:04 +00:00
lissav 4a241ef34e add -E hierarchy and --fanout support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15094 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 12:44:15 +00:00
lissav 8c58adf552 add -E hierarchy and doc --fanout
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15093 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 12:41:46 +00:00
xq2005 6baabbe7bc for kdump bug on non-p7 ih power server, bug number 2898
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15083 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 03:33:17 +00:00
bp-sawyers 4c5f1d54d6 trunk is now 2.9
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15082 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 21:15:35 +00:00
lissav 10f3c7dbad fix defect 3362, a portion
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 19:46:29 +00:00
lissav 95e41a79f4 fix defect 3362, a portion
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15079 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 19:44:34 +00:00
linggao 1ff3a1b106 finally fixed defect 3357
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 19:26:29 +00:00
jbjohnso 31b23bb7e6 Remove extraneous data from 2012 template, no urgency to suggest a rebuild of 2.8 yet just for this
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15077 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 16:21:07 +00:00
wanghuaz 30d43bd380 Backup the kit source files, don't need to rebuild xcat.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 16:02:45 +00:00
wanghuaz 5d124952e2 Backup the kit source files, don't need to rebuild xcat.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15075 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 15:52:59 +00:00
phamt 8707039812 Fixed man page for rinv. Fixed SSI query.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15074 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 04:20:13 +00:00
phamt 27474cd70b Fixed smcli call name.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15073 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 02:59:52 +00:00
phamt 74ce98b7ef Updated description of monitoring tools.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 00:43:21 +00:00
phamt 8444a7435b Fixed man pages for z/VM.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15071 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 00:04:19 +00:00
mellor 24f864f17f buildkit - add support for kittarfilename attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15070 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 21:46:01 +00:00
bp-sawyers ddb9cb40b4 fixed genesis base build for mcp subset
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15069 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 21:03:12 +00:00
linggao e55012dac7 parcially fixed defect 3357
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15068 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 20:58:46 +00:00
jbjohnso 2bd19274ac Fix problem where missing prodkey table would induce failure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 18:52:41 +00:00
jbjohnso f281378f89 Fix problem where windows plugin did not honor tftpdir in site
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15066 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 18:41:50 +00:00
linggao ed299052be fixed defect 3360
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15065 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 18:34:12 +00:00
phamt 727de3ad74 Updated man pages for z/VM.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15064 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 18:05:43 +00:00
phamt a28999ba55 Allow multiple WWPNs to be specified in zFCP pool.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 16:02:21 +00:00
phamt 23b37343b2 Updated xCAT-UI with new functionality for z/VM.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15061 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 15:43:57 +00:00
jbjohnso 6f8f0eac9e Have screenlog.0 be created by default
Change bmcsetup to not blindly give up on lan channel 16

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 14:55:59 +00:00
xq2005 5cd7d72d51 run postscripts on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15059 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 13:02:26 +00:00
jjhua 464bb52690 fixed bug 3354, for the new mellanox ofed iso MLNX_OFED_LINUX-1.5.3-4.0.22.3-rhel6.3-ppc64.iso
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15058 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 11:24:12 +00:00
jjhua f496b3a795 fixed bug 3350, for the new mellanox ofied iso MLNX_OFED_LINUX-1.5.3-4.0.22.3-sles11sp2-x86_64.iso
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 11:22:28 +00:00
wanghuaz 1ff6be92c3 Fixing bug 3356: handle the input string from kit kit.conf/kitcomponent exlist/postbootscritps/.. files more strictly. 2. Fixing bug 3347 in kit migration, removing the original kitcommponents instead of the adding kitcomponent
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15056 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 09:49:33 +00:00
amy0701 3712a03eb0 support nfsv4 for testcase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15055 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 09:08:39 +00:00
amy0701 2cc0280af4 update testcase output check for nimnodeset
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15054 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 08:55:44 +00:00
jjhua bf06d6b90a fixed bug 3358. set retry=0 every download
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15051 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 03:21:22 +00:00
phamt 441e292e08 Allow multiple WWPNs to be specified.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15050 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 02:03:53 +00:00
phamt 0866e19b67 Fixed sudo bug when echoing to device file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15049 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 00:24:04 +00:00
phamt 57d12a4e47 Fixed fcpdevices query bug. Added FCP channel range column into FCP pool.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15048 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-04 22:31:40 +00:00
mellor b1173a0b28 defect 3359 buildkit addpkg prints wrong filename in error msg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15047 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-04 21:42:24 +00:00
lissav 852b07a725 code calls download_mypostscript routine with wrong input order
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15046 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-04 20:18:59 +00:00
jbjohnso 0d8d4241fb Fix non-DOS line terminators in windows template data fill in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15045 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-04 18:22:12 +00:00
phamt 4eb453bfde Added new functionality into z/VM plugin, i.e. migrate, zFCP support enhancements, managing storage and network devices, no-root login support, improved security, etc.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15044 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-03 02:16:05 +00:00
phamt 7032e938f0 Added script to create sudoer on nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15042 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-03 00:02:57 +00:00
jbjohnso f060cd13cf Have kvm tolerate trailing / on vm.storage dir:// urls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 21:31:08 +00:00
jbjohnso 3f87212616 Support SAS and PV SCSI for vmware guests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 21:02:29 +00:00
jbjohnso f3e44ca4e6 Fix Windows template driver path to be consistent with suggested driver layout. This is a backwards compatible change.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15038 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 20:23:25 +00:00
jbjohnso 885277c218 Fix characterization of hyper-v
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 19:11:46 +00:00
jbjohnso 91d1302622 Fix problem where Hyper-V was mis-characterized as 'Linux'
Have osdistro table recall the OS version number of Windows operating systems.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15036 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 18:45:36 +00:00
jbjohnso 6628d91671 Support generic recognition of RHEL6.x media
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15035 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 15:25:59 +00:00
lissav 8435630bd0 document runimage and also add the deprecation of the install,netboot,statelite attributes. Change example.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15034 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 12:43:36 +00:00
wanghuaz f23d37e410 Fixing bug 3339: check if the kitomponent is existing before adidng it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 09:43:17 +00:00
ligc 8c8319ca05 fix for bug 3345: RHEL 5.8 diskless could not boot blacktip nodes, because of the missing be2net driver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 09:03:13 +00:00
xq2005 a1b47e3ed1 support postscripts return status on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 08:17:57 +00:00
daniceexi 80b9c0f06d Update the description of linuximage.partitioinfile for localdisk support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 07:06:23 +00:00
xq2005 23a6061209 update-grub can configure the console automaticlly on ubuntu/debian, the serialspeed is not a require attribute now, bug 3336
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15029 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 06:56:01 +00:00
billwajda 908a792a16 fixed configeth to correctly create ip alias on aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 04:25:18 +00:00
jbjohnso 438595e0aa Fix problem where SLES11 cannot wvid to modern IMMs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-31 16:28:29 +00:00
lissav 59e601e839 document the site table dhcplease attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15026 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-31 15:18:10 +00:00
billwajda 07c4a8419b fixed configeth to correctly create ip alias on SUSE/SLES
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15025 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-31 15:17:09 +00:00
leiaibj d0d63a6d97 bug fixing: 1. nodechprofile can not update imageprofile and network profile; 2. noderegenips should call make* commands to remove node related records first and then add them back again, which there are some changes in table nics
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15024 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-31 07:58:08 +00:00
daniceexi 32e11e9d60 defect 3341: Add notes in the man page for how to use softoff and suspend function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15023 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-31 06:31:30 +00:00
jbjohnso 625bbecc44 On rmvm, do not destroy CDs
On storage block device creation, disable cache for new disks but enable cache for non-detached qcow2 for read cache benefit at the host layer

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 19:37:33 +00:00
jbjohnso ef9100c56e Correct problem where /// regexes corrupt other substitutions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15021 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 16:33:02 +00:00
jbjohnso ea6d9f7081 Have KVM storage support default to cache=none for now
Fix lvm to use raw rather than qcow2, since qcow2 makes no sense for LVM

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15019 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 16:09:18 +00:00
jbjohnso 4807663ce6 Have KVM support LVM volumes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15018 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 16:02:09 +00:00
billwajda 1ca37edf75 fixed pattern match problem in confignics
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15017 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 11:58:48 +00:00
wanghuaz 6166ceba50 Fixing a typo which makes the postinstall script always be overwritten by new kitcomponent
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15016 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 06:23:32 +00:00
jbjohnso 50ca1f5737 Have IPMI tolerate incorrect rqaddr field to communicate with buggy BMCs that don't comply to the spec
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-29 21:23:38 +00:00
jbjohnso e3952df651 Have SLP accept unicast fragmented UDP packets to get more data
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-29 19:55:24 +00:00
jbjohnso 60089fd7c2 Add Guest ID map for Windows 2012, 8, and ESXi itself for vmware support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-29 14:57:26 +00:00
mellor 4ee58f5941 defect 3334 - add kitlicense support to buildkit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15008 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-29 13:42:45 +00:00
daniceexi 9a9b28a9f3 defect 3333: use th signal 12 (USR2) to stop the install monitor process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15007 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-29 02:03:28 +00:00
bp-sawyers 281319225b added script to to genesis-builder to determine the rpms we included from mcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15006 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-28 22:02:44 +00:00
jbjohnso 3c92465b9d Fix problem where profilednodes would 'BUG' the discovery process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15005 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-28 21:38:13 +00:00
bp-sawyers b52aac1cb6 updates to xCAT-genesis-builder to build a version based on mcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15004 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-28 19:06:56 +00:00
jbjohnso 1886fa3c54 Have Template get a new directive: MANAGEDADDRESSMODE for use in certain appliance applications
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15003 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-28 18:58:00 +00:00
asirxing 125dcfa5bb Filter out the package group(start with @) in pkglist.cfm file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15002 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-28 06:56:36 +00:00
ligc 85e782d793 fix for bug 3158: add several examples in makeconservercf manpage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15001 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-28 03:12:46 +00:00
jbjohnso 2041f44014 Fix issues around prejoin=0, allow for multi domain support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15000 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 21:04:12 +00:00
jbjohnso 3496d08373 Add support for xcatd to recognize and unpack gzip compressed payloads
Put back in extended NIC information, but compress it

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14999 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 14:37:17 +00:00
xq2005 d0652c1e3a build genisis initrd on ubuntu/debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14998 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 14:31:03 +00:00
jbjohnso d6845031fb Disable new nic element to avoid packet fragmentation, will revisit how to do this later
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14997 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 13:43:31 +00:00
xq2005 63fe632581 create repo on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14996 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 13:25:26 +00:00
leiaibj b327574f26 1. support minus network incremental value. 2. resolve can not discover nodes issue. 3. create new command noderegenips: for supporting reconfigure nic ips without reinstall
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 08:55:14 +00:00
creativezj 0dd3b29d1f modify chain table while provision node with BMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14993 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 08:20:15 +00:00
jjhua e4b2d44ac6 fixed bug 3322
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14992 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 07:40:18 +00:00
jjhua d9c27df593 fixed bug 3322
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14991 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 07:38:59 +00:00
jjhua 157b6b6fdd fixed bug 3309. export the empty varialbe
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14989 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 02:07:20 +00:00
jbjohnso d478707749 Fix templates not using WINACCOUNTDATA inadvertently disabling local admin access
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14988 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 20:09:19 +00:00
jbjohnso bc33e681e0 Fix incorrect partition id in the Win2012 Datacenter template
Correct the disable local admin XML from Template.pm

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 19:10:40 +00:00
bp-sawyers 83d5fe80bc updated pasu to get the ipmi attribs from the db
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14985 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 16:46:15 +00:00
nott 51ffba43f5 nicaliases not yet implemented
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14984 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 15:40:27 +00:00
nott a40c9c08ed add support for | in nics table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14983 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 14:54:25 +00:00
lissav cb75f60dd3 Change displaying the error message when running updatenode -Psysfiles to logging it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14982 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 13:06:06 +00:00
lissav b5ad559476 add in the missing GROUP export
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 12:09:37 +00:00
wanghuaz a881b225f2 Added new serverroles as dicussed.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 10:29:19 +00:00
wanghuaz 526e1fb67d Now kitcomponent and osimage could specify multiple serverroles, addkitcomp and chkkitcomp will match their every serverrole
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14978 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 10:00:25 +00:00
wanghuaz 8205915a66 Update kit examples to disable checksum and restart on system x.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14977 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 07:47:03 +00:00
ligc 29d5191d91 fix for bug 3320: perl syntax problem in configeth
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 07:29:35 +00:00
xq2005 93a23bc8d2 enable ip forwarding on debian/ubuntu when running xcatconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14973 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 05:14:34 +00:00
wanghuaz bb9d1f8cf1 Use shorter serverrole names from now on
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 01:25:33 +00:00
jjhua 278064041c after discussion of bug 3309, not put the empty variable in the mypostscript file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 01:13:22 +00:00
linggao 150207c0d5 bug fix for configib
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14970 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 22:14:26 +00:00
bp-sawyers 001c60917c Added new pasu (parallel ASU) cmd and man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14969 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 22:03:17 +00:00
jbjohnso 698e5b21c5 Fix issues with startnet.cmd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14968 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 19:56:37 +00:00
mellor 09696bead2 updated list of kitcomponent serverroles in comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14967 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 18:55:20 +00:00
linggao ba48f4a0d8 Make routes persistent for sles/rh/ferdora/centos for makerouts command.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14966 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 18:36:42 +00:00
jbjohnso 6849011953 Fixes for genimage.cmd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 15:25:01 +00:00
jbjohnso 9a76937088 Add keyEncipherment to keyUsage since Java expects it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14964 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 15:02:32 +00:00
jbjohnso b042a85a69 Hooks for startnet.cmd to recognize and accept optical drive provided script update as appropriate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14963 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 14:58:30 +00:00
lissav ebd7eb2d1f move comment before first example
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14962 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 11:59:30 +00:00
jjhua c8c64a5afe fixed bug 3309, export the empty varialbe
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14960 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 08:17:01 +00:00
ligc 5745d823ae update some typos in passwd.cryptmethod description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14959 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 08:14:48 +00:00
ligc d8896b1df8 provide a way to disable the warning message when run nodeset install/netboot/statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14958 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 08:00:24 +00:00
ligc ff2affd551 provide a way to disable the warning message when run nodeset install/netboot/statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 07:52:19 +00:00
leiaibj 37f35f731a update man-pages for profiled nodes releated commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14956 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 07:20:41 +00:00
jjhua a32033c27c fixed bug 3309, remove the NICCOMMENTS
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14955 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 07:16:37 +00:00
jjhua 8ec0fc9c97 fixed bug 3309, remove the comments line which begins with ##
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14954 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 07:14:53 +00:00
jbjohnso 1225448e75 Restory 'legacy' mac tag for backwards compat if needed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14953 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 21:19:11 +00:00
jbjohnso f3fffcefed Correct typo in XML for discovery
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14952 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 21:18:57 +00:00
lissav fb3c8248b5 improvements to the template file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14951 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 20:13:03 +00:00
nott 1cc7ab18cd add multi-domain info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14950 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 19:53:56 +00:00
billwajda 825f8d742b updates for confignics to support configib
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14949 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 19:03:07 +00:00
wanghuaz 0eccaea186 Fixing bug 3296: cleanup a variable that used in a loop to remove the duplicated packagenames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14948 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 16:48:48 +00:00
mellor 8fc0cd9202 defect 3297: buildkit buildrepo on sles needs Group in spec file; also, fixed xCAT-buildkit spec file to install correctly on both SLES and RH (rpmbuild command is in different pkgs)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14947 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 15:35:43 +00:00
nott 61eb8c2907 add multi-domain and nics info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14945 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 14:22:59 +00:00
linggao 181f5a05b6 more fix for configib
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14944 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 13:25:57 +00:00
bp-sawyers 11dd240272 make sure /etc/xcat exists before xCAT-genesis-scripts tries to touch a file there
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14943 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 12:24:50 +00:00
jjhua 5a88a5cea2 fixed bug 3300
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14942 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 08:31:51 +00:00
jjhua 953f01b3f8 fixed bug 3300
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14941 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 08:30:27 +00:00
wanghuaz 3c8ad92ef8 Fixing a typo in comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14940 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 02:35:10 +00:00
creativezj ca303919a3 fix #211459 wrong message while import node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14939 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 01:56:13 +00:00
wanghuaz c0f35a2de4 Updated ppe kit template for other teams's reference
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14938 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 01:10:42 +00:00
wanghuaz ddcb538720 hpc integration is replacing by kit. so the duplicated setting in xcat-server such as /etc/fstab generation should be enabled after hpc integration is used.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14937 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 00:37:38 +00:00
wanghuaz e19bdb1181 hpc integration is replacing by kit. so the duplicated setting in xcat-server should be enabled after hpc integration is used.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14936 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 00:36:15 +00:00
wanghuaz 35d771323e Copy the exlist from IBMhpc to xCAT-server to be the default exlist.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14935 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 00:21:15 +00:00
linggao 3bb94e2487 made configib ready for config one nic at a time.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-21 20:48:04 +00:00
wanghuaz 78cf402b58 A small followup to last week's check in for external non_native_pkgs support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14933 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-21 20:05:22 +00:00
nott 3f4bb3a0ae add note about search field of resolv.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14932 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-21 19:22:38 +00:00
jbjohnso 14ffb71f0e Have Windows domain allow the less secure 'securejoin' if indicated in site (can be rendered secure in *very* specific circumstances).
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14931 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-21 14:34:37 +00:00
bp-sawyers beda697525 fix pcm embed build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-21 12:38:10 +00:00
xq2005 68006a767d build debian dependency packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14928 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-20 08:38:40 +00:00
xq2005 9c6f08c75e build debian dependency packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14927 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-20 08:34:54 +00:00
xq2005 7ec3a97bdc modify the dracut install file for debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14926 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-19 03:56:34 +00:00
bp-sawyers 3cf4f8f448 Fixed error msg when getpostscript.pm can match node name, to show original name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14924 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 22:22:33 +00:00
linggao 171017442d more on configib
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14923 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 21:25:08 +00:00
linggao 672fd91279 added configib postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14922 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 18:06:10 +00:00
bp-sawyers 27a7ca0556 Fix bugs 3284 and 3285 - xCAT-genesis-scripts-x86_64 trying to run mknb when xcatd is not ready
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 17:26:23 +00:00
nott 50890c8a4a add multi-domain support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14920 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 15:22:04 +00:00
jbjohnso 9c023486d9 Fix some mistakes in the SSL certificate tweaks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 14:31:13 +00:00
wanghuaz 48b64fc79a Did two things: 1. renmae the rpm spec and source directory to kitcomponent, which is more readable. 2. clean up the tmp and rpmbuild directory in the final kit directry.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14918 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 12:04:35 +00:00
wanghuaz 2cb196c6bf Fixing two problems: one is buildkit fails on SLES. we need to create several tmp directories before issuing rpmbuild command for rpmbuild command on SLES. second problem is a typo while creating the source packages.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 08:59:49 +00:00
asirxing 4ea1e8d0e6 Support #INCLUDE tag in pkglist.cfm file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 08:13:08 +00:00
jjhua 8d6ca24d40 fixed bug 3288. when xdsh with -e and -E, the environment file should be copied to the target-node firstly through fork_no_output()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14915 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 03:37:00 +00:00
jbjohnso 00710fc339 Correct previous attempt to conditionally populate scriptcontents. Moving the scope inside the conditional obliterated it from outside
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14914 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 21:43:27 +00:00
jbjohnso 05796434a8 Have xcatd not print warnings in the event of non-resolvable cirumstance
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14913 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 21:43:09 +00:00
wanghuaz 445211b036 Enhanced non_native_package support. previously non_native_package don't support external packages, so it doesn't work with incomplete kit build. Now user could specify a hardcode 'EXTERNALPKGS:' in non_native_package attribute. for example, in buildkit.conf, you can write like non_native_pkgs=EXTENRALPKGS:gpfs_base-xxxxxxx.update.ppc64.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14912 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 17:09:31 +00:00
jjhua a60b0c597d fixed bug 3291. in Linux, if the precreatemypostscripts is not set or set to 0 in site table, it will get the mypostscript.nodename fistly. If not get it, use getpostscript.awk version2 to generate the mypostscript file named mypostscript.nodename.tmp, then get it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 09:31:00 +00:00
jjhua 9b7b07a6ee fxied bug 3291 in AIX env. There is not precreatemypostscripts=1 in site table for AIX. So get the mypostscript.nodename.tmp directly.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14910 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 09:23:39 +00:00
jjhua 24a5be82a2 fixd bug 3291, when run getpostscript.awk version2, create mypostscripts.nodename.tmp and get the mypostscripts.nodename.tmp later insteadf of mypostscripts.nodename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14909 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 09:20:12 +00:00
jjhua a013a88e0e fixd bug 3291, when run getpostscript.awk version2, create mypostscripts.nodename.tmp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 09:15:27 +00:00
jjhua fb41dc3b81 I removed one comment which could cause errors in AIX environment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14907 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 08:42:53 +00:00
leiaibj 9d454c2d1b fix a bug caused by hostname validation rule
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 06:40:33 +00:00
wanghuaz 2a12e49888 Support wildcards in package names in buildkit.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14905 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 03:34:26 +00:00
xq2005 f4a553d085 debian default run level is 2, add catd to init.d
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14904 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 03:10:34 +00:00
jbjohnso 496393222f Fix more instances of namespace for JSON functions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14903 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 21:02:09 +00:00
jbjohnso 499cc45999 Fix problem in debian plugin indicated an incorrect url for unattended install file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14902 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 20:01:16 +00:00
jbjohnso b94a591227 Fix sles to deal with alt $installroot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14901 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 18:44:54 +00:00
jbjohnso 9fe02e2e3a Replace $installroot with $install in a couple of URL specifications
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 18:29:44 +00:00
wanghuaz 5c077303c7 Fixing a problem in buildkit to allow multiple genimage_postinstall scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 16:36:29 +00:00
wanghuaz a665a4ebc3 handle multiple postinstall script in linuximage table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 16:27:44 +00:00
wanghuaz 86c315575f Added genimage_postinstall attribute in kitcomponent table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 16:13:45 +00:00
wanghuaz b9c16c57c6 Added genimage_postinstall attribute in addkitcomp/rmkitcomp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 16:04:46 +00:00
lissav fac10e8032 fix defect 3290
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14895 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 11:45:09 +00:00
immarvin 4b2677b87e replace "XCATBYPASS=Y xdsh..." with "InstUtils->xcmd()"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14894 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 08:22:01 +00:00
jbjohnso 8fc33eaeea Enhanced inventory collection of ethernet devices
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 20:00:44 +00:00
daniceexi d0a97ba739 defect 3287:avoid to running gettyset for rh6 and higher
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14892 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 13:57:23 +00:00
sjing b3fb23c724 fix for bug 3144 - error message is not explicit for xcat2nim -t group.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 13:34:01 +00:00
daniceexi fcd6182b3d defect 3287:avoid to running gettyset for sles11 and higher
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 13:11:41 +00:00
leiaibj 3fd2310ec6 1. resolve #3283: a typo issue. 2. drop uselessness method isReservedIP. 3. do not validate IP address whlie creating an unmanaged device. 4. Correct some messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 08:20:19 +00:00
sjing 530adb3db1 fix for bug 2832
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14886 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:46:41 +00:00
sjing bc9575a42e fix for bug 2832
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:43:25 +00:00
sjing 23bf0b0c9c fix for bug 2832
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:32:16 +00:00
sjing c04a6f979e fix for bug 2832
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:27:31 +00:00
sjing 515baf29e7 fix for bug 2832
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:11:21 +00:00
leiaibj c01a6918f7 add support for new nics table delimiter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:04:22 +00:00
leiaibj f176866943 If no nodes specified for nodepurge, nodechprofile and noderefresh, then just print help message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 05:47:34 +00:00
jjhua 485bf6c6b1 use -a as a logical and between two expression; use cron as a Should-start for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 05:16:47 +00:00
creativezj a7b54d89d5 update error messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 01:56:16 +00:00
jbjohnso f740315ef2 Have keyUsage and extendedkeyusage set for user/server certficates as is befitting each role
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14876 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 16:40:51 +00:00
jbjohnso 92508cf564 Tweak SSL setup scripts to have a CA more convenient for server and client scripts
Sign server, ca, and client certificate with more unique attributes delineating roles

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14875 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 16:40:39 +00:00
ligc 0e92da0f5f for encrypted system password in passwd table, the SHA256 and SHA512 encrypted passwords could be automatically recongnized
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14874 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 14:56:44 +00:00
daniceexi 709fc270ae defect 3282: use the /var/run/xcatd.pid to store the main pid of xcat if no pidfile is specified with -p flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14873 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 13:12:02 +00:00
jjhua 7a62794c0f make postbootscripts work on sles11 diskfull installation,and allow the admin to specify RUNBOOTSCRIPTS=yes which will trigger the post boot scripts on a reboot of disk full nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 07:48:09 +00:00
ligc 9aa954458f comment out the hardeths, problematic in several scenarios, hard to debug, MN ip should be configured manually or through DHCP
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14871 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 07:22:47 +00:00
daniceexi 8846c95bea make the centos to support dracut
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14869 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 06:58:00 +00:00
nott 238d650327 add multi-domain support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-12 20:03:37 +00:00
jbjohnso 133551dd07 Some fixes for WS PUT operations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14867 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 21:21:05 +00:00
jbjohnso 5ecab2d703 Repair JSON in web service (to_json is not imported to namespace on 'require', could do import, but just doing JSON:: to be clearer
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 20:52:46 +00:00
jbjohnso 602015f5c4 Ccheck in forgotten remoteimmsetup.pm from my repository
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14865 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 17:54:21 +00:00
nott be68d223df change nics delimiter and add nicaliases
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14864 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 16:19:23 +00:00
lissav d9cb714aed add info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14863 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 13:10:41 +00:00
jjhua 87bb1c28ad correct the syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 11:44:47 +00:00
jjhua 937a403872 use chkconfig xcatpostinit1 on to make sure xcatpostinit1 could be started when booting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14861 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 11:34:31 +00:00
wanghuaz df090f8a4a For kit component external packages, the external packages names are always changed, for example, there might be different versions. in buildkit.conf, external packages should be set with certain names, and buildkit command should not require certain package names. they could work with basename only.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14860 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 11:06:15 +00:00
jjhua 92931c7bb9 fixe bug 3280
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 11:02:25 +00:00
xq2005 34e2ce1daf create partition file base on the uefi and bios boot mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14858 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 09:07:23 +00:00
xq2005 8d6aa83db2 create partition file base on the uefi and bios boot mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14857 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 09:05:10 +00:00
nott 500862ae57 add support for new nics table delimiter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14856 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 20:40:43 +00:00
jbjohnso b5e5c2a84b First pass at automating the behavior of disabling/enabling local admin account.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14855 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 20:30:44 +00:00
jbjohnso 80b9ada6a6 Make use of new WINADJOIN Template directive to simplify number of windows templates moving forward
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14854 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 20:30:20 +00:00
nott f1ac1431d6 add support for new nics table delimiter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 20:23:12 +00:00
nott 1acc33adc1 add support for new nics table delimiter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14852 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 20:04:21 +00:00
jbjohnso c0cd7d0e58 Have Template detect and fill in the entire unattendedjoin object if template requests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14851 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 19:50:43 +00:00
jbjohnso cb1d2d58da Fix FSM variant of xCAT-server
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14850 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 18:53:01 +00:00
bp-sawyers ef544a9133 Fixed xCAT-genesis-scripts rpm to run mknb even if not upgrade, as long as mknb exists
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14849 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 18:52:34 +00:00
lissav 18e5d75599 remove unused updatenodeupdatestat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14848 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 16:05:38 +00:00
jbjohnso 3c6b79ad43 Remove factor and fix libgcc name in 'old' genesis.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14846 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 14:01:56 +00:00
daniceexi c2f4d4440a Change to make the nodeset osimage=<osimage name> command to copy the install/netboot resources to /tftpboot/xcat/osimage/<osimage name>/ instead of /tftpboot/xcat/(netboot)/<os>/<arch>/<profile>/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14845 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 13:56:49 +00:00
lissav 61c04b35e1 -l -S options not supported on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14844 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 13:18:27 +00:00
lissav aa2e508471 more information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14843 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 11:43:54 +00:00
wanghuaz ed0087a969 Fixing two problems: 1. create tmp rpm spec file to different kit repo and kit component basename. Previously the tmp spec file is named with kitcomponent basename. if there are two kitcomponents in two kitrepo with same basename, the tmp rpm spec file will be overwrite. 2. the kitpkgdeps version information should be removed while writing to kit conf and later writing to xCAT DB, since kitpkgdeps is only used while they are being removed, we dont need the version info. So we don't need to keep the version info which make the kitcomponent table quite big and not easy to read.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 08:07:06 +00:00
xq2005 01815332da post part in preseed file on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14841 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 06:25:13 +00:00
bp-sawyers 6e014cc6df added xCAT-genesis-scripts to xcat-core build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14840 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 22:48:54 +00:00
mellor c0fd4b06ad add buildkit support for non-native pkgs, genimage_postinstall, remove Version
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14839 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 22:28:39 +00:00
jbjohnso 6373e0d948 Assume Locked user slots for SuperMicro systems as suggested by Michael Robbert on xcat-user list on January 9, 2013
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 21:31:54 +00:00
jbjohnso 1273510cad Have FSM and ZVM variant strip out the remoteimmsetup aspect of xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 21:28:11 +00:00
billwajda 3176fb6a27 check for either ! or : for delimeter in confignics and configeth
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 20:25:08 +00:00
lissav a016b5efbf fix man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 19:30:36 +00:00
billwajda 35755455ce changed check for delimeter in confignics
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14834 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 18:55:19 +00:00
billwajda f2499a17f4 changed check for delimeter in configeth
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14833 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 18:49:02 +00:00
lissav b52a7f7ee5 add support for non-root user running updatenode -S
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14832 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 18:39:30 +00:00
lissav d8c00c75fe add sudo support in xdsh and updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14831 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 18:29:41 +00:00
lissav 65f6a2b11f add sudo support in xdsh and updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14830 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 18:18:56 +00:00
lissav 1c9b9ff780 add sudo support in xdsh and updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 18:17:24 +00:00
lissav 87b66d84bf add sudo support in xdsh and updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14828 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 18:15:27 +00:00
billwajda 5d4b6eb549 updated configeth for nic ip alias
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14827 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 16:24:11 +00:00
wanghuaz 06df5f5696 Moved kit build source files to buildkit rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 15:46:43 +00:00
jbjohnso 75a399eaf1 Fix problem where lsslp --flexdiscover was not working
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14825 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 15:37:30 +00:00
wanghuaz d584dd6c12 Move the kit source files to buildkit rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 15:33:54 +00:00
billwajda c6ad835051 included quotes around NIC related env vars
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14823 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 15:22:31 +00:00
lissav b175154c9c consolidate more code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 12:58:43 +00:00
lissav 8f6be31d21 add sudo interface to xdsh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14821 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 12:37:51 +00:00
lissav 00b6eb9511 add sudo interface to xdsh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14820 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 12:09:38 +00:00
lissav 71729edf06 add sudo insterface to xdsh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14819 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 11:56:18 +00:00
lissav 6cfdf0bc0b add sudo insterface to xdsh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14818 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 11:54:58 +00:00
lissav 32c5e43429 add sudo insterface to xdsh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 11:53:26 +00:00
wanghuaz cf124ac1e1 Kit source files for hpc stack
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 10:58:51 +00:00
leiaibj 7b75b8b766 update hostname validate rule: only 0-9 a-z and - are valid characters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 09:17:27 +00:00
xq2005 40eb1fe5ad build xcat packages on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14814 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 07:59:38 +00:00
xq2005 872ee19eea remoteshell on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 07:46:01 +00:00
xq2005 7acde1dad7 xcatconfig on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14812 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 05:55:43 +00:00
jbjohnso 054e6540c2 Fix BIOS style template to not use EFI partitioning
Bump EFI boot partition size to recommended for 'new format' drives.
Remove xCAT USER/xCAT from fields that seem no longer applicable

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 22:03:10 +00:00
jbjohnso 44224d12e9 Fix mistake in setupimmnic route management
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14810 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 22:03:01 +00:00
jbjohnso d8797beab0 Modify genimage.cmd to be more trivially configurable at top of script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14809 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 20:00:09 +00:00
jbjohnso 452fcb74f8 Fix win2012 deployment issues with productkey and such
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14808 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 19:24:10 +00:00
bp-sawyers 4c65281cec fixed pcm embed build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14807 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 17:40:34 +00:00
jbjohnso 2a73625a7c Add a utility function for Windows specific functions, for now, just a map for KMS key lookup since 2012/Windows 8 got particular about product keys even for KMS case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14806 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 15:48:38 +00:00
jbjohnso 454405d5ff Flesh out 2012 microsoft template suite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14805 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 15:34:44 +00:00
immarvin cb4dda8b3a fix some typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 13:08:33 +00:00
lissav ca17282978 check spelling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14802 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 12:08:11 +00:00
wanghuaz c2634b651b Update gpfs_mmsdrfs to use mmsdrrestore to restore gpfs config file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14801 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 11:22:31 +00:00
wanghuaz a56b04331e Fixing a bug while kit works with old osimages.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14800 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 10:34:38 +00:00
immarvin 95c6c2bc8a fix defect #3182, add return value for package update in "updatenode -S"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 09:14:19 +00:00
immarvin 6c98b466eb fix defect #3240, enable bundling of GetOptions to avoid ambiguity
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14798 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 08:30:21 +00:00
daniceexi 75ca53396d add the option check for litefile
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14796 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 06:32:46 +00:00
daniceexi 7da34b6fc2 Make sure the hostname has been set before configure the statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14794 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 06:25:22 +00:00
daniceexi e47dc2635d add the option check for litefile
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14793 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 05:31:08 +00:00
leiaibj c74580a8a1 enhance node info parsing mechanism: add more checks before import
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 04:47:39 +00:00
ligc 344b3ca89b for including powervm directory under share/xcat/tools, needs to use cp -r to copy the tools directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 02:48:30 +00:00
ligc 42861579b2 checkin for the powervm configuration sample scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 02:08:09 +00:00
jbjohnso dd365bf0a2 Fix xCAT-genesis (current gen) to survive recent UXSPI changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 19:53:48 +00:00
jbjohnso 2103d84119 Have setupimmnic script function more similarly to UXSPI behavior
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14788 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 19:50:28 +00:00
jbjohnso db2261cd02 Move IMM support from builder to scripts
Create a fake ifup to fixup IMM network during uxspi execution

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14787 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 19:50:18 +00:00
lissav 7adbe1de86 fix defect 2985
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14786 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 18:54:00 +00:00
lissav 0118c0e7d5 force new build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14785 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 17:57:01 +00:00
lissav 41f2dcfbc1 Do not add xCAT-rmc to instxcat anymore
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14784 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 17:31:41 +00:00
jbjohnso 209da68d62 Correct makerpm for xCAT-genesis-scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14783 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 15:29:09 +00:00
jbjohnso 6b17abdd19 Correct path to awk in genesis-scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14782 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 15:26:39 +00:00
jbjohnso 62536efef3 Add vfat for EFI boot partition debug/manipulation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14781 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 15:20:21 +00:00
wanghuaz fbcdaec090 add createrepo as a dependency of buildkit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14780 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 10:23:14 +00:00
wanghuaz 7a187a3418 Create symlinks if a package belongs to multiple kitrepo.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14779 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 10:04:35 +00:00
yinle ed1deb34f2 Fix bug 2654, waring message for "rnetboot -m -r" misses information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 09:11:13 +00:00
immarvin b2a99543f1 add -w|--nonoverwrite option, check whether the specific os media has already been copied in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14776 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 08:39:52 +00:00
wanghuaz bb01a14476 Change the postbootscript permission while copying them to deploy dir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14775 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 08:36:22 +00:00
xq2005 e50efd16db osver support on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14774 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 07:52:16 +00:00
xq2005 e1da3e4124 rsyslog support on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14773 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 07:35:23 +00:00
xq2005 eb83073e61 dhcp support on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14772 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 07:23:55 +00:00
xq2005 890d2b321e ddns support on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14771 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 07:22:27 +00:00
amy0701 c89c965bc2 fix defect 3274,update packimg testcase to backup rootimg and rootimg.gz
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 06:13:02 +00:00
wanghuaz 91ccada5d3 Fixed a problem that if preinstall/preupgrade/postinstall/postupgrade script is empty, the product rpm will fail during insalling.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14769 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 05:57:59 +00:00
wanghuaz 2d5991f5ee Fixed a problem that if preinstall/preupgrade/postinstall/postupgrade script is empty, the product rpm will fail during insalling.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 05:51:54 +00:00
xq2005 8fed4c6d85 tftp-hcp on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14767 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 03:26:25 +00:00
jjhua 7b794954a5 fixed the issue which couldn't generate the correct mirror path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14766 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 03:20:19 +00:00
immarvin ff728f92bf add <-w|--nonoverwrite> option to check whether the os disc has already been copied in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14765 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 03:10:00 +00:00
amy0701 50f71bf28d update testcase for packimg to backup rootimg.gz
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14764 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 03:00:11 +00:00
zhaoertao b0eefd4e7b fix bug 3273:xcat returns ipmi plugin bug if console opening failed for system x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14763 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 08:38:34 +00:00
jjhua bc1e7e26f6 modify some code to be compatible with the old diskless rootimg(s) before xCAT 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14762 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 05:40:48 +00:00
jjhua 30cd2dae59 to be compatible with the old diskless rootimg(s) before xCAT 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14761 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 05:36:47 +00:00
jjhua f6dd072207 to be compatible with the old diskless rootimg(s) before xCAT 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14760 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 05:30:55 +00:00
jjhua d454de2d09 add flag version2, to be compatible with the old diskless rootimg(s) before xCAT 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14759 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 05:27:22 +00:00
jjhua 6f3eab155b 1. to be compatible with the old diskless rootimg(s) before xCAT 2.8 ; 2 reorginize some code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14758 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 05:23:44 +00:00
xq2005 4e05af3f2b build xcat-genesis on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 03:31:09 +00:00
xq2005 29b77e066a build xcat-genesis on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14756 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 03:27:26 +00:00
asirxing 424b8b5378 Fix the regular expression issue for list_all_nodegroups function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14755 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 01:48:59 +00:00
jjhua 49060211d9 fixed bug 3272, and reorganize some code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14754 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-05 09:08:40 +00:00
ligc bb20b69a88 add warning message with nodeset <noderange> install/netboot/statelite for RHEL, CentOS, Fedora, SLES and Debian/Ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-05 07:39:45 +00:00
leiaibj 8a8a53f201 setup correct response xml: use array instead of plant string
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14752 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-05 07:04:02 +00:00
xq2005 7e76137b2b Ubuntu: makedhcp -n can't create new dhcp.conf file when there is not /etc/dhcp/dhcpd.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14751 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-05 02:50:27 +00:00
xq2005 13202bf4a7 build deb on ubuntu server
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-05 02:47:47 +00:00
jjhua 40ea023dec use single quotes instead of double quotation marks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-05 02:10:21 +00:00
billwajda 7b761ef342 update configeth to use networks table correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14748 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 21:55:30 +00:00
jbjohnso a20a8e2760 Various changes regarding Hyper-V 2012
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14747 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 21:03:47 +00:00
lissav bf7ca13515 fix xdsh -e so that it syncs all the service nodes in one xdcp request with the executable file instead of one at a time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14746 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 17:25:19 +00:00
jbjohnso bc9f4c9897 Add Windows 8 Enterprise templates
genimage.cmd failed to correctly place the custom scripts, put extra cd to assure path is as expected

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14745 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 14:40:17 +00:00
lissav e64a4c1dbd add more info to postscripts table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 13:34:07 +00:00
lissav 0993a4227a add postbootscripts to the man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14743 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 12:19:30 +00:00
wanghuaz 3991bcc3e1 Fixing a problem that: for partial kit, buildkit will fail if there is no any product rpms at all and so no deploy dir created, and so kit_config file cannot be created.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14742 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 08:05:58 +00:00
ligc a685cb98af remove the statement: for information purpose for nics.nictypes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14741 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 07:54:45 +00:00
lissav 4a22d96d9a remove old xcat 1 postscripts, defect 3224
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-03 18:47:08 +00:00
lissav c6eec9badd fix defect 3267
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14738 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-03 14:42:56 +00:00
lissav 97a8e6b7f8 remove leftover debug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14737 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-03 13:10:54 +00:00
lissav 8fc57d4dbe add more comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14736 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-03 12:30:42 +00:00
linggao ad6cf32fe3 fixed defect 3266
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14734 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 22:04:14 +00:00
jbjohnso 99ea38c495 Change all windows templates to use the new #WINTIMEZONE# directive in 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14733 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 20:38:14 +00:00
lissav 2b008fb1fa fix spelling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14732 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 20:20:08 +00:00
jbjohnso e7a31a057b Have Template support the more elegant TZUtils approach for translation to Windows timezones from POSIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14731 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 20:09:59 +00:00
jbjohnso 7307a550ef Remove 'e' from regex flags in Template.pm as the replacement does not suggest perl evaluation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14730 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 20:09:46 +00:00
billwajda ca219aabe1 changed configeth specifically for adding additional ethernet adapters. Added new confignics which invokes configeth
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14729 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 19:48:07 +00:00
billwajda 53ab64c819 added nic attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14728 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 19:45:36 +00:00
jbjohnso 86102a215b Provide more human readable interpretation of RMCP status messages where possible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14727 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 18:31:14 +00:00
lissav 7a61af5d1e add support for updatenode -l disabled
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14726 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 17:20:51 +00:00
lissav aee9b874b1 add support for updatenode -l disabled
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 17:19:48 +00:00
lissav 2cdd31a312 add support for updatenode -l disabled
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14724 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 17:18:02 +00:00
jjhua 132e4cc493 fixed bug 3268, add the templates directory into the xCATsn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14722 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-31 05:04:33 +00:00
ligc 38fcd2f3a8 fix for bug 3051: search /install/custom and /opt/xcat for lsdef --osimage against nodes with provmethod=install/netboot/statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-29 08:33:14 +00:00
leiaibj c4fc6a0816 enhance profilednodes.pm so that all kits plugins can be executed in serial
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14720 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-28 03:35:07 +00:00
xq2005 61b7a6fc83 support other packages on ubuntu stateless image
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14719 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-27 08:55:26 +00:00
yinle 0f7844b187 Modify the man information for lsslp --flexdiscover.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14718 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-27 08:13:02 +00:00
ligc 97df71b507 fix for bug 3200: update psh manpage to emphasize the psh arguments need to precede noderange
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14717 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-27 06:02:07 +00:00
yinle 1646d3bb9d Modify the usage info of lsslp.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14716 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-27 06:01:59 +00:00
ligc 1521e5834b fix for bug 3050: -t and -a could not be used together
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14715 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-27 05:50:35 +00:00
yinle 6ac917a748 Give warning when the user is using slpdiscover.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-27 05:46:07 +00:00
jjhua 47e0989069 when add ospkgs to postscripts, it should update the pkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14713 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-26 08:57:24 +00:00
lissav 1ae6ac9267 updates to allow sync of servicendes in one command and not one node at a time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14709 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-24 14:23:27 +00:00
lissav d84b5d2ea4 updates to allow sync of servicendes in one command and not one node at a time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-24 14:19:53 +00:00
lissav 4533d117e9 Fix incorrect info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14706 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-24 11:48:00 +00:00
leiaibj 2c4a482dff Supporting auto discover for PureFlex X nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14705 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-24 06:39:26 +00:00
leiaibj ae316495af PureFlex x nodes import& discovery supporting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14704 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-24 03:49:00 +00:00
yinle b868089ba6 Modify code to support merging slpdiscover to lsslp.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14703 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 09:15:24 +00:00
zhaoertao 91b582b5ea fix bug 3262:rflash firmware update with --activate concurrent to HMC CEC powerd off CEC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14702 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 09:05:35 +00:00
amy0701 39b4583739 update incorrect word for xcattest
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14699 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 08:31:28 +00:00
jjhua fd39b51ce1 fixed bug 3263, we require that the first value of osimage.pkgdir should be the os based pkgdir.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14698 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 08:30:39 +00:00
daniceexi 38576c2815 fix issue that when set [osimage=<osimagename>] in chain.chain to deploy os during genesis running, the provmethod was set to install/netboot instead of the osimage name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 08:06:52 +00:00
jjhua 03b2373420 fixed bug 3264 , support the multiple paths for osimage.pkgdir in the sles11 genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 07:56:14 +00:00
yinle 63400588bc fix bug #2986 getmacs -h missing -o option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14694 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 07:48:03 +00:00
yinle 7c0f8b3208 Fix bug #2987 getmacs -o has some issues.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14693 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 07:40:30 +00:00
jjhua 783a1d100f To support multiple paths for osimage.pkgdir. get the first pkgdir(the base pkgdir), and use it later.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14692 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 06:15:02 +00:00
jjhua 698de9076f correct a typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14691 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 06:04:42 +00:00
ligc 49bfb6589a add the rsyslog into the centos pkglist, rsyslog is required for syslog redirect
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14690 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 02:51:32 +00:00
yinle e7e552b64a minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14689 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-20 08:44:34 +00:00
amy0701 bde4f43d7b add testcase for sles statelite installation ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14688 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-20 08:02:06 +00:00
linggao e08109fd0a fixed a problem that xcatd gives warning when sorting nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 16:40:29 +00:00
nott d880ea0483 add search domains to resolv.conf files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14686 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 16:25:02 +00:00
jjhua 6fad417a52 support multiple path of ospkgdir in rhels genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14685 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 08:56:12 +00:00
jjhua f39a45518e fixed bug 3259, remove the old yum repo before addsiteyum
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 07:51:22 +00:00
jjhua f6317b80b5 if the osimage.pkgdir isn't set, use the default ///
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 06:08:59 +00:00
ligc 6cd038faac fix a problem with lsdef autotest case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14681 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 05:41:02 +00:00
jjhua a83217bfe8 support mutiple ospkgdir path in rhels genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 03:19:15 +00:00
xq2005 c384dc8675 delte /etc/sysconfig/dhcpd6 doesn't exist error message on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 02:30:51 +00:00
lissav 68434e9ba2 fix for defect 3249 xdsh -e with relative path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-18 13:46:05 +00:00
lissav c417e799a7 fix for defect 3249 xdsh -e with relative path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14677 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-18 13:44:51 +00:00
sjing 3f6118dae1 keep the parent_fd before any change, then restore it after the change, since it's a global variable.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14676 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-18 08:53:57 +00:00
xq2005 1070630731 only build amd64 packages on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-18 06:10:34 +00:00
xq2005 601d3851ee build perl-xcat on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-18 03:28:58 +00:00
daniceexi 6e67b0642a fix a typo that output of postscript could not be written to /var/log/xcat/xcat.log
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14671 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-18 02:58:44 +00:00
daniceexi 0fcfa40bcb fix a typo that output of postscript could not be written to /var/log/xcat/xcat.log
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14670 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-18 02:52:15 +00:00
linggao fecc2a242e remove the debug mode for rcons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-17 18:58:30 +00:00
xq2005 7735effc04 add ntp to the compute.centos6.pkglist for pcm integration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14666 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-17 10:25:01 +00:00
leiaibj 59796b270a Roll back sequential changes as some errors found
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-17 09:25:37 +00:00
jjhua 4bdcebc647 fixed the Unknown option: nodestatus when updatenode cn -V
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14664 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-17 09:20:57 +00:00
leiaibj e08f3572dc use sequential argument for profiled nodes call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14663 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-17 08:54:38 +00:00
xq2005 68432a65b2 for cross distro rpm problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14662 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-17 02:29:53 +00:00
lissav cf0d82b66a fix xdcp -F and xdcp <filelist> where the input files are not fully defined paths
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14661 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-16 14:24:20 +00:00
daniceexi 6a41e82ed4 Add remoteimmsetup command to be the allow running in policy table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 09:54:02 +00:00
daniceexi 395fea4d8c Add authority check to make remoteimmsetup to work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 09:46:03 +00:00
daniceexi a2caca7b04 fix the typo issue to make remoteimmsetup to work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 09:38:58 +00:00
jjhua 5361716349 fixed bug 3248
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 09:35:18 +00:00
jjhua 289d0d36c8 use rpm/dpkg --version , instead of which
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14656 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 08:11:20 +00:00
leiaibj 0ba9832d0e validate profiles existing in database and also check hostnameformat while start node discovery
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 07:59:17 +00:00
amy0701 6acf400ea9 fix testcase tabprune_i_auditlog for result check
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14654 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 07:45:15 +00:00
jjhua 59a3beafdb for management node ,the NTYPE is MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 07:32:45 +00:00
jjhua a4f5515786 fixed bug 3230, support for the mn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 07:14:01 +00:00
amy0701 0f91f3a5a9 add nodeset osimage for linux_full_installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14651 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 06:19:39 +00:00
amy0701 462cfe2c7d add nodeset osimage for linux_sles_diskless_installation_ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 06:09:32 +00:00
amy0701 44b69f4e4b add nodeset osimage support for linux_statelite_installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 05:55:28 +00:00
amy0701 f7a82f2c05 add nodeset osimage support for linux_diskless_installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14648 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 05:51:31 +00:00
xq2005 3b08c74368 nfsserver attribute is not the required field for nodes on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14647 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 05:43:03 +00:00
sjing 9f45ee17b4 plugins executed sequentially.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14646 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 04:23:45 +00:00
jjhua 30ca481c38 the '||' with double quotations in the comments doesn't work on AIX, fixed it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14645 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 02:57:06 +00:00
linggao 053ffe4795 fixed defect 3159 rcons does not work when nodehm.conserver is set to MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14643 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 18:37:40 +00:00
xq2005 ca4853f13f create partition on multipy disks when instal ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14642 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 14:06:13 +00:00
lissav dce9fd5bbf fix defect 3241
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14641 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 12:38:57 +00:00
ligc 25171e52b8 fix for bug 3239: do not use one socket connection to send two xcat commands to MN/SN, do not use gettab to get the site.tftpdir for performance consideration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 07:21:39 +00:00
xq2005 9c09b4b077 chown for the dns db file on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14639 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 06:05:46 +00:00
jjhua 906688785c make the improvment of the performance on xdsh with -e
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14638 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 05:27:24 +00:00
leiaibj 28257de1fd 1. update node's status while replace mac address. 2. set blades rack info while import/discover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14637 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 03:32:16 +00:00
creativezj dd8fc76f6f NGP Power support enhance
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 02:00:48 +00:00
lissav ef9d529f87 Remove invalid options
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14635 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 14:02:26 +00:00
lissav 34f064c024 fix xdcp -l root parsing problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14634 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 12:24:06 +00:00
zhaoertao 5af1c7bbb4 update Usage and Manpage for 'rspconfig <node> updateBMC'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14632 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 07:56:04 +00:00
daniceexi 92e781fe74 Fixed the hang issue of reboot/shutdown a nfs-based statelite node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14631 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 07:50:29 +00:00
zhaoertao 5cf269a5b6 the option updateBMC of rspconfig only supported for CMM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14630 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 07:27:32 +00:00
jjhua 419d69050f add the tabdump(networks) to get all the networks info from the networks table.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14629 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 06:54:14 +00:00
jjhua fb73b701f6 support the tabdump(TABLENAME) in the mypostscript.tmpl
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14628 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 06:52:45 +00:00
ligc bef43bc41f update lsdef manpage about lsdef -a not listing auditlog and eventlog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14627 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 06:45:31 +00:00
ligc 1f5cbc95ab fix for bug 3234: syntax error in otherpkgs, and move the logger commands, ospkgs, fix a typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14626 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 05:01:06 +00:00
wanghuaz df94b1812e Fixing a problem during last checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14625 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 03:36:46 +00:00
ligc f2c2410f3a fix for bug 3235: check ipv6 only for Linux, not AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14624 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 02:52:42 +00:00
linggao 56945ff249 modified nodeset usage for osimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14623 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 21:20:56 +00:00
linggao 3fd2b30450 minor change for nodeset man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14622 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 21:16:35 +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
lissav 5680c81ee5 Put error in error buffer for PCM but do not set return code as error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14620 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 14:36:43 +00:00
lissav 7aaa8059f0 Allow MsgUtils to accept 0 as a return code on error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14619 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 14:34:37 +00:00
lissav 7f9d3ce3cf fix more missmatched error messages causing loss of errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14618 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 13:49:24 +00:00
xq2005 eb2438d595 rebuild the rpm db for stateless genimage in cross distro scenario
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 13:42:01 +00:00
ligc 9de743b141 fix for bug 3214: check if IPv6 is enabled on MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14616 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 11:11:00 +00:00
wanghuaz e7c5f506fe add dhcpinterfaces in servicenode table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14615 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 11:09:05 +00:00
leiaibj c3e8949e81 Resolve following issues: 1. return multi errors if there are multi errors for a single node entry while importing. 2. validate the numric part and hosts number. 3. validate whether the specified IP address is in provisioning network while import nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14614 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 03:33:46 +00:00
phamt 879fcefcb4 Fixed clone error because of missing plugin.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14612 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 03:29:58 +00:00
ligc 4b32bc602e fix a typo in my_nets, to not throw away all the remote networks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14610 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 02:08:09 +00:00
mellor bba164615f allow same kitcomponent basenames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14609 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 21:26:39 +00:00
lissav 17de040994 Save list of failed nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14608 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 18:45:58 +00:00
lissav b0ce82d061 document device support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14607 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 14:29:49 +00:00
lissav 7a69698fc6 Add support for sinv to devices
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14604 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 14:17:45 +00:00
lissav aea8d5c03c fix osimage example
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 13:51:30 +00:00
ligc 8d85304cab fix for bug 3393278: rflash -p /tmp/test will not output any error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14601 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 09:13:39 +00:00
ligc 3d32c9999b undo fix for bug 3393278: should fix some where else, external behaviour of nodels <empty_group> is changed and some customer is affected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14599 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 08:54:45 +00:00
ligc 02a96668f7 undo fix for bug 3393278: should fix some where else, external behaviour of nodels <empty_group> is changed and some customer is affected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14598 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 08:54:25 +00:00
sjing 3359641813 Fixed the issue - 'Can't locate object method "get_site_attribute" via package "xCAT::Utils" at /opt/xcat/lib/perl/xCAT_plugin/aixinstall.pm line 5711
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14597 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 07:48:05 +00:00
lissav c25f7635c7 add examples of running against an image
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14596 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-09 11:44:39 +00:00
lissav 7725453641 fix error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14594 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-08 11:56:05 +00:00
jbjohnso 2a0f568135 Fix problems with new packaging of genesis
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14593 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 19:22:16 +00:00
jbjohnso 871b2cd25d Update build script for gensis packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14592 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 18:30:18 +00:00
jbjohnso aefceb6eb5 Add ondemand governor, useful for performance validation tasks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14591 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 16:25:59 +00:00
jbjohnso 6d8b0c8186 Fix the way scripts/base obseletes the unified package so that it will only happen on xcat-core update
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14590 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 16:25:46 +00:00
nott b3ee36c58a fix nics processing for na alias
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 16:18:23 +00:00
jbjohnso c0ad20c3cf Further tweak the genesis repackaging
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14588 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 15:59:50 +00:00
jbjohnso dde7db8565 Add tree for teh overlay package
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14587 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 15:59:34 +00:00
lissav 16b2c9a45e document format hosts.hostnames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14586 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 14:16:40 +00:00
lissav c3381461da add updatestatus for updatenode -S on AIX nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14585 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 13:15:32 +00:00
zhaoertao 64ca73178c add a option 'updateBMC' for rspconfig to update BMC password
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14584 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 10:21:29 +00:00
jjhua 2aa0bc13dd fixed bug 3223, create more yum repo for rhels6/rhels5 x86_64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14582 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 08:32:03 +00:00
zhaoertao 0aa181cd46 reventlog supporting Firebird through CMM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14581 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 06:52:32 +00:00
linggao 3413ba4568 added switches.protocol for running xdsh for swithes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 21:11:29 +00:00
lissav 7a2b7f65d5 fix defect 3219
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14578 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 19:37:17 +00:00
linggao 5717142c87 put yum upgrade back to fix defect 3215, however, this will break Mellanox drivers because Melanox repaces some of the os rpms with its own.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14577 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 19:35:40 +00:00
jbjohnso 1735e36913 Update genesis builder to use new scheme
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14576 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 14:42:05 +00:00
jbjohnso a7fd482b38 Remove some of the xCAT specific chunks from xCAT-genesis-base
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14575 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 14:41:46 +00:00
daniceexi c17cea3b6f Support to set osimage=rhels6.2-x86_64-netboot-compute:reboot4deploy in the chain.chain to make the status of node to be updated to installing or netbooting as rpower reset has been run
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14574 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 14:11:42 +00:00
ligc ad3b48cae4 fix for bug 3221: check if the attributes specified with -i are valid attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14572 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 13:30:55 +00:00
lissav 8605eddf2a error processing will be done in xdsh, code not needed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14571 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 12:35:11 +00:00
zhaoertao 3aa724b5a4 fix bug 3218: Support 'rbeacon' for Firebird blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14570 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 08:54:43 +00:00
zhaoertao 8688e63f33 fix bug 3194: power usage NOSUCHINSTANCE in 'rvitals cn all' firebird plus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14567 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 06:09:26 +00:00
zhaoertao 7c754c200e fix bug 3185: rvitals NODE lcds has no output on rhels6.2 and NGP Flex blades
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14565 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 05:33:37 +00:00
linggao 933b5e0983 added explicit tag in switches.sshusername to indicate that the username is for telnet. This will improve the performance for xdsh to switches
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14563 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 20:39:43 +00:00
lissav db34a2548f Check for already installed error on updatenode -S
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 15:42:51 +00:00
lissav ee02e417d9 have --nodestatus return status if node unreachable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14560 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 14:00:48 +00:00
lissav 7cd7ebb719 fix parsing of the args
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14559 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 12:54:57 +00:00
xq2005 e43867b487 build xcat-genesis on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14558 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 11:13:52 +00:00
jjhua edb83f4262 some minor changes about the the and syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14557 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 08:29:48 +00:00
jjhua 8c01f8c93f some minor changes about the the and syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14556 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 08:25:49 +00:00
ligc cb834a2ab4 add a new flag -t to makeconservercf to specify additional trusted hosts with conserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14555 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 08:19:08 +00:00
immarvin 9e4fd9ef38 set all the plugin procress and its children in a seperate process group;send SIGTERM to the process group to effectively abort command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14553 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 03:04:13 +00:00
daniceexi da2a14fa69 fixed the issue that tftp could not be started on sles10
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14552 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 02:58:48 +00:00
bp-sawyers 4ae17a6571 added to tabprune -V description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14550 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 22:40:42 +00:00
lissav 320eea1c75 new logic to get xcataixpost to the node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14549 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 20:40:11 +00:00
lissav 68d1067b9c new logic to get xcataixpost to the node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14548 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 20:38:37 +00:00
nott f0a4765953 fix root password and mksysb bugs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14547 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 19:01:56 +00:00
jbjohnso 2ae9261bbb Prepare to provide alternate build semantics to split things like bmcsetup and things lifted straight from EL 6 base
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 18:57:37 +00:00
lissav b2abeb5b70 Take out comment nodehm.conserver is used
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14545 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 18:18:31 +00:00
jbjohnso f4373ce762 Have remoteimmsetup cope with the concept of distinct web/cli password versus ipmi password
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14544 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 15:58:41 +00:00
lissav e17dacbc2b Update with Verbose mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14543 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 15:32:56 +00:00
jbjohnso f18bfe62e7 Recall the 'CLI' user/pass in order to facilitate case where cli and ipmi passwords mismatch (not recommended, but might as well implement it)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14542 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 15:31:23 +00:00
immarvin 6aab6faf02 make copycds to abort correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14541 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 13:25:52 +00:00
immarvin 70257d7acd while "CTRL+C" trying to kill the plugin process,SIGINT is blocked, use SIGTERM instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14540 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 13:22:38 +00:00
daniceexi 2a88fc4d1d defect 3212: add pkgs parted,e2fsprogs,bc for localdisk support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 09:56:30 +00:00
daniceexi e869f87935 defect 3213: sync the fix that moving pid location from /tmp/xcat to /var/run/xcat to xCATsn.spec
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14538 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 09:22:48 +00:00
ligc a920f9f5bb remove yaboot-xcat dependency from xCAT.spec and xCATsn.spec, Xu Qing already did this for Ubuntu and Debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14536 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 08:14:20 +00:00
daniceexi 3b2674aad7 defect 3209: caused by a typo that failed to kill of a sub process, then xcatclient failed to exit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 07:25:57 +00:00
xq2005 10804f4c3b ib config script move to xCAT-server/share/xcat/devicetype/IBSwitch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14534 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 07:22:34 +00:00
ligc 426c34f342 fix for bug 3208: exclude eventlog and auditlog with lsdef -a, performance improvements for lsdef -t eventlog and lsdef -t auditlog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 05:52:20 +00:00
ligc d4ba1a7dd8 performance improvements for lsdef -l -t auditlog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14531 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 02:42:37 +00:00
mellor febfd554ef defect 3198 - fix typo in buildkit man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14530 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 20:47:14 +00:00
nott 06d2048be2 add domain and nics table support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14529 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 20:23:33 +00:00
lissav d3a4f4df5b Remove updatestatus from xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14528 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 18:53:59 +00:00
lissav a951d6b551 remove sending updatestatus to daemon
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14527 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 18:47:25 +00:00
lissav 7283f3f9bc remove xcatdsklspost.aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14526 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 17:48:06 +00:00
lissav 46fc376c2f remove call to xcatdsklspost.new
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14525 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 17:45:30 +00:00
lissav ebdb9c140f remove call to xcatdsklspost.new
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14524 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 17:44:13 +00:00
lissav cf5d31d33f remove copy of xcatdsklspost.aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14523 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 17:41:53 +00:00
lissav 02c8edb602 litefile table must require both keys image and file, keys cannot be null
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14522 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 17:35:42 +00:00
daniceexi 7805ca64fc defect 3196: add the parted as the default installing pkg for rh6 ppc to support the localdisk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14521 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 09:05:24 +00:00
daniceexi 7ebf999353 The script to perform the partition of local disk for statelite node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14520 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 08:53:18 +00:00
daniceexi 13f418ce4b this file has incorrect permission
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14519 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 08:50:57 +00:00
leiaibj 6bde1ca343 Set proper chaintable, should use runcmd=osimage instead of set osimage directly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14518 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 06:34:11 +00:00
yinle 0e732ddc99 Remove the checking of yaboot-xcat to support removing yaboot-xcat rpm.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14517 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 06:25:21 +00:00
xq2005 d4ca869287 delete yaboot dependecy on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14516 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 05:59:21 +00:00
ligc 154603406a use xCAT::ServiceNodeUtils->get_ServiceNode to determine the node's SN as gateway
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14515 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 03:04:04 +00:00
lissav a646e632e4 updatenoderunps performs one set of logic for both AIX and Linx
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-01 12:54:31 +00:00
lissav aa0a705846 use xcatdsklspost for both AIX and Linux nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14513 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-01 12:24:34 +00:00
lissav fbadf54c32 support running xcataixpost if on a Linux node, note this assume that the caller has xdcp xcataixpost to tmp on the node, before calling. See updatenode.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-01 12:20:36 +00:00
lissav db652b82d4 changed the copy to an rsync, save a couple of secs, not as much as I hoped.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-01 11:48:51 +00:00
phamt 13e6fc1d17 Fixed bug in chhypervisor --resetsmapi
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14510 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 18:33:33 +00:00
lissav 848372a367 convert call to xdsh to runxcmd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14509 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 13:18:13 +00:00
lissav 508ef7a226 cleanup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14508 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 12:36:59 +00:00
xq2005 430a437217 defined(@array) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14505 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:13:37 +00:00
xq2005 715a5251b6 defined(@array) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14504 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:13:04 +00:00
xq2005 881d61a68a defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14503 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:11:34 +00:00
xq2005 1de4c70cec defined(@array) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:10:48 +00:00
xq2005 40d3e8e130 defined(@array) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14501 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:10:07 +00:00
xq2005 b52d6704c7 defined(@array) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14500 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:09:29 +00:00
xq2005 696ba151a5 defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14498 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:08:47 +00:00
xq2005 d60b6b955a defined(%hash) and defined(@array) are deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14497 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:06:20 +00:00
xq2005 da5ab569e6 defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14496 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:05:22 +00:00
xq2005 33f1f5e80d defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14495 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:03:30 +00:00
xq2005 7d20dade12 defined(@array) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14494 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:02:22 +00:00
xq2005 f1333718f9 defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14493 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:00:29 +00:00
xq2005 c82f125bf3 defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14492 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 08:58:36 +00:00
xq2005 3a3b2c07fc defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14491 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 08:56:56 +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
asirxing cd365417f4 Update the initial CFM directory structure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14489 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 07:14:06 +00:00
jbjohnso 5c5ebf2c42 Have bmcconfig.pm implement remoteimmsetup command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14488 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 22:01:42 +00:00
jbjohnso bb9fb8c54b In case caller does not specify 'curraddr', fall back to ssh to the actual ip (e.g. remoteimmsetup case)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14487 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 21:55:41 +00:00
linggao 31551bab47 added Juniper switch support in xdsh and added trace support for xdsh switch management
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14486 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 21:52:15 +00:00
jbjohnso 851f0123cd Refactor setupIMM from slpdiscover.pm to IMMUtils.pm in preparation for common code usage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14485 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 21:42:30 +00:00
phamt da8c8acee0 Fixed bug in getmacs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14484 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 21:20:23 +00:00
jbjohnso cc2148cedd Change argument name in preparation for refactor of setupIMM for common use between slpdiscover and remoteimmsetup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14483 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 20:54:12 +00:00
jbjohnso 160c635296 Change slpdiscover to use the common IPMI credential lookup scheme, theoretically allow for differing IPMI/CLI passwords, but we won't recommend that
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14482 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 20:30:33 +00:00
jbjohnso 3df2492e9d Have getbmcconfig use the refactored password retrieval function, get ready for remoteimmsetup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14481 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 20:30:22 +00:00
lissav bbda4fdff2 Remove all bypass mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14480 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 18:56:41 +00:00
lissav d5e7813365 add restartxcatd SF defect 3203
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14479 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 17:27:56 +00:00
lissav c756bf2cf3 add restartxcatd SF defect 3203
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 17:06:25 +00:00
jbjohnso 1fdad5c12f Fix problems with new PasswordUtils, move ipmi.pm to using the refactored code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14477 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 16:24:03 +00:00
xq2005 143e0f3304 ubuntu does not ship SHA1.pm any more, all functions are contained in SHA.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14476 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 09:06:48 +00:00
jjhua fa0d361403 remove the msg and export action, when the attribute could not be got from the table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 08:07:02 +00:00
wanghuaz c7e0ccca47 Fixing bug 3180, use append instead of overwrite to update gpfsprofile
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14474 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 07:54:12 +00:00
wanghuaz ef0d8c786a make kit work with old osimage which doesnt contains osdistro attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14473 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 07:17:15 +00:00
xq2005 fb0ad21c3f /var/run is a symlink on /run and that's just a tmpfs, create this directory when xcatd starting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 06:35:36 +00:00
wanghuaz 9c9388f263 Add an enhancement of rmkit that prevent removing a kit if its isinternal attribute is set to 1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14471 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 06:24:17 +00:00
sjing 6527f298bb handle $reply=undef
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14470 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 05:59:36 +00:00
daniceexi 85943215cb defect 3186: check the existence of vncviewer
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14469 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 03:06:13 +00:00
daniceexi d2fae3ae5f defect 3131: fix the msg of dracut version
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 02:55:35 +00:00
xq2005 1e899c10eb specify partition files for redhat 6 on ppc64, bug 3187
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14466 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 02:40:15 +00:00
jbjohnso 3e5e27bc71 First pass at refactoring and revising get ipmi password scheme, not even checked for syntax correctness yet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14465 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 22:11:09 +00:00
lissav a7d72e8c56 remove MN info on nodetype.nodetype
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 18:46:31 +00:00
linggao c29f5fd619 increase the timeout value in RShellApi.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 16:32:36 +00:00
phamt ab50bc3bf1 Fixed bug in add node and allow z/VM hosts to be added.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14462 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 16:19:27 +00:00
lissav f84d237c33 More message cleanup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 11:38:15 +00:00
daniceexi 5158a5fe95 Added code to handle the case that driver name is .ko.new instead of .ko. Copy the drivers to /lib/modules/kernel/initrd/ instead of /lib/modules/kernle/kernle/... for sles during injecting the drivers to initrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14460 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 09:02:39 +00:00
daniceexi 92ef245abe Fixed the issue that genimage could not handle the driver name is .ko.new instead of .ko
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14459 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 08:59:49 +00:00
daniceexi 683814468c defect 3192: fix the issue the could handle the lzma format of initrd during injecting the drivers to initrd. And added the fix that the driver name is .ko.new instead of .ko
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14458 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 08:59:02 +00:00
wanghuaz 9fb1b27a0a Fixing a problem that postbootscript cannot be written if there are multiple kit components
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 08:34:38 +00:00
zhaoertao 0268c0c6a1 modifying 'rscan -u' to append the 'groups' attribute rather than overwrite it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14456 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 08:12:19 +00:00
immarvin 71f63bf1dc add proper return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14454 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 06:29:39 +00:00
leiaibj e160deefd5 use proper messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 05:39:09 +00:00
xq2005 cdd0af2092 the dns configure file on ubuntu /etc/bind/named.conf owner group should be bind
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14452 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 03:23:12 +00:00
bp-sawyers 94e0a7e615 Added the requires for perl-IO-Stty back in for ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14451 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 22:27:29 +00:00
phamt 951555b816 Fixed rscan bug where node = parent.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14448 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 21:20:22 +00:00
lissav ec2c277557 take out of --nodestatus on the AIX path for now, syntax wrong anyway
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14447 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 21:00:43 +00:00
jbjohnso d4e21f1ea1 Try to tolerate some api changes in IBM IMM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14441 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 19:22:31 +00:00
lissav 2d4849286a document new settings for auditskipcmds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 17:11:30 +00:00
lissav 21202e8773 put in support to auditskipcmds for clienttype:value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14439 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 17:01:49 +00:00
immarvin 1f227a54fb remove local repo template in rmosdistro
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 12:43:39 +00:00
immarvin 2e74d3b4d6 1.import PGP-KEY after copycds;2.add support to remove local repo template
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14437 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 12:32:32 +00:00
jjhua 90e0e80aa2 correct the osimage_postboot, instead of osimage_post
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14436 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 08:45:52 +00:00
jjhua 4d3edda0cd fix a minor bug for osimgname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14435 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 08:45:12 +00:00
jjhua 981e545f62 if the nodehm.xcatmaster is not set, there is a problem. fixed it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14434 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 06:21:36 +00:00
immarvin f2555cf60d import pubkey in os distro
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14433 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 02:47:04 +00:00
jbjohnso 7c68270a80 Attempt to gracefully accomodate ipv6 and ssl http..
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14432 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-26 21:22:40 +00:00
phamt 572740c733 Added missing option for disk pool in chhypervisor.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14431 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-26 17:55:47 +00:00
phamt 800e3359dd Added zVM specific options to chhypervisor man page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14430 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-26 17:53:30 +00:00
phamt 399e1ad504 Added zVM specific options to chhypervisor man page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14429 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-26 17:09:40 +00:00
phamt 035353b17d Fixed webportal bug where dasd list entry only contains 1 device. Renamed chhypervisor --smapi to --smcli.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14428 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-26 16:41:31 +00:00
lissav fbac04966b Give more information on the error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14427 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-26 12:39:30 +00:00
sjing 92a8d070c2 use ip instead of hostname to new the resolver.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14426 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-26 08:12:39 +00:00
immarvin 6b8379c8ba add proper return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14425 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-25 04:44:49 +00:00
immarvin 94852cba8f add proper return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14424 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-25 04:44:00 +00:00
immarvin db0d43950a add proper return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14423 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-25 04:38:52 +00:00
immarvin 57ffc27ca1 add return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14422 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-25 04:34:56 +00:00
immarvin df8450cf20 add proper return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14421 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-25 04:12:58 +00:00
immarvin f79c088a43 add proper return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-25 03:05:26 +00:00
immarvin db92550be0 add proper return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14419 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-25 02:49:41 +00:00
immarvin 43556aca1e add proper return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14418 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-25 02:33:54 +00:00
zhaoertao 73d2274527 add LCD info with 'rvitals <node> all'for Firebird blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14416 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 10:40:39 +00:00
xq2005 ff7e287856 run postscripts when starting on a ubuntu stateless machine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14415 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 09:04:44 +00:00
xq2005 d42c19677a start xcatd at start time on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14414 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 08:43:48 +00:00
leiaibj d31778304b Get correct provmethod for profiled nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14413 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 08:33:05 +00:00
jjhua 85daf29a34 pass the tftpdir to xcatdsklspost, xcataixpost in updatenode.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14412 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 07:27:06 +00:00
jjhua 496c73b65c pass the tftpdir to the xcatdsklspost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14411 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 07:14:09 +00:00
jjhua b0071ccdeb for aix installation, use socket to get the tftpdir; for updatenode, pass the tftpdir to the xcataixpost script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14410 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 07:11:52 +00:00
immarvin ae61c1e21a add return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14409 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 03:23:14 +00:00
immarvin 30a0c68c52 roll back to the previous version
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14408 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 02:53:53 +00:00
immarvin f6c5b7be4c add return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14407 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 02:34:18 +00:00
immarvin b8aed9fca1 add return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14406 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 02:31:37 +00:00
immarvin c039830f4d add return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14405 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 02:29:54 +00:00
immarvin a274bab678 add return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14404 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 02:26:43 +00:00
xq2005 8d3407e137 change the link /bin/sh to /bin/bash
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14403 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 09:40:16 +00:00
immarvin d88759f805 add return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14402 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 08:58:21 +00:00
immarvin 53e843bed1 add return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14401 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 08:49:27 +00:00
jjhua d627649d7c According to wu xian's request, remove the osdistroupdate code from xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14400 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 08:35:27 +00:00
immarvin f351780cf9 add return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14399 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 08:33:32 +00:00
jjhua ecca0ef7de According to wu xian's request, remove the osdistroupdate code from xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14398 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 08:33:29 +00:00
jjhua c72e01429a for linux diskless, make getpostscript.awk use the template method, instad of the original method
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14397 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 08:01:30 +00:00
immarvin 8974b775a6 add postscript return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 07:59:03 +00:00
jjhua 5238c71638 for linux, make getpostscript.awk use the template method, instead of the original method
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14395 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 07:18:38 +00:00
jjhua 52d7012432 make getpostscript.awk use the template method, instead of the original method
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14394 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 03:04:34 +00:00
jjhua 4d22bb9970 make getpostscript.awk use the template method, instead of the original method
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14393 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 02:57:22 +00:00
willn256 e73bbc20a0 Add new cmdmapping attribute to nodehm table for PCM HW management project.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14392 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 22:22:20 +00:00
jbjohnso 847634175d Break slpdiscover activity into pieces to increase odds of success of each pass
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 19:59:08 +00:00
jbjohnso a01c99a24f Fix slpdiscover error output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 19:59:03 +00:00
jbjohnso d4acaaa8eb Distinguish between hyper v and normal edition
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14387 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 17:52:27 +00:00
jbjohnso ae93fe56ce Distingush between 2012 and 8 versions of windows
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14386 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 17:38:07 +00:00
jbjohnso 3174f6a8eb Add recognition of windows 8 media
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14385 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 16:56:37 +00:00
jbjohnso f644ad6ffd Fix problem where mktoolscenter presumes a filename scheme that is not likely to be found in the wild anymore
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14383 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 16:50:25 +00:00
jjhua bbfe4f1132 If the timezone includes a space, the chtab command below will not work. fix it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14381 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 08:52:09 +00:00
xq2005 f404ee4806 install gawk into compute.pkglist for ubuntu stateless install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14380 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 08:47:17 +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
wanghuaz 0d3fb931a0 Fixing two problems: 1. introduced while intergrating with buildkit command that only one kitrepo and one kitcomponent in a kit can be added into xCAT. 2. If user renamed the kit tarball filename, addkit canot read kit.conf inside it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14378 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 07:17:48 +00:00
immarvin cd7d5a50c6 add centos5.8 discinfo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 03:08:59 +00:00
mellor 18dc0460ef addkit - add check for tarfile with missing product rpms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 21:17:30 +00:00
mellor 2d46ee327a buildkit addpkgs - rewrite kit.conf file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14375 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 21:14:48 +00:00
mellor 3ae78546d7 buildkit - add external pkg support, add buildrepo all
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 20:48:32 +00:00
jbjohnso 3918845c64 Fix problem where 'delEntries' failed to invalidate cached data
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14372 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 14:51:29 +00:00
jbjohnso 90930636d6 Fix problem where a Table object with alternate autocommit setting would not have cache expired by peer activity.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14370 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 14:45:16 +00:00
amy0701 24e18df3f8 update testcase for copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14369 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 08:30:26 +00:00
immarvin 1531b1e34f remove geninitrd, use genimage --onlyinitrd instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14365 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 07:02:01 +00:00
linggao 6527fc3a9f modified the discription for switches table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14364 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-19 21:42:14 +00:00
jbjohnso 7999324921 Add a genimae variant for ADK
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14363 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-19 19:39:44 +00:00
phamt e135676f12 Changed default template to use M-disk space as swap instead of V-disk space.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14361 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-19 14:41:50 +00:00
linggao 5eb6a1bb06 added more EthSwitch support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-19 13:47:34 +00:00
leiaibj b61ff28739 Create FQDN verify while createing a unmanaged node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14359 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-19 09:03:03 +00:00
leiaibj 5ed353a3ae Resolve 2 issues: 1- restrict numric part length in hostname format; 2- resolve db not update timely after calling nodeaddunmgd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14358 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-19 08:56:16 +00:00
linggao ab3a2ea0bb updated xdsh man page to include Ethernet switch support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14357 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 19:32:50 +00:00
linggao d3a3b4d526 more on xdsh to ethernet switches
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14356 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 17:21:35 +00:00
bp-sawyers 8d9f8e6608 Improved (hopefully) the descriptions of the attributes in the chain table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14355 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 16:16:39 +00:00
lissav 34b60efb70 have -F -S -P working together for status update
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14354 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 16:12:23 +00:00
lissav 38986bcfb9 remove extra error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14353 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 16:10:27 +00:00
lissav 182597b92b got updatestatus for -P -F working for Linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14351 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 14:45:01 +00:00
daniceexi b42b63afbe add bc rpm package which will be used for local disk support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14350 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 14:12:10 +00:00
daniceexi 961797b266 add parted which will be used for local disk support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14349 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 14:11:40 +00:00
daniceexi a67a6bb1bf The script to perform the partition of local disk for statelite node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14348 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 14:08:55 +00:00
daniceexi 7538f98837 Add the plugin to handle the getpartition command comes from node to get the partition configuration file from linuximage.partitioinfile
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14347 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 14:06:38 +00:00
daniceexi 427b66827f Code drop for local hard disk to be used as persistent storage for statelite node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14346 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 14:02:36 +00:00
lissav 879802ef9f continue to restructure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14345 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 13:25:07 +00:00
lissav dfe5a2783e add comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14344 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 13:07:17 +00:00
xq2005 d878167089 diskless support on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14343 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 08:25:48 +00:00
phamt 7d3aa32f85 Added chhypervisor --smapi option for z/VM.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14342 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-15 19:59:56 +00:00
lissav bf9929222a Move updatestatus to the last processing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14341 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-15 18:25:01 +00:00
lissav d79be881fe change to out-of-sync for status
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14340 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-15 17:50:06 +00:00
phamt ec777fb90b Fixed action bar sizing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14339 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-15 16:46:28 +00:00
lissav 257315a3b3 Decribe valid states for nodelist table nodestatus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14336 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-15 15:18:20 +00:00
xq2005 cdddc737a0 delete the old dump file before creating the dump file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14334 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-15 08:51:36 +00:00
xq2005 53012f4e45 support kdump on sles10 on system p
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14332 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-15 06:02:28 +00:00
lissav 1ae545f081 begin restructure for updatestatus support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14331 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 18:29:37 +00:00
lissav d3c2e691d3 expand description of servicenode dhcpinterfaces attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14330 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 17:19:31 +00:00
xq2005 a64246b7fe support kdump for sles10 on blacktip
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14329 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 17:04:40 +00:00
lissav 49b3d71174 add logic so --nodestatus will work in streaming mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14327 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 16:02:18 +00:00
mellor 796a2f6127 fixed minor formatting issues in buildkit man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14325 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 14:25:08 +00:00
mellor a56a0c2dc2 extract buildkit html man page for wiki
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14324 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 14:10:15 +00:00
lissav 553d8a203b fix defect 3175
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14323 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 13:26:27 +00:00
mellor bee533b394 buildkit man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14322 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 13:17:34 +00:00
mellor b2100e8d7f fix buildkit usage msgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14321 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 12:45:44 +00:00
immarvin 88a57dffe5 move the mount point of copycds to /var/run/xcat/mountpoint
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14320 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 07:23:16 +00:00
immarvin c85d0aab95 lazy umount of loop device is problematic,the loop device will not released
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14319 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 03:40:31 +00:00
linggao 92414fbcd1 added support for xdsh to ethernet switches
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14318 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-13 22:03:57 +00:00
mellor 5855408946 change desc attr name to description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14317 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-13 15:29:19 +00:00
lissav b92b1fd1ed fix defect 3173
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14316 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-13 13:54:22 +00:00
wanghuaz 682165fb22 Removed rsct.lapi in trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14315 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-13 13:43:00 +00:00
wanghuaz caf8e249b6 Change desc to description according to latest Schema.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14314 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-13 07:02:17 +00:00
immarvin bcacb6fb49 #3170 sles10.4: copycds need -n sles10.4 to set the os level
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14312 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-13 06:34:53 +00:00
jwsimpson 0ca023a373 update to fix run boot script problem. added chkconfig xcatpostinit1 off and other minor corrections.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14311 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 20:38:52 +00:00
lissav 9e8ebc7797 Version 0.22 of the schema
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14310 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 20:04:28 +00:00
lissav b9ecc5e975 fix defect 3167
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14309 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 17:44:24 +00:00
ligc 588a72d358 fix for bug 3168: safeguard code in NetworkUtils::ishostinsubnet, for 127.0.0.1 subnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14308 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 14:48:48 +00:00
bp-sawyers ccf2ac78b5 Fixed build problem on aix with xCAT and xCATsn spec files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14307 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 13:05:01 +00:00
zhaoertao 68cbee47bc hwctrldispatch is only used for IBM Flex System right now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14306 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 07:39:14 +00:00
xq2005 73e4ed9236 perl-xcat install on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14304 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 07:25:41 +00:00
immarvin ce581e6767 corrected some syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14303 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 02:16:08 +00:00
lissav 42e7811d54 Fix runxcmd, if refoutput=2 ( noparsing of the returned data, will not display output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-10 12:06:39 +00:00
lissav 92969c95e6 small fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14301 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-10 11:43:23 +00:00
bp-sawyers c46b710933 Added fsm special build to buildcore.sh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14298 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 14:42:42 +00:00
xq2005 63747071a1 support kdump on sles10
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14296 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 10:13:20 +00:00
wanghuaz e63bfd6c46 Fixing bug 3160, matching the kit.conf that created by buildkit command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14295 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 09:26:15 +00:00
zhaoertao 9ab8ee6cb6 rename dfmdispatch to hwctrldispatch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14293 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 06:08:41 +00:00
daniceexi 44a612cc5a Changed to suppot multiple disks for a vm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14290 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 05:56:25 +00:00
wanghuaz cc4a3092bf Added addkit --inspection flag to give the general kit info before adding kits to xcat. also fixing a bug with kit plugin.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14288 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 04:31:08 +00:00
xq2005 995435b8b7 insserv with -f option to ignore the dependency on sles10.4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14287 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 03:45:35 +00:00
immarvin ff5097dff4 #3130 installnic=mac does not work for rh5 ppc64 netboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14286 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 03:43:18 +00:00
zhaoertao bf31543b8f add attribute 'dfmdispatch' for site table to enable or disable the DFM hdwr_ctrl dispatch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 03:32:39 +00:00
immarvin f96c2c7d07 correct the logic to fix defect #3130 installnic=mac does not work for rh5 ppc64 netboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14282 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 02:31:41 +00:00
bp-sawyers 9016681347 Add subset build of xcat for pcm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14281 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 21:47:50 +00:00
lissav f730076d0f change to system call to service postgresql start, to work around known problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14280 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 14:47:15 +00:00
wanghuaz 9ef811a565 Issue trustchk command to ensure /etc/security/privcmds has the correct permissions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14276 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 09:21:10 +00:00
immarvin 54fea32eb0 fixed defect #3130 installnic=mac does not work for rh5 ppc64 netboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14274 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 08:35:01 +00:00
immarvin 6842acc9a8 add -o|--noosimage option to avoid creating osimages after copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14273 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 07:02:56 +00:00
immarvin 2311314a80 add centos6.3 x86
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14272 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 06:06:18 +00:00
zhaoertao 0ac2d31975 fix bug 3164:"rinv <cec> deconfig" can not print out the deconfig resources
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14271 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 02:22:54 +00:00
ligc 7469e7dc83 fix two perl syntax errors in nodestat.pm: Use of uninitialized value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14270 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 02:19:31 +00:00
nott d70c8c2cc5 fix NIM if1 parsing and chk_resolv_conf (3162 & 3163)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14268 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-07 18:34:31 +00:00
lissav c14595c736 remove osdistroupdates from defspec
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14266 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-07 17:58:38 +00:00
lissav 26db54f025 remove osdistro attribute from the osimage table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14265 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-07 17:51:29 +00:00
mellor ca2e4cc71e buildkit - need to build tar.bz2 instead of tar.gz file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-07 15:48:14 +00:00
leiaibj fa48a097c3 correct typo issue: s/racl/rack
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-07 07:29:45 +00:00
wanghuaz 3b4096e196 Remove openshmem on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14262 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-07 06:15:36 +00:00
phamt 49e42d639f Fixed sizing issue for action bar on Google Chrome.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-06 22:13:07 +00:00
phamt 4916e1ad31 Fixed sizing issue for action bar on Google Chrome. Fixed zFCP table for when no pool exists.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14259 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-06 20:52:55 +00:00
wanghuaz 2fbc90a64e pe 1.2.0.0 packages on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14257 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-06 13:37:45 +00:00
daniceexi edeac5de74 added displaying of host which vm belongs to; added change for rmigrate; fixed issue of cpu configure during mkvm/chvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-06 08:51:40 +00:00
immarvin 09eff12ed4 copycds enhancement for windows
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14254 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-06 03:20:33 +00:00
mellor e1dead42b1 fix lskmodules sending back empty xcatresponse structures
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 18:54:38 +00:00
leiaibj 39ea0f5a16 1. do not call kitnodeupdate, 2. enhance calling runxcmd syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14250 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 15:00:12 +00:00
lissav d608be3d11 fix processing when MN in database and has multiple groups defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 14:48:21 +00:00
jbjohnso 5f050f6a49 Instead of randomizing each retry, just randomize the first to get things spread out then do the triangular progression timeout
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14243 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 14:36:04 +00:00
immarvin 400aec04d5 correct the usage of rmosdistro to " rmosdistro [-a|--all] [-f|--force] osdistroname [osdistroname2 ...] "
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14242 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 09:32:54 +00:00
xq2005 cf9050c8b3 fix partition script error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14241 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 08:29:42 +00:00
leiaibj 886bb5145f correct syntax error while calling validate_ip
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 03:22:16 +00:00
ligc ce737cfcda fix a syntax error in xCAT::NetworkUtils->getNodeDomains
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14239 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 02:53:51 +00:00
daniceexi 1a20990699 fixed the approach to search objects in getrvidparms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14237 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 02:37:53 +00:00
jbjohnso 7b2b6d9d2c Apply another algorithm to avoid sequence number reuse as much as possible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14236 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-04 17:25:38 +00:00
jbjohnso 83ea798bcd Fix problem where nodestat with hosts table lookup fails
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14235 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-04 17:25:32 +00:00
jbjohnso 6464143589 Have IPMI.pm explicitly not expect cmd netfn after receiveng cmd/netfn response
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14234 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-04 17:25:25 +00:00
bp-sawyers 5a68f84799 Fix rmkit man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 16:23:14 +00:00
bp-sawyers afcce5d64e Fix build problem in xCAT-buildkit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14232 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 14:19:47 +00:00
nott 21c5691293 changes for multi-domain support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14231 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 14:13:05 +00:00
nott ad5b01ef41 changes for multi-domain support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14230 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 14:08:07 +00:00
nott 2507fafbb4 changes for multi-domain support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14229 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 14:01:38 +00:00
nott e352c14b74 changes for multi-domain support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14228 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 13:57:28 +00:00
nott 915492b44a remove msgs from getNodeDomains
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14226 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 13:48:48 +00:00
jbjohnso 49b78de893 Improve reliability of duplicate response detection phase 1, also check netfn and command match
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14225 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 13:37:46 +00:00
phamt 026ac2d081 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2012-11-02 12:08:10 +00:00
lissav 8c45b9ff00 fix mpa username comment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14223 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 10:27:17 +00:00
zhaoertao 0a7af4ef7e update manpage for getmacs -i ethN|enN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14222 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 09:26:12 +00:00
leiaibj 78b3536bcb one minor bug for validate height for nodeimport
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14220 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 07:41:25 +00:00
jjhua 05f66ec8fc pre-create mypostscript enhancement: remove the old mypostscript. if site.precreatemypostscripts=0
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 07:03:44 +00:00
jjhua 300de0daf0 pre-create mypostscript enhancement: move mkdir out of the nodes loop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 06:55:05 +00:00
ligc 9461e9194e fix the wrong package name xCAT-build, it should be xCAT-buildkit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14217 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 02:29:13 +00:00
jbjohnso 4af24a8d75 Output the FRU number of fru devices when available
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14212 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 01:09:40 +00:00
jbjohnso 54c7d16808 Actually put out the adapter WWN and MAC addresses with Flex ITE nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14211 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 01:04:41 +00:00
jbjohnso c03a8be539 Support WWN and Macs of Flex ITE nodes in rinv, haven't *quite* gotten the mezz adapters outputting yet, but they are being retrieved
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14210 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 00:33:39 +00:00
phamt 7496b1af81 Fixed sizing problem on graphic tab and character limit in RH parm file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14209 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 22:02:55 +00:00
linggao dc6c986f4b added postscript setuppostbootscripts to support value change for site.runbootscripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 21:04:26 +00:00
jbjohnso 8b1fdb33a0 Add sfc driver to genesis
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14207 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 20:07:50 +00:00
jbjohnso 5f65a3f1d2 Carefully trim off extra mac address cruft to mitigate some failures
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 19:21:13 +00:00
jbjohnso 563ed5a92a Change cache versioning strategy, track the oem byte from fru locator records
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14204 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 18:13:28 +00:00
mellor 6cdb1cfdec xCAT-buildkit - remove file checked in by mistake
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14203 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 17:24:37 +00:00
mellor d24431934e initial checkin of xCAT-buildkit rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14202 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 17:22:53 +00:00
jbjohnso f21e2939e0 Add mstflint for IB servicing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14200 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 13:22:44 +00:00
lissav 199416eb0a remove internal callback funciton sub updatenode_cb, will use --nodestatus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14199 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 12:54:08 +00:00
lissav 90be98a1b7 put back code to fix up failed/success nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14198 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 12:38:30 +00:00
xq2005 6db9298ba3 dns service name in ubuntu is bind9
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14197 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 09:20:31 +00:00
leiaibj 66dab45eba enable -v -h for profiled nodes related commands, and also, create man pages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14196 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 09:19:19 +00:00
immarvin f19883d909 Rewrite TableUtils->setUpdateStatus no Where clause , use setNodesAttribs instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14195 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 08:43:14 +00:00
immarvin 0a7fbc43cd fix defect #3152 copycds support on RHELS5.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14194 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 06:55:23 +00:00
xq2005 fc2ee64682 fix xcat install error message on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14193 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 06:52:32 +00:00
jjhua b16326fdbc pre-create mypostscript enhancement:remove the functions which are not used. add some error messages, if the attribute is not defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14192 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 06:06:57 +00:00
phamt d5e14d1c64 Fix display problem for images table and disable edit for 1st and 2nd columns of images table.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14191 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 03:13:49 +00:00
jjhua d3d34e7957 pre-create mypostscript enhancement: store the servicenode info in the %::GLOBAL_SN_HASH
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 02:59:40 +00:00
jjhua 777729759d pre-create mypostscript enhancement: use the global variable %::GLOBAL_SN_HASH in enablessh()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14189 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 02:57:05 +00:00
jjhua 6ed9c4c9b1 pre-create mypostscript enhancement: get_nodeset_state uses the values of the noderes.net boot noderes.tftpdir which were got ahead of time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14188 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 02:10:01 +00:00
jjhua d15a2add7a pre-create mypostscript enhancement: get the noderes.netboot noderes.tftpdir ahead of time for get_nodeset_state in SvrUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 01:53:22 +00:00
lissav c8db25f98d change comment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14186 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 19:23:59 +00:00
lissav 0a554136b9 checkin enhanced support for runxcmd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 18:54:37 +00:00
lissav e230a70808 get rid of print
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14183 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 17:20:17 +00:00
lissav 90da002d8c save runxcmd buffer before calling runxcmd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 17:14:08 +00:00
lissav 889d376bfe take out unnessary require
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14181 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 17:13:08 +00:00
lissav b96ce121ff enhancements and corrections
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14180 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 15:36:45 +00:00
jbjohnso 5604a61f53 Have slpdiscover ultimately relax password expiry, login failure behavior, password reuse restrictions, minimal change interval to help automation work and
avoid DoS attacks

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 15:21:45 +00:00
lissav 545281c97f take egans email address out of the comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14175 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 11:22:00 +00:00
xq2005 db0bad0c5d create dir /var/run/xcat/ for pid files on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 09:33:52 +00:00
xq2005 3c84ec61cb run mknb only the xCAT-genesis upgrade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14172 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 09:26:08 +00:00
wanghuaz df1896dca8 Removed prefixes of postbootscripts since it should be done by buildkit command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14171 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 08:52:28 +00:00
leiaibj addd30180e discover querying should not acquire lock
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14170 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 05:22:43 +00:00
jbjohnso fb4e4a09e5 In RHEV-M, we currently fail hard in the case where user did not set installnic/primarynic. In this scenario, instead of failing, just let firmware have a chance to fill it in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14168 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 23:39:06 +00:00
jbjohnso 2f8348f0f4 For IBM servers, report planar revision, fru number, and mac addresses (if a rackmount server)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14167 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 19:45:39 +00:00
lissav 22eec83752 This adds an interface to runxcmd to return the response structure, still needs test though
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14166 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 19:21:28 +00:00
nott 03e82f2f62 different fix for replication issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14165 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 15:00:39 +00:00
lissav 39e72aec0b if MN already in the database, xcatconfig -m will replace it, if the name has changed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14164 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 14:55:03 +00:00
phamt 4a7d0e4fdc Added inventory support for z/VM hypervisor. Cleaned up code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14163 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 14:48:40 +00:00
xq2005 b8148e8e17 delete the tftpd error message when restarting xcatd on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 12:46:45 +00:00
wanghuaz 9fe6127b0e Removed --overwrite option in chkkitcomp, since chkkitcomp could verify the kit component list correctly.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14161 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 12:40:22 +00:00
wanghuaz 34df3dccb0 Removed --overwrite option in chkkitcomp, since chkkitcomp could verify the kit component list correctly.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14160 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 12:34:16 +00:00
xq2005 e6f9e57a98 do not run mknb when the xcat-genesis is installed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14159 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 12:20:17 +00:00
lissav 40a74f4310 check if MN defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 11:10:12 +00:00
xq2005 d8b9521d56 reload the xcatd on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 09:26:17 +00:00
wanghuaz 308acd2839 Adding packagenames without directory to KIT_RMPKGS.otherpkgs.pkglist so otherpkg script could remove them
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14155 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 09:14:44 +00:00
jjhua 8d91ef04d5 fixed bug 3143.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 09:06:04 +00:00
ligc 8cf146bc90 remove debug mode /bin/sh -x for rcons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14153 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 08:43:04 +00:00
wanghuaz 1130f848bd Fixed a problem that if kitpkgdeps is not set in kit.conf, which is not correct, we still need to handle the KIT_RMPKGS.otherpkgs.pkglist with kitcomponent basenames anyway
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14152 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 07:32:23 +00:00
leiaibj 97ee1bb176 For profiled nodoes: chassis can not be specified together with rack
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14151 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 06:24:30 +00:00
wanghuaz 47460b48e6 Removing debug code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14150 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 03:04:24 +00:00
willn256 3e53a88daf Initial commit of KitPluginUtils.pm. These utilities are used by kit developers to write new kit plugins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14149 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 22:34:52 +00:00
wanghuaz f2d9901d19 run xcatbased, kit specific and customized postbootscripts in order
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14148 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 14:35:40 +00:00
wanghuaz 36efc5d93f handling multiple exlist in packimage and liteimg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 12:39:54 +00:00
wanghuaz d66e957cb1 Fix a problem with os minor version while comparing with kitcomponent and osimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14146 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 09:30:56 +00:00
leiaibj c8b1b3219c 1. support groups arg while import/discovering
2. import hostinfo file format should support windows txt file
3. If no dynamic range set, display an error message while start auto discover.
4. distinguish error codes for arguments validation and hostinfo file validation errors: 1 for arguments validation failure, 2 for hostinfo file parse.
5. support hostname format validation.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 08:59:14 +00:00
wanghuaz c58f6e361e removed the spaces in kit.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 07:42:42 +00:00
jjhua 241980aa01 pre-create mypostscript enhancement: do some changes in the template
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14142 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 13:51:55 +00:00
jjhua 148482344e pre-create mypostscript enhancement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 13:49:47 +00:00
wanghuaz bd7fd5672c Support multiple otherpkg and pkglist entries to work with Kit. alsofix a problem in kit.pm found during genimage.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 09:24:37 +00:00
jjhua 9a206d67bd pre-create mypostscript enhancement: move the postscript-specific functions from Template.pm to Postage.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 09:10:43 +00:00
jjhua 62636a0216 pre-create mypostscript enhancement. Use the networks info which is got form networks table ahead of time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 08:38:04 +00:00
wanghuaz 6c4a409e29 Fixed a problem while adding kitrepodir from kit.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 07:39:44 +00:00
jjhua d97f8338fa fixed bug #3133. When some node don't exsit, there are some error msgs, and other nodes succeed. handle this case.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14135 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 06:24:52 +00:00
wanghuaz 61d079df0a better handling xml output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14134 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 04:06:21 +00:00
wanghuaz adf75d9f57 better handling xml output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14133 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 02:50:38 +00:00
leiaibj 4b09a3e1c9 Resolve Profiled nodes discover issue: some times compute nodes failed to reboot after discover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14132 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 02:30:03 +00:00
jbjohnso f1b045c5cd Have IPMI plugin detect whether something is an ITE or not
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14131 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 21:39:24 +00:00
bp-sawyers 9bb1c459e3 Add --localonly to makedhcp man page and made other improvements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14129 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 20:05:53 +00:00
jbjohnso d4fa1ed91a Document some potential plans for sequence number magic to disambiguate spurious retries again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14128 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 19:53:58 +00:00
jbjohnso ba08481381 It was discovered that the strategy to jump software ids, while effective, had the side effect of invalidating reservations
This means that initial SDR download would usually fail on implementations that consider reservations in such a manner.
Back out the incrementing software id behavior and instead bump retry interval back up to mitigate risk of wraparound
on retries.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 19:26:09 +00:00
phamt cfa719caa9 Fixed bug in removezfcp option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 15:54:38 +00:00
phamt 5437963279 Fixed bug in addzfcp option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14124 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 15:52:07 +00:00
phamt 009cacac27 Fixed bug in add zFCP dialog.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 15:46:05 +00:00
lissav cfcf1b8cfc check for could not connect to database postgres error on createdb
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14122 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 14:09:17 +00:00
lissav bd1a88c706 check for could not connect to database postgres error on createdb
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 13:57:24 +00:00
immarvin 236d9d7371 don't associate osdistro with osimages which created by xcat in copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 09:22:44 +00:00
immarvin 70b33a7e6b don't associate osdistro with osimages which created by xcat in copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 09:22:00 +00:00
bp-sawyers 34c4df71cd add genesis and elilo requires to xCATsn and straighten out XML requires
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 09:12:25 +00:00
xq2005 c3c7e46312 change for ubuntu xcatd start
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 08:55:08 +00:00
asirxing b16cb69284 Rename getOSpkgsDiff function to getPkgsDiff as it is a common function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 06:19:15 +00:00
phamt abe7cb1e1e Moved options over from chvm & lsvm to chhypervisor
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14114 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 20:09:29 +00:00
lissav cf60db528c a few improvements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14112 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 17:51:40 +00:00
bp-sawyers dd11950993 chomped newlines from runcmd streaming output and updated site.runbootscripts description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 15:37:47 +00:00
xq2005 510bd44fd2 delete the depends on openslp when build xcat on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 07:18:11 +00:00
xq2005 ce61ef6222 delete the depends on atftp when build xcatsn on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 07:17:47 +00:00
leiaibj 50352afb39 Fix one bug: after discovery stopped, we can still discover some nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 07:14:11 +00:00
lissav 1c32268e9b check for MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 19:18:52 +00:00
lissav 86fd3ae7b0 Put a check in so that if remoteshell is run on the MN, it just exits
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14102 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 16:22:43 +00:00
wanghuaz 4003dd69d8 Fixing a problem with lock and added addkitcomp -f option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14101 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 14:59:18 +00:00
wanghuaz 960214bd4b added manpage for addkit/rmkit/addkitcomp/rmkitcomp/chkkitcomp commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14100 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 12:02:39 +00:00
ligc 8d07e61c14 Add NetworkUtils::setup_ipv6_forwarding
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14099 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 11:25:12 +00:00
xq2005 3a931a7317 fix error when building xCAT-server on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14098 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 11:02:28 +00:00
xq2005 ef9bdadda3 fix the error when building xcat-genesis-amd64 on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 10:41:55 +00:00
immarvin 455e031440 support nodelist.updatestatus update during updatenode -P
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14096 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 09:31:12 +00:00
ligc 3ed32b437d enable ipforwarding for IPv6 and IPv4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14095 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 09:18:41 +00:00
ligc 76827a69ec update the description for nics table to support multiple ip addresses per NIC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14094 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 07:23:01 +00:00
leiaibj c6d0097565 Use info tag instead of data for checking whether auto discovery running
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14093 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 06:05:46 +00:00
wanghuaz 0a87db910b Handling postbootscripts in osimage and kitcomponent tables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14092 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 04:07:56 +00:00
jwsimpson aec176a65c updated to add the postscripts table to the description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14091 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 21:22:35 +00:00
jbjohnso fe9774ac67 Have base esxi4.1 template exist in the way that xCAT expects
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14089 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 20:10:48 +00:00
jbjohnso 8a820d1765 Fix copyesxiboot to work fine with mod.tgz
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14088 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 20:09:14 +00:00
jbjohnso 6b2de33e78 Have slpdiscover auto-use LLA when circumstances detect no user direction to the contrary and the LLA is viable (same subnet, perl ipv6 support)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14087 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 20:09:07 +00:00
lissav 3239a455be fix xdsh/xdcp to MN broken, forgot to change logic when we change to __mgmtnode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14083 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 19:07:53 +00:00
bp-sawyers 0304f09112 remove require for perl-IO-Stty
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14082 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 17:18:39 +00:00
jwsimpson e8a61dd4cc Schema.pm updated to add the description of the runbootscripts attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14081 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 16:35:15 +00:00
jbjohnso b0839c618b Fix problem where esxi 4.x was called 'esx' in platform terms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 15:44:32 +00:00
jbjohnso 7606207542 Fix problem where esxi failed to honor '-n' argument in copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 15:21:37 +00:00
jbjohnso 8eae49b6d6 Fix problem where nodeset install on esxi4.x media would fail
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14075 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 15:21:31 +00:00
jbjohnso 9590e98580 Fix problem with certain levels of x3755 M3 firmware
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14073 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 13:57:40 +00:00
lissav 3264bad1e8 Add comment on the new nodestatus messages that they should never be NLS translated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 13:52:55 +00:00
nott 0f3e4dfc82 getAIXSNinterfaces
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14071 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 12:58:28 +00:00
nott 887bdd3d27 fix exports file entry for nfsv4 replication
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14070 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 12:55:42 +00:00
wanghuaz fe2ee4fc0a Added more verbose in kit support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14069 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 09:58:28 +00:00
leiaibj f7c81cbae2 1. when doing importing mac file action, tag details, tag errorMessage, tag failedNodesNum, tag successNodesNum and tag invalidRecordsNum should be just under tag xcatresponse. No data needed.
2. when doing importing mac file action, plugin should return more clear message like "mac file validation failed." in progress info.

3. when removing nodes, plugin should return error message if some of nodes failed to remove.

4. when doing auto detecting nodes, xcatresponse tag should have one status tag instead of nested ones.

5. enhance lock mechanism in Utils.pm

6. create new interface for querying whether profiled node discovery is running or not: nodediscoverstatus


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14068 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 09:37:09 +00:00
xq2005 8317e7b43c load auth_rpcgss.ko when create statelite initrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 09:33:48 +00:00
xq2005 9f328750d1 driver load error when create stateless initrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14066 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 09:23:57 +00:00
immarvin 44df839b69 remove geninitrd, use genimage --onlyinitrd instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14065 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 08:53:01 +00:00
immarvin c6a95b9a74 remove geninitrd, use genimage --onlyinitrd instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14064 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 08:50:53 +00:00
immarvin d1f017ce94 remove geninitrd, use genimage --onlyinitrd instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 08:47:48 +00:00
immarvin 127da8faec add the disc id's of rhel 6.1,hel6.2 and rhel6.3 iso
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14062 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 02:38:19 +00:00
wanghuaz 0792e6eb78 code checkin for kit support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14061 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-21 12:58:22 +00:00
wanghuaz 716b19a658 Added symbol link for addkitcomp/rmkitcomp/chkkitcomp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-21 08:42:09 +00:00
phamt 8c8e60c12e Fixed bug in xCAT-UI for zFCP devices. Added option to set zFCP device as LOADDEV in --addzfcp option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14058 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-19 20:26:08 +00:00
bp-sawyers 1019cf6d9d Updated copycds man page and added comments to discinfo.pm about adding disc ids
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-19 14:29:12 +00:00
lissav d91f2d57d0 added nodestatus to xdsh as well as xdcp and where I can get the return code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14056 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-19 13:07:10 +00:00
bp-sawyers dbe77b664e test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14055 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 20:05:35 +00:00
bp-sawyers 8b281c9b38 update chdef -n description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14054 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 20:04:45 +00:00
bp-sawyers 5245bd6d79 Type commit message here…updating the e1350 templates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14053 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 19:44:41 +00:00
lissav 1689390cc3 wait up to 30 seconds for postgresql to start before trying to create the database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14052 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 16:23:04 +00:00
lissav 3d412df13c wait up to 30 seconds for postgresql to start before trying to create the database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14051 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 16:21:37 +00:00
lissav 1eac8fe76b additional comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14050 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 14:25:51 +00:00
lissav fbdc11283a additional comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14049 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 14:23:24 +00:00
phamt a9408ab0d1 Added support for native SCSI/FCP on xCAT-UI.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14048 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 14:18:28 +00:00
lissav b33442caa5 implement --nodestatus call to xdcp for updatenode -F
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14047 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 14:13:32 +00:00
lissav 02ddd19381 possibley fix run_ps run_ps duplication
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14046 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 13:48:14 +00:00
lissav 183ada53eb add comments to the rack defspec
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14045 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 11:18:54 +00:00
lissav fbba9e8a1f support returning nodestatus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14044 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-17 17:21:43 +00:00
lissav 13e17590b2 support returning nodestatus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14043 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-17 17:12:22 +00:00
lissav 9535668727 adding monitor support -m to xdcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14042 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-17 11:29:49 +00:00
lissav dfd66d67ae adding monitor support -m to xdcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14041 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-17 11:24:40 +00:00
immarvin 648140c6ad set the MD5 Digest value of iso's fullpath as the default mount point of the iso,correct the code to umount $path in SIG{INT}
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-17 08:34:33 +00:00
amy0701 a5df689b7d update testcase for makedns
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-17 02:42:16 +00:00
mellor 33052f79c2 defect 3127 AIX PE 1.2 HPC Integration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 21:59:03 +00:00
linggao 822d3fae46 added code in rcons that does not require conserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14036 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 16:49:23 +00:00
lissav 7dc62afc01 moved so much code decided to run tidypod to clean up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14035 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 16:05:16 +00:00
lissav ca03b59cc5 broke out run ps into separate routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14034 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 15:55:13 +00:00
lissav 734b3659a5 small fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 15:37:04 +00:00
lissav bf244a2c07 pulled out sofware update code into separate routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 15:32:00 +00:00
lissav 96a259ca81 break out file sync into its own routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 15:01:04 +00:00
lissav 8a15138e4e fix syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 14:53:12 +00:00
nott 50dc7949b1 reorg doAIX copy routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14029 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 14:42:03 +00:00
ligc 2cb4c75e2f undo the CMM password expire changing code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 12:34:41 +00:00
immarvin 9260b97282 set the MD5 Digest value of iso's fullpath as the default mount point of the iso
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14026 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 11:22:53 +00:00
immarvin 970322af64 let the MD5 Digest value of iso's fullpath as the default mount point of the iso
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14025 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 09:19:48 +00:00
amy0701 9a2937f3fd update sleep for rpower test case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14024 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 08:24:47 +00:00
daniceexi 21bc39605c change the message that genimage could be run cross same distro with same major level
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14023 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 07:44:22 +00:00
daniceexi 5ffbcb5fba Change the interface of loading drivers from rpm package. If no netdrivers attribute specifiec, no driver will be added. If you'd like to add all drivers from rpm packages, using allupdate as key word in netdrivers attribute.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 05:58:29 +00:00
zhaoertao 38ce4c7423 setting the password expire time to 0, never expired
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14021 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 03:03:49 +00:00
phamt f97f520619 Removed overflow attribute for datatable class in css.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14019 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 19:16:57 +00:00
nott 4495c0dc3a check if node belongs to server before defining
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14018 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 19:05:47 +00:00
nott 43d01f4bde fix SN name in checkNIMnetworks call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14017 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 18:53:35 +00:00
lissav 12c147a5c5 check for input of multiple internal postscript names
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14016 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 17:57:45 +00:00
lissav a3175f5df1 add processing for each subsection of the mypostscript file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14015 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 17:13:49 +00:00
lissav ad5379756b Do not check existence of postscripts with start-here
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14014 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 12:58:02 +00:00
jjhua ac86a05cda a little update for precreatemypostscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 08:48:17 +00:00
jjhua 5c1031647a Some enhancement to parse the mypostscript.tmpl
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14012 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 08:44:27 +00:00
jjhua b5edbdcad9 made some changes in the mypostscript.tmpl
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14011 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 08:41:19 +00:00
xq2005 fefff805b5 change == into = for the rcons script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 08:22:22 +00:00
jjhua a1edd1ece5 performance enhancement, site.precreatemypostscripts=1 support for linux diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 07:36:06 +00:00
daniceexi 7cae9aaa93 To make genimage to be run cross distro levels. Technically, there's no issue to cross the whole distro (sles/rh). Officially, only the distro with same major version can be suported.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14008 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 06:40:00 +00:00
xq2005 97f1c95cc7 fix the restart error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14007 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 01:51:15 +00:00
phamt 6256117b49 Synched up xCAT code to the latest. Added native SCSI/FCP support onto trunk. Replaced tabs with 4 spaces.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14006 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 01:50:28 +00:00
jbjohnso c14747ac04 Table.pm in a refresh scenario with cache not currently in use, but existing none the less, mark the cache as invalid by setting the timestamp to 1970
Still avoid *rebuilding* the cache, as in the use_cache not set suggests a mass amount of setAttribs and build_cache(1) would be extremely expensive,
just force the next consumer after the set to take the hit

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14001 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 16:31:55 +00:00
lissav 5fbb634235 new mypostscript format
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14000 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 13:49:33 +00:00
lissav 6e115c511a Make tolerant of new mypostscript format
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13999 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 13:47:41 +00:00
lissav 4b3a85a303 Do not exit just because on os or arch defined for node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13998 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 11:49:01 +00:00
jjhua c9e0617ac9 add the description for site.precreatemypostscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13997 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 08:37:36 +00:00
jjhua 887b77eebf the template file of mypostscript for all the nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13996 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 08:08:56 +00:00
jjhua 8be6104a56 To support site.precreatemypostscripts=1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 07:15:19 +00:00
leiaibj caa1483714 1. Add support for unmanagement nodes
2. Add support for replace node's Provisioning MAC address
3. Enable specify rack/chassis info while import nodes and do nodes discovery.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 07:11:26 +00:00
xq2005 e2783f3e6c update the pkglist for genimage ubuntu12
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13993 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 06:54:48 +00:00
jjhua 43c4fada08 To support site.precreatemypostscripts=1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13992 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 06:53:25 +00:00
jjhua 0dcf2e1e9c To support site.precreatemypostscripts=1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13991 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 06:45:21 +00:00
jjhua 5a395d4da6 To support site.precreatemypostscripts=1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13990 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 06:31:26 +00:00
jjhua 521da69833 the subroutines to generate the mypostscript for each node, according to the template mypostscript.tmpl
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13989 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 06:06:48 +00:00
jjhua 5209a92de1 To support site.precreatemypostscripts=1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13988 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 05:43:45 +00:00
jbjohnso ad9945e953 Extend ipmi sequence validity through rqaddr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-11 21:02:53 +00:00
jbjohnso 354e960cfb Fix problem where node specific errors in some ipmi scenarios are not associated with a node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13984 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-11 18:02:09 +00:00
immarvin beb47bb0f3 1.corrected defect 3053 2.update nodelist.updatestatus during 'updatenode -P/-S/-k';2.support nodelist.updatestatus update during 'updatenode -P/-S/-K';3.fix defect #3124 Postage.pm writes error message in /xcatpost/mypostscript: only write <data> field of getpostscript response to mypostscript, complain and terminate when getpostscript failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-11 08:48:20 +00:00
ligc 628806fd81 fix for XCATBYPASS=1 could not work with commands depends site attribute, like makedns=>site.dnshandler
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-11 04:33:40 +00:00
jbjohnso e05b4b8cdd Remove dead code resulting to changing to property api
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13979 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 19:09:52 +00:00
jbjohnso 3fd00c599a Change IPMI to use IMM properties interface instead of FMAPI, must faster and simpler and likely to work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13978 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 19:05:42 +00:00
mellor 5ff462e202 support multiple osimage otherpkglist files for updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 18:22:23 +00:00
mellor 1467e23c80 fix xml output from lskmodules
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13975 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 16:51:32 +00:00
nott d404462494 modify rc.dd_boot setup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13974 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 15:28:30 +00:00
jbjohnso c492b1a276 Have slpdiscover.pm tolerate more variation in IMM prompt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 14:16:57 +00:00
mellor 198bf66e1c fix xml output from lskmodules
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 12:30:20 +00:00
wanghuaz 06a30a2322 Code commit for kit support and several updates according to latest mini-design
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13970 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 12:26:06 +00:00
xq2005 13cd4bff41 use update-rc.d to setup xcatd service in post install procedure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13969 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 06:48:45 +00:00
lissav 4d707f6c8f add getpostbootscripts routine and put a small fix in getsynclists routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13967 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-09 19:14:06 +00:00
lissav bc5e164163 Enable CFMUtils interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13966 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-09 11:17:17 +00:00
xq2005 de821501e5 update the install script for xcat-genesis on ubuntu12
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-09 07:12:14 +00:00
xq2005 644560d1d4 stop tftpd-hpa on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13964 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-09 06:52:12 +00:00
ligc dbd9163755 fix for bug 3122: add the usercomment in Schema for linuximage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13962 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-09 06:32:14 +00:00
jbjohnso 16f9d196ca nmap ipv6 support can be pretty easily messed up, change probe parameters from default '80'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13961 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-08 21:08:03 +00:00
nott ecc1150d56 fix rmnimimage for hasn env
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13960 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-08 19:16:29 +00:00
jbjohnso 4aa483e6a4 Fix problem where xcatd start fails to relay data to launcher process due to buffering
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13959 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-08 18:05:36 +00:00
lissav 08912283aa test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-08 12:55:41 +00:00
zhaoertao 347094fa7c fix bug 3120 rflash working with --activate concurrent failing on HMC based P7 server
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13956 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-08 10:02:38 +00:00
asirxing 3ac841c96c Fix code error and update the codes according to review/testing comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13954 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-08 08:55:58 +00:00
leiaibj 76d1580a3e changes:
1. Change file and plugin name: remove "PCM/pcm".
2. Implenment lock query sub
3. Use sinfo indicating processing progress


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13953 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-08 08:40:30 +00:00
jwsimpson a2f73a2b8c git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13948 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2012-10-04 21:02:15 +00:00
nott f9b05e488b fixed error returns in update_spot_sw
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13946 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 20:01:59 +00:00
jbjohnso 7d023e94ac Fix glaring mistake in previous commit where 'FAILED' and 'all good' were indistinguishable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13945 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 19:56:35 +00:00
jbjohnso ab965b04ed Have IPMI more decisively quite should the password be incorrect. Hypothetically a DoS could be aimed at the client, but that's much less likely.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13944 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 19:56:29 +00:00
jbjohnso 205df57942 Enhance rvitas led output with more readable information when possible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13943 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 19:47:08 +00:00
nott 0429a7df4a add more output msgs to software install operations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13940 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 19:45:36 +00:00
nott 3590bf4b0c manage SN resource defs from MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13939 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 18:20:32 +00:00
jbjohnso cdcf25ce89 Fix problem where sensor numbers could accidentally pull in LED or FRU records
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13938 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 18:15:31 +00:00
linggao 975abca7b0 defect fix for otherpkgs not able to pick up the newly added repositories. Also removed the auto upgrade because it wipes out the change for Mellanox rpms.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13936 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 12:56:10 +00:00
jwsimpson 171c8aa118 update to correct problems with post boot script changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13935 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 11:27:29 +00:00
lissav 2361faaf6c handles multiple syncfiles for an osimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 11:15:26 +00:00
nott cabf9274fa fix cp cmd for copying client_data files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13933 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-02 18:02:42 +00:00
nott dcc1750c48 fix cp cmd for copying client_data files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13932 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-02 17:52:47 +00:00
jbjohnso 3004f6493f Have xcatd launch process monitor xCAT SSL instance to assure it gets off the ground before exiting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13931 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-02 17:52:18 +00:00
lissav 3ae89517fa more comments for fixes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-02 11:23:06 +00:00
jbjohnso dc981d4d7c Add stateless support for Oracle Linux 6.x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13929 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 20:29:12 +00:00
jbjohnso a96ac1cbc4 Add a compute install template for Oracle Linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13928 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 19:52:35 +00:00
jbjohnso 20f6e5f026 Add support for Oracle Linux 6.x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13927 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 19:52:29 +00:00
jbjohnso ea2114d9ef Fix problem where tgtadm as of late frequently prefers iSER, which would be great but has some steeper underlying requirements that make it harder to use.
Software iscsi for now continues to be intended primarily for prototyping, with an expectation of beefier storage.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13926 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 19:52:23 +00:00
jbjohnso ea4c75b388 Address typo in previous ipmi commit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13925 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 19:52:16 +00:00
jbjohnso f23561573c umount -l when a loop devices is involved may be problematic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13924 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 19:52:10 +00:00
jbjohnso 1ea24371ca Stop lazy unmounting when loopback devices are on the line...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13923 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 19:52:03 +00:00
jbjohnso 786e61680f Skip nodelist.status changes in event of suspend or wake for now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 18:08:59 +00:00
lissav 64c3be21ae Match up Schema with V18 of database design doc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13920 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 17:52:44 +00:00
lissav be2f6b262c routine should create synclist.cfm new each time. No use records should be in the file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 16:37:08 +00:00
lissav 0c5426ead0 changes and suggested changes marked with LKV
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13918 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 16:12:16 +00:00
wanghuaz e7325b41b3 Added addkitcomp command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-29 17:03:42 +00:00
lissav cbca0e5878 add support for sinfo tag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-29 10:40:25 +00:00
lissav add4e7a867 change cfmdir from osimage to osimages in the path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13914 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-28 17:10:39 +00:00
lissav b24e1feb23 fix for defect 3117
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13912 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-28 12:12:58 +00:00
lissav fdfeaad131 Add to nodestatus comment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-28 10:42:57 +00:00
asirxing 6b827de526 Update CFMUtils to enable the verbose message and optimize the logic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13909 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-28 01:49:39 +00:00
lissav 6b7a4aa1c9 Remove Schema.pm.PCM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-27 13:53:58 +00:00
lissav 68dd68c47e Updated Schema will all PCM requirements based on V16 of the PCM db design doc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13907 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-27 13:53:15 +00:00
lissav 1fbfc40df1 checkin call to CFMUtils more testing needed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-27 13:51:15 +00:00
jjhua f61d3bce03 fixed bug 3113, remove some error message when clearing the last configuration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13905 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-27 09:31:21 +00:00
leiaibj 8b87922c73 PCM discover initial draft ready
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13904 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-27 08:56:19 +00:00
mellor 31cafd39c4 lskmodules support for PCM integration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13903 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 19:57:20 +00:00
mellor ba2821ad31 lskmodules support for PCM integration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13902 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 19:28:17 +00:00
lissav f5df1bab88 fix error message and remove commits, fix Table opens
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13901 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 18:06:42 +00:00
lissav ef434876c1 cleaned up GetNodeOSARCH from defect 3095
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 14:10:06 +00:00
lissav f7fa23352c fix syntax error in TableUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 14:02:00 +00:00
lissav 35b563f43d Schema.pm.PCM matches V16 of design
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 13:34:51 +00:00
xq2005 24d81c3019 change version and json dependence
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 07:43:12 +00:00
xq2005 ece9baa5a4 change version and json dependence
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 07:25:01 +00:00
xq2005 9110102e1e change version and json dependence
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13895 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 07:18:39 +00:00
zhaoertao ecd1c5999f Fix bug:3095. Routine opening unnecessary tables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13894 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 06:10:39 +00:00
ligc 4be6f6447b fix for bug 3111: diskful SN + diskful CN, call make_SN_resource with wrong arguments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 06:03:01 +00:00
asirxing 5742f2c0f1 Update CFM Utils to support multiple synclists and pkglist attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13891 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 02:32:10 +00:00
mellor 1066cf8279 lskmodules support for PCM integration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 20:53:24 +00:00
mellor 9df8424b8b lskmodules support for PCM integration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 20:50:25 +00:00
lissav 55fc08fa74 add stub for call to CFMUtils
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 18:19:37 +00:00
bp-sawyers 94b88782b7 test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 18:07:17 +00:00
bp-sawyers 0cc3a515fc test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13886 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 18:06:40 +00:00
lissav b01e805194 new routine and cleanup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 18:03:10 +00:00
jjhua 12ce82d7e8 comment out removing the /xcatpost in the beginning of the xcatdsklspost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 13:18:00 +00:00
xq2005 0af054755f build xcat-core on ubuntu/debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 12:17:50 +00:00
zhaoertao de5444c466 fix bug 3073: ddns.pm sets umask 0007 and never restores original umask
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 09:19:21 +00:00
jjhua cca1e68ad8 enhance packimage/liteimg to copy /install/postscripts into the diskless images as /xcatpost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 02:51:23 +00:00
wanghuaz 6c16503d37 Added addkit/rmkit commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-24 15:03:58 +00:00
wanghuaz acb2f2a11d Added addkit/rmkit support in kit.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-24 15:02:51 +00:00
lissav f76b47299c Document synclists can be multiple files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13878 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-23 11:16:27 +00:00
bp-sawyers a18348883d Eliminated hard requires for SOAP::Lite and JSON
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-22 16:20:24 +00:00
linggao 4ea6bae9a0 fixed a defect for chvm -a
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13874 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 16:52:13 +00:00
daniceexi 9c21a4d53f fix the issue that run command against vms which mixed that bind to host or not
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13871 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 07:41:39 +00:00
daniceexi 6016af8f56 refine the man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13869 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 02:11:13 +00:00
daniceexi ee74e2b546 change the help for cfgve
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 02:02:01 +00:00
daniceexi 695f498f2a fix the -n and flag order
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13865 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 01:54:34 +00:00
daniceexi 8bdf7e05d9 defect 3102: change the flag name for vlan in cfgve to create network obj
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13864 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 01:29:32 +00:00
daniceexi 788c4ac91c add again with new execute permission
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13860 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 01:04:41 +00:00
daniceexi dcda42d7f3 remove to change the permission
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 01:02:53 +00:00
bp-sawyers 927c85bebc another test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13858 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 00:06:56 +00:00
bp-sawyers 746ea1a4b1 test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13857 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 20:44:03 +00:00
lissav 7c47c20be0 support multiple synclist files in the osimage.synclists attr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13856 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 18:58:47 +00:00
bp-sawyers 57d4fb8e4d test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13855 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 17:55:58 +00:00
lissav f97a88536b test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13854 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 16:32:03 +00:00
lissav b549d78e2e fix missing updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 16:16:36 +00:00
lissav e921722aa2 test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13852 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 15:26:03 +00:00
lissav 46af214a9e add ALL option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13851 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 15:12:03 +00:00
daniceexi 944d18b0ce defect 2966: fixed the issue that xcat pid files were put in /tmp/xcat which would be cleaned periodically. now move it to /var/run/xcat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13850 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 14:30:14 +00:00
bp-sawyers c2658bc27f test commit on new svn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13849 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 13:51:25 +00:00
daniceexi 6e1f26c467 fix a typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13848 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-19 06:52:07 +00:00
wanghuaz 8191a663cc Fixing bug 3568357: Overwrite the swapnfs tmp file instead of append it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13846 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-19 06:05:04 +00:00
nott 6e23f41286 fix for bug 3568424
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 19:22:14 +00:00
lissav ce053414e4 fix getSNList to be filter out the MN if ALL not selected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13841 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 13:18:59 +00:00
lissav a98a295d23 new interface to getAllSN due to MN in servicenode table, also added use strict back in loss on the split and fixed the errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13840 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 12:57:53 +00:00
lissav 8248d56a4f add use strict back
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13839 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 12:42:49 +00:00
ligc 58831323b3 fix for bug 3568791: add nfs export options -vers 3:4 for /install/postscripts on SN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 12:07:55 +00:00
lissav 27c94dec21 xcatconfig -m only sets group=__mgmtnode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 10:52:30 +00:00
lissav dfb8898ec2 remove postscripts.rules
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 10:48:57 +00:00
lissav 11d885a025 remove postscripts.rules
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13834 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 10:48:20 +00:00
daniceexi a6f2f19082 several fixes for rhevm support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13832 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 08:32:45 +00:00
wanghuaz a18f195f0d Fixing bug 3567143 and 3568764, update PE/essl for hpc integration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13830 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 06:52:34 +00:00
immarvin 36dda35ce0 corrected the issue that PBS cannot run in first boot after installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-17 11:12:39 +00:00
ligc 293d1c0209 fix for bug 3567955: parse the hostname to ip address before indicating more than one xcatmaster for HA SN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13828 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-17 09:17:23 +00:00
daniceexi 6fb54f8730 remove a empty line which cauased an warning during pod2html
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-17 07:10:20 +00:00
jbjohnso ccaacfd954 Fix mistake with sid increment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13823 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-16 12:55:27 +00:00
lissav cb0d7edc64 fix incorrect library for get_site_attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-16 10:23:47 +00:00
jbjohnso fe4b65400f Several changes to improve IPMI behavior, *particularly* with IPMI 2.0
-Go back to restarting the log in process if rakp2 or rakp4 goes awry, it's too likely for a dropped packet to confuse IPMI 2 devices.
-Fix relog to reset session context to avoid getting distracted by now stale RAKP messages if the IPMI device happened to be slow
-Switch session ids on relog, so that everything can ignore packets from a zombie IPMI session reliably (e.g. relog recovery of a session).
-In parse_ipmi_payload, delete pendingargs in addition to deleting sessions_waiting entry.  The latter should have sufficed, but there persisted an odd
 issue where sometimes the last non-logout packet was erroneously retransmitted as retries at the end.  This change short-circuits
 the timedout function should this occur, generally delaying exit by 100 milliseconds whet it goes wrong.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-16 03:53:43 +00:00
jbjohnso 98ffaf7fbc In accordance with previous change, always act as if logout completed successfully without checking the result
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13812 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-15 13:23:30 +00:00
jbjohnso 9bab28ab00 When doing close session, if the reply packet is dropped on the network, session may no longer be closeable. Send a close session and hope for the best, do not hold up things waiting
for something that shall never come

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-15 13:23:22 +00:00
jbjohnso 8f1fd066e2 Fix problem where rvitals fails to gracefully handle situations like timeout on a sensor read
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13810 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-15 00:57:52 +00:00
jbjohnso 95fbd48c1e Eliminate instances of recursive timedouts really ruining our day in IPMI
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13809 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-15 00:57:44 +00:00
jbjohnso 1f5e91d32e Rework IPMI.pm IPMI 2 session negotiation a bit, now we take care to make sure the most recent open rmcp+ request is the one used
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13808 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-15 00:57:28 +00:00
jbjohnso 64d767ab44 Revise ipmi 2 session establishment to be more forgiving of retries during the process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13805 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 15:01:43 +00:00
lissav 0680a2fab9 add XML getTablesAllRowAttribs routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13804 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 13:25:54 +00:00
daniceexi d6ee2b1072 defect 3539473: disable the xcatdebug to be run on aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 13:24:12 +00:00
daniceexi dded0c9f2d add a new site attribute site.tftpflags which used to specify the tftpd parameters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13801 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 12:40:18 +00:00
xq2005 827a711e6b add nfs-common, snmpd into default pkglist for ubuntu full install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 08:33:46 +00:00
xq2005 40837eb2ed support pkglist for ubuntu full install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13798 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 08:01:03 +00:00
immarvin 4f638c093b correct some typos
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13797 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 03:16:04 +00:00
daniceexi 451b2e3f2a fix the defect that force to stop xcatd for each restart
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13796 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 03:14:45 +00:00
immarvin d5b11ebfcb add a new value nodelist.status=failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13794 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 03:07:13 +00:00
immarvin 16716de481 set site.nodestatus as a environment variable {NODESTATUS}
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13793 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 02:58:34 +00:00
immarvin 18685bccef add a global variable return_value to keep the return value of the postbootscripts, do not update nodelist.status if site.nodestatus='n'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 02:46:50 +00:00
immarvin dc1d86412c set nodelist.status to failed if some postscript or postbootscript failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 02:31:14 +00:00
immarvin 38e5b69d6b set nodelist.status to failed if some postbootscript failed during node privision;prohibit status update if site.nodestatus='n'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 02:15:23 +00:00
jbjohnso 54f4616dbc Rework IPMI seqlun management to avoid accepting the same data twice as valid instead of retry
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13788 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-13 21:00:07 +00:00
lissav 56ab665d2a change name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13787 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-13 18:24:34 +00:00
phamt 616a35fd01 Replaces tabs with 4 spaces and formatted code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13785 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-13 16:04:42 +00:00
lissav 624fc39bbf V0.15 of the Schema
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13784 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-13 13:15:28 +00:00
lissav e786262c56 add getTablesNodeAttribs XML support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13782 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-13 12:01:48 +00:00
brianfinley 253a5dd478 - s/atrribute/attribute/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13781 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 21:06:23 +00:00
linggao 14e4537d80 use nmap before using fping in PPCenergy.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13780 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 19:24:22 +00:00
linggao 500cbef47d eliminated the dependency on fping for Linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13779 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 15:47:43 +00:00
linggao 0592ad03d6 changed the monitoring code to use nmap for getting node status
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 15:05:57 +00:00
lissav 25c4b4ec8f checkin getTablesAllNodeAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13776 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 13:45:34 +00:00
daniceexi c624d51c86 fix the issue of clone vm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13775 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 08:25:07 +00:00
zhaoertao be8fea6a0e fix bug 3558819: rscan cannot identify mm as CMM for firebird
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13773 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 08:10:26 +00:00
jjhua 6adf22b30e remove some improper comments.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13771 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 06:40:26 +00:00
jjhua 63dc1b56cb link the osdistroupdate to ../bin/xcatclientnnr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 06:37:09 +00:00
jjhua 408d57ecb2 osdistroupdate command -- an internal command. Creating/listing/deleting os distro updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13769 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 06:32:45 +00:00
amy0701 30866f093c update testcase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 06:25:35 +00:00
lissav 6706171e02 Match V0.14
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13766 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 17:54:19 +00:00
linggao 398989df54 modified the description for switch.vlan and switch.interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13765 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 15:22:42 +00:00
lissav 7a4cc33c2a PCM schema matched to V 0.13 of design doc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13762 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 14:01:41 +00:00
jbjohnso 4624ff5fe6 Back off change to discovery process to care one way or another about 'primary' interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13761 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 13:42:33 +00:00
lissav 8d491dc184 PCM schema matched to V 0.13 of design doc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13759 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 13:25:17 +00:00
lissav c1906b8e08 rename XML routine to setNodesAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 11:33:45 +00:00
leiaibj d89e6e1c7c Update codes after xCAT team review. comments: add more comments in codes, and also use runxcmd instead of call request commands directly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13756 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 06:14:50 +00:00
daniceexi a72e4b8fbe update the usage for ls/cfgve, ch/rmhypervisor
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13754 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 06:08:13 +00:00
ligc 12622d0ca6 fix for osimage.postscripts and osimage.postbootscripts are not run on compute nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 05:47:53 +00:00
jbjohnso 842cb67bd6 Correct RHEL grub buggy behavior when detected on EFI installs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13751 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 20:47:52 +00:00
jbjohnso 7cf628060e Fix problem where only one profile was processed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 20:26:55 +00:00
linggao 102aa513e4 bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 19:35:23 +00:00
lissav 8f99448693 fix how to define mn in the database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13748 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 19:02:08 +00:00
lissav d913682fe2 base check for MN on __mgmtnode group name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13747 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 18:59:47 +00:00
jbjohnso 93f5b9f6cb Make extra effort to assure /mnt/xcat is not held in event of catastrophe
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13746 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 18:58:03 +00:00
lissav 45edd600c4 change MN group to __mgmtnode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13745 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 18:51:35 +00:00
daniceexi 39e43e0b40 refine the man page for cfgve
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 14:43:21 +00:00
daniceexi d9d192de53 add man page chhypervisor to replace cfghost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 13:53:32 +00:00
daniceexi d853aa4373 move cfghost to chhypervisor
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13739 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 13:49:17 +00:00
daniceexi aff57805a0 move man page of cfghost to chhypervisor and add rmhyperviso
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13738 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 13:42:57 +00:00
daniceexi 5f0356e6b1 use ch/rmhypervisor to replace the cfghost command. fix the network attaching and cfg host nic issues
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13737 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 13:15:51 +00:00
daniceexi 068d432542 For rhev support: remove the vm.template, but use vm.master to replace
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13734 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 13:07:31 +00:00
daniceexi 4b5020cf72 defect 3552206: removed the limitation that forbid the updatenode -S to diskless node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13733 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 07:55:07 +00:00
asirxing 79f855fb79 Updte header of initCFMdir to fix unrecognizable characters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13732 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 02:56:08 +00:00
asirxing 958140ee82 Updte header of initCFMdir to fix unrecognizable characters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13731 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 02:48:52 +00:00
daniceexi 23a2c6c60f defect 3564667: fix the path for SL6 which will use the common path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13730 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 01:48:33 +00:00
lissav a53aa1be66 Remove obsolete code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13728 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-08 10:14:07 +00:00
lissav c5f1214469 Take out bad host processing until redesign to get rid of inf loop in getdata
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13727 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-08 10:11:32 +00:00
nott 696c1b486a fix statelite setup bug - 3564958
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-07 18:21:23 +00:00
leiaibj bef2a2a82e Node management sprint2 works, reviewed by xCAT beijing team
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13724 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-07 08:19:36 +00:00
lissav 6961c84384 fixed hierarchy -k, still some work to do in that area and more testing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13723 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-06 19:23:22 +00:00
lissav a5bd669943 fix defect 3564697
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-06 15:49:56 +00:00
jbjohnso ae54f6a4c5 This needs to be rethought, it breaks x netboot
Revert "fix bug 3529429 for kdump failed on non-p7 ih plinux"

This reverts commit 9eb7de3d634ca1f7fe857df50976ca6614281e83.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13720 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-05 21:09:18 +00:00
lissav aff28da21d xdsh adding an undef entry on the returned data, causes syntax error in runxcmd you only see under bypass mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13719 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-05 17:22:11 +00:00
wanghuaz bdb522e621 Fixing bug 3563735: remove several ksh scripts on Linux management nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13717 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-05 08:09:08 +00:00
lissav 5fb0a1989e xCAT Schema based on V11 of the database arch doc.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13716 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-04 15:32:32 +00:00
jbjohnso a31a7ad78d Fix iso with space
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13715 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-04 14:15:55 +00:00
ligc ffc39dff2e add additional steps into xcatconfig: disable selinux, configure static ip address, setup ntp server, disable firewall
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-04 09:24:29 +00:00
ligc 2736fe0588 add new postscript configfirewall for PCM team
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13713 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-04 09:18:37 +00:00
daniceexi 0328c2b9e7 fix the missunderstanding for the kernel parameter rhevm_admin_password. Which is used to set the root passwd of host
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13712 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-04 07:48:26 +00:00
amy0701 3238ea6760 add diskless installation for sles ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-04 02:45:42 +00:00
jjhua c8499d58c1 updatenode performance enhancement: remove the code to get the postscripts.tgz, This method is not acceptable.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-04 02:38:11 +00:00
jjhua e6ace37bc9 updatenode performance enhancement: remove the code to tar postscripts. This method is not acceptable.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13707 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-04 02:37:01 +00:00
wanghuaz a831051d1b fixing bug 3562874: use modules.dep to get nfs.ko dependencies and add them to initrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13706 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-03 09:34:52 +00:00
daniceexi 424c0e1476 fix the issue that missed to add the xcatrhevh.cgi to the xcat-ws.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13704 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-03 09:08:11 +00:00
yinle 55cbc5fa4b fix bug 3563351: lsslp -r flag provides error on ST NGP xCAT MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13703 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-03 07:39:45 +00:00
xq2005 fe70b3731a update the discover page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13700 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-03 04:07:34 +00:00
amy0701 c6492af56f update linux_full_installation to support sles11
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13699 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-03 03:13:02 +00:00
amy0701 1c0206320f add testcases for ngp firebird
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13697 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-03 02:38:42 +00:00
xq2005 65d1ad39bc the code change for flush output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13694 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-03 02:29:29 +00:00
phamt fa3822b7b3 Fixed makehosts problem in xCAT-UI.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13692 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-01 12:32:02 +00:00
phamt 2a6d3fa386 Fixed s390x postscripts to use HTTP server instead of FTP.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13691 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-01 03:28:41 +00:00
nott d22ed464ab fix output from chroot command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13688 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 17:44:06 +00:00
jwsimpson e9a96fbfbe Updates to support postbootscripts on reboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 15:52:31 +00:00
bp-sawyers 804db0fabd documented site.usexhrm attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13686 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 14:28:04 +00:00
daniceexi 22645aa791 Fix the issue that missing of display id attribute for Blaketip blade that mgt=ipmi
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13685 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 09:17:35 +00:00
daniceexi 628c765718 add the supported type for dc,cl
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13681 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 07:06:43 +00:00
xq2005 28d00d9d8a copycds return directly if the file is not a ubuntu iso
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 06:48:08 +00:00
xq2005 27542f3df8 tftp start on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 06:44:44 +00:00
immarvin 01461cdc50 add some comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 06:22:57 +00:00
immarvin 1f0807ab5c link rmosdistro to xcatclientnnr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13677 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 03:31:39 +00:00
immarvin 7cc1cc8616 delete lsosdistro and mkosdistro, add comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13676 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 03:29:22 +00:00
immarvin 14379fd1a6 remove xcatosdistro, use xcatclientnr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 03:27:06 +00:00
xq2005 5adde1bca5 fix compress error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 02:48:04 +00:00
asirxing 31b3a8ab64 Add PCM CFM utilities
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13673 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 01:37:38 +00:00
lissav c7cf72f3a2 fix for defect 3546058
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13672 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 17:14:21 +00:00
lissav 1fdcfdb959 fix for defect 3562802
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13670 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 16:05:33 +00:00
lissav d0d45062f6 add new hpc scripts from perf team
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13669 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 15:07:38 +00:00
cjhardee c30c73c726 Allowed the put data to be passed in the query string for table puts and patches
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 15:01:58 +00:00
lissav cd5a26cc0a add ping-all sample
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13666 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 14:47:08 +00:00
lissav e51aab606c add info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 14:27:09 +00:00
phamt 6b9007e64a Undo some of the latest changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13663 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 14:01:04 +00:00
lissav 612ce0ae0e make running mkknowhosts and setup of ssh keys ( xdsh-k) a common routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13662 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 12:41:20 +00:00
immarvin f5eb1bc89c man info for rmosdistro
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13661 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 10:55:18 +00:00
immarvin 367ae48231 plugin to support osdistro management
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 10:06:40 +00:00
immarvin dc6eeace31 plugin to support osdistro management
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 10:00:37 +00:00
immarvin 9fc62249bd create a link bin/rmosdistro to bin/xcatosdistro
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 09:37:17 +00:00
immarvin 5110d39705 add osdistro management cmds, such as rmosdistro
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 09:33:10 +00:00
immarvin 452dbe05a6 add update_osdistro_table , modify update_tables_with_templates and update_tables_with_templates to support osdistro
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13656 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 09:22:56 +00:00
immarvin fc1e1386a1 update osdistro table after copycd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 09:20:34 +00:00
immarvin 50d6a62ca6 update osdistro table after copycd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13654 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 09:19:27 +00:00
immarvin 27b063b125 add osdistro table definition and defspec, add osdistroname attribute for osimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 08:55:17 +00:00
immarvin 96943769a1 update the getaddsensorevent for new sensor events
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13651 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 07:09:50 +00:00
immarvin f0e2c1dee5 update the getaddsensorevent for new sensor events
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 06:48:21 +00:00
zhaoertao 11969ad8ef modify the calling of subroutines that moved out of Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13648 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 05:41:24 +00:00
xq2005 9dc24a55c8 support the dhcpd service on ubuntu 12.04
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13647 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 02:16:24 +00:00
jjhua 49340ac37d comment out the debug messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13646 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 01:56:59 +00:00
daniceexi 30c719679b add the support for creating localfs storage domain and creating of data center and cluster
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13645 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 01:54:39 +00:00
jjhua 8d6902753a use , instead of : as the delimiter in the value of the osimage.pkgdir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13644 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 01:52:27 +00:00
nott 4dc8589031 fix the copying of client_data files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13642 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-29 18:42:41 +00:00
lissav 37bfa46c47 Add some comments about how xdsh handles the -E <file>
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13641 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-29 17:11:57 +00:00
lissav 7ad66da239 Add some comments about how xdsh handles the -E <file>
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-29 17:03:22 +00:00
lissav bd52d4bc3b add support for ENV variable input
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13637 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-29 14:53:19 +00:00
lissav 61effa015c add support for ENV variable input
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-29 14:49:36 +00:00
lissav ac50b60f73 fix man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13635 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-29 14:12:21 +00:00
lissav 709cd8c0ac add check for perl-DBD-Pg installed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13634 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-29 13:50:56 +00:00
lissav 76f7e2310c Got non-hierarchical node updatenode -k working correctly, some cleanup, more to do
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13633 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-29 10:21:39 +00:00
lissav 48367b9fb6 fix getNodesAttribs multiple entry problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13631 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-28 19:37:01 +00:00
lissav 5c1a1383f9 document getNodeAttribs improvement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13627 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-28 15:07:28 +00:00
jjhua 82719795ef updatenode performance enhancement.1. get the /postscripts.tgz firstly, if fails, try the original procedure; 2, remove the sleep() action in xcatdsklspost script, because Jarrod did some enhancement in xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13626 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-28 11:43:52 +00:00
jjhua fcf725f88d updatenode performance enhancement. 1, tar the postscripts for xcatdsklspost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13625 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-28 11:39:41 +00:00
daniceexi 5a2e1e6a04 fixed a typo to generate the path of initrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13624 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-28 08:29:10 +00:00
linggao 014006e510 multi vlan support for kvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13622 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-27 20:28:24 +00:00
daniceexi 15dd2b9ad2 Add man pages for rhev commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13618 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-27 14:00:27 +00:00
daniceexi ce0980f030 add usage for rhevm commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-27 13:58:14 +00:00
yinle 7f0c5a915f Fix the mistake that bpa has redundant 0 in ip address (41.01.0.1).
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13616 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-27 07:05:05 +00:00
yinle a2e8f65c21 Fix the mistake that xcatsetup defines redundant fsps.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13615 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-27 06:49:19 +00:00
yinle 182de6c93b performance improving of discovering hmc.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13614 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-27 06:11:39 +00:00
lissav dba7c5d40d fix defect 3555748
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13613 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-26 11:22:55 +00:00
lissav faf26892fd remove --user and --devicetype support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13610 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-26 10:07:41 +00:00
daniceexi 6d541ab510 Add the functions: delete SD, chvm, rpower suspend
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13609 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-26 04:33:19 +00:00
jbjohnso f5fee75ae9 Enable a node to control reporting of it's own state more carefully... provided it has an x509 certificate we bless.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13608 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-24 17:12:57 +00:00
lissav 7ee8876bfd add routine to divide nodelist into service and non-service nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13607 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-24 16:50:07 +00:00
jbjohnso c919a2cd2a Add missing IPMI sensors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13604 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-24 13:59:25 +00:00
yinle dd42e9502d Made performance improvement of writing db.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13603 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-24 07:13:47 +00:00
yinle e5e92c55b8 Add some sleep to avoid http failure. Modify some trace information.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13601 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-24 02:10:40 +00:00
yinle 9261722205 Add some sleep to avoid http failure.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13599 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-24 01:55:11 +00:00
yinle 5ec7211f01 minor fix: remove the restriction of flag -t; modify hmc service type of slp request.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13597 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-24 01:35:32 +00:00
bp-sawyers 662046861d remove explicit perl-Net-Telnet requires from xCAT.spec and xCATsn.spec because it is automatically generated by rpm anyway
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13596 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 20:04:13 +00:00
jbjohnso 55c3a0ef04 Sometimes IPMI 2 implementations randomly complain about our math being wrong once in a few thousand tries, start over from scratch should this occur
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13593 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 18:21:25 +00:00
lissav 89a683b796 Let internal env variable override, still getting hostnames in request->{username}
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13592 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 18:20:17 +00:00
nott d01a86fe6c add completeosimage option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13591 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 17:14:07 +00:00
jbjohnso 7fce0d11b6 Further refine IPMI support, now pretty solid for 5,000 nodes at a time, still one more condition to recover from, erroneous bad auth code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13590 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 17:08:52 +00:00
nott cc76a05db4 add getNodeDomains
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 16:56:08 +00:00
lissav 7e171eb1df remove --userid --devicetype from updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13588 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 14:38:35 +00:00
lissav 9e892799d6 fix defect 3555671
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13587 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 13:56:05 +00:00
lissav 324bbc20f6 fix library
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13585 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 11:12:26 +00:00
lissav de83e9c163 fix library for get_ServiceNode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13584 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 11:07:27 +00:00
daniceexi 2479aba866 add vmmanager and vmtemplate attributes for rhev vm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13583 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 09:17:26 +00:00
daniceexi 0ced77f05b minor changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13582 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 09:16:34 +00:00
zhaoertao a732cb476d fix bug 3556007: modifications related to Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13581 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 04:21:28 +00:00
lissav 564a5df5cb Moving the true error after the usage, it obscures the true error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13580 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-22 19:13:27 +00:00
linggao 6b6b44b04e fix for vlan
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-22 19:09:26 +00:00
lissav 1078300eab some improvements and remove --userid --device support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13578 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-22 19:08:06 +00:00
lissav 57bd1255c1 some improvements and remove --userid --device support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13577 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-22 19:05:10 +00:00
nott 24ebb08c18 add -c option to mknimimage - 3509405
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13576 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-22 17:44:55 +00:00
lissav 3c4d265607 change and force build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13575 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-22 13:33:51 +00:00
zhaoertao 78dd04ac4a fix bug 3556007: modifications related to Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13574 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-22 07:36:09 +00:00
lissav 0864a72444 dumpxCATdb and restorexCATdb had wrong library for get_site_attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13573 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-21 19:46:39 +00:00
mellor b55da8ad16 3560316 change initial mount timeouts to match NFS defaults
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13572 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-21 13:00:15 +00:00
lissav d91af1c001 fix defect 3558801
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13570 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-21 11:11:58 +00:00
wanghuaz 97e4c8fac6 Added dev nodes in hpc integration which could install all the applications and their dependencies.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13569 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-21 08:25:04 +00:00
ligc 6007f02085 fix for bug 3560143: setup postgresql during xcat installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13568 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-21 06:43:25 +00:00
ligc 934084df40 fix for bug 3560143: setup postgresql during xcat installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13567 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-21 06:17:07 +00:00
yinle 032a6d79dc Fix bug 3543531:getAllNodeAttribs take too much time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13565 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-21 01:52:35 +00:00
ligc 151d11a3b9 fix for bug 3559982: chmod 755 for the netboot postinstall files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13563 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-21 01:36:58 +00:00
lissav e42b3dc34a backup change until see how many way called
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13562 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 20:52:20 +00:00
lissav 9959367888 fix check for updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 20:39:05 +00:00
linggao bfd8e946be changes for multi vlan support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13560 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 20:00:45 +00:00
lissav 9bd7ba8625 fix defect 3558801, do not set TZ if called by updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13559 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 16:32:28 +00:00
daniceexi a16b7d5144 Add cfghost,lsve,chfgve commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13558 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 14:03:30 +00:00
daniceexi 044395f7cf Add alias for xcatrhevh.cgi to web service
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13557 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 13:59:00 +00:00
daniceexi 418c371dae Add cgi to handle the status update for rhev-h when finished installing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13556 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 13:51:40 +00:00
daniceexi 3ce3fc1db7 Code drop for rhev support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13555 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 13:49:43 +00:00
daniceexi e3a7aa5f47 rhev support: pass source file to child pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13554 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 13:48:24 +00:00
daniceexi 436923e881 rhev support: add virtsd table and columns for vm and hypervisor tables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13553 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 13:47:51 +00:00
daniceexi 8caf1afbe2 rhev support: skip running of mkinstall for rhevh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13552 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 13:47:03 +00:00
zhaoertao e2e4361957 fix bug 3531793: wrong error message in rspconfig cmm initnetwork=*
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13551 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 07:26:39 +00:00
zhaoertao 940b7aef40 add prefix path for genpassword
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13549 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 04:35:15 +00:00
nott 67a96aa58d don't overwrite provmethod - 3557471
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13547 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-17 16:16:12 +00:00
lissav 449278bf97 defect 3414740 Merge aixremoteshell/remoteshell
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-17 11:44:15 +00:00
lissav 69684fce04 defect 3414740 Merge aixremoteshell/remoteshell
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13545 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-17 11:40:56 +00:00
lissav 1b336f15be defect 3414740 Merge aixremoteshell/remoteshell
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13544 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-17 11:39:23 +00:00
zhaoertao 62b01be3d2 fix bug 3558853:genimage need tg3 for firebird plus ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13543 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-17 09:07:37 +00:00
lissav 64585ccfcb fix defect 3558575
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13540 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 19:06:36 +00:00
nott 89ff24c51f do multiple bundles at once
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 18:36:07 +00:00
lissav 977b5c667a fix for defect 3556007
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13537 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 15:28:09 +00:00
lissav d69aea85f2 fix for defect 3556007
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13536 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 15:26:53 +00:00
lissav 4affb884ff Sn spec should be doing a restart of xcatd not a start
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 14:58:41 +00:00
nott 2c19058ab0 fix check ofclient name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13533 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 13:54:27 +00:00
nott 9bde1bf177 add check for persistent /var/adm/ras
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 13:20:44 +00:00
jjhua 641a7eca86 chmod +x to configiba.1port and configiba.2ports
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13530 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 08:00:33 +00:00
jjhua 09ce0901e1 fix bug 3558059. For Network controller: Mellanox Technologies MT27500 Family [ConnectX-3], there is not a keyword like InfiniBand, add Mellanox as the keyword; in mellanox ofed 4.0.x, it doesn't up the ib0/ib1 interfaces by default, so I update the configiba scripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13528 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 07:52:35 +00:00
jjhua 11e2ef4840 fix bug 3558059. For Network controller: Mellanox Technologies MT27500 Family [ConnectX-3], there is not a keyword like InfiniBand, add Mellanox as the keyword; in mellanox ofed 4.0.x, it doesn't up the ib0/ib1 interfaces by default, so I update the configiba scripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13525 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 07:43:16 +00:00
zhaoertao 64519483ae list out all the functions that has been moved out of Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13524 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 07:03:02 +00:00
jjhua dd3545d945 fix bug 3558059. If the os was updated from sles11 sp1 to sless11 sp2, and the mlnx-ofa_kernel-kmp-default could not be installed successfully. enhance the mlnxofed_ib_install scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13523 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 06:40:59 +00:00
jjhua c3154bc47e support the mellanox ofed 4.0.x for sles11sp2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13521 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 03:13:40 +00:00
jjhua 7659e028c5 support the mellanox ofed 4.0.x for sles11sp2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13519 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 03:11:12 +00:00
yinle bfe8d7b327 part of the fix of PMR 29187,066,866
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13516 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-15 13:52:26 +00:00
xq2005 b27e9870ec realtime output for xcat command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-15 12:45:57 +00:00
lissav 0113179a9c better example
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13513 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-15 11:38:01 +00:00
lissav 9561b79bf2 better example
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-15 11:36:24 +00:00
wanghuaz a498785451 Moving several changes from 2.7 branch to trunk.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-15 09:53:16 +00:00
nott 24c9ddd1be fix error msgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13508 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-14 15:32:31 +00:00
zhaoertao f587c4d535 fix subroutine moving issue in perl-xCAT/xCAT/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13506 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-14 12:02:13 +00:00
zhaoertao a70a6401fa fix subroutine moving issue in xCAT-server/lib/xcat/monitoring/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13505 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-14 11:57:30 +00:00
zhaoertao 3eda693ede fix subroutine moving issue in xCAT-server/lib/xcat/plugins/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13504 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-14 11:55:48 +00:00
zhaoertao 14afeedb9e fix subroutine moving issue in xCAT-server/sbin/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13503 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-14 11:48:59 +00:00
xq2005 2204106886 full install ubuntu on compute node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-14 11:22:52 +00:00
yinle ed1ca97eae minor modify about print information.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13501 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-14 06:53:05 +00:00
lissav 58543b771c fix changed routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13499 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-13 20:10:57 +00:00
jbjohnso abd6e28509 Correct errant addition of line te spec file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13498 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-13 19:51:17 +00:00
yinle 605c3ff43c Modify resetnet for demo.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13492 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-11 14:21:42 +00:00
yinle 028498f34e Modify the process of resetnet for demo.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13491 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-11 11:06:49 +00:00
yinle 448c709aed Fix some mistakes; add control to invoke disconnect.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13490 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-11 11:03:54 +00:00
yinle ca15e05f2d Add print information to lsslp. Put in the prm modification.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13489 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-11 07:05:28 +00:00
yinle b9f170fea9 Add print information to lsslp.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13488 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-11 06:56:45 +00:00
yinle 22fe09edb0 Fix bug 3555911: lsslp -I output format is different from manpage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13487 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-11 06:41:12 +00:00
yinle 916bd86a87 Fix bug 3555910:lsslp -i gives reduntant info which is not specified by -i
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13483 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-11 06:23:35 +00:00
jbjohnso d5064385f8 Fix problem where nodestat would make two ipv4 passes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13482 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-10 16:23:23 +00:00
amy0701 9590babced update testcases for imgexport
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13481 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-10 05:30:30 +00:00
amy0701 4e18949f09 update testcases for imgimport
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-10 04:35:29 +00:00
lissav 41b34ff9cb add check if nodetype defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13477 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 16:14:44 +00:00
amy0701 7d6b66d06a update testcase for lslite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13476 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 09:33:42 +00:00
amy0701 0be7b150fd update testcase for geninitrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 09:32:26 +00:00
daniceexi c9c00ec7fd defect 3555500, supress the warning when run xcat command in XCATBYPASS mode. It only happens for sles11.sp2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13470 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 08:54:22 +00:00
xq2005 59e6c5f418 code format in debian.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13469 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 08:49:43 +00:00
zhaoertao f06b7dbbc5 for item: clean up Utils.pm, the code in xCAT-UI/xcat/plugins/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13468 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:10:24 +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
zhaoertao 3a4f26c3cc for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/monitoring
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13466 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:05:37 +00:00
zhaoertao b9811ba810 for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/dsh/Context/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13465 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:03:01 +00:00
zhaoertao e822d0406e for item: clean up Utils.pm, the code in xCAT-server/lib/per/xCAT/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:00:45 +00:00
zhaoertao f0bc50d27b for item: clean up Utils.pm, the code for xcatd. the thishostisnot function has been moved to NetworkUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 03:58:34 +00:00
zhaoertao 92c1e16522 for item: clean up Utils.pm, the code in xCAT-rmc/plugin/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13462 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 03:51:11 +00:00
zhaoertao 571f3e3962 for item: clean up Utils.pm, the code in perl-xCAT/xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 03:48:50 +00:00
jbjohnso 21a301f6af Explicitly turn on network in templates that suggest network setup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13460 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 02:05:53 +00:00
jbjohnso 887266cc70 First pass at masking stock init script from FSM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13459 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 21:03:25 +00:00
jbjohnso 07b89a8df3 Hve nodestat also look for https server
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13458 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 20:59:29 +00:00
jbjohnso 1d4db3c080 Fix nmap to never attempt reverse lookup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 20:56:47 +00:00
jbjohnso 9764d338cd Further refinements of IPMI, defer retries until there is a guaranteed chance given for BMC to reply
Ensure every transmit gives an opportunity to process incoming data

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13456 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 19:52:02 +00:00
nott 7ea019857e clarify use of -n option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13454 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 18:14:19 +00:00
nott b01f3caece fix perl INC path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 17:48:03 +00:00
nott a4ee0bb853 fix perl INC path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13452 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 17:45:31 +00:00
nott 042c3cc544 fix perl INC path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13451 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 17:37:51 +00:00
nott ac30816620 fix perl INC path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 17:27:50 +00:00
lissav c0c737b26c use noderangecontainsMn routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13449 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-07 16:41:12 +00:00
lissav 35f3c53a4d use new noderangecontainsMN routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13448 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-07 14:57:31 +00:00
lissav 84ab9da2cf add check to see if the Management Node is contained in the defined noderange array input
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13447 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-07 14:55:24 +00:00
lissav af3efe7170 fix xdcp broken 3552171
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13446 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-07 13:25:52 +00:00
jjhua 6a491bec27 correct some grammar errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13443 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-07 08:54:11 +00:00
yinle 1285f0226c Fix PMR 29187,066,866
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13442 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-07 02:55:25 +00:00
jbjohnso 8d93c5ec4a Fixes for xcatws
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-06 21:04:24 +00:00
jbjohnso 4cc18fab26 Actually to flesh out osimage table, but don't complain when it fails
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13439 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-06 20:47:21 +00:00
lissav 958074c53a fix defect 3549482
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-06 10:00:48 +00:00
xq2005 d11a829dc4 change the fadump kernel parameter format
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13437 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-06 08:35:44 +00:00
xq2005 0d36fd6d84 change the fadump kernel parameter format
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13435 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-06 08:30:19 +00:00
wanghuaz 45492244fd Skipping comments in pkglist and ospkglist before processing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13433 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-06 07:07:50 +00:00
amy0701 8efc881946 update testcase for copycds for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13431 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-06 05:07:35 +00:00
amy0701 f1eb133bc5 update testcase for makedhcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13429 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-06 04:27:18 +00:00
cjhardee 18ee3bcc1d Hid the messages about updating the tables in certain circumstances, as it may be intentional
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13427 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-05 05:05:45 +00:00
cjhardee ee984847fb git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13426 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2012-08-05 05:04:07 +00:00
cjhardee 1acdee07e7 Made the unmounting lazy so it worked when in use
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13425 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-05 05:03:28 +00:00
lissav d489e54953 add MERGE info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13424 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-03 10:40:56 +00:00
daniceexi bf530633a9 Add the logic that use the mac of cmm to match the cmm which found from slp when switch:port match failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13421 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-03 08:50:15 +00:00
daniceexi a1e347ade2 add the new command slpdiscover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-03 08:48:26 +00:00
xq2005 c160394777 show the output information realtimely
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13416 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-03 02:57:33 +00:00
xq2005 026dd99301 support fadump on p7 ih
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13415 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-03 01:57:58 +00:00
xq2005 88922b24f6 support fadump on p7 ih cluster
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13413 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-03 01:51:51 +00:00
lissav b0618594cd Fix rsync function to MN, and filx APPEND
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13412 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 19:04:07 +00:00
nott 592546e369 check before restart inetd and nfsv4 setup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13410 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 18:14:08 +00:00
lissav d9cb5c4112 change rsync to MN to use rsync not copy and fix xdcp other bugs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13409 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 16:23:08 +00:00
lissav 27abf7c267 backing out last fix, having syntax errors in test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13408 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 15:10:25 +00:00
lissav c6695267b6 additional fix for 3552171, xdcp should not be syncing the synclist, if the node is not hierarchical
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13407 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 13:59:14 +00:00
bp-sawyers 5801156123 Have chain end in shell instead of standby
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13405 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 12:20:08 +00:00
amy0701 6fea46f2b1 update makedns testcase for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13403 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 07:46:03 +00:00
yinle 48faf4570f Modify the return value of resetnet.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13401 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 07:05:09 +00:00
yinle 22b7c0ab32 Modify the return value of resetnet.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13398 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 06:54:50 +00:00
zhaoertao bc25b8b239 fix bug about 'hwtype' string changing into a string array in hierarchical environment.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13397 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 06:54:34 +00:00
ligc 3142f33bde fix for bug 3553437: add be2net driver into the default list, it is needed by blacktip blades work with SLES 11
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13394 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 06:08:50 +00:00
ligc 026398c7b2 fix for bug 3553437: add be2net driver into the default list, it is needed by Firebird blades work with SLES 11
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13393 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 05:31:49 +00:00
jjhua acca602ef7 update the rflash manpage to fix bug 3553161
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 02:58:09 +00:00
lissav 00de172334 fix defect 3552171
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13389 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-01 13:29:12 +00:00
lissav ad2cca4c3d fix defect 3552171
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13388 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-01 13:28:25 +00:00
amy0701 c1287bed47 update testcase for packimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13384 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-01 05:38:08 +00:00
amy0701 a101847d0e update packimage testcase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13381 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-01 04:59:06 +00:00
bp-sawyers d7fbf909d4 Make the e1350 templates work with nodenames like n01, not just n1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-31 18:36:50 +00:00
lissav 638838010c Left in bash so something working. Having trouble with the comm call in shell
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13378 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-31 16:24:37 +00:00
zhaoertao 51d77e198c fix bug 3552543 and 3442549, the FB->getmacs <noderange> cannot work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-31 14:09:50 +00:00
lissav 6fb2e6b8be fix -f information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-31 13:15:42 +00:00
lissav 7d2a734465 remove names from man pages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13373 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-31 10:53:37 +00:00
lissav 24ce8ff3d1 more fixes for hierarchy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13372 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-30 19:49:02 +00:00
jbjohnso 18052caaef Tweak IPMI retry to be more aggressive to reduce impact of occasional drops
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13371 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-30 19:22:46 +00:00
lissav 753efd9492 fix -f flag information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13370 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-30 13:20:43 +00:00
xq2005 577836a519 support fadump on stateless netboot on redhat and ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13367 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-30 07:52:55 +00:00
yinle cb28d3555c Fix the mistake that removing callback from the SLP.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13366 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-29 13:42:03 +00:00
lissav 356f765c83 updated for merge but still needs testing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13364 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-27 18:20:08 +00:00
lissav 6041cb6a8f checkin merge support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13363 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-27 15:33:13 +00:00
yinle 0ecdb2c460 Made some performance improvement.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13362 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-27 14:17:37 +00:00
yinle b05adb16ba Fix a mistake and do some performance improvement.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-27 14:11:12 +00:00
xq2005 3a8ba9b243 change the layout on discover page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13357 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-27 06:24:11 +00:00
xq2005 958261b8e1 show the return information on the page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13355 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-27 04:54:26 +00:00
jbjohnso 83334fb3f5 Have getpostscript work with node x509 auth
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13354 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 19:31:13 +00:00
jbjohnso b582f177f6 Fix mistake in slpdiscover.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13353 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 18:59:08 +00:00
lissav df23c21198 more testing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13352 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 15:20:49 +00:00
jbjohnso 2beaf85453 Fix problem where IPMI 1.5 timeouts would bug rather than properly report problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13351 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 13:10:39 +00:00
lissav f7fc5f7321 fix defect 3549072
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13350 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 12:10:23 +00:00
jjhua 42cf1d088e create the KERNELDIR for ospkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13349 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 09:12:26 +00:00
jjhua 9c1636bbe6 support ospkgs with multiple package paths of pkgdir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13348 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 08:23:38 +00:00
jjhua c7e782afc4 remove my code in r13321, back to r13300
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13347 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 07:27:08 +00:00
jbjohnso f19277afe8 Rework pulling packets off the socket, less delay in moving data to a more stable data structure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13346 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-25 20:19:20 +00:00
jbjohnso 825e410d16 Rework IPMI.pm a tad for better sacalbility
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13345 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-25 20:19:08 +00:00
lissav 68736e5789 merge script to be run by xdcp to support the MERGE function, more testing needed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13344 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-25 16:59:07 +00:00
nott 5dea590474 add /proc setup for hasn env
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13343 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-24 15:20:21 +00:00
xq2005 85460c3f2e support upload the vpd and mtms file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13340 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-24 12:17:04 +00:00
zhaoertao fe27cd788f fix a bug about 'chvm <lpar> lparname=xxx' not work properly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13338 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-24 06:53:31 +00:00
wanghuaz f7b7027c5a Added ksh as a dependency of gpfs 3.5.0.3
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13335 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-24 05:34:30 +00:00
yinle 5877d372ff Performance improvement on processing slp ppacket
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13333 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-23 14:53:53 +00:00
xq2005 9f52269d85 modified for darpa demo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13331 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-23 10:13:30 +00:00
xq2005 fd39f52d46 add resetnet process for p7 ih cluster setup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13329 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-23 10:06:51 +00:00
yinle e8634f6f48 remove callback subroutine in lsslp.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13327 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-23 07:40:51 +00:00
yinle b24f31515d remove callback subroutine in SLP.pm.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13325 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-23 07:33:51 +00:00
jjhua 4ac9f2e224 this code change is for the changes in Postage -- put the OSPKGDIR attribute in the /xcatpost/mypostscript firstly. To support ospkgs enhancements to install/upgrade OS packages from Updates, it still needs some code changes in ospkgs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13324 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-20 09:55:45 +00:00
zhaoertao 00ac099deb fix bug 3546270:rspconfig <cec> HMC_passwd=xxx output error message, for hierarchical environment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13323 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-20 09:54:54 +00:00
jjhua 4d96588172 To support ospkgs enhancements to install/upgrade OS packages from Updates , we should put the OSPKGDIR attribute in the /xcatpost/mypostscript firstly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13321 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-20 08:47:17 +00:00
immarvin ee64dabb27 download rmcmon related scripts and resource files with http
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13316 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-19 06:57:13 +00:00
lissav 8acf0432cb fix 545451
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13314 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-18 17:07:55 +00:00
lissav 38b6ef1f6c fix 545451
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13313 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-18 16:42:40 +00:00
lissav 731b3d3bf9 fix logic on call to genSSHNodeHostKey, should only be called with -u -i -f -s flags
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13312 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-18 11:35:32 +00:00
xq2005 edc06a1908 change the server side code for darpa demo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13311 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-18 08:13:14 +00:00
bp-sawyers 1d781685c5 Improved description of syspowerinterval and syspowermaxnodes for ipmi case.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13309 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-17 17:39:12 +00:00
lissav 4707128114 fix image group definitions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13308 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-17 11:56:53 +00:00
bp-sawyers c185096fa8 Added description for httpport site attr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13307 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-16 20:38:11 +00:00
nott 7c6e77f127 add mntopts to litetree mount command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13304 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-16 17:07:35 +00:00
nott 60741454d0 add mntopts to the litetree file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-16 16:55:29 +00:00
lissav 7aabf03e2c add comments to explain
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13301 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-16 16:37:42 +00:00
lissav 06c22411b4 fix defect 3544651
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13300 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-16 16:16:33 +00:00
xq2005 8ff50af5ca fix the graphical layout error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13299 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-16 11:49:57 +00:00
nott d611be83a7 add mntopts to litetree table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13297 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-13 20:11:00 +00:00
nott e824c74fad add mntopts to litetree table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13295 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-13 19:56:24 +00:00
nott 8016f64591 use correct hash for target servicenodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13293 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-13 17:47:24 +00:00
jbjohnso 8251123d26 vSphere autologin configurability
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13292 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-13 13:42:33 +00:00
lissav 0b517b5801 fix comment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13291 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-13 11:39:53 +00:00
xq2005 9dd6f8444a specify partition file: support suse to use definition and script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13290 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-13 09:22:13 +00:00
xq2005 b090b75fbe specify partition file: support sles to use definition and script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13289 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-13 09:19:43 +00:00
bp-sawyers 638642a29e Remove openslp-xcat require
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13288 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-12 17:58:10 +00:00
xq2005 d1effdcabb specify partition definition: support script for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13286 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-12 10:27:21 +00:00
xq2005 179d0c4cc2 specify partition definition: support script for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13285 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-12 10:26:10 +00:00
yinle 3bf9c3ebe2 Fix a mistake that connect sub-routine alway use hosts.ip to login ASMI for resetnet.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-12 08:51:22 +00:00
yinle 3657ba13f6 Made specific choice of preprocess_nodes for rspconfig resetnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13282 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-12 07:55:31 +00:00
phamt 5105672e61 Allowed user to edit user entry even if node is unreachable.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13279 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-11 16:10:04 +00:00
lissav 7ba5f5a827 fix ODBCsetup code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-11 12:25:00 +00:00
lissav d67c1ad4c8 fix odbc setup of odbcinst.ini file database name wrong
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13275 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-11 12:06:17 +00:00
zhaoertao 0e30326a43 add flag '-i' for getmacs for Firebird blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13274 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-11 08:40:16 +00:00
xq2005 26a330f6dd fix bug for specify partion file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13272 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-11 07:39:59 +00:00
xq2005 293f9490b9 fix bug for specify partion file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13271 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-11 07:23:06 +00:00
lissav 7c949b11b5 fix defect 3510989
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13270 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 18:53:49 +00:00
lissav f6f39da154 Add -N to pgsqlsetup and correct comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13267 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 11:21:24 +00:00
amy0701 b8b0b2a1d8 update rpower sleep duration in testcase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13266 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 06:49:31 +00:00
amy0701 e8df125d40 update genimage testcase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13265 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 06:30:50 +00:00
amy0701 39c369f467 update genimage testcase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 06:26:01 +00:00
xq2005 a8d1627801 specify paritionfile:
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 06:14:04 +00:00
xq2005 44d0bf1e2b specify paritionfile: modify the pre.sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13261 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 06:02:20 +00:00
xq2005 4c5b3ee8b1 specify paritionfile: modify template.pm for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 05:59:35 +00:00
jbjohnso e6c05ea003 Increase timeout for nic waiting to 10 minutes instead of 30 seconds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13259 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-09 19:23:23 +00:00
lissav 397d807fb6 Add option -N to only setup the database, do not backup/restore of start/stop xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13258 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-09 18:24:31 +00:00
lissav a4dc255e0f fix man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13257 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-09 17:00:45 +00:00
phamt 8f2acc5719 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13256 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2012-07-09 13:46:18 +00:00
phamt 26e70ec83c git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2012-07-09 13:45:17 +00:00
wanghuaz af998fbf28 Additional code checkin for image group working with litefile and litetree tables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-09 08:22:01 +00:00
wanghuaz 3c221e5366 Checkin code for image group support which will be used by litefile/litetree table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13252 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-09 07:57:48 +00:00
zhaoertao 561abd493b fix bug about 'runcmd' subroutine in hierarchy environment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13251 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-09 02:41:16 +00:00
jbjohnso a6a6e79446 Add feature to Template.pm to facilitate autoula addressing for esxi5 deployments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-06 21:09:04 +00:00
jjhua a148f21ce4 correct an error of the ==
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-06 08:59:58 +00:00
daniceexi 161cdeb4ec code drop for the support that loading drivers from driver rpm. The change has affected the code logic for driver disk support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13246 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-05 14:59:08 +00:00
xq2005 46531485db specify partition definition: support definition file for sles/suse
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13245 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-05 07:42:13 +00:00
xq2005 0ce9d811b9 change the discovery step on the discover page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13243 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-05 06:59:38 +00:00
yinle 7315ed65ce Fix a mistake about rspconfig resetnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13242 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-05 06:26:55 +00:00
xq2005 4de4edcd88 specify partition file: get patition definition file in sles.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-04 06:11:22 +00:00
ligc 4ae68c7e56 fix for bug 3538906: perl-DBD-DB2Lite-1-2.aix7.1.ppc.rpm breaks chkosimage, change perl-DBD-DB2* to perl-DBD-DB2-*
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-04 04:35:12 +00:00
jbjohnso f0f150f698 Rework the FSM excludes bits
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13236 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-03 21:03:33 +00:00
nott 331dc24373 add check for myxcatpost file name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13234 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-03 18:01:49 +00:00
jbjohnso fdb706b631 Have policy table recognize the name '*' to mean any valid name, but must have some name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-03 16:29:28 +00:00
jbjohnso 63478f6bd4 Add a mode where nodeauthentication site value switches on requirement of client certificates for 'nextdestiny'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13232 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-03 16:29:15 +00:00
zhaoertao f43f3508b2 fix PMR 29163,066,866 ECMWF :chvm broken after xcat 2.7.2 upgrade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13230 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-03 06:31:58 +00:00
lissav 1a292a871e fix defect 3538653
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13228 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-02 12:57:24 +00:00
lissav ee30877059 fix defect 3538653
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13227 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-02 12:55:37 +00:00
jjhua 824503966a fixed bug 3538093, create a temporary uname in the image's rootimg dir before running the postinstall and remove it after postinstall during genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-02 07:27:16 +00:00
jjhua 4aed8e5a3b fixed bug 3538093, create a temporary uname in the image's rootimg dir before running the postinstall and remove it after postinstall during genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13222 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-02 06:40:07 +00:00
yinle 287ed1f702 Modify rspconfig --resetnet.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-01 03:19:10 +00:00
yinle e754531b31 Modify rspconfig --resetnet.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13216 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-01 03:11:25 +00:00
bp-sawyers 77b68f4591 updated the noderes.tftpserver description to indicate it defaults to networks.tftpserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13214 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 13:46:20 +00:00
lissav d04aed5d42 add -N flag to support only setting up the database , not backup and restore xcat into it or start the xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13212 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 11:25:06 +00:00
lissav fbb0c03121 man page updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13211 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 10:56:56 +00:00
lissav 27c82a8131 man page updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13209 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 10:52:41 +00:00
lissav a1a4f17142 man page updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 10:35:51 +00:00
lissav 2695b79c9c man page updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13207 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 10:26:17 +00:00
zhaoertao 0c5453290d use 'verbose' instead of 'Verbose' option to match the command usage in Usage.pm.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13206 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 09:03:22 +00:00
zhaoertao e532ea48ae fix bug 3519576:Performance improvement to blade.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13204 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 08:44:37 +00:00
zhaoertao 4caebea74d enhance 'rinv' for CMM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13203 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 08:03:35 +00:00
ligc e76908aa91 fix for bug 3536372: download postscripts from the server specified in kernel parameter XCAT=xxx
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13202 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 07:58:59 +00:00
zhaoertao fb234debb6 Modify 'rvitals' to support SNMP for Firebird blade and CMM.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13199 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 07:07:27 +00:00
ligc 0a6f3cc7c5 fix for bug 3538902: move the code from ddns.pm to xcatconfig to configure named to start on boot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13197 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 05:52:47 +00:00
ligc e61f51388f fix for bug 3524402: run chkconfig dhcpd on in xcatconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13196 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 03:17:04 +00:00
bp-sawyers 6a52d2327b fix spec file syntax error on aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13194 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-28 16:43:23 +00:00
lissav 0ceaff865c fix defect 3538653
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13193 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-28 15:51:50 +00:00
bp-sawyers 3bbc6381fd fix syntax prob in the xcatconfig man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13191 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-28 13:41:08 +00:00
ligc a7ef8f450f fix for bug 3538372: check nfs mount on SN should be more precise
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-28 11:34:32 +00:00
immarvin 0ed49476f1 add rhels6.3 i386 support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13188 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-28 07:35:36 +00:00
immarvin 2fae43d52e fix defect ID: 3537687 BOOTIF is not written into yaboot file on sles11.2 for ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13186 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-28 04:11:39 +00:00
immarvin 7d56f61887 add support for rhels6.3
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-28 03:17:02 +00:00
jbjohnso 9f8d68ed3d Have nodestat support IPv6 destinations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13184 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 13:35:55 +00:00
xq2005 66171611d4 specify partition file: mify all *.tmpl files for centos
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13183 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 09:11:58 +00:00
zhaoertao 9cf5466c5e output the 'oper-firmware' state for Firebird blade.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 09:08:54 +00:00
xq2005 617bf680a1 specify partition file: mify all *.tmpl files for fedora
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13180 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 08:59:34 +00:00
xq2005 2f2d9d50fd specify partition file: modify all *.tmpl files for SL
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13179 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 08:08:30 +00:00
xq2005 f0216ca0b4 specify partition file: modify all service/xen*.tmpl file for redhat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13178 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 07:45:21 +00:00
xq2005 4ea0b3a319 specify partition file: modify all kvm/iscsi/hpc.*.tmpl file for redhat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13177 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 07:21:18 +00:00
ligc 2bee456744 fix for bug 3529354: imgcapture does not work with -o imagename flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 07:09:53 +00:00
ligc 80d7105e4b fix for bug 3530169: display a warning message when can not find group member
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13175 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 07:05:01 +00:00
xq2005 4c16b60a0f specify partition file: modify all compute.*.tmpl file for redhat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13174 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 07:04:41 +00:00
mellor b10f2968d4 defect 3538251 - rollupdate boundary error fix: did not run llmkres if node count less than updateall_nodecount
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13172 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-26 22:03:07 +00:00
jbjohnso 35869b7a81 Correct various mistakes in the RHEL5 driver disk injection code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13170 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-26 15:49:17 +00:00
lissav c01096db79 Do not allow updatenode -k to the Management Node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13169 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-26 15:15:19 +00:00
lissav 1788410105 Do not allow xdsh -K to the Management Node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13168 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-26 14:39:56 +00:00
lissav 9db06eb9ef fix manpage to use xcatconfig -m
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13167 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-26 12:46:18 +00:00
lissav cd24fdead3 add -m option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13166 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-26 12:41:56 +00:00
lissav 66cc3be938 add xcatconfig -m to put management node in the DB correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13165 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-26 12:35:12 +00:00
jbjohnso 2e7f1599fe Have autoula addressing store in hosts.ip for KICKSTARTNET directive
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13164 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 20:05:11 +00:00
jbjohnso f590db8fc4 Have nodestat fallback to hosts.ip lookup if applicable
Make nodestat more IPv6 workable with nmap

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13163 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 19:41:33 +00:00
xq2005 9ee701ca4a fix the problem for json return format with imbedded list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 14:03:30 +00:00
xq2005 c5a5298977 specify partition file: add comment line in pre.rh file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13161 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 13:39:15 +00:00
xq2005 ec01401ee9 specify partition file: add comment pair in tmpl file for x86_64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13160 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 13:36:23 +00:00
xq2005 8986a3151a specify the partition file: add the definition into configure file for rh,SL,CentOS,fedora
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13159 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 12:03:03 +00:00
xq2005 4662457616 specify partition file for install node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 07:19:41 +00:00
zhaoertao 0757920664 modify getmacs: write lowercase mac address for Firebird blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13157 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 02:20:36 +00:00
jbjohnso 60a6b2d331 Fix problem where if template passed in has parameters on a module, xCAT would consider that part of the filename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13155 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-23 13:57:52 +00:00
jbjohnso ee4e786d34 Fix problem where esx.pm would do a heavy handed bailout on a table error of one node
Have xCAT try to find nodes if vCenter is indeed in play even if the alleged hypervisor is not available.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-23 13:45:52 +00:00
jbjohnso 4fed39c1e5 Fix problem where 'copyIfNewer' was actually 'copyIfOlder'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13153 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-22 15:16:34 +00:00
jbjohnso f35debd190 Provide method for users without desire of xcatmod.tgz to opt out
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13152 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-22 14:52:17 +00:00
linggao a886000855 fixed a problem that still logs to localhost for syslog-ng
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 20:05:22 +00:00
jbjohnso d064e984b7 More FSM exclusions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13146 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 19:46:19 +00:00
lissav 08688dce25 fix defect 3530574 allow multiple command in policy table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13145 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 18:05:44 +00:00
jbjohnso a7f41ecb00 Fix problem in previous checkin with superflous 'my'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 17:27:22 +00:00
jbjohnso 7ab7085122 Use xcatiport and opt not to do install monitor if unset
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 17:27:15 +00:00
jbjohnso bc3c169c56 Have FSM packaging also exclude templates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13142 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 16:41:16 +00:00
lissav 7625dab575 fix defect 3393889, allow longhostname in policy table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 16:12:18 +00:00
lissav d0e29a67e6 fix defect 3393889, allow longhostname in policy table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 16:11:06 +00:00
jbjohnso 65f12a5022 Wrap unlikely scenario in eval to hopefully keep DB worker up in the face of some nebulous problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 15:19:06 +00:00
lissav 1fdee03579 Move xcatd validate routine into and create an xcatd library. This should help with development and debug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 13:00:38 +00:00
lissav bc08d48d91 Move xcatd validate routine into and create an xcatd library. This should help with development and debug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 12:59:40 +00:00
zhaoertao 2f4cbf7dbf code for Adding verbose for xCAT commands item
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 09:43:16 +00:00
jbjohnso 646386b6d2 Fix sles, http makes it unconditionally '/install' regardless of backing path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13135 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-20 19:29:00 +00:00
jbjohnso 5383a88a60 Fix problem where ula generation failed to deal properly with hexadecimal
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13134 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-20 18:06:30 +00:00
jbjohnso 1762312121 Add a template directive for mostly FSM use for now, enable a non-dhcp address management scheme
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13133 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-20 16:35:21 +00:00
lissav 0bac1d53c6 add APPEND to the man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13132 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-20 11:44:07 +00:00
lissav 88ecf22c5b updatenode xdsh -c info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13131 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-20 11:23:31 +00:00
lissav e2b1f70f6b xdsh -c cleans up both the SNsyncfiledir and the nodesyncfiledir directories on the SN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13130 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-20 11:13:09 +00:00
jbjohnso 45e9ac6f1e Actually source the httpmethod/httpport from site table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13129 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-19 20:20:47 +00:00
jbjohnso 62507fbe0e Prepare to have http/https switchable and non-default http ports
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13128 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-19 20:17:42 +00:00
lissav 8434c0932e hierarchical xdcp APPEND support, more testing required. Need to add -v flag to append script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13127 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-19 17:30:35 +00:00
bp-sawyers c11ec21350 Don't require tftp for s390x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-19 15:21:18 +00:00
jbjohnso 7ba4186fff Enhance slpdiscover to reconigure CMMs even if their password is not default if user provides an alternative
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-19 14:35:27 +00:00
xq2005 8403898633 add the partitionfile attribute into linuximage table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13124 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-19 05:48:52 +00:00
bp-sawyers 5d9aba4817 Remove perl-Net-Telnet requirement from zvm build of xcat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-19 00:31:31 +00:00
bp-sawyers 2eb33775b5 change zvm pkging to avoid fping require and other xcat files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13122 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-18 21:35:53 +00:00
lissav 3e27aa6e51 remove fping_hostnames routine, unused and do not want a dependency on fping in xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-18 19:27:04 +00:00
lissav f0f7f3246c APPEND works non-hierarchical, still testing and documenting for hierarchy.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-18 16:39:35 +00:00
jbjohnso b45ccfc13e Fix problem where nodegrpch would fail to modify tables where 'nodecol' is not 'node'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-18 16:34:42 +00:00
zhaoertao 0b5567ff3c the codes about NGP genesis state process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-18 08:38:30 +00:00
zhaoertao 54f8b58399 the codes about Firmware Deferred Update feature
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-18 08:29:59 +00:00
yinle 78c29cbeec Fix some mistakes about rspconfig resetnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13115 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-18 05:36:15 +00:00
xq2005 45d573dc72 kdump on sles supports mutiple nodes crash at the same time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13112 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-16 01:41:46 +00:00
brianfinley 64716ca324 Revert to original epoch from before my last commit. Since our Release
value includes the build date, every build is a slightly newer version
of the rpm, so it installs over the existing rpm fine.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 16:59:08 +00:00
lissav ce1c8ff35a checking in code for APPEND, still needs testing do not try
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13110 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 15:43:55 +00:00
lissav 88778a93d9 checking in code for APPEND, still needs testing do not try
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13109 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 15:42:45 +00:00
jbjohnso 36478f64e1 FSM has no need of xdcp/xdsh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13108 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 14:17:13 +00:00
jbjohnso 55819f9bab Refine FSM packaging, make SHA1 optional
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 14:17:07 +00:00
xq2005 84e654bb84 create the setup configure file with new format
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 09:38:48 +00:00
xq2005 bf7e1d2303 add more input area to create the setup configure file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13102 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 09:13:32 +00:00
brianfinley a9284fafcc s/in scaling cluster./for a large cluster./g
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13101 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 05:18:56 +00:00
brianfinley 6562e26252 - Use "-f" when removing /etc/profile.d/xcat.* on erase. If the file is
already removed, then with out "-f", the package fails to erase.



git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13100 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 03:47:11 +00:00
jbjohnso cb482e73f8 Further refinement of FSM build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13099 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 18:43:11 +00:00
jbjohnso 89aba68666 amend the trimming of FSM xCAT-server
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13098 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 18:43:04 +00:00
jbjohnso 904f704cb9 Further trim perl-xCAT in FSM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 18:36:17 +00:00
jbjohnso eb84d0512a Extend FSM embed conditional to perl-xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13096 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 18:36:11 +00:00
jbjohnso e3dda6f800 Add an FSM embed style xCAT-server
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13095 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 18:11:23 +00:00
lissav c2428d06dc Add APPEND: support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13094 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 17:27:41 +00:00
lissav 23075ccac5 fix name to lowercase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13093 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 17:12:06 +00:00
lissav b0118035a7 fix name to lowercase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13092 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 17:11:25 +00:00
lissav 6d94da7278 setup default Nodesyncfiledir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13091 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 16:59:39 +00:00
lissav 30a3c6e458 add Nodesyncfiledir attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13090 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 16:19:43 +00:00
nott 88ac8cdc5c add -l option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13089 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 14:47:21 +00:00
nott 9e1ef03a1d fix -l option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13088 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 13:47:03 +00:00
xq2005 adf678cd50 add the hardware information to support more hardware type on the graphical layout page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13086 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 09:51:52 +00:00
brianfinley 46b25172e2 improve verbiage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13085 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 06:10:47 +00:00
phamt b168b84acb Delete old code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13083 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-13 18:42:40 +00:00
phamt 907b48c7e8 Fixed bug where gmond.conf is never updated if there is a string "xCAT gmond settings done" in the file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-13 18:20:52 +00:00
brianfinley 7985b1b1df Give users an indication of where to find dhcpd.leases
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13079 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-13 15:28:45 +00:00
lissav 1d56dc9bfa remove check for WCOLL env variable and warning, someone is AIX is using it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-13 11:07:16 +00:00
xq2005 a5c6f451a2 add input area which user can configure the password for bpa, fsp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-13 09:47:48 +00:00
xq2005 72de8ad3b9 change the style on discover page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13074 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-13 09:18:46 +00:00
bp-sawyers e7ecf9115d Exclude the upflag source dir when building the xCAT meta rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-12 20:21:39 +00:00
lissav 2153f2b98c start support of APPEND clause in xdcp, transfer complete. Build of append script TBD
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13071 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-12 12:36:54 +00:00
immarvin 4c70024ffb According to the changes in copycds.pm, the internal option flag to specify mountpath is changed to -m
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13070 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-12 11:55:54 +00:00
immarvin 13f4d07649 copycds enhancement:add -p and -i option documentation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13069 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-12 09:12:56 +00:00
immarvin 9d389484a5 According to the changes in copycds.pm, the internal option flag to specify mountpath is changed to -m
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13068 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-12 07:06:17 +00:00
immarvin f4a7e87f32 According to the changes in copycds.pm, the internal option flag to specify mountpath is changed to -m
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-12 06:58:09 +00:00
immarvin 81c0efbc9a copycds enhancement:add suppor for -i and -p option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13066 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-12 05:49:57 +00:00
nott 16caed568f Add -r option to rmdsklsnode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13065 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-11 18:52:45 +00:00
jbjohnso 063894bb17 Bump genesis version
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-11 18:36:11 +00:00
nott 9c2f508523 Add -r option to rmdsklsnode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13061 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-11 18:29:20 +00:00
jbjohnso 00278c221f Add some extra libraries for genesis
Remove ssh key from rpm, mknb is supposed to do this later

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13059 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-11 18:10:58 +00:00
lissav 6f20255891 Put warning in updatenode -k, not to run to the MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-11 11:25:09 +00:00
arifali 06275cbf9f remove vsftpd dependancy, and make genesis the default rather than nbroot, add elilo-xcat dependancy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13055 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-10 15:53:25 +00:00
arifali 5fc6f38540 remove vsftpd dependancy, and make genesis the default rather than nbroot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13054 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-10 15:51:15 +00:00
lissav 58d9e65cfd take out author
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13053 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-10 10:05:23 +00:00
nott fa34a93be2 fix xcataixscript bug 3529713
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13052 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 18:06:24 +00:00
jbjohnso 60758604ad Fix problem with clonevm in vmware when target uses the legacy vm.storage syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13050 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 13:35:13 +00:00
lissav 6075538a00 add fanout interface to man pages for p* command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13048 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 11:55:39 +00:00
lissav 4fd1fd364a change order of checking for fanout
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13046 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 11:47:04 +00:00
lissav b29a32f159 support fanout input
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13044 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 11:38:07 +00:00
jjhua ce4159a002 in PPCconn.pm , it will match the FSPs' IPs after querying.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 09:57:22 +00:00
immarvin 1661b574af copycds enhancement:remove some debug messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 09:29:51 +00:00
immarvin dc55140fe4 copycds enhancement:add -p and -i option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13038 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 09:06:09 +00:00
ligc 6258e5505f fix for bug 3496130: resolve hostname to ip address in /tftpboot/etc/<node>, copy resolv.conf from initrd into rootimg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 09:00:26 +00:00
immarvin 8cc73753da copycds enhancement: mkdir for the symlink under /install if not exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13036 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 08:45:22 +00:00
immarvin ec55bfc9fa copycds enhancement: sub localize_yumrepo have to follow symlinks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13035 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 03:30:58 +00:00
immarvin 621425dada copycds enhancement: update linuximage table with the specified ospkgdir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13034 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 03:20:07 +00:00
immarvin 30ecd6c0da copycds enhancement: add --inspection option and -p option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 03:00:27 +00:00
immarvin 3698ea3808 copycds enhancement: add --inspection option and -p option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 02:33:20 +00:00
jbjohnso 298b4e0e3d Fix error with how enum is passed into vsphere api in vsphere support for win2k3 specialization
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 19:46:54 +00:00
nott f144582597 hasn- dont run mkresolvconf script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13026 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 19:20:10 +00:00
lissav b6a3ada2d2 add -f fanout and XCATPSHFANOUT suupport to allow change of fanout on the command line and with env variable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13024 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 19:02:49 +00:00
jbjohnso 805fb1510d Fix problem where tabdump -f would fail to correct for relative paths. It really shouldn't be doing this server side at all....
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 18:16:29 +00:00
lissav 77f2c8c011 fix error data should go to XML error attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13020 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 13:25:48 +00:00
lissav 3c1a950a52 fix error message to go to XML error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13019 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 13:19:01 +00:00
lissav afa883d9f0 restructure to add APPEND feature. Fix lots of messages so they will go to XML error structure instead of data
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13018 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 13:00:05 +00:00
daniceexi 56c36adad6 defect 3524563: We encountered issue in LRZ with the last change that keep the udev before the chroot. The problem was IB device which started after chroot does not work. The fix was to kill the udevd after the starting of net device
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13017 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 06:13:32 +00:00
phamt 0cec3a60d6 Fixed bug in Ganglia to always update gmetad.conf when moncfg gangliamon -r is run.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13014 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-06 14:52:35 +00:00
jbjohnso b1137466c4 Fix problem where EFI based installs failed to correctly place boot partition
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13011 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-05 13:42:40 +00:00
lissav 3d6d887c13 add example for setting up mn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-05 13:40:56 +00:00
lissav d016775cb6 fix defect 3531962
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13007 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-04 18:41:45 +00:00
lissav c504303ba1 fix defect 3531617
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13005 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-04 11:55:43 +00:00
lissav b37b057928 document new PG binary dump and restore
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 15:28:25 +00:00
lissav f5b0b58a79 fix hardcoded db name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 15:19:21 +00:00
lissav f66405ce90 binary restore for PostgreSQL
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12993 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 15:17:08 +00:00
lissav efe62f60e2 Add binary dump support for Postgresql
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12992 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 14:41:13 +00:00
lissav fd9dc84806 add root user to pg, needed to run odbc and pg_dump/restore as root
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12990 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 12:48:04 +00:00
immarvin 589ba1cecc fixed defect:Summary:change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12986 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 08:08:41 +00:00
immarvin a1d7bb8bef fixed defect:Summary:change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12985 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 08:08:06 +00:00
yinle 4f52da3dac Add description about lsslp restriction on AIX.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12982 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 04:48:32 +00:00
yinle 5acbeefa0d Remove the part adding multicast route, suggest the user to add and delete it manually to avoid potential issues.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 03:53:48 +00:00
jbjohnso 2c47c2613c Provide a default value for win2k3 cloning use with clonevm specialize
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12978 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 02:22:14 +00:00
jbjohnso 5a12985c62 Have nodeset return a more helpful message when passwd table is missing an entry for esxi when doing esxi operations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 17:39:27 +00:00
lissav 32da90eec2 handle changing paths based on 9.x ptf level
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12975 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 17:06:57 +00:00
lissav 81c02cd17b fixed some of the error processing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12974 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 15:10:32 +00:00
lissav 9fd00d35f6 add new options
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12973 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 14:36:11 +00:00
jbjohnso d87f11e52a Fix blade.pm problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 14:08:55 +00:00
lissav 88b303e416 tested with posgresql 9.0
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12970 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 13:51:55 +00:00
wanghuaz 90db9c8b26 Fixing bug 3529659 in trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12966 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 07:04:40 +00:00
jjhua a081c44d72 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@12965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 05:24:21 +00:00
jbjohnso 9290d4a876 Add support for certain IPMI specified events
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12964 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-30 21:10:24 +00:00
lissav cdeab53cfd put back database backup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12963 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-30 18:25:48 +00:00
lissav bc0d3dce09 implemented perl expect, so no password prompting required and XCATPGPW env variable to supply password. Still needs testing on 90 and add PCM roles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12962 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-30 18:04:28 +00:00
lissav 5c2489880d Added support additional PCM support, still needs work and testing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12961 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-30 15:29:18 +00:00
yinle 14ef237f75 Fix the mistake that lsslp noderange return incomplete information; Fix some type error of verbose information.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12959 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-30 08:56:43 +00:00
yinle bb64f581c9 Fix bug 3527493:lsslp return incompete object information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-30 08:50:16 +00:00
xq2005 b035ad5c1c fix bug 3529429 for kdump failed on non-p7 ih plinux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12955 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-30 04:45:18 +00:00
phamt 5e511d4ad5 Fixed bug where IP range and hostname range were not corrected checked.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12954 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-29 23:15:13 +00:00
jbjohnso 18c9cf84ab Fix blade.pm tolerance in a way more targetted at discovery specifically
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12952 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-29 16:03:51 +00:00
jbjohnso 7af1cd03fb Revert "Fix problem where blade.pm failed to isolate table configuration problems"
This reverts commit 637ad509abf90eabce30321d53793139fb084aaf.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12951 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-29 16:03:32 +00:00
jbjohnso b4d8def3a9 Fix problem where blade.pm failed to isolate table configuration problems
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12950 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-29 15:19:39 +00:00
jjhua c764d28959 move the action setting out of the loop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12948 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-29 01:56:58 +00:00
lissav 9cc7c080d3 fix tabch -h
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12943 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-25 10:39:49 +00:00
jjhua 5a561cf82f improve the performance of rvitals
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12942 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-25 09:05:53 +00:00
yinle 6de5fb7428 fix bug 3529398: lsslp -n give inconsistent output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12940 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-25 08:44:05 +00:00
xq2005 44c8a87f91 support kdump on p7 ih with static ip
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12938 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-25 07:10:40 +00:00
xq2005 b878818966 support kdump on p7 ih by static ip
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12937 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-25 06:58:40 +00:00
jbjohnso ba7c29b62a Fix spacing issue in gateway append
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 20:39:14 +00:00
jbjohnso 03e418ee62 Fix bmcconfig issue with ipv6 networks in table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12931 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 20:35:10 +00:00
jbjohnso 4589f5a558 Fix -g being specified even without a gateway
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 20:35:03 +00:00
jbjohnso 98c1a84cb5 Fix erroneous forking in slpdiscover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12929 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 19:52:17 +00:00
jbjohnso 7d0636aa8f Tweak some messages on slpdiscover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12928 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 19:40:21 +00:00
jbjohnso fef814d4d4 Have SLP try node-local scope ipv6. I don't think this is correct, but some targets work better with that destination
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12926 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 17:44:47 +00:00
jbjohnso eaec3c372b Fix problem where nodels could return more data than requested
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12924 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 17:14:38 +00:00
nott 517a388f9f hasn- fix shared_root locking
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12923 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 16:58:09 +00:00
jbjohnso cfea72f1ef Rework some output, also avoid thrashing on redundant responses. Prefer fe80 addresses when proven feasible since those are guaranteed to be unique and some ipv4 responses might not be
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 13:50:37 +00:00
wanghuaz 83688cdfa3 Updated loadleveler package path on trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12920 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 10:06:33 +00:00
jjhua d7ee5329f2 fixed 3528842, make the improvement of the rvitals performance
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 10:02:32 +00:00
jbjohnso 8e02008a83 Try to parallelize some slpdiscover activity
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 19:19:50 +00:00
jbjohnso ca8dcb8bf4 Fix problem where mknb was not satisfied with genesis alone
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 19:19:40 +00:00
nott f729568b58 hasn- fix bad return from doSFScopy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12915 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 18:34:36 +00:00
lissav bf2b0bee29 fix defect 3529041
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12913 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 18:17:11 +00:00
lissav abcbfd3f3d fix messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 17:52:21 +00:00
phamt 321486ab6f Parsed out max-vm from comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12909 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 14:28:51 +00:00
lissav e1b1cdb17e add odbc support for Linux only
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 13:59:42 +00:00
lissav d970f0b2a7 fixed hardcoded admin id
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12907 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 13:57:15 +00:00
yinle 33755d548f fix bug 3528728: update manpage of lsslp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 08:32:31 +00:00
jjhua 079e746aa5 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@12904 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 07:14:53 +00:00
jjhua 3a0121b97d 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@12903 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 07:12:28 +00:00
jjhua 5f4c465f97 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@12902 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 07:06:47 +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
jjhua 691628503e 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@12900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:53:34 +00:00
jjhua 260b7d25ef 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@12899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:37:49 +00:00
jjhua d0bb36a3f5 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@12898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:36:40 +00:00
jjhua 427dab0ad2 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@12897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:29:34 +00:00
jjhua f9c5ee43cc 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@12896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:18:22 +00:00
jjhua 0624c69117 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@12895 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:09:35 +00:00
xq2005 ec7513710f add link delay time for kdump on rhel6.2 diskless install node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:03:42 +00:00
jjhua e819e0c23e 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@12892 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:02:23 +00:00
jjhua 16be33214a 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@12891 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 05:57:41 +00:00
jjhua 41c6e9bf7a 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@12890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 05:50:08 +00:00
jjhua b4698dec04 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@12889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 05:30:19 +00:00
jjhua b3079a445f 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@12888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 05:22:15 +00:00
jjhua dab53851c9 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@12887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 05:17:42 +00:00
jjhua 9dac448093 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@12886 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 05:12:18 +00:00
jjhua 2be38ac386 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@12884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 02:57:41 +00:00
yinle c49f9ed82b delete multicat route to fix the lost message issue.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 02:25:01 +00:00
jbjohnso 7cae464cba Close some filehandles that aren't needed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 21:11:14 +00:00
phamt 427737b125 Accept no value for IP or hostname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12878 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 20:24:41 +00:00
nott 4b2585d5b6 hasn- fix hosts, add sync for GPFS and check for spots
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 18:12:00 +00:00
wanghuaz 7d2c65c9ad Fixing bug 3526601: Don't add duplicated lines into etc/security/limits.conf and also add the settings before '# End of file'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12875 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 14:11:35 +00:00
lissav d5707e6562 backout 3528566 , migration issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 10:59:10 +00:00
jjhua e19dd4583a For the places that open site table to read attributes, change to call xCAT::Utils->get_siteibute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12870 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 09:13:58 +00:00
jjhua 64217a35c4 For the places that open site table to read attributes, change to call xCAT::Utils->get_siteibute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12869 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 09:09:30 +00:00
jjhua 15618c0aad For the places that open site table to read attributes, change to call xCAT::Utils->get_siteibute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 09:00:37 +00:00
wanghuaz 3cc967ba1e Merging IBMhpc top level updates from 2.7 to trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12867 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 08:58:32 +00:00
wanghuaz e0514266f5 Merging essl/pessl updates from 2.7 to trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 08:53:36 +00:00
wanghuaz 65a9d7e448 Merging gpfs updates from 2.7 to trunk.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12865 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 08:46:14 +00:00
wanghuaz 2434d85279 Moving ckpt.sh from top level of IBMhpc folder to PE directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12864 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 08:42:42 +00:00
wanghuaz 6a521599e4 Merging PE updates from 2.7 to trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12863 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 08:41:24 +00:00
wanghuaz 4e5512f177 Merging loadl updates in 2.7 to trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 08:29:36 +00:00
jjhua d16f2babcd For the places that open site table to read attributes, change to call xCAT::Utils->get_siteibute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12861 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 07:02:11 +00:00
jjhua 8c13b3f50a 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@12860 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 06:32:20 +00:00
jjhua 403326620f 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@12859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 05:58:08 +00:00
jjhua db3ccd170f 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@12856 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 03:08:16 +00:00
jjhua 086ddbb9b3 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@12855 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 03:01:25 +00:00
jjhua e596348dc7 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@12854 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 02:54:17 +00:00
jjhua 50001aae62 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@12853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 02:30:43 +00:00
linggao 14097c36ee restart nw interfaces for netboot and statelite for hardehs postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12852 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 20:10:32 +00:00
linggao 794760bf25 fix the code to get correct synclist file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12849 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 19:15:01 +00:00
lissav cb2b559785 fix defect 3528566
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12848 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 17:45:01 +00:00
jbjohnso ab40158ba6 More cleanly wrap login failures for clicmdns
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12846 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 13:59:40 +00:00
jjhua 50c942e894 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@12844 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 10:00:16 +00:00
yinle b42ce631e3 Fix bug 3528509:lsslp -r has no output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 09:31:09 +00:00
yinle 1bb792ff2f Fix bug 3527493:lsslp return incompete object information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12839 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 05:50:06 +00:00
lissav 36381d4170 Add NodeRange XML interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-20 18:12:21 +00:00
nott bf6d469713 hasn- fix provmethod update
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-20 13:11:34 +00:00
yinle 2afb7d32d1 Fix bug 3527493:lsslp return incompete object information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12833 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-20 09:07:26 +00:00
jbjohnso d1bc43db41 Correct typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12832 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 21:54:46 +00:00
jbjohnso 824d7ccd13 Fix slpdiscover message to filter out skipped IMMs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12830 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 21:47:35 +00:00
jbjohnso 996a3999d0 Add subnet mask and gateway setup that was missing previously
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 21:47:28 +00:00
jbjohnso 5ac7ac26c4 Have slpdiscover avoid doing the same IMM multiple times (due to modified SLP retry logic)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 21:13:55 +00:00
nott 9b4d5e9739 hasn- fix statelite.table and client_data issues
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 20:38:06 +00:00
jbjohnso b67a60c422 Fix SSHInteract to manuever IMMv2 login
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12821 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 13:58:10 +00:00
jbjohnso 9890213fb5 Fix problem where IMMs in undiscovered chassis were not processed correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12820 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 13:46:31 +00:00
jbjohnso 6275ebdc0f rework password variable usage to allow the already discovered case to work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12819 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 13:46:25 +00:00
jbjohnso 661104f0a8 More tweaks to slpdiscover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12818 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 13:46:18 +00:00
jbjohnso c7744b4145 Add a bmcid to allow for out-of-band IMM discovery
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 13:46:12 +00:00
jbjohnso 4ed75a9bfe Have slpdiscover.pm have a provision to skip known IMMs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 13:46:05 +00:00
jbjohnso c48a9b7325 Have imm setup close the connection when done
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 22:55:31 +00:00
jbjohnso a94ac01399 Enable discovery of new IMMs in known CMMs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12812 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 22:48:14 +00:00
jbjohnso 7be91f0a25 Get slpdiscover at least syntax error free again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 22:48:06 +00:00
jbjohnso 6481c2508a Prepare for two-pass CMM config and IMM setup in slpdiscover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12810 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 21:01:39 +00:00
jbjohnso c3351dc88b Have blade.pm accept an argument to use correct username and pass, but without key check
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12808 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 20:03:15 +00:00
jbjohnso ce3c323dd0 Omit a prefix= esxi boot config file if the source has one
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12805 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 18:13:37 +00:00
jbjohnso 65a6369de2 Correct typo in TZutils that caused very odd messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 17:40:45 +00:00
jbjohnso d69a39d698 Few more fixes for esxi
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12802 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 16:54:47 +00:00
jbjohnso 0a4caa922b Hopefully finish off the esxi5 clonevm with 'specialization'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12801 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 16:36:16 +00:00
jbjohnso 801c5b0bf9 Add a package to help figure out timezone data across the various syntaxes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 16:07:07 +00:00
jbjohnso cfef977347 -Fix race condition where make_slave_controlling_terminal could fail because pty is already closed (surprised this was a race...)
-Fix issue where '-nokeycheck' SSHInteract option was passed into Net::Telnet mistakenly
-Fix problem where Match specification was incorrectly done in SSHInteracte
-Fix problem where rspconfig could hang if the ssh session landed at a prompt
-Fix argument syntax in blade.pm to clicmds

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12798 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 15:44:42 +00:00
nott e694321b2d fix parsing of c_disc_target output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12796 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 14:54:44 +00:00
jjhua 67ba72c0cb 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@12793 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 09:41:31 +00:00
jjhua 4f3c441476 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@12792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 08:49:11 +00:00
xq2005 65e4c4312e support kdump on system x machine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 08:17:05 +00:00
jjhua 2a89911f9e use xCAT::Utils->get_site_attribute() instead of opening the site to read the attr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 07:53:50 +00:00
jjhua 9ac4324794 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@12789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 07:33:24 +00:00
jjhua 9621b0511f 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@12788 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 07:02:09 +00:00
jjhua 59ac4c2b1b 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@12787 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 06:14:35 +00:00
wanghuaz 245a7a055b Fixing bug 3508572. while restarting xcatd on service node, it will try to issue nodeset. for nfs-based statelite, it tries to issue litetree to get a folder and setup NFS exports. The problem is while issuing litetree command, xcatd is not available yet. So we added XCATBYPASS=Y before issuing litetree. After reviewing the context, litetree command is issued only on the CN's service node and the result is also used by the CN's service node only, so adding XCATBYPASS=y should be fine.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12786 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 06:04:21 +00:00
jjhua b11b8a8d08 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@12785 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 05:54:14 +00:00
yinle 684acd79c7 Modify lsslp man page to support use -T to specify the waiting time.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12783 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 03:15:18 +00:00
jjhua 2d550820b2 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@12782 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 03:15:00 +00:00
yinle 964a5098d0 Fix bug 3527505: lsslp -V gives no verbose information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12779 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 03:07:48 +00:00
jjhua 1a71630307 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@12778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 02:52:02 +00:00
jjhua a16709090b 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@12777 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 02:38:09 +00:00
nott 09a7eecc6d merge oops
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12776 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 02:20:59 +00:00
nott af1b42c60e mult hasn fixes and updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12774 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 02:01:44 +00:00
jbjohnso 14dc354333 Flesh out cloning support for windows with specialize support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12773 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 21:06:53 +00:00
jbjohnso 7806922c3e Copy in mboot.c32 from custom path if applicable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 17:19:37 +00:00
lissav b1c3e1326a fix defect 3526288
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12769 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 17:19:13 +00:00
lissav e8996a35dc fix for defect 3527641
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12767 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 17:09:03 +00:00
jbjohnso 22eff119c4 Fix problem where a memory address could inadvertently end up being an argument to sleep by
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12764 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 14:03:04 +00:00
wanghuaz f6e8687f47 1. bond-mld is shipped seperately, we should give admin the ability of putting it to different directory and using it. 2. while configuring bond0, only the correctly configured hfx interfaces can be added as bonding slaves. so admin don't need to adjust the interface num
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12763 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 11:36:23 +00:00
jjhua 8cbcd958d5 Populate %::XCATSITEVALS with XCATBYPASS=1 in the submit_request(), and use $::XCATSITEVALS{} instead of getting from site table again.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12761 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 09:43:17 +00:00
jjhua 89aea637cb 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@12760 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 08:42:12 +00:00
jjhua 5550022ab1 in the get_site_attribute() subroutine, try %::XCATSITEVALS first, if the attribute is not popluated in %::XCATSITEVALS, then open site table to read the attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12759 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 08:39:01 +00:00
yinle 77728d700e Fix bug 3527194: lsslp -s HMC gives no HMC info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 08:29:27 +00:00
yinle 92dd4b49af Fix bug 3521680: rspconfig does not work for hmc if hwtype is not set
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12756 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 03:33:03 +00:00
yinle c25da18107 Fix bug 3527201: lsslp -s FRAME -i return no response on Linux ; Add multicast route on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 01:46:08 +00:00
jbjohnso 33c53a8182 Add a little message on success
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12752 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 20:56:12 +00:00
jbjohnso a9c0248442 CMM CLI syntax changed, accomodate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 20:42:16 +00:00
jbjohnso 383370e40f Have slpdiscover be case insensitive in terms of known mac addresses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12748 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 20:18:49 +00:00
lissav 5535a5de5f add setAttribs XML routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 17:34:18 +00:00
jbjohnso 9f0ab466ee Fix problem where SLP.pm would create too large an SLP packet if there are a number of IPv6 entities on the network
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12742 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 17:23:46 +00:00
jbjohnso a5913583ef Fix problem where group membership at startup hounded xCAT commands eternally
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12741 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 16:48:15 +00:00
lissav b5a0cd34f9 getNodesAttribs XML ALL attributes support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12738 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 16:25:49 +00:00
jbjohnso bdce8a8eb4 Since use_cache is a bit weird, NodeRange will instead force a build_cache(1) instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12736 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 15:18:55 +00:00
jbjohnso 43d4ca3b8f Have NodeRange make more assurances that it will not be caching data upon explicit request
xcatd explicitly has noderange redo cache if client has a <noderange> element.  This distinguishes it from 'getpostscript' type commands.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12734 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 15:11:26 +00:00
daniceexi f38190c129 defect 3525895: roll back the last change. Use the XCATBYPASS to run the commands instead of waiting a while
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12731 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 12:16:58 +00:00
daniceexi dab482bd6b Add the lease time for dhcpd.conf which can be configured from site table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12730 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 12:15:47 +00:00
yinle 6008d9f8f7 minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12726 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 03:16:49 +00:00
jbjohnso 30a91fe7bb Switch xCAT server connection to client back toblocking IO for large segments of code depending on blocking io
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12724 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 19:43:39 +00:00
yinle b29f4aee56 Fix bug 3525761: FB->lsslp -m -z -s CMM missing information in rh6.2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12722 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 13:53:16 +00:00
jjhua 151296661c use the getIPaddress() in FSPUtils instead of Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 12:54:26 +00:00
ligc 49e31739ca fix for bug 3525943: setuphanfs exports when running mkdsklsnode -b
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12718 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 08:45:41 +00:00
immarvin 0765c506a7 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12717 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 08:28:29 +00:00
immarvin 44d42d823e fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12716 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 08:21:19 +00:00
immarvin ecc5adb8af fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12715 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 08:17:57 +00:00
immarvin e8d59222e6 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 08:17:01 +00:00
immarvin e7f9cd17e6 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12713 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 08:15:32 +00:00
immarvin 971251a612 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12712 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 08:06:23 +00:00
immarvin 3aa61c9a08 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12711 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 08:05:28 +00:00
immarvin 4460185d5d fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:58:52 +00:00
immarvin 3217ac2673 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12709 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:51:12 +00:00
immarvin 92eff528bd fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:28:45 +00:00
immarvin 1a970c8dd9 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12707 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:24:11 +00:00
immarvin 4467a5bb20 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12706 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:21:12 +00:00
immarvin 6665d4e2ed fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12705 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:18:38 +00:00
immarvin b9a4cdf971 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12704 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:17:36 +00:00
immarvin fa774a34cc fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12703 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:16:06 +00:00
immarvin 23943c013b fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12702 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:14:41 +00:00
immarvin c8c117774c fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12701 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:13:23 +00:00
immarvin 345d9d1c0a fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12699 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:09:19 +00:00
yinle 23dda49cdc Fix bug 3524622:lsslp return no response on P7 IH
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12698 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:09:06 +00:00
immarvin fb2c20583f fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12697 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:07:44 +00:00
immarvin e237572f42 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:05:12 +00:00
immarvin 26db80fd6b fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:03:50 +00:00
immarvin 36dd321388 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12694 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:02:26 +00:00
immarvin eaec844ee5 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12693 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 06:58:51 +00:00
immarvin 1db86b8007 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12692 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 06:57:51 +00:00
immarvin 1cd235342c fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12691 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 06:55:19 +00:00
immarvin 14c5ac7474 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12690 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 06:24:34 +00:00
immarvin 80748cfb7c fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12689 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:48:00 +00:00
immarvin 3a304634fd fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12688 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:44:27 +00:00
immarvin 7bf6ed963a fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:41:53 +00:00
immarvin ebd5c56f74 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12686 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:40:49 +00:00
immarvin 7bd00bdb9d fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12685 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:39:01 +00:00
immarvin 520bd7ed8b fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12684 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:37:12 +00:00
immarvin fb5baa7220 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:36:04 +00:00
immarvin 59ac01b4fb fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:33:46 +00:00
immarvin 1d4915a573 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12681 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:28:57 +00:00
immarvin 01c10b014b fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:25:47 +00:00
immarvin c12f23ee95 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:22:15 +00:00
immarvin ebcdc7bbcb fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:20:08 +00:00
immarvin 6eb6685cc9 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12677 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:17:41 +00:00
immarvin 919c7bb12e fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12676 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:12:41 +00:00
immarvin b4909c86bb fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:08:29 +00:00
immarvin e71c83bd7c fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:05:32 +00:00
immarvin 33e1a8e2d2 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12672 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:04:22 +00:00
immarvin b8d8d08691 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12671 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:03:17 +00:00
jbjohnso 0c662e4e63 Put in draft clonevm with specialize for vsphere
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12668 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 21:02:35 +00:00
lissav f81a83bef4 add getAttribs XML support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 19:28:17 +00:00
daniceexi c5ab6661f0 defect 3524563: keeping the udevd does not hurt anything, so just keep it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 14:17:39 +00:00
lissav c12bf5a549 fix comments for getAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12664 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 13:44:00 +00:00
daniceexi 8b90088bf9 defect 3525895: check the status of xcatd before continuing in the xcatconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12661 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 08:57:20 +00:00
wanghuaz 9fc48a2a59 Fixing bug that basename command required File::Basename pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 08:05:59 +00:00
arifali 4ff3dc9eba cleaned up a bit, and added support for netinst iso for debian, so that can be used for installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-13 23:12:06 +00:00
arifali cf6ffbc38d updated thed building of ubuntu repo to include the supported ubuntu distros all-in-one
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-13 22:51:24 +00:00
arifali bd8f038ff7 add cmos settings for m4 type machines similar to the m3 settings previously in the directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-13 19:33:41 +00:00
lissav 7c314e731f Add delEntries XML support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12654 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-13 11:44:38 +00:00
lissav 6bc5be20e1 report when no defined plugin, will at least see in bypass mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-13 11:03:59 +00:00
lissav 112389df2b Add more info on delEntries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-13 10:36:16 +00:00
jbjohnso 00afad1db2 Correct mistaken variable prefix in optimization work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12651 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-12 12:03:07 +00:00
jbjohnso 4b81110bf7 Fix problem where nodegroup enumerated groups could last forever, also eliminate calls to retain_cache with (0)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-12 11:54:58 +00:00
jbjohnso 83be6fd96e Remove _clear_cache, we are instead just going to let things age out and rely upon use_cache to control when a caller
urgently needs to assure fresh data

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12648 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-12 11:54:49 +00:00
bp-sawyers 9ffff27d86 Fixed double %pre in xCAT.spec and improved dhcp require
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12646 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 21:13:40 +00:00
jbjohnso c82eea4b25 When doing getAllNodeAttribs, institute a noderange result cache to avoid many noderange() calls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12645 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 19:33:27 +00:00
jbjohnso ef27e8e45e More aggressively retain cache
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12641 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 18:42:47 +00:00
jbjohnso ae2de192ef Have monitorctl induce prefetchcache when it's probable in Postage context
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 18:02:01 +00:00
jbjohnso 3de8c6bb41 Have Postage induce prefetched cache.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12637 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 15:31:02 +00:00
jbjohnso 6cead01cf9 Have SvrUtils potentiall prefetchcache
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 15:30:53 +00:00
jbjohnso 14c2613546 Shave off an unneeded database call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12634 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:54:31 +00:00
jbjohnso 59b6c3310f Change Postage to induce prefetched cache
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12632 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:18:21 +00:00
jbjohnso c7f18f612d Fix problem where group mapping may get stuck under certain circumstances
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12630 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:15:06 +00:00
jbjohnso 9861a35e00 Make sure nodelist never retains a nodelist cache longer than 5 seconds under any condition
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12629 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:14:56 +00:00
jbjohnso 9f7c4f2dec Change option to 'prefetchcache'
Ensure reference counter doesn't go crazy on prefetch

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12628 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:14:48 +00:00
phamt 9d0cebeb07 Cleaned up code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12623 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 13:57:46 +00:00
nott 1447febc36 fix epkg parsing in otherpkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12621 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 12:14:23 +00:00
lissav b8f7f7a241 give better example for delEntries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12620 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 11:55:08 +00:00
lissav 3a8ee9cf5b give better example for delEntries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12619 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 11:40:38 +00:00
nott 1fb38d63e4 fix rpm name and missing installp_bundle issues
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 11:23:45 +00:00
wanghuaz 3582608923 To configure bond0 working with hf0-7 for HFI DD2.1 and fix a typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12615 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 06:57:13 +00:00
jbjohnso 996604e435 Add 'eagercache' to getNodeAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12613 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 20:57:08 +00:00
bp-sawyers 43ac09685a Improve html file names that getxcatdocs generates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12610 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 20:35:05 +00:00
jbjohnso bb760cf069 Try to do more reuse of nodelist objects in db worker
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12608 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 19:59:49 +00:00
wanghuaz 5890139d47 Fixing bug 3508572: SvrUtils.pm issues command mkpath, mkpath is included by File::Path, instead of File::Basename. I cannot find any other command that is included by File::Basename, so just replace it with correct one.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12607 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 09:28:10 +00:00
immarvin 8ac8d760ad fixed bug 3495408 :nodeset offline doc and test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12605 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 08:24:21 +00:00
immarvin 2624435903 fixed bug 3495408 :nodeset offline doc and test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12599 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 08:11:16 +00:00
immarvin 5c89c73a44 fixed bug 3495408 :nodeset offline doc and test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12598 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 08:09:59 +00:00
immarvin 6d55da8656 fixed bug 3495408 :nodeset offline doc and test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12597 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 08:08:19 +00:00
immarvin eb988493a6 fixed bug 3495408 :nodeset offline doc and test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12596 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 08:07:36 +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
xq2005 40976c739a add the work around for kdump on sles diskless node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12593 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 04:20:51 +00:00
yinle 75a543f116 Fix the issue that too many IPs in the PRLIST of the package.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12591 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 02:49:07 +00:00
zhaoertao a7d074f395 fix bug 3524452: rcons to P7 IH LPAR getting Console not ready error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12590 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 02:00:52 +00:00
bp-sawyers a3c2beca1d No longer require vsftpd.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 00:33:22 +00:00
nott 133beb2bd6 add force option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12586 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-09 14:56:56 +00:00
nott df748cbf32 don't remove shared resources
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12584 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-09 14:34:05 +00:00
jbjohnso 3d008a7b33 Have xnba.pm more gracefully recover from error conditions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12580 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-09 14:12:20 +00:00
jbjohnso 87edafb925 Have slpdiscover tolerate errors per managed target more gracefully
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-09 13:48:02 +00:00
phamt d71018a664 Allowed generated node names to come from free ones available, and not the highest base digit.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12577 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 21:32:11 +00:00
phamt b697c63032 Switched installation method for Linux from FTP to HTTP.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12576 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 19:42:43 +00:00
jbjohnso e519a1f925 Revise getnodetype function to not do N! log entries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12574 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 18:53:05 +00:00
lissav 743d03e1ae fix syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12573 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 18:32:57 +00:00
linggao cd3b725576 fixed the problem in rmc performance monitorng, it will ingore the error nodes instead of quiting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12572 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 18:00:17 +00:00
jbjohnso e43ba22d99 Correct mistake in clicmds change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12569 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 16:28:57 +00:00
lissav 6de4cfe891 fix man page, if no seed given then the seed becomes one of the nodes from the noderange, not necessarily the first
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12567 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 16:24:42 +00:00
lissav f0b6fde5d9 fix sinv error processing defect 3524781
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12565 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 16:20:11 +00:00
jbjohnso 6484d0b141 Revert "add use xCAT::FSPUtils;"
This reverts commit e49deecc8cfbba534ba7cf713b79709f63efaead.

This change broke SSH automation

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 16:15:47 +00:00
nott 140f67a0e4 fix resolv_conf bug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12562 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 15:09:37 +00:00
nott 5a51b99724 fix resolv_conf info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 14:23:29 +00:00
jbjohnso 0f753a95d0 New command 'tcons' to be like 'wcons' but using tmux instead of x windows
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12557 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 19:03:44 +00:00
bp-sawyers 95db581fae Add support for running rcons via sudo on aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12555 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 18:46:25 +00:00
phamt 7f995d604a Changed when old directory entry is removed from xCAT.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12553 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 15:22:15 +00:00
jjhua 403add1822 For DFM lsvm command, the noderange's type should be cec, not fsp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12551 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 14:10:26 +00:00
jjhua 18a22cb2a7 There will be a performance issue in large cluster in the fix for 3524241, I made the fix again.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12550 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 14:08:29 +00:00
yinle cfcfbb429f Add filling-in prlist in the slp request.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12547 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 09:40:57 +00:00
zhaoertao 8453bc07d7 fix bug 3524241: some dfm commnds failed when noderange is lpar
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 09:14:50 +00:00
yinle 8434dfff50 Fix bug 3522940:FB->lsslp no response on aix71D
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12544 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 07:45:45 +00:00
zhaoertao eebe399699 fix bug 3519426: FB:rspconfig network=ip,host,gateway,netmask can't work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12542 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 07:07:03 +00:00
yinle e97573587a Fix some mistakes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-05 02:06:19 +00:00
jbjohnso e5bc9b43c7 Honor addkcmdline parameter in esxi5.x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 21:02:45 +00:00
jbjohnso 84152575a0 Have ks= in esxi install honor noderes.nfsserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12534 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 20:51:12 +00:00
jbjohnso 020ac78e7f Be content with just a boot.cfg.<whatever>.tmpl file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12533 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 20:45:44 +00:00
jbjohnso 2e6ccdb68d Have esx.pm put the kernel command line argument on 'b.b00' in tmpl case. It's still not the recommended approarch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 20:36:43 +00:00
jwsimpson c047d8b5cb Defect 3514607 - RPM checks for ifix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12530 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 17:16:42 +00:00
jbjohnso 0c9f723786 Correct loop variable names in various post scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12526 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 14:27:19 +00:00
phamt 8c8d178eb3 Formatted code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12525 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 14:23:08 +00:00
wanghuaz 5e12d730ff Fixing bug 3523438: ENV variable has issue with full installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12523 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 09:09:33 +00:00
ligc 4bb9056a68 fix for bug 3523412: makeconservercf noderange does not work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12520 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 06:28:36 +00:00
daniceexi 8cf075b62d fixed the case that import sshkey failed,but no error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12519 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 02:25:19 +00:00
yinle 7c14981e7e Modify the help information about lsslp.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12517 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 02:09:04 +00:00
yinle d1a4d44103 Modify man page of lsslp for new lsslp code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 02:02:01 +00:00
yinle 7e1fa1dcc5 Add support of lsslp -C -T.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 01:40:45 +00:00
phamt e2484fafe5 Formatted code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 00:54:58 +00:00
lissav 8a15295c6a Put comment where output is actually sent to the callback
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12510 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 18:25:27 +00:00
jbjohnso 993b886f97 Recognize customized ESXi OS images
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12509 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 14:23:16 +00:00
lissav 29c5b25620 Put back example of setting up ssh keys, loss it somewhere
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12507 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 11:22:55 +00:00
yinle 6ddbbe0505 Add support of lsslp -C -T
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12505 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 09:48:32 +00:00
daniceexi 13db6d7692 Change the keyword to identify the flex power node. handle the failure case that setting network without output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12503 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 08:03:26 +00:00
yinle 5623cb3a9e Fix bug 3522940: FB->lsslp no response on aix71D
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12500 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 06:47:36 +00:00
yinle 195d7771f3 Fix some mistakes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12497 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 06:36:27 +00:00
jjhua 1745668bfa For FB, prompt some messages at the beginning of the setting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12496 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 06:28:18 +00:00
jjhua 68607d70b7 add use xCAT::FSPUtils;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12488 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 05:00:28 +00:00
jjhua 1225932728 add use xCAT::FSPUtils;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12487 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 04:58:16 +00:00
jjhua a82e83dcc6 add use xCAT::FSPUtils;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12486 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 04:49:07 +00:00
ligc d77845f04e fix for bug 3523175: use nfsv3 to mount the statelite directories
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12484 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 04:31:35 +00:00
jbjohnso f6460e219a Have xCAT instances more reliably relay abort commands and cleanly exit on ctrl-c by client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12482 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 19:57:58 +00:00
jbjohnso abd9669f93 Have Table.pm force flush of more than 5 seconds old, in preparation for more aggresive cache retention
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12481 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 19:57:49 +00:00
linggao 3c38e7c850 doc added for sprcifying --keeprepo for ospkgs postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12479 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 19:17:31 +00:00
lissav 5b31e3bd92 revert to 11591
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12477 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 18:40:08 +00:00
lissav 4269163b6f document support of MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12476 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 18:29:59 +00:00
lissav a65de74eaa fix rsync path for MN support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 14:29:27 +00:00
jjhua c43b98a161 fixed bug 3522919
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12474 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 13:47:59 +00:00
jbjohnso 638e9179a7 Fix problem where Client could attempt to coalesce data from server that doesn't cleanly cleave an xcat response
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 12:59:22 +00:00
lissav f9bb1c2c79 define mn attribute for Management Node in nodetype.nodetype
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12468 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 12:12:10 +00:00
lissav 5a090a858b Support xdsh/xdcp to MN, MN must be defined in nodelist table and nodetype.nodetype=mn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 11:54:31 +00:00
wanghuaz 246777b976 Configure bond0 working with hf-x in confighfi postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12465 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 11:20:42 +00:00
lissav 40609812d8 remove -M flag implementation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 10:36:05 +00:00
lissav 79d548d7c7 remove -M flag implementation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 10:31:01 +00:00
wanghuaz c0deadd4f6 Added top level files for compute.sles11.x86_64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12462 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 07:53:35 +00:00
wanghuaz b31e7d41df PE otherpkgs list name has been changed to match different pe rpm names, now changing the upper level pkglist to include correct pe list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12459 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 07:13:11 +00:00
jjhua 2c9a5c5a2f correct a typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 06:42:48 +00:00
jjhua 15e830a384 use the getIPaddress() in FSPUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12456 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 06:31:36 +00:00
jjhua 3edf686eb9 use the getIPaddress() in FSPUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12455 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 06:30:46 +00:00
jjhua 80dd11dbd4 use the getIPaddress() in FSPUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12454 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 06:30:04 +00:00
jjhua 5f2d412304 add some comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12449 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 06:08:45 +00:00
jjhua 09054d303a add more comments to some special cases in preprocess_nodes()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12448 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 05:51:24 +00:00
jjhua 46eb7b4b6c modified the comment for getIPaddress and getHcpAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12443 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 05:10:42 +00:00
wanghuaz 9ee2f80be1 Changed pe otherpkg list name to match xCAT naming convention, instead of PE.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12441 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 04:39:57 +00:00
wanghuaz b38d5b8b86 PE now is providing different package names for different OS and arch, for example, **rh6x, **rh6p, **sles11x, **sles11p. So for convenience of system admins, we are shipping several otherpkgs list for different PE version, os and arch.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 03:49:05 +00:00
wanghuaz 49e283404b Fixing bug 3518890, update pe otherpkgs list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12439 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 03:26:45 +00:00
ligc 2c8c856097 fix for bug 3522897: not allow chdef -t <object_type> xx=yy to change all objects
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 02:53:42 +00:00
yinle 055b0e382c Fix bug 3521914: fsp plugin bug at PPCenergy.pm line 182 with renergy on p7ih
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12435 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 02:34:07 +00:00
phamt 4ad9216707 Formatted code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12434 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 23:43:11 +00:00
phamt 075a6e49e9 Formatted code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12433 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 21:14:16 +00:00
jbjohnso 7c2e989bb8 Fix various mistakes in bmcsetup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12432 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 20:38:45 +00:00
jbjohnso 83e79a0991 Add setting vlan tag to bmcsetup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12431 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 20:38:39 +00:00
jbjohnso 85ee055285 Correct problem where xcatd could truncate very large responses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12429 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 20:00:30 +00:00
jbjohnso 4e9d05f9d2 Correct syntax problems in invoking fcntl calls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12427 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 18:28:38 +00:00
jbjohnso b41bbd14dc Fix problem where a bare newline could cause xcatd to be confused
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12425 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 17:52:55 +00:00
nott e52c4c98c6 add hasn support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12423 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 17:13:53 +00:00
lissav f18bfb379b start code for xdsh on MN, interface defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12421 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 15:54:17 +00:00
lissav 77a82387d2 start code for xdsh on MN, interface defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 15:53:19 +00:00
linggao 1fbb70b78b added --keeprepo flag for ospkgs posctscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12419 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 15:35:13 +00:00
linggao 708895577c Fixed the wrong callback structre that caused defect 3510390
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12417 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 19:42:06 +00:00
lissav 245dd3a189 fix setNodesAttribs1 in non-bypass mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12415 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 19:36:48 +00:00
jbjohnso fdc9202229 Actually include the serial payload in the discovery packet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12413 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 19:27:33 +00:00
jbjohnso 039f6191f2 No longer bother trying to do 32-bit only x86 and ppc for genesis image
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12412 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 16:24:23 +00:00
jbjohnso a60faa9535 Move the new requires more appropriately
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12410 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 16:09:28 +00:00
jbjohnso 9bff9c6d8f Have xCAT require genesis and elilo-xcat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12407 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 16:06:38 +00:00
jbjohnso e272264896 Fix discovery to do serial number
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12406 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 13:57:22 +00:00
nott c4894bc832 add -k and -u options
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12405 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 13:28:02 +00:00
jbjohnso dc5d96e183 Correct problem where multiple nics on the same subnet don't quite pan out very well in discovery
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12401 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 13:04:54 +00:00
arifali d226d3d75d ubuntu: add new genimage which has a few additions for dracut, when available, and re-enabled busybox-static, as that is available in ubuntu10.10. this current one works with 10.10
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12400 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 00:03:11 +00:00
arifali 4f0482d705 ubuntu: genimage fixes
- stateless requires busybox (see artifact 3522447 for more details)
- initial work on dracut committed, not sure if this is going to work yet, as ubuntu doesn't have dracut by default
- changed linux-image-generic to linux-image-server, and removed busybox-static as that didn't exist

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12399 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 23:00:07 +00:00
arifali 869869efe6 xcat-server: add changes that have gone into anaconda.pm
- genimage will follow
- tried to be consistent with the changes to anaconda.pm
- Added dracut stuff, not sure if that is going to work yet though (maybe the dvd version of the distro will work, will experiment)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12398 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 22:42:59 +00:00
jbjohnso f232fc8b82 Rework Client to be more responsive to server code even with the XML coalescing in effect
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12395 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:36:33 +00:00
jbjohnso 54aa2a2202 Revert "Revert "fixed a defect when snmove failed if the source service node is down. defect 3487610""
This reverts commit f916dada5ddca8f67acd9bd9a050a158fde5d1df.

revert the mistaken revert

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12394 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:14:59 +00:00
jbjohnso d7088aa571 Pass 2 at correcting xcatd infinite patience with clients
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12393 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:13:41 +00:00
jbjohnso 75d37c0a6f Revert "Fix problem where unauthorized users could indefinitely hold an xcatd slot open so long as they stayed connected"
This reverts commit 293f2194c6fe119e71e3c053c3894748a44f9e7e.

Doing it a better way

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12392 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:13:35 +00:00
jbjohnso 6df0c51504 Revert "fixed a defect when snmove failed if the source service node is down. defect 3487610"
This reverts commit 73a31e731517ce234f85f23ce391b3fce1169b76.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:13:28 +00:00
jjhua dfaf88f244 remove getIPaddress() from Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-28 09:28:24 +00:00
jjhua d55a7c6d5a performance enhancement for getIPaddress() in FSPxx.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12389 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-28 09:26:49 +00:00
jjhua 794f22057a performance enhancement for getIPaddress() in FIP.pm; some other performace issues will be fixed later.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12388 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-28 09:25:12 +00:00
jjhua 4b8f6d528a performance enhancement for getIPaddress() in fsp.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12387 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-28 09:25:04 +00:00
jjhua 1bc8fc7e64 performance enhancement for getIPaddress()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12386 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-28 09:22:50 +00:00
jbjohnso 5d38b453ef Fix problem where unauthorized users could indefinitely hold an xcatd slot open so long as they stayed connected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 18:36:52 +00:00
linggao bb244787a7 fixed a defect when snmove failed if the source service node is down. defect 3487610
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 17:57:37 +00:00
jwsimpson 558c7ba4bb support for shared file system
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 16:05:45 +00:00
jbjohnso 1c83b2641b Correct typo in xnba plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 14:45:26 +00:00
lissav c4d0ab4062 man page for EXECUTEALWAYS clause in syncfile for xdcp -F
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12372 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 11:32:41 +00:00
lissav 7c48ae3e2e add EXECUTEALWAYS clause in syncfile for xdcp -F
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12371 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 11:26:51 +00:00
ligc 5cf83aad5b fix for --setuphanfs work with mkdsklsnode -b
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12370 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 10:06:10 +00:00
zhaoertao 92d59e063a fix a potential bug for SSHInteract
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12368 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 07:45:20 +00:00
jbjohnso 83bcc20597 Revisit the 'templated' boot config based on refined requirements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12365 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 19:50:05 +00:00
jbjohnso ea23089441 Fix a problem in the boot partition in rhel
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12364 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 19:25:46 +00:00
bp-sawyers 5548c0684b Added wvid man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12362 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 19:08:15 +00:00
jbjohnso b99e150b60 Add boot device probing to suse
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12361 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 19:00:30 +00:00
jbjohnso 8250bc1673 Have RedHat installs reduce risk of overwriting SAN volumes. The strategy:
BIOS drive 80 is chosen if at all possible (don't know EFI way yet)
Failing that, first virtio block device
Failing that, then first block device served by ata_piix4, ahci, megaraid_sas, pmcraid
Failing that, first mptsas or mpt2sas
Failing that, first block device

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 18:41:18 +00:00
yinle 7ddb1fa4aa Add retry part to support lsslp -t retrytimes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12358 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 15:32:21 +00:00
lissav 75ff38db92 Add setNodesAttribs1 (format 1) for setNodesAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12357 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 15:19:21 +00:00
jbjohnso bab318526c Have xcatd accept multiple requests in a single connection
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12356 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 14:35:29 +00:00
jbjohnso bc9e8d2f92 Fix otherpkgs in the face of robots.txt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12355 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 13:00:41 +00:00
jbjohnso 957464e075 Have wget http ignore robots.txt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12352 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 12:40:46 +00:00
yinle a434851bc3 Fix some mistakes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12350 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 11:45:50 +00:00
yinle c67dfb6688 Modify lsslp to support invoking SLP.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12348 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 10:22:30 +00:00
yinle abb3d4989a add support of lsslp -i (specify the nic to do lsslp) and fix a bug.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12346 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 08:56:24 +00:00
phamt f6cca9aa39 Added configuration panel for groups.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12345 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 03:49:06 +00:00
phamt f8630000f9 Added configuration panel for images and updated profiles configuration panel.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12344 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-25 23:36:32 +00:00
jbjohnso 5e9caf5a66 Actually fix typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12342 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-25 18:24:40 +00:00
jbjohnso 16843a2df4 Correct typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12341 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-25 18:24:32 +00:00
bp-sawyers d242ae9f30 Removed expect dependency
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12340 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-25 11:40:16 +00:00
bp-sawyers cbe0b30514 Always build the meta rpms and add a buildall=1 option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12338 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 23:07:13 +00:00
bp-sawyers 1617b0b2e4 Fix xCAT-UI build problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12336 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 21:02:40 +00:00
jbjohnso 961646994d Have Table.pm properly bail out in the event of a bug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12334 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 19:17:06 +00:00
jbjohnso 67505c4c3b Table.pm would die unceremoniously when faced with undefined argument, tolerate it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12332 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 18:31:02 +00:00
phamt 4731bf5d4b Erase node from /etc/hosts during rmvm.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12331 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 18:30:59 +00:00
phamt e95876b3b5 Fixed bug #3458318
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12330 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 16:10:55 +00:00
phamt 8cbd409de5 Fixed bug #3458318
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12329 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 16:01:41 +00:00
phamt f9ef89062e Fixed bug #3458318
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12328 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 15:55:37 +00:00
phamt a0f2a9a993 Fixed bug #3458318
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12327 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 15:24:16 +00:00
wanghuaz e743131f19 Added checkpoint/restart script to setup related environment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12325 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 11:02:08 +00:00
sjing 34ca6ec873 the fix for bug 3364300 - only allow root to run xcatbypass mode.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12323 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 02:36:17 +00:00
sjing cb66289972 the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12321 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 02:06:12 +00:00
sjing be056ae2d0 the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12319 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 02:03:10 +00:00
sjing d69ac67df9 the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12317 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 02:00:50 +00:00
sjing 846cb5662e the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12315 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 01:58:20 +00:00
sjing 92cdad2a2d the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12313 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 01:50:26 +00:00
sjing 66b2bcfce0 the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12311 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 01:47:48 +00:00
sjing f84a114049 the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12309 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 01:41:47 +00:00
sjing 1b3e43ba14 the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12307 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 01:38:00 +00:00
linggao d5a3ec70db drop -t support for genimage, defect 3520753
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12306 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 20:52:58 +00:00
lissav efaa159718 fix examples
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 17:40:41 +00:00
lissav a2eff1840f put XML table routines in tabutils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12301 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 12:32:58 +00:00
lissav 285c79265f moving DButils.pm function into tabutils to make use of database access code already implemented
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12300 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 10:50:35 +00:00
xq2005 1402e078d0 change the mount path in kdump postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12299 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 03:14:19 +00:00
jjhua 0804b949cb correct the typo, fixed bug 3520431
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12297 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 02:57:44 +00:00
lissav e16dc4a470 fix defect 3474497
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12296 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-22 18:57:50 +00:00
lissav b10b8057a6 get rid of warning for perl -c
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12294 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-22 10:25:50 +00:00
lissav 2ecf1cd9f0 change globals in tabch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12292 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-22 10:17:43 +00:00
bp-sawyers 3b97f0c9ef Fix getxcatdocs to not use File::Path::make_path, which apparently isn't in all perls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12290 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-20 13:37:58 +00:00
phamt 3d6021bca9 Removed /opt/xcat from .spec file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12287 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-20 04:06:16 +00:00
phamt 4dc359e733 Added groups panel in service config tab. Added create, edit, and delete functionality into zVM service profile config panel. Removed /opt/xcat from .spec file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12286 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-20 03:50:58 +00:00
zhaoertao 0825693212 fix bug 3518485 and 3518486, issues about ivm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-20 03:18:38 +00:00
arifali ecfadb5118 update script to create mklocalrepo.sh once the repository is created
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12283 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 22:31:05 +00:00
phamt 6ee305dd95 Added policy.rule=allow when creating new users for service page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12282 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 18:56:55 +00:00
lissav d6b8daaf33 Start of fix for SF3519602
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12281 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 18:50:42 +00:00
lissav 40ae98400f revert perf change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 15:32:28 +00:00
lissav bf313c1b3f revert code back to 11757
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12276 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 15:18:04 +00:00
jjhua 05a9e204d8 performance improvement. collect the CEC/Frames' Children in preprocess_nodes() of PPC.pm, instead of getIPaddress() in Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12274 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 10:32:01 +00:00
jjhua 22e99e551b performance improvement. collect the CEC/Frames' Children in preprocess_nodes() of PPC.pm, instead of getIPaddress() in Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12273 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 10:30:09 +00:00
sjing f0c9ca1996 When bad flags are specified, we need to return 1.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12270 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 07:18:31 +00:00
zhaoertao 9cd0c90e72 fix bug 3511324: rpower got uncorrect output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12269 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 07:03:20 +00:00
zhaoertao b8c9a70a3c fix bug 3519391: FB:wrong rpower status for
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12265 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 06:22:00 +00:00
phamt 0e7ea664d4 Added selectable column to service tab on configure page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-18 22:49:15 +00:00
jwsimpson 86b14c682a Defect 3469202 - PMR PMR29062 - update to 2.8 rinv man page for deconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-18 20:00:51 +00:00
lissav 61b78221c6 improved XML
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12261 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-18 15:52:53 +00:00
xq2005 4e6128de01 update the cmdlist with crashkernelsize attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-18 09:18:03 +00:00
jjhua d163da308f fix the error of the command mkhwconn frame -s
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12259 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-18 00:55:11 +00:00
jbjohnso 3351f818a9 Don't give up on a TCP socket if connection happens but SSL is slow
Have Client.pm consider basic tcp connectivity separate from SSL for timeout concerns

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12256 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-17 21:04:23 +00:00
lissav fa72494694 add getNodesAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-17 18:29:51 +00:00
jbjohnso 7d30d83c97 Support customers wishing to have boot parameters grouped into the same config file as module liste
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12254 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-17 14:09:49 +00:00
lissav 8ec833f8b0 start of XML DB access plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-17 13:19:27 +00:00
immarvin 1a90296659 fixed defect ID: 3509605 xcatconfig will not setup syslog for xCAT on linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12252 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-17 13:01:34 +00:00
jjhua 834894fbaf { } is for required arguments when the user has to choose between several items, one of which is required.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-17 06:12:27 +00:00
phamt a80623ace8 Added configure profile panel for self-service page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-17 03:03:25 +00:00
arifali 5006b9db5f fix rsyslog for ubuntu on MN, and don't need to do it in posinst
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12247 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-16 19:40:18 +00:00
lissav 1b755d9d48 More updates for XML handling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12246 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-16 18:39:07 +00:00
lissav a7a5218b5b Add support for XML in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12245 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-16 12:52:08 +00:00
jbjohnso 2bf340b011 Enhance ipmi console with analogous enhancements to other console backends to mitigate memory usage when massive numbers of imms are not reachable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-16 00:42:36 +00:00
jbjohnso 856de8cecd Have IPMI not send console data if a basic IPMI health check does not pass.
This means ipmi console backend may spend more time holding a lock when bmcs are unreachable, but it means that the service processor addresses are not pinged all at once

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12242 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-16 00:27:37 +00:00
jbjohnso db4022ec09 Have psh have /dev/null opened as stdin instead of nothing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-15 13:11:55 +00:00
arifali c55553e5df xcat-server: fix enable apache2 for ubuntu/debian when xcat is installed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12239 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-14 22:33:11 +00:00
bp-sawyers 380c3e3d49 fixed doc building problem with 775 docs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-14 17:34:04 +00:00
jbjohnso d5e4736a96 Fix NetworkUtils.pm to work correctly with IPv6 nets with '/64' in netmask field
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12237 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-14 16:09:38 +00:00
jbjohnso db1e95f0c8 Have packimage skip mounted filesystems (e.g. proc, sys, etc that might be accidentally hanging around).
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12235 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-14 14:19:34 +00:00
jbjohnso 9e912be932 Fix a typo in SSHInteract.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12234 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-13 12:43:32 +00:00
zhaoertao 24ac5b5ecf delete username HMC from usage page of rspconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12231 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-13 03:10:34 +00:00
linggao 77d99a07e2 fix defect in ospkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12228 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 19:26:55 +00:00
phamt d13d61f0f7 Destroy dialog once close button is clicked.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12226 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 16:11:00 +00:00
lissav 3fb71bfd73 fix incorrect info on timeeout
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 16:00:07 +00:00
ligc fdc6485616 support updatenode ospkgs for SLES SDK
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12222 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 09:29:17 +00:00
jjhua ac03612e39 update the rpower manpage for the -T tooltype
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12221 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 08:53:04 +00:00
jjhua efc24bee4f rpower cec onstandby -T tooltype support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 08:13:55 +00:00
jjhua 211cf80b67 rpower cec onstandby -T tooltype support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 08:11:57 +00:00
ligc 820beb4ffa fix for bug 3496309: print warning message if could not find osimage information for nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12214 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 07:57:24 +00:00
immarvin ee23b11566 change all logger calls to put xcat msgs into local4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12213 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 05:47:36 +00:00
immarvin 2dbc51d2d7 change all logger calls to put xcat msgs into local4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12212 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 05:45:09 +00:00
immarvin c07ec5a185 change all logger calls to put xcat msgs into local4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12211 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 05:40:58 +00:00
immarvin 63bc1b4476 change all logger calls to put xcat msgs into local4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12210 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 05:37:26 +00:00
immarvin 5c74fae8cd change all logger calls to put xcat msgs into local4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12209 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 05:27:42 +00:00
immarvin ba0a9dd975 change all logger calls to put xcat msgs into local4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 05:26:55 +00:00
arifali f18a325527 xcat-nbroot2: ubuntu: Genesis environment changes to support ITE configuration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 23:29:20 +00:00
phamt 90b9b596e0 Changed location where directory entry is retrieved.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12204 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 22:40:44 +00:00
phamt 57b7c99c0f Moved profile configuration and directory entry onto the xCAT MN under /var/opt/xcat/profiles.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12203 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 22:33:50 +00:00
jbjohnso 67adfabc49 For ITE case, skip user name and password setup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12202 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 20:49:49 +00:00
jbjohnso a322586be7 Genesis envirenment changes to support ITE configuration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12201 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 20:49:41 +00:00
phamt d060592573 Added configure tab for self-service page. Fixed bug in nodes table where node attributes are not loaded when there is more than 50 nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12200 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 19:59:16 +00:00
jbjohnso 72254ce79c Provide a hook for TLS cert delivery by updates.img.
Note this is of little use in a PXE environment today, as MITM to the initrd or ipxe subverts all of this.
This however is interesting for secure boot environments and remote media boot strap to provide an unbroken trust chain

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12198 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 13:39:51 +00:00
arifali 635505a340 xcat-server: fix rsyslog if imuxsock is not included in rsyslog.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12197 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 13:11:39 +00:00
sjing 455cd126ca not try to give "Error" message when the return code of actual command is non-zero, instead, use the return code of the actual command as the return code of xcatchroot.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12195 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 10:33:50 +00:00
sjing 60268e8096 fixed the issue when -l is specified as '/'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12192 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 05:52:42 +00:00
sjing de59e42d39 check if nim resources exist before copying them to SN.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 04:48:03 +00:00
daniceexi 48c280bae1 fix the issue that rootimg/sys was not umounted by genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12184 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 17:23:20 +00:00
yinle 17fba594b1 Fix bug 3512371:hcp in HMC node definition
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 13:28:24 +00:00
jbjohnso 17593ac412 Move send_service_request_single inside the while loop so that it actually would work as a retry mechanism
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12180 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 12:39:37 +00:00
jbjohnso f9d6ddd02c Fix typo in slpdiscover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12179 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 12:34:04 +00:00
ligc 778b0b915a fix for bug 3497125: warning message for plain_pkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12178 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 11:38:40 +00:00
arifali f1152ae54d change build script for ubuntu
* Generalised the CODENAME to be taken out of /etc/lsb-release
* added building of xcat-dep, the script for that will be added later
* added for loop to create packages rather than one line per package

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 11:00:00 +00:00
arifali ae1b2cf9d5 xcat: further debain changes
* added xcat-genesis-amd64 to recommends
* added openslp-xcat to Depends as per the spec file
* copying xHRM to postscripts as per the spec file

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12175 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 10:39:34 +00:00
arifali 569cd9323e xcat-client: fix environment issue for MANPATH in postinst
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12174 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 10:34:00 +00:00
arifali 9f010a3b76 xcat-ui: fixed debian files
- don't need apachedaemon, as this is same across ubuntu and debian
- added the plugins in the correct place
- created the link for webportal

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 10:28:30 +00:00
arifali 3946f00fd5 corrected/added xcat-ws.conf for ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12172 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 10:25:29 +00:00
immarvin 1554d29c0f fixed nfs mount problem and bug:CN fail to acquire eth address during deployment(ID: 3515413)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12170 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 05:14:00 +00:00
zhaoertao 1428987d4f fix bug 3513481. There was no command 'getent' in AIX.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12168 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 02:45:38 +00:00
lissav 153329d268 fix syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12167 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-09 19:10:53 +00:00
jbjohnso 65032f72e5 Fix problem where ESXi clone from a non-xCAT template may fail in the face of xCAT mac address management
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12164 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-09 14:05:25 +00:00
yinle 95ae6e5ae6 Fix bug 3516024: xcatsetup can't define service/storage node over 1 bb
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-09 08:50:56 +00:00
arifali 2e2a78e7f9 xcat-server: fixed further debian packaging
* merging in fixes that were included in the spec file.
* generalised rules file

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12161 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-08 21:08:04 +00:00
arifali 7f7176f039 fixed further debian packaging, merging in fixes that were included in the spec file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12160 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-08 18:10:03 +00:00
arifali e0bea579dc added syslinux-xcat into Depends for xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12159 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-07 23:22:42 +00:00
arifali ade7ff742c changed control file similar to xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-07 23:19:12 +00:00
arifali 703ffda5ac change Depends for xCAT so that now it uses ipmitool-xcat instead of ipmitool
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12157 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-07 23:08:32 +00:00
arifali a56f0baa89 change the dependancy for xCAT from conserver to conserver-xcat in the debian packaging
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-07 20:28:39 +00:00
bp-sawyers e9f36b6f10 Improve the hosts table description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12149 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-06 18:58:33 +00:00
phamt d03e83e52a Fixed node delete bug. Changed copy CD tab into a dialog. Loaded correct plugins for service page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12148 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-06 18:11:08 +00:00
yinle b2b69cb9d5 Fix bug 3504211: update xcat from 2.6.11 to 2.7 occur error on sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-06 03:33:56 +00:00
yinle c9eeddbfeb Fix bug 3504211: update xcat from 2.6.11 to 2.7 occur error on sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12146 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-06 03:31:50 +00:00
phamt 56c12c59e6 Added option to list all disks in disk pool.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-06 02:54:50 +00:00
phamt 2061e7e0ee Added refresh, add, and remove actions on provision image page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12142 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-06 02:31:08 +00:00
zhaoertao c6178a5a94 fix bug 3513522: provide more detailed information for 'conn' command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-06 02:21:26 +00:00
arifali 60867d1ce9 Initial commit of debian files for xCAT-genesis
* This will only compile on maverick if you install the lldpad from the latest repo from ubuntu i.e. precise (12.04)
* The package that this produces hasn't been tested yet, so will be testing once all the core packages are built

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 22:46:12 +00:00
jbjohnso aab44b34bd Fix problem where mknb failed to create a correct discovery configuration on rhel6 uefi environments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 21:12:08 +00:00
jbjohnso 4e8e9cc11d Have slpdiscover manage mac table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12135 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 17:06:39 +00:00
jbjohnso 51b6f71eb6 Remove extraneous set -x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12134 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 17:06:25 +00:00
sjing 7fe393e420 Fixed the bug -f does not work if the Cstate of nim machine is ready.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12132 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 14:12:04 +00:00
jbjohnso a3f7e76b03 Have slpdiscover.pm program chassis name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12131 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 14:10:37 +00:00
zhaoertao a41c3051f7 fix bug 3513160: update manpage for rscan
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12130 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 06:08:24 +00:00
yinle 378134bf87 Fix bug 3515039, xcatsetup define service node error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12127 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 03:15:51 +00:00
arifali e8c17fdd80 Added initial xCAT-rmc debian files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 23:01:42 +00:00
linggao 61e76db19a fix the error callback in dhcp.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 20:08:10 +00:00
jbjohnso 6cd35e6f9c Instead of pestering user, when CMM is detected auto-switch behavior
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 19:28:14 +00:00
jbjohnso 36d3b43194 Fix ssh to wait for system> prompt before trying to type. Also, defer MM reset until all 'clicmds' are processed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 19:13:12 +00:00
jbjohnso 60f1f2ed5f Fix nodestat reliability issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 17:43:24 +00:00
lissav bf841a2946 fix tabch -h
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 14:59:07 +00:00
jbjohnso 73cd343bf5 Have slpdiscover get more fleshed out for CMM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12115 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 14:35:13 +00:00
mellor 0b950cd054 defect 3491680 avoid LL error when setting same config values
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12113 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 21:53:48 +00:00
arifali e354728c53 fix rules file to add the svn version information to modifyUtils
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12112 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 21:51:48 +00:00
arifali f2577efa77 Fix building debian packages so that the .svn files are not included
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 21:37:16 +00:00
arifali f0e9de7796 Added IBMhpc debian files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12110 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 19:50:44 +00:00
jbjohnso 35fab70399 Add missing use statement to support the ip lookup checked in previously
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12108 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 18:55:35 +00:00
jbjohnso 9271d58115 Have blade.pm support filling in based on name lookup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 18:54:19 +00:00
jbjohnso 7e3c1b8b90 Add more neutral syntax for rspconfig account management of AMM, not everyone wants 'USERID'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 18:26:23 +00:00
jbjohnso 0e30e06d04 Change clicmds argument passing to be more flexible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 15:26:52 +00:00
jbjohnso 8a3b5596af Flesh out the blade clicmds ssh support a bit more and accomodate CMM default password behavior/requirements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 15:13:54 +00:00
phamt cb1b957167 Fixed build error.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 20:47:51 +00:00
lissav 29d1c397a4 fix defect 3514127
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12102 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 20:23:38 +00:00
phamt f3c4eb0b38 Removed editable disk pool column.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12100 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 20:21:30 +00:00
lissav f63aaf9ebf fix defect 3513526
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 20:05:53 +00:00
jbjohnso 905caa2b18 Enhance blade.pm in preparation for deeper CMM support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12096 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 19:27:34 +00:00
phamt e9fc69a84e Enabled editable disk pool.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12095 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 19:04:07 +00:00
daniceexi 8e3bb4ee70 fix the issue if having entry has dir path in the .pkglist, genimage failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12093 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 17:35:34 +00:00
phamt 75d9038371 Added refresh button, and enabled adding/removing multiple regions to disk pool.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12092 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 15:43:37 +00:00
phamt 7d2b1048eb Enabled adding/removing multiple regions to disk pool.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12091 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 15:21:49 +00:00
jbjohnso 9933536568 Have name match the filename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12090 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 13:41:37 +00:00
jbjohnso 8be05fe72f Rename SSH.pm to SSHInteract.pm to avoid conflict
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12089 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 13:40:59 +00:00
jbjohnso f7d4b54e7c Add a hidden ripmi directive for debug and development support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12088 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 13:40:37 +00:00
phamt 7bef9e3d4b Added storage management to zVM resources page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12087 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 04:08:30 +00:00
jjhua d7011e64bb fixed the point 2 of defect 3513208, when run genimage with mlnxofed_ib_install twice for sles11sp1, the genimage will fail. A special case for sles11sp1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12086 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-01 06:36:03 +00:00
ligc c791b1d857 fix for bug 3487614: xcataixpost: add timestamp when running postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12083 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-01 03:57:47 +00:00
immarvin 6d0fd8bd7f initialize the variable XCATROOT when loading the .pm file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12082 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-01 03:17:14 +00:00
ligc 48749916c6 fix for bug 3487614: change to /xcatpost/mypostscript and add timestamp when running postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-01 02:14:04 +00:00
ligc 2d6e8d8a5d fix for bug 3487614: add timestamp when running postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-31 02:58:07 +00:00
wanghuaz f386741c7c Fixing bug 3497120: Not to disable nsddevices by default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12075 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-30 09:16:42 +00:00
wanghuaz 9c8932552f Fixing bug 3512768: minor error in description of postinstall attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12074 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-30 08:48:27 +00:00
yinle 9d0320735a minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12073 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-30 07:16:24 +00:00
wanghuaz 94d0e7c1e6 Top level update in hpc integration to include the latest pkglist, otherpkgs and postinstalls. Also changed the way to install hpc apps from postinstall to otherpkgs. PE and GPFS otherpkg list have been added the pkg names. PE and GPFS postinstall script have removed package installation part. LoadL otherpkg and postintall don't do any change since only full license rpm needs to install by xCAT, other Loadl packages are still installed from their own script, so moving loadl license rpm from postinstall to otherpkg might add more work to user, we can simply do it from postinstall.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-30 06:33:32 +00:00
zhaoertao eba699b147 modify the fsp-api action for rpower cycle to support rbootseq
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12071 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-30 05:47:32 +00:00
jjhua ca365a92be add the pciutils and pciutils-libs because we use the lspic in the mlnxofed_ib_install scripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12069 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-30 05:22:30 +00:00
wanghuaz 3ff5eba8fc Use otherpkgs to install gpfs packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-30 04:31:08 +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 6c81bc84ce More efficient when calling getstate for pxe,xnba and yaboot during node deployment or updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 20:33:32 +00:00
jbjohnso 13f01c5a87 Change the invocation that relied upon telnetcmds name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12061 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 20:26:25 +00:00
jbjohnso 2638fd549b Step 1 of blade.pm ssh-ification... rename telnetcmds to clicmds... cosmetic change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 20:26:16 +00:00
jbjohnso e88e88e925 Add xCAT::SSH to help ssh-ify blade.pm to cope with CMMs that do not do telnet by default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12059 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 20:10:50 +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
jbjohnso ef19a2bbdd Have xnba.pm cope with extrnal cals to getstate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12052 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 18:08:49 +00:00
nott e0a151ba9b add configdump to nimimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12051 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 14:14:49 +00:00
jbjohnso f92ab6d4a4 Change psh to not leave STDIN open. Hopefully this helps ssh not get hung up expecting enters inexplicably
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12049 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 13:30:10 +00:00
wanghuaz e4037c6e09 some hpc packages listed in otherpkg list requires /proc filesystem. Previously those packages are installed from postintall script and the postintall script mounted /proc filesystem for them. Now if use otherpkgs to install HPC packages, we have to mount /proc file system also.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12047 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 08:22:41 +00:00
jjhua 1fdfbc2a34 fixed the bug 3512662, add the ib rh into the xCAT-server.spec
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12046 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 04:51:46 +00:00
ligc 9b0eef0aa9 fix for bug 3487614: move scripts to /xcatpost/mypostscript* and the requirement from bug 3497125
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12044 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 03:16:38 +00:00
wanghuaz 0c51beba69 add minor change to last checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12042 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 02:57:21 +00:00
jbjohnso db4d440467 Have SvrUtils allow 'export' of sendmsg for brevity in calling code if calling code so desires it.
Get ready to have blade.pm do ssh out of the gate on at least CMMs
Get ready for SLP based 'node' discovery, including MM initial setup

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 21:06:04 +00:00
mellor 73bc80c97b defect 3476911 rollupdate check for bad input values
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 19:41:41 +00:00
nott cb4a9f01cb add support for dump re-target
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12036 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 13:39:48 +00:00
jjhua 8fe63331bd fixed defect 3512263.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 12:33:40 +00:00
xq2005 3f2f5ea67d modify the kdump cnfigure file in postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 10:04:56 +00:00
wanghuaz ee4281f364 Using a new method to install PE packages. otherpkgs now accept system environment, so we can use this way to install pe licience rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 08:38:57 +00:00
wanghuaz 63bc149a82 Using a new method to install PE packages. otherpkgs now accept system environment, so we can use this way to install pe licience rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12029 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 07:41:57 +00:00
xq2005 512795a33e fix bug for kdump setup on rhels6.1 stateless node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 07:12:18 +00:00
linggao 578afdf5d0 added interactive flag for genimage prompt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 20:59:36 +00:00
linggao b4cb354d0b man page update for genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12025 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 20:24:53 +00:00
linggao de4e245335 added interactive feature for genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12023 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 19:28:49 +00:00
lissav 0377e50e05 Add additional LL setup for authentication when running db2sqlsetup -S -o
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12021 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 15:17:07 +00:00
phamt db43394393 Added dedicated disk support in nodeset for RH.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12019 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 13:14:11 +00:00
zhaoertao 19bc3d77c4 delete the using and implementation of getNodeSpecAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12017 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 11:21:58 +00:00
xq2005 7421eba5ba fix bugs in enablekdump postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12015 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 02:58:24 +00:00
jjhua cb9f6e46ec correct the loop number
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12014 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 02:44:56 +00:00
jjhua f76fac2a3a For AIX, remove the original ib configuration; use the loop number instead of 0, 1, 2...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 02:07:46 +00:00
jjhua d0066e515a For AIX, remove the original ib configuration; use the loop number instead of 0, 1, 2...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 02:07:31 +00:00
jbjohnso a18bc88b18 Enhance mktoolscenter
support multiple repositories, more obviously fail on mount error, give usage in the face of unrecognized cli arguments
support mounting from an external nfs source rather than xcat

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12007 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 19:46:50 +00:00
jbjohnso 47b6c89a4c Have MacMap throttle itself to 64 switches at a time to fend off memory starvation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12005 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 17:36:22 +00:00
xq2005 a8dcb097f0 configure the kdump file in enablekdump postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12004 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 15:04:36 +00:00
jbjohnso a92b34d80d Fix SLP mistake of discarding two bytes from the attribute list erroneously
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12003 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 14:19:16 +00:00
jbjohnso a2f1109df8 Fix problem where we failed to broadcast all requested service types
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12002 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 13:39:46 +00:00
xq2005 452134db27 support kdump on sles in enablekdump
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12001 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 08:39:51 +00:00
xq2005 a5975a08f2 kdump for sles when nodeset
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12000 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 07:35:16 +00:00
sjing a0a69bd3d6 enhanced logging in aixlitesetup.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11998 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 05:47:26 +00:00
wanghuaz d501fd51b9 add the support to delete all multiple mac addresses from lease file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 03:48:39 +00:00
jbjohnso f2eb40b81c Have relay_fds work to try to batch more xml transformations together generically to improve execution time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11993 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 18:10:48 +00:00
jbjohnso 663d5cf3d1 Remove leftover extraneous output from xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11989 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 17:45:40 +00:00
jbjohnso 0a069e3b88 Have Client work to aggregate some XML processing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11988 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 17:45:34 +00:00
jbjohnso 13fd08ee8d Have xcatd bulk xml transform 'unable to find plugin to handle' message to cut back server load'.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 17:45:27 +00:00
jbjohnso e4cb55b3f9 Avoid redundant calls to the same table to do plugin lookup during plugin_command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11986 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 15:16:11 +00:00
jbjohnso 120fa47c0e Rework plugin_comand to use XCATSITEVALS instead of polling site table for select plugins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11985 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 15:16:05 +00:00
jbjohnso e24cc45b70 Fix problem where Table.pm fails to skip cache for low nodecounts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11984 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 15:15:58 +00:00
bp-sawyers 242fe69dbd Fix bug in buildcore.sh where it would not uppercase the args in some cases
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-24 13:27:52 +00:00
bp-sawyers 9a73363d90 fix builddep.sh to get rid of older versions of the rpms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11977 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 19:46:54 +00:00
nott 5389ce87ce fix for rc.dd_boot script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 19:06:45 +00:00
jbjohnso 0c658a7b53 Fix other typos
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11970 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 15:14:43 +00:00
lissav e15f58b00a Do not add otherpkgs for AIX defect 3508761
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11969 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 15:07:22 +00:00
jbjohnso da28995179 Fix teh other typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11967 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 15:02:26 +00:00
jbjohnso 93610b9095 fix typo in doxcat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11966 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 14:30:14 +00:00
jjhua f4a06ff3e6 fixed 3499932 and 3499065: remove the original ib configuration; use the loop number instead of 0, 1, 2...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11960 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 09:43:09 +00:00
jjhua 567a13c591 fixed 3499932 and 3499065: remove the original ib configuration; use the loop number instead of 0, 1, 2...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11959 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 09:42:53 +00:00
zhaoertao 36fc7fca02 for bug 3510200: only don't user HMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 09:35:08 +00:00
zhaoertao 20606e36d5 fix bug 3510200: can use username other than USERID
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11956 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 08:44:03 +00:00
ligc cd3110086c fix for bug 3487614: Full installation, extract the common code for generating the mypostscript file and make it common across all scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11953 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 08:30:50 +00:00
ligc 8168b22e49 fix for bug 3487614: Full installation, extract the common code for generating the mypostscript file and make it common across all scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11952 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 08:26:38 +00:00
yinle 28354c529c minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11951 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 02:16:10 +00:00
daniceexi e53d9d1394 defect 3496107: remove the uninstall of OpenIPMI-tools and tftp-server, try to install conserver-xcat instead of conserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11949 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 01:26:09 +00:00
jbjohnso 71cf318ee9 Update other p* commands to also be sudo friendly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11947 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-22 13:57:17 +00:00
jbjohnso 492305799b Fix psh to update homedirectory in event of sudo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11946 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-22 13:52:39 +00:00
jbjohnso 13765372a6 Have rcons check and set $HOME since sudo won't give an accurate looking home directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11945 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-22 13:52:29 +00:00
lissav 0014099d9c check for AIX in otherpkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11944 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-22 13:51:08 +00:00
bp-sawyers 93fc27b4f2 Have perl-DBD-DB2Lite not automatically installed from xcat-dep on aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11942 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-22 09:43:56 +00:00
ligc 1e6ae34771 fix for bug 3509482: use SNs ip addresses known by compute nodes as the replication list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11940 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-22 08:38:56 +00:00
ligc 0adf04aa06 fix for bug 3509482: use SNs ip addresses known by compute nodes as the replication list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11939 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-22 08:32:24 +00:00
jbjohnso 177de72a68 Just comment some of the new xcatd changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11937 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 17:50:24 +00:00
jbjohnso 9184142745 Bring in some logic from IPMI plugin to get a better assurance of optimal receive buffer behavior
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11936 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 17:50:15 +00:00
jbjohnso 31fb9e555f Have SLP support IPv6-less perl environments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11935 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 17:25:20 +00:00
jbjohnso 459dca23dd Fix tftp startup for systems that have explicitly disabled IPv6 in kernel
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11933 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 16:01:15 +00:00
jbjohnso 7c64bb6b05 Have xCAT more aggressively drain the listen queue on the main listening socket.
This change manages to have xCAT successfully field a large amount of incoming connections with a relatively small listen queue.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11932 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 15:14:07 +00:00
daniceexi 4bb34e0e92 fixing bug 3490738: one additional change from last chackin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 09:54:53 +00:00
daniceexi 9e173d19ff fixing bug 3490738: for getmacs -F option, mac address now can be with or without colon, uppercase and lowcase is also supported.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11929 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 09:49:34 +00:00
daniceexi a7b456d288 defect 3508456: add env vars XCATROOT and PATH in the /etc/environment for aix so that xcatd can be started successfully from /etc/inittab
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11927 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 09:16:13 +00:00
yinle 13ad428934 Fix bug 3504211:update xcat from 2.6.11 to 2.7 occur error on sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11925 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 07:25:44 +00:00
zhaoertao e7cf5580d0 modify password for USERID failed, need update password for SNMPv3.1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11924 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 07:20:30 +00:00
zhaoertao d27ef5117f fix bug 3500392: FB->console abnormal if off/on blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11922 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 07:13:03 +00:00
zhaoertao 1c006a4162 fix bug 3500392: FB->console abnormal if off/on blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 07:12:47 +00:00
ligc 608177e77f fix for bug 3509543: mknimimage -u nfs_vers=4 to work with multiple installp_bundles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 02:19:58 +00:00
jbjohnso dbb6040955 Prevent some extraneous process spawing and futile transmit attempts.
Also, do broadcast IPv4 in addition to multicast IPv4 and multicast IPv6.  Some switches seem to make the admin work for multicast to work at all...

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 20:55:41 +00:00
jbjohnso dae8ae2210 Do some retries on SLP transmits
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11915 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 18:38:22 +00:00
bp-sawyers 16ab82b5a5 Have the xCAT rpms require the more specific version of perl-xCAT (e.g. 2.7.1 instead of 2.7)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11912 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 15:49:33 +00:00
jbjohnso ccb3040219 Add RFC 3059 support for AMM support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 14:21:48 +00:00
xq2005 3203501826 add the REST API of gettab
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11909 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 09:16:06 +00:00
daniceexi 2d30063a80 Add the script detect_dhcpd for dhcp server detecting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11907 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 08:11:25 +00:00
xq2005 95d5f9db58 add REST API for capture image
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 07:54:21 +00:00
xq2005 c8a1f2046c fix bug 3505123 for ganglia node map in order
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11904 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 06:31:03 +00:00
wanghuaz 5be6a260b6 install pe license rpm and accept the licenses by default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11902 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 05:49:59 +00:00
jbjohnso 22d2645e28 Add IPv4 support.
After adding IPv4 support, noted that IMM and AMM behaved far less nicely,
restore the service-request prelude to attribute request as a result

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 21:06:17 +00:00
jbjohnso 05e6a27704 Refactor get_interfaces internal function.
First off, have it called outside a loop to avoid many invocations of 'ip'
Secondly, IPv4 multicast demands local ip address, extract those too

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 21:06:09 +00:00
linggao 1ce980f4e7 fix a problem in otherpkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11894 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 14:51:04 +00:00
xq2005 4da98c6d66 add the API of image check command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 09:31:33 +00:00
xq2005 2f65463e87 REST API for image list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11892 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 08:50:55 +00:00
xq2005 430bb12d13 xdcp command in REST API
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11891 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 06:46:10 +00:00
wanghuaz 0059615b2a fixed a problem in power 775 that compute node cannot get its xcatserver ip from dhcp server over hfi, which was introduced by revision 10534.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 05:37:09 +00:00
jbjohnso 5dddb7ed3d Skip Service Request, contrary to slptool impressions, it's actually pretty
pointless (at least for us, services are pretty deterministic and skipping straight to attribute request makes a lot of sense).

To make up for giving up the service request provide url list, track and fill in srvtype when the reply comes back so that caller knows which data elements match which of the requested service types.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-18 21:46:07 +00:00
jbjohnso df4c56729d Finish IPv6-only phase 1 of native xCAT SLP library
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 20:00:11 +00:00
jbjohnso 1e3fa72a93 Implement sending attribute request, after processing replies, phase 1 of slp is done
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 20:00:05 +00:00
jbjohnso d93542fc49 Advance state of SLP.pm to actually take and parse service replies
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11886 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 19:59:58 +00:00
jbjohnso f9886db053 Rework SLP.pm to do each srvtype as a distinct packet, now mandate caller
to specifiy srvtypes.  Problem being that SLP hashed multicast addresses don't pan out so well if not very precise

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 19:59:52 +00:00
jbjohnso 2152035a14 Add SLP.pm to perl-xCAT. Currently selectively does IPv6 SLP
TODO includes IPv4 SLP and reworked multi-srvtype support since RFC indicated behavior doesn't work (divide multiple srvtypes into separate packets to workaround)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 19:59:46 +00:00
jbjohnso 85a3468e0f Have xCATd more robustly give client 5 seconds to receive message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-16 18:41:47 +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
wanghuaz f8138b1687 fixing bug 3505826: don't run yum install command if otherpkg list only contains marked removable pkg and no package to install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-16 07:05:26 +00:00
bp-sawyers 42e3641b01 fix certificate problems in getxcatdocs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 19:41:53 +00:00
jbjohnso 5d3d584e22 Don't try to sabotage tftp unless sure new tftp can work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11875 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 15:51:48 +00:00
jbjohnso bc6b0712c3 Refine tftp startup handling to cope better with more states (dealing with xinetd reconfiged or not reconfiged, xinetd without tftp slave active and with slave active)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 15:46:54 +00:00
jbjohnso 6d92251583 Change tftp to run standalone instead of xinetd slave to fix various limitations of the xinetd approach
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11870 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 15:19:40 +00:00
phamt 8e7a0f2475 Changed unknown node type label
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 14:13:15 +00:00
phamt a9ef623bb6 Removed trailing comma.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11867 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 13:58:36 +00:00
phamt 6e77ab5a47 Removed trailing comma.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11864 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 13:51:22 +00:00
phamt c7e3f36391 Fixed select all checkbox in nodes table.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 13:38:00 +00:00
xq2005 1b9f6bc02f fix bug 3505088 for ganglia monitor page not stable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11860 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 10:40:31 +00:00
xq2005 99e038c6a2 turn the debugging
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 07:08:32 +00:00
xq2005 af24bd9b4b add the xdsh rest api interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11858 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 06:54:28 +00:00
phamt f67806347e Fixed bugs on System p provision page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11856 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 05:09:28 +00:00
mellor c5774a5223 defect 3504334 -- fix rollupdate for xLinux rpower timeout errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11855 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-14 21:22:08 +00:00
bp-sawyers ddf7f8238d Fix problem of not building nbroot-core rpms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11854 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-14 19:42:29 +00:00
phamt bbbea35614 Updated rcons.php
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11851 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-14 19:21:21 +00:00
phamt 442bbe9156 Fixed rcons to reference jquery.min.js. Added IP address and hostname range to z/VM clone and provision page. Updated update page with new links to xCAT repository. Cleaned up code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11850 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-14 19:20:37 +00:00
phamt f1459db8ba Removed rconsShow.php so it could be updated.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11848 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-14 19:18:03 +00:00
linggao 0aa203fa99 use XCATSITEVALS in Postage.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11847 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-14 13:30:32 +00:00
phamt 9409e1f397 Changed vertical-align on z/VM provision new page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11845 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-14 04:38:48 +00:00
phamt 9df72493d4 Fixed add node dialogs. Added change password option under Settings. Cleaned up code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11844 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-14 04:32:06 +00:00
jjhua 8805c4c1f1 add the rpower with cycle action for NGP
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 14:18:10 +00:00
zhaoertao 1c996c4c7a modify the output of 'rpower blade state'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11841 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 14:04:59 +00:00
zhaoertao b7d1caeef7 fix bug 3500392: the DFM link between hdwr_svr and blades need to be reconnected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11839 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 11:54:21 +00:00
daniceexi 190927b42c update the output format of rscan
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 11:36:25 +00:00
xq2005 5e49f775b4 add the rest api for vms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 08:34:30 +00:00
zhaoertao 74e2960ed7 modify the output of rpower blade state
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11833 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 04:31:05 +00:00
zhaoertao 229618d4ed use 'cec_state' instead of 'bpa_state' for 'rpower blade state'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11832 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 03:06:04 +00:00
jbjohnso a518f9a850 Offer '-o' to force powerdown on failed suspend attempt, '-r' to force reset
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 20:58:35 +00:00
lissav 01cb1ef7e7 fix defect 3502735
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 17:03:38 +00:00
daniceexi 8797bd6954 fix the issue for xcatdebug:1. aix cannot recognize the signal NUM50,NUM51. 2. the xcatdeug -f does not work after the change that loading plugin when really running of command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 11:54:28 +00:00
jjhua 3c021b2b23 rspconfig manpage updates for NGP
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11818 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 09:39:46 +00:00
zhaoertao 4eeaae182a modify the time interval used to retry rcons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 09:15:57 +00:00
zhaoertao 4bc914d0e6 fix bug 3496892: need to check the state of lpar strictly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 07:48:52 +00:00
xq2005 cc33f2065d sync from 2.7 for ganglia configure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 05:23:38 +00:00
jbjohnso 43fbad64ac Weaken Postage.pm requirement of PPCdb
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-11 00:29:52 +00:00
bp-sawyers eb13fe149e Created 2.7 branch, so changing trunk to 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11807 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-09 14:17:16 +00:00
1054 changed files with 137217 additions and 41139 deletions
+5
View File
@@ -7,3 +7,8 @@ xCAT documentation is available at: http://xcat.sourceforge.net/
xCAT is made available as open source software under the EPL license:
http://www.opensource.org/licenses/eclipse-1.0.php
+1 -1
View File
@@ -1 +1 @@
2.7.6
2.9
+10 -11
View File
@@ -6,6 +6,7 @@
#
# Author: Leonardo Tonetto <tonetto@linux.vnet.ibm.com>
# Revisor: Adalberto Medeiros <adalbas@linux.vnet.ibm.com>
# Revisor2: Arif Ali <aali@ocf.co.uk>
#
# Input:
#
@@ -29,7 +30,7 @@ fi
XCAT_VERSION=`cat Version`
TRUNK_REVISION=`svnversion | cut -d ":" -f1`
CUR_DATE=`date +%Y%m%d`
VERSION="$XCAT_VERSION$PKG_LOCATION-rev$TRUNK_REVISION-$CUR_DATE"
VERSION="${XCAT_VERSION}-${PKG_LOCATION}${CUR_DATE}"
function makedeb {
SRC_ROOT=$1
@@ -47,7 +48,7 @@ function makedeb {
do
DIR=`echo ${DEBIAN_DIR} | sed -e 's/[/]debian$//'`
cd ${DIR}
dch -v $VERSION -c debian/changelog "$BUILD_STRING"
dch -v $VERSION -b -c debian/changelog "$BUILD_STRING"
dpkg-buildpackage
cd -
RC=$?
@@ -60,21 +61,19 @@ function makedeb {
#
# Clean up
#
# Eliminate unnecessary directories and debian/files made by dpgk-buildpakcage
# Eliminate unnecessary directories and debian/files made by dpkg-buildpackage
find $SRC_ROOT -maxdepth 3 -type d -name "xcat-*" | grep debian | xargs rm -rf
find $SRC_ROOT -maxdepth 3 -type f -name "files" | grep debian | xargs rm -f
}
# build all debian packages
makedeb xCAT-client $PKG_LOCATION "$BUILD_STRING" $VERSION
makedeb xCAT-nbroot $PKG_LOCATION "$BUILD_STRING" $VERSION
makedeb perl-xCAT $PKG_LOCATION "$BUILD_STRING" $VERSION
makedeb xCAT-server $PKG_LOCATION "$BUILD_STRING" $VERSION
makedeb xCAT-UI $PKG_LOCATION "$BUILD_STRING" $VERSION
makedeb xCAT $PKG_LOCATION "$BUILD_STRING" $VERSION
makedeb xCATsn $PKG_LOCATION "$BUILD_STRING" $VERSION
makedeb xCAT-test $PKG_LOCATION "$BUILD_STRING" $VERSION
packages="xCAT-client xCAT-nbroot xCAT-nbroot2 perl-xCAT xCAT-server xCAT-UI xCAT xCATsn xCAT-test xCAT-IBMhpc xCAT-rmc"
for file in `echo $packages`
do
makedeb $file $PKG_LOCATION "$BUILD_STRING" $VERSION
done
if [ -d debs ]; then
rm -rf debs
+349 -142
View File
@@ -1,215 +1,422 @@
#!/bin/sh
#!/bin/bash
# Update GSA Ubuntu Repositories or create a local repository
#
# Author: Leonardo Tonetto (tonetto@linux.vnet.ibm.com)
# Revisor: Arif Ali (aali@ocf.co.uk)
#
# After running this script, add the following line to
# /etc/apt/sources.list for local repository
# deb file://<core_repo_path>/xcat-core/ maverick main
#
# Getting Started:
# - Check out the xcat-core svn repository (either the trunk or a branch) into
# a dir called <rel>/src/xcat-core, where <rel> is the same as the release dir it will be
# uploaded to in sourceforge (e.g. devel, or 2.3).
# - You probably also want to put root's pub key from the build machine onto sourceforge for
# the upload user listed below, so you don't have to keep entering pw's. You can do this
# at https://sourceforge.net/account/ssh
# - make sure reprepro is installed on the build machine
# - Run this script from the local svn repository you just created. It will create the other directories that are needed.
# Usage: attr=value attr=value ... ./build-ubunturepo { -c | -d }
# PROMOTE=1 - if the attribute "PROMOTE" is specified, means an official dot release. This does not
# actually build xcat, just uploads the most recent snap build to https://sourceforge.net/projects/xcat/files/xcat/ .
# If not specified, a snap build is assumed, which uploads to https://sourceforge.net/projects/xcat/files/yum/
# or https://sourceforge.net/projects/xcat/files/aix/.
# PREGA=1 - use this option with PROMOTE=1 on a branch that already has a released dot release, but this build is
# a GA candidate build, not to be released yet. This will result in the tarball being uploaded to
# https://sourceforge.net/projects/xcat/files/yum/ or https://sourceforge.net/projects/xcat/files/aix/
# (but the tarball file name will be like a released tarball, not a snap build). When you are ready to
# release this build, use PROMOTE=1 without PREGA
# BUILDALL=1 - build all rpms, whether they changed or not. Should be used for snap builds that are in prep for a release.
# UP=0 or UP=1 - override the default upload behavior
#
# For the dependency packages 1. please run the build-debs-all in xcat-dep svn first( there is usage detail in that script)
# 2. run ./build-ubunturepo -d
#
############################
printusage()
{
printf "Usage: %s {-c | -d} \n" $(basename $0) >&2
echo " -c : Build the xcat core packages and create the repo"
echo " -d : Create the xcat dep repo. Building the xcat dep packages can refer \"build-debs-all\" from svn"
}
# For the purpose of getting the distribution name
. /etc/lsb-release
# Process cmd line variable assignments, assigning each attr=val pair to a variable of same name
for i in $*; do
echo $i | grep '='
if [ $? != 0 ];then
continue
fi
# upper case the variable name
varstring=`echo "$i"|cut -d '=' -f 1|tr '[a-z]' '[A-Z]'`=`echo "$i"|cut -d '=' -f 2`
export $varstring
done
# Supported distributions
dists="maverick natty oneiric precise saucy"
a_flag= # automatic flag - only update if repo was updated
c_flag= # xcat-core (trunk-delvel) path
d_flag= # xcat-dep (trunk) path
u_flag= # gsa user-id
p_flag= # gsa passwd
local_flag= # build the repository localy
r_flag= #genesis base rpm package path
while getopts 'c:d:u:p:l:a' OPTION
while getopts 'cdr:' OPTION
do
case $OPTION in
c) c_flag=1
xcat_core_path="$OPTARG"
;;
d) d_flag=1
xcat_dep_path="$OPTARG"
;;
u) u_flag=1
gsa_id="$OPTARG"
;;
p) p_flag=1
gsa_passwd="$OPTARG"
;;
l) local_flag=1
local_repo_path="$OPTARG"
;;
a) a_flag=1
;;
?) printf "Usage: %s -c <core_trunk_path> [-d <dep_trunk_path>] { -l <local-repo_path> | [-u <gsa_id> -p <gsa_passwd>] } [-a]\n" $(basename $0) >&2
echo "-a Automatic: update only if there's any update on repo"
r) r_flag=1
genesis_rpm_path="$OPTARG"
;;
?) printusage
exit 2
;;
esac
done
shift $(($OPTIND - 1))
if [ -z "$c_flag" ]
then
printf "Usage: %s -c <core_trunk_path> [-d <dep_trunk_path>] { -l <local-repo_path> | [-u <gsa_id> -p <gsa_passwd>] } [-a]\n" $(basename $0) >&2
echo "-a Automatic: update only if there's any update on repo"
exit 2
fi
if [ ! -d $xcat_core_path ]
then
printf "%s: No such directory\n" "$xcat_core_path" >&2
if [ -z "$c_flag" -a -z "$d_flag" ];then
printusage
exit 2
fi
if [ "$d_flag" ]
then
if [ ! -d $xcat_dep_path ]
then
printf "%s: No such directory\n" "$xcat_dep_path" >&2
exit 2
fi
if [ "$c_flag" -a "$d_flag" ];then
printusage
exit 2
fi
if [ "$local_flag" ]
then
repo_xcat_core_path=$local_repo_path"/xcat-core"
repo_xcat_dep_path=$local_repo_path"/xcat-dep"
else
if [ -z "$u_flag" ]
then
if [ "$p_flag" ]
then
printf "Usage: %s -c <core_trunk_path> [-d <dep_trunk_path>] { -l <local-repo_path> | [-u <gsa_id> -p <gsa_passwd>] } [-a]\n" $(basename $0) >&2
echo "-a Automatic: update only if there's any update on repo"
exit 2
fi
echo -n "GSA id: "
read gsa_id
echo -n "GSA password: "
stty -echo; read gsa_passwd; stty echo;
echo ""; echo "";
fi
uploader="bp-sawyers"
# Find where this script is located to set some build variables
old_pwd=`pwd`
cd `dirname $0`
curdir=`pwd`
repo_xcat_core_path="`pwd`/gsa-repo_temp/xcat-core"
repo_xcat_dep_path="`pwd`/gsa-repo_temp/xcat-dep"
#define the dep source code path, core build target path and dep build target path
local_core_repo_path="$curdir/../../xcat-core"
xcat_dep_path="$curdir/../../../xcat-dep/src/xcat-dep"
local_dep_repo_path="$curdir/../../../xcat-dep/xcat-dep"
#define the url used for creating the source list file
#define the upload dir used for uploading packages
sf_repo_url="https://sourceforge.net/projects/xcat/files/ubuntu"
sf_dir="/home/frs/project/x/xc/xcat"
#use flock to only one person build at the same time
# Get a lock, so can not do 2 builds at once
exec 8>/var/lock/xcatbld.lock
if ! flock -n 8; then
echo "Can't get lock /var/lock/xcatbld.lock. Someone else must be doing a build right now. Exiting...."
exit 1
fi
if [ "$a_flag" ]
export HOME=/root
#sync the gpg key to the build machine local
gsa_url=http://pokgsa.ibm.com/projects/x/xcat/build/linux
mkdir -p $HOME/.gnupg
for key_name in pubring.gpg secring.gpg trustdb.gpg; do
if [ ! -f $HOME/.gnupg/$key_name ] || [ `wc -c $HOME/.gnupg/$key_name|cut -f 1 -d' '` == 0 ]; then
rm -f $HOME/.gnupg/$key_name
wget -P $HOME/.gnupg $gsa_url/keys/$key_name
chmod 600 $HOME/.gnupg/$key_name
fi
done
if [ "$c_flag" ]
then
touch svcupdate.trace
SVCUP='svcupdate.trace'
svn update $xcat_core_path 1> $SVCUP 2>&1
if ! grep 'Tree is up to date' $SVCUP
then
update_core=1
# strip the /src/xcat-core from the end of the dir to get the next dir up and use as the release
if [ -z "$REL" ]; then
t=${curdir%/src/xcat-core}
REL=`basename $t`
fi
ver=`cat Version`
if [ "$PROMOTE" != 1 ]; then
code_change=0
update_log=''
#get the version
if [ "$REL" = "xcat-core" ];then
git_flag=1
REL=`git rev-parse --abbrev-ref HEAD`
if [ "$REL" = "master" ]; then
REL="devel"
fi
if [ -z "$GITUP" ];then
update_log=../coregitup
echo "git pull > $update_log"
git pull > $update_log
else
update_log=$GITUP
fi
if ! grep -q 'Already up-to-date' $update_log; then
code_change=1
fi
else
git_flag=0
if [ -z "$SVNUP" ]; then
update_log=../coresvnup
echo "svn up > $update_log"
svn up > $update_log
else
update_log=$SVNUP
fi
if ! grep -q 'At revision' $update_log;then
code_change=1
fi
fi
ver=`cat Version`
short_ver=`cat Version|cut -d. -f 1,2`
short_short_ver=`cat Version|cut -d. -f 1`
package_dir_name=debs$REL
#TODO: define the core path and tarball name
tarball_name="core-debs-snap.tar.bz2"
if [ $code_change == 0 -a "$UP" != 1 -a "$BUILDALL" != 1 ]; then
echo "Nothing new detected"
exit 0
fi
echo "###############################"
echo "# Building xcat-core packages #"
echo "###############################"
#the package type: local | snap | alpha
#the build introduce stirng
pkg_type="snap"
build_string="Snap_Build"
cur_date=`date +%Y%m%d`
pkg_version="${short_ver}-${pkg_type}${cur_date}"
if [ ! -d ../../$package_dir_name ];then
mkdir -p "../../$package_dir_name"
fi
packages="xCAT-client xCAT-genesis-scripts perl-xCAT xCAT-server xCAT-UI xCAT xCATsn xCAT-test xCAT-OpenStack xCAT-OpenStack-baremetal"
for file in `echo $packages`
do
file_low=`echo $file | tr '[A-Z]' '[a-z]'`
if grep -q $file $update_log || [ "$BUILDALL" == 1 -o "$file" = "perl-xCAT" ]; then
rm -f ../../$package_dir_name/${file_low}_*.deb
#only for genesis package
rm -f ../../$package_dir_name/${file_low}-amd64_*.deb
cd $file
dch -v $pkg_version -b -c debian/changelog $build_string
dpkg-buildpackage -uc -us
rc=$?
if [ $rc -gt 0 ]; then
echo "Error: $file build package failed exit code $rc"
fi
cd -
find $file -maxdepth 3 -type d -name "${file_low}*" | grep debian | xargs rm -rf
find $file -maxdepth 3 -type f -name "files" | grep debian | xargs rm -rf
mv ${file_low}* ../../$package_dir_name/
fi
done
find ../../$package_dir_name/* ! -name *.deb | xargs rm -f
else
update_core=
if [ "$REL" = "xcat-core" ];then
git_flag=1
REL=`git rev-parse --abbrev-ref HEAD`
if [ "$REL" = "master" ]; then
REL="devel"
fi
fi
package_dir_name=debs$REL
fi
rm -f $SVCUP
else
update_core=1
fi
if [ "$update_core" ]
then
echo "###############################"
echo "# Building xcat-core packages #"
echo "###############################"
CMD_PATH=`pwd`
cd $xcat_core_path
./build-debs-all "snap" "Nightly_Builds"
if [ "$PROMOTE" = 1 ]; then
upload_dir="xcat-core"
tar_name="xcat-core-$ver.tar.bz2"
else
upload_dir="core-snap"
tar_name="core-debs-snap.tar.bz2"
fi
echo "#################################"
echo "# Creating xcat-core repository #"
echo "#################################"
if [ -d $repo_xcat_core_path ]; then
rm -rdf $repo_xcat_core_path
#clean the repo directory
if [ -e $local_core_repo_path ]; then
rm -rf $local_core_repo_path
fi
mkdir -p $repo_xcat_core_path/conf
mkdir -p $local_core_repo_path
cd $local_core_repo_path
mkdir conf
find . -iname '*.deb' -exec mv {} $repo_xcat_core_path \;
rm -rdf debs/
cd $CMD_PATH
cat << __EOF__ > $repo_xcat_core_path/conf/distributions
for dist in $dists; do
cat << __EOF__ >> conf/distributions
Origin: xCAT internal repository
Label: xcat-core bazaar repository
Codename: maverick
Architectures: i386 amd64
Codename: $dist
Architectures: amd64
Components: main
Description: Repository automatically genereted conf
__EOF__
SignWith: yes
cat << __EOF__ > $repo_xcat_core_path/conf/options
__EOF__
done
cat << __EOF__ > conf/options
verbose
ask-passphrase
basedir .
__EOF__
for file in `ls $repo_xcat_core_path/*.deb`; do
reprepro -b $repo_xcat_core_path includedeb maverick $file;
#import the deb packages into the repo
for dist in $dists; do
for file in `ls ../$package_dir_name/*.deb`; do
reprepro -b ./ includedeb $dist $file;
done
done
mv $xcat_core_path/latest_version $repo_xcat_core_path/xcat-core_latest-build
#create the mklocalrepo script
cat << '__EOF__' > mklocalrepo.sh
. /etc/lsb-release
cd `dirname $0`
echo deb file://"`pwd`" $DISTRIB_CODENAME main > /etc/apt/sources.list.d/xcat-core.list
__EOF__
if [ -z "$local_flag" ]
then
echo "###############################"
echo "# Updating GSA xcat-core repo #"
echo "###############################"
lftp -e "mirror -R --delete-first $repo_xcat_core_path /projects/i/ipl-xcat/ubuntu/; exit;" -u $gsa_id,$gsa_passwd -p 22 sftp://ausgsa.ibm.com
fi ### if [ -z "$local_flag" ]
fi ### if [ "$a_flag" ]
chmod 775 mklocalrepo.sh
if [ "$a_flag" -a "$d_flag" ]
then
touch svcupdate.trace
SVCUP='svcupdate.trace'
svn update $xcat_dep_path 1> $SVCUP 2>&1
if ! grep 'Tree is up to date' $SVCUP
then
update_dep=1
else
update_dep=
#create the xcat-core.list file
#echo "deb ${sf_repo_url}/${REL}/${upload_dir}/ precise main" > xcat-core.list
cd ../
if ! grep xcat /etc/group ; then
groupadd xcat
fi
chgrp -R root xcat-core
chmod -R g+w xcat-core
#build the tar ball
tar -hjcf $tar_name xcat-core
chgrp root $tar_name
chmod g+w $tar_name
if [ ! -e core-snap ]; then
ln -s xcat-core core-snap
fi
rm -f $SVCUP
else
update_dep=1
# Decide whether to upload or not
if [ -n "$UP" ] && [ "$UP" == 0 ]; then
echo "No need to upload"
cd $old_pwd
exit 0
fi
#upload the deb packages
if [ "$REL" = "devel" -o "$PREGA" != 1 ]; then
i=0
echo "Uploading RPMs from $upload_dir to ${sf_dir}/ubuntu/${REL}/ ..."
while [ $((i+=1)) -le 5 ] && ! rsync -urLv --delete $upload_dir ${uploader},xcat@web.sourceforge.net:${sf_dir}/ubuntu/${REL}/
do : ; done
fi
#upload the tar ball
#for the GA build, upload to https://sourceforge.net/projects/xcat/files/xcat/<version>.x_Ubuntu/
#for other scenario, upload to https://sourceforge.net/projects/xcat/files/ubuntu/<version>
if [ "$PROMOTE" = 1 -a "$REL" != "devel" -a "$PREGA" != 1 ]; then
i=0
echo "Uploading $tar_name to ${sf_dir}/xcat/${REL}.x_Ubuntu/ ..."
while [ $((i+=1)) -le 5 ] && ! rsync -v $tar_name ${uploader},xcat@web.sourceforge.net:${sf_dir}/xcat/${REL}.x_Ubuntu/
do : ; done
else
i=0
echo "Uploading $tar_name to ${sf_dir}/ubuntu/${REL}/ ..."
while [ $((i+=1)) -le 5 ] && ! rsync -v $tar_name ${uploader},xcat@web.sourceforge.net:${sf_dir}/ubuntu/${REL}/
do : ; done
fi
cd $old_pwd
fi
if [ "$d_flag" -a "$update_dep" ]
if [ "$d_flag" ]
then
echo "################################"
echo "# Creating xcat-dep repository #"
echo "################################"
rm -rdf $repo_xcat_dep_path
mkdir -p $repo_xcat_dep_path/conf
find $xcat_dep_path -iname '*.deb' -exec cp {} $repo_xcat_dep_path \;
cat << __EOF__ > $repo_xcat_dep_path/conf/distributions
#clean all old files
if [ -e $local_dep_repo_path ];then
rm -rf $local_dep_repo_path
fi
mkdir -p $local_dep_repo_path
cd $local_dep_repo_path
mkdir conf
#create the conf/distributions file
for dist in $dists; do
cat << __EOF__ >> conf/distributions
Origin: xCAT internal repository
Label: xcat-dep bazaar repository
Codename: maverick
Architectures: i386 amd64
Codename: $dist
Architectures: amd64
Components: main
Description: Repository automatically genereted conf
__EOF__
SignWith: yes
cat << __EOF__ > $repo_xcat_dep_path/conf/options
__EOF__
done
cat << __EOF__ > conf/options
verbose
ask-passphrase
basedir .
__EOF__
for file in `ls $repo_xcat_dep_path/*.deb`; do
reprepro -b $repo_xcat_dep_path includedeb maverick $file;
for dist in $dists; do
for file in `ls ../debs/*.deb`; do
reprepro -b ./ includedeb $dist $file;
done
done
if [ -z "$local_flag" ]
then
echo "##############################"
echo "# Updating GSA xcat-dep repo #"
echo "##############################"
lftp -e "mirror -R --delete-first $repo_xcat_dep_path /projects/i/ipl-xcat/ubuntu/; exit;" -u $gsa_id,$gsa_passwd -p 22 sftp://ausgsa.ibm.com
fi ### if [ -z "$local_flag" ]
fi ### if [ "$d_flag" -a "$a_flag"]
cat << '__EOF__' > mklocalrepo.sh
. /etc/lsb-release
cd `dirname $0`
echo deb file://"`pwd`" $DISTRIB_CODENAME main > /etc/apt/sources.list.d/xcat-dep.list
__EOF__
if [ -z "$local_flag" ] # delete the temp repo after upload is done
then
rm -rdf ./gsa-repo_temp
chmod 775 mklocalrepo.sh
#echo ""deb ${sf_repo_url}/xcat-dep/ precise main"" > xcat-dep.list
cd ..
if ! grep xcat /etc/group ; then
groupadd xcat
fi
chgrp -R root xcat-dep
chmod -R g+w xcat-dep
#create the tar ball
dep_tar_name=xcat-dep-ubuntu.tar.bz
tar -hjcf $dep_tar_name xcat-dep
chgrp root $dep_tar_name
chmod g+w $dep_tar_name
if [ -n "$UP" ] && [ "$UP" == 0 ];then
echo "No need to upload the dep packages"
cd $old_pwd
exit 0
fi
#upload the dep packages
i=0
echo "Uploading debs from xcat-dep to ${sf_dir}/ubuntu/xcat-dep/ ..."
while [ $((i+=1)) -le 5 ] && ! rsync -urLv --delete xcat-dep ${uploader},xcat@web.sourceforge.net:${sf_dir}/ubuntu/
do : ; done
#upload the tarball
i=0
echo "Uploading $dep_tar_name to ${sf_dir}/xcat-dep/2.x_Ubuntu/ ..."
while [ $((i+=1)) -le 5 ] && ! rsync -v $dep_tar_name ${uploader},xcat@web.sourceforge.net:${sf_dir}/xcat-dep/2.x_Ubuntu/
do : ; done
cd $old_pwd
fi
exit 0
+192 -94
View File
@@ -19,14 +19,20 @@
# directories that are needed.
# Usage: buildcore.sh [attr=value attr=value ...]
# PROMOTE=1 - if the attribute "PROMOTE" is specified, means an official dot release.
# Otherwise, and snap build is assumed.
# PREGA=1 - means this is a branch that has not been released yet, so during the promote, copy the
# xcat-core tarball to the SF web site instead of the FRS area.
# Before running buildcore.sh, you must change the local git repo to the branch you want built, using: git checkout <branch>
# PROMOTE=1 - if the attribute "PROMOTE" is specified, means an official dot release. This does not
# actually build xcat, just uploads the most recent snap build to https://sourceforge.net/projects/xcat/files/xcat/ .
# If not specified, a snap build is assumed, which uploads to https://sourceforge.net/projects/xcat/files/yum/
# or https://sourceforge.net/projects/xcat/files/aix/.
# PREGA=1 - use this option with PROMOTE=1 on a branch that already has a released dot release, but this build is
# a GA candidate build, not to be released yet. This will result in the tarball being uploaded to
# https://sourceforge.net/projects/xcat/files/yum/ or https://sourceforge.net/projects/xcat/files/aix/
# (but the tarball file name will be like a released tarball, not a snap build). When you are ready to
# release this build, use PROMOTE=1 without PREGA
# BUILDALL=1 - build all rpms, whether they changed or not. Should be used for snap builds that are in prep for a release.
# UP=0 or UP=1 - override the default upload behavior
# SVNUP=<filename> - control which rpms get built by specifying a coresvnup file
# FRSYUM=0 - put the yum repo and snap builds in the old project web area instead of the FRS area.
# GITUP=<filename> - control which rpms get built by specifying a coregitup file
# EMBED=<embedded-environment> - the environment for which a minimal version of xcat should be built, e.g. zvm or flex
# VERBOSE=1 - to see lots of verbose output
@@ -34,6 +40,19 @@
UPLOADUSER=bp-sawyers
FRS=/home/frs/project/x/xc/xcat
# These are the rpms that should be built for each kind of xcat build
ALLBUILD="perl-xCAT xCAT-client xCAT-server xCAT-IBMhpc xCAT-rmc xCAT-UI xCAT-test xCAT-buildkit xCAT xCATsn xCAT-genesis-scripts xCAT-OpenStack xCAT-SoftLayer xCAT-OpenStack-baremetal"
ZVMBUILD="perl-xCAT xCAT-server xCAT-UI"
ZVMLINK="xCAT-client xCAT xCATsn"
# xCAT has PCM specific configuration - conserver-xcat, syslinux-xcat
# xCAT-server has PCM specific configuration - RESTAPI(perl-JSON)
PCMBUILD="xCAT xCAT-server"
PCMLINK="perl-xCAT xCAT-client xCAT-buildkit xCAT-genesis-scripts-x86_64"
# Note: for FSM, the FlexCAT rpm is built separately from gsa/git
FSMBUILD="perl-xCAT xCAT-client xCAT-server"
FSMLINK=""
# If you add more embed cases, also change the if [ -n "$EMBED" ]... below
# Process cmd line variable assignments, assigning each attr=val pair to a variable of same name
for i in $*; do
# upper case the variable name
@@ -68,51 +87,79 @@ if [ "$OSNAME" != "AIX" ]; then
export HOME=/root # This is so rpm and gpg will know home, even in sudo
fi
# this is needed only when we are transitioning the yum over to frs
if [ "$FRSYUM" != 0 ]; then
YUMDIR=$FRS
YUMREPOURL="https://sourceforge.net/projects/xcat/files/yum"
else
YUMDIR=htdocs
YUMREPOURL="http://xcat.sourceforge.net/yum"
# for the git case, query the current branch and set REL (changing master to devel if necessary)
function setbranch {
#git checkout $BRANCH
#REL=`git rev-parse --abbrev-ref HEAD`
REL=`git name-rev --name-only HEAD`
if [ "$REL" = "master" ]; then
REL="devel"
fi
}
if [ "$REL" = "xcat-core" ]; then # using git
GIT=1
setbranch # this changes the REL variable
fi
YUMDIR=$FRS
YUMREPOURL="https://sourceforge.net/projects/xcat/files/yum"
# Set variables based on which type of build we are doing
if [ -n "$EMBED" ]; then EMBEDDIR="/$EMBED"
else EMBEDDIR=""; fi
XCATCORE="xcat-core" # core-snap is a sym link to xcat-core
echo "svn --quiet up Version"
svn --quiet up Version
VER=`cat Version`
SHORTVER=`cat Version|cut -d. -f 1,2`
SHORTSHORTVER=`cat Version|cut -d. -f 1`
if [ "$PROMOTE" = 1 ]; then
CORE="xcat-core"
if [ "$OSNAME" = "AIX" ]; then
TARNAME=core-aix-$VER.tar.gz
if [ -n "$EMBED" ]; then
EMBEDDIR="/$EMBED"
if [ "$EMBED" = "zvm" ]; then
EMBEDBUILD=$ZVMBUILD
EMBEDLINK=$ZVMLINK
elif [ "$EMBED" = "pcm" ]; then
EMBEDBUILD=$PCMBUILD
EMBEDLINK=$PCMLINK
elif [ "$EMBED" = "fsm" ]; then
EMBEDBUILD=$FSMBUILD
EMBEDLINK=$FSMLINK
else
TARNAME=xcat-core-$VER.tar.bz2
echo "Error: EMBED setting $EMBED not recognized."
exit 2
fi
else
CORE="core-snap"
if [ "$OSNAME" = "AIX" ]; then
TARNAME=core-aix-snap.tar.gz
else
TARNAME=core-rpms-snap.tar.bz2
fi
EMBEDDIR=""
EMBEDBUILD=$ALLBUILD
EMBEDLINK=""
fi
XCATCORE="xcat-core" # core-snap is a sym link to xcat-core
if [ "$GIT" = "1" ]; then # using git - need to include REL in the path where we put the built rpms
DESTDIR=../../$REL$EMBEDDIR/$XCATCORE
else
DESTDIR=../..$EMBEDDIR/$XCATCORE
fi
DESTDIR=../..$EMBEDDIR/$XCATCORE
SRCD=core-snap-srpms
# currently aix builds ppc rpms, but someday it should build noarch
if [ "$OSNAME" = "AIX" ]; then
NOARCH=ppc
SYSGRP=system
else
NOARCH=noarch
SYSGRP=root
fi
function setversionvars {
VER=`cat Version`
SHORTVER=`cat Version|cut -d. -f 1,2`
SHORTSHORTVER=`cat Version|cut -d. -f 1`
}
if [ "$PROMOTE" != 1 ]; then # very long if statement to not do builds if we are promoting
# we are doing a snap build
CORE="core-snap"
if [ "$OSNAME" = "AIX" ]; then
TARNAME=core-aix-snap.tar.gz
else
TARNAME=core-rpms-snap.tar.bz2
fi
mkdir -p $DESTDIR
SRCDIR=$DESTDIR/../$SRCD
mkdir -p $SRCDIR
@@ -133,18 +180,39 @@ else
#echo "source=$source"
fi
# If they have not given us a premade update file, do an svn update and capture the results
if [ -z "$SVNUP" ]; then
SVNUP=../coresvnup
echo "svn up > $SVNUP"
svn up > $SVNUP
fi
# If they have not given us a premade update file, do an svn update or git pull and capture the results
SOMETHINGCHANGED=0
if ! $GREP 'At revision' $SVNUP; then
SOMETHINGCHANGED=1
if [ "$GIT" = "1" ]; then # using git
if [ -z "$GITUP" ]; then
GITUP=../coregitup
echo "git pull > $GITUP"
git pull > $GITUP
if [[ $? != 0 ]]; then
# do not continue so we do not build with old files
echo "The 'git pull' command failed. Exiting the build."
exit 3
fi
fi
if ! $GREP 'Already up-to-date' $GITUP; then
SOMETHINGCHANGED=1
fi
else # using svn
GIT=0
if [ -z "$SVNUP" ]; then
SVNUP=../coresvnup
echo "svn up > $SVNUP"
svn up > $SVNUP
fi
if ! $GREP 'At revision' $SVNUP; then
SOMETHINGCHANGED=1
fi
# copy the SVNUP variable to GITUP so the rest of the script doesnt have to worry whether we did svn or git
GITUP=$SVNUP
fi
# Process for making most of the rpms
setversionvars
# Function for making the noarch rpms
function maker {
rpmname="$1"
./makerpm $rpmname "$EMBED"
@@ -159,9 +227,11 @@ function maker {
}
# If anything has changed, we should always rebuild perl-xCAT
if [ $SOMETHINGCHANGED == 1 -o "$BUILDALL" == 1 ]; then # Use to be: $GREP perl-xCAT $SVNUP; then
UPLOAD=1
maker perl-xCAT
if [ $SOMETHINGCHANGED == 1 -o "$BUILDALL" == 1 ]; then # Use to be: $GREP perl-xCAT $GITUP; then
if [[ " $EMBEDBUILD " = *\ perl-xCAT\ * ]]; then
UPLOAD=1
maker perl-xCAT
fi
fi
if [ "$OSNAME" = "AIX" ]; then
# For the 1st one we overwrite, not append
@@ -169,10 +239,12 @@ if [ "$OSNAME" = "AIX" ]; then
fi
# Build the rest of the noarch rpms
for rpmname in xCAT-client xCAT-server xCAT-IBMhpc xCAT-rmc xCAT-UI xCAT-test; do
if $GREP $rpmname $SVNUP || [ "$BUILDALL" == 1 ]; then
for rpmname in xCAT-client xCAT-server xCAT-IBMhpc xCAT-rmc xCAT-UI xCAT-test xCAT-buildkit xCAT-SoftLayer; do
#if [ "$EMBED" = "zvm" -a "$rpmname" != "xCAT-server" -a "$rpmname" != "xCAT-UI" ]; then continue; fi # for zvm embedded env only need to build server and UI
if [[ " $EMBEDBUILD " != *\ $rpmname\ * ]]; then continue; fi
if [ "$OSNAME" = "AIX" -a "$rpmname" = "xCAT-buildkit" ]; then continue; fi # do not build xCAT-buildkit on aix
if $GREP $rpmname $GITUP || [ "$BUILDALL" == 1 ]; then
UPLOAD=1
if [ "$EMBED" = "zvm" -a "$rpmname" != "xCAT-server" -a "$rpmname" != "xCAT-UI" ]; then continue; fi # for embedded envs only need to build server special
maker $rpmname
fi
if [ "$OSNAME" = "AIX" ]; then
@@ -182,35 +254,40 @@ for rpmname in xCAT-client xCAT-server xCAT-IBMhpc xCAT-rmc xCAT-UI xCAT-test; d
fi
done
if [ "$OSNAME" != "AIX" -a "$EMBED" != "zvm" ]; then
if grep -v nbroot2 $SVNUP|$GREP xCAT-nbroot || [ "$BUILDALL" == 1 ]; then
UPLOAD=1
ORIGFAILEDRPMS="$FAILEDRPMS"
for arch in x86_64 x86 ppc64; do
./makerpm xCAT-nbroot-core $arch
if [ $? -ne 0 ]; then FAILEDRPMS="$FAILEDRPMS xCAT-nbroot-core-$arch"; fi
done
if [ "$FAILEDRPMS" = "$ORIGFAILEDRPMS" ]; then # all succeeded
rm -f $DESTDIR/xCAT-nbroot-core*rpm
rm -f $SRCDIR/xCAT-nbroot-core*rpm
mv $source/RPMS/noarch/xCAT-nbroot-core-*rpm $DESTDIR
mv $source/SRPMS/xCAT-nbroot-core-*rpm $SRCDIR
# Build xCAT-genesis-scripts for xcat-core. xCAT-genesis-base gets built by hand and put in xcat-dep.
# The mknb cmd combines them at install time.
if [ "$OSNAME" != "AIX" ]; then
if [[ " $EMBEDBUILD " = *\ xCAT-genesis-scripts\ * ]]; then
if $GREP xCAT-genesis-scripts $GITUP || [ "$BUILDALL" == 1 ]; then
UPLOAD=1
ORIGFAILEDRPMS="$FAILEDRPMS"
./makerpm xCAT-genesis-scripts x86_64 "$EMBED"
if [ $? -ne 0 ]; then FAILEDRPMS="$FAILEDRPMS xCAT-genesis-scripts-x86_64"; fi
if [ "$FAILEDRPMS" = "$ORIGFAILEDRPMS" ]; then # all succeeded
rm -f $DESTDIR/xCAT-genesis-scripts*rpm
rm -f $SRCDIR/xCAT-genesis-scripts*rpm
mv $source/RPMS/noarch/xCAT-genesis-scripts-*rpm $DESTDIR
mv $source/SRPMS/xCAT-genesis-scripts-*rpm $SRCDIR
fi
fi
fi
fi
# Build the xCAT and xCATsn rpms for all platforms
for rpmname in xCAT xCATsn; do
if [ "$EMBED" = "zvm" ]; then break; fi
if [ $SOMETHINGCHANGED == 1 -o "$BUILDALL" == 1 ]; then # used to be: if $GREP -E "^[UAD] +$rpmname/" $SVNUP; then
for rpmname in xCAT xCATsn xCAT-OpenStack xCAT-OpenStack-baremetal; do
#if [ "$EMBED" = "zvm" ]; then break; fi
if [[ " $EMBEDBUILD " != *\ $rpmname\ * ]]; then continue; fi
if [ $SOMETHINGCHANGED == 1 -o "$BUILDALL" == 1 ]; then # used to be: if $GREP -E "^[UAD] +$rpmname/" $GITUP; then
UPLOAD=1
ORIGFAILEDRPMS="$FAILEDRPMS"
if [ "$OSNAME" = "AIX" ]; then
./makerpm $rpmname
if [ "$rpmname" = "xCAT-OpenStack" ] || [ "$rpmname" = "xCAT-OpenStack-baremetal" ]; then continue; fi # do not bld openstack on aix
./makerpm $rpmname "$EMBED"
if [ $? -ne 0 ]; then FAILEDRPMS="$FAILEDRPMS $rpmname"; fi
else
for arch in x86_64 i386 ppc64 s390x; do
./makerpm $rpmname $arch
for arch in x86_64 ppc64 s390x; do
if [ "$rpmname" = "xCAT-OpenStack" -a "$arch" != "x86_64" ] || [ "$rpmname" = "xCAT-OpenStack-baremetal" -a "$arch" != "x86_64" ] ; then continue; fi # only bld openstack for x86_64 for now
./makerpm $rpmname $arch "$EMBED"
if [ $? -ne 0 ]; then FAILEDRPMS="$FAILEDRPMS $rpmname-$arch"; fi
done
fi
@@ -222,24 +299,30 @@ for rpmname in xCAT xCATsn; do
fi
fi
done
# no longer put in xCAT-rmc
if [ "$OSNAME" = "AIX" ]; then
echo "rpm -Uvh xCAT-$SHORTSHORTVER*rpm" >> $DESTDIR/instxcat
echo "rpm -Uvh xCAT-rmc-$SHORTSHORTVER*rpm" >> $DESTDIR/instxcat
fi
# Make sym links in the embed subdirs for the rpms we do not have to build special
cd $DESTDIR
if [ "$EMBED" = "zvm" ]; then
if [ -n "$EMBED" -a -n "$EMBEDLINK" ]; then
cd $DESTDIR
maindir="../../$XCATCORE"
rm -f xCAT-client-$SHORTSHORTVER*rpm
ln -s $maindir/xCAT-client-$SHORTSHORTVER*rpm .
rm -f xCAT-$SHORTSHORTVER*rpm
ln -s $maindir/xCAT-$SHORTSHORTVER*.s390x.rpm .
rm -f xCATsn-$SHORTSHORTVER*rpm
ln -s $maindir/xCATsn-$SHORTSHORTVER*.s390x.rpm .
for rpmname in $EMBEDLINK; do
if [ "$rpmname" = "xCAT" -o "$rpmname" = "xCATsn" ]; then
if [ "$EMBED" = "zvm" ]; then
echo "Creating link for $rpmname-$SHORTSHORTVER"'*.s390x.rpm'
rm -f $rpmname-$SHORTSHORTVER*rpm
ln -s $maindir/$rpmname-$SHORTSHORTVER*.s390x.rpm .
fi
else
echo "Creating link for $rpmname-$SHORTSHORTVER"'*rpm'
rm -f $rpmname-$SHORTSHORTVER*rpm
ln -s $maindir/$rpmname-$SHORTSHORTVER*rpm .
fi
done
cd - >/dev/null
fi
cd - >/dev/null
# Decide if anything was built or not
@@ -274,10 +357,10 @@ if [ "$OSNAME" != "AIX" ]; then
echo '%_gpg_name Jarrod Johnson' >> $MACROS
fi
echo "Signing RPMs..."
build-utils/rpmsign.exp `find $DESTDIR -type f -name '*.rpm'` | grep -v -E '(was already signed|rpm --quiet --resign|WARNING: standard input reopened)'
build-utils/rpmsign.exp $SRCDIR/*rpm | grep -v -E '(was already signed|rpm --quiet --resign|WARNING: standard input reopened)'
createrepo $DESTDIR
createrepo $SRCDIR
build-utils/rpmsign.exp `find $DESTDIR -type f -name '*.rpm'` | grep -v -E '(already contains identical signature|was already signed|rpm --quiet --resign|WARNING: standard input reopened)'
build-utils/rpmsign.exp $SRCDIR/*rpm | grep -v -E '(already contains identical signature|was already signed|rpm --quiet --resign|WARNING: standard input reopened)'
createrepo --checksum sha $DESTDIR # specifying checksum so the repo will work on rhel5
createrepo --checksum sha $SRCDIR
rm -f $SRCDIR/repodata/repomd.xml.asc
rm -f $DESTDIR/repodata/repomd.xml.asc
gpg -a --detach-sign $DESTDIR/repodata/repomd.xml
@@ -290,23 +373,26 @@ if [ "$OSNAME" != "AIX" ]; then
fi
fi
# make everything have a group of xcat, so anyone can manage them once they get on SF
# set group and permissions correctly on the built rpms
if [ "$OSNAME" = "AIX" ]; then
if ! lsgroup xcat >/dev/null 2>&1; then
mkgroup xcat
fi
chmod +x $DESTDIR/instxcat
else # linux
if ! $GREP xcat /etc/group; then
groupadd xcat
fi
fi
chgrp -R xcat $DESTDIR
chgrp -R $SYSGRP $DESTDIR
chmod -R g+w $DESTDIR
chgrp -R xcat $SRCDIR
chgrp -R $SYSGRP $SRCDIR
chmod -R g+w $SRCDIR
fi # end of very long if-not-promote
else # end of very long if-not-promote
# we are only promoting (not building)
setversionvars
setbranch
CORE="xcat-core"
if [ "$OSNAME" = "AIX" ]; then
TARNAME=core-aix-$VER.tar.gz
else
TARNAME=xcat-core-$VER.tar.bz2
fi
fi
cd $DESTDIR
@@ -346,14 +432,17 @@ else
verboseflag=""
fi
echo "Creating $TARNAME ..."
if [[ -e $TARNAME ]]; then
mkdir -p previous
mv -f $TARNAME previous
fi
if [ "$OSNAME" = "AIX" ]; then
tar $verboseflag -hcf ${TARNAME%.gz} $XCATCORE
rm -f $TARNAME
gzip ${TARNAME%.gz}
else
tar $verboseflag -hjcf $TARNAME $XCATCORE
fi
chgrp xcat $TARNAME
chgrp $SYSGRP $TARNAME
chmod g+w $TARNAME
# Decide whether to upload or not
@@ -407,8 +496,17 @@ if [ "$OSNAME" != "AIX" -a "$REL" = "devel" -a "$PROMOTE" != 1 -a -z "$EMBED" ];
rpm2cpio ../$XCATCORE/xCAT-client-*.$NOARCH.rpm | cpio -id '*.html'
rpm2cpio ../$XCATCORE/perl-xCAT-*.$NOARCH.rpm | cpio -id '*.html'
rpm2cpio ../$XCATCORE/xCAT-test-*.$NOARCH.rpm | cpio -id '*.html'
rpm2cpio ../$XCATCORE/xCAT-buildkit-*.$NOARCH.rpm | cpio -id '*.html'
rpm2cpio ../$XCATCORE/xCAT-OpenStack-*.x86_64.rpm | cpio -id '*.html'
rpm2cpio ../$XCATCORE/xCAT-SoftLayer-*.$NOARCH.rpm | cpio -id '*.html'
i=0
while [ $((i+=1)) -le 5 ] && ! rsync $verboseflag -r opt/xcat/share/doc/man1 opt/xcat/share/doc/man3 opt/xcat/share/doc/man5 opt/xcat/share/doc/man7 opt/xcat/share/doc/man8 $UPLOADUSER,xcat@web.sourceforge.net:htdocs/
do : ; done
# extract and upload the tools readme
rpm2cpio ../$XCATCORE/xCAT-server-*.$NOARCH.rpm | cpio -id ./opt/xcat/share/xcat/tools/README.html
i=0
while [ $((i+=1)) -le 5 ] && ! rsync $verboseflag opt/xcat/share/xcat/tools/README.html $UPLOADUSER,xcat@web.sourceforge.net:htdocs/tools/
do : ; done
cd ..
fi
+53 -37
View File
@@ -97,15 +97,15 @@ if [ "$OSNAME" != "AIX" ]; then
# Sign the rpms that are not already signed. The "standard input reopened" warnings are normal.
echo "Signing RPMs..."
$XCATCOREDIR/build-utils/rpmsign.exp `find . -type f -name '*.rpm'` | grep -v -E '(was already signed|rpm --quiet --resign|WARNING: standard input reopened)'
$XCATCOREDIR/build-utils/rpmsign.exp `find . -type f -name '*.rpm'` | grep -v -E '(already contains identical signature|was already signed|rpm --quiet --resign|WARNING: standard input reopened)'
# Create the repodata dirs
echo "Creating repodata directories..."
for i in `find -mindepth 2 -maxdepth 2 -type d `; do
if [ -n "$VERBOSEMODE" ]; then
createrepo $i
createrepo --checksum sha $i # specifying checksum so the repo will work on rhel5
else
createrepo $i >/dev/null
createrepo --checksum sha $i >/dev/null
fi
rm -f $i/repodata/repomd.xml.asc
gpg -a --detach-sign $i/repodata/repomd.xml
@@ -126,7 +126,7 @@ if [ "$OSNAME" != "AIX" ]; then
fi
if [ "$OSNAME" == "AIX" ]; then
# Build the instoss file
# Build the instoss file ------------------------------------------
cat >instoss << 'EOF'
#!/bin/ksh
@@ -138,60 +138,75 @@ if [ "$PERLVER" == "v5.8.2" ]; then
OSVER='5.3'
elif [ "$PERLVER" == "v5.8.8" ]; then
OSVER='6.1'
aixver=`lslpp -lc|grep 'bos.rte:'|head -1|cut -d: -f3`
if [[ $aixver < '6.1.9.0' ]]; then
AIX61Y=0
else
AIX61Y=1
fi
elif [ "$PERLVER" == "v5.10.1" ]; then
OSVER='7.1'
aixver=`lslpp -lc|grep 'bos.rte:'|head -1|cut -d: -f3`
if [[ $aixver < '7.1.3.0' ]]; then
AIX71L=0
else
AIX71L=1
fi
else
echo "Error: the perl version of '$PERLVER' is not one that instoss understands. Exiting..."
exit 2
fi
cd $OSVER
# Have to install rpms 1 at a time, since some may be already installed.
# The only interdependency between the dep rpms so far is that net-snmp requires bash
# pyodbc is dependent on unixODBC
# The only interdependency between the dep rpms so far is that net-snmp requires bash, and
# pyodbc requires unixODBC. (The bash dependency is taken care of automatically because it
# comes earlier in the alphabet.)
# first run /usr/sbin/updtvpkg to make sure any installp software is
# registered with RPM.
echo "Running updtvpkg. This could take a few minutes."
/usr/sbin/updtvpkg
echo "updtvpkg has completed."
# unixODBC is required by pyodbc, so install it first
rpm -Uvh unixODBC*
for i in `ls *.rpm|grep -v -E '^tcl-|^tk-|^expect-|^unixODBC-|^xCAT-UI-deps'`; do
# Now install the bulk of the rpms, one at a time, in case some are already installed
for i in `ls *.rpm|grep -v -E '^tcl-|^tk-|^expect-|^unixODBC-|^xCAT-UI-deps|^perl-DBD-DB2Lite|^net-snmp'`; do
if [ "$i" == "perl-Net-DNS-0.66-1.aix5.3.ppc.rpm" ]; then
opts="--nodeps"
else
opts=""
fi
# this next if stmt means: if i does not start with perl-DBD-DB2
#if [ "${i#perl-DBD-DB2}" == "$i" ]; then
echo rpm -Uvh $opts $i
rpm -Uvh $opts $i
#fi
done
# don't try to install tcl, tk, or expect if they are already installed!
lslpp -l | grep expect.base > /dev/null 2>&1
if [ $? -gt 0 ]; then
if [ "$OSVER" == "5.3" ]; then
for i in tcl-*.rpm tk-*.rpm expect-*.rpm; do
echo rpm -Uvh $i
rpm -Uvh $i
done
# On 7.1L and 6.1Y we need a newer version of perl-Net_SSLeay.pm
if [[ $AIX71L -eq 1 || $AIX61Y -eq 1 ]]; then
if [[ $i == perl-Net_SSLeay.pm-1.30-* ]]; then continue; fi # skip the old rpm
else
echo "The expect.base, tcl.base, and tk.base filesets must also be installed before installing the xCAT RPMs from xcat-core."
if [[ $i == perl-Net_SSLeay.pm-1.55-* ]]; then continue; fi # skip the new rpm
fi
fi
echo rpm -Uvh $opts $i
rpm -Uvh $opts $i
done
# Have to upgrade all of the net-snmp rpms together because they depend on each other.
# Also, they require bash, so do it after the loop, rather than before
rpm -Uvh net-snmp*
EOF
# end of instoss file content
# end of instoss file content ---------------------------------------------
chmod +x instoss
fi
# Get the permissions correct. Have to have all dirs/files with a group of xcat
# and have them writeable by group, so any member of the xcat can build.
# Get the permissions and group correct
if [ "$OSNAME" == "AIX" ]; then
if ! lsgroup xcat >/dev/null 2>&1; then
mkgroup xcat
fi
SYSGRP=system
else
if ! $GREP xcat /etc/group; then
groupadd xcat
fi
SYSGRP=root
fi
chgrp -R xcat *
chgrp -R -h $SYSGRP *
chmod -R g+w *
# Build the tarball
@@ -213,7 +228,8 @@ else
echo "Creating $DFNAME ..."
tar $verbosetar -jcf $DFNAME xcat-dep
fi
cd xcat-dep
#cd xcat-dep <-- now we want to stay above xcat-dep, so we can rsync the whole dir
if [ "$UP" == 0 ]; then
exit 0;
@@ -235,12 +251,12 @@ if [ "$FRSYUM" != 0 ]; then
else
links="-l"
fi
echo "Uploading RPMs to $YUMDIR/$YUM/xcat-dep/ ..."
while [ $((i+=1)) -le 5 ] && ! rsync $links -ruv --delete * $UPLOADUSER,xcat@web.sourceforge.net:$YUMDIR/$YUM/xcat-dep/
echo "Uploading RPMs from xcat-dep to $YUMDIR/$YUM/ ..."
while [ $((i+=1)) -le 5 ] && ! rsync $links -ruv --delete xcat-dep $UPLOADUSER,xcat@web.sourceforge.net:$YUMDIR/$YUM/
do : ; done
# Upload the tarball to the SF FRS Area
i=0
echo "Uploading $DFNAME to $FRS/xcat-dep/$FRSDIR/ ..."
while [ $((i+=1)) -le 5 ] && ! rsync -v ../$DFNAME $UPLOADUSER,xcat@web.sourceforge.net:$FRS/xcat-dep/$FRSDIR/
while [ $((i+=1)) -le 5 ] && ! rsync -v $DFNAME $UPLOADUSER,xcat@web.sourceforge.net:$FRS/xcat-dep/$FRSDIR/
do : ; done
Executable
+137
View File
@@ -0,0 +1,137 @@
#######################################################################
#build script for local usage
#used for Linux/AIX/Ubuntu
#
###########################################################################
OSNAME=$(uname)
NAMEALL=$(uname -a)
for i in $*; do
# upper case the variable name
varstring=`echo "$i"|cut -d '=' -f 1|tr '[a-z]' '[A-Z]'`=`echo "$i"|cut -d '=' -f 2`
export $varstring
done
if [ -z "$CURDIR" ]; then
echo "get current directory!"
CURDIR=$(pwd)
fi
echo "CURDIR is $CURDIR"
echo "OSNAME is $OSNAME!"
echo "NAMEALL is $NAMEALL"
ls $CURDIR/makerpm
if [ $? -gt 0 ]; then
echo "Error:no repo exist, exit 1."
exit 1
fi
# Get a lock, so can not do 2 builds at once
exec 8>/var/lock/xcatbld.lock
if ! flock -n 8; then
echo "Can't get lock /var/lock/xcatbld.lock. Someone else must be doing a build right now. Exiting...."
exit 1
fi
#delete old package if there is
rm -rf $CURDIR/build/
cd $CURDIR
echo "==============================================="
echo $NAMEALL | egrep "Ubuntu"
#Check if it is an Ubuntu system
if [ $? -eq 0 ]; then
echo "This is an Ubuntu system"
pkg_type="snap"
build_string="Snap_Build"
cur_date=`date +%Y%m%d`
short_ver=`cat Version|cut -d. -f 1,2`
pkg_version="${short_ver}-${pkg_type}${cur_date}"
mkdir -p $CURDIR/build
for rpmname in xCAT-client xCAT-genesis-scripts perl-xCAT xCAT-server xCAT xCATsn xCAT-test; do
rpmname_low=`echo $rpmname | tr '[A-Z]' '[a-z]'`
echo "============================================"
echo "$rpmname_low"
cd $rpmname
dch -v $pkg_version -b -c debian/changelog $build_string
dpkg-buildpackage -uc -us
rc=$?
if [ $rc -gt 0 ]; then
echo "Error: $rpmname build package failed exit code $rc"
fi
cd -
mv ${rpmname_low}* $CURDIR/build
done
#delete all files except .deb file
find $CURDIR/build/* ! -name *.deb | xargs rm -f
else
#This is not an Ubuntu system
echo "This is an $OSNAME system"
rm -rf /root/rpmbuild/RPMS/noarch/*
rm -rf /root/rpmbuild/RPMS/x86_64/*
rm -rf /root/rpmbuild/RPMS/ppc64/*
mkdir -p $CURDIR/build/
#always build perl-xCAT
$CURDIR/makerpm perl-xCAT
# Build the rest of the noarch rpms
for rpmname in xCAT-client xCAT-server xCAT-IBMhpc xCAT-rmc xCAT-test xCAT-buildkit; do
if [ "$OSNAME" = "AIX" -a "$rpmname" = "xCAT-buildkit" ]; then continue; fi
$CURDIR/makerpm $rpmname
done
#build xCAT-genesis-scripts if it is x86_64 platform
ARCH=$(uname -p)
if [ "$ARCH" = "x64_64" ]; then
$CURDIR/makerpm xCAT-genesis-scripts x86_64
fi
# Build the xCAT and xCATsn rpms for all platforms
for rpmname in xCAT xCATsn; do
if [ "$OSNAME" = "AIX" ]; then
$CURDIR/makerpm $rpmname
if [ $? -ne 0 ]; then FAILEDRPMS="$FAILEDRPMS $rpmname"; fi
else
for arch in x86_64 ppc64 s390x; do
$CURDIR/makerpm $rpmname $arch
if [ $? -ne 0 ]; then FAILEDRPMS="$FAILEDRPMS $rpmname-$arch"; fi
done
fi
done
cp /root/rpmbuild/RPMS/noarch/* $CURDIR/build/
cp /root/rpmbuild/RPMS/x86_64/* $CURDIR/build/
cp /root/rpmbuild/RPMS/ppc64/* $CURDIR/build/
#begin to create repo for redhat platform
if [ "$OSNAME" != "AIX" ]; then
cat >$CURDIR/build/xCAT-core.repo << EOF
[xcat-2-core]
name=xCAT 2 Core packages
baseurl=file://$CURDIR/build
enabled=1
gpgcheck=0
EOF
cp $CURDIR/build/xCAT-core.repo /etc/yum.repos.d/
fi
fi
-3
View File
@@ -10,9 +10,6 @@
<packagereq type="required">xCAT-server</packagereq>
<packagereq type="required">xCAT-client</packagereq>
<packagereq type="required">perl-xCAT</packagereq>
<packagereq type="required">xCAT-nbroot-core-x86_64</packagereq>
<packagereq type="required">xCAT-nbroot-core-x86</packagereq>
<packagereq type="optional">xCAT-nbroot-core-ppc64</packagereq>
</packagelist>
</group>
</comps>
+2 -2
View File
@@ -13,11 +13,11 @@ then
exit 1
fi
echo "The location for rpm building is ${RPMROOT}"
cd `dirname $0`/xCAT-nbroot2
cd `dirname $0`/xCAT-genesis-builder
tar --exclude .svn -cjvf $RPMROOT/SOURCES/xCAT-genesis-builder.tar.bz2 .
#mv -f *.gz $RPMROOT/SOURCES
cp LICENSE.html $RPMROOT/BUILD
cp xCAT-genesis-builder.spec $RPMROOT/SOURCES
cd -
rm -f $RPMROOT/SRPMS/xCAT-genesis-builder-$VER*rpm $RPMROOT/RPMS/*/xCAT-genesis-builder-$VER*rpm
rpmbuild -ba xCAT-nbroot2/xCAT-genesis-builder.spec
rpmbuild -ba xCAT-genesis-builder/xCAT-genesis-builder.spec
+49 -12
View File
@@ -24,7 +24,7 @@ function makenoarch {
else # linux
echo "Building $RPMROOT/RPMS/noarch/$RPMNAME-$VER-snap*.noarch.rpm $EMBEDTXT..."
tar --exclude .svn -czf $RPMROOT/SOURCES/$RPMNAME-$VER.tar.gz $RPMNAME
rm -f $RPMROOT/SRPMS/xCAT-server-$VER*rpm $RPMROOT/RPMS/noarch/$RPMNAME-$VER*rpm
rm -f $RPMROOT/SRPMS/$RPMNAME-$VER*rpm $RPMROOT/RPMS/noarch/$RPMNAME-$VER*rpm
rpmbuild $QUIET -ta $RPMROOT/SOURCES/$RPMNAME-$VER.tar.gz
RC=$?
fi
@@ -32,9 +32,9 @@ function makenoarch {
# Make one of the following rpms: xCAT, xCATsn
# Make one of the following rpms: xCAT, xCATsn, xCAT-buildkit, xCAT-OpenStack
function makexcat {
if [ "$OSNAME" != "AIX" -a -z "$2" ]; then
if [ "$OSNAME" != "AIX" -a "$1" != "xCAT-buildkit" -a -z "$2" ]; then
echo 'Usage: makerpm <RPMname> <arch> [<embedded-system>]'
exit 1
fi
@@ -53,6 +53,7 @@ function makexcat {
tar -X /tmp/xcat-excludes -cf $RPMROOT/SOURCES/templates.tar templates
gzip -f $RPMROOT/SOURCES/templates.tar
cp xcat.conf $RPMROOT/SOURCES
cp xcat.conf.apach24 $RPMROOT/SOURCES
cp xCATMN $RPMROOT/SOURCES
else # xCATsn
tar -X /tmp/xcat-excludes -cf $RPMROOT/SOURCES/license.tar LICENSE.html
@@ -68,24 +69,38 @@ function makexcat {
RC=$?
else # linux
ARCH="$2"
cd `dirname $0`/$RPMNAME
TARGET="--target $ARCH"
if [ "$RPMNAME" = "xCAT" ]; then
tar --exclude .svn -czf $RPMROOT/SOURCES/postscripts.tar.gz postscripts LICENSE.html
cd `dirname $0`/$RPMNAME
tar --exclude .svn --exclude upflag -czf $RPMROOT/SOURCES/postscripts.tar.gz postscripts LICENSE.html
tar --exclude .svn -czf $RPMROOT/SOURCES/prescripts.tar.gz prescripts
tar --exclude .svn -czf $RPMROOT/SOURCES/templates.tar.gz templates
tar --exclude .svn -czf $RPMROOT/SOURCES/winpostscripts.tar.gz winpostscripts
cp xcat.conf $RPMROOT/SOURCES
cp xcat.conf.apach24 $RPMROOT/SOURCES
cp xCATMN $RPMROOT/SOURCES
else # xCATsn
cd - >/dev/null
elif [ "$RPMNAME" = "xCATsn" ]; then
cd `dirname $0`/$RPMNAME
tar --exclude .svn -czf $RPMROOT/SOURCES/license.tar.gz LICENSE.html
cp xcat.conf $RPMROOT/SOURCES
cp xCATSN $RPMROOT/SOURCES
cd - >/dev/null
elif [ "$RPMNAME" = "xCAT-buildkit" ]; then
ARCH="noarch"
TARGET=""
tar --exclude .svn --exclude xCAT-buildkit.spec -czf $RPMROOT/SOURCES/$RPMNAME-$VER.tar.gz $RPMNAME
elif [ "$RPMNAME" = "xCAT-OpenStack" ]; then
tar --exclude .svn --exclude xCAT-OpenStack.spec -czf $RPMROOT/SOURCES/$RPMNAME-$VER.tar.gz $RPMNAME
else # do not recognize rpm
echo "Unrecognized rpm: $RPMNAME"
exit 2
fi
cd - >/dev/null
rm -f $RPMROOT/SRPMS/$RPMNAME-$VER*rpm $RPMROOT/RPMS/$ARCH/$RPMNAME-$VER*rpm
echo "Building $RPMROOT/RPMS/$ARCH/$RPMNAME-$VER-snap*.$ARCH.rpm $EMBEDTXT..."
rpmbuild $QUIET -ba $RPMNAME/$RPMNAME.spec --target $ARCH
rpmbuild $QUIET -ba $RPMNAME/$RPMNAME.spec $TARGET
RC=$?
fi
}
@@ -115,9 +130,9 @@ function makenbroot {
# Make the xCAT-nbroot-core rpm
# Make the xCAT-genesis rpm
function makegenesis {
DIR="xCAT-nbroot2"
DIR="xCAT-genesis-builder"
RPMNAME="$1"
cd `dirname $0`/$DIR
tar --exclude .svn -cjf $RPMROOT/SOURCES/$RPMNAME.tar.bz2 .
@@ -128,6 +143,25 @@ function makegenesis {
echo "Building $RPMROOT/RPMS/noarch/$RPMNAME-$VER-snap*.noarch.rpm $EMBEDTXT..."
rpmbuild $QUIET -ba $DIR/$RPMNAME.spec
}
function makegenesisscripts {
DIR="xCAT-genesis-scripts"
if [ -z "$2" ]; then
echo 'Usage: makerpm xCAT-genesis-scripts <arch> [<embedded-system>]'
exit 1
fi
RPMNAME="$1"
ARCH="$2"
TARGET="--target $ARCH"
cd `dirname $0`/
tar --exclude .svn -cjf $RPMROOT/SOURCES/$RPMNAME.tar.bz2 $DIR
cp $DIR/LICENSE.html $RPMROOT/BUILD
cp $DIR/$RPMNAME.spec $RPMROOT/SOURCES
cd - >/dev/null
rm -f $RPMROOT/SRPMS/$RPMNAME-$ARCH-$VER*rpm $RPMROOT/RPMS/noarch/$RPMNAME-$ARCH-$VER*rpm
echo "Building $RPMROOT/RPMS/noarch/$RPMNAME-$ARCH-$VER-snap*.noarch.rpm $EMBEDTXT..."
rpmbuild $QUIET -ba $DIR/$RPMNAME.spec $TARGET
}
# Export the name of the embedded system we are building for
@@ -172,15 +206,18 @@ else # linux
fi
if [ "$1" = "xCAT" -o "$1" = "xCATsn" ]; then
if [ "$1" = "xCAT" -o "$1" = "xCATsn" -o "$1" = "xCAT-buildkit" -o "$1" = "xCAT-OpenStack" ]; then
exportEmbed $3
makexcat $1 $2
elif [ "$1" = "xCAT-nbroot" -o "$1" = "xCAT-nbroot-core" ]; then
exportEmbed $3
makenbroot xCAT-nbroot-core $2
elif [ "$1" = "xCAT-genesis-builder" ]; then
exportEmbed $2
makegenesis $1
elif [ "$1" = "xCAT-genesis-scripts" ]; then
exportEmbed $3
makegenesis $1 $2
makegenesisscripts $1 $2
else # must be one of the noarch rpms
exportEmbed $2
makenoarch $1
+67 -51
View File
@@ -157,61 +157,69 @@ B<tabedit> or B<chtab> commands. They can be viewed using B<nodels> or B<tabdum
Alternatively, the xCAT database can be viewed and edited as logical objects, instead of flat tables.
In this mode, xCAT takes care of which table each attribute should go in. To treat the database
as logical object definitions, use the commands: lsdef, mkdef, chdef, rmdef. See Object Definitions
as logical object definitions, use the commands: B<lsdef>, B<mkdef>, B<chdef>, B<rmdef>. See Object Definitions
below.
xCAT allows the use of different database applications, depending on the needs of your cluster.
The default database is SQLite, which is a daemonless, zero-config database. But you could instead
choose to use something like postgresql for greater scalability and remote access in the
hierarchical/service node case. To use a different database or a different location, create
the file /etc/xcat/cfgloc.
See the appropriate xCAT docuementation for the format of the file for the database you choose.
The following example is for PostgreSQL:
the file /etc/xcat/cfgloc. See the appropriate xCAT docuementation for the format of the file for the database you choose.
The following example /etc/xcat/cfgloc file is for PostgreSQL:
=over 4
=item Pg:dbname=xcat;host=<mgmtnode>|<pgadminuserid>|<pgadminpasswd>
Pg:dbname=xcat;host=<mgmtnode>|<pgadminuserid>|<pgadminpasswd>
where mgmtnode is the hostname of the management node adapter on the cluster side, and the pgadminuserid and pgadminpasswd are the database admin and password.
=back
=head2 GROUPS AND REGULAR EXPRESSIONS IN TABLES
The xCAT database spans a number of tables, some with records associated with particular nodes
(such as nodelist and nodehm) and others that do not have a direct relationship with any given node.
The tables not associated with a given node are straightforward, the data is stored and retrieved
as-is from the database without interpretation, and without any generic inheritance
(though some calling code may implement inheritance for specific fields, for example
nodehm.power inheriting from nodehm.mgt).
The tables with records typically retrieved by node name have some extra features to enable a more
The xCAT database has a number of tables, some with rows that are keyed by node name
(such as noderes and nodehm) and others that are not keyed by node name (for example, the policy table).
The tables that are keyed by node name have some extra features that enable a more
template-based style to be used:
Any group name can be used in lieu of a node name in the node field, and that record will then
be taken to be applicable to any node in that group. If a field is requested for a specific node,
and either a record doesn't exist specifically for that nodename or a record exists, but has no
definition for the requested field, that node's groups are then used to search for
records. If multiple records could apply from two different groups, the precedence is
the order the groups are specified in the nodelist table for that node. This is nearly identical to
most xCAT 1.x tab file conventions. This is useful in tables such as noderes, where typical
configurations have exactly the same field values for large sets of nodes.
Any group name can be used in lieu of a node name in the node field, and that row will then
provide "default" attribute values for any node in that group. A row with a specific node name
can then override one or more attribute values for that specific node. For example, if the nodehm table contains:
xCAT 2 extends the above to be made useful where a field will vary for every node with a given tag,
but in ways that would be trivial to describe. If a field is of the format /I<pattern>/I<replacement>/,
it is taken to be a perl regular expression, to be performed on the nodename. For example, the bmc field
of the ipmi table might be B</\z/-bmc/> for a record with node=ipmi to specify that the BMC hostname is derived
by appending B<-bmc> to the end of the nodename of every node in the ipmi group.
#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,comments,disable
"mygroup",,"ipmi",,,,,,"19200",,,,,
"node1",,,,,,,,"115200",,,,,
As an extension to the above, a regular expression extended with arithmetic operators is available,
by using the format |I<pattern>|I<replacement>|. This behaves similarly to the above, but () enclosed parts
in I<replacement> are taken to signify arithmetic operations and substituted in. All operations are integer
arithmetic, so 5/4 would come out as 1. The typical perl positional variables are available in such expressions.
In the above example, the node group called mygroup sets mgt=ipmi and serialspeed=19200. Any nodes that are in this group
will have those attribute values, unless overridden. For example, if node2 is a member of mygroup, it will automatically
inherit these attribute values (even though it is not explicitly listed in this table). In the case of node1 above, it
inherits mgt=ipmi, but overrides the serialspeed to be 115200, instead of 19200. A useful, typical way to use this
capability is to create a node group for your nodes and for all the attribute values that are the same for every node,
set them at the group level. Then you only have to set attributes for each node that vary from node to node.
For example, if you have many blades in your cluster and their hostnames have a regular
pattern of blade1, blade2, etc., and your BladeCenter management modules also have a hostname
pattern of amm1, amm2, etc., then your B<mp> table could be expressed by the following single row:
xCAT extends the group capability so that it can also be used for attribute values that vary from node to node
in a very regular pattern. For example, if in the ipmi table you want the bmc attribute to be set to whatever the nodename is with
"-bmc" appended to the end of it, then use this in the ipmi table:
"blade","|\D+(\d+)|amm(($1-1)/14+1)|","|\D+(\d+)|(($1-1)%14+1)|",,
#node,bmc,bmcport,taggedvlan,bmcid,username,password,comments,disable
"compute","/\z/-bmc/",,,,,,,
In this example, "compute" is a node group that contains all of the compute nodes. The 2nd attribute (bmc) is a regular
expression that is similar to a substitution pattern. The 1st part "\z" matches the end of the node name and substitutes "-bmc", effectively appending it to the node name.
Another example is if node1 is to have IP address 10.0.0.1, node2 is to have IP address 10.0.0.2, etc.,
then this could be represented in the hosts table with the single row:
#node,ip,hostnames,otherinterfaces,comments,disable
"compute","|node(\d+)|10.0.0.($1+0)|",,,,
In this example, the regular expression in the ip attribute uses "|" to separate the 1st and 2nd part. This means that
xCAT will allow arithmetic operations in the 2nd part. In the 1st part, "(\d+)", will match the number part of the node
name and put that in a variable called $1. The 2nd part
is what value to give the ip attribute. In this case it will set it to the string "10.0.0." and the number that is
in $1. (Zero is added to $1 just to remove any leading zeroes.)
A more involved example is with the mp table. If your blades have node names node01, node02, etc., and your chassis
node names are cmm01, cmm02, etc., then you might have an mp table like:
#node,mpa,id,nodetype,comments,disable
"blade","|\D+(\d+)|cmm(sprintf('%02d',($1-1)/14+1))|","|\D+(\d+)|(($1-1)%14+1)|",,
Before you panic, let me explain each column:
@@ -221,37 +229,45 @@ Before you panic, let me explain each column:
This is a group name. In this example, we are assuming that all of your blades belong to this
group. Each time the xCAT software accesses the B<mp> table to get the management module and slot number
of a specific blade (e.g. B<blade20>), this row will match (because B<blade20> is in the B<blade> group).
Once this row is matched for B<blade20>, then the processing described in the following items will take
of a specific blade (e.g. B<node20>), this row will match (because B<node20> is in the B<blade> group).
Once this row is matched for B<node20>, then the processing described in the following items will take
place.
=item B<|\D+(\d+)|amm(($1-1)/14+1)|>
=item B<|\D+(\d+)|cmm(sprintf('%02d',($1-1)/14+1))|>
This is a perl substitution pattern that will produce the value for the second column of the table (the
management module hostname).
The text B<\D+(\d+)> between the 1st two vertical bars is
management module hostname). The text B<\D+(\d+)> between the 1st two vertical bars is
a regular expression that matches the node
name that was searched for in this table (in this example B<blade20>). The text that matches
name that was searched for in this table (in this example B<node20>). The text that matches
within the 1st set of parentheses is set to $1. (If there was a 2nd set of parentheses, it would
be set to $2, and so on.) In our case, the \D+ matches the non-numeric part of the name
(B<blade>) and the \d+ matches the numeric part (B<20>). So $1 is set to B<20>. The text B<amm(($1-1)/14+1)> between the
2nd and 3rd vertical bars produces the string that should be used as the value
for this column in a hypothetical row for blade20. Since $1 is set to 20, the expression B<($1-1)/14+1> equals
19/14 + 1, which equals 2. Therefore the whole string is B<amm2>, which will be used as the hostname
(B<node>) and the B<\d+> matches the numeric part (B<20>). So $1 is set to B<20>. The text B<cmm(sprintf('%02d',($1-1)/14+1))> between the
2nd and 3rd vertical bars produces the string that should be used as the value for the mpa attribute for node20.
Since $1 is set to 20, the expression B<($1-1)/14+1> equals
19/14 + 1, which equals 2. (The division is integer division,
so 19/14 equals 1. Fourteen is used as the divisor, because there are 14 blades in each chassis.) The value of 2 is then passed into sprintf() with a format string to add a leading
zero, if necessary, to always make the number two digits. Lastly the string B<cmm> is added to the beginning,
making the resulting string B<cmm02>, which will be used as the hostname
of the management module.
=item B<|\D+(\d+)|(($1-1)%14+1)|>
This item is similar to the one above. This substituion pattern will produce the value for
the 3rd column (the BladeCenter chassis slot number for this blade). Because this row was
the match for B<blade20>, the parentheses
the 3rd column (the chassis slot number for this blade). Because this row was
the match for B<node20>, the parentheses
within the 1st set of vertical bars will set $1 to 20. Since % means modulo division, the
expression B<($1-1)%14+1> will evaluate to 6.
expression B<($1-1)%14+1> will evaluate to B<6>.
=back
See http://www.perl.com/doc/manual/html/pod/perlre.html for information on perl regular expressions.
=head2 Easy Regular Expressions
As of xCAT 2.8.1, you can use a modified version of the regular expression support described in the previous section. You do not need to enter the node information (1st part of the expression), it will be derived from the input nodename. You only need to supply the 2nd part of the expression to determine the value to give the attribute. For examples, see
https://sourceforge.net/apps/mediawiki/xcat/index.php?title=Listing_and_Modifying_the_Database#Easy_Regular_expressions
=head1 OBJECT DEFINITIONS
Because it can get confusing what attributes need to go in what tables, the xCAT database can also
+2 -2
View File
@@ -1,8 +1,8 @@
Source: perl-xcat
Section: libs
Priority: extra
Maintainer: Arif Ali <aali@ocf.co.uk>
Build-Depends: debhelper (>= 5), libsoap-lite-perl
Maintainer: xCAT <xcat-user@lists.sourceforge.net>
Build-Depends: debhelper (>= 5), libsoap-lite-perl, libdbi-perl
Standards-Version: 3.7.2
Package: perl-xcat
+2 -2
View File
@@ -1,7 +1,7 @@
xCAT/* usr/lib/perl5/xCAT
xCAT/* /opt/xcat/lib/perl/xCAT/
share/man/man5/* opt/xcat/share/man/man5
share/doc/man5/* opt/xcat/share/doc/man5
share/man/man7/* opt/xcat/share/man/man7
share/doc/man7/* opt/xcat/share/doc/man7
LICENSE.html opt/xcat/share/doc/packages/perl-xCAT
README opt/xcat/
README opt/xcat/
+3 -3
View File
@@ -14,7 +14,6 @@ export DH_COMPAT=5
build:
dh_testdir
./modifyUtils `cat ../Version`
./db2man
clean:
@@ -26,7 +25,7 @@ install:
dh_testdir
dh_testroot
dh_installdirs
dh_install
dh_install -X".svn"
# Build architecture-independent files here.
@@ -40,7 +39,7 @@ binary-arch: build install
dh_installchangelogs
dh_installdocs
# dh_installexamples
dh_install
dh_install -X".svn"
chmod 644 `pwd`/debian/perl-xcat/opt/xcat/lib/perl/xCAT/*
chmod 755 `pwd`/debian/perl-xcat/opt/xcat/lib/perl/xCAT/data
chmod 644 `pwd`/debian/perl-xcat/opt/xcat/share/doc/packages/perl-xCAT/*
@@ -49,6 +48,7 @@ binary-arch: build install
chmod 644 `pwd`/debian/perl-xcat/opt/xcat/share/doc/man5/*
chmod 644 `pwd`/debian/perl-xcat/opt/xcat/share/man/man7/*
chmod 644 `pwd`/debian/perl-xcat/opt/xcat/share/doc/man7/*
./modifyUtils `cat ../Version` `svn info | grep Revision | cut -d" " -f 2`
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
+10 -17
View File
@@ -3,32 +3,25 @@
if [ -z "$2" ]
then
echo "modifyUtils: Error: must specify the xCAT version and svn revision number as arguments" >&2
echo "modifyUtils: Error: must specify the xCAT version as an argument" >&2
exit
fi
VER=$1
SVNREF="svn r$2, "
#SVNINFO=`svn info 2>/dev/null|grep Revision`
#/bin/echo -e $SVNINFO
#if [ $? -ne 0 -a -f .svninfo ]; then
# SVNINFO=`cat .svninfo 2>/dev/null|grep Revision`
#fi
#if [ $? -eq 0 ]
# then
# SVNREF="svn r"`echo $SVNINFO|awk '{print $2}'`", "
# else
# SVNREF=""
# fi
GITREF="git commit $2, "
BUILDDATE=`date`
#echo ". '(${SVNREF}built $BUILDDATE)'"
#echo ". '(built $BUILDDATE)'"
if [ "$(uname)" = "AIX" ]
then
sed -e s/"#XCATVERSIONSUBHERE"/". '$VER'"/ -e s/"#XCATSVNBUILDSUBHERE"/". ' (${SVNREF}built $BUILDDATE)'"/ xCAT/Version.pm >xCAT/Version.pm.new
sed -e s/"#XCATVERSIONSUBHERE"/". '$VER'"/ -e s/"#XCATSVNBUILDSUBHERE"/". ' (${GITREF}built $BUILDDATE)'"/ xCAT/Version.pm >xCAT/Version.pm.new
mv xCAT/Version.pm.new xCAT/Version.pm
else
sed -i -e s/"#XCATVERSIONSUBHERE"/". '$VER'"/ -e s/"#XCATSVNBUILDSUBHERE"/". ' (${SVNREF}built $BUILDDATE)'"/ xCAT/Version.pm
if [ -f "/etc/debian_version" ];then
FILENAME="debian/perl-xcat/opt/xcat/lib/perl/xCAT/Version.pm"
else
FILENAME="xCAT/Version.pm"
fi
sed -i -e s/"#XCATVERSIONSUBHERE"/". '$VER'"/ -e s/"#XCATSVNBUILDSUBHERE"/". ' (${GITREF}built $BUILDDATE)'"/ $FILENAME
fi
+22 -12
View File
@@ -23,8 +23,10 @@ Provides: perl-xCAT = %{epoch}:%{version}
Provides perl xCAT libraries for core functionality. Required for all xCAT installations.
Includes xCAT::Table, xCAT::NodeRange, among others.
%define gitinfo %(git log -n 1 | head -n 1 | cut -f 2 -d ' ')
%define zvm %(if [ "$zvm" = "1" ];then echo 1; else echo 0; fi)
%define svninfo %(svn info | grep Revision | awk '{print $2}')
%define fsm %(if [ "$fsm" = "1" ];then echo 1; else echo 0; fi)
%prep
%setup -q -n perl-xCAT
@@ -33,12 +35,15 @@ Includes xCAT::Table, xCAT::NodeRange, among others.
# All of the tarball source has been unpacked there and is in the same file structure
# as it is in svn.
%if %fsm
%else
# Modify the Version() function in xCAT/Utils.pm to automatically have the correct version
./modifyUtils %{version} %{svninfo}
./modifyUtils %{version} %{gitinfo}
# Build the pod version of the man pages for each DB table. It puts them in the man5 and man7 subdirs.
# Then convert the pods to man pages and html pages.
./db2man
%endif
%install
# The install phase puts all of the files in the paths they should be in when the rpm is
@@ -75,6 +80,18 @@ rm $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/PPC*.pm
cp xCAT/PPCdb.pm $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/
chmod 644 $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/PPCdb.pm
%endif
# Don't ship these on FSM, to reduce dependencies
%if %fsm
rm $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/hpoa.pm
rm $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/vboxService.pm
rm $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/FSP*.pm
rm $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/RemoteShellExp.pm
rm $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/LparNetbootExp.pm
rm $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/PPC*.pm
# have to put PPCdb.pm back because it is needed by Postage.pm
cp xCAT/PPCdb.pm $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/
chmod 644 $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/PPCdb.pm
%endif
cp LICENSE.html $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/perl-xCAT
chmod 644 $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/perl-xCAT/*
@@ -82,6 +99,8 @@ chmod 644 $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/perl-xCAT/*
cp README $RPM_BUILD_ROOT/%{prefix}
chmod 644 $RPM_BUILD_ROOT/%{prefix}/README
%if %fsm
%else
# These were built dynamically in the build phase
cp share/man/man5/* $RPM_BUILD_ROOT/%{prefix}/share/man/man5
chmod 644 $RPM_BUILD_ROOT/%{prefix}/share/man/man5/*
@@ -91,6 +110,7 @@ cp share/man/man7/* $RPM_BUILD_ROOT/%{prefix}/share/man/man7
chmod 644 $RPM_BUILD_ROOT/%{prefix}/share/man/man7/*
cp share/doc/man7/* $RPM_BUILD_ROOT/%{prefix}/share/doc/man7
chmod 644 $RPM_BUILD_ROOT/%{prefix}/share/doc/man7/*
%endif
%clean
# This step does not happen until *after* the %files packaging below
@@ -122,18 +142,8 @@ fi
if [ "$1" -gt 1 ]; then #Ugrade only, restart daemon and migrate settings
if [ -x /etc/init.d/xcatd ] && [ -f "/proc/cmdline" ]; then
. /etc/profile.d/xcat.sh
/etc/init.d/xcatd reload
fi
fi
%else
if [ "$1" -gt 1 ]; then #Ugrade only, restart daemon and migrate settings
if [ -n "$INUCLIENTS" ] && [ $INUCLIENTS -eq 1 ]; then
#Do nothing in not running system
echo "Do not restartxcatd in not running system"
else
XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/restartxcatd -r
fi
fi
%endif
exit 0
+821
View File
@@ -0,0 +1,821 @@
# IBM(c) 2012 EPL license http://www.eclipse.org/legal/epl-v10.html
package xCAT::CFMUtils;
BEGIN
{
$::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
}
use lib "$::XCATROOT/lib/perl";
use strict;
use warnings;
use File::Path;
use File::Copy;
use File::Find;
use Getopt::Long;
use Data::Dumper;
use File::Basename;
use xCAT::Table;
use xCAT::Utils;
use xCAT::MsgUtils;
1;
#-----------------------------------------------------------------------------
=head3 initCFMdir
Initialize CFM directories and files. The default layout under cfmdir is:
.
|-- etc
| |-- group.merge -> /etc/group.merge
| |-- hosts -> /etc/hosts
| |-- passwd.merge -> /etc/passwd.merge
| |-- shadow.merge -> /etc/shadow.merge
|-- group.OS -> /etc/group.OS
|-- passwd.OS -> /etc/passwd.OS
|-- shadow.OS -> /etc/shadow.OS
Note: the *.OS files are the backups for the original /etc/passwd, shadow, group files
Arguments:
$cfmdir
Returns:
0 - initialize successfully
1 - initialize failed
Globals:
none
Error:
none
Example:
xCAT::CFMUtils->initCFMdir($cfmdir);
=cut
#-----------------------------------------------------------------------------
sub initCFMdir
{
my ($class, $cfmdir) = @_;
# below system files will be synced to all compute nodes
my @sysfiles = ("/etc/hosts");
# the /etc/passwd, shadow, group files will be merged
my @userfiles = ("/etc/passwd", "/etc/shadow", "/etc/group");
# create the cfmdir
if (! -d $cfmdir)
{
mkpath $cfmdir;
}
# backup the OS files and create links under cfmdir
foreach my $file (@userfiles)
{
my $backup = $file.".OS";
if (! -e $backup)
{
copy($file, $backup);
}
if (! -e "$cfmdir/".basename($backup))
{
symlink($backup, "$cfmdir/".basename($backup));
}
}
# Initialize CFM directory and related files
if (! -d "$cfmdir/etc")
{
mkpath "$cfmdir/etc";
}
# link the system files
foreach my $file (@sysfiles)
{
symlink($file, "$cfmdir/$file");
}
# touch and link the merge files for /etc/passwd, shadow, group
foreach my $file (@userfiles)
{
my $merge = $file.".merge";
if (! -e "$merge")
{
xCAT::Utils->runcmd("touch $merge", -1);
}
if (! -e "$cfmdir/$merge")
{
symlink($merge, "$cfmdir/$merge");
}
}
}
#-----------------------------------------------------------------------------
=head3 updateUserInfo
Update the /etc/passwd, shadow, group merge files under specified CFM directory
Arguments:
$cfmdir - CFM directory for osimage
Returns:
0 - update successfully
1 - update failed
Globals:
$::CALLBACK
Error:
none
Example:
my $ret = xCAT::CFMUtils->updateUserInfo($cfmdir);
=cut
#-----------------------------------------------------------------------------
sub updateUserInfo {
my ($class, $cfmdir) = @_;
my @userfiles = ("/etc/passwd", "/etc/shadow", "/etc/group");
my @osfiles = glob("$cfmdir/*.OS");
if (!@osfiles)
{
if ($::VERBOSE)
{
my $rsp = {};
$rsp->{data}->[0] = "Skiping the update of the /etc/passwd, shadow, group merge files under the CFM directory.";
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
}
return 0;
}
foreach my $file (@userfiles)
{
my @oldrecords = ();
my @newrecords = ();
my $backup = basename($file).".OS";
# get the records from /etc/passwd, shadow, group file and backup files(.OS files)
# and all the files from /install/osimages/$imgname/cfmdir directory
foreach my $userinfo ($file, "$cfmdir/$backup")
{
my $fp;
open($fp, $userinfo);
my @records = ();
while (<$fp>)
{
my $line = xCAT::CFMUtils->trim($_);
if (($line =~ /^#/) || ($line =~ /^\s*$/ ))
{ #comment line or blank line
next;
} else
{
push @records, $line;
}
}
close($fp);
# check the records from /etc/passwd, shadow, group file or backup
if ($userinfo =~ /^\/etc/ )
{
@newrecords = @records;
} else {
@oldrecords = @records;
}
}
# update the merge file
my $mergefile = $cfmdir."/".$file.".merge";
my @diff = xCAT::CFMUtils->arrayops("D", \@newrecords, \@oldrecords);
# output the diff to merge files
my $fp;
open($fp, '>', $mergefile);
if (@diff)
{
for my $record (@diff)
{
# skip to add ROOT relative records into MERGE file
if ($record =~ /^root/)
{
next;
}
print $fp "$record\n";
}
}
close ($fp);
}
return 0;
}
#-----------------------------------------------------------------------------
=head3 setCFMSynclistFile
Set osimage synclists attribute for CFM function, the CMF synclist file is:
/install/osimages/<imagename>/synclist.cfm
Arguments:
$imagename - the specified osimage name
Returns:
It returns the cfmdir path if it is defined for an osimage object
Globals:
$::CALLBACK
Error:
none
Example:
my $cfmdir = xCAT::CFMUtils->setCFMSynclistFile($imagename);
if ($cfmdir) { # update the CFM synclist file }
=cut
#-----------------------------------------------------------------------------
sub setCFMSynclistFile {
my ($class, $img) = @_;
my $cfmdir;
my $synclists;
my $cfmsynclist = "/install/osimages/$img/synclist.cfm";
# get the cfmdir and synclists attributes
my $osimage_t = xCAT::Table->new('osimage');
my $records = $osimage_t->getAttribs({imagename=>$img}, 'cfmdir', 'synclists');
if (defined ($records->{'cfmdir'}))
{
$cfmdir = $records->{'cfmdir'};
if (defined ($records->{'synclists'})) {$synclists = $records->{'synclists'}}
} else {
# no cfmdir defined, return directly
return 0;
}
my $found = 0;
my $index = 0;
if ($synclists)
{
# the synclists is a comma separated list
my @lists = split(/,/, $synclists);
foreach my $synclist (@lists)
{
# find the synclist configuration for CFM
if ($synclist eq $cfmsynclist)
{
$found = 1;
last;
}
$index += 1;
}
if ($found == 0)
{
# the CFM synclist is not defined, append it to $synclists
$synclists = "$synclists,$cfmsynclist";
# set the synclists attribute
$osimage_t->setAttribs({imagename=>$img}, {'synclists' => $synclists});
}
} else {
# no synclists defined, set it to CFM synclist file
if ($cfmdir) { $synclists = $cfmsynclist; }
$osimage_t->setAttribs({imagename=>$img}, {'synclists' => $synclists});
}
return $cfmdir;
}
#-----------------------------------------------------------------------------
=head3 updateCFMSynclistFile
Update the synclist file(/install/osimages/<imagename>/synclist.cfm) for CFM function.
It will recursively scan the files under cfmdir directory and then add them to CFM synclist file.
Note:
The files with suffix ".append" will be appended to the dest file(records in "APPEND:" section).
The files with suffix ".merge" will be merged to the dest file(records in "MERGE:" section).
In addition, it will reserve the user specified records in the synclist file. The example synclist file:
<cfmdir>/etc/hosts -> /etc/hosts
/root/install.log -> /tmp/install.log
...
APPEND:
<cfmdir>/etc/hosts.append -> /etc/hosts
/root/install.log.syslog -> /tmp/install.log
...
EXECUTE:
...
EXECUTEALWAYS:
...
MERGE:
<cfmdir>/etc/group.merge -> /etc/group
<cfmdir>/etc/shadow.merge -> /etc/shadow
<cfmdir>/etc/passwd.merge -> /etc/passwd
Arguments:
\@imagenames - reference to the osimage names array
Returns:
0 - update successfully
1 - update failed
Globals:
$::CALLBACK
Error:
none
Example:
my $ret = CAT::CFMUtils->updateCFMSynclistFile(\@imagenames);
=cut
#-----------------------------------------------------------------------------
sub updateCFMSynclistFile {
my ($class, $imgs) = @_;
my @osimgs = @$imgs;
if (!@osimgs)
{
my $rsp = {};
$rsp->{error}->[0] = "No osimage names specified to process.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
return 1;
}
foreach my $osimg (@osimgs)
{
my $cfmdir;
$cfmdir = xCAT::CFMUtils->setCFMSynclistFile($osimg);
if ($cfmdir) # check for /install/osiamges/$osimg/cfmdir
{
my $cfmsynclist = "/install/osimages/$osimg/synclist.cfm";
if (! -d $cfmdir)
{
# skip this one go on to the next image, nothing to do for
# CFMUtils in this image
next;
}
# create the parent directory of CFM synclist file
if (! -d dirname($cfmsynclist))
{
mkpath dirname($cfmsynclist);
}
# update /etc/passwd, shadow, group merge files
my $ret = xCAT::CFMUtils->updateUserInfo($cfmdir);
if ($ret !=0 )
{
my $rsp = {};
$rsp->{error}->[0] =
"Update /etc/passwd, shadow, group merge files failed.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
return 1;
}
# recursively list the files under cfm directory
my @files = ();
find ( { wanted => sub { push @files, $File::Find::name if -f }, follow => 1 }, $cfmdir);
if (!@files) # not files under cfm directory, skip to next loop
{
next;
}
my $fp;
open($fp, '>', $cfmsynclist);
my @mergefiles = ();
my @appendfiles = ();
foreach my $file (@files)
{
my $name = basename($file);
#TODO: find a better way to get the suffix
my $suffix = ($name =~ m/([^.]+)$/)[0];
my $dest = substr($file, length($cfmdir));
if ($suffix eq "OS") # skip the backup files
{
next;
} elsif ($suffix eq "merge") # merge file
{
push(@mergefiles, $file);
} elsif ($suffix eq "append") { # append file
push(@appendfiles, $file);
} else { # output the syncing files maintained by CFM
print $fp "$file -> $dest\n";
}
}
# output the APPEND records maintained by CFM
if (@appendfiles) {
print $fp "APPEND:\n";
}
foreach my $file (@appendfiles)
{
my $dest = substr($file, length($cfmdir), length($file) - length(".append") - length($cfmdir));
print $fp "$file -> $dest\n";
}
# output the MERGE records maintained by CFM
if (@mergefiles) {
print $fp "MERGE:\n";
}
foreach my $file (@mergefiles)
{
my @userfiles = ("/etc/passwd", "/etc/shadow", "/etc/group");
my $dest = substr($file, length($cfmdir), length($file) - length(".merge") - length($cfmdir));
# only /etc/passwd, /etc/shadow, /etc/groups merging is supported
if (grep(/$dest/, @userfiles)) {
print $fp "$file -> $dest\n";
}
}
# close the file
close($fp);
}
}
return 0;
}
#-----------------------------------------------------------------------------
=head3 setCFMPkglistFile
Set the pkglist attribute of linuximage object for CFM function
Arguments:
$imagename - the specified linuximage name
Returns:
0 - update successfully
1 - update failed
Globals:
$::CALLBACK
Error:
none
Example:
my $ret = xCAT::CFMUtils->setCFMPkglistFile($imagename);
=cut
#-----------------------------------------------------------------------------
sub setCFMPkglistFile {
my ($class, $img) = @_;
my $pkglists = "";
my $cfmpkglist = "/install/osimages/$img/pkglist.cfm";
# get the pkglist files
my $linuximage_t = xCAT::Table->new('linuximage');
my $records = $linuximage_t->getAttribs({imagename => $img}, 'pkglist');
if ($records)
{
if ($records->{'pkglist'}) { $pkglists = $records->{'pkglist'}; }
} else
{
if ($::VERBOSE)
{
my $rsp = {};
$rsp->{data}->[0] = "There are no records for pkglist attribute in the linuximage:$img. There is nothing to process.";
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
}
}
my $found = 0;
if ($pkglists)
{
foreach my $pkglist (split(/,/, $pkglists))
{
if ($pkglist eq $cfmpkglist) # the pkglist file for CFM is found, exit the loop
{
$found = 1;
last;
}
}
# the pkglist file for CFM is not found, append it to $pkglits
if (!$found)
{
$pkglists = "$pkglists,$cfmpkglist";
# set the pkglist attribute for linuximage
$linuximage_t->setAttribs({imagename => $img}, {'pkglist' => $pkglists});
}
} else
{
# the pkglist file for linuximage is not defined, set it to $cfmpkglist
$pkglists = $cfmpkglist;
$linuximage_t->setAttribs({imagename => $img}, {'pkglist' => $pkglists});
}
return 0;
}
#-----------------------------------------------------------------------------
=head3 updateCFMPkglistFile
Update the ospkglist file
Arguments:
$imagename - the specified linuximage name
@curospkgs - the currently selected OS packages list
Returns:
0 - update successfully
1 - update failed
Globals:
none
Error:
none
Example:
my $ret = CAT::CFMUtils->updateCFMPkglistFile($imagename, @cur_selected_pkgs);
=cut
#-----------------------------------------------------------------------------
sub updateCFMPkglistFile {
my ($class, $img, $ospkgs) = @_;
my @cur_selected = @$ospkgs;
my $cfmpkglist = "/install/osimages/$img/pkglist.cfm";
my $ret = xCAT::CFMUtils->setCFMPkglistFile($img);
if ($ret)
{
my $rsp = {};
$rsp->{error}->[0] = "Set pkglist attribute for CFM failed.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
return 1;
}
# check the parent directory of cfmpkglist file
if (! -d dirname($cfmpkglist))
{
mkpath dirname($cfmpkglist);
}
# get previous selected and removed OS packages list from pkglist file
my ($pre_selected_ref, $pre_removed_ref) = xCAT::CFMUtils->getPreOSpkgsList($cfmpkglist);
my @pre_selected = @$pre_selected_ref;
my @pre_removed = @$pre_removed_ref;
# get the #INCLUDE file from cfmpkglist file
my @incfiles = xCAT::CFMUtils->getIncludefiles($cfmpkglist);
# get the packages list in the #INCLUDE files
my @basepkgs = ();
foreach my $inc (@incfiles)
{
my ($selected_ref, $removed_ref) = xCAT::CFMUtils->getPreOSpkgsList($inc);
my @selected = @$selected_ref;
@basepkgs = xCAT::CFMUtils->arrayops("U", \@basepkgs, \@selected);
}
# get diff between previous and current selected OS packages lists
my @diff = xCAT::CFMUtils->getPkgsDiff(\@pre_selected, \@cur_selected);
# merge the diff to previous removed OS packages list
my @all_removed = xCAT::CFMUtils->arrayops("U", \@pre_removed, \@diff);
# get the rollbacked OS packages list, the packages are existing in both removed and selected lists
# if so, we should remove the rollbacked OS packages from removed list
my @rollback = xCAT::CFMUtils->arrayops("I", \@all_removed, \@cur_selected);
my @cur_removed = xCAT::CFMUtils->arrayops("D", \@all_removed, \@rollback);
# remove the BASE packages from selected pakages
@basepkgs = xCAT::CFMUtils->arrayops("I", \@basepkgs, \@cur_selected);
@cur_selected = xCAT::CFMUtils->arrayops("D", \@cur_selected, \@basepkgs);
# update the pkglist file
my $fp;
open($fp, '>', $cfmpkglist);
foreach my $inc (@incfiles)
{
print $fp "#INCLUDE:$inc#\n";
}
# the pacakges be installed
if (@cur_selected)
{
foreach my $pkg (@cur_selected)
{
print $fp "$pkg\n";
}
}
# the packages be removed
if (@cur_removed)
{
foreach my $pkg (@cur_removed)
{
print $fp "-$pkg\n";
}
}
# close the file
close($fp);
return 0;
}
#-----------------------------------------------------------------------------
=head3 getPreOSpkgsList
Get previously selected and removed OS packages lists from pkglist file
Arguments:
$ospkglist - the path for ospkglist file
Returns:
refs for selected and removed OS packages arrays
Globals:
none
Error:
none
Example:
my ($pre_selected_ref, $pre_removed_ref) = xCAT::CFMUtils->getPreOSpkgsList($ospkglist);
my @pre_selected = @$pre_selected_ref;
my @pre_removed = @$pre_removed_ref;
=cut
#-----------------------------------------------------------------------------
sub getPreOSpkgsList {
my ($class, $pkglist) = @_;
my @selected = ();
my @removed = ();
my @pkglistfiles = ();
# get the #INCLUDE file from cfmpkglist file
my @incfiles = xCAT::CFMUtils->getIncludefiles($pkglist);
foreach my $inc (@incfiles)
{
push @pkglistfiles, $inc;
}
# assume the #INCLUDE file includes the BASE packages
push @pkglistfiles, $pkglist;
foreach my $file (@pkglistfiles)
{
my $pkglistfp;
open($pkglistfp, xCAT::CFMUtils->trim($file));
while (<$pkglistfp>)
{
my $line = xCAT::CFMUtils->trim($_);
if (($line =~ /^#/) || ($line =~ /^\s*$/ ) || ($line =~ /^@/))
{ #comment line or blank line
next;
} else
{
if ($line =~ /^-/)
{ # the package be removed
push @removed, substr($line, 1);
} else
{ # the package be installed
push @selected, $line;
}
}
}
close($pkglistfp);
}
# delete the removed packages from selected list
my @intersection = xCAT::CFMUtils->arrayops("I", \@removed, \@selected);
@selected = xCAT::CFMUtils->arrayops("D", \@selected, \@intersection);
return (\@selected, \@removed);
}
#-----------------------------------------------------------------------------
=head3 getPkgsDiff
Get the differences between previous and current packages list
Arguments:
@pre - previous selected packages list
@cur - current selected packages list
Returns:
@diff - the differencen list
Globals:
none
Error:
none
Example:
my @diff = xCAT::CFMUtils->getPkgsDiff(\@pre_selected, \@cur_selected);
=cut
#-----------------------------------------------------------------------------
sub getPkgsDiff {
my ($class, $pre, $cur) = @_;
# get the intersection firstly
my @tmp = xCAT::CFMUtils->arrayops("I", \@$pre, \@$cur);
# get the difference
my @diff = xCAT::CFMUtils->arrayops("D", \@$pre, \@tmp);
#print Dumper(@diff);
return @diff;
}
#-----------------------------------------------------------------------------
=head3 getIncludefiles
Get the #INCLUDE files from the given file
Arguments:
$file - the given file
Returns:
@files - the #INCLUDE files list
Globals:
none
Error:
none
Example:
my @diff = xCAT::CFMUtils->getIncludefiles($file);
=cut
#-----------------------------------------------------------------------------
sub getIncludefiles {
my ($class, $file) = @_;
my @files = ();
my $fp;
open($fp, $file);
while (<$fp>)
{
my $line = xCAT::CFMUtils->trim($_);
if ($line =~ /^\s*$/)
{ # blank line
next;
}
# find the #INCLUDE line
if ($line =~ /^\s*#INCLUDE:[^#^\n]+#/)
{
#print "The line is: [$line]\n";
my $incfile = substr($line, length("#INCLUDE:"), length($line)-length("#INCLUDE:")-1);
push @files, $incfile;
}
}
close($fp);
return @files;
}
#-----------------------------------------------------------------------------
=head3 trim
Strip left and right whitspaces for a string
Arguments:
$string
Returns:
@string
Globals:
none
Error:
none
Example:
my @new_string = xCAT::CFMUtils->trim($string);
=cut
#-----------------------------------------------------------------------------
sub trim {
my ($class, $string) = @_;
# trim the left whitespaces
$string =~ s/^\s*//;
# trim the right whitespaces
$string =~ s/\s*$//;
return $string;
}
# Function: compute Union, Intersection or Difference of unique lists
# Usage: arrayops ("U"/"I"/"D", @a, @b)
# Return: @union/@intersection/@difference
#-----------------------------------------------------------------------------
=head3 arrayops
Compute Union/Intersection/Difference for 2 unique lists
Arguments:
$flag - "U"/"I"/"D"
\@array1 - reference to an arrary
\@array2 - reference to an arrary
Returns:
@union/@intersection/@difference
Globals:
none
Error:
none
Example:
my @array = xCAT::CFMUtils->arrayops(\@array1, \@array2);
=cut
#-----------------------------------------------------------------------------
sub arrayops {
my ($class, $ops, $array1, $array2) = @_;
my @union = ();
my @intersection = ();
my @difference = ();
my %count = ();
foreach my $element (@$array1, @$array2)
{
$count{$element}++
}
foreach my $element (keys %count) {
push @union, $element;
push @{ $count{$element} > 1 ? \@intersection : \@difference }, $element;
}
if ($ops eq "U") { return @union; }
if ($ops eq "I") { return @intersection; }
if ($ops eq "D") { return @difference; }
#return (\@union, \@intersection, \@difference);
}
+177 -49
View File
@@ -8,12 +8,11 @@ BEGIN
# if AIX - make sure we include perl 5.8.2 in INC path.
# Needed to find perl dependencies shipped in deps tarball.
use Storable qw/nstore_fd fd_retrieve/;
if ($^O =~ /^aix/i) {
use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/5.8.2";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
}
use IO::Handle;
my $inet6support;
if ($^O =~ /^aix/i) { # disable AIX IPV6 TODO fix
@@ -27,6 +26,15 @@ if ($inet6support) {
if ($inet6support) {
$inet6support = eval { require IO::Socket::SSL; IO::Socket::SSL->import('inet6'); 1;};
}
if ($^O =~ /^linux/i) {
# Is IPv6 enabled on the MN or xcat client node at all?
my $ipv6enabled = `ip addr | grep inet6`;
if (!$ipv6enabled) {
$inet6support = 0;
}
}
unless ($inet6support) {
eval { require Socket };
eval { require IO::Socket::INET };
@@ -71,6 +79,23 @@ sub rspclean {
}
return 0;
}
sub send_request {
my $request = shift;
my $sock = shift;
my $encode = shift;
if ($encode eq "xml") {
my $msg=XMLout($request,RootName=>'xcatrequest',NoAttr=>1,KeyAttr=>[]);
if ($ENV{XCATXMLTRACE}) { print $msg; }
if($ENV{XCATXMLWARNING}) {
validateXML($msg);
}
print $sock $msg;
$sock->flush();
} else {
nstore_fd($request,$sock);
$sock->flush();
}
}
#################################
# submit_request will take an xCAT command and pass it to the xCAT
# server for execution.
@@ -119,7 +144,7 @@ sub submit_request {
unless ($cafile) { $cafile = $homedir."/.xcat/ca.pem"; }
$xCAT::Client::EXITCODE = 0; # clear out exit code before invoking the plugin
if (ref($request) eq 'HASH') { # the request is an array, not pure XML
$request->{clienttype}->[0] = "cli"; # setup clienttype for auditlog
$request->{clienttype}->[0] = "cli"; # setup clienttype for auditlog
}
# If XCATBYPASS is set, invoke the plugin process_request method directly
# without going through the socket connection to the xcatd daemon
@@ -129,6 +154,7 @@ if (ref($request) eq 'HASH') { # the request is an array, not pure XML
if (!(defined($request->{username}))) {
$request->{username}->[0] = getpwuid($>);
}
# only allow root to run
unless ($request->{username}->[0] =~ /root/) {
print ("WARNING: Only allow root to run XCATBYPASS mode, your current user ID is $request->{username}->[0].\n");
@@ -146,14 +172,16 @@ if (ref($request) eq 'HASH') { # the request is an array, not pure XML
}
} else {
# figure out default plugins dir
my $sitetab=xCAT::Table->new('site');
unless ($sitetab) {
print ("ERROR: Unable to open basic site table for configuration\n");
}
#my $sitetab=xCAT::Table->new('site');
#unless ($sitetab) {
# print ("ERROR: Unable to open basic site table for configuration\n");
#}
$plugins_dir=$::XCATROOT.'/lib/perl/xCAT_plugin';
scan_plugins();
}
populate_site_hash();
# don't do XML transformation -- assume request is well-formed
# my $xmlreq=XMLout($request,RootName=>xcatrequest,NoAttr=>1,KeyAttr=>[]);
# $request = XMLin($xmlreq,SuppressEmpty=>undef,ForceArray=>1) ;
@@ -170,11 +198,28 @@ if (ref($request) eq 'HASH') { # the request is an array, not pure XML
if ($ENV{XCATHOST}) {
$xcathost=$ENV{XCATHOST};
}
my %connargs=();
if ($xcathost =~ s/%([^\]|:]*)//) {
$connargs{PeerScope} = $1;
}
$connargs{PeerAddr} = $xcathost;
$connargs{Timeout} = 15;
if ($connargs{PeerScope} and $connargs{PeerScope} =~ /[a-zA-Z]/) { #non-numeric, need to translate...
my @ipdata = `ip link`;
@ipdata = grep(/[^@]$connargs{PeerScope}(:|@)/,@ipdata);
if (scalar(@ipdata) != 1) {
print STDERR "Unable to identify scope ".$connargs{PeerScope}."\n";
exit(1);
}
$connargs{PeerScope} = $ipdata[0];
$connargs{PeerScope} =~ s/:.*//;
}
my $pclient;
if ($inet6support) {
$pclient = IO::Socket::INET6->new(
PeerAddr => $xcathost,
Timeout => 15,
$pclient = IO::Socket::INET6->new(
%connargs,
);
} else {
$pclient = IO::Socket::INET->new(
@@ -197,13 +242,14 @@ if (ref($request) eq 'HASH') { # the request is an array, not pure XML
SSL_key_file => $keyfile,
SSL_cert_file => $certfile,
SSL_ca_file => $cafile,
SSL_verify_mode => SSL_VERIFY_PEER,
SSL_use_cert => 1,
Timeout => 0,
);
Timeout => 0,
);
} else {
$client = IO::Socket::SSL->start_SSL($pclient,
Timeout => 0,
);
$client = IO::Socket::SSL->start_SSL($pclient,
Timeout => 0,
);
}
unless ($client) {
print "Unable to open socket connection to xcatd daemon on $xcathost.\n";
@@ -216,20 +262,26 @@ if (ref($request) eq 'HASH') { # the request is an array, not pure XML
}
my $msg;
my $encode = "xml";
#storable encoding is unsafe, carry on with the unsafe xml scheme
#perhaps one day will support faster schemes
#my $encode = "storable";
#my $straightprint=0;
#if ($ENV{XCATXMLTRACE} or $ENV{XCATXMLWARNING}) { $encode="xml"; }
if (ref($request) eq 'HASH') { # the request is an array, not pure XML
$msg=XMLout($request,RootName=>'xcatrequest',NoAttr=>1,KeyAttr=>[]);
#print $client "xcatencoding: $encode\n";
#my $encok=<$client>;
send_request($request,$client,$encode);
} else { #XML
$straightprint=1;
$msg=$request;
print $client $msg;
}
if ($ENV{XCATXMLTRACE}) { print $msg; }
if($ENV{XCATXMLWARNING}) {
validateXML($msg);
}
$SIG{TERM} = $SIG{INT} = sub { print $client XMLout({abortcommand=>1},RootName=>'xcatrequest',NoAttr=>1,KeyAttr=>[]); exit 0; };
print $client $msg;
$SIG{TERM} = $SIG{INT} = sub { send_request({abortcommand=>[1]},$client,$encode); exit 0; };
my $response;
my $rsp;
my $cleanexit=0;
if ($encode eq 'xml') {
my $massresponse="<massresponse>";
my $nextcoalescetime=time()+1;
my $coalescenow=0;
@@ -283,9 +335,31 @@ if (ref($request) eq 'HASH') { # the request is an array, not pure XML
$massresponse .= "</massresponse>";
$cleanexit = rspclean($massresponse,$callback);
}
} else { #storable encode
my $rsp;
eval { $rsp = fd_retrieve($client); };
SERVERINPUT: while ($rsp) {
my @rsps;
if (ref $rsp eq 'ARRAY') {
@rsps = @$rsp;
} else {
@rsps = ($rsp);
}
foreach (@rsps) {
$callback->($_);
if ($_->{serverdone}) {
$cleanexit=1;
last SERVERINPUT;
}
}
$rsp = undef;
eval { $rsp = fd_retrieve($client); };
}
}
$massresponse="";
unless ($cleanexit) {
print STDERR "ERROR/WARNING: communication with the xCAT server seems to have been ended prematurely\n";
$xCAT::Client::EXITCODE = 1;
}
sub validateXML {
@@ -373,7 +447,6 @@ sub plugin_command {
my $callback = shift;
my %handler_hash;
my $usesiteglobal = 0;
# We require these only in bypass mode to reduce start up time for the normal case
#use lib "$::XCATROOT/lib/perl";
#use xCAT::NodeRange;
@@ -407,11 +480,6 @@ sub plugin_command {
unless (@nodes) {
$req->{emptynoderange} = [1];
}
if(@nodes == 0 ) {
print "No nodes or noderanges specified\n";
return 1;
}
}
if (@nodes) { $req->{node} = \@nodes; }
my %unhandled_nodes;
@@ -429,17 +497,18 @@ sub plugin_command {
if ($hdlspec =~ /^site:/) { #A site entry specifies a plugin
my $sitekey = $hdlspec;
$sitekey =~ s/^site://;
$sitetab = xCAT::Table->new('site');
my $sent = $sitetab->getAttribs({key=>$sitekey},['value']);
if ($sent and $sent->{value}) { #A site style plugin specification is just like
#$sitetab = xCAT::Table->new('site');
#my $sent = $sitetab->getAttribs({key=>$sitekey},['value']);
#if ($sent and $sent->{value}) { #A site style plugin specification is just like
if ($::XCATSITEVALS{$sitekey}) { #A site style plugin specification is just like
#a static global, it grabs all nodes rather than some
$useglobals = -1; #If they tried to specify anything, don't use the default global handlers at all
unless (@nodes) {
$handler_hash{$sent->{value}} = 1;
$handler_hash{$::XCATSITEVALS{$sitekey}} = 1;
$usesiteglobal = 1;
}
foreach (@nodes) { #Specified a specific plugin, not a table lookup
$handler_hash{$sent->{value}}->{$_} = 1;
$handler_hash{$::XCATSITEVALS{$sitekey}}->{$_} = 1;
}
}
} elsif ($hdlspec =~ /:/) { #Specificed a table lookup path for plugin name
@@ -538,7 +607,8 @@ sub plugin_command {
}
} #Otherwise, global handler is implicitly disabled
} else {
return 1; #TODO: error back that request has no known plugin for it
print "Error request: $req->{command}->[0] has no known plugin for it.\n";
return 1;
}
if ($useunhandled) {
my $queuelist;
@@ -602,7 +672,10 @@ sub plugin_command {
no strict "refs";
# eval { #REMOVEEVALFORDEBUG
# if ($dispatch_requests) {
dispatch_request($req,$callback,$modname);
# backup the original req and recover it after the a run
my $org_req = {%$req};
dispatch_request($req,$callback,$modname);
$req = {%$org_req};
# } else {
# $SIG{CHLD}='DEFAULT';
# ${"xCAT_plugin::".$modname."::"}{process_request}->($req,$callback,\&do_request);
@@ -723,7 +796,7 @@ sub dispatch_request {
if (ref $_->{'_xcatdest'} and (ref $_->{'_xcatdest'}) eq 'ARRAY') {
_->{'_xcatdest'} = $_->{'_xcatdest'}->[0];
}
if ($onlyone and not ($_->{'_xcatdest'} and xCAT::Utils->thishostisnot($_->{'_xcatdest'}))) {
if ($onlyone and not ($_->{'_xcatdest'} and xCAT::NetworkUtils->thishostisnot($_->{'_xcatdest'}))) {
$SIG{CHLD}='DEFAULT';
${"xCAT_plugin::".$modname."::"}{process_request}->($_,$dispatch_cb,\&do_request);
return;
@@ -764,7 +837,7 @@ sub dispatch_request {
my $request_satisfied=0;
foreach $xcatdest (@xcatdests) {
my $dlock;
if ($xcatdest and xCAT::Utils->thishostisnot($xcatdest)) {
if ($xcatdest and xCAT::NetworkUtils->thishostisnot($xcatdest)) {
#----- added to Client.pm -----#
$dispatch_cb->({warning=>['XCATBYPASS is set, skipping hierarchy call to '.$_->{'_xcatdest'}.'']});
#----- end added to Client.pm -----#
@@ -895,11 +968,28 @@ sub build_response {
} # end of submit_request()
####################################
# populates all the site attributes into %::XCATSITEVALS
# This is used with XCATBYPASS=1
###################################
sub populate_site_hash {
%::XCATSITEVALS=();
my $sitetab = xCAT::Table->new('site',-create=>0);
unless ($sitetab) {
print ("ERROR: Unable to open basic site table for configuration\n");
return;
}
my @records = $sitetab->getAllAttribs(qw/key value/);
foreach (@records) {
$::XCATSITEVALS{$_->{key}}=$_->{value};
}
}
##########################################
# handle_response is a default callback that can be passed into submit_response()
# It is invoked repeatedly by submit_response() to print out the data returned by
# handle_response is a default callback that can be passed into submit_request()
# It is invoked repeatedly by submit_request() to print out the data returned by
# the plugin.
#
# The normal flow is:
@@ -979,14 +1069,14 @@ sub build_response {
##########################################
sub handle_response {
my $rsp = shift;
if ($ENV{'XCATSHOWXML'}) {
if ($ENV{'XCATSHOWXML'}) {
my $xmlrec=XMLout($rsp,RootName=>'xcatresponse',NoAttr=>1,KeyAttr=>[]);
print "$xmlrec\n";
return;
}
#print "in handle_response\n";
# Handle errors
if ($rsp->{errorcode}) {
if (defined($rsp->{errorcode})) {
if (ref($rsp->{errorcode}) eq 'ARRAY') {
foreach my $ecode (@{$rsp->{errorcode}}) {
$xCAT::Client::EXITCODE |= $ecode;
@@ -1000,22 +1090,38 @@ sub handle_response {
#print "printing error\n";
if (ref($rsp->{error}) eq 'ARRAY') {
foreach my $text (@{$rsp->{error}}) {
print STDERR "Error: $text\n";
if ($rsp->{NoErrorPrefix}) {
print STDERR "$text\n";
} else {
print STDERR "Error: $text\n";
}
}
}
else {
print ("Error: ".$rsp->{error}."\n");
if ($rsp->{NoErrorPrefix}) {
print STDERR ($rsp->{error}."\n");
} else {
print STDERR ("Error: ".$rsp->{error}."\n");
}
}
}
if ($rsp->{warning}) {
#print "printing warning\n";
if (ref($rsp->{warning}) eq 'ARRAY') {
foreach my $text (@{$rsp->{warning}}) {
print STDERR "Warning: $text\n";
if ($rsp->{NoWarnPrefix}) {
print STDERR "$text\n";
} else {
print STDERR "Warning: $text\n";
}
}
}
else {
print ("Warning: ".$rsp->{warning}."\n");
if ($rsp->{NoWarnPrefix}) {
print STDERR ($rsp->{warning}."\n");
} else {
print STDERR ("Warning: ".$rsp->{warning}."\n");
}
}
}
if ($rsp->{info}) {
@@ -1053,7 +1159,12 @@ sub handle_response {
#print "printing node\n";
my $node;
foreach $node (@$nodes) {
my $desc=$node->{name}->[0];
my $desc;
if (ref($node->{name}) eq 'ARRAY') {
$desc=$node->{name}->[0];
} else {
$desc=$node->{name};
}
if ($node->{errorcode}) {
if (ref($node->{errorcode}) eq 'ARRAY') {
foreach my $ecode (@{$node->{errorcode}}) {
@@ -1073,7 +1184,24 @@ sub handle_response {
$errflg=1;
}
if ($node->{data}) {
if (ref(\($node->{data}->[0])) eq 'SCALAR') {
if (ref(\($node->{data})) eq 'SCALAR') {
$desc=$desc.": ".$node->{data};
} elsif (ref($node->{data}) eq 'HASH') {
if ($node->{data}->{desc}) {
if (ref($node->{data}->{desc}) eq 'ARRAY') {
$desc=$desc.": ".$node->{data}->{desc}->[0];
} else {
$desc=$desc.": ".$node->{data}->{desc};
}
}
if ($node->{data}->{contents}) {
if (ref($node->{data}->{contents}) eq 'ARRAY') {
$desc="$desc: ".$node->{data}->{contents}->[0];
} else {
$desc="$desc: ".$node->{data}->{contents};
}
}
} elsif (ref(\($node->{data}->[0])) eq 'SCALAR') {
$desc=$desc.": ".$node->{data}->[0];
} else {
if ($node->{data}->[0]->{desc}) {
+11 -13
View File
@@ -8,6 +8,7 @@ use File::stat;
use File::Copy;
use xCAT::Usage;
use Thread qw/yield/;
use Storable qw/store_fd fd_retrieve/;
BEGIN
{
@@ -29,19 +30,18 @@ sub forward_data {
my $rfh;
my $rc = @ready_fds;
foreach $rfh (@ready_fds) {
my $data;
if ($data = <$rfh>) {
while ($data !~ /ENDOFFREEZE6sK4ci/) {
$data .= <$rfh>;
}
my $responses;
eval {
$responses = fd_retrieve($rfh);
};
if ($@ and $@ =~ /^Magic number checking on storable file/) { #this most likely means we ran over the end of available input
$fds->remove($rfh);
close($rfh);
} else {
eval { print $rfh "ACK\n"; }; #Ignore ack loss due to child giving up and exiting, we don't actually explicitly care about the acks
my $responses=thaw($data);
foreach (@$responses) {
$callback->($_);
}
} else {
$fds->remove($rfh);
close($rfh);
}
}
yield(); #Try to avoid useless iterations as much as possible
@@ -62,8 +62,7 @@ sub send_data {
foreach(@_) {
my %output;
if (ref($_) eq HASH) {
print $out freeze([$_]);
print $out "\nENDOFFREEZE6sK4ci\n";
store_fd([$_],$out);
yield();
waitforack($out);
next;
@@ -97,8 +96,7 @@ sub send_data {
} else {
$output{node}->[0]->{data}->[0]->{contents}->[0]=$text;
}
print $out freeze([\%output]);
print $out "\nENDOFFREEZE6sK4ci\n";
store_fd([\%output],$out);
yield();
waitforack($out);
}
Regular → Executable
+239 -17
View File
@@ -16,6 +16,7 @@ require xCAT::Table;
require xCAT::Utils;
require xCAT::MsgUtils;
require xCAT::NetworkUtils;
require xCAT::ServiceNodeUtils;
use strict;
# IPv6 not yet implemented - need Socket6
@@ -56,7 +57,7 @@ sub getObjectsOfType
# The database may be changed between getObjectsOfType calls
# do not use cache %::saveObjList if --nocache is specified
if ($::saveObjList{$type} && !$::opt_c)
if ($::saveObjList{$type} && !$::opt_nc)
{
@objlist = @{$::saveObjList{$type}};
}
@@ -199,7 +200,8 @@ sub getobjattrs
# list of object names
foreach my $table (keys %tableattrs) {
# open the table
my $thistable = xCAT::Table->new($table, -create => 1, -autocommit => 0);
# with autocommit => 0, it does not work on Ubuntu running mysql
my $thistable = xCAT::Table->new($table, -create => 1, -autocommit => 1);
if (!$thistable) {
my $rsp;
$rsp->{data}->[0] = "Could not open the \'$table\' table.";
@@ -395,6 +397,44 @@ sub getobjdefs
xCAT::MsgUtils->message("E", $rsp, $::callback);
}
}
} elsif (($objtype eq 'auditlog') || ($objtype eq 'eventlog')) {
# Special case for auditlog/eventlog
# All the auditlog/eventlog attributes are in auditlog/eventlog table,
# Do not need to read the table multiple times for each attribute.
# The auditlog/eventlog is likely be very big over time,
# performance is a big concern with the general logic
my @TableRowArray = xCAT::DBobjUtils->getDBtable($objtype);
foreach my $objname (sort @{$type_obj{$objtype}}) {
if (@TableRowArray)
{
my $foundinfo = 0;
foreach my $entry (@TableRowArray)
{
if ($entry->{recid} eq $objname)
{
foreach my $k (keys %{$entry})
{
# recid is the object name, do not need to be in the attributes list
if ($k eq 'recid') { next; }
if (defined($entry->{$k}) ) {
$foundinfo++;
if ($verbose == 1) {
$objhash{$objname}{$k} = "$entry->{$k}\t(Table:$objtype - Key:$k)";
} else {
$objhash{$objname}{$k} = $entry->{$k};
}
}
}
if ($foundinfo)
{
$objhash{$objname}{'objtype'} = $objtype;
}
# There should not be multiple entries with the same recid
last;
} # end if($entry->
} # end foreach my $entry
} # end if(@TableTowArray
} # end foreach my $objname
} else {
# get the object type decription from Schema.pm
my $datatype = $xCAT::Schema::defspec{$objtype};
@@ -567,7 +607,7 @@ sub getDBtable
# save this table info - in case this subr gets called multiple times
# --nocache flag specifies not to use cahe
if (grep(/^$table$/, @::foundTableList) && !$::opt_c)
if (grep(/^$table$/, @::foundTableList) && !$::opt_nc)
{
# already have this
@@ -578,7 +618,7 @@ sub getDBtable
{
# need to get info from DB
my $thistable = xCAT::Table->new($table, -create => 1, -autocommit => 0);
my $thistable = xCAT::Table->new($table, -create => 1);
if (!$thistable)
{
return undef;
@@ -1123,7 +1163,7 @@ sub setobjdefs
xCAT::MsgUtils->message("W", $rsp, $::callback);
} else {
my $rsp;
$rsp->{data}->[0] = "$em is not in the atrribute of \'$attr_name\' for the \'$objname\' definition.";
$rsp->{data}->[0] = "$em is not in the attribute of \'$attr_name\' for the \'$objname\' definition.";
xCAT::MsgUtils->message("W", $rsp, $::callback);
}
}
@@ -1640,7 +1680,14 @@ sub readFileInput
$look_for_colon = 0; # ok - we have a colon
($objectname, $junk2) = split(/:/, $l);
# Remove any trailing whitespace
$l =~ s/\s*$//;
# IPv6 network names could be something like fd59::/64
# Use all the characters before the last ":" as the object name
# .* means greedy regular expression
$l =~ /^(.*):(.*?)$/;
($objectname, $junk2) = ($1, $2);
# if $junk2 is defined or there's an =
if ($junk2 || grep(/=/, $objectname))
@@ -1956,15 +2003,18 @@ sub getNetwkInfo
if (xCAT::Utils->isMN() && !$nethash{$node}{'gateway'})
{
# does not have ip address in this subnet,
# use the node attribute 'xcatmaster'
my $noderestab = xCAT::Table->new('noderes');
my $et = $noderestab->getNodeAttribs($node, ['xcatmaster']);
if ($et and defined($et->{'xcatmaster'}))
{
my $value = $et->{'xcatmaster'};
$nethash{$node}{'gateway'} = xCAT::NetworkUtils->getipaddr($value);
}
$noderestab->close();
# use the node attribute 'xcatmaster' or site.master
my @nodes = ("$node");
my $sn = xCAT::ServiceNodeUtils->get_ServiceNode(\@nodes,"xcat","Node");
my $snkey = (keys %{$sn})[0];
my $gw = xCAT::NetworkUtils->getipaddr($snkey);
# two possible cases when this code is run:
# 1. flat cluster: ip forwarding is not enabled on MN
# 2. hw ctrl in hierarchy cluster, in which HCP SN is not set
# in either case, MN itself should not be the gateway
if (xCAT::NetworkUtils->thishostisnot($gw)) {
$nethash{$node}{'gateway'} = $gw;
}
}
}
@@ -2115,7 +2165,7 @@ sub getchildren
$::RUNCMD_RC = 1;
return undef;
}
my @ps = $ppctab->getAllNodeAttribs(['node','parent','nodetype']);
my @ps = $ppctab->getAllNodeAttribs(['node','parent','nodetype','hcp']);
foreach my $entry ( @ps ) {
my $p = $entry->{parent};
my $c = $entry->{node};
@@ -2126,13 +2176,19 @@ sub getchildren
# build hash of ppc.parent -> ppc.node
push @{$PPCHASH{$p}}, $c;
}
elsif ($t eq 'blade') {
push @{$PPCHASH{$c}}, $entry->{hcp};
}
} else { # go look in the nodetype table to find nodetype
my $type = getnodetype($c);
my $type = getnodetype($c, "ppc");
if ( $type eq 'fsp' or $type eq 'bpa')
{
# build hash of ppc.parent -> ppc.node
push @{$PPCHASH{$p}}, $c;
}
elsif ($type eq "blade") {
push @{$PPCHASH{$c}}, $entry->{hcp};
}
}
} # not $p and $c
}
@@ -2557,4 +2613,170 @@ sub judge_node
return $flag;
}
#-------------------------------------------------------------------------------
=head3 expandnicsattr
Expand the nics related attributes into the readable format,
for example, the nicsips=eth0!1.1.1.1|2.1.1.1,eth1!3.1.1.1|4.1.1.1
expanded format:
nicsips.eth0=1.1.1.1|2.1.1.1
nicsips.eth1=3.1.1.1|4.1.1.1
Arguments:
nicsattr value, like niccsips=eth0!1.1.1.1|2.1.1.1,eth1!3.1.1.1|4.1.1.1
nicnames: only return the value for specific nics, like "eth0,eth1"
Returns:
expanded format, like:
nicsips.eth0=1.1.1.1|2.1.1.1
nicsips.eth1=3.1.1.1|4.1.1.1
Error:
none
Example:
my $nicsstr = xCAT::DBobjUtils->expandnicsattr($attrval);
Comments:
none
=cut
#-------------------------------------------------------------------------------
sub expandnicsattr()
{
my $nicstr = shift;
if (($nicstr) && ($nicstr =~ /xCAT::/))
{
$nicstr = shift;
}
my $nicnames = shift;
my $ret;
$nicstr =~ /^(.*?)=(.*?)$/;
#Attribute: nicips, nichostnamesuffix, etc.
my $nicattr = $1;
# Value: eth0!1.1.1.1|2.1.1.1,eth1!3.1.1.1|4.1.1.1
my $nicval=$2;
# $nicarr[0]: eth0!1.1.1.1|2.1.1.1
# $nicarr[1]: eth1!3.1.1.1|4.1.1.1
my @nicarr = split(/,/, $nicval);
foreach my $nicentry (@nicarr)
{
#nicentry: eth0!1.1.1.1|2.1.1.1
# $nicv[0]: eth0
# $nicv[1]: 1.1.1.1|2.1.1.1
my @nicv = split(/!/, $nicentry);
# only return nic* attr for these specific nics
if ($nicnames)
{
my @nics = split(/,/, $nicnames);
if ($nicv[0])
{
# Do not need to return the nic attr for this nic
if (!grep(/^$nicv[0]$/, @nics))
{
next;
}
}
}
# ignore the line that does not have nicname or value
if ($nicv[0] && $nicv[1])
{
$ret .= " $nicattr.$nicv[0]=$nicv[1]\n";
}
}
chomp($ret);
return $ret;
}
#-------------------------------------------------------------------------------
=head3 collapsenicsattr
Collapse the nics related attributes into the database format,
for example,
nicsips.eth0=1.1.1.1|2.1.1.1
nicsips.eth1=3.1.1.1|4.1.1.1
the collapsed format:
nicsips=eth0!1.1.1.1|2.1.1.1,eth1!3.1.1.1|4.1.1.1
The collapse will be done against the hash %::FILEATTRS or %::CLIATTRS,
remove the nicips.thx attributes from %::FILEATTRS or %::CLIATTRS,
add the collapsed info nicips into %::FILEATTRS or %::CLIATTRS.
Arguments:
$::FILEATTRS{$objname} or $::CLIATTRS{$objname}
$objname
Returns:
None, update %::FILEATTRS or %::CLIATTRS directly
Error:
none
Example:
xCAT::DBobjUtils->collapsenicsattr($nodeattrhash);
Comments:
none
=cut
#-------------------------------------------------------------------------------
sub collapsenicsattr()
{
my $nodeattrhash = shift;
if (($nodeattrhash) && ($nodeattrhash =~ /xCAT::/))
{
$nodeattrhash = shift;
}
my $objname = shift;
my %nicattrs = ();
foreach my $nodeattr (keys %{$nodeattrhash})
{
# e.g nicips.eth0
# do not need to handle nic attributes without the postfix .ethx,
# it will be overwritten by the attributes with the postfix .ethx,
if ($nodeattr =~ /^(nic\w+)\.(.*)$/)
{
if ($1 && $2)
{
# chdef <noderange> nicips.eth2= to remove the definition for eth2
# in this case, the $nodeattrhash->{'nicips.eth0'} is blank
if ($nodeattrhash->{$nodeattr})
{
# $nicattrs{nicips}{eth0} = "1.1.1.1|1.2.1.1"
$nicattrs{$1}{$2} = $nodeattrhash->{$nodeattr};
}
# remove nicips.eth0 from the %::FILEATTRS
delete $nodeattrhash->{$nodeattr};
}
}
}
# $nicattrs{'nicips'}{'eth0'} = "1.1.1.1|1.2.1.1"
# $nicattrs{'nicips'}{'eth1'} = "2.1.1.1|2.2.1.1"
foreach my $nicattr (keys %nicattrs)
{
my @tmparray = ();
foreach my $nicname (keys %{$nicattrs{$nicattr}})
{
# eth0!1.1.1.1|1.2.1.1
push @tmparray, "$nicname!$nicattrs{$nicattr}{$nicname}";
}
# eth0!1.1.1.1|1.2.1.1,eth1!2.1.1.1|2.2.1.1
$nodeattrhash->{$nicattr} = join(',', @tmparray);
}
}
1;
+1515 -364
View File
File diff suppressed because it is too large Load Diff
+110 -53
View File
@@ -159,6 +159,100 @@ no strict;
use strict;
}
#---------------------------------------------------------------------------
=head3
fork_output_for_commands
Forks a process for the given command array and returns the process
ID for the forked process and references to all I/O pipes for STDOUT
and STDERR. In the child process, it will invoke the xCAT::DSHCore->fork_no_output()
for the first command which is a no-output command and waitpid(). And then execute
the left commands in the child process.
Arguments:
$fork_id - unique identifer to use for tracking the forked process
@command - command and parameter array to execute in the forkec process
Returns:
$pid - process identifer for the forked process
Globals:
None
Error:
None
Example:
$pid = xCAT::DSHCore->fork_output_for_commands('hostname1PID', @command_array);
Comments:
=cut
#---------------------------------------------------------------------------
sub fork_output_for_commands
{
my ($class, $fork_id, @commands) = @_;
no strict;
my $pid;
my %pipes = ();
my $rout_fh = "rout_$fork_id";
my $rerr_fh = "rerr_$fork_id";
my $wout_fh = "wout_$fork_id";
my $werr_fh = "werr_$fork_id";
(pipe($rout_fh, $wout_fh) == -1) && return (-1, undef);
(pipe($rerr_fh, $werr_fh) == -1) && return (-2, undef);
if ($pid = fork)
{
close($wout_fh);
close($werr_fh);
}
elsif (defined $pid)
{
close($rout_fh);
close($rerr_fh);
!(open(STDOUT, ">&$wout_fh")) && return (-5, undef);
!(open(STDERR, ">&$werr_fh")) && return (-6, undef);
select(STDOUT);
$| = 1;
select(STDERR);
$| = 1;
if ( @commands > 1 ) {
my $command0 = shift(@commands);
my @exe_command0_process = xCAT::DSHCore->fork_no_output($fork_id, @$command0);
waitpid($exe_command0_process[0], undef);
}
my $t_command = shift(@commands);
my @command = @$t_command;
if (!(exec {$command[0]} @command))
{
return (-4, undef);
}
}
else
{
return (-3, undef);
}
return ($pid, *$rout_fh, *$rerr_fh, *$wout_fh, *$werr_fh);
use strict;
}
#---------------------------------------------------------------------------
=head3
@@ -396,7 +490,7 @@ sub pipe_handler
|| print STDOUT
"dsh> Error_file_closed $$target_properties{hostname} $output_file\n";
my $rsp={};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"Error_file_closed $$target_properties{hostname $output_file}.\n";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
($output_file == $$target_properties{'output-fh'})
@@ -575,55 +669,6 @@ sub pipe_handler_buffer
return $eof_reached;
}
#---------------------------------------------------------------------------
=head3
fping_hostnames
Executes fping on a given list of hostnames and returns a list of those
hostnames that did not respond
Arguments:
@hostnames - list of hostnames to execute for fping
Returns:
@no_response - list of hostnames that did not respond
undef if fping is not installed
Globals:
None
Error:
None
Example:
@bad_hosts = xCAT::DSHCore->fping_hostnames(@host_list);
Comments:
=cut
#---------------------------------------------------------------------------
sub fping_hostnames
{
my ($class, @hostnames) = @_;
my $fping = (-x '/usr/sbin/fping') || undef;
!$fping && return undef;
my @output = `/usr/sbin/fping -B 1.0 -r 1 -t 50 -i 10 -p 50 @hostnames`;
my @no_response = ();
foreach my $line (@output)
{
my ($hostname, $token, $status) = split ' ', $line;
!(($token eq 'is') && ($status eq 'alive'))
&& (push @no_response, $hostname);
}
return @no_response;
}
#---------------------------------------------------------------------------
@@ -709,12 +754,24 @@ sub pping_hostnames
my ($class, @hostnames) = @_;
my $hostname_list = join ",", @hostnames;
# read site table, usefping attribute
# if set then run pping -f to use fping
# this fixes a broken nmap in Redhat 6.2 with ip alias (3512)
my $cmd="$::XCATROOT/bin/pping $hostname_list"; # default
my @usefping=xCAT::TableUtils->get_site_attribute("usefping");
if ((defined($usefping[0])) && ($usefping[0] eq "1")) {
$cmd = "$::XCATROOT/bin/pping -f $hostname_list";
}
#my $rsp={};
#$rsp->{data}->[0] = "running command $cmd";
#xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
my @output =
xCAT::Utils->runcmd("$::XCATROOT/bin/pping $hostname_list", -1);
xCAT::Utils->runcmd($cmd, -1);
if ($::RUNCMD_RC !=0) {
my $rsp={};
$rsp->{data}->[0] = "Error from pping";
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
$rsp->{error}->[0] = "Error from pping";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
}
$::RUNCMD_RC =0; # reset
my @no_response = ();
+96
View File
@@ -0,0 +1,96 @@
#!/usr/bin/env perl
# IBM(c) 2013 EPL license http://www.eclipse.org/legal/epl-v10.html
package xCAT::DiscoveryUtils;
use strict;
use XML::Simple;
$XML::Simple::PREFERRED_PARSER='XML::Parser';
use xCAT::MsgUtils;
=head3 update_discovery_data
Update the discovery data from the xcat request to discoverydata table to indicate the discovery events
arg1 - the request
=cut
sub update_discovery_data {
my $class = shift;
my $request = shift;
my %disdata;
my %otherdata;
unless ($request->{'uuid'}->[0]) {
xCAT::MsgUtils->message("S", "Discovery Error: Found a node without uuid");
}
if ($request->{'discoverymethod'}->[0]) {
$disdata{'method'} = $request->{'discoverymethod'}->[0];
} else {
$disdata{'method'} = "undef";
}
#discoverytime
my ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime(time);
my $currtime = sprintf("%02d-%02d-%04d %02d:%02d:%02d",
$mon + 1, $mday, $year + 1900, $hour, $min, $sec);
$disdata{'discoverytime'} = $currtime;
foreach my $attr (keys %$request) {
if ($attr =~ /^(command|discoverymethod|_xcat|cacheonly|noderange|environment|method|discoverytime|updateswitch)/) {
next;
} elsif ($attr =~ /^(node|uuid|arch|cpucount|cputype|memory|mtm|serial)$/) {
$disdata{$attr} = $request->{$attr}->[0];
} elsif ($attr eq 'nic') {
# Set the nics attributes
foreach my $nic (@{$request->{nic}}) {
my $nicname = $nic->{'devname'}->[0];
foreach my $nicattr (keys %$nic) {
my $tbattr;
if ($nicattr eq 'driver') {
$tbattr = "nicdriver";
} elsif ($nicattr eq 'ip4address') {
$tbattr = "nicipv4";
} elsif ($nicattr eq 'hwaddr') {
$tbattr = "nichwaddr";
} elsif ($nicattr eq 'pcidev') {
$tbattr = "nicpci";
} elsif ($nicattr eq 'location') {
$tbattr = "nicloc";
} elsif ($nicattr eq 'onboardeth') {
$tbattr = "niconboard";
} elsif ($nicattr eq 'firmdesc') {
$tbattr = "nicfirm";
} elsif ($nicattr =~ /^(switchname|switchaddr|switchdesc|switchport)$/) {
$tbattr = $nicattr;
}
if ($tbattr) {
if ($disdata{$tbattr}) {
$disdata{$tbattr} .= ','.$nicname.'!'.$nic->{$nicattr}->[0];
} else {
$disdata{$tbattr} = $nicname.'!'.$nic->{$nicattr}->[0];
}
}
}
}
} else {
# store to otherdata for the not parsed attributes
$otherdata{$attr} = $request->{$attr};
}
}
if (keys %otherdata) {
$disdata{'otherdata'} = XMLout(\%otherdata,RootName=>'discoveryotherdata' ,NoAttr=>1);
}
my $distab = xCAT::Table->new('discoverydata');
if ($distab) {
$distab->setAttribs({uuid=>$request->{'uuid'}->[0]},\%disdata);
$distab->close();
}
}
1;
+4 -4
View File
@@ -35,7 +35,7 @@ foreach (@extSchema) {
if ($@) {
$warning ="Warning: The user defined database table schema file $file cannot be located or has compiling errors.\n";
print $warning;
`logger -t xCAT $warning`;
`logger -p local4.warning -t xCAT $warning`;
next;
}
if (${"xCAT_schema::" . "$modname" . "::"}{tabspec}) {
@@ -44,7 +44,7 @@ foreach (@extSchema) {
if (exists($ext_tabspec{$tabname})) {
$warning = "Warning: File $file: the table name $tabname is used by other applications. Please rename the table.\n";
print $warning;
`logger -t xCAT $warning`;
`logger -p local4.warning -t xCAT $warning`;
} else {
$ext_tabspec{$tabname}=$tabspec{$tabname};
}
@@ -52,7 +52,7 @@ foreach (@extSchema) {
} else {
$warning ="\n Warning: Cannot find \%tabspec variable in the user defined database table schema file $file\n";
print $warning;
`logger -t xCAT $warning`;
`logger -p local4.warning -t xCAT $warning`;
}
#get the defspec from each file and merge them into %ext_defspec
@@ -74,7 +74,7 @@ foreach (@extSchema) {
if (exists($tmp_hash{$attrname})) {
$warning= " Warning: Conflict when adding user defined defspec from file $file. Attribute name $attrname is already defined in object $objname. \n";
print $warning;
`logger -t xCAT $warning`;
`logger -p local4.warning -t xCAT $warning`;
} else {
#print "\ngot here objname=$objname, attrname=" . $h->{attr_name} . "\n";
push(@{$ext_defspec{$objname}->{'attrs'}}, $h);
+32 -12
View File
@@ -10,10 +10,7 @@ BEGIN
# if AIX - make sure we include perl 5.8.2 in INC path.
# Needed to find perl dependencies shipped in deps tarball.
if ($^O =~ /^aix/i) {
use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/5.8.2";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
}
use lib "$::XCATROOT/lib/perl";
@@ -26,9 +23,10 @@ require xCAT::InstUtils;
require xCAT::NetworkUtils;
require xCAT::Schema;
require xCAT::Utils;
require xCAT::TableUtils;
#use Data::Dumper;
require xCAT::NodeRange;
use xCAT::MsgUtils qw(verbose_message);
#-------------------------------------------------------------------------------
@@ -69,7 +67,7 @@ sub getHcpAttribs
}
}
my @ps = $tabs->{ppc}->getAllNodeAttribs(['node','parent','nodetype']);
my @ps = $tabs->{ppc}->getAllNodeAttribs(['node','parent','nodetype','hcp','id']);
for my $entry ( @ps ) {
my $tmp_parent = $entry->{parent};
my $tmp_node = $entry->{node};
@@ -78,6 +76,12 @@ sub getHcpAttribs
push @{$ppchash{$tmp_parent}{children}}, $tmp_node;
#push @{$ppchash{$tmp_parent}}, $tmp_node;
}
if (defined($tmp_node) && defined($tmp_type) && ($tmp_type eq "blade") && defined($entry->{hcp})) {
push @{$ppchash{$tmp_node}{children}}, $entry->{hcp};
}
if (defined($tmp_node) && defined($entry->{id}) && defined($tmp_parent) && defined($tmp_type) && ($tmp_type eq "lpar")) {
$ppchash{$tmp_parent}{mapping}{$tmp_node} = $entry->{id};
}
#if(exists($ppchash{$tmp_node})) {
# if( defined($tmp_type) ) {
@@ -133,7 +137,7 @@ sub getIPaddress
my $type = shift;
my $nodetocheck = shift;
my $port = shift;
if (xCAT::Utils::isIpaddr($nodetocheck)) {
if (xCAT::NetworkUtils::isIpaddr($nodetocheck)) {
return $nodetocheck;
}
my $side = "[A|B]";
@@ -175,6 +179,8 @@ sub getIPaddress
#the $nodetocheck is its' hcp. So set $nodetocheck to $parent variable.
#And then get the FSPs IPs for the CEC.
$parent = $nodetocheck;
} elsif ($type eq "blade") {
return $ppc->{$nodetocheck}->{children}->[0];
} else {
return undef;
}
@@ -191,7 +197,7 @@ sub getIPaddress
if ($tmp_s and $tmp_s =~ /^$side-$port$/i) {
$tmp_s =~ s/a/A/;
$tmp_s =~ s/b/B/;
if (xCAT::Utils::isIpaddr($tmp_n)) {
if (xCAT::NetworkUtils::isIpaddr($tmp_n)) {
$node_side_pairs{$tmp_s} = $tmp_n;
$children_num++;
} else {
@@ -285,6 +291,7 @@ sub fsp_api_action {
}
$id = $$attrs[0];
$fsp_name = $$attrs[3];
xCAT::MsgUtils->verbose_message($request, "fsp_api_action START node:$node_name,type:$$attrs[4].");
if($$attrs[4] =~ /^fsp$/ || $$attrs[4] =~ /^lpar$/ || $$attrs[4] =~ /^cec$/) {
$type = 0;
$fsp_bpa_type="fsp";
@@ -307,7 +314,7 @@ sub fsp_api_action {
} else {
$fsp_ip = getIPaddress($request, $$attrs[4], $fsp_name );
}
xCAT::MsgUtils->verbose_message($request, "fsp_api_action getIPaddress:$fsp_ip.");
if(!defined($fsp_ip)) {
$res = "Failed to get IP address for $fsp_name or the related FSPs/BPAs.";
return ([$node_name, $res, -1]);
@@ -348,7 +355,7 @@ sub fsp_api_action {
}
my $cmd;
my $install_dir = xCAT::Utils->getInstallDir();
my $install_dir = xCAT::TableUtils->getInstallDir();
if( $action =~ /^(code_update|get_compatible_version_from_rpm)$/) {
$cmd = "$fsp_api -a $action -T $tooltype -t $type:$fsp_ip:$id:$node_name:$parameter -d $install_dir/packages_fw/";
} elsif($action =~ /^code_updateD$/) {
@@ -364,14 +371,22 @@ sub fsp_api_action {
} elsif( $parameter !=0 && $action =~ /^(on|reset)$/ ) {
#powerinterval for lpars power on
$cmd = "$fsp_api -a $action -i $parameter -T $tooltype -t $type:$fsp_ip:$id:$node_name:";
} elsif ($action =~ /^part_set_lpar_def_state$/) {
$cmd = "$fsp_api -a $action -T $tooltype -s $parameter -t $type:$fsp_ip:$id:$node_name:";
} elsif (exists($request->{opt}->{vios})) {
$cmd = "$fsp_api -a $action -T $tooltype -s 1 -t $type:$fsp_ip:$id:$node_name:$parameter";
} else {
$cmd = "$fsp_api -a $action -T $tooltype -t $type:$fsp_ip:$id:$node_name:$parameter";
}
} else {
$cmd = "$fsp_api -a $action -T $tooltype -t $type:$fsp_ip:$id:$node_name:";
if (exists($request->{opt}->{vios})) {
$cmd = "$fsp_api -a $action -T $tooltype -s 1 -t $type:$fsp_ip:$id:$node_name:";
} else {
$cmd = "$fsp_api -a $action -T $tooltype -t $type:$fsp_ip:$id:$node_name:";
}
}
}
xCAT::MsgUtils->verbose_message($request, "fsp_api_action cmd:$cmd.");
#print "cmd: $cmd\n";
$SIG{CHLD} = 'DEFAULT';
# secure passwords in verbose mode
@@ -393,6 +408,7 @@ sub fsp_api_action {
if(defined($res)) {
$res =~ s/$node_name: //g;
}
xCAT::MsgUtils->verbose_message($request, "fsp_api_action return:$Rc.");
return( [$node_name,$res, $Rc] );
}
@@ -444,6 +460,7 @@ sub fsp_state_action {
$fsp_name = $node_name;
xCAT::MsgUtils->verbose_message($request, "fsp_state_action START node:$node_name,type:$$attrs[4].");
if( $$attrs[4] =~ /^(fsp|lpar|cec|blade)$/) {
$type = 0;
} else {
@@ -459,11 +476,13 @@ sub fsp_state_action {
return ([-1, $res[0]]);
}
xCAT::MsgUtils->verbose_message($request, "fsp_state_action getIPaddress:$fsp_ip.");
#print "fsp name: $fsp_name\n";
#print "fsp ip: $fsp_ip\n";
my $cmd;
#$cmd = "$fsp_api -a $action -u $user -p $password -T $tooltype -t $type:$fsp_ip:$id:$node_name:";
$cmd = "$fsp_api -a $action -T $tooltype -t $type:$fsp_ip:$id:$node_name:";
xCAT::MsgUtils->verbose_message($request, "fsp_state_action cmd:$cmd.");
#print "cmd: $cmd\n";
$SIG{CHLD} = 'DEFAULT';
@res = xCAT::Utils->runcmd($cmd, -1);
@@ -477,6 +496,7 @@ sub fsp_state_action {
if( @res ) {
$res[0] =~ s/$node_name: //g;
}
xCAT::MsgUtils->verbose_message($request, "fsp_state_action return:$Rc.");
return( [$Rc,@res] );
}
+8 -1
View File
@@ -215,7 +215,7 @@ sub rnetboot {
my $options = $request->{opt};
my $hwtype = @$exp[2];
my $result;
my $name;
my $name = $request->{node};
my $callback = $request->{callback};
#####################################
# Get node data
@@ -238,6 +238,13 @@ sub rnetboot {
C => $o->{client},
m => $o->{mac}
);
#####################################
# Parse node range
#####################################
if ($name =~ /ARRAY/) {
$name = join(',', @$name);
}
#####################################
# Strip colons from mac address
#####################################
+8 -2
View File
@@ -7,6 +7,7 @@ use Getopt::Long;
use xCAT::PPCcli qw(SUCCESS EXPECT_ERROR RC_ERROR NR_ERROR);
use xCAT::NetworkUtils;
use xCAT::FSPUtils;
use xCAT::MsgUtils qw(verbose_message);
#use Data::Dumper;
##########################################################################
@@ -46,7 +47,7 @@ sub parse_args {
$Getopt::Long::ignorecase = 0;
Getopt::Long::Configure( "bundling" );
if ( !GetOptions( \%opt,qw(h|help V|Verbose v|version ))) {
if ( !GetOptions( \%opt,qw(h|help V|verbose v|version ))) {
return( usage() );
}
####################################
@@ -135,12 +136,13 @@ sub rbootseq {
#print "d";
#print Dumper($d);
xCAT::MsgUtils->verbose_message($request, "rbootseq START for node:$node_name, type=$$d[4].");
if (!($$d[4] =~ /^(lpar|blade)$/)) {
push @output, [$node_name, "\'boot\' command not supported for CEC or BPA", -1 ];
return (\@output);
}
# add checking the power state of the cec
xCAT::MsgUtils->verbose_message($request, "rbootseq check machine state for node:$node_name.");
my $power_state = xCAT::FSPUtils::fsp_api_action ($request, $node_name, $d, "cec_state", $tooltype);
if ( @$power_state[2] != 0 ) {
push @output, [$node_name, @$power_state[1], -1 ];
@@ -205,14 +207,17 @@ sub rbootseq {
push @output, [$node_name, "The mac address in mac table could NOT be used for rbootseq with -net. HFI mac , or other wrong format?", -1 ];
return( \@output );
}
xCAT::MsgUtils->verbose_message($request, "rbootseq <$node_name> net=$parameter");
}
if( $opt->{hfi}) {
$parameter = "/hfi-iohub/hfi-ethernet:$o->{server},,$o->{client},$o->{gateway},$bootp_retries,$tftp_retries,$o->{netmask},$blksize";
xCAT::MsgUtils->verbose_message($request, "rbootseq <$node_name> hfi=$parameter");
}
xCAT::MsgUtils->verbose_message($request, "rbootseq set_lpar_bootstring for node:$node_name.");
my $res = xCAT::FSPUtils::fsp_api_action ($request, $node_name, $d, "set_lpar_bootstring", $tooltype, $parameter);
#print "In boot, state\n";
#print Dumper($res);
@@ -222,6 +227,7 @@ sub rbootseq {
##################################
# Output error
##################################
xCAT::MsgUtils->verbose_message($request, "rbootseq return:$Rc.");
if ( $Rc != SUCCESS ) {
push @output, [$node_name,$data,$Rc];
} else {
+15 -5
View File
@@ -6,10 +6,11 @@ use Getopt::Long;
use xCAT::Usage;
use xCAT::Utils;
use xCAT::FSPUtils;
use xCAT::TableUtils;
use xCAT::PPCcfg;
#use Data::Dumper;
#use xCAT::PPCcli;
use xCAT::MsgUtils qw(verbose_message);
##########################################
# Globals
@@ -173,7 +174,7 @@ sub parse_args {
Getopt::Long::Configure( "bundling" );
$request->{method} = undef;
if ( !GetOptions( \%opt, qw(V|Verbose resetnet))) {
if ( !GetOptions( \%opt, qw(V|verbose resetnet))) {
return( usage() );
}
####################################
@@ -224,7 +225,7 @@ sub parse_args {
my $ppc_cmds_string = &array_to_string(\@ppc_cmds);
return (usage("Invalid command array: $fsp_cmds_string can not execute with $ppc_cmds_string."));
} elsif(scalar(@ppc_cmds)) {
my @enableASMI = xCAT::Utils->get_site_attribute("enableASMI");
my @enableASMI = xCAT::TableUtils->get_site_attribute("enableASMI");
if (defined($enableASMI[0])) {
$enableASMI[0] =~ tr/a-z/A-Z/; # convert to upper
if (($enableASMI[0] eq "1") || ($enableASMI[0] eq "YES")) {
@@ -466,6 +467,7 @@ sub do_query {
while (my ($mtms, $h) = each(%$hash)) {
while (my($name, $d) = each(%$h)) {
my $action = $fspapi_action{$cmd}{query}{@$d[4]};
xCAT::MsgUtils->verbose_message($request, "rspconfig :$action for node:$name.");
my $values = xCAT::FSPUtils::fsp_api_action($request, $name, $d, $action);
&do_process_query_res($name, $cmd, \@result, $values);
#my $res = &do_process_query_res($name, $cmd, \@result, $values);
@@ -512,6 +514,7 @@ sub do_set {
while (my ($mtms, $h) = each(%$hash)) {
while (my($name, $d) = each(%$h)) {
my $action = $fspapi_action{$cmd}{set}{@$d[4]};
xCAT::MsgUtils->verbose_message($request, "rspconfig :$action for node:$name, param:$value.");
my $para = &do_set_get_para($name, $cmd, $value);
my $values = xCAT::FSPUtils::fsp_api_action($request, $name, $d, $action, 0, $para);
# print Dumper($values);
@@ -595,6 +598,7 @@ sub passwd {
while ( my ($node,$d) = each(%$h) ) {
my $type = @$d[4];
my $fsp_api = ($::XCATROOT) ? "$::XCATROOT/sbin/fsp-api" : "/opt/xcat/sbin/fsp-api";
xCAT::MsgUtils->verbose_message($request, "rspconfig :modify password of $usr for node:$node.");
my $cmd = xCAT::FSPcfg::fsp_api_passwd ($request, $node, $d, $usr, $passwd, $newpasswd);
my $Rc = @$cmd[2];
my $data = @$cmd[1];
@@ -607,6 +611,7 @@ sub passwd {
# Write the new password to table
##################################
if ( $Rc == 0 ) {
xCAT::MsgUtils->verbose_message($request, "rspconfig :update xCATdb for node:$node,ID:$usr.");
xCAT::PPCdb::update_credentials( $node, $type, $usr, $newpasswd );
}
}
@@ -677,6 +682,7 @@ sub frame {
# Get frame number
#################################
#$data = xCAT::PPCcli::lssyscfg( $exp, @$d[4], @$d[2], 'frame_num' );
xCAT::MsgUtils->verbose_message($request, "rspconfig :get_frame_number for node:$node.");
$data = xCAT::FSPUtils::fsp_api_action( $request, $node, $d, "get_frame_number");
$Rc = pop(@$data);
@@ -708,6 +714,7 @@ sub frame {
return( [[$node,"Cannot find frame num in database", -1]] );
}
#$data = xCAT::PPCcli::chsyscfg( $exp, "bpa", $d, "frame_num=".$ent->{id} );
xCAT::MsgUtils->verbose_message($request, "rspconfig :set_frame_number for node:$node,id:$ent->{id}.");
$data = xCAT::FSPUtils::fsp_api_action( $request, $node, $d, "set_frame_number", 0, $ent->{id});
$Rc = pop(@$data);
@@ -727,6 +734,7 @@ sub frame {
# Read the frame number from opt
#################################
#$data = xCAT::PPCcli::chsyscfg( $exp, "bpa", $d, "frame_num=$value" );
xCAT::MsgUtils->verbose_message($request, "rspconfig :set_frame_number for node:$node,id:$value.");
$data = xCAT::FSPUtils::fsp_api_action( $request, $node, $d, "set_frame_number", 0, $value);
$Rc = pop(@$data);
@@ -775,6 +783,7 @@ sub cec_off_policy {
#################################
# Get platform IPL parameters
#################################
xCAT::MsgUtils->verbose_message($request, "rspconfig :get_phyp_cfg_power_off_policy for node:$node.");
$data = xCAT::FSPUtils::fsp_api_action( $request, $node, $d, "get_phyp_cfg_power_off_policy");
$Rc = pop(@$data);
@@ -794,6 +803,7 @@ sub cec_off_policy {
#################################
# Set cec off policy
#################################
xCAT::MsgUtils->verbose_message($request, "rspconfig :set power_off_policy for node:$node,policy:$value.");
if( $value eq "poweroff") {
$value = "cec_off_policy_poweroff";
} else {
@@ -862,8 +872,8 @@ sub fsp_api_passwd {
############################
# Get IP address
############################
#$fsp_ip = xCAT::Utils::get_hdwr_ip($fsp_name);
#$fsp_ip = xCAT::Utils::getNodeIPaddress($fsp_name);
#$fsp_ip = xCAT::NetworkUtils::get_hdwr_ip($fsp_name);
#$fsp_ip = xCAT::NetworkUtils::getNodeIPaddress($fsp_name);
#$fsp_ip = xCAT::Utils::getIPaddress($fsp_name);
$fsp_ip = xCAT::FSPUtils::getIPaddress($request, $$attrs[4], $fsp_name );
if(!defined($fsp_ip) or ($fsp_ip == -3)) {
+4 -1
View File
@@ -8,6 +8,7 @@ use xCAT::Usage;
#use Data::Dumper;
use xCAT::FSPUtils;
use xCAT::PPCconn;
use xCAT::MsgUtils qw(verbose_message);
##############################################
# Globals
@@ -571,7 +572,7 @@ sub mkhwconn
my $Rc = undef;
my $tooltype= $opt->{T};
xCAT::MsgUtils->verbose_message($request, "mkhwconn START.");
for my $cec_bpa ( keys %$hash)
{
my $node_hash = $hash->{$cec_bpa};
@@ -596,6 +597,7 @@ sub mkhwconn
#}
xCAT::MsgUtils->verbose_message($request, "mkhwconn :add_connection for node:$node_name.");
my $res = xCAT::FSPUtils::fsp_api_action($request, $node_name, $d, "add_connection", $tooltype, $opt->{port} );
$Rc = @$res[2];
if( @$res[1] ne "") {
@@ -604,6 +606,7 @@ sub mkhwconn
}
}
xCAT::MsgUtils->verbose_message($request, "mkhwconn END.");
return \@value;
}
##########################################################################
+6 -6
View File
@@ -44,11 +44,11 @@ sub dpush {
# Parse the command line for options and operands
##########################################################################
sub parse_args {
my $req = shift;
$req->{mgt} = __PACKAGE__;
my $req = shift;
$req->{mgt} = __PACKAGE__;
my $opt = xCAT::PPCrflash::parse_args($req);
delete($req->{mgt});
return $opt;
delete($req->{mgt});
return $opt;
}
##########################################################################
@@ -340,8 +340,8 @@ sub rflash {
#if($activate =~ /^concurrent$/) {
my $res = "\'$activate\' option not supported in FSPflash. Please use disruptive or deferred mode";
push @value, [$name, $res, -1];
next;
}
next;
}
my $msg;
if(!defined($housekeeping)) {
+1 -1
View File
@@ -66,7 +66,7 @@ sub parse_args {
$Getopt::Long::ignorecase = 0;
Getopt::Long::Configure( "bundling" );
if ( !GetOptions( \%opt, qw(V|Verbose x) )) {
if ( !GetOptions( \%opt, qw(V|verbose x) )) {
return( usage() );
}
####################################
+5 -1
View File
@@ -6,7 +6,7 @@ use strict;
use Getopt::Long;
use xCAT::PPCmac;
use xCAT::PPCcli qw(SUCCESS EXPECT_ERROR RC_ERROR NR_ERROR);
use xCAT::MsgUtils qw(verbose_message);
use xCAT::LparNetbootExp;
##########################################################################
# Parse the command line for options and operands
@@ -184,6 +184,7 @@ sub do_getmacs {
# last;
# }
#}
xCAT::MsgUtils->verbose_message($request, "getmacs :lparnetbootexp for node:$node.");
my $Rc = xCAT::LparNetbootExp->lparnetbootexp(\%optarg, $request);
######################################
# Split results into array
@@ -442,6 +443,7 @@ sub getmacs {
#########################################
# Connect to fsp to achieve MAC address
#########################################
xCAT::MsgUtils->verbose_message($request, "getmacs START.");
my $d = $par;
#########################################
@@ -501,6 +503,7 @@ sub getmacs {
#########################################
# Manually collect MAC addresses.
#########################################
xCAT::MsgUtils->verbose_message($request, "getmacs :do_getmacs for node:$node.");
$result = do_getmacs( $request, $d, $exp, $name, $node );
#}
#$sitetab->close;
@@ -575,6 +578,7 @@ sub getmacs {
writemac( $node, $value );
}
#return( [[$node,$data,$Rc]] );
xCAT::MsgUtils->verbose_message($request, "getmacs END.");
return $res;
}
}
+1 -1
View File
@@ -236,7 +236,7 @@ sub powercmd {
if($action =~ /^lowpower$/) { $action = "cec_on_low_power"; }
#if($action =~ /^cycle$/) {$action = "cec_reboot";}
if($action =~ /^cycle$/) {$action = "reset";}
if($action !~ /^cec_on_autostart$/ && $action !~ /^cec_off$/ && $action !~ /^cec_on_low_power$/ && $action !~ /^onstandby$/ && $action !~ /^reboot_service_processor$/ && $action !~ /^reset$/) {
if($action !~ /^cec_on_autostart$/ && $action !~ /^cec_off$/ && $action !~ /^cec_on_low_power$/ && $action !~ /^onstandby$/ && $action !~ /^reboot_service_processor$/ && $action !~ /^reset$/ && $action !~ /^sms$/) {
push @output, [$node_name, "\'$action\' command not supported for $$d[4]", -1 ];
return (\@output);
}
+34 -5
View File
@@ -13,6 +13,7 @@ use xCAT::GlobalDef;
use xCAT::Usage;
use xCAT::NetworkUtils;
use xCAT::FSPUtils;
require xCAT::data::ibmhwtypes;
#use Data::Dumper;
##############################################
@@ -259,7 +260,8 @@ sub format_output {
# Strip errors for results
#######################################
my @val = grep( !/^#.*: ERROR /, @$values );
xCAT::PPCdb::add_ppc( $hwtype, \@val );
#xCAT::PPCdb::add_ppc( $hwtype, \@val );
$values = xCAT::PPCdb::update_lpar( $hwtype, \@val, "write");
}
###########################################
@@ -270,7 +272,8 @@ sub format_output {
# Strip errors for results
#######################################
my @val = grep( !/^#.*: ERROR /, @$values );
$values = xCAT::PPCdb::update_ppc( $hwtype, \@val );
#$values = xCAT::PPCdb::update_ppc( $hwtype, \@val );
$values = xCAT::PPCdb::update_lpar( $hwtype, \@val );
if ( exists( $opt->{x} ) or exists( $opt->{z} ))
{
unshift @$values, "hmc";
@@ -391,6 +394,7 @@ sub format_stanza {
#################################
# Add each attribute
#################################
my $mtm = undef;
foreach ( @attribs ) {
my $d = $data[$i++];
@@ -401,7 +405,8 @@ sub format_stanza {
} elsif ( /^hwtype$/ ) {
$d = $globalhwtype{$type};
} elsif ( /^groups$/ ) {
$d = "$type,all";
next;
#$d = "$type,all";
} elsif ( /^mgt$/ ) {
$d = $hwtype;
} elsif ( /^cons$/ ) {
@@ -414,7 +419,9 @@ sub format_stanza {
} elsif ( /^(mtm|serial)$/ ) {
if ( $type eq "lpar" ) {
$d = undef;
}
} elsif (/^mtm$/) {
$mtm = $d;
}
} elsif (/^side$/) {
unless ( $type =~ /^fsp|bpa$/ ) {
next;
@@ -422,6 +429,15 @@ sub format_stanza {
}
$result .= "\t$_=$d\n";
}
my $tmp_groups = "$type,all";
if (defined($mtm)) {
my $tmp_pre = xCAT::data::ibmhwtypes::parse_group($mtm);
if (defined($tmp_pre)) {
$tmp_groups .= ",$tmp_pre";
}
}
$result .= "\tgroups=$tmp_groups\n";
}
return( $result );
}
@@ -464,6 +480,7 @@ sub format_xml {
#################################
# Add each attribute
#################################
my $mtm = undef;
foreach ( @attribs ) {
my $d = $data[$i++];
@@ -472,7 +489,8 @@ sub format_xml {
} elsif ( /^hwtype$/ ) {
$d = $globalhwtype{$type};
} elsif ( /^groups$/ ) {
$d = "$type,all";
next;
#$d = "$type,all";
} elsif ( /^mgt$/ ) {
$d = $hwtype;
} elsif ( /^cons$/ ) {
@@ -484,6 +502,8 @@ sub format_xml {
} elsif ( /^(mtm|serial)$/ ) {
if ( $type eq "lpar" ) {
$d = undef;
} elsif (/^mtm$/) {
$mtm = $d;
}
} elsif (/^side$/) {
unless ( $type =~ /^fsp|bpa$/ ) {
@@ -492,6 +512,15 @@ sub format_xml {
}
$href->{Node}->{$_} = $d;
}
my $tmp_groups = "$type,all";
if (defined($mtm)) {
my $tmp_pre = xCAT::data::ibmhwtypes::parse_group($mtm);
if (defined($tmp_pre)) {
$tmp_groups .= ",$tmp_pre";
}
}
$href->{Node}->{groups}=$tmp_groups;
#print Dumper($href);
#################################
# XML encoding
+6 -1
View File
@@ -116,6 +116,9 @@ sub enumerate_lcds {
} else {
my @array = split(/\n/, $data);
foreach my $a (@array) {
if ($a !~ /:\s?[^\s]*\s?[0|1]/) {
next;
}
my @t = split(/:/, $a);
my $name = $t[0];
$data = $t[1];
@@ -429,8 +432,10 @@ sub lcds {
}
}
if( $type =~ /lpar/ ) {
if( $type eq "lpar" ) {
$action = "query_lcds";
} elsif ($type eq "blade") {
$action = "pblade_query_lcds";
} else {
$action = "cec_query_lcds";
}
+924 -55
View File
File diff suppressed because it is too large Load Diff
+31
View File
@@ -33,6 +33,13 @@ $::NODETYPE_PPC="ppc";
$::NODETYPE_ZVM="zvm";
$::NODETYPE_MP="mp";
#valid values for nodelist.updatestatus
$::STATUS_SYNCING="syncing";
$::STATUS_OUT_OF_SYNC="out-of-sync";
$::STATUS_SYNCED="synced";
$::STATUS_FAILED="failed";
# valid values for nodelist.status columns or other status
$::STATUS_ACTIVE="alive";
$::STATUS_INACTIVE="unreachable";
@@ -48,6 +55,30 @@ $::STATUS_STANDING_BY="standingby";
$::STATUS_SHELL="shell";
$::STATUS_DEFINED="defined";
$::STATUS_UNKNOWN="unknown";
$::STATUS_FAILED="failed";
$::STATUS_BMCREADY="bmcready";
%::VALID_STATUS_VALUES = (
$::STATUS_ACTIVE=>1,
$::STATUS_INACTIVE=>1,
$::STATUS_INSTALLING=>1,
$::STATUS_INSTALLED=>1,
$::STATUS_BOOTING=>1,
$::STATUS_NETBOOTING=>1,
$::STATUS_BOOTED=>1,
$::STATUS_POWERING_OFF=>1,
$::STATUS_DISCOVERING=>1,
$::STATUS_CONFIGURING=>1,
$::STATUS_STANDING_BY=>1,
$::STATUS_SHELL=>1,
$::STATUS_DEFINED=>1,
$::STATUS_UNKNOWN=>1,
$::STATUS_FAILED=>1,
$::STATUS_BMCREADY=>1,
$::STATUS_SYNCING=>1,
$::STATUS_OUT_OF_SYNC=>1,
$::STATUS_SYNCED=>1,
);
#defined->[discovering]->[configuring]->[standingby]->installing->[installed]->booting->alive, defined->[discovering]->[configuring]-[standingby]->netbooting->booted->alive, alive/unreachable->booting->alive, powering-off->unreachable, alive->unreachable
%::NEXT_NODESTAT_VAL=(
+31 -19
View File
@@ -9,12 +9,8 @@ BEGIN
# if AIX - make sure we include perl 5.8.2 in INC path.
# Needed to find perl dependencies shipped in deps tarball.
if ($^O =~ /^aix/i)
{
use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/5.8.2";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
if ($^O =~ /^aix/i) {
unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
}
use lib "$::XCATROOT/lib/perl";
@@ -27,7 +23,7 @@ use File::Path;
use strict;
require xCAT::Schema;
use xCAT::NetworkUtils;
use xCAT::TableUtils;
#require Data::Dumper;
#use Data::Dumper;
require xCAT::NodeRange;
@@ -71,12 +67,14 @@ sub getnimprime
# the primary NIM master is either specified in the site table
# or it is the xCAT management node.
my $nimprime = xCAT::Utils->get_site_Master();
my $sitetab = xCAT::Table->new('site');
(my $et) = $sitetab->getAttribs({key => "nimprime"}, 'value');
if ($et and $et->{value})
my $nimprime = xCAT::TableUtils->get_site_Master();
#my $sitetab = xCAT::Table->new('site');
#(my $et) = $sitetab->getAttribs({key => "nimprime"}, 'value');
my @nimprimes = xCAT::TableUtils->get_site_attribute("nimprime");
my $tmp = $nimprimes[0];
if (defined($tmp))
{
$nimprime = $et->{value};
$nimprime = $tmp;
}
my $hostname;
@@ -128,7 +126,7 @@ sub myxCATname
if (xCAT::Utils->isMN())
{
# read the site table, master attrib
my $hostname = xCAT::Utils->get_site_Master();
my $hostname = xCAT::TableUtils->get_site_Master();
if (($hostname =~ /\d+\.\d+\.\d+\.\d+/) || ($hostname =~ /:/))
{
$name = xCAT::NetworkUtils->gethostname($hostname);
@@ -752,11 +750,11 @@ sub get_server_nodes
else
{
# get ip facing node
$serv = xCAT::Utils->my_ip_facing($node);
$serv = xCAT::NetworkUtils->my_ip_facing($node);
}
chomp $serv;
if (xCAT::Utils->validate_ip($serv)) {
if (xCAT::NetworkUtils->validate_ip($serv)) {
push (@{$servernodes{$serv}}, $node);
}
}
@@ -895,12 +893,12 @@ sub dolitesetup
}
}
if (-e $litetreetab) {
my $rc = xCAT::Utils->runcmd("rm $litetreetab", -1);
if (-e $litetreetable) {
my $rc = xCAT::Utils->runcmd("rm $litetreetable", -1);
if ($::RUNCMD_RC != 0)
{
my $rsp;
push @{$rsp->{data}}, "Could not remove existing $litetreetab file.";
push @{$rsp->{data}}, "Could not remove existing $litetreetable file.";
xCAT::MsgUtils->message("E", $rsp, $callback);
return 1;
}
@@ -1134,6 +1132,10 @@ sub dolitesetup
# $file could be full path file name or dir name
# ex. /foo/bar/ or /etc/lppcfg
my ($node, $option, $file) = split (/\|/, $line);
if (!$file) {
next;
}
# ex. .../inst_root/foo/bar/ or .../inst_root/etc/lppcfg
my $instrootfile = $instrootloc . $file;
@@ -1284,7 +1286,7 @@ sub dolitesetup
# add aixlitesetup to ..inst_root/aixlitesetup
# this will wind up in the root dir on the node ("/")
my $install_dir = xCAT::Utils->getInstallDir();
my $install_dir = xCAT::TableUtils->getInstallDir();
my $cpcmd = "/bin/cp $install_dir/postscripts/aixlitesetup $instrootloc/aixlitesetup; chmod +x $instrootloc/aixlitesetup";
my $out = xCAT::Utils->runcmd("$cpcmd", -1);
@@ -1351,6 +1353,16 @@ sub dolitesetup
return 1;
}
# also copy $instrootloc/.statelite contents
$ccmd = "/usr/bin/cp -p -r $instrootloc/.statelite $SRloc";
$out = xCAT::Utils->runcmd("$ccmd", -1);
if ($::RUNCMD_RC != 0)
{
my $rsp;
push @{$rsp->{data}}, "Could not copy $instrootloc/.statelite to $SRloc.";
xCAT::MsgUtils->message("E", $rsp, $callback);
return 1;
}
}
}
}
+199
View File
@@ -0,0 +1,199 @@
#!/usr/bin/env perl
## IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
package xCAT::KitPluginUtils;
BEGIN
{
$::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
}
use lib "$::XCATROOT/lib/perl";
use strict;
use warnings;
require xCAT::Table;
#-------------------------------------------------------
=head3 get_kits_used_by_nodes
Get the kits used by a list of nodes. A node uses a kit
if one or more of the kit's components are installed
on the node.
Arguments: list of node names (ref)
Returns: Return hash table which indexes the node names
by kitname (ref)
e.g.,
{ "kitname1" => ["node11","node12",...],
"kitname2" => ["node21","node22",...]
...
}
Examples:
my @nodes = ("node11", "node12",...);
my $result = xCAT::KitPluginUtils->get_kits_used_by_nodes(\@nodes);
=cut
#-------------------------------------------------------
sub get_kits_used_by_nodes {
my $class = shift;
my $nodes = shift;
# Group the nodes by what osimage they use
my $tablename = "nodetype";
my $table = xCAT::Table->new($tablename);
my $ent = $table->getNodesAttribs($nodes, ["provmethod"]);
my $osimage_to_nodes = {};
foreach my $node (keys(%$ent)) {
my $provmethod = $ent->{$node}->[0]->{"provmethod"};
if (defined($provmethod)) {
push(@{ $osimage_to_nodes->{$provmethod} }, $node);
}
}
# Group the osimages by what kits they use
my @osimages = keys(%$osimage_to_nodes);
my $kits_to_osimages = xCAT::KitPluginUtils->get_kits_used_by_osimages(\@osimages);
# Group nodes by kit
my $kits_to_nodes = {};
foreach my $kit (keys(%$kits_to_osimages)) {
my $tmphash = {};
my $osimages = $kits_to_osimages->{$kit};
foreach my $osimage (@$osimages) {
# Store nodes as hash keys to eliminate duplicates
my @nodes = @{ $osimage_to_nodes->{$osimage} };
@$tmphash{@nodes} = ();
}
my @nodes = keys(%$tmphash);
$kits_to_nodes->{$kit} = \@nodes;
}
return $kits_to_nodes;
}
#-------------------------------------------------------
=head3 get_kits_used_by_osimages
Get the kits used by a list of osimages. An osimage
uses a kit if one or more of the kit's components
are associated with the osimage.
Arguments: list of osimage names (ref)
Returns: Return hash table which indexes the osimage
names by kitname (ref)
e.g.,
{ "kitname1" => ["osimage11","osimage12",...],
"kitname2" => ["osimage21","osimage22",...]
...
}
Examples:
my @osimages = ("osimage11","osimage12", ...);
my $result = xCAT::KitPluginUtils->get_kits_used_by_osimages(\@osimages);
=cut
#-------------------------------------------------------
sub get_kits_used_by_osimages {
my $class = shift;
my $osimages = shift;
# Get the kit components used by each osimage
my $tablename = "osimage";
my $table = xCAT::Table->new($tablename);
my $osimages_str = join ",", map {'\''.$_.'\''} @$osimages;
my $filter_stmt = sprintf("imagename in (%s)", $osimages_str);
my @table_rows = $table->getAllAttribsWhere($filter_stmt, ("imagename", "kitcomponents"));
my $kitcomps_to_osimages = {};
foreach my $row (@table_rows) {
if (defined($row->{kitcomponents})) {
my @kitcomps = split(/,/, $row->{kitcomponents});
foreach my $kitcomp (@kitcomps) {
push(@{ $kitcomps_to_osimages->{$kitcomp} }, $row->{imagename});
}
}
}
# Get the kit for each kit component
$tablename = "kitcomponent";
$table = xCAT::Table->new($tablename);
my $kitcomps_str = join ",", map {'\''.$_.'\''} keys(%$kitcomps_to_osimages);
$filter_stmt = sprintf("kitcompname in (%s)", $kitcomps_str);
@table_rows = $table->getAllAttribsWhere($filter_stmt, ("kitcompname", "kitname"));
my $kits_to_kitcomps = {};
foreach my $row (@table_rows) {
my $kitname = $row->{kitname};
my $kitcompname = $row->{kitcompname};
push(@{ $kits_to_kitcomps->{$kitname} }, $kitcompname);
}
# Match up kits to osimages
my $kits_to_osimages = {};
foreach my $kit (keys(%$kits_to_kitcomps)) {
my $tmphash = {};
my $kitcomps = $kits_to_kitcomps->{$kit};
foreach my $kitcomp (@$kitcomps) {
# Store osimages as hash keys to eliminate duplicates
my @osimages = @{ $kitcomps_to_osimages->{$kitcomp} };
@$tmphash{@osimages} = ();
}
my @osimages = keys(%$tmphash);
$kits_to_osimages->{$kit} = \@osimages;
}
return $kits_to_osimages;
}
#-------------------------------------------------------
=head3 get_kits_used_by_image_profiles
Get the kits used by a list of image profiles.
Arguments: list of image profile names (ref)
Returns: Return hash table which indexes the image
profile names by kitname (ref)
e.g.,
{ "kitname1" => ["imgprofile11","imgprofile12",...],
"kitname2" => ["imgprofile21","imgprofile22",...]
...
}
Examples:
my @imgprofiles = ("imgprofile11","imgprofile12",...);
my $result = xCAT::KitPluginUtils->get_kits_used_by_image_profiles(\@imgprofiles);
=cut
#-------------------------------------------------------
sub get_kits_used_by_image_profiles {
my $class = shift;
return xCAT::KitPluginUtils->get_kits_used_by_osimages(@_);
}
+89 -18
View File
@@ -827,7 +827,7 @@ sub get_mac_addr {
$done[0] = 0;
$cmd[0] = "\" local-mac-address\" ". $phandle . " get-package-property\r";
$msg[0] = "Status: return code and mac-address now on stack\n";
$pattern[0] = "ok";#"\s*3 >";
$pattern[0] = "local-mac-address.*ok";#"\s*3 >";
$newstate[0] = 1;
# cmd(1) is a dot (.). This is a stack manipulation command that removes one
@@ -1231,8 +1231,8 @@ sub ping_server{
$done[2] = 0;
$cmd[2] = "dev /packages/net\r";
$msg[2] = "Status: selected the /packages/net node as the active package\n";
#$pattern[2] = ".*dev(.*)ok(.*)0 >(.*)";
$pattern[2] = "ok";
$pattern[2] = ".*dev.*packages.*net(.*)ok(.*)0 >(.*)";
#$pattern[2] = "ok";
$newstate[2]= 3;
# state 3, ping the server
@@ -1266,6 +1266,7 @@ sub ping_server{
# state 5, all done
$done[5] = 1;
# for ping, only need to set speed and duplex for ethernet adapters
#
if ( $list_type eq "ent" ) {
@@ -1323,8 +1324,10 @@ sub ping_server{
$timeout = 300;
while ( $done[$state] eq 0 ) {
send_command($verbose, $rconsole, $cmd[$state]);
@result = $rconsole->expect(
$timeout,
[qr/$pattern[$state]/s=>
sub {
@@ -1362,7 +1365,9 @@ sub ping_server{
}
],
);
return 1 if ($rc eq 1);
return 1 if ($rc eq 1);
if ( $state eq 1 ) {
$adap_conn = $adap_conn_list[$j];
$cmd[1] = "\" ethernet,$adap_speed,$adap_conn,$adap_duplex\" encode-string \" chosen-network-type\" property\r";
@@ -1849,6 +1854,14 @@ sub boot_network {
$state = $newstate[$state];
}
],
# For some old firmware, does not output "----"
[qr/BOOTP/=>
sub {
nc_msg ($verbose, $msg[$state]);
$rconsole->clear_accum();
$state = $newstate[$state];
}
],
[qr/]/=>
sub {
nc_msg($verbose, "Unexpected prompt\n");
@@ -1917,7 +1930,28 @@ sub Boot {
#],
[qr/BOOTP/=> #-ex
sub {
nc_msg($verbose, "# Network boot proceeding, exiting.\n");
nc_msg($verbose, "# Network boot proceeding - matched BOOTP, exiting.\n");
$rconsole->clear_accum();
}
],
# Welcome to AIX - some old firmware does not output BOOTP or ----
[qr/Welcome/=> #-ex
sub {
nc_msg($verbose, "# Network boot proceeding - matched Welcome, exiting.\n");
$rconsole->clear_accum();
}
],
# tftp file download - some old firmware does not output BOOTP or ----
[qr/FILE/=> #-ex
sub {
nc_msg($verbose, "# Network boot proceeding - matched FILE.\n");
$rconsole->clear_accum();
}
],
# some old firmware does not output BOOTP or ----
[qr/Elapsed/=> #-ex
sub {
nc_msg($verbose, "# Network boot proceeding - matched Elapsed, exiting.\n");
$rconsole->clear_accum();
}
],
@@ -2021,14 +2055,46 @@ sub multiple_open_dev {
; \r";
send_command($verbose, $rconsole, $command);
$command = "patch new-open-dev open-dev net-ping \r";
send_command($verbose, $rconsole, $command);
$timeout = 30;
$rconsole->expect(
$timeout,
#[qr/patch new-open-dev(.*)>/=>
[qr/>/=>
[qr/new-open-dev(.*)ok/=>
#[qr/>/=>
sub {
nc_msg($verbose, "Status: at End of multiple_open_dev \n");
$rconsole->clear_accum();
}
],
[qr/]/=>
sub {
nc_msg($verbose, "Unexpected prompt\n");
$rconsole->clear_accum();
$rc = 1;
}
],
[timeout =>
sub {
send_user(2, "Timeout\n");
$rconsole->clear_accum();
$rc = 1;
}
],
[eof =>
sub {
send_user(2, "Cannot connect to $node\n");
$rconsole->clear_accum();
$rc = 1;
}
],
);
$command = "patch new-open-dev open-dev net-ping \r";
send_command($verbose, $rconsole, $command);
$rconsole->expect(
$timeout,
[qr/patch new-open-dev(.*)ok/=>
#[qr/>/=>
sub {
nc_msg($verbose, "Status: at End of multiple_open_dev \n");
$rconsole->clear_accum();
@@ -2057,6 +2123,7 @@ sub multiple_open_dev {
}
],
);
return $rc;
}
###################################################################
@@ -2540,7 +2607,7 @@ sub lparnetbootexp
####################################
nc_msg($verbose, "Connecting to the $node.\n");
sleep 3;
$timeout = 2;
$timeout = 10;
$rconsole->expect(
$timeout,
[ qr/Enter.* for help.*/i =>
@@ -2749,6 +2816,8 @@ sub lparnetbootexp
$done = 0;
$retry_count = 0;
$timeout = 10;
while (!$done) {
my @result = $rconsole->expect(
$timeout,
@@ -2856,6 +2925,7 @@ sub lparnetbootexp
}
}
##############################
# Call multiple_open_dev to
# circumvent firmware OPEN-DEV
@@ -2890,6 +2960,7 @@ sub lparnetbootexp
$match_pat = ".*";
}
if($colon) {
nc_msg($verbose, "#Type:Location_Code:MAC_Address:Full_Path_Name:Ping_Result:Device_Type:Size_MB:OS:OS_Version:\n");
$outputarrayindex++; # start from 1, 0 is used to set as 0
@@ -2943,7 +3014,7 @@ sub lparnetbootexp
} else {
for( $i = 0; $i < $adapter_found; $i++) {
if ($adap_type[$i] =~ /$match_pat/) {
if ($adap_type[$i] eq "hfi-ent") {
if (!($adap_type[$i] eq "hfi-ent")) {
$mac_address = get_mac_addr($phandle_array[$i], $rconsole, $node, $verbose);
$loc_code = get_adaptr_loc($phandle_array[$i], $rconsole, $node, $verbose);
}
@@ -3148,12 +3219,12 @@ sub lparnetbootexp
}
],
);
return [1] if ($rc eq 1);
}
nc_msg($verbose, "# bootp sent over network.\n");
$rc = Boot($rconsole, $node, $verbose);#, @expect_out);
unless ($rc eq 0) {
nc_msg($verbose, "Can't boot here. \n");
return [1] if ($rc eq 1);
nc_msg($verbose, "# bootp sent over network.\n");
$rc = Boot($rconsole, $node, $verbose);#, @expect_out);
unless ($rc eq 0) {
nc_msg($verbose, "Can't boot here. \n");
}
}
}
+12 -6
View File
@@ -15,6 +15,7 @@ use strict;
use xCAT::Table;
use xCAT::Utils;
use xCAT::MsgUtils;
use xCAT::TableUtils;
use IO::Select;
use IO::Handle;
use Sys::Syslog;
@@ -172,9 +173,11 @@ sub rvlan {
# operation => "pvid=<vid> or vlan=<vid>" for now, addvlan= and delvlan= for tagged vlans, 'pvid', vlan, or stat without = checks current value
my $self=shift;
my $community = "public";
$self->{sitetab} = xCAT::Table->new('site');
my $tmp = $self->{sitetab}->getAttribs({key=>'snmpc'},'value');
if ($tmp and $tmp->{value}) { $community = $tmp->{value} }
#$self->{sitetab} = xCAT::Table->new('site');
#my $tmp = $self->{sitetab}->getAttribs({key=>'snmpc'},'value');
my @snmpcs = xCAT::TableUtils->get_site_attribute("snmpc");
my $tmp = $snmpcs[0];
if ( defined($tmp) ) { $community = $tmp }
my %args = @_;
my $op=$args{operation};
my $nodes=$args{nodes};
@@ -302,9 +305,12 @@ sub refresh_table {
$self->{switchestab} = xCAT::Table->new('switches', -create => 1);
my @switchentries=$self->{switchestab}->getAllNodeAttribs([qw(switch snmpversion username password privacy auth)]);
my $community = "public";
$self->{sitetab} = xCAT::Table->new('site');
my $tmp = $self->{sitetab}->getAttribs({key=>'snmpc'},'value');
if ($tmp and $tmp->{value}) { $community = $tmp->{value} }
#$self->{sitetab} = xCAT::Table->new('site');
#my $tmp = $self->{sitetab}->getAttribs({key=>'snmpc'},'value');
#if ($tmp and $tmp->{value}) { $community = $tmp->{value} }
my @snmpcs = xCAT::TableUtils->get_site_attribute("snmpc");
my $tmp = $snmpcs[0];
if ( defined($tmp) ) { $community = $tmp }
else { #Would warn here..
}
$self->{switchparmhash}={};
+16 -19
View File
@@ -5,16 +5,12 @@ package xCAT::MsgUtils;
# if AIX - make sure we include perl 5.8.2 in INC path.
# Needed to find perl dependencies shipped in deps tarball.
if ($^O =~ /^aix/i)
{
use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/5.8.2";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
if ($^O =~ /^aix/i) {
unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
}
use strict;
use Sys::Syslog qw (:DEFAULT setlogsock);
use Sys::Syslog;
use xCAT::Utils;
#use locale;
use Socket;
@@ -137,7 +133,8 @@ This program module file, supports the xcat messaging and logging
D - DATA goes to STDOUT
E - error. This type of message will be sent to STDERR.
I - informational goes to STDOUT
si - informational status info (sinfo)
I - informational goes to STDOUT
N - Node informational goes to STDOUT
S - Message will be logged to syslog ( severe error)
Note S can be combined with other flags for example
@@ -213,12 +210,14 @@ This program module file, supports the xcat messaging and logging
$rsp->{node}->[0]->{data}->[0] ="mydata";
xCAT::MsgUtils->message("N", $rsp, $callback);
my $rsp = {};
$rsp->{info}->[0] = "No hosts in node list\n";
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
my $rsp = {};
$rsp->{sinfo}->[0] = "No hosts in node list\n";
xCAT::MsgUtils->message("IS", $rsp, $::CALLBACK);
my $rsp = {};
$rsp->{warning}->[0] = "No hosts in node list\n";
@@ -275,7 +274,7 @@ sub message
my $call_back = shift; # optional
my $exitcode = shift; # optional
# should be I, D, E, S, SA ,LS, W , L,N
# should be I,IS, D, E, S, SA ,LS, W , L,N
# or S(I, D, E, S, W, L,N)
#
# if new SA option need to split syslog messages from auditlog entry
@@ -357,6 +356,7 @@ sub message
my $sevkey;
if ($sev =~ /D/) { $sevkey = 'data'; }
elsif ($sev =~ /N/) { $sevkey = 'node'; }
elsif ($sev =~ /IS/) { $sevkey = 'sinfo'; }
elsif ($sev =~ /I/) { $sevkey = 'info'; }
elsif ($sev =~ /W/) { $sevkey = 'warning'; }
elsif ($sev =~ /E/)
@@ -408,7 +408,7 @@ sub message
return;
}
if ($exitcode)
if (defined($exitcode))
{
push @{$rsp->{errorcode}}, $exitcode;
}
@@ -456,8 +456,7 @@ sub message
# If they want this msg to also go to syslog, do that now
eval {
openlog("xCAT", '', 'local4');
setlogsock(["tcp", "unix", "stream"]);
openlog("xCAT", "nofatal,pid", "local4");
if ($sev eq 'SE') {
syslog("err", $rsp);
} else {
@@ -503,8 +502,7 @@ sub message
{
print $stdouterrf "Unable to open auditlog\n";
eval {
openlog("xCAT", '', 'local4');
setlogsock(["tcp", "unix", "stream"]);
openlog("xCAT", "nofatal,pid", "local4");
syslog("err", "Unable to write to auditlog");
closelog();
};
@@ -521,8 +519,7 @@ sub message
{ # error
print $stdouterrf "Unable to open auditlog\n";
eval {
openlog("xCAT", '', 'local4');
setlogsock(["tcp", "unix", "stream"]);
openlog("xCAT", "nofatal,pid", "local4");
syslog("err", "Unable to open auditlog");
closelog();
};
@@ -720,7 +717,7 @@ sub verbose_message
}
my ($sec,$min,$hour,$mday,$mon,$yr,$wday,$yday,$dst) = localtime(time);
my $time = sprintf "%04d%02d%02d.%02d:%02d:%02d", $yr+1900,$mon+1,$mday,$hour,$min,$sec;
$data = "$time ($$) ".$data;
$data = "$time ($$) ".$data;
if (defined($req->{callback})) {
my %rsp;
$rsp{data} = [$data];
-271
View File
@@ -1,271 +0,0 @@
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
package xCAT::NameRange;
require xCAT::Table;
require Exporter;
use strict;
#Perl implementation of namerange
# NOTE: This is identical to xCAT::NodeRange except that no
# database access occurs, no nodes are verified, and
# no nodegroups are expanded.
# Made a new utility since NodeRange is used EVERYWHERE in
# xCAT code and did not want to risk de-stabilizing existing code.
our @ISA = qw(Exporter);
our @EXPORT = qw(namerange);
my $recurselevel=0;
sub subnodes (\@@) {
#Subtract set of nodes from the first list
my $nodes = shift;
my $node;
foreach $node (@_) {
@$nodes = (grep(!/^$node$/,@$nodes));
}
}
sub expandatom {
my $atom = shift;
my @nodes= ();
if ($atom =~ /^\(.*\)$/) { # handle parentheses by recursively calling namerange()
$atom =~ s/^\((.*)\)$/$1/;
$recurselevel++;
return namerange($atom);
}
if ($atom =~ /@/) {
$recurselevel++;
return namerange($atom);
}
if ($atom =~ m/^\//) { # A regular expression - not supported in namerange
return ($atom);
}
if ($atom =~ m/(.*)\[(.*)\](.*)/) { # square bracket range
#for the time being, we are only going to consider one [] per atom
#xcat 1.2 does no better
my @subelems = split(/([\,\-\:])/,$2);
my $subrange="";
while (my $subelem = shift @subelems) {
my $subop=shift @subelems;
$subrange=$subrange."$1$subelem$3$subop";
}
foreach (split /,/,$subrange) {
my @newnodes=expandatom($_);
@nodes=(@nodes,@newnodes);
}
return @nodes;
}
if ($atom =~ m/\+/) { # process the + operator
$atom =~ m/^([^0-9]*)([0-9]+)([^\+]*)\+([0-9]+)/;
my $pref=$1;
my $startnum=$2;
my $suf=$3;
my $end=$4+$startnum;
my $endnum = sprintf("%d",$end);
if (length ($startnum) > length ($endnum)) {
$endnum = sprintf("%0".length($startnum)."d",$end);
}
foreach ("$startnum".."$endnum") {
my @addnodes=expandatom($pref.$_.$suf);
@nodes=(@nodes,@addnodes);
}
return (@nodes);
}
if ($atom =~ m/[-:]/) { # process the minus range operator
my $left;
my $right;
if ($atom =~ m/:/) {
($left,$right)=split /:/,$atom;
} else {
my $count= ($atom =~ tr/-//);
if (($count % 2)==0) { #can't understand even numbers of - in range context
# we might not really be in range context
return ($atom);
}
my $expr="([^-]+?".("-[^-]*"x($count/2)).")-(.*)";
$atom =~ m/$expr/;
$left=$1;
$right=$2;
}
if ($left eq $right) { #if they said node1-node1 for some strange reason
return expandatom($left);
}
my @leftarr=split(/(\d+)/,$left);
my @rightarr=split(/(\d+)/,$right);
if (scalar(@leftarr) != scalar(@rightarr)) { #Mismatch formatting..
# guess it's meant to be a nodename
return ($atom);
}
my $prefix = "";
my $suffix = "";
foreach (0..$#leftarr) {
my $idx = $_;
if ($leftarr[$idx] =~ /^\d+$/ and $rightarr[$idx] =~ /^\d+$/) { #pure numeric component
if ($leftarr[$idx] ne $rightarr[$idx]) { #We have found the iterator (only supporting one for now)
my $prefix = join('',@leftarr[0..($idx-1)]); #Make a prefix of the pre-validated parts
my $luffix; #However, the remainder must still be validated to be the same
my $ruffix;
if ($idx eq $#leftarr) {
$luffix="";
$ruffix="";
} else {
$ruffix = join('',@rightarr[($idx+1)..$#rightarr]);
$luffix = join('',@leftarr[($idx+1)..$#leftarr]);
}
if ($luffix ne $ruffix) { #the suffixes mismatched..
return ($atom);
}
foreach ($leftarr[$idx]..$rightarr[$idx]) {
my @addnodes=expandatom($prefix.$_.$luffix);
@nodes=(@nodes,@addnodes);
}
return (@nodes); #the return has been built, return, exiting loop and all
}
} elsif ($leftarr[$idx] ne $rightarr[$idx]) {
return ($atom);
}
$prefix .= $leftarr[$idx]; #If here, it means that the pieces were the same, but more to come
}
#I cannot conceive how the code could possibly be here, but whatever it is, it must be questionable
return ($atom);
}
return ($atom);
}
sub namerange {
#We for now just do left to right operations
my $range=shift;
my %nodes = ();
my %delnodes = ();
my $op = ",";
my @elems = split(/(,(?![^[]*?])(?![^\(]*?\)))/,$range); # commas outside of [] or ()
if (scalar(@elems)==1) {
@elems = split(/(@(?![^\(]*?\)))/,$range); # only split on @ when no , are present (inner recursion)
}
while (my $atom = shift @elems) {
if ($atom =~ /^-/) { # if this is an exclusion, strip off the minus, but remember it
$atom = substr($atom,1);
$op = $op."-";
}
if ($atom =~ /^\^(.*)$/) { # get a list of nodes from a file
open(NRF,$1);
while (<NRF>) {
my $line=$_;
unless ($line =~ m/^[\^#]/) {
$line =~ m/^([^: ]*)/;
my $newrange = $1;
chomp($newrange);
$recurselevel++;
my @filenodes = namerange($newrange);
foreach (@filenodes) {
$nodes{$_}=1;
}
}
}
close(NRF);
next;
}
my %newset = map { $_ =>1 } expandatom($atom); # expand the atom and make each entry in the resulting array a key in newset
if ($op =~ /@/) { # compute the intersection of the current atom and the node list we have received before this
foreach (keys %nodes) {
unless ($newset{$_}) {
delete $nodes{$_};
}
}
} elsif ($op =~ /,-/) { # add the nodes from this atom to the exclude list
foreach (keys %newset) {
$delnodes{$_}=1; #delay removal to end
}
} else { # add the nodes from this atom to the total node list
foreach (keys %newset) {
$nodes{$_}=1;
}
}
$op = shift @elems;
} # end of main while loop
# Now remove all the exclusion nodes
foreach (keys %nodes) {
if ($delnodes{$_}) {
delete $nodes{$_};
}
}
if ($recurselevel) {
$recurselevel--;
}
return sort (keys %nodes);
}
1;
=head1 NAME
xCAT::NameRange - Perl module for xCAT namerange expansion
=head1 SYNOPSIS
use xCAT::NameRange;
my @nodes=namerange("storage@rack1,node[1-200],^/tmp/nodelist,node300-node400,node401+10,500-550");
=head1 DESCRIPTION
namerange interprets xCAT noderange formatted strings and returns a list of
names. The following two operations are supported on elements, and interpreted
left to right:
, union next element with everything to the left.
@ take intersection of element to the right with everything on the left
(i.e. mask out anything to the left not belonging to what is described to
the right)
Each element can be a number of things:
A node name, i.e.:
=item * node1
A hyphenated node range (only one group of numbers may differ between the left and right hand side, and those numbers will increment in a base 10 fashion):
node1-node200 node1-compute-node200-compute
node1:node200 node1-compute:node200-compute
A namerange denoted by brackets:
node[1-200] node[001-200]
A regular expression describing the namerange:
/d(1.?.?|200)
A node plus offset (this increments the first number found in nodename):
node1+199
And most of the above substituting groupnames.
3C
3C
NameRange tries to be intelligent about detecting padding, so you can:
node001-node200
And it will increment according to the pattern.
=head1 COPYRIGHT
Copyright 2007 IBM Corp. All rights reserved.
=cut
File diff suppressed because it is too large Load Diff
+99 -33
View File
@@ -1,5 +1,6 @@
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
package xCAT::NodeRange;
use Text::Balanced qw/extract_bracketed/;
require xCAT::Table;
require Exporter;
use strict;
@@ -148,7 +149,7 @@ sub nodesbycriteria {
}
if ($neednewcache) {
if ($nodelist) {
$nodelist->_clear_cache();
#$nodelist->_clear_cache();
$nodelist->_build_cache(\@cachedcolumns);
}
}
@@ -180,7 +181,14 @@ sub nodesbycriteria {
return \%critnodes;
}
sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels5.3)
# Expand one part of the noderange from the noderange() function. Initially, one part means the
# substring between commas in the noderange. But expandatom also calls itself recursively to
# further expand some parts.
# Input args:
# - atom to expand
# - verify: whether or not to require that the resulting nodenames exist in the nodelist table
# - options: genericrange - a purely syntactical expansion of the range, not using the db at all, e.g not expanding group names
sub expandatom {
my $atom = shift;
if ($recurselevel > 4096) { die "NodeRange seems to be hung on evaluating $atom, recursion limit hit"; }
unless (scalar(@allnodeset) and (($allnodesetstamp+5) > time())) { #Build a cache of all nodes, some corner cases will perform worse, but by and large it will do better. We could do tests to see where the breaking points are, and predict how many atoms we have to evaluate to mitigate, for now, implement the strategy that keeps performance from going completely off the rails
@@ -189,25 +197,28 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels
@allnodeset = $nodelist->getAllAttribs('node','groups');
%allnodehash = map { $_->{node} => 1 } @allnodeset;
}
my $verify = (scalar(@_) == 1 ? shift : 1);
my $verify = (scalar(@_) >= 1 ? shift : 1);
my %options = @_; # additional options
my @nodes= ();
#TODO: these env vars need to get passed by the client to xcatd
my $nprefix=(defined ($ENV{'XCAT_NODE_PREFIX'}) ? $ENV{'XCAT_NODE_PREFIX'} : 'node');
my $nsuffix=(defined ($ENV{'XCAT_NODE_SUFFIX'}) ? $ENV{'XCAT_NODE_SUFFIX'} : '');
if ($allnodehash{$atom}) { #The atom is a plain old nodename
if (not $options{genericrange} and $allnodehash{$atom}) { #The atom is a plain old nodename
return ($atom);
}
if ($atom =~ /^\(.*\)$/) { # handle parentheses by recursively calling noderange()
$atom =~ s/^\((.*)\)$/$1/;
$recurselevel++;
return noderange($atom);
return noderange($atom,$verify,1,%options);
}
if ($atom =~ /@/) {
$recurselevel++;
return noderange($atom);
return noderange($atom,$verify,1,%options);
}
# Try to match groups?
unless ($options{genericrange}) {
unless ($grptab) {
$grptab = xCAT::Table->new('nodegroup');
}
@@ -269,7 +280,9 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels
}
}
}
}
# node selection based on db attribute values (nodetype.os==rhels5.3)
if ($atom =~ m/[=~]/) { #TODO: this is the clunky, slow code path to acheive the goal. It also is the easiest to write, strange coincidence. Aggregating multiples would be nice
my @nodes;
foreach (@allnodeset) {
@@ -287,7 +300,7 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels
}
if ($atom =~ m/^[0-9]+\z/) { # if only numbers, then add the prefix
my $nodename=$nprefix.$atom.$nsuffix;
return expandatom($nodename,$verify);
return expandatom($nodename,$verify,%options);
}
my $nodelen=@nodes;
if ($nodelen > 0) {
@@ -295,7 +308,7 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels
}
if ($atom =~ m/^\//) { # A regular expression
unless ($verify) { # If not in verify mode, regex makes zero possible sense
if ($verify==0 or $options{genericrange}) { # If not in verify mode, regex makes zero possible sense
return ($atom);
}
#TODO: check against all groups
@@ -309,25 +322,29 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels
}
if ($atom =~ m/(.+?)\[(.+?)\](.*)/) { # square bracket range
# if there are more than 1 [], we picked off just the 1st. if there is another, we will process it later
my @subelems = split(/([\,\-\:])/,$2);
# if there is more than 1 set of [], we picked off just the 1st. If there more sets of [], we will expand
# the 1st set and create a new set of atom by concatenating each result in the 1st expandsion with the rest
# of the brackets. Then call expandatom() recursively on each new atom.
my @subelems = split(/([\,\-\:])/,$2); # $2 is the range inside the 1st set of brackets
my $subrange="";
my $subelem;
my $start = $1;
my $ending = $3;
my $morebrackets = $ending =~ /\[.+?\]/; # if there are more brackets, we have to expand just the 1st part, then add the 2nd part later
while (scalar @subelems) {
my $subelem = shift @subelems;
my $subelem;
my $start = $1; # the text before the 1st set of brackets
my $ending = $3; # the text after the 1st set of brackets (could contain more brackets)
my $morebrackets = $ending =~ /\[.+?\]/; # if there are more brackets, we have to expand just the 1st part, then add the 2nd part later
while (scalar @subelems) { # this while loop turns something like a[1-3] into a1-a3 because another section of expand atom knows how to expand that
my $subelem = shift @subelems;
my $subop=shift @subelems;
$subrange=$subrange."$start$subelem" . ($morebrackets?'':$ending) . "$subop";
}
foreach (split /,/,$subrange) {
my @newnodes=expandatom($_, ($morebrackets?0:$verify));
foreach (split /,/,$subrange) { # this foreach is in case there were commas inside the brackets originally, e.g.: a[1,3,5]b[1-2]
# this expandatom just expands the part of the noderange that contains the 1st set of brackets
# e.g. if noderange is a[1-2]b[1-2] it will create newnodes of a1 and a2
my @newnodes=expandatom($_, ($morebrackets?0:$verify), genericrange=>($morebrackets||$options{genericrange}));
if (!$morebrackets) { push @nodes,@newnodes; }
else {
# for each of the new nodes, add the 2nd brackets and then expand
# for each of the new nodes (prefixes), add the rest of the brackets and then expand recursively
foreach my $n (@newnodes) {
push @nodes, expandatom("$n$ending", $verify);
push @nodes, expandatom("$n$ending", $verify, %options);
}
}
}
@@ -349,7 +366,7 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels
$suf=$nsuffix;
}
foreach ("$startnum".."$endnum") {
my @addnodes=expandatom($pref.$_.$suf,$verify);
my @addnodes=expandatom($pref.$_.$suf,$verify,%options);
@nodes=(@nodes,@addnodes);
}
return (@nodes);
@@ -376,7 +393,7 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels
$right=$2;
}
if ($left eq $right) { #if they said node1-node1 for some strange reason
return expandatom($left,$verify);
return expandatom($left,$verify,%options);
}
my @leftarr=split(/(\d+)/,$left);
my @rightarr=split(/(\d+)/,$right);
@@ -413,7 +430,7 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels
}
}
foreach ($leftarr[$idx]..$rightarr[$idx]) {
my @addnodes=expandatom($prefix.$_.$luffix,$verify);
my @addnodes=expandatom($prefix.$_.$luffix,$verify,%options);
push @nodes,@addnodes;
}
return (@nodes); #the return has been built, return, exiting loop and all
@@ -461,7 +478,7 @@ sub retain_cache { #A semi private operation to be used *ONLY* in the interestin
%allgrphash=();
}
}
sub extnoderange { #An extended noderange function. Needed as the more straightforward function return format too simple for this.
sub extnoderange { #An extended noderange function. Needed by the GUI as the more straightforward function return format too simple for this.
my $range = shift;
my $namedopts = shift;
my $verify=1;
@@ -487,7 +504,7 @@ sub extnoderange { #An extended noderange function. Needed as the more straight
return $return;
}
sub abbreviate_noderange {
#takes a list of nodes or a string and abbreviates
#takes a list of nodes or a string and reduces it by replacing a list of nodes that make up a group with the group name itself
my $nodes=shift;
my %grouphash;
my %sizedgroups;
@@ -533,16 +550,40 @@ sub abbreviate_noderange {
return (join ',',keys %targetelems,keys %nodesleft);
}
sub set_arith {
my $operand = shift;
my $op = shift;
my $newset = shift;
if ($op =~ /@/) { # compute the intersection of the current atom and the node list we have received before this
foreach (keys %$operand) {
unless ($newset->{$_}) {
delete $operand->{$_};
}
}
} elsif ($op =~ /,-/) { # add the nodes from this atom to the exclude list
foreach (keys %$newset) {
delete $operand->{$_}
}
} else { # add the nodes from this atom to the total node list
foreach (keys %$newset) {
$operand->{$_}=1;
}
}
}
# Expand the given noderange
# Input args:
# - noderange to expand
# - verify: whether or not to require that the resulting nodenames exist in the nodelist table
# - exsitenode: whether or not to honor site.excludenodes to automatically exclude those nodes from all noderanges
# - options: genericrange - a purely syntactical expansion of the range, not using the db at all, e.g not expanding group names
sub noderange {
$missingnodes=[];
#We for now just do left to right operations
my $range=shift;
$range =~ s/['"]//g;
my $verify = (scalar(@_) >= 1 ? shift : 1);
#excludenodes attribute in site table,
#these nodes should be excluded for any xCAT commands
my $exsitenode = (scalar(@_) >= 1 ? shift : 1);
my $exsitenode = (scalar(@_) >= 1 ? shift : 1); # if 1, honor site.excludenodes
my %options = @_; # additional options
unless ($nodelist) {
$nodelist =xCAT::Table->new('nodelist',-create =>1);
@@ -553,20 +594,45 @@ sub noderange {
}
my %nodes = ();
my %delnodes = ();
if ($range =~ /\(/) {
my ($middle, $end, $start) =
extract_bracketed($range, '()', qr/[^()]*/);
unless ($middle) { die "Unbalanced parentheses in noderange" }
$middle = substr($middle,1,-1);
my $op = ",";
if ($start =~ m/-$/) { #subtract the parenthetical
$op .= "-"
} elsif ($start =~ m/\@$/) {
$op = "@"
}
$start =~ s/,-$//;
$start =~ s/,$//;
$start =~ s/\@$//;
%nodes = map { $_ => 1 } noderange($start,$verify,$exsitenode,%options);
my %innernodes = map { $_ => 1 } noderange($middle,$verify,$exsitenode,%options);
set_arith(\%nodes,$op,\%innernodes);
$range = $end;
}
my $op = ",";
my @elems = split(/(,(?![^[]*?])(?![^\(]*?\)))/,$range); # commas outside of [] or ()
if (scalar(@elems)==1) {
@elems = split(/(@(?![^\(]*?\)))/,$range); # only split on @ when no , are present (inner recursion)
}
while (my $atom = shift @elems) {
while (defined(my $atom = shift @elems)) {
if ($atom eq '') { next; }
if ($atom eq ',') {
next;
}
if ($atom =~ /^-/) { # if this is an exclusion, strip off the minus, but remember it
$atom = substr($atom,1);
$op = $op."-";
} elsif ($atom =~ /^\@/) { # if this is an exclusion, strip off the minus, but remember it
$atom = substr($atom,1);
$op = "@";
}
if ($atom eq '') { next; }
if ($atom =~ /^\^(.*)$/) { # get a list of nodes from a file
open(NRF,$1);
@@ -577,7 +643,7 @@ sub noderange {
my $newrange = $1;
chomp($newrange);
$recurselevel++;
my @filenodes = noderange($newrange);
my @filenodes = noderange($newrange,$verify,$exsitenode,%options);
foreach (@filenodes) {
$nodes{$_}=1;
}
@@ -587,7 +653,7 @@ sub noderange {
next;
}
my %newset = map { $_ =>1 } expandatom($atom,$verify); # expand the atom and make each entry in the resulting array a key in newset
my %newset = map { $_ =>1 } expandatom($atom,$verify,%options); # expand the atom and make each entry in the resulting array a key in newset
if ($op =~ /@/) { # compute the intersection of the current atom and the node list we have received before this
foreach (keys %nodes) {
@@ -614,7 +680,7 @@ sub noderange {
my $badnoderange = 0;
my @badnodes = ();
if ($::XCATSITEVALS{excludenodes}) {
@badnodes = noderange($::XCATSITEVALS{excludenodes}, 1, 0);
@badnodes = noderange($::XCATSITEVALS{excludenodes}, 1, 0, %options);
foreach my $bnode (@badnodes) {
if (!$delnodes{$bnode}) {
$delnodes{$bnode} = 1;
+8 -4
View File
@@ -8,6 +8,7 @@ use Getopt::Long;
use xCAT::PPCcli qw(SUCCESS EXPECT_ERROR RC_ERROR NR_ERROR);
use xCAT::Usage;
use xCAT::Utils;
use xCAT::TableUtils;
use xCAT::MsgUtils;
use xCAT::LparNetbootExp;
@@ -467,9 +468,12 @@ sub rnetboot {
}
}
my $sitetab = xCAT::Table->new('site');
my $vcon = $sitetab->getAttribs({key => "conserverondemand"}, 'value');
if ($vcon and $vcon->{"value"} and $vcon->{"value"} eq "yes" ) {
#my $sitetab = xCAT::Table->new('site');
#my $vcon = $sitetab->getAttribs({key => "conserverondemand"}, 'value');
my @vcons = xCAT::TableUtils->get_site_attribute("conserverondemand");
my $vcon = $vcons[0];
#if ($vcon and $vcon->{"value"} and $vcon->{"value"} eq "yes" ) {
if ( defined($vcon) and $vcon eq "yes" ) {
$result = xCAT::PPCcli::lpar_netboot(
$exp,
$request->{verbose},
@@ -482,7 +486,7 @@ sub rnetboot {
#########################################
$result = do_rnetboot( $request, $d, $exp, $name, $node, \%opt );
}
$sitetab->close;
#$sitetab->close;
if (defined($request->{opt}->{m})) {
+4 -3
View File
@@ -8,6 +8,7 @@ use xCAT::PPCfsp;
use xCAT::Usage;
use Storable qw(freeze thaw);
use POSIX "WNOHANG";
use xCAT::NetworkUtils;
use xCAT::MsgUtils qw(verbose_message);
use LWP;
@@ -737,7 +738,7 @@ sub doresetnet {
$nodetype = ( $nodetype =~ /^frame$/i ) ? "bpa" : "fsp";
if ($cnodep) {
foreach my $cnode (@$cnodep) {
my $ip = xCAT::Utils::getNodeIPaddress( $cnode );
my $ip = xCAT::NetworkUtils::getNodeIPaddress( $cnode );
my $oi = $oihash{$cnode};
if(!defined $ip) {
send_msg($req, "doresetnet: can't get $cnode ip");
@@ -786,7 +787,7 @@ sub doresetnet {
# this brunch is just for the xcat 2.5(or 2.5-) databse
} elsif ( $nodetype =~ /^(fsp|bpa)$/ ) {
foreach my $nn ( @{ $req->{node}} ) {
my $ip = xCAT::Utils::getNodeIPaddress( $nn );
my $ip = xCAT::NetworkUtils::getNodeIPaddress( $nn );
if(!defined $ip) {
send_msg($req, "doresetnet: can't get $nn ip");
next;
@@ -1047,6 +1048,7 @@ sub child_process {
}
my $msg = "login result is :".join(',', @exp);
xCAT::MsgUtils->verbose_message( $req, $msg);
####################################
# do resetnet
####################################
@@ -1430,4 +1432,3 @@ sub connect {
1;
+5 -5
View File
@@ -6,7 +6,7 @@ require Exporter;
our @ISA = qw(Exporter);
our @EXPORT_OK = qw(SUCCESS RC_ERROR EXPECT_ERROR NR_ERROR);
use Expect;
use xCAT::NetworkUtils;
#############################################
# Removes Ctrl characters from term output
@@ -139,7 +139,7 @@ sub connect {
my $timeout = $req->{ppctimeout};
my $verbose = $req->{verbose};
my $ssh;
my $expect_log;
my $expect_log = "/dev/null";
my $errmsg;
if ($req->{command} eq 'rflash') {
@@ -170,7 +170,7 @@ sub connect {
##################################################
if ( $verbose ) {
close STDERR;
if ( !open( STDERR, '>', \$expect_log )) {
if ( !open( STDERR, '>', $expect_log )) {
return( "Unable to redirect STDERR: $!" );
}
}
@@ -179,7 +179,7 @@ sub connect {
##################################################
if ( $verbose ) {
close STDOUT;
if ( !open( STDOUT, '>', \$expect_log )) {
if ( !open( STDOUT, '>', $expect_log )) {
return( "Unable to redirect STDOUT: $!" );
}
}
@@ -1335,7 +1335,7 @@ sub getHMCcontrolIP
#my @newnodes = split(/,/, $nodes_found->[0]);
#$Rc = shift(@newnodes);
#for my $entry (@newnodes) {
# if(xCAT::Utils->isIpaddr($entry)) {
# if(xCAT::NetworkUtils->isIpaddr($entry)) {
# push @ips,$entry;
# }
# $ip_result = join( ",", @ips );
+35 -13
View File
@@ -5,9 +5,10 @@ use strict;
use Getopt::Long;
use xCAT::PPCcli qw(SUCCESS EXPECT_ERROR RC_ERROR NR_ERROR);
use xCAT::Usage;
use xCAT::NetworkUtils;
use xCAT::DBobjUtils;
use xCAT::FSPUtils;
use xCAT::MsgUtils qw(verbose_message);
##############################################
# Globals
##############################################
@@ -98,7 +99,7 @@ sub mkhwconn_parse_args
#my $nodetype_hash = $nodetypetab->getNodeAttribs( $node,[qw(nodetype)]);
my $node_parent_hash = $ppctab->getNodeAttribs( $node,[qw(parent)]);
#$nodetype = $nodetype_hash->{nodetype};
$nodetype = xCAT::DBobjUtils->getnodetype($node);
$nodetype = xCAT::DBobjUtils->getnodetype($node,"ppc");
$node_parent = $node_parent_hash->{parent};
if ( !$nodetype )
{
@@ -106,7 +107,7 @@ sub mkhwconn_parse_args
next;
} else
{
unless ( $nodetype =~ /^(fsp|bpa|frame|cec|hmc)$/)
unless ( $nodetype =~ /^(blade|fsp|bpa|frame|cec|hmc)$/)
{
return ( usage("Node type is incorrect. \n"));
}
@@ -473,6 +474,7 @@ sub mkhwconn
my @value = ();
my $Rc = undef;
xCAT::MsgUtils->verbose_message($request, "mkhwconn START.");
for my $cec_bpa ( keys %$hash)
{
my $node_hash = $hash->{$cec_bpa};
@@ -484,9 +486,13 @@ sub mkhwconn
# Get IP address
############################
my $cnode;
my $ntype = xCAT::DBobjUtils::getnodetype($node_name);
if ($ntype =~ /^(cec|frame)$/)
#my $ntype = xCAT::DBobjUtils::getnodetype($node_name);
my $ntype = $$d[4];
if ($ntype =~ /^(cec|frame|blade)$/)
{
if ($ntype eq "blade") {
delete $opt->{port};
}
$cnode = xCAT::DBobjUtils::getchildren($node_name, $opt->{port});
} else {
$cnode = $node_name;
@@ -501,11 +507,12 @@ sub mkhwconn
} else {
push @newnodes,$cnode;
}
xCAT::MsgUtils->verbose_message($request, "mkhwconn :mksysconn for node:$node_name.");
for my $nn ( @newnodes )
{
my $node_ip;
unless ( xCAT::Utils->isIpaddr($nn) ) {
$node_ip = xCAT::Utils::getNodeIPaddress( $nn );
unless ( xCAT::NetworkUtils->isIpaddr($nn) ) {
$node_ip = xCAT::NetworkUtils::getNodeIPaddress( $nn );
} else {
$node_ip = $nn;
}
@@ -515,12 +522,17 @@ sub mkhwconn
next;
}
my ( undef,undef,$mtms,undef,$type) = @$d;
my ( undef,undef,$mtms,undef,$type,$bpa) = @$d;
my ($user, $passwd);
if ( exists $opt->{P})
{
($user, $passwd) = ('HMC', $opt->{P});
}
elsif ($type eq "blade") {
$user = "USERID";
($user, $passwd) = xCAT::PPCdb::credentials( $bpa, $type, $user);
$type = "cec";
}
else
{
($user, $passwd) = xCAT::PPCdb::credentials( $node_name, $type,'HMC');
@@ -549,6 +561,7 @@ sub mkhwconn
# }
}
}
xCAT::MsgUtils->verbose_message($request, "mkhwconn END.");
return \@value;
}
##########################################################################
@@ -639,7 +652,7 @@ sub lshwconn
{
#my $node_ip_hash = $hosttab->getNodeAttribs( $node_name,[qw(ip)]);
#$node_ip = $node_ip_hash->{ip};
#$node_ip = xCAT::Utils::getNodeIPaddress( $node_name );
#$node_ip = xCAT::NetworkUtils::getNodeIPaddress( $node_name );
my $d = $node_hash->{$node_name};
$node_ip = xCAT::FSPUtils::getIPaddress($request, $$d[4], $node_name );
}
@@ -703,7 +716,7 @@ sub rmhwconn
my $d = $node_hash->{$node_name};
my ( undef,undef,undef,undef,$type) = @$d;
if ($type eq "blade") {$type = "cec";}
############################
# Get IP address
############################
@@ -720,10 +733,19 @@ sub rmhwconn
my @ips;
foreach my $entry ( @$nodes_found ) {
if ( $entry =~ /$mtm\*$serial/) {
$entry =~ /ipaddr=(\d+\.\d+\.\d+\.\d+),/;
push @ips, $1;
if ($entry =~ /type_model_serial_num=([^,]*),/) {
my $match_mtm1 = $1;
my $match_mtm2 = $match_mtm1;
$match_mtm2 =~ s/\-//;
if ($match_mtm1 =~ /$mtm\*$serial/ || $match_mtm2 =~ /$mtm\*$serial/) {
$entry =~ /ipaddr=(\d+\.\d+\.\d+\.\d+),/;
push @ips, $1;
}
}
#if ( $entry =~ /$mtm\*$serial/) {
# $entry =~ /ipaddr=(\d+\.\d+\.\d+\.\d+),/;
# push @ips, $1;
#}
}
if (!@ips)
{
+122 -13
View File
@@ -4,7 +4,10 @@ package xCAT::PPCdb;
use strict;
use xCAT::Table;
use xCAT::GlobalDef;
use xCAT::Utils;
use xCAT::TableUtils;
use xCAT::NetworkUtils;
require xCAT::data::ibmhwtypes;
###########################################
# Factory defaults
@@ -98,7 +101,6 @@ sub add_ppc {
$parent,
$ips,
$mac ) = split /,/;
###############################
# Update nodetype table
###############################
@@ -166,6 +168,10 @@ sub add_ppc {
# Update nodelist table
###########################
updategroups( $name, $db{nodelist}, $type );
my $tmp_group = xCAT::data::ibmhwtypes::parse_group($model);
if (defined($tmp_group)) {
updategroups($name, $db{nodelist}, $tmp_group);
}
if ( $type =~ /^(fsp|bpa)$/ ) {
$db{nodelist}->setNodeAttribs( $name, {hidden => '1'});
} else {
@@ -234,6 +240,97 @@ sub add_ppc {
}
return undef;
}
##########################################################################
# Update lpar information in the xCAT databases
##########################################################################
sub update_lpar {
my $hwtype = shift;
my $values = shift;
my $write = shift;
my @tabs = qw(ppc vpd nodehm nodelist nodetype ppcdirect hosts mac);
my %db = ();
my @update_list = ();
my @write_list = ();
###################################
# Open database needed
###################################
foreach ( @tabs ) {
$db{$_} = xCAT::Table->new( $_, -create=>1, -autocommit=>0 );
if ( !$db{$_} ) {
return( "Error opening '$_'" );
}
}
my @vpdlist = $db{vpd}->getAllNodeAttribs(['node','serial','mtm','side']);
my @ppclist = $db{ppc}->getAllNodeAttribs(['node','hcp','id',
'pprofile','parent','nodetype',
'comments', 'disable']);
# 'cec,cec1,,8246-L1D,100A9DA,,cec1,,cec1',
# 'lpar,10-0A9DA,1,8246-L1D,100A9DA,,cec1,,cec1'
my %ppchash = ();
my %vpdhash = ();
foreach my $ppcent (@ppclist) {
if ($ppcent->{id} and $ppcent->{nodetype} and $ppcent->{nodetype} eq "lpar") {
my $key = $ppcent->{node};
$ppchash{$key}{id} = $ppcent->{id};
$ppchash{$key}{parent} = $ppcent->{parent};
}
}
foreach my $vpdent (@vpdlist)
{
my $key = $vpdent->{node};
$vpdhash{$key}{mtm} = $vpdent->{mtm};
$vpdhash{$key}{serial} = $vpdent->{serial};
}
my @ppc_lpars = keys %ppchash;
foreach my $value ( @$values ) {
my ($ttype,
$tname,
$tid,
$tmtm,
$tsn,
$tside,
$server,
$pprofile,
$parent) = split /,/, $value;
if ($ttype ne "lpar") {
push @update_list, $value;
next;
}
my $find_node = undef;
foreach my $tmp_node (@ppc_lpars) {
if ($ppchash{$tmp_node}{id} eq $tid) {
if (exists($ppchash{$tmp_node}{parent}) and $ppchash{$tmp_node}{parent} eq $parent) {
$find_node = $tmp_node;
last;
} elsif ($vpdhash{$tmp_node}{mtm} eq $tmtm and $vpdhash{$tmp_node}{serial} eq $tsn) {
$find_node = $tmp_node;
last;
}
}
}
if (defined($find_node)) {
if ( update_node_attribs($hwtype, $ttype, $find_node, $tid, $tmtm, $tsn, $tside,
$server, $pprofile, $parent, "", \%db, $tname, \@ppclist))
{
$value =~ s/^$ttype,$tname,/$ttype,$find_node,/;
push @update_list, $value;
}
} elsif (defined($write)) {
push @write_list, $value;
}
}
if (defined($write)) {
&add_ppc($hwtype, \@write_list);
return ([@update_list,@write_list]);
} else {
foreach ( @tabs ) {
if ( exists( $db{$_}{commit} )) {
$db{$_}->commit;
}
}
return \@update_list;
}
}
##########################################################################
# Update nodes in the xCAT databases
@@ -276,7 +373,6 @@ sub update_ppc {
$pprofile,
$parent,
$ips ) = split /,/, $value;
if ( $ttype eq 'cec' )
{
my $hostname = get_host($tname, "FSP", $tmtm, $tsn, "", "", $tid, "","");
@@ -327,9 +423,7 @@ sub update_ppc {
$pprofile,
$parent,
$ips ) = split /,/, $value;
next if ( $type ne 'cec' );
my $predefined_node = undef;
foreach my $vpdent (@vpdlist)
{
@@ -523,6 +617,10 @@ sub update_node_attribs
if ( $namediff)
{
updategroups( $name, $db->{nodelist}, $type );
my $tmp_group = xCAT::data::ibmhwtypes::parse_group($model);
if (defined($tmp_group)) {
updategroups($name, $db->{nodelist}, $tmp_group);
}
$db->{nodelist}->setNodeAttribs( $name, {status=>$nodelisthash->{status},
appstatus=>$nodelisthash->{appstatus},
primarysn=>$nodelisthash->{primarysn},
@@ -886,6 +984,18 @@ sub get_usr_passwd {
} else {
($ent) = $passwdtab->getNodeAttribs($key, qw(username password));
}
if (!$ent) {
if ($key eq "cec") {
$key = "fsp";
} elsif ($key eq "frame") {
$key = "bpa";
}
if ($user) {
($ent) = $passwdtab->getAttribs({key => $key, username => $user}, qw(password cryptmethod));
} else {
($ent) = $passwdtab->getNodeAttribs($key, qw(username password));
}
}
if (!$ent or !$ent->{password}) {
my $hash = $default_passwd_accounts{$key};
if (!$hash or ($user and !defined($hash->{$user}))) {
@@ -947,7 +1057,7 @@ sub get_host {
#######################################
if ($ip)
{
my $nets = xCAT::Utils::my_nets();
my $nets = xCAT::NetworkUtils::my_nets();
my $avip = getip_from_iplist( $ip, $nets);
#if ( !defined( $ip )) {
# return undef;
@@ -956,7 +1066,6 @@ sub get_host {
# get the information of existed nodes to do the migration
read_from_table() unless (%::OLD_DATA_CACHE);
foreach my $oldnode ( keys %::OLD_DATA_CACHE )
{
my $tmpmtm = @{$::OLD_DATA_CACHE{$oldnode}}[0];
@@ -984,7 +1093,7 @@ sub get_host {
}
if ( $tmpmtm eq $mtm and $tmpsn eq $sn) {
my $ifip = xCAT::Utils->isIpaddr($oldnode);
my $ifip = xCAT::NetworkUtils->isIpaddr($oldnode);
if ( $ifip ) {# which means that the node is defined by the new lsslp
if ( $tmpside eq $side ) {# match! which means that node is the same as the new one
if ( $ip eq $tmpip ) { #which means that the ip is not changed
@@ -1104,7 +1213,7 @@ sub get_host {
}
# not matched, use the new name
my $ifip = xCAT::Utils->isIpaddr($nodename);
my $ifip = xCAT::NetworkUtils->isIpaddr($nodename);
unless ($ifip) {
return $nodename;
}else {
@@ -1150,8 +1259,8 @@ sub getip_from_iplist
for my $net ( keys %$nets)
{
my ($n,$m) = split /\//,$net;
if ( xCAT::Utils::isInSameSubnet( $n, $ip, $m, 1) and
xCAT::Utils::isPingable( $ip))
if ( xCAT::NetworkUtils::isInSameSubnet( $n, $ip, $m, 1) and
xCAT::NetworkUtils::isPingable( $ip))
{
return $ip;
}
@@ -1165,7 +1274,7 @@ sub read_from_table {
my %typehash;
my %iphash;
my %vpdhash;
if ( !defined(%::OLD_DATA_CACHE))
if ( !(%::OLD_DATA_CACHE))
{
# find out all the existed nodes' ipaddresses
my $hoststab = xCAT::Table->new('hosts');
@@ -1211,7 +1320,7 @@ sub read_from_table {
@{$::OLD_DATA_CACHE{$entry->{node}}}[1] = @{$vpdhash{$entry->{node}}}[1];#sn
@{$::OLD_DATA_CACHE{$entry->{node}}}[2] = @{$vpdhash{$entry->{node}}}[2];#side
# find node ip address, check node name first, then check hosts table
my $ifip = xCAT::Utils->isIpaddr($entry->{node});
my $ifip = xCAT::NetworkUtils->isIpaddr($entry->{node});
if ( $ifip )
{
@{$::OLD_DATA_CACHE{$entry->{node}}}[3] = $entry->{node};#ip
+89 -25
View File
@@ -2,13 +2,19 @@
package xCAT::PPCenergy;
BEGIN
{
$::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
}
use lib "$::XCATROOT/lib/perl";
use strict;
use Getopt::Long;
use xCAT::Usage;
use xCAT::NodeRange;
use xCAT::DBobjUtils;
use xCAT::FSPUtils;
use xCAT::TableUtils qw(get_site_Master);
%::QUERY_ATTRS = (
'savingstatus' => 1,
'dsavingstatus' => 1,
@@ -251,7 +257,7 @@ sub renergy {
if( !defined($fsps) ) {
return ([[$node, "Failed to get the FSPs for the cec $hcphost.", -1]]);
}
#my $hcp_ip = xCAT::Utils::getNodeIPaddress($hcphost);
#my $hcp_ip = xCAT::NetworkUtils::getNodeIPaddress($hcphost);
my $hcp_ip = xCAT::FSPUtils::getIPaddress($request, $hw_type, $hcphost);
if (!defined($hcp_ip) or ($hcp_ip == -3)) {
return ([[$node, "Failed to get IP address for $hcphost.", -1]]);
@@ -264,7 +270,7 @@ sub renergy {
}
} else {
# for the case that hcp is hmc or fsp
push @hcps_ip, xCAT::Utils::getNodeIPaddress($hcphost);
push @hcps_ip, xCAT::NetworkUtils::getNodeIPaddress($hcphost);
}
if (!$user || !$password) {
@@ -279,28 +285,80 @@ sub renergy {
}
$verbose = $tmpv;
my $master = xCAT::Utils->get_site_Master();
my $masterip = xCAT::NetworkUtils->getipaddr($master);
if ($masterip =~ /:/) { #IPv6, needs fping6 support
if (!-x '/usr/bin/fping6')
{
push @return_msg, [$node, "fping6 is not availabe for IPv6 ping.", -1];
return \@return_msg;
}
open (FPING, "fping6 ".join(' ',@hcps_ip). " 2>&1 |") or die("Cannot open fping pipe: $!");
} else {
open (FPING, "fping ".join(' ',@hcps_ip). " 2>&1 |") or die("Cannot open fping pipe: $!");
}
my @pingable_hcp;
while (<FPING>) {
if ($verbose) {
push @return_msg, [$node, $_, 0];
}
if ($_ =~ /is alive/) {
s/ is alive//;
push @pingable_hcp, $_;
}
if (-x '/usr/bin/nmap' or -x '/usr/local/bin/nmap') { #use nmap
#print "use nmap\n";
if ($verbose) {
push @return_msg, [$node, "Checking ping status using nmap for @hcps_ip", 0];
}
my %deadnodes;
foreach (@hcps_ip) {
$deadnodes{$_}=1;
}
open (NMAP, "nmap -PE --system-dns --send-ip -sP ". join(' ',@hcps_ip) . " 2> /dev/null|") or die("Cannot open nmap pipe: $!");
my $node1;
my $msg1;
while (<NMAP>) {
#print "$_\n";
if (/Host (.*) \((.*)\) appears to be up/) {
$node1=$2;
unless ($deadnodes{$node1}) {
foreach (keys %deadnodes) {
if ($node1 =~ /^$_\./) {
$node1 = $_;
last;
}
}
}
delete $deadnodes{$node1};
if ($verbose) {
push @return_msg, [$node, $_, 0];
}
push(@pingable_hcp, $node1);
} elsif (/Nmap scan report for ([^ ]*) \((.*)\)/) {
$node1=$2;
$msg1=$_;
} elsif (/Host is up./) {
unless ($deadnodes{$node1}) {
foreach (keys %deadnodes) {
if ($node1 =~ /^$_\./) {
$node1 = $_;
last;
}
}
}
delete $deadnodes{$node1};
if ($verbose) {
push @return_msg, [$node, "$msg1$_", 0];
}
push(@pingable_hcp, $node1);
}
}
} else {
#use fping
#print "use fping\n";
my $master = xCAT::TableUtils->get_site_Master();
my $masterip = xCAT::NetworkUtils->getipaddr($master);
if ($masterip =~ /:/) { #IPv6, needs fping6 support
if (!-x '/usr/bin/fping6')
{
push @return_msg, [$node, "fping6 is not availabe for IPv6 ping.", -1];
return \@return_msg;
}
open (FPING, "fping6 ".join(' ',@hcps_ip). " 2>&1 |") or die("Cannot open fping pipe: $!");
} else {
open (FPING, "fping ".join(' ',@hcps_ip). " 2>&1 |") or die("Cannot open fping pipe: $!");
}
while (<FPING>) {
if ($verbose) {
push @return_msg, [$node, $_, 0];
}
if ($_ =~ /is alive/) {
s/ is alive//;
push @pingable_hcp, $_;
}
}
}
if (!@pingable_hcp) {
@@ -319,17 +377,23 @@ sub renergy {
# Generate the url path for CIM communication
chomp($hcp);
my $url_path = "https://"."$user".":"."$password"."\@"."$hcp".":5989";
# Not display password in command outupt.
my $display_url_path = "https://"."$user".":"."xxxxxx"."\@"."$hcp".":5989";
# Execute the request
my $cmd = "";
my $display_cmd = "";
if ($opt->{'set'}) {
$cmd = "$::CIM_CLIENT_PATH $verb_arg -u $url_path -n $cec_name -o $opt->{'set'}";
$display_cmd = "$::CIM_CLIENT_PATH $verb_arg -u $display_url_path -n $cec_name -o $opt->{'set'}";
} elsif ($opt->{'query'}) {
$cmd = "$::CIM_CLIENT_PATH $verb_arg -u $url_path -n $cec_name -o $opt->{'query'}";
$display_cmd = "$::CIM_CLIENT_PATH $verb_arg -u $display_url_path -n $cec_name -o $opt->{'query'}";
}
if ($verbose) {
push @noerr_msg, [$node, "Run following command: $cmd", 0];
push @noerr_msg, [$node, "Run following command: $display_cmd", 0];
}
# Disable the CHID signal before run the command. Otherwise the
+3 -2
View File
@@ -12,6 +12,7 @@ use Socket;
use xCAT::PPCdb;
use xCAT::MsgUtils qw(verbose_message);
use xCAT::Utils;
use xCAT::TableUtils;
use xCAT::NetworkUtils;
##########################################
# Globals
@@ -77,7 +78,7 @@ sub handler {
# Disconnect from FSP
#####################################
unless ($flag) {
xCAT::PPCfsp::disconnect( $exp );
xCAT::PPCfsp::disconnect( $exp );
}
return( \@outhash );
@@ -1913,7 +1914,7 @@ sub set_netcfg
elsif ( $inc_ip eq '*')
{
$inc_type = 'Static';
($inc_ip, $inc_host, $inc_gateway, $inc_netmask) = xCAT::Utils::getNodeNetworkCfg(@$exp[1]);
($inc_ip, $inc_host, $inc_gateway, $inc_netmask) = xCAT::NetworkUtils::getNodeNetworkCfg(@$exp[1]);
}
else
{
+12 -1
View File
@@ -5,6 +5,8 @@ use strict;
use Getopt::Long;
use xCAT::PPCcli qw(SUCCESS EXPECT_ERROR RC_ERROR NR_ERROR);
use xCAT::Usage;
use xCAT::TableUtils;
require xCAT::data::ibmhwtypes;
##########################################
@@ -59,7 +61,7 @@ sub parse_args {
$Getopt::Long::ignorecase = 0;
Getopt::Long::Configure( "bundling" );
if ( !GetOptions( \%opt, qw(V|Verbose) )) {
if ( !GetOptions( \%opt, qw(V|verbose t) )) {
return( usage() );
}
####################################
@@ -75,6 +77,9 @@ sub parse_args {
if ( !defined( $cmd )) {
return(usage( "Invalid command: $ARGV[0]" ));
}
if (exists($opt{t}) and $cmd ne "model") {
return(["Option 't' can only work with 'model'."]);
}
####################################
# Check for an extra argument
####################################
@@ -411,6 +416,12 @@ sub vpd {
#############################
# Output value
#############################
if ($_ eq 'model' and exists($request->{opt}->{t})) {
my $tmp_pre = xCAT::data::ibmhwtypes::parse_args($data->{$_});
if (defined($tmp_pre)) {
xCAT::TableUtils->updatenodegroups($name, $tmp_pre);
}
}
my $value = "@{$prefix{$_}}[0]: $data->{$_}";
push @result, [$name,$value,$Rc];
}
+31 -9
View File
@@ -6,8 +6,11 @@ use strict;
use Getopt::Long;
use Data::Dumper;
use xCAT::PPCcli qw(SUCCESS EXPECT_ERROR RC_ERROR NR_ERROR);
use xCAT::Utils;
use xCAT::TableUtils;
use xCAT::ServiceNodeUtils;
use xCAT::NetworkUtils;
use xCAT::MsgUtils qw(verbose_message);
use xCAT::LparNetbootExp;
##########################################################################
@@ -46,7 +49,7 @@ sub parse_args {
$Getopt::Long::ignorecase = 0;
Getopt::Long::Configure( "bundling" );
if ( !GetOptions( \%opt,qw(h|help V|Verbose v|version C=s G=s S=s D d f M o F=s arp))) {
if ( !GetOptions( \%opt,qw(h|help V|verbose v|version C=s G=s S=s D d f M o F=s arp))) {
return( usage() );
}
####################################
@@ -74,6 +77,15 @@ sub parse_args {
return(usage( "Invalid Argument: $ARGV[0]" ));
}
####################################
# Check -o argument
####################################
if ( exists($opt{o}) ) {
unless (exists($opt{D})){
return(usage( "The -o flag must be used with -D flag" ));
}
}
####################################
# Check argument for ping test
####################################
if ( exists($opt{D}) ) {
@@ -90,9 +102,9 @@ sub parse_args {
if ( exists($opt{S}) ) {
push @network, $_;
} else {
$server = xCAT::Utils->getSNformattedhash( $node, "xcat", "node", "primary" );
$server = xCAT::ServiceNodeUtils->getSNformattedhash( $node, "xcat", "node", "primary" );
foreach my $key ( keys %$server ) {
my $valid_ip = xCAT::Utils->validate_ip( $key );
my $valid_ip = xCAT::NetworkUtils->validate_ip( $key );
if ( $valid_ip ) {
###################################################
# Service node is returned as hostname, Convert
@@ -197,7 +209,7 @@ sub parse_args {
if ( scalar(@network) != 3 ) {
return( usage() );
}
my $result = xCAT::Utils->validate_ip( $opt{C}, $opt{G}, $opt{S} );
my $result = xCAT::NetworkUtils->validate_ip( $opt{C}, $opt{G}, $opt{S} );
if ( @$result[0] ) {
return(usage( @$result[1] ));
}
@@ -394,6 +406,7 @@ sub do_getmacs {
# last;
# }
#}
xCAT::MsgUtils->verbose_message($request, "getmacs :lparnetbootexp for node:$node.");
my $Rc = xCAT::LparNetbootExp->lparnetbootexp(\%optarg, $request);
######################################
# Split results into array
@@ -631,6 +644,7 @@ sub getmacs {
#########################################
# Connect to fsp to achieve MAC address
#########################################
xCAT::MsgUtils->verbose_message($request, "getmacs START.");
my $d = $par;
#########################################
@@ -651,6 +665,7 @@ sub getmacs {
# Get name known by HCP
#########################################
my $filter = "name,lpar_id";
xCAT::MsgUtils->verbose_message($request, "getmacs :lssyscfg filter '$filter'.");
my $values = xCAT::PPCcli::lssyscfg( $exp, $type, $mtms, $filter );
my $Rc = shift(@$values);
@@ -676,9 +691,14 @@ sub getmacs {
return( [[$node,"Node not found, lparid=$lparid",RC_ERROR]] );
}
my $sitetab = xCAT::Table->new('site');
my $vcon = $sitetab->getAttribs({key => "conserverondemand"}, 'value');
if ($vcon and $vcon->{"value"} and $vcon->{"value"} eq "yes" ) {
#my $sitetab = xCAT::Table->new('site');
#my $vcon = $sitetab->getAttribs({key => "conserverondemand"}, 'value');
#there may be something wrong with the conserverondemand attribute.
# Currently, the code is not used. So not fix this time. Just keep it here.
my @vcons = xCAT::TableUtils->get_site_attribute("conserverondemand");
my $vcon = $vcons[0];
#if ($vcon and $vcon->{"value"} and $vcon->{"value"} eq "yes" ) {
if ( defined($vcon) and $vcon eq "yes" ) {
$result = xCAT::PPCcli::lpar_netboot(
$exp,
$request->{verbose},
@@ -689,10 +709,11 @@ sub getmacs {
#########################################
# Manually collect MAC addresses.
#########################################
xCAT::MsgUtils->verbose_message($request, "getmacs :do_getmacs for node:$node.");
$result = do_getmacs( $request, $d, $exp, $name, $node );
$Rc = shift(@$result);
}
$sitetab->close;
#$sitetab->close;
##################################
@@ -744,6 +765,7 @@ sub getmacs {
if ( !exists( $opt->{d} )) {
writemac( $node, $result );
}
xCAT::MsgUtils->verbose_message($request, "getmacs END.");
return( [[$node,$data,$Rc]] );
}
}
+1 -1
View File
@@ -40,7 +40,7 @@ sub parse_args {
$Getopt::Long::ignorecase = 0;
Getopt::Long::Configure( "bundling" );
if ( !GetOptions( \%opt, qw(V|Verbose m:s@ t=s T=s r=s nodeps) )) {
if ( !GetOptions( \%opt, qw(V|verbose m:s@ t=s T=s r=s nodeps) )) {
return( usage() );
}
####################################
+22 -17
View File
@@ -8,6 +8,8 @@ use xCAT::Usage;
use xCAT::PPCinv;
use xCAT::DSHCLI;
use xCAT::Table;
use xCAT::Utils;
use xCAT::TableUtils;
use Getopt::Long;
use File::Spec;
use POSIX qw(tmpnam);
@@ -49,7 +51,6 @@ sub parse_args {
my %opt = ();
my $cmd = $request->{command};
my $args = $request->{arg};
#############################################
# Change CEC/Frame node into FSPs/BPAs
#############################################
@@ -157,15 +158,15 @@ sub parse_args {
#--activate's value only can be concurrent and disruptive
################################
if(exists($opt{activate})) {
if (defined($request->{mgt}) && ($request->{mgt} =~ /xCAT::FSP/i)) {
if (($opt{activate} ne "deferred") && ($opt{activate} ne "disruptive")) {
return (usage("--activate's value can only be deferred or disruptive"));
if (defined($request->{mgt}) && $request->{mgt} =~ /xCAT::FSP/i) {
if ($opt{activate} !~ /deferred|disruptive/) {
return (usage("--activate's value can only be deferred or disruptive."));
}
} else {
if( ($opt{activate} ne "concurrent") && ($opt{activate} ne "disruptive")) {
return (usage("--activate's value can only be disruptive or concurrent"));
if(($opt{activate} ne "disruptive") && ($opt{activate} ne "concurrent")) {
return (usage("--activate's value can only be disruptive or concurrent."));
}
}
}
if(!exists( $opt{d} )) {
$opt{d} = "/tmp";
}
@@ -325,7 +326,7 @@ sub preprocess_for_rflash {
my $request = shift;
my $opt = shift;
my $callback = $request->{callback};
my $install_dir = xCAT::Utils->getInstallDir();
my $install_dir = xCAT::TableUtils->getInstallDir();
my $packages_fw = "$install_dir/packages_fw";
my $c = 0;
my $packages_d;
@@ -533,18 +534,22 @@ sub get_lic_filenames {
#############
if($fff ne $2) {
$upgrade_required = 1;
if($activate ne "disruptive") {
$msg = "Option --activate's value should be disruptive";
return ("", "","", $msg, -1);
}
} else {
if(($pns eq $1) && ($4 <= $active_level)) {
$msg = $msg. "Upgrade $mtms $activate!";
# if($activate ne "concurrent") {
# $msg = "Option --actviate's value should be disruptive";
# return ("", "","", $msg, -1);
# }
if(($pns eq $1) && ($3 > $active_level) &&($4 <= $active_level)) {
$msg = $msg. "Upgrade $mtms $activate!";
if($activate ne "concurrent") {
$msg = "Option --actviate's value should be concurrent";
return ("", "","", $msg, -1);
}
} else {
$msg = $msg . "Upgrade $mtms!";
if($activate !~ /^(disruptive|concurrent)$/) {
$msg = "Option --activate's value shouldn't be $activate, and it must be disruptive or concurrent";
$msg = $msg . "Upgrade $mtms!";
if($activate ne "disruptive") {
$msg = "Option --activate's value should be disruptive";
return ("", "","", $msg, -1);
}
}
+29 -5
View File
@@ -11,7 +11,7 @@ use xCAT::PPCdb;
use xCAT::GlobalDef;
use xCAT::Usage;
use xCAT::NetworkUtils;
require xCAT::data::ibmhwtypes;
##############################################
# Globals
@@ -74,7 +74,7 @@ sub parse_args {
$Getopt::Long::ignorecase = 0;
Getopt::Long::Configure( "bundling" );
if ( !GetOptions( \%opt, qw(V|Verbose u w x z) )){
if ( !GetOptions( \%opt, qw(V|verbose u w x z) )){
return( usage() );
}
####################################
@@ -545,6 +545,7 @@ sub format_stanza {
#################################
# Add each attribute
#################################
my $mtm = undef;
foreach ( @attribs ) {
my $d = $data[$i++];
@@ -555,7 +556,8 @@ sub format_stanza {
} elsif ( /^hwtype$/ ) {
$d = $globalhwtype{$type};
} elsif ( /^groups$/ ) {
$d = "$type,all";
next;
#$d = "$type,all";
} elsif ( /^mgt$/ ) {
$d = $hwtype;
} elsif ( /^cons$/ ) {
@@ -568,7 +570,9 @@ sub format_stanza {
} elsif ( /^(mtm|serial)$/ ) {
if ( $type eq "lpar" ) {
$d = undef;
}
} elsif (/^mtm$/) {
$mtm = $d;
}
} elsif (/^side$/) {
unless ( $type =~ /^fsp|bpa$/ ) {
next;
@@ -576,6 +580,14 @@ sub format_stanza {
}
$result .= "\t$_=$d\n";
}
my $tmp_groups = "$type,all";
if (defined($mtm)) {
my $tmp_pre = xCAT::data::ibmhwtypes::parse_group($mtm);
if (defined($tmp_pre)) {
$tmp_groups .= ",$tmp_pre";
}
}
$result .= "\tgroups=$tmp_groups\n";
}
return( $result );
}
@@ -623,6 +635,7 @@ sub format_xml {
#################################
# Add each attribute
#################################
my $mtm = undef;
foreach ( @attribs ) {
my $d = $data[$i++];
@@ -631,7 +644,8 @@ sub format_xml {
} elsif ( /^hwtype$/ ) {
$d = $globalhwtype{$type};
} elsif ( /^groups$/ ) {
$d = "$type,all";
next;
#$d = "$type,all";
} elsif ( /^mgt$/ ) {
$d = $hwtype;
} elsif ( /^cons$/ ) {
@@ -643,6 +657,8 @@ sub format_xml {
} elsif ( /^(mtm|serial)$/ ) {
if ( $type eq "lpar" ) {
$d = undef;
} elsif (/^mtm$/){
$mtm = $d;
}
} elsif (/^side$/) {
unless ( $type =~ /^fsp|bpa$/ ) {
@@ -651,6 +667,14 @@ sub format_xml {
}
$href->{Node}->{$_} = $d;
}
my $tmp_groups = "$type,all";
if (defined($mtm)) {
my $tmp_pre = xCAT::data::ibmhwtypes::parse_group($mtm);
if (defined($tmp_pre)) {
$tmp_groups .= ",$tmp_pre";
}
}
$href->{Node}->{groups}=$tmp_groups;
#################################
# XML encoding
#################################
+1 -1
View File
@@ -40,7 +40,7 @@ sub parse_args {
$Getopt::Long::ignorecase = 0;
Getopt::Long::Configure( "bundling" );
if ( !GetOptions( \%opt, qw(V|Verbose) )) {
if ( !GetOptions( \%opt, qw(V|verbose) )) {
return( usage() );
}
####################################
+29 -3
View File
@@ -8,7 +8,7 @@ use xCAT::PPCdb;
use xCAT::Usage;
use xCAT::NodeRange;
use Data::Dumper;
use xCAT::MsgUtils qw(verbose_message);
##############################################
# Globals
@@ -504,6 +504,7 @@ sub clone {
# Enumerate CECs
#####################################
my $filter = "type_model,serial_num";
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg fsps.filter:'$filter'.");
my $cecs = xCAT::PPCcli::lssyscfg( $exp, "fsps", $filter );
my $Rc = shift(@$cecs);
@@ -579,6 +580,7 @@ sub clone {
$temp[2] = $destcec;
$temp[4] = 'lpar';
xCAT::MsgUtils->verbose_message($request, "$request->{command} :mksyscfg lpar.cfg:'$cfg'.");
my $result = xCAT::PPCcli::mksyscfg( $exp, "lpar", \@temp, $cfg );
$Rc = shift(@$result);
@@ -618,6 +620,7 @@ sub remove {
my @lpars = ();
my @values = ();
xCAT::MsgUtils->verbose_message($request, "$request->{command} START.");
while (my ($mtms,$h) = each(%$hash) ) {
while (my ($lpar,$d) = each(%$h) ) {
my $lparid = @$d[0];
@@ -641,6 +644,7 @@ sub remove {
####################################
else {
my $filter = "name,lpar_id";
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg lpar.filter:'$filter'.");
my $result = xCAT::PPCcli::lssyscfg(
$exp,
"lpar",
@@ -673,6 +677,7 @@ sub remove {
###############################################
# begin to retrieve the CEC's service lpar id
###############################################
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg fsp.filter:'service_lpar_id'.");
my $service_lparid = xCAT::PPCcli::lssyscfg(
$exp,
"fsp",
@@ -687,6 +692,7 @@ sub remove {
my $cfgdata = @$service_lparid[0];
if ( ($id == $cfgdata) && ($cfgdata !~ /none/) ) {
$cfgdata = "service_lpar_id=none";
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg fsp.filter:'$cfgdata'.");
my $result = xCAT::PPCcli::chsyscfg( $exp, "fsp", $d, $cfgdata );
$Rc = shift(@$result);
if ( $Rc != SUCCESS ) {
@@ -703,6 +709,7 @@ sub remove {
################################
# Send remove command
################################
xCAT::MsgUtils->verbose_message($request, "$request->{command} :rmsyscfg lpar.id:$id.");
my $result = xCAT::PPCcli::rmsyscfg( $exp, \@d );
my $Rc = shift(@$result);
@@ -710,6 +717,7 @@ sub remove {
# Remove LPAR from database
################################
if ( $Rc == SUCCESS and !exists( $opt->{r} ) ) {
xCAT::MsgUtils->verbose_message($request, "$request->{command} :remove lpar:$name from xCATdb.");
my $err = xCATdB( "rmvm", $name,"", $id,"", $type,"" , $lpar );
if ( defined( $err )) {
push @values, [$lpar,$err,RC_ERROR];
@@ -720,6 +728,7 @@ sub remove {
}
}
}
xCAT::MsgUtils->verbose_message($request, "$request->{command} END.");
return( \@values );
}
@@ -791,6 +800,7 @@ sub modify_by_attr {
my $attrstr= $opt->{a};
my @values;
xCAT::MsgUtils->verbose_message($request, "$request->{command} START.");
# attrstr will be in stdin for "cat vmdef | chvm nodename"
if (!defined($attrstr) && defined($request->{stdin})) {
my $tempattr = $request->{stdin};
@@ -836,6 +846,7 @@ sub modify_by_attr {
###########################
# Get current profile
###########################
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg node.id:'@$d[0]'.");
my $cfg_res = xCAT::PPCcli::lssyscfg(
$exp,
"node",
@@ -868,6 +879,7 @@ sub modify_by_attr {
}
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg prof.filter:'lpar_ids=@$d[0],profile_names=@$cfg_res[0]'.");
my $prof = xCAT::PPCcli::lssyscfg(
$exp,
"prof",
@@ -893,12 +905,14 @@ sub modify_by_attr {
push @values, [$lpar, $err_msg, $Rc];
next;
}
xCAT::MsgUtils->verbose_message($request, "$request->{command} :chsyscfg prof.cfg:'$cfgdata'.");
my $result = xCAT::PPCcli::chsyscfg( $exp, "prof", $d, $cfgdata );
$Rc = shift(@$result);
push @values, [$lpar,@$result[0],$Rc];
}
}
}
xCAT::MsgUtils->verbose_message($request, "$request->{command} END.");
return (\@values);
}
@@ -1004,6 +1018,7 @@ sub modify_by_prof {
my $profile = $opt->{p};
my @values;
xCAT::MsgUtils->verbose_message($request, "$request->{command} START.");
#######################################
# -p flag, find profile specified
#######################################
@@ -1029,6 +1044,7 @@ sub modify_by_prof {
###########################
# Get LPAR profiles
###########################
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg prof.filter:'lpar_ids=@$d[0],profile_names=$profile'.");
my $prof = xCAT::PPCcli::lssyscfg(
$exp,
"prof",
@@ -1100,6 +1116,7 @@ sub modify_by_prof {
# Send command
###############################
if ( defined( $profile )) {
xCAT::MsgUtils->verbose_message($request, "$request->{command} :mksyscfg prof.cfg:'$cfg'.");
my $result = xCAT::PPCcli::mksyscfg( $exp, "prof", $d, $cfg );
my $Rc = shift(@$result);
@@ -1112,12 +1129,14 @@ sub modify_by_prof {
push @values, [$lpar,@$result[0],$Rc];
}
else {
xCAT::MsgUtils->verbose_message($request, "$request->{command} :chsyscfg prof.cfg:'$cfg'.");
my $result = xCAT::PPCcli::chsyscfg( $exp, "prof", $d, $cfg );
my $Rc = shift(@$result);
push @values, [$lpar,@$result[0],$Rc];
}
}
}
xCAT::MsgUtils->verbose_message($request, "$request->{command} END.");
return( \@values );
}
@@ -1136,6 +1155,7 @@ sub list {
my @lpars = ();
my $result;
xCAT::MsgUtils->verbose_message($request, "$request->{command} START.");
while (my ($mtms,$h) = each(%$hash) ) {
while (my ($lpar,$d) = each(%$h) ) {
my $lparid = @$d[0];
@@ -1161,6 +1181,7 @@ sub list {
####################################
else {
my $filter = "name,lpar_id";
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg lpar.filter:'$filter'.");
my $result = xCAT::PPCcli::lssyscfg(
$exp,
"lpar",
@@ -1191,6 +1212,7 @@ sub list {
#################################
# Get source LPAR profile
#################################
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg prof.filter:'lpar_ids=$id'.");
my $prof = xCAT::PPCcli::lssyscfg(
$exp,
"prof",
@@ -1244,7 +1266,7 @@ sub list {
foreach ( sort keys %$values ) {
push @value,$values->{$_};
}
xCAT::MsgUtils->verbose_message($request, "$request->{command} END.");
return( \@value );
}
##########################################################################
@@ -1604,7 +1626,7 @@ sub create {
my $mtms;
my $type;
my $profile;
xCAT::MsgUtils->verbose_message($request, "$request->{command} START.");
#####################################
# Get source node information
#####################################
@@ -1643,6 +1665,7 @@ sub create {
#####################################
# Get source LPAR profile
#####################################
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg prof.filter:'lpar_ids=$lparid'.");
my $prof = xCAT::PPCcli::lssyscfg(
$exp,
"prof",
@@ -1721,6 +1744,7 @@ sub create {
#################################
# Create new LPAR
#################################
xCAT::MsgUtils->verbose_message($request, "$request->{command} :mksyscfg lpar.cfg:'$cfgdata'.");
$result = xCAT::PPCcli::mksyscfg( $exp, "lpar", $d, $cfgdata );
$Rc = shift(@$result);
@@ -1728,6 +1752,7 @@ sub create {
# Add new LPAR to database
#################################
if ( $Rc == SUCCESS ) {
xCAT::MsgUtils->verbose_message($request, "$request->{command} :add lpar:$name from xCATdb.");
my $err = xCATdB( "mkvm", $name, $profile, $id, $d, $hwtype, $lpar);
if ( defined( $err )) {
push @values, [$name,$err,RC_ERROR];
@@ -1738,6 +1763,7 @@ sub create {
push @values, [$name,@$result[0],$Rc];
$id++;
}
xCAT::MsgUtils->verbose_message($request, "$request->{command} END.");
return( \@values );
}
File diff suppressed because it is too large Load Diff
+47 -16
View File
@@ -5,7 +5,7 @@ package xCAT::RSYNC;
# cannot use strict
use base xCAT::DSHRemoteShell;
use xCAT::TableUtils qw(get_site_attribute);
# Determine if OS is AIX or Linux
# Configure standard locations of commands based on OS
@@ -35,6 +35,7 @@ if ($^O eq 'linux')
$class - Calling module name (discarded)
$config - Reference to copy command configuration hash table
$exec_path - Path to rsync executable
$localhost - 1 indicates we are running on the Management Node
Returns:
A command array for the rsync command with the appropriate
@@ -68,7 +69,7 @@ if ($^O eq 'linux')
sub remote_copy_command
{
my ($class, $config, $exec_path) = @_;
my ($class, $config, $exec_path,$localhost) = @_;
$exec_path || ($exec_path = $RSYNC_CMD);
@@ -76,7 +77,7 @@ sub remote_copy_command
my $usersh=0;
if ($^O eq 'aix')
{
my @useSSH = xCAT::Utils->get_site_attribute("useSSHonAIX");
my @useSSH = xCAT::TableUtils->get_site_attribute("useSSHonAIX");
if (defined($useSSH[0])) {
$useSSH[0] =~ tr/a-z/A-Z/; # convert to upper
if (($useSSH[0] eq "0") || ($useSSH[0] eq "NO"))
@@ -96,14 +97,22 @@ sub remote_copy_command
if ($^O eq 'aix')
{
if (-e ("/usr/bin/rsync")) {
if ($usersh == 0) { # using ssh
if (($usersh == 0) || ($localhost == 1)) { # using ssh, or local
if ($$config{'sudo'}){
$sync_opt = '--rsync-path=sudo /usr/bin/rsync ';
} else {
$sync_opt = '--rsync-path /usr/bin/rsync ';
}
} else {
$sync_opt = '--rsh /bin/rsh --rsync-path /usr/bin/rsync ';
}
} else {
if ($usersh == 0) { # using ssh
$sync_opt = '--rsync-path /usr/local/bin/rsync ';
if (($usersh == 0) || ($localhost == 1)) { # using ssh, or local
if ($$config{'sudo'}){
$sync_opt = '--rsync-path=sudo /usr/local/bin/rsync ';
} else {
$sync_opt = '--rsync-path=/usr/local/bin/rsync ';
}
} else {
$sync_opt = '--rsh /bin/rsh --rsync-path /usr/local/bin/rsync ';
}
@@ -111,11 +120,16 @@ sub remote_copy_command
}
else #linux
{
if ($$config{'sudo'}) {
$sync_opt = '--rsync-path=\'sudo /usr/bin/rsync\' ';
} else {
$sync_opt = '--rsync-path /usr/bin/rsync ';
}
}
# if only syncing the service node or no postscripts then do not
# if only syncing the service node or
# (no postscripts and no append lines) then do not
# get update file notification
if (($::SYNCSN == 1) || (!(defined @::postscripts))) {
if (($::SYNCSN == 1) || ((!(defined @::postscripts)) && (!(defined @::appendlines)) && (!(defined @::mergelines)))) {
$sync_opt .= '-Lprogtz ';
} else {
$sync_opt .= '-Liprogtz --out-format=%f%L '; # add notify of update
@@ -140,12 +154,17 @@ sub remote_copy_command
"$$config{'dest-user'}@" . "$$config{'dest-host'}";
}
print RSCYCCMDFILE "#!/bin/sh\n";
if ($usersh == 0) { # using ssh
print RSCYCCMDFILE
"/usr/bin/ssh $dest_user_host '/bin/mkdir -p $dest_dir_list'\n";
} else {
print RSCYCCMDFILE
"/usr/bin/rsh $dest_user_host '/bin/mkdir -p $dest_dir_list'\n";
if ($localhost == 1) { # running to the MN from the MN
print RSCYCCMDFILE
"/bin/mkdir -p $dest_dir_list\n";
} else { # running to another node
if ($usersh == 0) { # using ssh
print RSCYCCMDFILE
"/usr/bin/ssh $dest_user_host '/bin/mkdir -p $dest_dir_list'\n";
} else {
print RSCYCCMDFILE
"/usr/bin/rsh $dest_user_host '/bin/mkdir -p $dest_dir_list'\n";
}
}
foreach my $dest_dir (keys %{$$config{'destDir_srcFile'}})
{
@@ -155,16 +174,28 @@ sub remote_copy_command
my $src_file_list = join ' ', @src_file;
if ($src_file_list)
{
if ($localhost == 1) { # running local ( on MN)
print RSCYCCMDFILE
"$exec_path $sync_opt $src_file_list $dest_user_host:$dest_dir\n";
"$exec_path $sync_opt $src_file_list $dest_dir\n";
} else { # running to another node
print RSCYCCMDFILE
"$exec_path $sync_opt $src_file_list $dest_user_host:$dest_dir\n";
}
}
my %diff_dest_hash =
%{$$config{'destDir_srcFile'}{$dest_dir}{'diff_dest_name'}};
foreach my $src_file_diff_dest (keys %diff_dest_hash)
{
my $diff_basename = $diff_dest_hash{$src_file_diff_dest};
print RSCYCCMDFILE
# if localhost do not put in hostname:
if ($localhost == 1) { # running to the MN from the MN (local)
print RSCYCCMDFILE
"$exec_path $sync_opt $src_file_diff_dest $dest_dir/$diff_basename\n";
} else { # running remote
print RSCYCCMDFILE
"$exec_path $sync_opt $src_file_diff_dest $dest_user_host:$dest_dir/$diff_basename\n";
}
}
}
+68 -56
View File
@@ -35,21 +35,22 @@ package xCAT::RemoteShellExp;
node.
DSH_TO_USERID - The userid on the node where the ssh keys will be updated.
DSH_ENABLE_SSH - Node to node root passwordless ssh will be setup.
DSH_ZONE_SSHKEYS - directory containing the zones root .ssh keys
Usage: remoteshellexp
[-t node list] test ssh connection to the node
[-k] Generates the ssh keys needed , for the user on the MN.
[-s node list] copies the ssh keys to the nodes
optional $timeout = timeout value for the expect. Usually from the xdsh -t flag
default timeout is 10 seconds
exit 0 - good
exit 1 - abort
exit 2 - usage error
Examples:
$rc=xCAT::RemoteShellExp->remoteshellexp("k",$callback,$remoteshellcmd);
$rc=xCAT::RemoteShellExp->remoteshellexp("s",$callback,$remoteshellcmd,$nodes);
$rc=xCAT::RemoteShellExp->remoteshellexp("t",$callback,$remoteshellcmd,$nodes);
$rc=xCAT::RemoteShellExp->remoteshellexp("k",$callback,$remoteshellcmd,$nodes,$timeout);
$rc=xCAT::RemoteShellExp->remoteshellexp("s",$callback,$remoteshellcmd,$nodes,$timeout);
$rc=xCAT::RemoteShellExp->remoteshellexp("t",$callback,$remoteshellcmd,$nodes,$timeout);
=cut
@@ -70,13 +71,13 @@ use strict;
#-----------------------------------------------------------------------------
sub remoteshellexp
{
my ($class, $flag, $callback, $remoteshell, $nodes) = @_;
my ($class, $flag, $callback, $remoteshell, $nodes, $timeout) = @_;
my $rc=0;
$::CALLBACK = $callback;
if (!($flag))
{
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"No flag provide to remoteshellexp.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 2);
return 2;
@@ -84,12 +85,16 @@ sub remoteshellexp
if (($flag ne "k") && ($flag ne "t") && ($flag ne "s")) {
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"Invalid flag $flag provided.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
return 2;
}
my $expecttimeout=10; # default
if (defined($timeout)) { # value supplied
$expecttimeout=$timeout;
}
# for -s flag must have nodes and a $to_userid password
my $to_user_password;
@@ -99,14 +104,14 @@ sub remoteshellexp
if ($flag eq "s"){
if (!$to_user_password) {
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"The DSH_REMOTE_PASSWORD environment variable has not been set to the user id password on the node which will have their ssh keys updated (ususally root).";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
return 2;
}
if (!$nodes) {
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"No nodes were input to update the user's ssh keys.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
return 2;
@@ -139,7 +144,7 @@ sub remoteshellexp
} else {
$from_userid="root";
}
# set User on the node where we will send the keys
# set User on the node where we will send the keys
# this id can be a local id as well as root
if ($ENV{'DSH_TO_USERID'}) {
$to_userid=$ENV{'DSH_TO_USERID'};
@@ -149,20 +154,21 @@ sub remoteshellexp
# set User home directory to find the ssh public key to send
# For non-root ids information may not be in /etc/passwd
# but elsewhere like LDAP
if ($ENV{'DSH_FROM_USERID_HOME'}) {
$home=$ENV{'DSH_FROM_USERID_HOME'};
$home=$ENV{'DSH_FROM_USERID_HOME'};
} else {
$home=xCAT::Utils->getHomeDir($from_userid);
$home=xCAT::Utils->getHomeDir($from_userid);
}
# This indicates we will generate new ssh keys for the user,
# if they are not already there
my $key="$home/.ssh/id_rsa";
my $key2="$home/.ssh/id_rsa.pub";
# Check to see if empty
if (-z $key) {
# unless using zones
my $key="$home/.ssh/id_rsa";
my $key2="$home/.ssh/id_rsa.pub";
# Check to see if empty
if (-z $key) {
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"The $key file is empty. Remove it and rerun the command.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
return 1;
@@ -170,7 +176,7 @@ sub remoteshellexp
}
if (-z $key2) {
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"The $key2 file is empty. Remove it and rerun the command.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
return 1;
@@ -178,30 +184,32 @@ sub remoteshellexp
}
if (($flag eq "k") && (!(-e $key)))
{
# if the file size of the id_rsa key is 0, tell them to remove it
# and run the command again
$rc=xCAT::RemoteShellExp->gensshkeys;
# updating keys and the key file does not exist
$rc=xCAT::RemoteShellExp->gensshkeys($expecttimeout);
}
# send ssh keys to the nodes/devices, to setup passwordless ssh
if ($flag eq "s")
{
if (!($nodes)) {
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"There are no nodes defined to update the ssh keys.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
return 1;
}
if ($ssh_setup_cmd) { # setup ssh on devices
$rc=xCAT::RemoteShellExp->senddeviceskeys($remoteshell,$remotecopy,$to_userid,$to_user_password,$home,$ssh_setup_cmd,$nodes);
$rc=xCAT::RemoteShellExp->senddeviceskeys($remoteshell,$remotecopy,$to_userid,$to_user_password,$home,$ssh_setup_cmd,$nodes, $expecttimeout);
} else { #setup ssh on nodes
$rc=xCAT::RemoteShellExp->sendnodeskeys($remoteshell,$remotecopy,$to_userid,$to_user_password,$home,$nodes);
if ($ENV{'DSH_ZONE_SSHKEYS'}) { # if using zones the override the location of the keys
$home= $ENV{'DSH_ZONE_SSHKEYS'};
}
$rc=xCAT::RemoteShellExp->sendnodeskeys($remoteshell,$remotecopy,$to_userid,$to_user_password,$home,$nodes, $expecttimeout);
}
}
# test ssh setup on the node
if ($flag eq "t")
{
$rc=xCAT::RemoteShellExp->testkeys($remoteshell,$to_userid,$nodes);
$rc=xCAT::RemoteShellExp->testkeys($remoteshell,$to_userid,$nodes,$expecttimeout);
}
return $rc;
}
@@ -220,9 +228,9 @@ sub remoteshellexp
sub gensshkeys
{
my ($class) = @_;
my ($class, $expecttimeout) = @_;
my $keygen;
my $timeout = 10; # sets Expect default timeout, 0 accepts immediately
my $timeout = $expecttimeout; # sets Expect default timeout, 0 accepts immediately
my $keygen_sent = 0;
my $prompt1 = 'Generating public/private rsa';
my $prompt2 = 'Enter file.*:';
@@ -267,7 +275,7 @@ sub gensshkeys
unless ($keygen->spawn($spawncmd))
{
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"Unable to run $spawncmd.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
return 1;
@@ -324,8 +332,8 @@ sub gensshkeys
return 0;
} else {
my $rsp = {};
$rsp->{data}->[0] = $msg;
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
$rsp->{error}->[0] = $msg;
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
return 1;
}
@@ -347,9 +355,9 @@ sub gensshkeys
sub testkeys
{
my ($class,$remoteshell,$to_userid,$nodes) = @_;
my ($class,$remoteshell,$to_userid,$nodes, $expecttimeout) = @_;
my $testkeys;
my $timeout = 10; # sets Expect default timeout, 0 accepts immediately
my $timeout = $expecttimeout; # sets Expect default timeout
my $testkeys_sent = 0;
my $prompt1 = 'Are you sure you want to continue connecting (yes/no)?';
my $prompt2 = 'ssword:';
@@ -394,7 +402,7 @@ sub testkeys
unless ($testkeys->spawn($spawncmd))
{
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"Unable to run $spawncmd.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
return 1;
@@ -446,8 +454,8 @@ sub testkeys
return 0;
} else {
my $rsp = {};
$rsp->{data}->[0] = $msg;
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
$rsp->{error}->[0] = $msg;
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
return 1;
}
@@ -469,9 +477,9 @@ sub testkeys
sub sendnodeskeys
{
my ($class,$remoteshell,$remotecopy,$to_userid,$to_userpassword,$home,$nodes) = @_;
my ($class,$remoteshell,$remotecopy,$to_userid,$to_userpassword,$home,$nodes, $expecttimeout) = @_;
my $sendkeys;
my $timeout = 10; # sets Expect default timeout, 0 accepts immediately
my $timeout = $expecttimeout; # sets Expect default timeout, 0 accepts immediately
my $sendkeys_sent = 0;
my $prompt1 = 'Are you sure you want to continue connecting (yes/no)?';
my $prompt2 = 'ssword:';
@@ -490,11 +498,15 @@ sub sendnodeskeys
# in $HOME/.ssh/tmp/authorized_keys
# copy to the node to the temp directory
# scp $HOME/.ssh/tmp/authorized_keys to_userid@<node>:/tmp/$to_userid/.ssh
# scp $HOME/.ssh/id_rsa.pub to_userid@<node>:/tmp/$to_userid/.ssh
# Note if using zones, the keys do not come from ~/.ssh but from the
# zone table, sshkeydir attribute. For zones the userid is always root
# If you are going to enable ssh to ssh between nodes, then
# scp $HOME/.ssh/id_rsa to that temp directory on the node
# copy the script $HOME/.ssh/copy.sh to the node, it will do the
# the work of setting up the user's ssh keys and clean up
# ssh (run) copy.sh on the node
my @nodelist=split(/,/,$nodes);
foreach my $node (@nodelist) {
$sendkeys = new Expect;
@@ -522,7 +534,7 @@ sub sendnodeskeys
unless ($sendkeys->spawn($spawnmkdir))
{
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"Unable to run $spawnmkdir on $node";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
next;
@@ -571,8 +583,8 @@ sub sendnodeskeys
$rc=0;
} else {
my $rsp = {};
$rsp->{data}->[0] = "mkdir:$node has error,$msg";
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
$rsp->{error}->[0] = "mkdir:$node has error,$msg";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
$rc=1;
}
}
@@ -602,17 +614,17 @@ sub sendnodeskeys
my $spawncopyfiles;
if ($ENV{'DSH_ENABLE_SSH'}) { # we will enable node to node ssh
$spawncopyfiles=
"$remotecopy $home/.ssh/id_rsa $home/.ssh/copy.sh $home/.ssh/tmp/authorized_keys $to_userid\@$node:/tmp/$to_userid/.ssh ";
"$remotecopy $home/.ssh/id_rsa $home/.ssh/id_rsa.pub $home/.ssh/copy.sh $home/.ssh/tmp/authorized_keys $to_userid\@$node:/tmp/$to_userid/.ssh ";
} else { # no node to node ssh ( don't send private key)
$spawncopyfiles=
"$remotecopy $home/.ssh/copy.sh $home/.ssh/tmp/authorized_keys $to_userid\@$node:/tmp/$to_userid/.ssh ";
"$remotecopy $home/.ssh/id_rsa.pub $home/.ssh/copy.sh $home/.ssh/tmp/authorized_keys $to_userid\@$node:/tmp/$to_userid/.ssh ";
}
# send copy command
unless ($sendkeys->spawn($spawncopyfiles))
{
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"Unable to run $spawncopyfiles on $node.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
next;
@@ -658,8 +670,8 @@ sub sendnodeskeys
$rc=0;
} else {
my $rsp = {};
$rsp->{data}->[0] = "copykeys:$node has error,$msg";
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
$rsp->{error}->[0] = "copykeys:$node has error,$msg";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
$rc=1;
}
}
@@ -693,7 +705,7 @@ sub sendnodeskeys
unless ($sendkeys->spawn($spawnruncopy))
{
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"Unable to run $spawnruncopy.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
next; # go to next node
@@ -743,8 +755,8 @@ sub sendnodeskeys
$rc=0;
} else {
my $rsp = {};
$rsp->{data}->[0] = "copy.sh:$node has error,$msg";
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
$rsp->{error}->[0] = "copy.sh:$node has error,$msg";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
$rc=1;
}
}
@@ -759,7 +771,7 @@ sub sendnodeskeys
=head3 senddeviceskeys
Setup the ssh keys on the nodes
Setup the ssh keys on the switches
=cut
@@ -768,9 +780,9 @@ sub sendnodeskeys
sub senddeviceskeys
{
my ($class,$remoteshell,$remotecopy,$to_userid,$to_userpassword,$home,$ssh_setup_cmd,$nodes) = @_;
my ($class,$remoteshell,$remotecopy,$to_userid,$to_userpassword,$home,$ssh_setup_cmd,$nodes, $expecttimeout) = @_;
my $sendkeys;
my $timeout = 10; # sets Expect default timeout, 0 accepts immediately
my $timeout = $expecttimeout; # sets Expect default timeout, 0 accepts immediately
my $sendkeys_sent = 0;
my $prompt1 = 'Are you sure you want to continue connecting (yes/no)?';
my $prompt2 = 'ssword:';
@@ -829,7 +841,7 @@ sub senddeviceskeys
unless ($sendkeys->spawn($spawnaddkey))
{
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"Unable to run $spawnaddkey.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
next; # go to next node
@@ -877,8 +889,8 @@ sub senddeviceskeys
$rc=0;
} else {
my $rsp = {};
$rsp->{data}->[0] = "$node has error,$msg";
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
$rsp->{error}->[0] = "$node has error,$msg";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
$rc=1;
next; # go to next node
}
+62 -17
View File
@@ -60,9 +60,10 @@ sub usage
" -p <template path> [-o output file ] [-t <template count>]\n";
my $usagemsg4 = " [-r remove templates] [-s <seednode>]\n";
my $usagemsg5 = " [-e exactmatch] [-i ignore] [-V verbose]\n";
my $usagemsg5A = " [-l userid] [--devicetype type_of_device]\n";
my $usagemsg6 = " {-c <command> | -f <command file>}";
my $usagemsg .= $usagemsg1 .= $usagemsg1a .= $usagemsg3 .= $usagemsg4 .=
$usagemsg5 .= $usagemsg6;
$usagemsg5 .= $usagemsg5A .= $usagemsg6;
### end usage mesage
my $rsp = {};
@@ -110,6 +111,8 @@ sub parse_and_run_sinv
's|seed=s' => \$options{'seed_node'},
'e|exactmatch' => \$options{'exactmatch'},
'i|ignorefirst' => \$options{'ignorefirst'},
'l|user=s' => \$options{'user'},
'devicetype|devicetype=s' => \$options{'devicetype'},
'c|cmd=s' => \$options{'sinv_cmd'},
'f|file=s' => \$options{'sinv_cmd_file'},
'v|version' => \$options{'version'},
@@ -198,14 +201,38 @@ sub parse_and_run_sinv
# strip off the program and the noderange
#
my @nodelist = ();
my @cmdparts = split(' ', $cmd);
my @cmdparts = ();
my $devicecommand =0;
if ($options{'devicetype'}) {
# must split different because devices have commands with spaces
@cmdparts = split(' ', $cmd,3);
$devicecommand =1;
} else {
@cmdparts = split(' ', $cmd);
}
my $cmdtype = shift @cmdparts;
my $noderange = shift @cmdparts;
my @cmd = ();
if ($noderange =~ /^-/)
if ($noderange =~ /^-/) # if imageupdate not node
{ # no noderange
push @cmd, $noderange; # put flag back on command
}
# root is sending the command
my @envs;
# if -l user id supplied
if ($options{'user'}) {
push @cmd,"-l";
push @cmd,$options{'user'};
push @envs,"DSH_TO_USERID=$options{'user'}";
}
# if device type supplied
if ($options{'devicetype'}) {
push @cmd,"--devicetype";
my $switchtype = $options{'devicetype'};
$switchtype =~ s/::/\//g;
push @cmd,$switchtype;
}
foreach my $part (@cmdparts)
{
@@ -471,13 +498,14 @@ sub parse_and_run_sinv
{
command => [$cmdtype],
node => \@seed,
env => [@envs],
arg => [@cmd]
},
\&$cmdoutput
);
# write the results to the tempfile after running through xdshcoll
$rc = &storeresults($callback);
$rc = &storeresults($callback,$devicecommand);
}
$processflg = "node";
@@ -500,6 +528,7 @@ sub parse_and_run_sinv
{
command => [$cmdtype],
node => \@nodelist,
env => [@envs],
arg => [@cmd]
},
\&$cmdoutput
@@ -507,7 +536,7 @@ sub parse_and_run_sinv
# write the results to the tempfile after running through xdshcoll
$rc = &storeresults($callback);
$rc = &storeresults($callback,$devicecommand);
# Build report and write to output file
# if file exist and has something in it
@@ -1424,12 +1453,11 @@ sub rinvoutput
sub storeresults
{
my $callback = shift;
my $devicecommand= shift;
# open file to write results of xdsh or rinv command
my $newtempfile = $tempfile;
$newtempfile .= "temp";
open(FILE, ">$newtempfile");
if ($? > 0)
unless (open(NEWTMPFILE, ">$newtempfile"))
{
my $rsp = {};
$rsp->{data}->[0] = "Could not open $newtempfile\n";
@@ -1438,9 +1466,9 @@ sub storeresults
}
foreach my $line (@cmdresult)
{
print FILE $line;
print NEWTMPFILE $line;
}
close FILE;
close NEWTMPFILE;
my $outputfile;
if ($processflg eq "seednode")
{ # cmd to seednode
@@ -1452,8 +1480,7 @@ sub storeresults
}
# open file to put results of xdshcoll
open(FILE, ">$outputfile");
if ($? > 0)
unless (open(NEWOUTFILE, ">$outputfile"))
{
my $rsp = {};
$rsp->{data}->[0] = "Could not open $outputfile\n";
@@ -1462,8 +1489,7 @@ sub storeresults
}
my $cmd = " $::XCATROOT/sbin/xdshcoll <$newtempfile |";
open(XCOLL, "$cmd");
if ($? > 0)
unless (open(XCOLL, "$cmd"))
{
my $rsp = {};
$rsp->{data}->[0] = "Could not call xdshcoll \n";
@@ -1476,18 +1502,37 @@ sub storeresults
while (<XCOLL>)
{
$line = $_;
print FILE $line
print NEWOUTFILE $line
}
close(XCOLL);
close FILE;
close NEWOUTFILE;
system("/bin/rm $newtempfile");
# is device command, we get false errors from the Switch, check for
# blank error output lines and remove them. If there is nothing left
# then there really were no errors
my @newerrresult=();
my $processerrors =1;
if ($devicecommand==1) {
foreach my $line (@errresult)
{
my @newline = (split(/:/, $line));
if ($newline[1] !~ /^\s*$/) { # Not blank, then save it
push @newerrresult,$line;
}
}
my $arraysize=@newerrresult;
if ($arraysize < 1) {
$processerrors =0;
}
}
# capture errors
#
if (@errresult)
if ((@errresult) && ($processerrors ==1))
{ # if errors
my $rsp = {};
my $i = 0;
Regular → Executable
+579 -424
View File
File diff suppressed because it is too large Load Diff
Regular → Executable
+16 -2
View File
@@ -667,6 +667,9 @@ sub decode_spd {
1066 => 8500,
1333 => 10600,
1600 => 12800,
1867 => 14900,
2133 => 17000,
2134 => 17000,
);
my %ddr3modcap = (
@@ -707,9 +710,20 @@ sub decode_spd {
}
$rethash->{product}->{name}=$memtypes{$spd[2]};
if ($spd[2] == 11) { #DDR3 spec applies
my $ftbdividend = $spd[9] >> 4;
my $ftbdivisor = $spd[9] & 0xf;
my $ftb = $ftbdividend/$ftbdivisor;
my $fineoffset = $spd[34];
if ($fineoffset & 0b10000000) {
#negative value, twos complement
$fineoffset = 0-(($fineoffset ^ 0xff) + 1);
}
$fineoffset = ($ftb * $fineoffset) * 10**-3;
my $mtb = $spd[10]/$spd[11];
my $speed = $speedfromclock{int(2/($mtb*$spd[12]*10**-3))};
$rethash->{product}->{name}="PC3-".$speed;
my $clock = int(2/(($mtb*$spd[12]+$fineoffset)*10**-3));
my $speed = $speedfromclock{$clock};
unless ($speed) { $speed = "UNKNOWN"; }
$rethash->{product}->{name}="PC3-".$speed." ($clock MT/s)";
if ($spd[8]&0b11000) {
$rethash->{product}->{name} .= " ECC";
}
Regular → Executable
+1176 -185
View File
File diff suppressed because it is too large Load Diff
+4 -3
View File
@@ -1,6 +1,7 @@
package xCAT::Scope;
use xCAT::Utils;
use xCAT::Table;
use xCAT::ServiceNodeUtils qw(getSNList);
sub get_broadcast_scope {
my $req = shift;
if ($req =~ /xCAT::Scope/) {
@@ -10,8 +11,8 @@ sub get_broadcast_scope {
if ($req->{_xcatpreprocessed}->[0] == 1) { return [$req]; }
#Exit if the packet has been preprocessed in its history
my @requests = ({%$req}); #Start with a straight copy to reflect local instance
foreach (xCAT::Utils->getSNList()) {
if (xCAT::Utils->thishostisnot($_)) {
foreach (xCAT::ServiceNodeUtils->getSNList()) {
if (xCAT::NetworkUtils->thishostisnot($_)) {
my $reqcopy = {%$req};
$reqcopy->{'_xcatdest'} = $_;
$reqcopy->{_xcatpreprocessed}->[0] = 1;
@@ -24,7 +25,7 @@ sub get_broadcast_scope {
#$sitetab->close;
#if ($ent and $ent->{value}) {
# foreach (split /,/,$ent->{value}) {
# if (xCAT::Utils->thishostisnot($_)) {
# if (xCAT::NetworkUtils->thishostisnot($_)) {
# my $reqcopy = {%$req};
# $reqcopy->{'_xcatdest'} = $_;
# push @requests,$reqcopy;
+856
View File
@@ -0,0 +1,856 @@
#!/usr/bin/env perl
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
package xCAT::ServiceNodeUtils;
BEGIN
{
$::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
}
# if AIX - make sure we include perl 5.8.2 in INC path.
# Needed to find perl dependencies shipped in deps tarball.
if ($^O =~ /^aix/i) {
use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/5.8.2";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
}
use lib "$::XCATROOT/lib/perl";
use strict;
#-----------------------------------------------------------------------------
=head3 readSNInfo
Read resource, NFS server, Master node, OS an ARCH from the database
for the service node
Input: service nodename
Output: Masternode, OS and ARCH
Example:
my $retdata = xCAT::ServiceNodeUtils->readSNInfo;
=cut
#-----------------------------------------------------------------------------
sub readSNInfo
{
my ($class, $nodename) = @_;
my $rc = 0;
my $et;
my $masternode;
my $os;
my $arch;
$rc = xCAT::Utils->exportDBConfig();
if ($rc == 0)
{
if ($nodename)
{
$masternode = xCAT::TableUtils->GetMasterNodeName($nodename);
if (!($masternode))
{
xCAT::MsgUtils->message('S',
"Could not get Master for node $nodename\n");
return 1;
}
$et = xCAT::TableUtils->GetNodeOSARCH($nodename);
if ($et == 1)
{
xCAT::MsgUtils->message('S',
"Could not get OS/ARCH for node $nodename\n");
return 1;
}
if (!($et->{'os'} || $et->{'arch'}))
{
xCAT::MsgUtils->message('S',
"Could not get OS/ARCH for node $nodename\n");
return 1;
}
}
$et->{'master'} = $masternode;
return $et;
}
return $rc;
}
#-----------------------------------------------------------------------------
=head3 isServiceReq
Checks the service node table in the database to see
if input Service should be setup on the
input service node or Management Node (used by AAsn.pm)
Input:servicenodename,ipaddres(s) and hostnames of service node
Output:
hash of services to setup for this service node
Globals:
$::RUNCMD_RC = 0; good
$::RUNCMD_RC = 1; error
Error:
none
Example:
$servicestosetup=xCAT::ServiceNodeUtils->isServiceReq($servicenodename, @serviceip) { blah; }
=cut
#-----------------------------------------------------------------------------
sub isServiceReq
{
require xCAT::Table;
my ($class, $servicenodename, $serviceip) = @_;
# get list of all services from service node table ( actually all defined attributes)
# read the schema
my $schema = xCAT::Table->getTableSchema("servicenode");
my @services; # list of only the actual service attributes from the servicenode table
my @servicesattrs; # building second copy for call to getAllNodeAttribs, which modifies the array
foreach my $c (@{$schema->{cols}}) {
if (($c ne "node") && ($c ne "comments") && ($c ne "disable")) {
push @servicesattrs,$c;
push @services,$c;
}
}
my @ips = @$serviceip; # list of service node ip addresses and names
my $rc = 0;
$rc = xCAT::Utils->exportDBConfig(); # export DB env
if ($rc != 0)
{
xCAT::MsgUtils->message('S', "Unable export DB environment.\n");
$::RUNCMD_RC = 1;
return;
}
# get handle to servicenode table
my $servicenodetab = xCAT::Table->new('servicenode');
unless ($servicenodetab)
{
xCAT::MsgUtils->message('S', "Unable to open servicenode table.\n");
$::RUNCMD_RC = 1;
return; # do not setup anything
}
# Are we on the MN
my $mname;
if (xCAT::Utils->isMN()) {
my @nodeinfo = xCAT::NetworkUtils->determinehostname;
$mname = pop @nodeinfo; # get hostname
}
my $servicehash;
# read all the nodes from the table, all the service attributes
my @snodelist= $servicenodetab->getAllNodeAttribs(\@servicesattrs);
foreach my $service (@services) # check list of services
{
foreach $serviceip (@ips) # check the table for this servicenode
{
foreach my $node (@snodelist)
{
if ($serviceip eq $node->{'node'})
{ # match table entry
if ($node->{$service})
{ # returns service, only if set
my $value = $node->{$service};
$value =~ tr/a-z/A-Z/; # convert to upper
# value 1 or yes then we setup the service
if (($value eq "1") || ($value eq "YES"))
{
$servicehash->{$service} = "1";
} elsif ($value eq "2") {
$servicehash->{$service} = "2";
} else {
$servicehash->{$service} = "0";
}
}
last;
}
}
}
}
# if the ftpserver attribute is not defined in the service node table
# and we are on
# the Linux management node, we need to look at site.vsftp
# if the tftpserver attribute is not defined, then we default it 1
if (($mname) && (xCAT::Utils->isLinux())) {
if (!exists($servicehash->{'ftpserver'})) {
my @tmp = xCAT::TableUtils->get_site_attribute("vsftp");
if ($tmp[0] && ($tmp[0] !~ /0|NO|No|no|N|n/ )) {
$servicehash->{'ftpserver'} = 1;
}
}
if (!exists($servicehash->{'tftpserver'})) {
$servicehash->{'tftpserver'} = 1;
}
}
$servicenodetab->close;
$::RUNCMD_RC = 0;
return $servicehash;
}
#-----------------------------------------------------------------------------
=head3 getAllSN
Returns an array of all service nodes from service node table
Arguments:
ALL" - will also return the management node in the array, if
if has been defined in the servicenode table
Returns:
array of Service Nodes or empty array, if none
Globals:
none
Error:
1 - error
Example:
@SN=xCAT::ServiceNodeUtils->getAllSN
@allSN=xCAT::ServiceNodeUtils->getAllSN("ALL")
Comments:
none
=cut
#-----------------------------------------------------------------------------
sub getAllSN
{
my ($class, $options) = @_;
require xCAT::Table;
# reads all nodes from the service node table
my @servicenodes;
my $servicenodetab = xCAT::Table->new('servicenode');
unless ($servicenodetab) # no servicenode table
{
xCAT::MsgUtils->message('I', "Unable to open servicenode table.\n");
$servicenodetab->close;
return @servicenodes;
}
my @nodes = $servicenodetab->getAllNodeAttribs(['tftpserver']);
foreach my $nodes (@nodes)
{
push @servicenodes, $nodes->{node};
}
# if did not input "ALL" and there is a MN, remove it
my @newservicenodes;
if ((!defined($options)) || ($options ne "ALL")) {
my @mname = xCAT::Utils->noderangecontainsMn(@servicenodes);
if (@mname) { # if there is a MN
foreach my $node (@servicenodes) {
# check to see if node in MN list
if (!(grep(/^$node$/, @mname))) { # if node not in the MN array
push @newservicenodes, $node;
}
}
$servicenodetab->close;
return @newservicenodes; # return without the MN in the array
}
}
$servicenodetab->close;
return @servicenodes;
}
#-----------------------------------------------------------------------------
=head3 getSNandNodes
Returns an hash-array of all service nodes and the nodes they service
Arguments:
none
#-----------------------------------------------------------------------------
=head3 getSNandNodes
Returns an hash-array of all service nodes and the nodes they service
Arguments:
none
Returns:
Service Nodes and the nodes they service or empty , if none
Globals:
none
Error:
1 - error
Example:
$sn=xCAT::ServiceNodeUtils->getSNandNodes()
Comments:
none
=cut
#-----------------------------------------------------------------------------
sub getSNandNodes
{
require xCAT::Table;
# read all the nodes from the nodelist table
# call get_ServiceNode to find which Service Node
# the node belongs to.
my %sn;
my @nodes;
my $nodelisttab = xCAT::Table->new('nodelist');
my $recs = $nodelisttab->getAllEntries();
foreach (@$recs)
{
push @nodes, $_->{node};
}
$nodelisttab->close;
my $sn = xCAT::ServiceNodeUtils->get_ServiceNode(\@nodes, "xcat", "MN");
return $sn;
}
#-----------------------------------------------------------------------------
=head3 getSNList
Reads the servicenode table. Will return all the enabled Service Nodes
that will setup the input Service ( e.g tftpserver,nameserver,etc)
If service is blank, then will return the list of all enabled Service
Nodes.
Arguments:
Servicename ( xcat,tftpserver,dhcpserver,conserver,etc)
If no servicename, returns all Servicenodes
"ALL" argument means you also want the MN returned. It can be in the
servicenode list. If no "ALL", take out the MN if it is there.
Returns:
Array of service node names
Globals:
none
Error:
1 - error
Example:
$sn= xCAT::ServiceNodeUtils->getSNList($servicename) { blah; }
$sn= xCAT::ServiceNodeUtils->getSNList($servicename,"ALL") { blah; }
$sn= xCAT::ServiceNodeUtils->getSNList() { blah; }
$sn= xCAT::ServiceNodeUtils->getSNList("","ALL") { blah; }
Comments:
none
=cut
#-----------------------------------------------------------------------------
sub getSNList
{
require xCAT::Table;
my ($class, $service,$options) = @_;
# reads all nodes from the service node table
my @servicenodes;
my $servicenodetab = xCAT::Table->new('servicenode', -create => 1);
unless ($servicenodetab) # no servicenode table
{
xCAT::MsgUtils->message('I', "Unable to open servicenode table.\n");
return ();
}
my @nodes = $servicenodetab->getAllNodeAttribs([$service]);
$servicenodetab->close;
foreach my $node (@nodes)
{
if (! defined ($service) || ($service eq "")) # want all the service nodes
{
push @servicenodes, $node->{node};
}
else
{ # looking for a particular service
if ($node->{$service})
{ # if null then do not add node
my $value = $node->{$service};
$value =~ tr/a-z/A-Z/; # convert to upper
# value 1 or yes or blank then we setup the service
if (($value == 1) || ($value eq "YES"))
{
push @servicenodes, $node->{node};
}
}
}
}
# if did not input "ALL" and there is a MN, remove it
my @newservicenodes;
if ((!defined($options)) || ($options ne "ALL")) {
my $mname = xCAT::Utils->noderangecontainsMn(@servicenodes);
if ($mname) { # if there is a MN
foreach my $nodes (@servicenodes) {
if ($mname ne ($nodes)){
push @newservicenodes, $nodes;
}
}
return @newservicenodes; # return without the MN in the array
}
}
return @servicenodes;
}
#-----------------------------------------------------------------------------
=head3 get_ServiceNode
Will get the Service node ( name or ipaddress) as known by the Management
Node or Node for the input nodename or ipadress of the node
which can be a Service Node.
If the input node is a Service Node then it's Service node
is always the Management Node.
input: list of nodenames and/or node ipaddresses (array ref)
service name
"MN" or "Node" determines if you want the Service node as known
by the Management Node or by the node.
recognized service names: xcat,tftpserver,
nfsserver,conserver,monserver
service "xcat" is used by command like xdsh that need to know the
service node that will process the command but are not tied to a
specific service like tftp
Todo: Handle dhcpserver and nameserver from the networks table
output: A hash ref of arrays, the key is the service node pointing to
an array of nodes that are serviced by that service node
Globals:
$::ERROR_RC
Error:
$::ERROR_RC=0 no error $::ERROR_RC=1 error
example: $sn =xCAT::ServiceNodeUtils->get_ServiceNode(\@nodes,$service,"MN");
$sn =xCAT::ServiceNodeUtils->get_ServiceNode(\@nodes,$service,"Node");
Note: this rountine is important to hierarchical support in xCAT
and used in many places. Any changes to the logic should be
reviewed by xCAT architecture
=cut
#-----------------------------------------------------------------------------
sub get_ServiceNode
{
require xCAT::Table;
my ($class, $node, $service, $request) = @_;
my @node_list = @$node;
my $cmd;
my %snhash;
my $nodehash;
my $sn;
my $nodehmtab;
my $noderestab;
my $snattribute;
my $oshash;
my $nodetab;
$::ERROR_RC = 0;
# determine if the request is for the service node as known by the MN
# or the node
if ($request eq "MN")
{
$snattribute = "servicenode";
}
else # Node
{
$snattribute = "xcatmaster";
}
# get site.master this will be the default
my $master = xCAT::TableUtils->get_site_Master();
$noderestab = xCAT::Table->new('noderes');
unless ($noderestab) # no noderes table, use default site.master
{
xCAT::MsgUtils->message('I',
"Unable to open noderes table. Using site->Master.\n");
if ($master) # use site Master value
{
foreach my $node (@node_list)
{
push @{$snhash{$master}}, $node;
}
}
else
{
xCAT::MsgUtils->message('E', "Unable to read site Master value.\n");
$::ERROR_RC = 1;
}
return \%snhash;
}
if ($service eq "xcat")
{ # find all service nodes for the nodes in the list
$nodehash = $noderestab->getNodesAttribs(\@node_list, [$snattribute]);
foreach my $node (@node_list)
{
foreach my $rec (@{$nodehash->{$node}})
{
if ($rec and $rec->{$snattribute}) # use noderes.servicenode
{
my $key = $rec->{$snattribute};
push @{$snhash{$key}}, $node;
}
else # use site.master
{
push @{$snhash{$master}}, $node;
}
}
}
$noderestab->close;
return \%snhash;
}
else
{
if (
($service eq "tftpserver") # all from noderes table
|| ($service eq "nfsserver") || ($service eq "monserver")
)
{
$nodehash =
$noderestab->getNodesAttribs(\@node_list,
[$service, $snattribute]);
foreach my $node (@node_list)
{
foreach my $rec (@{$nodehash->{$node}})
{
if ($rec and $rec->{$service})
{
# see if both MN and Node address in attribute
my ($msattr, $nodeattr) = split ':', $rec->{$service};
my $key = $msattr;
if ($request eq "Node")
{
if ($nodeattr) # override with Node, if it exists
{
$key = $nodeattr;
}
}
push @{$snhash{$key}}, $node;
}
else
{
if ($rec and $rec->{$snattribute}) # if it exists
{
my $key = $rec->{$snattribute};
push @{$snhash{$key}}, $node;
}
else
{ # use site.master
push @{$snhash{$master}}, $node;
}
}
}
}
$noderestab->close;
return \%snhash;
}
else
{
if ($service eq "conserver")
{
# read the nodehm table
$nodehmtab = xCAT::Table->new('nodehm');
unless ($nodehmtab) # no nodehm table
{
xCAT::MsgUtils->message('I',
"Unable to open nodehm table.\n");
# use servicenode
$nodehash =
$noderestab->getNodesAttribs(\@node_list, [$snattribute]);
foreach my $node (@node_list)
{
foreach my $rec (@{$nodehash->{$node}})
{
if ($rec and $rec->{$snattribute})
{
my $key = $rec->{$snattribute};
push @{$snhash{$key}}, $node;
}
else
{ # use site.master
push @{$snhash{$master}}, $node;
}
}
}
$noderestab->close;
return \%snhash;
}
# can read the nodehm table
$nodehash =
$nodehmtab->getNodesAttribs(\@node_list, ['conserver']);
foreach my $node (@node_list)
{
foreach my $rec (@{$nodehash->{$node}})
{
if ($rec and $rec->{'conserver'})
{
# see if both MN and Node address in attribute
my ($msattr, $nodeattr) = split ':',
$rec->{'conserver'};
my $key = $msattr;
if ($request eq "Node")
{
if ($nodeattr
) # override with Node, if it exists
{
$key = $nodeattr;
}
}
push @{$snhash{$key}}, $node;
}
else
{ # use service node for this node
$sn =
$noderestab->getNodeAttribs($node,
[$snattribute]);
if ($sn and $sn->{$snattribute})
{
my $key = $sn->{$snattribute};
push @{$snhash{$key}}, $node;
}
else
{ # no service node use master
push @{$snhash{$master}}, $node;
}
}
}
}
$noderestab->close;
$nodehmtab->close;
return \%snhash;
}
else
{
xCAT::MsgUtils->message('E',
"Invalid service=$service input.\n");
$::ERROR_RC = 1;
}
}
}
return \%snhash;
}
#-----------------------------------------------------------------------------
=head3 getSNformattedhash
Will call get_ServiceNode to get the Service node ( name or ipaddress)
as known by the Management
Server or Node for the input nodename or ipadress of the node
It will then format the output into a single servicenode key with values
the list of nodes service by that service node. This routine will
break up pools of service nodes into individual node in the hash unlike
get_ServiceNode which leaves the pool as the key.
input: Same as get_ServiceNode to call get_ServiceNode
list of nodenames and/or node ipaddresses (array ref)
service name
"MN" or "Node" determines if you want the Service node as known
by the Management Node or by the node.
recognized service names: xcat,tftpserver,
nfsserver,conserver,monserver
service "xcat" is used by command like xdsh that need to know the
service node that will process the command but are not tied to a
specific service like tftp
output: A hash ref of arrays, the key is a single service node
pointing to
a list of nodes that are serviced by that service node
'rra000-m'=>['blade01', 'testnode']
'sn1'=>['blade01', 'testnode']
'sn2'=>['blade01']
'sn3'=>['testnode']
Globals:
$::ERROR_RC
Error:
$::ERROR_RC=0 no error $::ERROR_RC=1 error
example: $sn =xCAT::ServiceNodeUtils->getSNformattedhash(\@nodes,$service,"MN", $type);
$sn =xCAT::ServiceNodeUtils->getSNformattedhash(\@nodes,$service,"Node", "primary");
=cut
#-----------------------------------------------------------------------------
sub getSNformattedhash
{
my ($class, $node, $service, $request, $btype) = @_;
my @node_list = @$node;
my $cmd;
my %newsnhash;
my $type="";
if ($btype) {
$type=$btype;
}
# get the values of either the servicenode or xcatmaster attributes
my $sn = xCAT::ServiceNodeUtils->get_ServiceNode(\@node_list, $service, $request);
# get the keys which are the service nodes and break apart any pool lists
# format into individual service node keys pointing to node lists
if ($sn)
{
foreach my $snkey (keys %$sn)
{
# split the key if pool of service nodes
push my @tmpnodes, $sn->{$snkey};
my @nodes;
for my $i (0 .. $#tmpnodes) {
for my $j ( 0 .. $#{$tmpnodes[$i]}) {
my $check=$tmpnodes[$i][$j];
push @nodes,$check;
}
}
# for SN backup we might only want the primary or backup
my @servicenodes;
my ($primary, $backup) = split /,/, $snkey;
if (($primary) && ($type eq "primary")) {
push @servicenodes, $primary;
} elsif (($backup) && ($type eq "backup")) {
push @servicenodes, $backup;
} else {
@servicenodes = split /,/, $snkey;
}
# now build new hash of individual service nodes
foreach my $newsnkey (@servicenodes) {
push @{$newsnhash{$newsnkey}}, @nodes;
}
}
}
return \%newsnhash;
}
#----------------------------------------------------------------------------
=head3 getAIXSNinterfaces
Get a list of ip addresses for each service node in a list
Arguments:
list of service nodes
Returns:
hash of ips for each service node
Globals:
none
Error:
none
Example:
my $sni = xCAT::ServiceNodeUtils->getAIXSNinterfaces(\@servlist, $callback, $subreq);
Comments:
=cut
#-----------------------------------------------------------------------------
sub getAIXSNinterfaces
{
my ($class, $list, $callback, $sub_req) = @_;
my @snlist = @$list;
my %SNinterfaces;
# get all the possible IPs for the node I'm running on
my $ifcmd = "/usr/sbin/ifconfig -a | grep 'inet ' ";
foreach my $sn (@snlist)
{
my $SNIP;
my $out = xCAT::InstUtils->xcmd($callback, $sub_req, "xdsh", $sn, $ifcmd, 0);
if ($::RUNCMD_RC != 0)
{
my $rsp;
push @{$rsp->{data}}, "Could not get IP addresses from service node $sn.\n";
xCAT::MsgUtils->message("E", $rsp, $callback);
next;
}
my @result;
foreach my $line ( split(/\n/, $out)) {
$line =~ s/$sn:\s+//;
push(@result, $line);
}
foreach my $int (@result) {
my ($inet, $SNIP, $str) = split(" ", $int);
chomp $SNIP;
$SNIP =~ s/\/.*//; # ipv6 address 4000::99/64
$SNIP =~ s/\%.*//; # ipv6 address ::1%1/128
push(@{$SNinterfaces{$sn}}, $SNIP);
}
} # end foreach SN
return \%SNinterfaces;
}
#-----------------------------------------------------------------------------
=head3
getSNandCPnodes - Take an array of nodes and returns
an array of the service
nodes and an array of the computenode .
Arguments:
none
Returns:
array of Service Nodes and/or array of compute nodesarray of compute nodes empty array, if none
Globals:
none
Error:
1 - error
Example:
xCAT::ServiceNodeUtils->getSNandCPnodes(\@nodes,\@SN,\@CN);
Comments:
none
=cut
#-----------------------------------------------------------------------------
sub getSNandCPnodes
{
my ($class, $nodes,$sn,$cn) = @_;
my @nodelist = @$nodes;
# get the list of all Service nodes
my @allSN=xCAT::ServiceNodeUtils->getAllSN;
foreach my $node (@nodelist) {
if (grep(/^$node$/, @allSN)) { # it is a SN
push (@$sn,$node);
} else { # a CN
push (@$cn,$node);
}
}
return ;
}
1;
+163 -153
View File
@@ -12,7 +12,9 @@
# -cache to persist so long as '_build_cache' calls concurrently stack (for NodeRange interpretation mainly) (done)
# -Allow plugins to define a staleness threshold for getNodesAttribs freshness (complicated enough to postpone...)
# so that actions requested by disparate managed nodes may aggregate in SQL calls
# reference count managed cache lifetime, if clear_cache is called, and build_chache has been called twice, decrement the counter
# cache lifetime is no longer determined strictly by function duration
# now it can live up to 5 seconds. However, most calls will ignore the cache unless using a special option.
# Hmm, potential issue, getNodesAttribs might return up to 5 second old data even if caller expects brand new data
# if called again, decrement again and clear cache
# for getNodesAttribs, we can put a parameter to request allowable staleneess
# if the cachestamp is too old, build_cache is called
@@ -34,7 +36,7 @@
package xCAT::Table;
use xCAT::MsgUtils;
use Sys::Syslog;
use Storable qw/freeze thaw/;
use Storable qw/freeze thaw store_fd fd_retrieve/;
use IO::Socket;
#use Data::Dumper;
use POSIX qw/WNOHANG/;
@@ -49,10 +51,7 @@ BEGIN
# if AIX - make sure we include perl 5.8.2 in INC path.
# Needed to find perl dependencies shipped in deps tarball.
if ($^O =~ /^aix/i) {
use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/5.8.2";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
}
use lib "$::XCATROOT/lib/perl";
@@ -71,7 +70,7 @@ require xCAT::NotifHandler;
my $dbworkerpid; #The process id of the database worker
my $dbworkersocket;
my $dbsockpath = "/tmp/xcat/dbworker.sock.".$$;
my $dbsockpath = "/var/run/xcat/dbworker.sock.".$$;
my $exitdbthread;
my $dbobjsforhandle;
my $intendedpid;
@@ -93,8 +92,6 @@ sub dbc_call {
sub dbc_submit {
my $request = shift;
$request->{'wantarray'} = wantarray();
my $data = freeze($request);
$data.= "\nENDOFFREEZEQFVyo4Cj6Q0v\n";
my $clisock;
my $tries=300;
while($tries and !($clisock = IO::Socket::UNIX->new(Peer => $dbsockpath, Type => SOCK_STREAM, Timeout => 120) ) ) {
@@ -106,22 +103,20 @@ sub dbc_submit {
use Carp qw/cluck/;
cluck();
}
print $clisock $data;
$data="";
store_fd($request,$clisock);
#print $clisock $data;
my $data="";
my $lastline="";
while (read($clisock,$lastline,32768)) { #$lastline ne "ENDOFFREEZEQFVyo4Cj6Q0j\n" and $lastline ne "*XCATBUGDETECTED*76e9b54341\n") { #index($lastline,"ENDOFFREEZEQFVyo4Cj6Q0j") < 0) {
# $lastline = <$clisock>;
$data .= $lastline;
}
my $retdata = fd_retrieve($clisock);
close($clisock);
if ($lastline =~ m/\*XCATBUGDETECTED\*76e9b54341\n\z/) { #if it was an error
if (ref $retdata eq "SCALAR") { #bug detected
#in the midst of the operation, die like it used to die
my $err;
$data =~ /\*XCATBUGDETECTED\*:(.*):\*XCATBUGDETECTED\*/s;
$$retdata =~ /\*XCATBUGDETECTED\*:(.*):\*XCATBUGDETECTED\*/s;
$err = $1;
die $err;
}
my @returndata = @{thaw($data)};
my @returndata = @{$retdata};
if (wantarray) {
return @returndata;
} else {
@@ -164,7 +159,7 @@ sub init_dbworker {
#This process is the database worker, it's job is to manage database queries to reduce required handles and to permit cross-process caching
$0 = "xcatd: DB Access";
use File::Path;
mkpath('/tmp/xcat/');
mkpath('/var/run/xcat/');
use IO::Socket;
$SIG{TERM} = $SIG{INT} = sub {
$exitdbthread=1;
@@ -202,8 +197,7 @@ sub init_dbworker {
xCAT::MsgUtils->message("S","xcatd: possible BUG encountered by xCAT DB worker ".$err);
if ($currcon) {
eval { #avoid hang by allowin client to die too
print $currcon "*XCATBUGDETECTED*:$err:*XCATBUGDETECTED*\n";
print $currcon "*XCATBUGDETECTED*76e9b54341\n";
store_fd("*XCATBUGDETECTED*:$err:*XCATBUGDETECTED*\n",$currcon);
$clientset->remove($currcon);
close($currcon);
};
@@ -214,9 +208,10 @@ sub init_dbworker {
};
if ($@) { #this should never be reached, but leave it intact just in case
my $err=$@;
xCAT::MsgUtils->message("S","xcatd: possible BUG encountered by xCAT DB worker ".$err);
eval { xCAT::MsgUtils->message("S","xcatd: possible BUG encountered by xCAT DB worker ".$err); };
}
if ($intendedpid != $$) { #avoid redundant fork
eval { xCAT::MsgUtils->message("S","Pid $$ shutting itself down because only pid $intendedpid is permitted to be in this area"); };
exit(0);
}
}
@@ -230,13 +225,14 @@ sub handle_dbc_conn {
my $client = shift;
my $clientset = shift;
my $data;
if ($data = <$client>) {
my $lastline;
while ($lastline ne "ENDOFFREEZEQFVyo4Cj6Q0v\n") { #$data !~ /ENDOFFREEZEQFVyo4Cj6Q0v/) {
$lastline = <$client>;
$data .= $lastline;
}
my $request = thaw($data);
my $request;
eval {
$request = fd_retrieve($client);
};
if ($@ and $@ =~ /^Magic number checking on storable file/) { #this most likely means we ran over the end of available input
$clientset->remove($client);
close($client);
} elsif ($request) {
my $response;
my @returndata;
if ($request->{'wantarray'}) {
@@ -244,12 +240,7 @@ sub handle_dbc_conn {
} else {
@returndata = (scalar(handle_dbc_request($request)));
}
$response = freeze(\@returndata);
# $response .= "\nENDOFFREEZEQFVyo4Cj6Q0j\n";
print $client $response;
$clientset->remove($client);
close($client);
} else { #Connection terminated, clean up
store_fd(\@returndata,$client);
$clientset->remove($client);
close($client);
}
@@ -332,6 +323,8 @@ sub handle_dbc_request {
return $opentables{$tablename}->{$autocommit}->getAllNodeAttribs(@args);
} elsif ($functionname eq 'getAllEntries') {
return $opentables{$tablename}->{$autocommit}->getAllEntries(@args);
} elsif ($functionname eq 'getMAXMINEntries') {
return $opentables{$tablename}->{$autocommit}->getMAXMINEntries(@args);
} elsif ($functionname eq 'writeAllEntries') {
return $opentables{$tablename}->{$autocommit}->writeAllEntries(@args);
} elsif ($functionname eq 'getAllAttribsWhere') {
@@ -360,8 +353,6 @@ sub handle_dbc_request {
return $opentables{$tablename}->{$autocommit}->_set_use_cache(@args);
} elsif ($functionname eq '_build_cache') {
return $opentables{$tablename}->{$autocommit}->_build_cache(@args);
} elsif ($functionname eq '_clear_cache') {
return $opentables{$tablename}->{$autocommit}->_clear_cache(@args);
} else {
die "undefined function $functionname";
}
@@ -1614,7 +1605,7 @@ sub setAttribs
# delimit the columns of the table
my $delimitedcol = &delimitcol($col);
$cols = $cols . $delimitedcol . " = ?,";
push @bind, (($$elems{$col} =~ /NULL/) ? undef: $$elems{$col});
push @bind, (($$elems{$col} eq "NULL") ? undef: $$elems{$col});
}
chop($cols);
my $cmd ;
@@ -1797,7 +1788,7 @@ sub setAttribsWhere
# delimit the columns of the table
my $delimitedcol = &delimitcol($col);
$cols = $cols . $delimitedcol . " = ?,";
push @bind, (($$elems{$col} =~ /NULL/) ? undef: $$elems{$col});
push @bind, (($$elems{$col} eq "NULL") ? undef: $$elems{$col});
}
chop($cols);
my $cmd = "UPDATE " . $self->{tabname} . " set $cols where " . $where_clause;
@@ -2093,10 +2084,8 @@ sub getNodesAttribs {
my @nodeentries=$self->getNodeAttribs($_,\@realattribs,%options);
$rethash->{$_} = \@nodeentries; #$self->getNodeAttribs($_,\@attribs);
}
$self->_clear_cache;
$self->{_use_cache} = 0;
if ($self->{tabname} ne 'nodelist') { #avoid calling clear_cache on nodelist twice
$self->{nodelist}->_clear_cache;
if ($self->{tabname} ne 'nodelist') {
$self->{nodelist}->{_use_cache} = 0;
}
return $rethash;
@@ -2123,27 +2112,6 @@ sub _refresh_cache { #if cache exists, force a rebuild, leaving reference counts
return;
}
sub _clear_cache { #PRIVATE FUNCTION TO EXPIRE CACHED DATA EXPLICITLY
#This is no longer sufficient to do at destructor time, as Table objects actually live an indeterminite amount of time now
#TODO: only clear cache if ref count mentioned in build_cache is 1, otherwise decrement ref count
my $self = shift;
if ($dbworkerpid) {
return dbc_call($self,'_clear_cache',@_);
}
if ($self->{_cache_ref} > 1) { #don't clear the cache if there are still live references
$self->{_cache_ref} -= 1;
return;
} elsif ($self->{_cache_ref} == 1) { #If it is 1, decrement to zero and carry on
return;
#$self->{_cache_ref} = 0;
}
#it shouldn't have been zero, but whether it was 0 or 1, ensure that the cache is gone
$self->{_use_cache}=0; # Signal slow operation to any in-flight operations that may fail with empty cache
$self->{_cached_attriblist} = undef;
undef $self->{_tablecache};
undef $self->{_nodecache};
}
sub _build_cache { #PRIVATE FUNCTION, PLEASE DON'T CALL DIRECTLY
#TODO: increment a reference counter type thing to preserve current cache
#Also, if ref count is 1 or greater, and the current cache is less than 3 seconds old, reuse the cache?
@@ -2159,10 +2127,6 @@ sub _build_cache { #PRIVATE FUNCTION, PLEASE DON'T CALL DIRECTLY
}
if (not $refresh and $self->{_cache_ref}) { #we have active cache reference, increment counter and return
#TODO: ensure that the cache isn't somehow still ludirously old
unless ($copts{noincrementref}) {
$self->{_cache_ref} += 1;
}
my $currattr;
my $cachesufficient=1;
foreach $currattr (@$attriblist) { #if any of the requested attributes are not cached, we must rebuild
@@ -2174,6 +2138,7 @@ sub _build_cache { #PRIVATE FUNCTION, PLEASE DON'T CALL DIRECTLY
if ($self->{_cachestamp} < (time()-5)) { #NEVER use a cache older than 5 seconds
$cachesufficient=0;
}
if ($cachesufficient) { return; }
#cache is insufficient, now we must do the converse of above
#must add any currently cached columns to new list if not requested
@@ -2308,16 +2273,16 @@ sub getNodeAttribs
#skip undefined values, save time
next;
}
if ($datum->{$attrib} =~ /^\/[^\/]*\/[^\/]*\/$/)
{
my $exp = substr($datum->{$attrib}, 1);
chop $exp;
my @parts = split('/', $exp, 2);
$node =~ s/$parts[0]/$parts[1]/;
$datum->{$attrib} = $node;
my $retval = $node;
$retval =~ s/$parts[0]/$parts[1]/;
$datum->{$attrib} = $retval;
}
elsif ($datum->{$attrib} =~ /^\|.*\|.*\|$/)
elsif ($datum->{$attrib} =~ /^\|.*\|$/)
{
#Perform arithmetic and only arithmetic operations in bracketed issues on the right.
@@ -2327,6 +2292,14 @@ sub getNodeAttribs
my $exp = substr($datum->{$attrib}, 1);
chop $exp;
my @parts = split('\|', $exp, 2);
my $arraySize = @parts;
if ($arraySize < 2) { # easy regx, generate lhs from node
my $lhs;
my @numbers = $node =~ m/[\D0]*(\d+)/g;
$lhs = '[\D0]*(\d+)' x scalar(@numbers);
$lhs .= '.*$';
unshift(@parts,$lhs);
}
my $curr;
my $next;
my $prev;
@@ -2378,71 +2351,6 @@ sub getNodeAttribs
#--------------------------------------------------------------------------
=head3 getNodeSpecAttribs
Description: Retrieves the requested attributes which matching the specified options for a node
Arguments:
Noderange
The specified options
List of attributes
Return:
Attribute hash
Example:
my $tab = xCAT::Table->new('ppcdirect');
my $ent = $tab->getNodeSpecAttribs($node, {username=>'HMC'}, qw/password/);
Comments:
The keys of the specified options can be given in the list of attributes or not,
this routine will deal with them.
=cut
#--------------------------------------------------------------------------
#sub getNodeSpecAttribs {
# my $self = shift;
# my $node = shift;
# my %options = ();
# my @attribs = ();
# my @keys = ();
# if (ref $_[0] eq 'HASH') {
# %options = %{shift()};
# @attribs = @_;
# foreach my $key (keys %options) {
# if (!grep(/^$key$/, @attribs)) {
# push @attribs, $key;
# }
# }
# } else {
# @attribs = @_;
# }
# if ((keys (%options)) == 0) {
# my $ent = $self->getNodeAttribs($node, \@attribs);
# return $ent;
# } else {
# my $nodekey = "node";
# if (defined $xCAT::Schema::tabspec{$self->{tabname}}->{nodecol}) {
# $nodekey = $xCAT::Schema::tabspec{$self->{tabname}}->{nodecol};
# }
# $options{$nodekey} = $node;
# my $ent = $self->getAttribs(\%options, \@attribs);
# if ($ent) {
# return $ent;
# }
# my ($nodeghash) = $self->{nodelist}->getAttribs({node=>$node}, "groups");
# unless(defined($nodeghash) && defined($nodeghash->{groups})) {
# return undef;
# }
# my @nodegroups = split(/,/, $nodeghash->{groups});
# foreach my $group (@nodegroups) {
# $options{$nodekey} = $group;
# my $g_ret = $self->getAttribs(\%options, \@attribs);
# if ($g_ret) {
# return $g_ret;
# }
# }
# }
# return undef;
#}
#--------------------------------------------------------------------------
=head3 getNodeAttribs_nosub
Description:
@@ -2928,7 +2836,9 @@ sub getAllAttribsWhere
Arguments:
Table handle
Attribute list
Attribute list
optional hash return style
( changes the return hash structure format)
Returns:
Array of attribute values
Globals:
@@ -2936,7 +2846,8 @@ sub getAllAttribsWhere
Error:
Example:
my @entries = $self->{switchtab}->getAllNodeAttribs(['port','switch']);
my @entries = $self->{switchtab}->getAllNodeAttribs(['port','switch']);
my @entries = $self->{switchtab}->getAllNodeAttribs(['port','switch'],1);
Comments:
none
@@ -2975,8 +2886,6 @@ sub getAllNodeAttribs
unless ($options{prefetchcache}) {
$self->{_use_cache} = 0;
$self->{nodelist}->{_use_cache}=0;
$self->_clear_cache();
$self->{nodelist}->_clear_cache();
}
$self->_build_cache($attribq);
$self->{nodelist}->_build_cache(['node','groups']);
@@ -2995,10 +2904,14 @@ sub getAllNodeAttribs
$self->{nrcache}->{$data->{$nodekey}}->{tstamp} = time();
}
@nodes = @{$self->{nrcache}->{$data->{$nodekey}}->{value}}; #expand node entry, to make groups expand
unless (@nodes) { #in the event of an entry not in nodelist, use entry value verbatim
@nodes = ($data->{$nodekey});
}
#If node not in nodelist do not add to the hash (SF 3580)
#unless (@nodes) { #in the event of an entry not in nodelist, use entry value verbatim
# @nodes = ($data->{$nodekey});
#} end SF 3580
#my $localhash = $self->getNodesAttribs(\@nodes,$attribq); #NOTE: This is stupid, rebuilds the cache for every entry, FIXME
foreach (@nodes)
{
if ($donenodes{$_}) { next; }
@@ -3030,11 +2943,8 @@ sub getAllNodeAttribs
}
}
}
$self->_clear_cache();
$self->{nodelist}->_clear_cache();
$self->{_use_cache} = 0;
$self->{nodelist}->{_use_cache} = 0;
xCAT::NodeRange::retain_cache(0);
$query->finish();
if ($hashretstyle) {
return $rethash;
@@ -3150,11 +3060,18 @@ sub getAllAttribs
Error:
Example:
my $table=xCAT::Table->new("notification", -create => 1,-autocommit => 0);
my %key_col = (filename=>$fname);
$table->delEntries(\%key_col);
$table->commit;
my $table=xCAT::Table->new("nodelist");
my %keyhash;
$keyhash{node} = "node1";
$keyhash{groups} = "compute1";
$table->delEntries(\%keyhash);
$table->commit;
Build delete statement and'ing the elements of the hash
DELETE FROM nodelist WHERE ("groups" = "compute1" AND "node" = "node1")
If called with no attributes, it will delete all entries in the table.
$table->delEntries();
$table->commit;
Comments:
none
@@ -3291,7 +3208,7 @@ sub getAttribs
{
#Takes two arguments:
#-Node name (will be compared against the 'Node' column)
#-Key(s) name (will be compared against the table key(s) value)
#-List reference of attributes for which calling code wants at least one of defined
# (recurse argument intended only for internal use.)
# Returns a hash reference with requested attributes defined.
@@ -3921,7 +3838,7 @@ sub writeAllEntries
# open the file for write
unless (open($fh," > $filename")) {
my $msg="Unable to open $filename for write \n.";
`logger -t xcat $msg`;
`logger -p local4.err -t xcat $msg`;
return 1;
}
my $query;
@@ -4006,7 +3923,7 @@ sub writeAllAttribsWhere
# open the file for write
unless (open($fh," > $filename")) {
my $msg="Unable to open $filename for write \n.";
`logger -t xcat $msg`;
`logger -p local4.err -t xcat $msg`;
return 1;
}
my $header;
@@ -4073,5 +3990,98 @@ sub output_table {
print $fh "\n";
return 0;
}
#--------------------------------------------------------------------------
=head3 getMAXMINEntries
Description: Select the rows in the Table which has the MAX and the row with the
Min value for the input attribute.
Currently only the auditlog and evenlog are setup to have such an attribute (recid).
Arguments:
Table handle
attribute name ( e.g. recid)
Returns:
HASH
max=> max value
min=> min value
Globals:
Error:
Example:
my $tabh = xCAT::Table->new($table);
my $recs=$tabh->getEntries("recid"); # returns row with recid max value in database
# and the row with the min value.
Comments:
none
=cut
#--------------------------------------------------------------------------------
sub getMAXMINEntries
{
my $self = shift;
if ($dbworkerpid) {
return dbc_call($self,'getMAXMINEntries',@_);
}
my $attr = shift;
my $rets;
my $query;
my $xcatcfg=get_xcatcfg();
# delimit the disable column based on the DB
my $disable= &delimitcol("disable");
my $qstring;
if ($xcatcfg =~ /^DB2:/) { # for DB2
$qstring = "SELECT MAX (\"$attr\") FROM " . $self->{tabname} . " WHERE " . $disable . " is NULL or " . $disable . " in ('0','no','NO','No','nO')";
} else {
$qstring = "SELECT MAX($attr) FROM " . $self->{tabname} . " WHERE " . $disable . " is NULL or " . $disable . " in ('0','no','NO','No','nO')";
}
$query = $self->{dbh}->prepare($qstring);
$query->execute();
while (my $data = $query->fetchrow_hashref())
{
foreach (keys %$data)
{
if ($data->{$_} =~ /^$/)
{
$rets->{"max"} = undef;
} else {
$rets->{"max"} = $data->{$_};
}
last; # better only be one value for max
}
}
$query->finish();
if ($xcatcfg =~ /^DB2:/) { # for DB2
$qstring = "SELECT MIN (\"$attr\") FROM " . $self->{tabname} . " WHERE " . $disable . " is NULL or " . $disable . " in ('0','no','NO','No','nO')";
} else {
$qstring = "SELECT MIN($attr) FROM " . $self->{tabname} . " WHERE " . $disable . " is NULL or " . $disable . " in ('0','no','NO','No','nO')";
}
$query = $self->{dbh}->prepare($qstring);
$query->execute();
while (my $data = $query->fetchrow_hashref())
{
foreach (keys %$data)
{
if ($data->{$_} =~ /^$/)
{
$rets->{"min"} = undef;
} else {
$rets->{"min"} = $data->{$_};
}
last; # better be only one value for min
}
}
return $rets;
}
1;
File diff suppressed because it is too large Load Diff
+72 -34
View File
@@ -36,11 +36,13 @@ my %usage = (
LPAR(using Direct FSP Management) specific:
rpower <noderange> [on|off|reset|stat|state|boot|of|sms]
Blade(using Direct FSP Management) specific:
rpower <noderange> [on|off|cycle|state]
rpower <noderange> [on|onstandby|off|cycle|state|sms]
Blade(using AMM) specific:
rpower <noderange> [cycle|softoff] [-V|--verbose]
zVM specific:
rpower noderange [on|off|reset|stat|softoff]
MIC specific:
rpower noderange [stat|state|on|off|reset|boot]
",
"rbeacon" =>
"Usage: rbeacon <noderange> [on|off|stat] [-V|--verbose]
@@ -58,9 +60,11 @@ my %usage = (
Blade specific:
rvitals noderange {temp|wattage|fanspeed|leds|summary|all}
BMC specific:
rvitals noderange {temp|voltage|wattage|fanspeed|power|leds|lcds|summary|all}",
rvitals noderange {temp|voltage|wattage|fanspeed|power|leds|lcds|summary|all}
MIC specific:
rvitals noderange {thermal|all}",
"reventlog" =>
"Usage: reventlog <noderange> [all|clear|<number of entries to retrieve>] [-V|--verbose]
"Usage: reventlog <noderange> [all [-s]|clear|<number of entries to retrieve> [-s]] [-V|--verbose]
reventlog [-h|--help|-v|--version]",
"rinv" =>
"Usage:
@@ -68,29 +72,31 @@ my %usage = (
rinv <noderange> [all|model|serial] [-V|--verbose]
rinv [-h|--help|-v|--version]
BMC specific:
rinv <noderange> [vpd|mprom|deviceid|uuid|guid]
rinv <noderange> [mprom|deviceid|uuid|guid|vpd [-t]|all [-t]]
MPA specific:
rinv <noderange> [firm|bios|diag|mprom|sprom|mparom|mac|mtm]
rinv <noderange> [firm|bios|diag|mprom|sprom|mparom|mac|mtm [-t]]
PPC specific(with HMC):
rinv <noderange> [bus|config|serial|model|firm|all]
rinv <noderange> [all|bus|config|serial|model|firm [-t]]
PPC specific(using Direct FSP Management):
rinv <noderange> [firm]
rinv <noderange> [deconfig [-x]]
Blade specific:
rinv <noderange> [mtm|serial|mac|bios|diag|mprom|mparom|firm|all]
rinv <noderange> [all|serial|mac|bios|diag|mprom|mparom|firm|mtm [-t]]
IBM Flex System Compute Node specific:
rinv <noderange> [firm]
VMware specific:
rinv <noderange>
zVM specific:
rinv noderange [all|config]",
rinv noderange [all|config]
MIC specific:
rinv noderange [system|ver|board|core|gddr|all]",
"rsetboot" =>
"Usage: rsetboot <noderange> [net|hd|cd|floppy|def|stat] [-V|--verbose]
rsetboot [-h|--help|-v|--version]",
"rbootseq" =>
"Usage:
Common:
rbootseq [-h|--help|-v|--version]
rbootseq [-h|--help|-v|--version|-V|--verbose]
Blade specific:
rbootseq <noderange> [hd0|hd1|hd2|hd3|net|iscsi|usbflash|floppy|none],...
PPC (using Direct FSP Management) specific:
@@ -101,7 +107,7 @@ my %usage = (
"rspconfig" =>
"Usage:
Common:
rspconfig [-h|--help|-v|--version]
rspconfig [-h|--help|-v|--version|-V|--verbose]
BMC/MPA Common:
rspconfig <noderange> [snmpdest|alert|community] [-V|--verbose]
rspconfig <noderange> [snmpdest=<dest ip address>|alert=<on|off|en|dis|enable|disable>|community=<string>]
@@ -115,7 +121,7 @@ my %usage = (
rspconfig <noderange> [sshcfg|snmpcfg|pd1|pd2|network|swnet|ntp|textid|frame]
rspconfig <singlenode> [textid=name]
rspconfig <singlenode> [frame=number]
rspconfig <singlenode> [USERID=passwd]
rspconfig <singlenode> [USERID=passwd] [updateBMC=<y|n>]
rspconfig <noderange> [sshcfg=<enable|disable>|
snmpcfg=<enable|disable>|
pd1=<nonred|redwoperf|redwperf>|
@@ -185,7 +191,7 @@ my %usage = (
PPC specific:
getmacs <noderange> [-F filter]
getmacs <noderange> [-M]
getmacs <noderange> [-V| --verbose] [-f] [-d] [--arp] | [-D [-S server] [-G gateway] [-C client]]
getmacs <noderange> [-V| --verbose] [-f] [-d] [--arp] | [-D [-o] [-S server] [-G gateway] [-C client]]
blade specific:
getmacs <noderange> [-V| --verbose] [-d] [--arp] [-i ethN|enN]
",
@@ -193,10 +199,15 @@ my %usage = (
"Usage:
Common:
mkvm [-h|--help|-v|--version]
For PPC(with HMC):
For PPC(with HMC) specific:
mkvm noderange -i id -l singlenode [-V|--verbose]
mkvm noderange -c destcec -p profile [-V|--verbose]
mkvm noderange --full [-V|--verbose]
PPC (using Direct FSP Management) specific:
mkvm noderange [--full]
mkvm noderange [vmcpus=min/req/max] [vmmemory=min/req/max]
[vmphyslots=drc_index1,drc_index2...] [vmothersetting=hugepage:N,bsr:N]
[vmnics=vlan1,vlan2] [vmstorage=<N|viosnode:slotid>] [--vios]
For KVM
mkvm noderange -m|--master mastername -s|--size disksize -f|--force
For zVM
@@ -210,7 +221,8 @@ my %usage = (
PPC (with HMC) specific:
lsvm <noderange> [-a|--all]
PPC (using Direct FSP Management) specific:
lsvm <noderange> [-l|--long]
lsvm <noderange> [-l|--long] --p775
lsvm <noderange>
zVM specific:
lsvm noderange
lsvm noderange --getnetworknames
@@ -225,9 +237,13 @@ my %usage = (
chvm <noderange> [-p profile][-V|--verbose]
chvm <noderange> <attr>=<val> [<attr>=<val>...]
PPC (using Direct FSP Management) specific:
chvm <noderange> [-p <profile>]
chvm <noderange> --p775 [-p <profile>]
chvm <noderange> --p775 -i <id> [-m <memory_interleaving>] -r <partition_rule>
chvm <noderange> [lparname=<*|name>]
chvm <noderange> -i <id> [-m <memory_interleaving>] -r <partition_rule>
chvm <noderange> [vmcpus=min/req/max] [vmmemory=min/req/max]
[vmphyslots=drc_index1,drc_index2...] [vmothersetting=hugepage:N,bsr:N]
[vmnics=vlan1,vlan2] [vmstorage=<N|viosnode:slotid>] [--vios]
chvm <noderange> [del_vadapter=slotid]
VMware specific:
chvm <noderange> [-a size][-d disk][-p disk][--resize disk=size][--cpus count][--mem memory]
zVM specific:
@@ -258,11 +274,13 @@ my %usage = (
"rmvm" =>
"Usage: rmvm <noderange> [--service][-V|--verbose]
rmvm [-h|--help|-v|--version],
rmvm [-p] [-f]",
rmvm [-p] [-f]
PPC (using Direct FSP Management) specific:
rmvm <noderange>",
"lsslp" =>
"Usage: lsslp [-h|--help|-v|--version]
lsslp [<noderange>][-V|--verbose][-i ip[,ip..]][-w][-r|-x|-z][-n][-I][-s FRAME|CEC|MM|IVM|RSA|HMC|CMM]
[-t tries][--vpdtable][-C counts][-T timeout]",
lsslp [<noderange>][-V|--verbose][-i ip[,ip..]][-w][-r|-x|-z][-n][-I][-s FRAME|CEC|MM|IVM|RSA|HMC|CMM|IMM2|FSP]
[-u] [--range IPranges][-t tries][--vpdtable][-C counts][-T timeout]",
"rflash" =>
"Usage:
rflash [ -h|--help|-v|--version]
@@ -272,7 +290,7 @@ my %usage = (
PPC (using Direct FSP Management) specific:
rflash <noderange> -p <rpm_directory> --activate <disruptive|deferred> [-d <data_directory>]
rflash <noderange> [--commit | --recover] [-V|--verbose]
rflash <noderange> [--bpa_acdl]",
rflash <noderange> [--bpa_acdl]",
"mkhwconn" =>
"Usage:
mkhwconn [-h|--help]
@@ -317,20 +335,31 @@ my %usage = (
renergy noderange [-V] { all | { [savingstatus] [dsavingstatus] [cappingstatus] [cappingmaxmin] [cappingvalue] [cappingsoftmin] [averageAC] [averageDC] [ambienttemp] [exhausttemp] [CPUspeed] [syssbpower] [sysIPLtime] [fsavingstatus] [ffoMin] [ffoVmin] [ffoTurbo] [ffoNorm] [ffovalue] } }
renergy noderange [-V] { {savingstatus}={on | off} | {dsavingstatus}={on-norm | on-maxp | off} | {fsavingstatus}={on | off} | {ffovalue}=MHZ | {cappingstatus}={on | off} | {cappingwatt}=watt | {cappingperc}=percentage }
Blade specific :
renergy noderange [-V] { all | pd1all | pd2all | { [pd1status] [pd2status] [pd1policy] [pd2policy] [pd1powermodule1] [pd1powermodule2] [pd2powermodule1] [pd2powermodule2] [pd1avaiablepower] [pd2avaiablepower] [pd1reservedpower] [pd2reservedpower] [pd1remainpower] [pd2remainpower] [pd1inusedpower] [pd2inusedpower] [availableDC] [averageAC] [thermaloutput] [ambienttemp] [mmtemp] } }
renergy noderange [-V] { all | { [averageDC] [capability] [cappingvalue] [CPUspeed] [maxCPUspeed] [savingstatus] [dsavingstatus] } }
renergy noderange [-V] { {savingstatus}={on | off} | {dsavingstatus}={on-norm | on-maxp | off} }",
BladeCenter specific :
For Management Modules:
renergy noderange [-V] { all | pd1all | pd2all | [pd1status] [pd2status] [pd1policy] [pd2policy] [pd1powermodule1] [pd1powermodule2] [pd2powermodule1] [pd2powermodule2] [pd1avaiablepower] [pd2avaiablepower] [pd1reservedpower] [pd2reservedpower] [pd1remainpower] [pd2remainpower] [pd1inusedpower] [pd2inusedpower] [availableDC] [averageAC] [thermaloutput] [ambienttemp] [mmtemp] }
For a blade server nodes:
renergy noderange [-V] { all | [averageDC] [capability] [cappingvalue] [CPUspeed] [maxCPUspeed] [savingstatus] [dsavingstatus] }
renergy noderange [-V] { savingstatus={on | off} | dsavingstatus={on-norm | on-maxp | off} }
Flex specific :
For Flex Management Modules:
renergy noderange [-V] { all | [powerstatus] [powerpolicy] [powermodule] [avaiablepower] [reservedpower] [remainpower] [inusedpower] [availableDC] [averageAC] [thermaloutput] [ambienttemp] [mmtemp] }
For Flex node (power and x86):
renergy noderange [-V] { all | [averageDC] [capability] [cappingvalue] [cappingmaxmin] [cappingmax] [cappingmin] [cappingGmin] [CPUspeed] [maxCPUspeed] [savingstatus] [dsavingstatus] }
renergy noderange [-V] { cappingstatus={on | off} | cappingwatt=watt | cappingperc=percentage | savingstatus={on | off} | dsavingstatus={on-norm | on-maxp | off} }
iDataPlex specific :
renergy noderange [-V] [ { cappingmaxmin | cappingmax | cappingmin } ] [cappingstatus] [cappingvalue] [relhistogram]
renergy noderange [-V] { cappingstatus={on | enable | off | disable} | {cappingwatt|cappingvalue}=watt }",
"updatenode" =>
"Usage:
updatenode [-h|--help|-v|--version]
updatenode [-h|--help|-v|--version | -g|--genmypost]
or
updatenode <noderange> [-V|--verbose] [-k|--security] [-s|--sn]
updatenode <noderange> [-V|--verbose] [-k|--security] [-s|--sn] [-t <timeout>]
or
updatenode <noderange> [-V|--verbose] [-k|--security] [--user]
[--devicetype]
or
updatenode <noderange> [-V|--verbose] [-F|--sync | -f|--snsync] [-S|--sw]
updatenode <noderange> [-V|--verbose] [-F|--sync | -f|--snsync] [-l|--user[username]] [--fanout=[fanout value]] [-S|--sw] [-t <timeout>]
[-P|--scripts [script1,script2,...]] [-s|--sn]
[-A|--updateallsw] [-c|--cmdlineonly] [-d alt_source_dir]
[attr=val [attr=val...]]
@@ -343,14 +372,20 @@ Options:
[-k|--security] Update the security keys and certificates for the
target nodes.
[-k|--security] [--user] [--devicetype] Update the ssh keys for
specific device.
[-F|--sync] Perform File Syncing.
[--fanout] Allows you to assign the fanout value for the command.
See xdsh/xdcp fanout parameter in the man page.
[-f|--snsync] Performs File Syncing to the service nodes that service
the nodes in the noderange.
[-g|--genmypost] Will generate a new mypostscript file for the
the nodes in the noderange, if site precreatemypostscripts is 1 or YES.
[-l|--user] User name to run the updatenode command. It overrides the
current user which is the default.
[-S|--sw] Perform Software Maintenance.
[-P|--scripts] Execute postscripts listed in the postscripts table or
@@ -361,6 +396,9 @@ Options:
[-s|--sn] Set the server information stored on the nodes.
[-t|--timeout] Time out in seconds to allow the command to run. Default is no timeout,
except for updatenode -k which has a 10 second default timeout.
[-A|--updateallsw] Install or update all software contained in the source
directory. (AIX only)
@@ -385,7 +423,7 @@ Options:
"Usage:
Common:
nodeset [-h|--help|-v|--version]
nodeset <noderange> [install|shell|boot|runcmd=bmcsetup|netboot|iscsiboot|osimage=<imagename>|statelite|offline]",
nodeset <noderange> [install|shell|boot|runcmd=bmcsetup|netboot|iscsiboot|osimage[=<imagename>]|statelite|offline]",
"rmflexnode" =>
"Usage:
rmflexnode [-h|--help|-v|--version]
+654 -3607
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -26,7 +26,7 @@ sub grab_table_data{ #grab table data relevent to VM guest nodes
if ($vpdtab) {
$cfghash->{vpd} = $vpdtab->getNodesAttribs($noderange,['uuid']);
}
$cfghash->{vm} = $vmtab->getNodesAttribs($noderange,['node','host','migrationdest','cfgstore','storage','vidmodel','vidproto','vidpassword','storagemodel','memory','cpus','nics','nicmodel','bootorder','virtflags','datacenter','guestostype','othersettings','master']);
$cfghash->{vm} = $vmtab->getNodesAttribs($noderange,['node','host','migrationdest','cfgstore','storage','storagecache','storageformat','vidmodel','vidproto','vidpassword','storagemodel','memory','cpus','nics','nicmodel','bootorder','virtflags','datacenter','guestostype','othersettings','master']);
my $mactab = xCAT::Table->new("mac",-create=>1);
my $nrtab= xCAT::Table->new("noderes",-create=>1);
$cfghash->{mac} = $mactab->getAllNodeAttribs(['mac'],1);
+2 -5
View File
@@ -10,10 +10,7 @@ BEGIN
# if AIX - make sure we include perl 5.8.2 in INC path.
# Needed to find perl dependencies shipped in deps tarball.
if ($^O =~ /^aix/i) {
use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/5.8.2";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
}
use lib "$::XCATROOT/lib/perl";
@@ -41,7 +38,7 @@ use strict;
sub Version
{
#The following tag tells the build script where to append build info
#The following tags tells the build script where to append build info
my $version = shift;
if ($version eq 'short')
{
+22 -2
View File
@@ -18,9 +18,24 @@ sub localize_yumrepo {
$installpfx = "$installroot/$distname/$arch";
mkpath("$installroot/postscripts/repos/$distname/$arch/");
open($yumrepofile,">","$installroot/postscripts/repos/$distname/$arch/local-repository.tmpl");
find(\&check_tofix,$installpfx);
close($yumrepofile);
my %options=(
wanted => \&check_tofix,
follow_fast => 1
);
find(\%options,$installpfx);
close($yumrepofile);
}
sub remove_yumrepo {
my $self = shift;
my $installroot = shift;
$distname = shift;
$arch = shift;
rmtree("$installroot/postscripts/repos/$distname/$arch/");
}
sub check_tofix {
if (-d $File::Find::name and $File::Find::name =~ /\/repodata$/) {
if($distname =~ /rhels5/)
@@ -29,7 +44,12 @@ sub check_tofix {
}
generate_repo($File::Find::name);
}
elsif($File::Find::name =~ /\/RPM-GPG-KEY/){
qx(rpm --import $File::Find::name);
}
}
sub generate_repo
{
#write local-repository.tmpl
+452
View File
@@ -0,0 +1,452 @@
#!/usr/bin/env perl
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
package xCAT::Zone;
BEGIN
{
$::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
}
# if AIX - make sure we include perl 5.8.2 in INC path.
# Needed to find perl dependencies shipped in deps tarball.
if ($^O =~ /^aix/i) {
unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
}
use lib "$::XCATROOT/lib/perl";
# do not put a use or require for xCAT::Table here. Add to each new routine
# needing it to avoid reprocessing of user tables ( ExtTab.pm) for each command call
use POSIX qw(ceil);
use File::Path;
use Socket;
use strict;
use Symbol;
use warnings "all";
#--------------------------------------------------------------------------------
=head1 xCAT::Zone
=head2 Package Description
This program module file, is a set of Zone utilities used by xCAT *zone commands.
=cut
#--------------------------------------------------------------------------------
=head3 genSSHRootKeys
Arguments:
callback for error messages
directory in which to put the ssh RSA keys
zonename
rsa private key to use for generation ( optional)
Returns:
Error: 1 - key generation failure.
Example:
$rc =xCAT::Zone->genSSHRootKeys($callback,$keydir,$rsakey);
=cut
#--------------------------------------------------------------------------------
sub genSSHRootKeys
{
my ($class, $callback, $keydir,$zonename,$rsakey) = @_;
#
# create /keydir if needed
#
if (!-d $keydir)
{
my $cmd = "/bin/mkdir -m 700 -p $keydir";
my $output = xCAT::Utils->runcmd("$cmd", 0);
if ($::RUNCMD_RC != 0)
{
my $rsp = {};
$rsp->{error}->[0] =
"Could not create $keydir directory";
xCAT::MsgUtils->message("E", $rsp, $callback);
return 1;
}
}
#need to gen a new rsa key for root for the zone
my $pubfile = "$keydir/id_rsa.pub";
my $pvtfile = "$keydir/id_rsa";
# if exists, remove the old files
if (-r $pubfile)
{
my $cmd = "/bin/rm $keydir/id_rsa*";
my $output = xCAT::Utils->runcmd("$cmd", 0);
if ($::RUNCMD_RC != 0)
{
my $rsp = {};
$rsp->{error}->[0] = "Could not remove id_rsa files from $keydir directory.";
xCAT::MsgUtils->message("E", $rsp, $callback);
return 1;
}
}
# gen new RSA keys
my $cmd;
my $output;
# if private key was input use it
if (defined ($rsakey)) {
$cmd="/usr/bin/ssh-keygen -y -f $rsakey > $pubfile";
$output = xCAT::Utils->runcmd("$cmd", 0);
if ($::RUNCMD_RC != 0)
{
my $rsp = {};
$rsp->{error}->[0] = "Could not generate $pubfile from $rsakey";
xCAT::MsgUtils->message("E", $rsp, $callback);
return 1;
}
# now copy the private key into the directory
$cmd="cp $rsakey $keydir";
$output = xCAT::Utils->runcmd("$cmd", 0);
if ($::RUNCMD_RC != 0)
{
my $rsp = {};
$rsp->{error}->[0] = "Could not run $cmd";
xCAT::MsgUtils->message("E", $rsp, $callback);
return 1;
}
} else { # generate all new keys
$cmd = "/usr/bin/ssh-keygen -t rsa -q -b 2048 -N '' -f $pvtfile";
$output = xCAT::Utils->runcmd("$cmd", 0);
if ($::RUNCMD_RC != 0)
{
my $rsp = {};
$rsp->{error}->[0] = "Could not generate $pubfile";
xCAT::MsgUtils->message("E", $rsp, $callback);
return 1;
}
}
#make sure permissions are correct
$cmd = "chmod 644 $pubfile;chown root $pubfile";
$output = xCAT::Utils->runcmd("$cmd", 0);
if ($::RUNCMD_RC != 0)
{
my $rsp = {};
$rsp->{error}->[0] = "Could set permission and owner on $pubfile";
xCAT::MsgUtils->message("E", $rsp, $callback);
return 1;
}
}
#--------------------------------------------------------------------------------
=head3 getdefaultzone
Arguments:
None
Returns:
Name of the current default zone from the zone table
Example:
my $defaultzone =xCAT::Zone->getdefaultzone($callback);
=cut
#--------------------------------------------------------------------------------
sub getdefaultzone
{
my ($class, $callback) = @_;
my $defaultzone;
# read all the zone table and find the defaultzone, if it exists
my $tab = xCAT::Table->new("zone");
if ($tab){
my @zones = $tab->getAllAttribs('zonename','defaultzone');
foreach my $zone (@zones) {
# Look for the defaultzone=yes/1 entry
if ((defined($zone->{defaultzone})) &&
(($zone->{defaultzone} =~ /^yes$/i )
|| ($zone->{defaultzone} eq "1"))) {
$defaultzone = $zone->{zonename};
}
$tab->close();
}
} else {
my $rsp = {};
$rsp->{error}->[0] =
"Error reading the zone table. ";
xCAT::MsgUtils->message("E", $rsp, $callback);
}
return $defaultzone;
}
#--------------------------------------------------------------------------------
=head3 iszonedefined
Arguments:
zonename
Returns:
1 if the zone is already in the zone table.
Example:
xCAT::Zone->iszonedefined($zonename);
=cut
#--------------------------------------------------------------------------------
sub iszonedefined
{
my ($class,$zonename) = @_;
# checks the zone table to see if input zonename already in the table
my $tab = xCAT::Table->new("zone");
$tab->close();
my $zonehash = $tab->getAttribs({zonename => $zonename},'sshkeydir');
if ( keys %$zonehash) {
return 1;
}else{
return 0;
}
}
#--------------------------------------------------------------------------------
=head3 getzonekeydir
Arguments:
zonename
Returns:
path to the root ssh keys for the zone /etc/xcat/sshkeys/<zonename>/.ssh
1 - zone not defined
Example:
xCAT::Zone->getzonekeydir($zonename);
=cut
#--------------------------------------------------------------------------------
sub getzonekeydir
{
my ($class,$zonename) = @_;
my $tab = xCAT::Table->new("zone");
$tab->close();
my $zonehash = $tab->getAttribs({zonename => $zonename},'sshkeydir');
if ( keys %$zonehash) {
my $zonesshkeydir=$zonehash->{sshkeydir};
return $zonesshkeydir;
}else{
return 1; # this is a bad error zone not defined
}
}
#--------------------------------------------------------------------------------
=head3 getmyzonename
Arguments:
$node -one nodename
Returns:
$zonename
Example:
my $zonename=xCAT::Zone->getmyzonename($node);
=cut
#--------------------------------------------------------------------------------
sub getmyzonename
{
my ($class,$node,$callback) = @_;
my @node;
push @node,$node;
my $zonename;
my $nodelisttab = xCAT::Table->new("nodelist");
my $nodehash = $nodelisttab->getNodesAttribs(\@node, ['zonename']);
$nodelisttab->close();
if ( defined ($nodehash->{$node}->[0]->{zonename})) { # it was defined in the nodelist table
$zonename=$nodehash->{$node}->[0]->{zonename};
} else { # get the default zone
$zonename =xCAT::Zone->getdefaultzone($callback);
}
return $zonename;
}
#--------------------------------------------------------------------------------
=head3 enableSSHbetweennodes
Arguments:
zonename
Returns:
1 if the sshbetweennodes attribute is yes/1 or undefined
0 if the sshbetweennodes attribute is no/0
Example:
xCAT::Zone->enableSSHbetweennodes($zonename);
=cut
#--------------------------------------------------------------------------------
sub enableSSHbetweennodes
{
my ($class,$node,$callback) = @_;
# finds the zone of the node
my $enablessh = 1; # default
my $zonename=xCAT::Zone->getmyzonename($node);
# reads the zone table
my $tab = xCAT::Table->new("zone");
$tab->close();
# read both keys, want to know zone is in the zone table. If sshkeydir is not there
# it is either missing or invalid anyway
my $zonehash = $tab->getAttribs({zonename => $zonename},'sshbetweennodes','sshkeydir');
if (! ( keys %$zonehash)) {
my $rsp = {};
$rsp->{error}->[0] =
"$node has a zonename: $zonename that is not define in the zone table. Remove the zonename from the node, or create the zone using mkzone. The generated mypostscript may not reflect the correct setting for ENABLESSHBETWEENNODES";
xCAT::MsgUtils->message("E", $rsp, $callback);
return $enablessh;
}
my $sshbetweennodes=$zonehash->{sshbetweennodes};
if (defined ($sshbetweennodes)) {
if (($sshbetweennodes =~ /^no$/i) || ($sshbetweennodes eq "0")) {
$enablessh = 0;
} else {
$enablessh = 1;
}
} else { # not defined default yes
$enablessh = 1 ; # default
}
return $enablessh;
}
#--------------------------------------------------------------------------------
=head3 usingzones
Arguments:
none
Returns:
1 if the zone table is not empty
0 if empty
Example:
xCAT::Zone->usingzones;
=cut
#--------------------------------------------------------------------------------
sub usingzones
{
my ($class) = @_;
# reads the zonetable
my $tab = xCAT::Table->new("zone");
my @zone = $tab->getAllAttribs('zonename');
$tab->close();
if (@zone) {
return 1;
}else{
return 0;
}
}
#--------------------------------------------------------------------------------
=head3 getzoneinfo
Arguments:
callback
An array of nodes
Returns:
Hash array by zonename point to the nodes in that zonename and sshkeydir
<zonename1> -> {nodelist} -> array of nodes in the zone
-> {sshkeydir} -> directory containing ssh RSA keys
-> {defaultzone} -> is it the default zone
Example:
my %zonehash =xCAT::Zone->getzoneinfo($callback,@nodearray);
Rules:
If the nodes nodelist.zonename attribute is a zonename, it is assigned to that zone
If the nodes nodelist.zonename attribute is undefined:
If there is a defaultzone in the zone table, the node is assigned to that zone
If there is no defaultzone in the zone table, the node is assigned to the ~.ssh keydir
$::GETZONEINFO_RC
0 = good return
1 = error occured
=cut
#--------------------------------------------------------------------------------
sub getzoneinfo
{
my ($class, $callback,$nodes) = @_;
$::GETZONEINFO_RC=0;
my $zonehash;
my $defaultzone;
# read all the zone table
my $zonetab = xCAT::Table->new("zone");
my @zones;
if ($zonetab){
@zones = $zonetab->getAllAttribs('zonename','sshkeydir','sshbetweennodes','defaultzone');
$zonetab->close();
if (@zones) {
foreach my $zone (@zones) {
my $zonename=$zone->{zonename};
$zonehash->{$zonename}->{sshkeydir}= $zone->{sshkeydir};
$zonehash->{$zonename}->{defaultzone}= $zone->{defaultzone};
$zonehash->{$zonename}->{sshbetweennodes}= $zone->{sshbetweennodes};
# find the defaultzone
if ((defined($zone->{defaultzone})) &&
(($zone->{defaultzone} =~ /^yes$/i )
|| ($zone->{defaultzone} eq "1"))) {
$defaultzone = $zone->{zonename};
}
}
}
} else {
my $rsp = {};
$rsp->{error}->[0] =
"Error reading the zone table. ";
xCAT::MsgUtils->message("E", $rsp, $callback);
$::GETZONEINFO_RC =1;
return;
}
my $nodelisttab = xCAT::Table->new("nodelist");
my $nodehash = $nodelisttab->getNodesAttribs(\@$nodes, ['zonename']);
# for each of the nodes, look up it's zone name and assign to the zonehash
# If the nodes nodelist.zonename attribute is a zonename, it is assigned to that zone
# If the nodes nodelist.zonename attribute is undefined:
# If there is a defaultzone in the zone table, the node is assigned to that zone
# If there is no defaultzone error out
foreach my $node (@$nodes) {
my $zonename;
$zonename=$nodehash->{$node}->[0]->{zonename};
if (defined($zonename)) { # zonename explicitly defined in nodelist.zonename
# check to see if defined in the zone table
unless ( xCAT::Zone->iszonedefined($zonename)) {
my $rsp = {};
$rsp->{error}->[0] =
"$node has a zonename: $zonename that is not define in the zone table. Remove the zonename from the node, or create the zone using mkzone.";
xCAT::MsgUtils->message("E", $rsp, $callback);
$::GETZONEINFO_RC =1;
return;
}
push @{$zonehash->{$zonename}->{nodes}},$node;
} else { # no explict zonename
if (defined ($defaultzone)) { # there is a default zone in the zone table, use it
push @{$zonehash->{$defaultzone}->{nodes}},$node;
} else { # if no default, this is an error
my $rsp = {};
$rsp->{error}->[0] =
"There is no default zone defined in the zone table. There must be exactly one default zone. ";
xCAT::MsgUtils->message("E", $rsp, $callback);
$::GETZONEINFO_RC =1;
return;
}
}
}
return $zonehash;
}
#--------------------------------------------------------------------------------
=head3 getnodesinzone
Arguments:
callback
zonename
Returns:
Array of nodes
Example:
my @nodes =xCAT::Zone->getnodesinzone($callback,$zonename);
=cut
#--------------------------------------------------------------------------------
sub getnodesinzone
{
my ($class, $callback,$zonename) = @_;
my @nodes;
my $nodelisttab = xCAT::Table->new("nodelist");
my @nodelist=$nodelisttab->getAllAttribs('node','zonename');
# build the array of nodes in this zone
foreach my $nodename (@nodelist) {
if ((defined($nodename->{'zonename'})) && ($nodename->{'zonename'} eq $zonename)) {
push @nodes,$nodename->{'node'};
}
}
return @nodes;
}
1;
Regular → Executable
+31 -16
View File
@@ -1,9 +1,10 @@
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
# You can get copycds to recognize new distro DVDs/ISOs (so that you do not have to specify -n and -a)
# by adding the disc ids to the %distnames hash below. Follow the syntax carefully.
# Reload xcatd to have it take affect (service xcatd reload).
package xCAT::data::discinfo;
#BEGIN
#{
# $::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
#}
require Exporter;
@ISA=qw(Exporter);
@@ -11,11 +12,12 @@ require Exporter;
@EXPORT_OK=qw(distnames numdiscs);
%distnames = (
"1310229985.226287" => "centos6",
"1323560292.885204" => "centos6.2",
"1323560292.885204" => "centos6.2",
"1341569670.539525" => "centos6.3",#x86
"1362445555.957609" => "centos6.4",#x86_64
"1385726732.061157" => "centos6.5",#x86_64
"1176234647.982657" => "centos5",
"1156364963.862322" => "centos4.4",
"1178480581.024704" => "centos4.5",
@@ -25,6 +27,8 @@ require Exporter;
"1214240246.285059" => "centos5.2",
"1237641529.260981" => "centos5.3",
"1272326751.405938" => "centos5.5",
"1330913492.861127" => "centos5.8",#x86_64
"1357930415.252042" => "centos5.9",#x86_64
"1195488871.805863" => "centos4.6",
"1195487524.127458" => "centos4.6",
"1301444731.448392" => "centos5.6",
@@ -43,6 +47,11 @@ require Exporter;
"1269262918.904535" => "rhels5.5", #ppc
"1269260915.992102" => "rhels5.5", #i386
"1269263646.691048" => "rhels5.5", #x86_64
"1328205744.315196" => "rhels5.8", #x86_64
"1354216429.587870" => "rhels5.9", #x86_64
"1354214009.518521" => "rhels5.9", #ppc64
"1378846702.129847" => "rhels5.10", #x86_64
"1378845049.643372" => "rhels5.10", #ppc64
"1285193176.460470" => "rhels6", #x86_64
"1285192093.430930" => "rhels6", #ppc64
"1305068199.328169" => "rhels6.1", #x86_64
@@ -50,9 +59,17 @@ require Exporter;
"1321546114.510099" => "rhels6.2", #x86_64
"1321546739.676170" => "rhels6.2", #ppc64
"1339641244.734735" => "rhels6.3", #ppc64
"1339640147.274118" => "rhels6.3", #x86_64
"1339638991.532890" => "rhels6.3", #i386
"1285193176.593806" => "rhelhpc6",
"1339640147.274118" => "rhels6.3", #x86_64
"1339638991.532890" => "rhels6.3", #i386
"1359576752.435900" => "rhels6.4", #x86_64
"1359576196.686790" => "rhels6.4", #ppc64
"1384196515.415715" => "rhels6.5", #x86_64
"1384198011.520581" => "rhels6.5", #ppc64
"1285193176.593806" => "rhelhpc6", #x86_64
"1305067719.718814" => "rhelhpc6.1",#x86_64
"1321545261.599847" => "rhelhpc6.2",#x86_64
"1339640148.070971" => "rhelhpc6.3",#x86_64
"1359576195.413831" => "rhelhpc6.4",#x86_64, RHEL ComputeNode
"1194015916.783841" => "fedora8",
"1194015385.299901" => "fedora8",
"1210112435.291709" => "fedora9",
@@ -64,13 +81,16 @@ require Exporter;
"1273712675.937554" => "fedora13", #x86_64 DVD ISO
"1287685820.403779" => "fedora14", #x86_64 DVD ISO
"1305315870.828212" => "fedora15", #x86_64 DVD ISO
"1372355769.065812" => "fedora19", #x86_64 DVD ISO
"1372402928.663653" => "fedora19", #ppc64 DVD ISO
"1386856788.124593" => "fedora20", #x86_64 DVD ISO
"1194512200.047708" => "rhas4.6",
"1194512327.501046" => "rhas4.6",
"1241464993.830723" => "rhas4.8", #x86-64
"1273608367.051780" => "SL5.5", #x86_64 DVD ISO
"1299104542.844706" => "SL6", #x86_64 DVD ISO
"1394111947.452332" => "pkvm2.1", # ppc64
);
my %numdiscs = (
"1156364963.862322" => 4,
@@ -78,9 +98,4 @@ my %numdiscs = (
);
#sub handled_commands
#{
# return;
#};
1;
+43
View File
@@ -0,0 +1,43 @@
#!/usr/bin/env perl
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
package xCAT::data::ibmhwtypes;
require Exporter;
@EXPORT_OK=qw(parse_group mt2group);
use Data::Dumper;
my %groups2mtm = (
"x3250" => ["2583","4251","4252"],
"x3550" => ["7914","7944","7946"],
"x3650" => ["7915","7945"],
"dx360" => [],
"x220" => ["7906"],
"x240" => ["8737","7863"],
"x440" => ["7917"],
"p260" => ["7895"], #789522X, 789523X
"p460" => [], #789542X
"p470" => ["7954"],
);
%mt2group = ();
foreach my $group (keys %groups2mtm) {
foreach my $mtm (@{$groups2mtm{$group}}) {
$mt2group{$mtm} = $group;
}
}
sub parse_group {
my $mtm = shift;
if ($mtm =~ /xCAT::data/) {
$mtm = shift;
}
if ($mtm =~ /^(\w{4})/) {
$mt = $1;
if ($mt eq "7895" and $mtm =~ /789542X/i) {
return "p460";
}
return $mt2group{$mt};
}
return undef;
}
1;
+1 -1
View File
@@ -14,7 +14,7 @@ package xCAT::hpoa;
use strict;
use SOAP::Lite;
#use SOAP::Lite; # hpblade.pm requires SOAP::Lite before requiring hpoa.pm, so we can check for SOAP::Lite dynamically
use vars qw(@ISA);
@ISA = qw(SOAP::Lite);
+308 -82
View File
@@ -1,4 +1,4 @@
# IBM(c) 2012 EPL license http://www.eclipse.org/legal/epl-v10.html
# IBM(c) 2013 EPL license http://www.eclipse.org/legal/epl-v10.html
#-------------------------------------------------------
=head1
@@ -19,7 +19,8 @@ use warnings;
=head3 getUserId
Description : Get the user ID of a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : UserID
Example : my $userID = xCAT::zvmCPUtils->getUserId($node);
@@ -29,10 +30,15 @@ use warnings;
sub getUserId {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get user ID using VMCP
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q userid"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q userid"`;
my @results = split( ' ', $out );
return ( $results[0] );
@@ -43,7 +49,8 @@ sub getUserId {
=head3 getHost
Description : Get the z/VM host of a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : z/VM host
Example : my $host = xCAT::zvmCPUtils->getHost($node);
@@ -53,10 +60,15 @@ sub getUserId {
sub getHost {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get host using VMCP
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q userid"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q userid"`;
my @results = split( ' ', $out );
my $host = $results[2];
@@ -68,7 +80,8 @@ sub getHost {
=head3 getPrivileges
Description : Get the privilege class of a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : Privilege class
Example : my $class = xCAT::zvmCPUtils->getPrivileges($node);
@@ -78,10 +91,15 @@ sub getHost {
sub getPrivileges {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get privilege class
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q priv"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q priv"`;
my @out = split( '\n', $out );
$out[1] = xCAT::zvmUtils->trimStr( $out[1] );
$out[2] = xCAT::zvmUtils->trimStr( $out[2] );
@@ -95,7 +113,8 @@ sub getPrivileges {
=head3 getMemory
Description : Get the memory of a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : Memory
Example : my $memory = xCAT::zvmCPUtils->getMemory($node);
@@ -105,21 +124,29 @@ sub getPrivileges {
sub getMemory {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get memory
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q virtual storage"`;
my @out = split( '=', $out );
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q virtual storage"`;
my @out = split( ' ', $out );
return ( xCAT::zvmUtils->trimStr( $out[1] ) );
return ( xCAT::zvmUtils->trimStr( $out[2] ) );
}
#-------------------------------------------------------
=head3 getCpu
Description : Get the processor(s) of a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : Processor(s)
Example : my $proc = xCAT::zvmCPUtils->getCpu($node);
@@ -129,10 +156,15 @@ sub getMemory {
sub getCpu {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get processors
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q virtual cpus"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q virtual cpus"`;
my $str = xCAT::zvmUtils->tabStr($out);
return ($str);
@@ -143,7 +175,8 @@ sub getCpu {
=head3 getNic
Description : Get the network interface card (NIC) of a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : NIC(s)
Example : my $nic = xCAT::zvmCPUtils->getNic($node);
@@ -153,10 +186,15 @@ sub getCpu {
sub getNic {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get NIC
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q virtual nic"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q virtual nic"`;
my $str = xCAT::zvmUtils->tabStr($out);
return ($str);
@@ -167,9 +205,10 @@ sub getNic {
=head3 getNetworkNames
Description : Get a list of network names available to a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : Network names
Example : my $lans = xCAT::zvmCPUtils->getNetworkNames($node);
Example : my $lans = xCAT::zvmCPUtils->getNetworkNames($user, $node);
=cut
@@ -177,10 +216,15 @@ sub getNic {
sub getNetworkNames {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get network names
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q lan | egrep 'LAN|VSWITCH'"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q lan | egrep 'LAN|VSWITCH'"`;
my @lines = split( '\n', $out );
my @parms;
my $names;
@@ -213,9 +257,10 @@ sub getNetworkNames {
=head3 getNetworkNamesArray
Description : Get an array of network names available to a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : Array of networks names
Example : my @networks = xCAT::zvmCPUtils->getNetworkNamesArray($node);
Example : my @networks = xCAT::zvmCPUtils->getNetworkNamesArray($user, $node);
=cut
@@ -223,12 +268,17 @@ sub getNetworkNames {
sub getNetworkNamesArray {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my @networks;
my %netHash;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get the networks used by the node
my $out = `ssh $node "vmcp q v nic" | egrep -i "VSWITCH|LAN"`;
my $out = `ssh $user\@$node "$sudo /sbin/vmcp q v nic" | egrep -i "VSWITCH|LAN"`;
my @lines = split( '\n', $out );
# Loop through each line
@@ -264,7 +314,8 @@ sub getNetworkNamesArray {
=head3 getNetwork
Description : Get the network info for a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Network name
Returns : Network configuration
Example : my $config = xCAT::zvmCPUtils->getNetwork($node, $netName);
@@ -275,14 +326,19 @@ sub getNetworkNamesArray {
sub getNetwork {
# Get inputs
my ( $class, $node, $netName ) = @_;
my ( $class, $user, $node, $netName ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get network info
my $out;
if ( $netName eq "all" ) {
$out = `ssh -o ConnectTimeout=5 $node "vmcp q lan"`;
$out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q lan"`;
} else {
$out = `ssh -o ConnectTimeout=5 $node "vmcp q lan $netName"`;
$out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q lan $netName"`;
}
return ($out);
@@ -293,7 +349,8 @@ sub getNetwork {
=head3 getDisks
Description : Get the disk(s) of given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : Disk(s)
Example : my $storage = xCAT::zvmCPUtils->getDisks($node);
@@ -303,10 +360,15 @@ sub getNetwork {
sub getDisks {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get disks
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q virtual dasd"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q virtual dasd"`;
my $str = xCAT::zvmUtils->tabStr($out);
return ($str);
@@ -317,7 +379,8 @@ sub getDisks {
=head3 loadVmcp
Description : Load Linux VMCP module on a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : Nothing
Example : xCAT::zvmCPUtils->loadVmcp($node);
@@ -327,10 +390,15 @@ sub getDisks {
sub loadVmcp {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Load Linux VMCP module
my $out = `ssh -o ConnectTimeout=5 $node "modprobe vmcp"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/modprobe vmcp"`;
return;
}
@@ -339,7 +407,8 @@ sub loadVmcp {
=head3 getVswitchId
Description : Get the VSwitch ID(s) of given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : VSwitch ID(s)
Example : my @vswitch = xCAT::zvmCPUtils->getVswitchId($node);
@@ -349,10 +418,15 @@ sub loadVmcp {
sub getVswitchId {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get VSwitch
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q v nic" | grep "VSWITCH"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q v nic" | grep "VSWITCH"`;
my @lines = split( '\n', $out );
my @parms;
my @vswitch;
@@ -369,7 +443,8 @@ sub getVswitchId {
=head3 grantVSwitch
Description : Grant VSwitch access for a given userID
Arguments : HCP node
Arguments : User (root or non-root)
zHCP
User ID
VSWITCH ID
Returns : Operation results (Done/Failed)
@@ -381,15 +456,24 @@ sub getVswitchId {
sub grantVSwitch {
# Get inputs
my ( $class, $callback, $hcp, $userId, $vswitchId ) = @_;
my ( $class, $callback, $user, $hcp, $userId, $vswitchId ) = @_;
# Directory where executables are
my $dir = '/opt/zhcp/bin';
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Grant VSwitch for specified userID
my $out = `ssh $hcp "vmcp set vswitch $vswitchId grant $userId"`;
# Use SMAPI EXEC
my $out = `ssh $user\@$hcp "$sudo $dir/smcli Virtual_Network_Vswitch_Set -T SYSTEM -n $vswitchId -I $userId"`;
xCAT::zvmUtils->printSyslog("grantVSwitch- ssh $user\@$hcp $sudo $dir/smcli Virtual_Network_Vswitch_Set -T SYSTEM -n $vswitchId -I $userId");
$out = xCAT::zvmUtils->trimStr($out);
# If return string contains 'Command complete' - Operation was successful
# If return string contains 'Done' - Operation was successful
my $retStr;
if ( $out =~ m/Command complete/i ) {
if ( $out =~ m/Done/i ) {
$retStr = "Done\n";
} else {
$retStr = "Failed\n";
@@ -403,12 +487,15 @@ sub grantVSwitch {
=head3 flashCopy
Description : Flash copy (Class B users only)
Arguments : Node
Description : Flash copy
Arguments : User (root or non-root)
zHCP
Source userId
Source address
Target userId
Target address
Returns : Operation results (Done/Failed)
Example : my $results = xCAT::zvmCPUtils->flashCopy($node, $srcAddr, $targetAddr);
Example : my $results = xCAT::zvmCPUtils->flashCopy($user, $hcp, $srcAddr, $targetAddr);
=cut
@@ -416,19 +503,79 @@ sub grantVSwitch {
sub flashCopy {
# Get inputs
my ( $class, $node, $srcAddr, $tgtAddr ) = @_;
my ( $class, $user, $hcp, $srcAddr, $tgtAddr ) = @_;
# Directory where executables are
my $dir = '/opt/zhcp/bin';
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Flash copy
my $out = `ssh $node "vmcp flashcopy $srcAddr 0 end to $tgtAddr 0 end synchronous"`;
# Flash copy using CP
my $out = `ssh $user\@$hcp "$sudo /sbin/vmcp flashcopy $srcAddr 0 end to $tgtAddr 0 end synchronous"`;
$out = xCAT::zvmUtils->trimStr($out);
# If return string contains 'Command complete' - Operation was successful
my $retStr = "";
if ( $out =~ m/Command complete/i ) {
$retStr = "Done\n";
$retStr = "Copying data via CP FLASHCOPY... Done\n";
} else {
$out = xCAT::zvmUtils->tabStr($out);
$retStr = "Failed\n$out";
$retStr = "Copying data via CP FLASHCOPY... Failed\n$out";
}
return $retStr;
}
#-------------------------------------------------------
=head3 smapiFlashCopy
Description : Flash copy using SMAPI
Arguments : User (root or non-root)
zHCP
Source userId
Source address
Target userId
Target address
Returns : Operation results (Done/Failed)
Example : my $results = xCAT::zvmCPUtils->smapiFlashCopy($user, $node, $srcId, $srcAddr, $tgtId, $targetAddr);
=cut
#-------------------------------------------------------
sub smapiFlashCopy {
# Get inputs
my ( $class, $user, $hcp, $srcId, $srcAddr, $tgtId, $tgtAddr ) = @_;
# Directory where executables are
my $dir = '/opt/zhcp/bin';
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
my $hcpUserId = xCAT::zvmCPUtils->getUserId($user, $hcp);
# Use SMAPI EXEC to flash copy
my $cmd = '\"' . "CMD=FLASHCOPY $srcId $srcAddr 0 END $tgtId $tgtAddr 0 END" . '\"';
my $out = `ssh $user\@$hcp "$sudo $dir/smcli xCAT_Commands_IUO -T $hcpUserId -c $cmd"`;
xCAT::zvmUtils->printSyslog("smapiFlashCopy- ssh $user\@$hcp $sudo $dir/smcli xCAT_Commands_IUO -T $hcpUserId -c $cmd");
$out = xCAT::zvmUtils->trimStr($out);
# If return string contains 'Done' - Operation was successful
my $retStr = "";
if ( $out =~ m/Done/i ) {
$retStr = "Copying data via SMAPI FLASHCOPY... Done\n";
} else {
$out = xCAT::zvmUtils->tabStr($out);
$retStr = "Copying data via SMAPI FLASHCOPY... $out";
}
return $retStr;
@@ -439,7 +586,8 @@ sub flashCopy {
=head3 punch2Reader
Description : Write file to z/VM punch and transfer it to reader
Arguments : HCP node
Arguments : User (root or non-root)
zHCP
UserID to receive file
Source file
Target file to be created by punch (e.g. sles.parm)
@@ -451,11 +599,29 @@ sub flashCopy {
#-------------------------------------------------------
sub punch2Reader {
my ( $class, $hcp, $userId, $srcFile, $tgtFile, $options ) = @_;
my ( $class, $user, $hcp, $userId, $srcFile, $tgtFile, $options ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get source node OS
my $os = xCAT::zvmUtils->getOsVersion($user, $hcp);
# Punch to reader
my $out = `ssh -o ConnectTimeout=5 $hcp "vmur punch $options -u $userId -r $srcFile -N $tgtFile"`;
# VMUR located in different directories on RHEL and SLES
my $out;
if ( $os =~ m/sles10/i ) {
$out = `ssh -o ConnectTimeout=5 $user\@$hcp "$sudo /sbin/vmur punch $options -u $userId -r $srcFile -N $tgtFile"`;
} elsif ( $os =~ m/sles11/i ) {
$out = `ssh -o ConnectTimeout=5 $user\@$hcp "$sudo /usr/sbin/vmur punch $options -u $userId -r $srcFile -N $tgtFile"`;
} elsif ( $os =~ m/rhel/i ) {
$out = `ssh -o ConnectTimeout=5 $user\@$hcp "$sudo /usr/sbin/vmur punch $options -u $userId -r $srcFile -N $tgtFile"`;
} else {
$out = `ssh -o ConnectTimeout=5 $user\@$hcp "$sudo /usr/sbin/vmur punch $options -u $userId -r $srcFile -N $tgtFile"`;
}
# If punch is successful -- Look for this string
my $searchStr = "created and transferred";
if ( !( $out =~ m/$searchStr/i ) ) {
@@ -471,8 +637,9 @@ sub punch2Reader {
=head3 purgeReader
Description : Purge reader (Class D users only)
Arguments : HCP node
Description : Purge reader
Arguments : User (root or non-root)
zHCP
UserID to purge reader
Returns : Nothing
Example : my $rc = xCAT::zvmCPUtils->purgeReader($hcp, $userId);
@@ -481,12 +648,32 @@ sub punch2Reader {
#-------------------------------------------------------
sub purgeReader {
my ( $class, $hcp, $userId ) = @_;
my ( $class, $user, $hcp, $userId ) = @_;
# Directory where executables are
my $dir = '/opt/zhcp/bin';
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
xCAT::zvmUtils->printSyslog("sudoer:$user zHCP:$hcp sudo:$sudo");
my $out;
if (xCAT::zvmUtils->smapi4xcat($user, $hcp)) {
# Use SMAPI EXEC to purge reader
my $cmd = '\"' . "CMD=PURGE $userId RDR ALL" . '\"';
$out = `ssh $user\@$hcp "$sudo $dir/smcli xCAT_Commands_IUO -T $userId -c $cmd"`;
xCAT::zvmUtils->printSyslog("smcli xCAT_Commands_IUO -T $userId -c $cmd");
} else {
# Purge reader using CP
$out = `ssh -o ConnectTimeout=5 $user\@$hcp "$sudo /sbin/vmcp purge $userId rdr all"`;
xCAT::zvmUtils->printSyslog("/sbin/vmcp purge $userId rdr all");
}
# Purge reader
my $out = `ssh -o ConnectTimeout=5 $hcp "vmcp purge $userId rdr all"`;
return;
$out = xCAT::zvmUtils->trimStr($out);
return $out;
}
#-------------------------------------------------------
@@ -494,7 +681,8 @@ sub purgeReader {
=head3 sendCPCmd
Description : Send CP command to a given userID (Class C users only)
Arguments : HCP node
Arguments : User (root or non-root)
zHCP
UserID to send CP command
Returns : Nothing
Example : xCAT::zvmCPUtils->sendCPCmd($hcp, $userId, $cmd);
@@ -503,11 +691,31 @@ sub purgeReader {
#-------------------------------------------------------
sub sendCPCmd {
my ( $class, $hcp, $userId, $cmd ) = @_;
my ( $class, $user, $hcp, $userId, $cmd ) = @_;
# Send CP command to given userID
my $out = `ssh $hcp "vmcp send cp $userId $cmd"`;
# Directory where executables are
my $dir = '/opt/zhcp/bin';
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
xCAT::zvmUtils->printSyslog("sudoer:$user zHCP:$hcp sudo:$sudo");
my $out;
if (xCAT::zvmUtils->smapi4xcat($user, $hcp)) {
# Use SMAPI EXEC to send command
$cmd = '\"' . "CMD=SEND CP $userId " . uc($cmd) . '\"';
$out = `ssh $user\@$hcp "$sudo $dir/smcli xCAT_Commands_IUO -T $userId -c $cmd"`;
xCAT::zvmUtils->printSyslog("smcli xCAT_Commands_IUO -T $userId -c $cmd");
} else {
# Send CP command to given user
$out = `ssh $user\@$hcp "$sudo /sbin/vmcp send cp $userId $cmd"`;
xCAT::zvmUtils->printSyslog("/sbin/vmcp send cp $userId $cmd");
}
$out = xCAT::zvmUtils->trimStr($out);
return;
}
@@ -516,7 +724,8 @@ sub sendCPCmd {
=head3 getNetworkLayer
Description : Get the network layer for a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Network name
Returns : 2 - Layer 2
3 - Layer 3
@@ -527,15 +736,20 @@ sub sendCPCmd {
#-------------------------------------------------------
sub getNetworkLayer {
my ( $class, $node, $netName ) = @_;
my ( $class, $user, $node, $netName ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Exit if the network name is not given
if ( !$netName ) {
return -1;
}
# Get network type (Layer 2 or 3)
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q lan $netName"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q lan $netName"`;
if ( !$out ) {
return -1;
}
@@ -559,7 +773,8 @@ sub getNetworkLayer {
=head3 getNetworkType
Description : Get the network type of a given network
Arguments : HCP node
Arguments : User (root or non-root)
zHCP
Name of network
Returns : Network type (VSWITCH/HIPERS/QDIO)
Example : my $netType = xCAT::zvmCPUtils->getNetworkType($hcp, $netName);
@@ -568,10 +783,15 @@ sub getNetworkLayer {
#-------------------------------------------------------
sub getNetworkType {
my ( $class, $hcp, $netName ) = @_;
my ( $class, $user, $hcp, $netName ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get network details
my $out = `ssh -o ConnectTimeout=5 $hcp "vmcp q lan $netName" | grep "Type"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$hcp "$sudo /sbin/vmcp q lan $netName" | grep "Type"`;
# Go through each line and determine network type
my @lines = split( '\n', $out );
@@ -602,7 +822,8 @@ sub getNetworkType {
=head3 defineCpu
Description : Add processor(s) to given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : Nothing
Example : my $out = xCAT::zvmCPUtils->defineCpu($node, $addr, $type);
@@ -612,10 +833,15 @@ sub getNetworkType {
sub defineCpu {
# Get inputs
my ( $class, $node, $addr, $type ) = @_;
my ( $class, $user, $node, $addr, $type ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Define processor(s)
my $out = `ssh -o ConnectTimeout=5 $node "vmcp define cpu $addr type $type"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp define cpu $addr type $type"`;
return ($out);
}
+1830 -134
View File
File diff suppressed because it is too large Load Diff
+269 -78
View File
@@ -6,84 +6,275 @@
#include <stdlib.h>
#include <errno.h>
#include <netinet/in.h>
int main() {
int serverfd,port;
int getpktinfo = 1;
struct addrinfo hint, *res;
char cmsg[CMSG_SPACE(sizeof(struct in_pktinfo))];
char clientpacket[1024];
struct sockaddr_in clientaddr;
struct msghdr msg;
struct cmsghdr *cmsgptr;
struct iovec iov[1];
unsigned int myip;
char *txtptr;
iov[0].iov_base = clientpacket;
iov[0].iov_len = 1024;
memset(&msg,0,sizeof(msg));
memset(&clientaddr,0,sizeof(clientaddr));
msg.msg_name=&clientaddr;
msg.msg_namelen = sizeof(clientaddr);
msg.msg_iov = iov;
msg.msg_iovlen = 1;
msg.msg_control=&cmsg;
msg.msg_controllen = sizeof(cmsg);
char bootpmagic[4] = {0x63,0x82,0x53,0x63};
int pktsize;
int doexit=0;
port = 4011;
memset(&hint,0,sizeof(hint));
hint.ai_family = PF_INET; /* Would've done UNSPEC, but it doesn't work right and this is heavily v4 specific anyway */
hint.ai_socktype = SOCK_DGRAM;
hint.ai_flags = AI_PASSIVE;
getaddrinfo(NULL,"4011",&hint,&res);
serverfd = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
if (!serverfd) { fprintf(stderr,"That's odd...\n"); }
setsockopt(serverfd,IPPROTO_IP,IP_PKTINFO,&getpktinfo,sizeof(getpktinfo));
if (bind(serverfd,res->ai_addr ,res->ai_addrlen) < 0) {
fprintf(stderr,"Unable to bind 4011");
exit(1);
}
while (!doexit) {
pktsize = recvmsg(serverfd,&msg,0);
if (pktsize < 320) {
continue;
}
if (clientpacket[0] != 1 || memcmp(clientpacket+0xec,bootpmagic,4)) {
continue;
}
for (cmsgptr = CMSG_FIRSTHDR(&msg); cmsgptr != NULL; cmsgptr = CMSG_NXTHDR(&msg,cmsgptr)) {
if (cmsgptr->cmsg_level == IPPROTO_IP && cmsgptr->cmsg_type == IP_PKTINFO) {
myip = ((struct in_pktinfo*)(CMSG_DATA(cmsgptr)))->ipi_addr.s_addr;
}
}
clientpacket[0] = 2; //change to a reply
myip = htonl(myip); //endian neutral change
clientpacket[0x14] = (myip>>24)&0xff; //maybe don't need to do this, maybe assigning the whole int would be better
clientpacket[0x15] = (myip>>16)&0xff;
clientpacket[0x16] = (myip>>8)&0xff;
clientpacket[0x17] = (myip)&0xff;
txtptr = clientpacket+0x6c;
strncpy(txtptr,"Boot/bootmgfw.efi",128); // keeping 128 in there just in case someone changes the string
clientpacket[0xf0]=0x35; //DHCP MSG type
clientpacket[0xf1]=0x1; // LEN of 1
clientpacket[0xf2]=0x5; //DHCP ACK
clientpacket[0xf3]=0x36; //DHCP server identifier
clientpacket[0xf4]=0x4; //DHCP server identifier length
clientpacket[0xf5] = (myip>>24)&0xff; //maybe don't need to do this, maybe assigning the whole int would be better
clientpacket[0xf6] = (myip>>16)&0xff;
clientpacket[0xf7] = (myip>>8)&0xff;
clientpacket[0xf8] = (myip)&0xff;
clientpacket[0xf9] = 0xfc; // dhcp 252 'proxy', but coopeted by bootmgfw, it's actually suggesting the boot config file
clientpacket[0xfa] = 9; //length of 9
txtptr = clientpacket+0xfb;
strncpy(txtptr,"Boot/BCD",8);
clientpacket[0x103]=0;
clientpacket[0x104]=0xff;
sendto(serverfd,clientpacket,pktsize,0,(struct sockaddr*)&clientaddr,sizeof(clientaddr));
}
#include <signal.h>
#include <syslog.h>
// the chunk size for each alloc
int chunknum = 200;
int doreload = 0;
int verbose = 0;
char logmsg[50];
// the struct to store the winpe configuration for each node
struct nodecfg {
char node[50];
char data[150];
};
char *data = NULL; // the ptr to the array of all node config
int nodenum = 0;
// trigger the main program to reload configuration file
void reload(int sig) {
doreload = 1;
}
// the subroutine which is used to load configuration from
// /var/lib/xcat/proxydhcp.cfg to *data
void loadcfg () {
nodenum = 0;
free(data);
data = NULL;
doreload = 0;
char *dp = NULL;
FILE *fp;
fp = fopen("/var/lib/xcat/proxydhcp.cfg", "r");
if (fp) {
int num = chunknum;
int rtime = 1;
while (num == chunknum) {
// realloc the chunknum size of memory each to save memory usage
data = realloc(data, sizeof(struct nodecfg) * chunknum * rtime);
if (NULL == data) {
fprintf (stderr, "Cannot get enough memory.\n");
free (data);
return;
}
dp = data + sizeof(struct nodecfg) * chunknum * (rtime - 1);
memset(dp, 0, sizeof(struct nodecfg) * chunknum);
num = fread(dp, sizeof (struct nodecfg), chunknum, fp);
nodenum += num;
rtime++;
}
fclose(fp);
}
}
// get the path of winpe from configuration file which is stored in *data
char *getwinpepath(char *node) {
int i;
struct nodecfg *nc = (struct nodecfg *)data;
for (i=0; i<nodenum;i++) {
if (0 == strcmp(nc->node, node)) {
return nc->data;
}
nc++;
}
return NULL;
}
int main(int argc, char *argv[]) {
int i;
for(i = 0; i < argc; i++)
{
if (strcmp(argv[i], "-V") == 0) {
verbose = 1;
setlogmask(LOG_UPTO(LOG_DEBUG));
openlog("proxydhcp", LOG_NDELAY, LOG_LOCAL0);
}
}
// regist my pid to /var/run/xcat/proxydhcp.pid
int pid = getpid();
FILE *pidf = fopen ("/var/run/xcat/proxydhcp.pid", "w");
if (pidf) {
fprintf(pidf, "%d", pid);
fclose (pidf);
} else {
fprintf (stderr, "Cannot open /var/run/xcat/proxydhcp.pid\n");
return 1;
}
// load configuration at first start
loadcfg();
// regist signal SIGUSR1 for triggering reload configuration from outside
struct sigaction sigact;
sigact.sa_handler = &reload;
sigaction(SIGUSR1, &sigact, NULL);
int serverfd,port;
int getpktinfo = 1;
struct addrinfo hint, *res;
char cmsg[CMSG_SPACE(sizeof(struct in_pktinfo))];
char clientpacket[1024];
struct sockaddr_in clientaddr;
struct msghdr msg;
struct cmsghdr *cmsgptr;
struct iovec iov[1];
unsigned int myip, clientip;
char *txtptr;
iov[0].iov_base = clientpacket;
iov[0].iov_len = 1024;
memset(&msg,0,sizeof(msg));
memset(&clientaddr,0,sizeof(clientaddr));
msg.msg_name=&clientaddr;
msg.msg_namelen = sizeof(clientaddr);
msg.msg_iov = iov;
msg.msg_iovlen = 1;
msg.msg_control=&cmsg;
msg.msg_controllen = sizeof(cmsg);
char defaultwinpe[20] = "Boot/bootmgfw.efi";
char bootpmagic[4] = {0x63,0x82,0x53,0x63};
int pktsize;
int doexit=0;
port = 4011;
memset(&hint,0,sizeof(hint));
hint.ai_family = PF_INET; /* Would've done UNSPEC, but it doesn't work right and this is heavily v4 specific anyway */
hint.ai_socktype = SOCK_DGRAM;
hint.ai_flags = AI_PASSIVE;
getaddrinfo(NULL,"4011",&hint,&res);
serverfd = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
if (!serverfd) { fprintf(stderr,"That's odd...\n"); }
setsockopt(serverfd,IPPROTO_IP,IP_PKTINFO,&getpktinfo,sizeof(getpktinfo));
if (bind(serverfd,res->ai_addr ,res->ai_addrlen) < 0) {
fprintf(stderr,"Unable to bind 4011");
exit(1);
}
while (!doexit) {
// use select to wait for the 4011 request packages coming
fd_set fds;
FD_ZERO(&fds);
FD_SET(serverfd, &fds);
struct timeval timeout;
timeout.tv_sec = 30;
timeout.tv_usec = 0;
int rc;
if ((rc = select(serverfd+1,&fds,0,0, &timeout)) <= 0) {
if (doreload) {
loadcfg();
fprintf(stderr, "load in select\n");
}
if (verbose) {syslog(LOG_DEBUG, "reload /var/lib/xcat/proxydhcp.cfg\n");}
continue;
}
if (doreload) {
loadcfg();
if (verbose) {syslog(LOG_DEBUG, "reload /var/lib/xcat/proxydhcp.cfg\n");}
}
pktsize = recvmsg(serverfd,&msg,0);
if (pktsize < 320) {
continue;
}
if (clientpacket[0] != 1 || memcmp(clientpacket+0xec,bootpmagic,4)) {
continue;
}
for (cmsgptr = CMSG_FIRSTHDR(&msg); cmsgptr != NULL; cmsgptr = CMSG_NXTHDR(&msg,cmsgptr)) {
if (cmsgptr->cmsg_level == IPPROTO_IP && cmsgptr->cmsg_type == IP_PKTINFO) {
myip = ((struct in_pktinfo*)(CMSG_DATA(cmsgptr)))->ipi_addr.s_addr;
}
}
// get the ip of dhcp client
clientip = 0;
int i;
for (i = 0; i< 4; i++) {
clientip = clientip << 8;
clientip += (unsigned char)clientpacket[15-i];
}
// get the winpe path
struct hostent *host = gethostbyaddr(&clientip, sizeof(clientip), AF_INET);
char *winpepath = defaultwinpe;
if (host) {
if (host->h_name) {
// remove the domain part from hostname
char *place = strstr(host->h_name, ".");
if (place) {
*place = '\0';
}
winpepath = getwinpepath(host->h_name);
if (winpepath == NULL) {
winpepath = defaultwinpe;
}
if (verbose) {
sprintf(logmsg, "Received proxydhcp request from %s\n", host->h_name);
syslog(LOG_DEBUG, logmsg);
}
}
} else {
winpepath = defaultwinpe;
}
// get the Vendor class identifier
char *arch = NULL;
unsigned char *p = clientpacket + 0xf0;
while (*p != 0xff && p < (unsigned char *)clientpacket + pktsize) {
if (*p == 60) {
arch = p + 0x11;
break;
} else {
p += *(p+1) + 2;
}
}
char winboot[50]; // the bootload of winpe
memset(winboot, 0, 50);
if (0 == memcmp(arch, "00000", 5)) { // bios boot mode
strcpy(winboot, winpepath);
strcat(winboot, "Boot/pxeboot.0");
} else if (0 == memcmp(arch, "00007", 5)) { // uefi boot mode
strcpy(winboot, winpepath);
strcat(winboot, "Boot/bootmgfw.efi");
}
clientpacket[0] = 2; //change to a reply
myip = htonl(myip); //endian neutral change
clientpacket[0x14] = (myip>>24)&0xff; //maybe don't need to do this, maybe assigning the whole int would be better
clientpacket[0x15] = (myip>>16)&0xff;
clientpacket[0x16] = (myip>>8)&0xff;
clientpacket[0x17] = (myip)&0xff;
txtptr = clientpacket+0x6c;
strncpy(txtptr, winboot ,128); // keeping 128 in there just in case someone changes the string
//strncpy(txtptr,"winboot/new/Boot/bootmgfw.efi",128); // keeping 128 in there just in case someone changes the string
//strncpy(txtptr,"Boot/pxeboot.0",128); // keeping 128 in there just in case someone changes the string
clientpacket[0xf0]=0x35; //DHCP MSG type
clientpacket[0xf1]=0x1; // LEN of 1
clientpacket[0xf2]=0x5; //DHCP ACK
clientpacket[0xf3]=0x36; //DHCP server identifier
clientpacket[0xf4]=0x4; //DHCP server identifier length
clientpacket[0xf5] = (myip>>24)&0xff; //maybe don't need to do this, maybe assigning the whole int would be better
clientpacket[0xf6] = (myip>>16)&0xff;
clientpacket[0xf7] = (myip>>8)&0xff;
clientpacket[0xf8] = (myip)&0xff;
char winBCD[50];
strcpy(winBCD, winpepath);
strcat(winBCD, "Boot/BCD");
clientpacket[0xf9] = 0xfc; // dhcp 252 'proxy', but coopeted by bootmgfw, it's actually suggesting the boot config file
clientpacket[0xfa] = strlen(winBCD) + 1; //length of 9
txtptr = clientpacket+0xfb;
strncpy(txtptr, winBCD, strlen(winBCD));
clientpacket[0xfa + strlen(winBCD) + 1] = 0;
clientpacket[0xfa + strlen(winBCD) + 2] = 0xff;
sendto(serverfd,clientpacket,pktsize,0,(struct sockaddr*)&clientaddr,sizeof(clientaddr));
if (verbose) {
sprintf(logmsg, "Path of bootloader:%s. Path of BCD:%s\n", winboot, winBCD);
syslog(LOG_DEBUG, logmsg);
}
}
if (verbose) { closelog();}
}
+48
View File
@@ -0,0 +1,48 @@
/* IBM(c) 2013 EPL licens http://www.eclipse.org/legal/epl-v10.html
* Jarrod Johnson - jbjohnso@us.ibm.com
* This program periodically transmits a udp packet to designated xCAT server
* It waits for an 'ok' and then exits
*/
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
int main(int argc, char* argv[]) {
int server;
struct addrinfo hints;
struct addrinfo *results,*cur;
struct timeval timeout;
int canread=0;
char buffer[128];
srand(time(NULL));
memset(&hints,0,sizeof(struct addrinfo));
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_DGRAM;
hints.ai_protocol = IPPROTO_UDP;
fd_set selectset;
getaddrinfo(argv[1],argv[2],&hints,&results);
server = socket(AF_UNSPEC,SOCK_DGRAM,17);
for (cur=results; cur != NULL; cur = cur->ai_next) {
server = socket(cur->ai_family,cur->ai_socktype,cur->ai_protocol);
if (server == -1) continue;
if (connect(server,cur->ai_addr,cur->ai_addrlen) != -1) break;
close(server);
}
FD_ZERO(&selectset);
FD_SET(server,&selectset);
while (1) {
timeout.tv_sec = rand() % 120+60;
timeout.tv_usec = rand() % 10000;
write(server,"resourcerequest: xcatd\n",strlen("resourcerequest: xcatd\n"));
canread = select(FD_SETSIZE,&selectset,NULL,NULL,&timeout);
if (canread) {
read(server,buffer,sizeof(buffer));
if (strncmp(buffer,"resourcerequest: ok",strlen("resourcerequest: ok"))==0) {
exit(0);
}
}
}
}
+5
View File
@@ -0,0 +1,5 @@
xcat-ibmhpc (2.8.0-1) stable; urgency=low
* Initial Release
-- OCF xCAT <xcat@ocf.co.uk> Tue, 03 Apr 2012 09:00:00 -0000
+1
View File
@@ -0,0 +1 @@
5
+15
View File
@@ -0,0 +1,15 @@
Source: xcat-ibmhpc
Section: admin
Priority: extra
Maintainer: Arif Ali <aali@ocf.co.uk>
Build-Depends: debhelper (>= 5)
Standards-Version: 3.7.2
Package: xcat-ibmhpc
Architecture: all
Depends: ${perl:Depends}, perl-xcat (>= 2.8.0), xcat-client (>= 2.8.0)
Description: Install and configuration utilities for IBM HPC products in an xCAT cluster
xCAT-IBMhpc provides sample installation and configuration scripts for running
the IBM HPC software stack in an xCAT cluser. Support for the following IBM
products is provided: GPFS, LoadLeveler, Parallel Environment, ESSL and Parallel
ESSL libraries, some compilers (vac, xlC, xlf).
+88
View File
@@ -0,0 +1,88 @@
Eclipse Public License - v 1.0
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
1. DEFINITIONS
"Contribution" means:
a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and
b) in the case of each subsequent Contributor:
i) changes to the Program, and
ii) additions to the Program;
where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.
"Contributor" means any person or entity that distributes the Program.
"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.
"Program" means the Contributions distributed in accordance with this Agreement.
"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.
2. GRANT OF RIGHTS
a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.
b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
3. REQUIREMENTS
A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:
a) it complies with the terms and conditions of this Agreement; and
b) its license agreement:
i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and
iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.
When the Program is made available in source code form:
a) it must be made available under this Agreement; and
b) a copy of this Agreement must be included with each copy of the Program.
Contributors may not remove or alter any copyright notices contained within the Program.
Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.
4. COMMERCIAL DISTRIBUTION
Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.
For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.
5. NO WARRANTY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement , including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.
6. DISCLAIMER OF LIABILITY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. GENERAL
If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.
All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.
Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.
+8
View File
@@ -0,0 +1,8 @@
opt/xcat/share/xcat/IBMhpc/compilers
opt/xcat/share/xcat/IBMhpc/essl
opt/xcat/share/xcat/IBMhpc/gpfs
opt/xcat/share/xcat/IBMhpc/loadl
opt/xcat/share/xcat/IBMhpc/pe
opt/xcat/share/xcat/IBMhpc/rsct
opt/xcat/share/xcat/IBMhpc/compilers
opt/xcat/share/doc/packages/xCAT-IBMhpc
+1
View File
@@ -0,0 +1 @@
LICENSE.html
+2
View File
@@ -0,0 +1,2 @@
share/xcat/IBMhpc/* opt/xcat/share/xcat/IBMhpc/
LICENSE.html share/doc/packages/xCAT-IBMhpc/
+70
View File
@@ -0,0 +1,70 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DH_COMPAT=5
build:
pwd
dh_quilt_patch
clean:
dh_testdir
dh_testroot
dh_clean -d
install:
pwd
dh_testdir
dh_testroot
dh_installdirs
dh_install -X".svn"
dh_link
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch:
pwd
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
# dh_installexamples
dh_install -X".svn"
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_python
# dh_installinit
# dh_installcron
# dh_installinfo
dh_installman
# dh_link
# dh_strip
dh_compress
# dh_fixperms
dh_perl
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
+1
View File
@@ -0,0 +1 @@
1.0
@@ -0,0 +1,7 @@
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhels6.ppc64.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl.exlist#
@@ -0,0 +1,5 @@
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe-1200.rhels6.ppc64.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl-5103.otherpkgs.pkglist#
@@ -0,0 +1,4 @@
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhels6.ppc64.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe-1200.rhels6.ppc64.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.rhels6.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.pkglist#
@@ -0,0 +1,62 @@
#!/bin/sh
# Sample postinstall script for building a diskless SLES11 PPC64 image
# with all IBM HPC products
#
#-- this script is run after all packages from $profile.pkglist are installed
#--
#-- it gets these arguments:
#--
#-- $1 = install root (chroot directory for profile)
#-- $2 = OS version
#-- $3 = architecture
#-- $4 = profile name
#-- $5 = work dir (where genimage is located)
#--
#--
installroot=$1
osver=$2
arch=$3
profile=$4
workdir=$5
otherpkgs=/install/post/otherpkgs/$osver/$arch
################
# This script runs other postinstall scripts from the $hpc directory
# If you have created a custom copy of ANY of these scripts,
# make sure to change the execution path from $hpc/<product> to the location
# you have placed your script in
###############
hpc=/opt/xcat/share/xcat/IBMhpc
custom=/install/custom/netboot/rh
installps=/install/postscripts
# Run default postinstall shipped with xcat
/opt/xcat/share/xcat/netboot/rh/compute.rhels6.ppc64.postinstall $1 $2 $3 $4 $5
# Run general IBMhpc postinstall script
$hpc/IBMhpc.rhel.postinstall $1 $2 $3 $4 $5
# Run script to install gpfs updates
installroot=$installroot NODESETSTATE=genimage $hpc/gpfs/gpfs_updates
# Run script to update GPFS mmsdrfs file in the image
installroot=$installroot $hpc/gpfs/gpfs_mmsdrfs
# Run script to accept compiler license
installroot=$installroot NODESETSTATE=genimage $hpc/compilers/compilers_license
# Run script to install PE and accept license
installroot=$installroot pedir=$otherpkgs/pe NODESETSTATE=genimage $hpc/pe/pe_install-1200
# Run script to accept LoadLeveler license, install product rpms,
# and do some config
installroot=$installroot loadldir=$otherpkgs/loadl NODESETSTATE=genimage $hpc/loadl/loadl_install-5103
# Run script to install RSCT rpms
installroot=$installroot rsctdir=$otherpkgs/rsct NODESETSTATE=genimage $hpc/rsct/rsct_install
@@ -0,0 +1,7 @@
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhels6.x86_64.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl.exlist#
@@ -0,0 +1,3 @@
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.x86_64.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe-1200.rhels6.x86_64.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl-5103.otherpkgs.pkglist#
@@ -0,0 +1,4 @@
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhels6.x86_64.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe-1200.rhels6.x86_64.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.rhels6.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.pkglist#
@@ -0,0 +1,60 @@
#!/bin/sh
# Sample postinstall script for building a diskless SLES11 PPC64 image
# with all IBM HPC products
#
#-- this script is run after all packages from $profile.pkglist are installed
#--
#-- it gets these arguments:
#--
#-- $1 = install root (chroot directory for profile)
#-- $2 = OS version
#-- $3 = architecture
#-- $4 = profile name
#-- $5 = work dir (where genimage is located)
#--
#--
installroot=$1
osver=$2
arch=$3
profile=$4
workdir=$5
otherpkgs=/install/post/otherpkgs/$osver/$arch
################
# This script runs other postinstall scripts from the $hpc directory
# If you have created a custom copy of ANY of these scripts,
# make sure to change the execution path from $hpc/<product> to the location
# you have placed your script in
###############
hpc=/opt/xcat/share/xcat/IBMhpc
custom=/install/custom/netboot/rh
installps=/install/postscripts
# Run default postinstall shipped with xcat
/opt/xcat/share/xcat/netboot/rh/compute.rhels6.x86_64.postinstall $1 $2 $3 $4 $5
# Run general IBMhpc postinstall script
$hpc/IBMhpc.rhel.postinstall $1 $2 $3 $4 $5
# Run script to install gpfs updates
installroot=$installroot NODESETSTATE=genimage $hpc/gpfs/gpfs_updates
# Run script to update GPFS mmsdrfs file in the image
installroot=$installroot $hpc/gpfs/gpfs_mmsdrfs
# Run script to accept compiler license. x86_64 is using gcc, comment this line.
#installroot=$installroot NODESETSTATE=genimage $hpc/compilers/compilers_license
# Run script to install PE and accept license
installroot=$installroot pedir=$otherpkgs/pe NODESETSTATE=genimage $hpc/pe/pe_install-1200
# Run script to accept LoadLeveler license, install product rpms,
# and do some config
installroot=$installroot loadldir=$otherpkgs/loadl NODESETSTATE=genimage $hpc/loadl/loadl_install-5103
# Run script to install RSCT rpms. Not available on x86_64
#installroot=$installroot rsctdir=$otherpkgs/rsct NODESETSTATE=genimage $hpc/rsct/rsct_install

Some files were not shown because too many files have changed in this diff Show More