1806 Commits

Author SHA1 Message Date
5a8479cd85 update the routes for debian/ubuntu as well 2014-03-28 11:05:37 +00:00
f3449882b3 fix minor typo for iface --> ifname 2014-03-27 23:03:19 +00:00
8f3b04bd1a more fixes on device based routing 2014-03-27 22:22:11 +00:00
abbd20549a updatedate routes scripts so that we can route through a device 2014-03-27 22:15:08 +00:00
a487eeda81 fix spelling 2014-03-27 13:34:07 -04:00
e0ff38a38a refine the output for node resources 2014-03-27 10:18:29 -04:00
e75be5fe88 defect 3998 - change file vars to globals 2014-03-26 17:10:05 -04:00
c822d4f560 defect 3953 2014-03-26 13:08:41 -04:00
4d262b0db4 doxcat: the ntp -c rv 0 offset may return negative number 2014-03-26 16:02:16 -05:00
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
2709ec4d25 defect 3964 - clarify mknb man page for hierarchy with sharedtftp=0 2014-03-25 15:59:17 -04:00
4c88b1b469 defect 3941 2014-03-25 08:11:11 -04:00
95a3d8ef3c add the centos6.5 discid info, fix a problem in post.xcat 2014-03-25 17:17:00 -05:00
8be3e23145 Change the output format for several URI 2014-03-25 10:18:34 -04:00
435e989da4 build script for local automation test 2014-03-25 02:45:11 -07:00
36c2404d1c add grub2-xcat as a dependency to enable provisioning rhel7 on an ubuntu MN 2014-03-25 01:17:24 -07:00
9f9768fd28 fix xCAT-genesis-builder/buildrpm for latest mcp version 2014-03-25 14:54:51 -05:00
194b864487 Merge subroutines to xcatreg 2014-03-25 02:00:50 -07:00
eb3e5aaee0 wangjunxiaw check autotest script 2014-03-24 18:51:30 -07:00
0297069b71 remove autosetup of useflowcontorl see 4031 2014-03-24 09:26:46 -04:00
054ef6d125 rcons support for powerkvm 2014-03-24 02:03:06 -07:00
ec8a2069cd fix defect 3875 2014-03-24 05:04:30 -04:00
e60212cfb8 code frame step by step 2014-03-24 01:39:31 -07:00
dba2219b18 update man 2014-03-21 14:52:17 -04:00
5694147a73 tabprune -a supports all tables 2014-03-21 14:45:56 -04:00
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
021b4c69fb fix -L option 2014-03-21 09:57:22 -04:00
8fcfccb42f add pointer to Easy Regx documentation 2014-03-21 08:02:49 -04:00
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
17aa3f84ac support for powerkvm provisioning 2014-03-21 00:14:47 -07:00
5a3847d3ea add testcase for xdsh 2014-03-21 02:10:01 -04:00
737550e69b add testcase for xdcp 2014-03-21 02:09:21 -04:00
25f7bb326e add testcase for sysclone 2014-03-21 02:08:44 -04:00
398e63f180 add testcase for pscp 2014-03-21 02:08:10 -04:00
0a45d0bcf9 add testcase for prsync 2014-03-21 02:07:38 -04:00
1535113fb1 add testcase for ppping 2014-03-21 01:55:20 -04:00
43fefadf30 add testcase for makeroutes 2014-03-21 01:53:27 -04:00
b186280ab8 add testcase for makedns 2014-03-21 01:37:04 -04:00
373cc13aa0 fix bug #4027, replace chop with chomp 2014-03-20 23:10:31 +00:00
12f1819180 fix defect 3981 2014-03-20 14:22:47 -04:00
b96b2d0ec9 more code for supporting other hardware in OpenStack baremetal driver. 2014-03-21 06:58:10 -04:00
ff619264a4 fix autodiscovery problem as not run makehosts command 2014-03-20 18:34:41 +08:00
3bac60fac8 add more rest api implementation. refine the doc output 2014-03-20 11:26:50 -04:00
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
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
bd7a9096b2 updated table rest api description 2014-03-19 18:01:58 -04:00
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
c2b6d4def1 add rhels7 stateless and statelite support for x86_64 2014-03-19 08:00:45 -07:00
221a6854b7 add more doc info 2014-03-19 10:19:43 -04:00
149f0fd277 fix defect 4028 2014-03-19 07:23:32 -04:00
81dc649a24 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2014-03-19 02:10:47 -04:00
a0dc770139 xCAT daily regression tool script 2014-03-19 00:15:48 -04:00
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
0bd4753702 finished table get rest api calls 2014-03-18 18:47:01 -04:00
9a2305dd3a clarify that genimage -i is optional 2014-03-18 14:55:32 -04:00
a5ff9cfeec add the mechanism to auto make document for restapi 2014-03-18 10:22:17 -04:00
707f0c315b xCAT-SoftLayer package is noarch only on Linux, not on AIX 2014-03-18 16:20:19 -05:00
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
83732b7b5d makerpm: add copying xcat.conf.apach24 into /SOURCES 2014-03-18 13:56:45 -05:00
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
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
5529a93267 fix defect #4023 syntax error 2014-03-18 09:16:25 -04:00
79d7b55208 got table rest api call to work for single or multiple node 2014-03-17 18:16:13 -04:00
c55655a50c Add more rest api support 2014-03-17 10:11:27 -04:00
6cf827b891 defect 4022 and add podchecker, good debug tool 2014-03-17 06:50:23 -04:00
3f08f410fe defect 4022 and add podchecker, good debug tool 2014-03-17 06:49:46 -04:00
3eaf383163 started the table api calls 2014-03-16 19:54:00 -04:00
7f63cf564c fix for bug 3935: support nic name with space, like Local Area Network on windows 2014-03-14 17:49:49 -05:00
6f79aead61 fix for bug 3937: return 1 when lsdef <object> can not find the object 2014-03-14 17:02:47 -05:00
df3239cbb5 new implementaion of xCAT rest api 2014-03-14 09:45:04 -04:00
50fed0a17a fix for bug 3976: check -i flag 2014-03-14 16:15:16 -05:00
9ae698fb70 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2014-03-13 10:43:26 -04:00
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
5fc7fe289e Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2014-03-13 10:37:53 -04:00
2c49eb1195 additional checks 2014-03-13 10:37:35 -04:00
770e8a7301 add ubuntu/debian package files for dpkg-buildpackage 2014-03-13 07:13:28 -07:00
25e02c8b73 change sync of keys so they are cleaned up when zones are removed 2014-03-13 09:50:10 -04:00
ddcec671a0 chzone manpage 2014-03-13 08:45:16 -04:00
62cdefa219 add and improve zone manpages 2014-03-13 07:53:23 -04:00
655148ffdd add man page for mkzone 2014-03-12 12:30:23 -04:00
24da10e021 fix parsing 2014-03-12 11:33:27 -04:00
acc07123e9 rm id_rsa so we can switch between sshbetweennode yes and no 2014-03-12 10:46:45 -04:00
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
dbf362ea52 fix the description for table hwinv. 2014-03-13 03:15:59 -04:00
77f1e2452e chzone code 2014-03-11 14:19:36 -04:00
d3f205440a create instoss for AIX 6.1Y using new perl-Net_SSLeay.pm-1.55 2014-03-11 04:24:33 -04:00
dd1eaab04c fix bug 4014: updatenodegroups routine always add all group to the node 2014-03-10 19:09:26 -07:00
cc955a172b a lot of chzone, needs more work 2014-03-10 14:43:35 -04:00
4323842e28 rhels7 statelite/stateless support 2014-03-08 06:40:40 -08:00
376c57d74e fix defect 4015 2014-03-07 08:06:11 -08:00
127934c3d3 rmzone 2014-03-07 09:57:52 -05:00
1ded53ae14 rmzone support 2014-03-07 09:56:51 -05:00
35ed43d06b fix defect #3999 2014-03-07 06:02:26 -08:00
5a8d12715a fix defect #3999 and #4013 2014-03-07 05:59:13 -08:00
72abb182bb fix for bug 4010: remove xcatws.cgi from PCM build 2014-03-06 15:52:23 -06:00
c8ebe8a9df fix bug 4007: DFM support Powerlinux, mkvm return error 2014-03-05 00:53:58 -08:00
555810f7ed better hierarchical processing for zones 2014-03-04 10:22:55 -05:00
aff04efce8 docuement DSH_REMOTE_PASSWORD env variable 2014-03-04 08:32:41 -05:00
d3c808f75f fix spelling 2014-03-03 14:51:18 -05:00
f4cc23ef0f add xCAT-OpenStack-baremetal rpm 2014-03-03 14:43:53 -05:00
82d9b5b9ef support getting zone ssh keys 2014-03-03 13:29:29 -05:00
971808efbd support zone root ssh keys 2014-03-03 13:18:53 -05:00
bf27c3ac96 more zone functions 2014-03-03 13:15:40 -05:00
e9f220cecc fixed man page issue with xCAT-SoftLayer rpm 2014-03-02 18:33:13 -05:00
6be8450b9b added xCAT-SoftLayer rpm to buildcore.sh 2014-03-02 18:11:39 -05:00
aecc720d7d packaged softlayer files into an rpm 2014-03-02 18:05:09 -05:00
9893a2dd71 template and postscript for softlayer node install 2014-03-02 13:11:41 -05:00
c464e3c1d6 fix for bug 4002, configib replaces /etc/sysctl.conf 2014-02-28 14:05:59 -06:00
43f9eb6384 updatenode customized mypostscript.tmpl with ZONENAME lines 2014-02-27 10:57:02 -05:00
a7867e1370 updatenode customized mypostscript.tmpl with ZONENAME lines 2014-02-27 10:27:23 -05:00
8751f25154 fix bug 3873: DFM illegal action could work 2014-02-27 01:26:45 -08:00
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
bccae8efe7 Merge branch 'master' of ssh://linggao@git.code.sf.net/p/xcat/xcat-core 2014-02-27 10:52:23 -05:00
49d53ed922 more for xCAT baremetal driver for OpenStack 2014-02-27 10:51:50 -05:00
681ec3c968 finished test driver for node resource 2014-02-26 19:34:16 -05:00
d122c8a3fa initialize if no zones 2014-02-26 11:32:07 -05:00
318cf6bfa8 add zonename 2014-02-26 10:41:42 -05:00
8f6bbd40d9 support zonename 2014-02-26 10:39:17 -05:00
78d3e285a6 adding routines for support 2014-02-26 10:38:03 -05:00
cd8389984f fix ENABLESSHBETWEENNODES setting in mypostscript file when zones 2014-02-26 08:37:26 -05:00
a5e378a641 fix ENABLESSHBETWEENNODES setting in mypostscript file when zones 2014-02-26 08:17:21 -05:00
4abeecbd03 defect 3961: make domain name keep without . at beginning 2014-02-26 13:27:14 -05:00
ef589ec580 removed the debugger 2014-02-26 04:29:02 -05:00
f3392ba1ee defect 3994 2014-02-25 11:45:10 -05:00
ec5de72ee4 zone hierarchical support for xdsh -K 2014-02-25 10:00:43 -05:00
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
29c8b4216b removed user/pw from xcatws-test.sh 2014-02-25 04:11:22 -05:00
61a686acac update manpage for mkvm and chvm about partitioning item 2014-02-25 00:00:40 -08:00
242b39ace6 fix a typo in updatenode manpage 2014-02-25 13:50:40 -06:00
1607a1dac6 fix:convert array to hash,xcatws.cgi use hash entries 2014-02-25 00:07:34 -05:00
d5695f5727 xdsh -K support (still need to do hierarchy) 2014-02-24 11:48:09 -05:00
539f37f391 xdsh -K support (still need to do hierarchy) 2014-02-24 11:39:36 -05:00
86e663860d fix:line 6: user: command not found. add: arguments 2014-02-24 04:14:18 -05:00
b77b8e7c7d got node list of xcatws.cgi also working with new json structure 2014-02-23 16:00:37 -05:00
e251f0a2cf example rest apis working with new json structure 2014-02-23 04:13:15 -05:00
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
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
84bc552130 added workaround to pushinitrd to handle slow switches 2014-02-21 10:08:20 -05:00
56e8e8b0d5 zone coce 2014-02-20 12:34:51 -05:00
2e0ccb7d7e more code 2014-02-20 11:35:20 -05:00
e331cf5085 more code 2014-02-20 11:33:54 -05:00
4c031e1806 fix for defect 3985 2014-02-20 07:25:29 -05:00
542259583c xCAT baremetal driver for OpenStack 2014-02-20 09:45:15 -05:00
c159000f94 pushinitrd is finished, for now 2014-02-19 14:38:04 -05:00
2598e30ee1 more zone code 2014-02-19 12:52:11 -05:00
9db5ceef6a designchanges 2014-02-19 08:50:18 -05:00
1a59531d6c designchanges 2014-02-19 08:48:43 -05:00
cdf72640fd add zone table sshbetweennodes attribute 2014-02-19 07:13:24 -05:00
d45ba76f8e add missing -g flag 2014-02-19 05:24:13 -05:00
8ced46f7cc more improvements for zones 2014-02-18 10:16:24 -05:00
e16e4d327b more zone support 2014-02-18 09:15:41 -05:00
22b529f8e3 more zone support 2014-02-18 08:52:24 -05:00
d0e85aeee2 fix man page 2014-02-18 06:21:39 -05:00
1b6225b820 change comment on path of where the gpfs_updates directory is placed 2014-02-17 12:23:17 +00:00
26d8a9b4a5 Merge branch 'add/nodeconsoleondemand' of gitlab.arif-ali.co.uk:arif/xcat-core 2014-02-17 11:14:57 +00:00
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
35b919185e add cmds to push the network boot info to softlayer nodes 2014-02-15 16:31:35 -05:00
540e11c599 link in commands 2014-02-13 13:55:15 -05:00
14b61f339d Explicitly set SSL_VERIFY_MODE during start ssl in Client 2014-02-13 09:51:40 -05:00
72acb3b564 Multiple zone support 2014-02-13 07:53:31 -05:00
352f12aaee Multiple zone support 2014-02-13 07:51:44 -05:00
8987ad4702 update manpage of mkdef/chdef for osimage 2014-02-13 00:56:48 -08:00
c58b291e98 only use short node name in loadclouddata 2014-02-13 12:31:28 -05:00
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
8aa878427e take *.rhel*.pkglist as pkglist file if *.rhels*.pkglist do not exist 2014-02-12 00:54:54 -08:00
8bc490094a fix bug 3983: copycds show error info 2014-02-11 22:09:06 -08:00
76a60547ff the template for keystone and swift(all in one) 2014-02-12 12:36:47 -05:00
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
6b40d076fa new script to get softlayer info into xcat db 2014-02-11 10:54:18 -05:00
98bc658385 Have openssl req use better message digest 2014-02-11 10:07:30 -05:00
84ee1eb9f1 fix bug #3984 Ubuntu 13.10 diskless installation fails 2014-02-11 10:47:13 -08:00
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
af305e1c65 RHEL7 support for diskful compute profile complete 2014-02-10 13:59:14 -05:00
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
29b7e4331b Add signature detection for RHEL7 media to anaconda 2014-02-10 10:24:59 -05:00
b7a04d3c94 fix the issue that hostname command cannot get short hort name 2014-02-10 08:26:55 -05:00
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
80d4cf913b curl working for xcatws.cgi put and some reorg of code 2014-02-09 15:43:37 -05:00
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
7f39eb7fe4 new zone table and zonename attribute 2014-02-05 08:39:46 -05:00
d25680575d Correct } mistake in previous commit to IPMI.pm 2014-02-04 10:27:45 -05:00
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
dd8096b39f 1st put works with json dict 2014-02-03 15:58:15 -05:00
91b4041a3c Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2014-01-31 08:27:40 -05:00
466d5f0a9f test scripts for the rest api 2014-01-31 08:26:55 -05:00
7032988d7f Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2014-01-30 13:01:18 -05:00
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
65470149e9 add per node consoleondemand 2014-01-29 21:47:09 +00:00
179a62145b fix for a typo in confignics, caused ib configuration problems 2014-01-29 10:02:13 -06:00
a3d6555515 Add IBM_HPC_Stack_in_an_xCAT_Cluster 2014-01-28 14:48:34 -05:00
9db688423c minor fix 2014-01-28 13:49:26 -08:00
0f829608d1 minor fix of message 2014-01-28 13:33:57 -08:00
ae62c9e403 Add range check and message to nmap 2014-01-28 13:32:46 -08:00
2825e469fe fix Undefined subroutine &JSON::decode_json called at /opt/xcat/ws/xcatws.cgi line 168 2014-01-27 23:36:01 -05:00
4c74a94daf modify usage for 'chvm' and 'mkvm', remove debug msg 2014-01-26 22:52:30 -08:00
9374e01b76 create VIOS and logical partitions 2014-01-26 22:08:15 -08:00
5a9abe2acf The scripts used for configuring and provisioning VIOS partition 2014-01-26 22:07:08 -08:00
edf9a4dc64 windows solution: 222013 2014-01-27 13:52:33 +08:00
e299342956 fix for bug 3979: print a message with rnetboot/bootseq when gateway is empty 2014-01-27 09:57:13 -06:00
b26b5c42bd improve man for sshbetweennodes 2014-01-23 12:59:57 -05:00
d5cfab0c97 improve man for sshbetweennodes 2014-01-23 12:26:26 -05:00
addd4ed9c4 3974 rinv failed for Fujitsu Blade Server 2014-01-22 23:17:13 -08:00
6ffaad98d1 upload testcase for ubuntu 2014-01-22 22:34:33 -05:00
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
225a2564bd fix bug #3973 Ubuntu 13.10 diskful installation fails 2014-01-20 13:36:27 -08:00
542a3dbbe4 Add a new file xcat.conf.apach24 2014-01-20 13:31:53 -08:00
407bef3e3d Add a new file xcat.conf.apach24 2014-01-20 13:29:02 -08:00
ad6649144c fix bug #3973 Ubuntu 13.10 diskful installation fails 2014-01-20 13:25:36 -08:00
60f33728d2 this part of code is doubled by git automatically, remove redundant part 2014-01-20 09:34:48 -05:00
9908a8156c Change the man page of nodeset to make it supports the shutdown and shell operations 2014-01-20 11:10:07 -05:00
9cb232d069 fix 3879,remove build_input dir from complete kit xxx.tar.gz 2014-01-20 04:08:30 -05:00
cc207c5ecd kitconponent should be kitcomponent 2014-01-19 22:20:54 -05:00
584fe221c2 update imgexport/imgimport manpage to surpport kits 2014-01-19 21:56:14 -05:00
e86917e218 fix bug 3971, trim othernames variable 2014-01-17 08:45:17 +00:00
481a93554f fixed 3357,add symlink,copy postscripts and plugin files for kit 2014-01-16 21:01:50 -05:00
894bdb17e7 update building of ubuntu repo to include the supported ubuntu disctros 2014-01-16 04:33:11 -08:00
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
f93a5eb28b fix mysqlsetup -u 2014-01-15 06:15:35 -05:00
caafd03ca0 fix defect #3960 Genimage broken for CentOS 5.4 nodes 2014-01-14 01:03:54 -08:00
0fab0368ec defect 3541 2014-01-13 12:55:15 -05:00
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
dd3f08682f Merge commit 'e5bde95310d245174ae533251f7eb8a9c6c2702e' 2014-01-10 14:43:07 +00:00
b58e374758 fix the issue that proxydhcp configuration file cannot be updated 2014-01-10 09:16:42 -05:00
e5bde95310 add nichostnameprefixes to @nodeattrs 2014-01-10 14:16:15 +00:00
a4e0952b6c Fix for bug 3955. 2014-01-10 03:00:25 -05:00
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
e01827f9d3 first commit for prefix hostname feature 2014-01-09 21:02:53 +00:00
23c464cbe8 update description 2014-01-09 08:45:15 -05:00
3b1d444077 Fix detection of debian for some ubuntu installations 2014-01-08 15:16:51 -05:00
835ab6b592 simplify messages for odbcsetup call 2014-01-08 11:14:22 -05:00
9e81eccc66 fix for bug 3951: remove the code to check xcat versions during xcatd restart/reload 2014-01-08 23:47:28 +08:00
41a16bb370 fix for defect 3839 2014-01-08 10:34:21 -05:00
99802e8a09 fix for bug 3947: add check for AIX and nmap existence 2014-01-08 23:32:40 +08:00
69e5f3abf6 add catagories to site table 2014-01-08 08:30:44 -05:00
9976df95e9 handle kit staff in imgexport/imgimport 2014-01-08 20:53:39 +08:00
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
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
e02a913e86 Use sha256 by default in openssl.cnf 2014-01-07 14:18:53 -05:00
ee812a995f Have esxi report itself ready at the correct time after a netboot or install 2014-01-07 14:18:05 -05:00
23a51d7bbb fix:remoed should be removed 2014-01-07 03:08:49 -05:00
69833876fa make confignics postscript to accept the site.setinstallnic to configure installnic to be static 2014-01-07 02:27:35 -05:00
e87604fd5f defect 3948 2014-01-06 14:58:46 -05:00
bb4fa36b29 fixing the migration problem that rmkitcomp should remove the kitdeployment parameter file and its contents. 2014-01-06 15:19:24 +08:00
adb04f1651 fedora19/fedora20 diskful support 2014-01-02 23:52:13 -08:00
0723ce1117 update cases0 for buildkit 2014-01-02 02:52:25 -05:00
66bb1bc712 do not use nodels --version in /etc/init.d/xcatd 2014-01-02 14:39:40 +08:00
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
e7dc46a03a defect 3909: make xcatd loads xCAT::Enabletrace by require instead of use to save resource 2014-01-02 02:05:37 -05:00
0599847898 fix man page of mknb to indicate that mknb only supports x86_64 2014-01-02 01:14:51 -05:00
553ecb83d2 Change the Windows deployment templates to support disk configuration, nics configuration and run postscripts 2013-12-31 09:02:26 -05:00
05946f11db Enhance genimage.cmd to accept second and third params for multiple winpe support 2013-12-31 08:04:25 -05:00
9383ceca98 add an enhancement to skip not well-formed deployment parameters. 2013-12-31 17:03:21 +08:00
3b1900c52d minor change in last check of passing parameters to postinstall and postbootscritps 2013-12-31 15:36:10 +08:00
3221fed0da Add some comments and help message for genimage.bat 2013-12-30 23:03:37 -05:00
cf371f30e7 fixed the issue that missed the winpe-scripting.cab in last checkin 2013-12-30 07:02:49 -05:00
045f334d33 fixing bug 3815: don't use global variables which doest work well in hierarchy system. 2013-12-30 11:02:02 +08:00
0c911a96a3 passing kitcomponent deploy parameters to genimage package installation, postinstall script and postbootscripts. 2013-12-30 09:54:46 +08:00
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
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
b63193149d kit release should be mandatory according to mini-design 2013-12-27 02:40:32 -05:00
01f621ee32 fixing bug 3943: give accureate pattern to match output from console 2013-12-27 15:32:23 +08:00
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
62a0cb6350 Support dns master/slave configuration 2013-12-26 22:52:41 -05:00
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
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
b12771ab54 template cleanup 2013-12-23 15:29:39 -05:00
623ccadcc0 support for cinder 2013-12-23 16:29:55 -05:00
71213c8719 Add warning message on fsp wrong slp reply 2013-12-22 05:11:50 -08:00
8b38c35e63 grep in busybox do not support long optipn string, use short instead 2013-12-19 19:11:31 -08:00
1e3062d8e4 Changed table name from capacity to hwinv. 2013-12-19 22:39:50 -05:00
06af9c15a1 add rhels5.10 discinfo 2013-12-19 04:56:51 -08:00
bd36de6f1b fix syntax error if is blank 2013-12-19 04:27:16 -08:00
f75d136828 grep in busybox do not support long optipn string, use short instead 2013-12-19 01:41:19 -08:00
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
b014538601 fix the problem that rhels5.10 initrd cannot resolve the mn hostname 2013-12-18 23:21:42 -08:00
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
412f3b51c6 Modify the bug that causes mklocalrepo.sh error 2013-12-19 01:07:52 -08:00
2f17a10f92 added capacity table to store cpu, memory and disk sizes for nodes 2013-12-19 08:25:41 -05:00
c4170ce728 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-12-18 15:43:59 -05:00
69fbb8add5 fixed Error: at the beginning of monshow usage (feature request 73) 2013-12-18 15:42:25 -05:00
a2d494c501 defect 3916 2013-12-18 09:14:50 -05:00
f7812a2517 Support dns master/slave configuration 2013-12-18 01:25:16 -05:00
91347e0a9b defect 3916 2013-12-17 13:22:27 -05:00
b3af99e178 make including winpostscript dir only for linux 2013-12-17 13:55:39 -05:00
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
0851987c3b Make xCAT rpm to install all files in /install/winpostscripts/* for Windows support 2013-12-17 02:24:42 -05:00
7c81f38a80 Enhanced postscript support in templates 2013-12-16 03:57:30 -05:00
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
8b71e68c68 Add lsslp unicast support 2013-12-13 01:24:18 -08:00
ca73b902f1 Add lsslp unicast support 2013-12-13 01:19:04 -08:00
22e3c40f09 Add lsslp unicast support 2013-12-13 01:13:44 -08:00
5585b97e18 fix defect 3942 2013-12-12 11:20:40 -05:00
55f981ea47 liteimg use rc.statelite instead of rc.statelite.ppc.redhat for rhels6.5.ppc64 statelite 2013-12-12 02:15:24 -08:00
f8bb5e4b50 prevent the running of postbootscripts 2013-12-12 17:50:49 +08:00
7c45a82a53 prevent the running of postbootscripts 2013-12-12 17:35:09 +08:00
7a8b802a86 skip the bmc interface for nics configuration 2013-12-10 07:18:53 -05:00
7ab60cf654 add test cases for addkit 2013-12-10 02:21:21 -05:00
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
2dd2518120 fixing bug 3340: add test option for rmkit to list kitcomponents in use 2013-12-09 21:38:41 -08:00
e2688d0211 fixing bug 3340: add test option for rmkit to list kitcomponents in use 2013-12-09 21:24:51 -08:00
f4b432b9ab modify the vmstorage value format of local path 2013-12-09 19:01:15 -08:00
b952e390f2 add valid values of kvm, esx, rhevm to nodehm.mgt and power attributes 2013-12-09 19:01:49 -05:00
b4ab8a1b4c update description of litefile and litetree image attribute to include reference to image groups 2013-12-09 14:38:00 -05:00
94ca59d560 rhels6.5 support 2013-12-05 21:51:47 -08:00
7f5465e80f filter out another useless line of output from xhtml2pdf in getxcatdocs 2013-12-05 08:42:12 -05:00
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
1170cda7f4 fix for bug 3902: add bridge nics into dhcpd.conf, em\d+ for Fedora 2013-12-05 12:51:49 +08:00
c78350a9bf fix for bug 3922, use getNodesAttribs instead of getNodeAttribs 2013-12-05 09:46:44 +08:00
0d00b1be94 Fix for bug 3912
update net-snmp rpm version
2013-12-04 03:59:03 -05:00
810c5324b5 fix lots of info in man page 2013-12-03 07:21:07 -05:00
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
9c24bcf48b Fixed bug 3927
AIX bundle file can not recognize '#' in the middle of line.
2013-12-02 22:55:36 -05:00
20ec000e77 fixing the typo error in last commit for master 2013-12-03 00:55:56 +08:00
ef5ec3c17c Defect 3926, rerun of mysqlsetup -i leaves xcatd stopped 2013-12-02 06:43:41 -05:00
75fbe70734 two environment template files if develop_mode=false 2013-12-02 16:34:06 -05:00
7abd27fbfe put mypostscript.tmpl under /opt/xcat/share/xcat/templates/mypostscript 2013-12-02 00:10:47 -08:00
e2672df777 update linux.conf.template for autotest 2013-12-01 22:17:02 -05:00
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
794ca69b97 support multiple os version 2013-11-29 00:33:09 -05:00
d21d6271cc add test cases for buildkit 2013-11-28 22:04:16 -05:00
0585d387fb delete unused build script on ubuntu and debian 2013-11-28 00:43:57 -08:00
f02239bf29 change instoss in builddep.sh to upgrade all net-snmp rpms together - bug 3914 2013-11-27 11:12:36 -05:00
5570ab24cf removed the nbroot rpms from the yum group file 2013-11-27 04:36:07 -05:00
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
14ac0776d0 enhance os value in testcase,adding os:rhels,os:sles support in cases0 2013-11-22 03:42:11 -05:00
2ce177d155 for bug 3919: version compare problem 2013-11-22 01:38:23 -08:00
b19f226801 update the ubuntu dep tarball 2013-11-21 20:03:06 -08:00
cd984f7c51 remove 'sequential' parameter for runxcmd calling in configfpc.pm 2013-11-21 01:05:36 -08:00
8bc0488764 fix bug 3889 xcatd not running preprocess for multiple plugins when mgt=ipmi 2013-11-21 00:52:08 -08:00
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
a2a8bbf514 fixing the problem that configing bond0 flushed the default gateway. 2013-11-21 10:15:06 +08:00
49cda4ba0f Change the man pages of nodeset,genimage and geninitrd commands for adding --ignorekernelchk option 2013-11-19 07:08:56 -05:00
f132ece7be Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-11-19 15:55:13 +08:00
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
a3cad111de fix for bug 3913: do not use autocommit=0 for table read 2013-11-19 15:50:15 +08:00
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
9799071116 Fix SLES driver update media injection that is not rpm based 2013-11-18 16:31:59 -05:00
f1311c0aa8 defect 3870 2013-11-18 13:43:30 -05:00
f77e980e2e Defect 3906 2013-11-18 06:51:08 -05:00
7e66fc5072 fixed bug 3904, if the environements dir doesn't exsit, create it. 2013-11-18 16:28:05 -05:00
e52df92352 Fix problem where bnx2x dependency tree needs special handling in sles 2013-11-14 15:53:36 -05:00
0a4d9fd9bc fixed bug 3898. 2013-11-14 14:18:25 -05:00
0bf9efc290 replace , or . in xcatlib and confignics 2013-11-13 23:49:05 -08:00
6da15f4770 update to add comment on susspend and RHEL 2013-11-13 15:14:36 -05:00
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
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
c010a68bb3 cacl broadcast address in configeth 2013-11-12 18:45:49 -08:00
2afe367b20 udpate to rflash man page for NeXtScale FPC 2013-11-12 16:46:36 -05:00
e770d4b6dc Fix problem where fsm pulled in mic support 2013-11-12 10:03:53 -05:00
00f940d48b Remove ipmi.pm.legacy removal from fsm/zvm builds 2013-11-12 10:03:27 -05:00
88cbc07d96 update perl-Net_SSLeay.pm to 1.55-3 for AIX7.1.3 and above 2013-11-12 09:25:32 -05:00
039cf57962 update perl-Net_SSLeay.pm to 1.55-3 for AIX7.1.3 and above 2013-11-12 09:20:37 -05:00
efb4906c68 updated the rflash man page with the NeXtScale FPC information 2013-11-11 19:18:26 -05:00
bfca7b0bb7 update to fix configtfpc problems with running in xcatd 2013-11-11 17:49:29 -05:00
80b54be58e Add ability for appliances to forbid 32 bit architectures for RHEL 2013-11-11 15:31:32 -05:00
2f930993c0 Recognize and translate invalid url message 2013-11-11 09:25:22 -05:00
3dccc94696 Revert "Have rflash on fpc present a more readable error message"
This reverts commit 5509f6ab48.
2013-11-11 09:23:37 -05:00
5509f6ab48 Have rflash on fpc present a more readable error message 2013-11-11 09:18:00 -05:00
1e40a422b1 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-11-11 17:25:36 +08:00
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
5669c23ff1 remove the -vx flag 2013-11-11 14:46:37 -05:00
b91d6cd875 clean the chef-server data and stop the chef-server before uninstall the chef-server 2013-11-11 13:46:27 -05:00
712ac48e82 merge 2.8.2-pcm code change from qing 2013-11-11 17:24:10 +08:00
3a4b586ea9 Fix bug with genimage and sles 2013-11-08 15:58:38 -05:00
5be4fab2b3 update to rvitals man page to remove summary option 2013-11-08 10:52:46 -05:00
c7fbdf4626 update to rvitals man page to remove lcds from the options for BMC 2013-11-08 10:30:08 -05:00
9dabf11cd4 update to rinv man page to add descriptions for mprom, deveid, and guid 2013-11-08 10:24:40 -05:00
a11fd07dbc update to process firm the same as firmware 2013-11-08 09:57:20 -05:00
3698609370 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-11-08 09:54:30 -05:00
d8f6d1a6b4 confignics search ipv6 networks name automatically 2013-11-08 07:37:18 -08:00
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
3bd9fbc891 remove ipmi.pm.legacy 2013-11-08 08:31:58 -05:00
ad7916eba0 delete grep error information in xcatlib.sh 2013-11-08 02:02:16 -08:00
a3040af400 changed the description for column name powermgt in mic table 2013-11-07 23:03:44 -05:00
efb4565f32 Fix problem where SLES11 SP3 SDK disk 3 would overwrite disk 1 2013-11-07 13:45:51 -05:00
9ab47e362f Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-11-07 12:10:06 -05:00
d1066357b4 automatically save previous bld 2013-11-07 12:09:43 -05:00
b91db176cd Add option to xcoll for individual output (-i) 2013-11-07 10:31:15 -05:00
c2e30cadf2 Fix problem where reventlog would fail against a management module 2013-11-07 09:59:07 -05:00
253c365f3c build xcat-openstack on ubuntu 2013-11-07 00:06:16 -08:00
1fbcfd4785 build xcat-openstack on ubuntu 2013-11-07 00:03:10 -08:00
5249e76e70 build xcat-openstack on ubuntu 2013-11-06 23:58:05 -08:00
4e47350c59 build xcat-openstack on ubuntu 2013-11-06 23:47:48 -08:00
3c1268bc75 change group of sym links too in builddep.sh 2013-11-06 10:57:51 -05:00
2ef2f3d77b fix chgrp problem in build scripts on aix 2013-11-06 10:15:13 -05:00
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
40ea9ba362 Fixing bug 3876, reutrn with usage if no kitcomponent specified to addkitcomp/rmkitcomp 2013-11-06 18:20:22 +08:00
88926480a2 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-11-06 01:45:42 -08:00
7ba5977869 fix #3877 [FVT]genimage return confusing error message when xCAT-IBMhpc is not installed 2013-11-06 01:45:12 -08:00
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
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
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
adae06ce7b bug 3824: systeimager install failed on sles10 golden client 2013-11-04 23:49:20 -08:00
53302a77ed bug 3824: systeimager install failed on sles10 golden client 2013-11-04 23:40:46 -08:00
4fb578678c bug3872: stay on 'booting' when installing sles10 2013-11-04 22:50:19 -08:00
d863097b05 add test cases for cn installation with sn in x86_64 redhat vm with kvm 2013-11-04 03:51:45 -05:00
dcefc401c7 add testcase for sn installation in x86_64 redhat vm with kvm 2013-11-04 03:32:31 -05:00
128c35fa74 add testcase for cn diskfull installation with sn in x86_64 sles vm with kvm 2013-11-04 03:20:12 -05:00
dee77954a1 add testcase for cn installatiion with sn in x86_64 sles vm with kvm 2013-11-04 03:09:54 -05:00
72b9ac43c7 add testcase for cn installation with sn in x86_64 sles vm with kvm 2013-11-04 03:06:12 -05:00
fc3d050265 add testcase for sn installation in x86_64 sles vm with kvm 2013-11-04 02:47:30 -05:00
67c66abb1e correct a syntax 2013-11-03 22:02:49 -08:00
4904b08a78 complete comments 2013-11-03 09:40:39 -05:00
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
36e4842a1c add db2man for blding xCAT-OpenStack man pages 2013-11-01 16:45:32 -04:00
7b57d0ba6c build man pages for xCAT-OpenStack tables and objects 2013-11-01 16:38:35 -04:00
5e8d0c91e3 fix defect #2980 install kernel-source fail in genimage in rh6/centos 2013-11-01 04:06:59 -07:00
23905cb311 use ip address to find the network name 2013-11-01 03:33:39 -07:00
ae1241c0b2 add check for git pull success to build script 2013-10-31 12:57:33 -04:00
c76c88f0e2 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-31 11:33:11 -04:00
79f90a33a8 move the environment template files into the ./share/xcat/templates directory 2013-10-31 20:22:32 -04:00
e727395b75 add 2 environment template files 2013-10-31 17:06:27 -04:00
0bd4a8fc81 update configfpc 2013-10-31 11:32:45 -04:00
6f1ff7a924 fix defect #3813 imgexport 2.7 will not imgimport 2.8 2013-10-31 01:42:57 -07:00
b5589691a9 Merge branch 'master' of ssh://jjhua@git.code.sf.net/p/xcat/xcat-core 2013-10-31 16:01:25 -04:00
4cf04607d1 fixed some issues about errors and messages from Linda 2013-10-31 15:58:34 -04:00
ec3fa3a7ec Fix bug #3712 p6 IH full-disk install fails with no /tftpboot/yaboot 2013-10-31 06:54:59 -07:00
d526bbaaa8 Merge branch 'master' of ssh://git.code.sf.net/p//xcat/xcat-core 2013-10-31 06:48:09 -07:00
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
0e54237c42 bug 3831: install ubuntu hang 2013-10-30 03:05:27 -07:00
213556c27f fixing bug 3867 2013-10-30 01:46:24 -07:00
3477b1f7a1 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-30 01:44:46 -07:00
13e7903b43 buildkit fixes 3845, 3855, 3857 2013-10-29 14:45:14 -04:00
2b7def707f Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-29 11:29:51 -04:00
0eb918b7bd 3865,3864 2013-10-29 11:08:40 -04:00
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
3664f1d5c3 Implement rescansan in esx.pm and wire up svc.pm to issue rescansan 2013-10-28 20:26:40 -04:00
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
952ff38ce4 Add --format to mkstorage 2013-10-28 16:15:25 -04:00
fbce5a6a00 Add formatdisk to esx plugin, to be called by mkstorage 2013-10-28 16:07:38 -04:00
abbbe735b5 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-28 15:44:16 -04:00
b0ddf05865 Fix stateless esxi warning about ssh 2013-10-28 10:44:40 -04:00
908efae0ba Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-28 10:43:25 -04:00
ec85d06117 Suppress warnings about ssh/tech support shell 2013-10-28 10:43:08 -04:00
0d827b59ab Add a new file configeth_aix 2013-10-28 07:35:09 -07:00
3be3d26ac3 Add lsslp support for IMM2. 2013-10-28 07:27:29 -07:00
8ecf88438c Add check in confignics to give message to AIX user. 2013-10-28 06:33:44 -07:00
0c7e33c045 Add check in configeth to give message to AIX user. 2013-10-28 06:28:45 -07:00
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
06fe33434a Fix table sourced controller pointing in *storage calls in svc 2013-10-27 16:49:25 -04:00
bb351003dc Implement rmstorage for sc 2013-10-27 16:39:23 -04:00
bd899691b0 Add detachstorage call to svc plugin 2013-10-27 16:23:52 -04:00
7cab5a1f41 Have mkstorage report the volumes created. 2013-10-27 15:22:50 -04:00
dc9dd79a5b Add ability to request a specific name when doing mkstorage 2013-10-27 15:16:14 -04:00
1e8ebff8ac Add lsstorage command to the svc plugin 2013-10-27 14:51:20 -04:00
2aaeb87959 Fix shared mkstorage to actually function correctly in svc 2013-10-27 11:17:50 -04:00
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
fbc44597ca remove the print Dumper() 2013-10-27 16:16:57 -04:00
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
84f4f2c7c9 update to add the configfpc man page 2013-10-25 12:28:57 -04:00
0ffc189fee fixing bug 3821 give better description for chkkitcomp 2013-10-26 00:19:27 +08:00
f7ae606485 fixing bug 3821 give better description for chkkitcomp 2013-10-26 00:17:42 +08:00
dc9c746cbc defect 3859 2013-10-25 08:28:24 -04:00
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
aaed135c1e add a new optional --script for confignics 2013-10-25 14:52:08 -04:00
b8f9d57194 fix bug 3856: rmvm could remove cec 2013-10-24 23:32:02 -07:00
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
5de59481e1 fix bug 3850: "chtab key=fsp,username=HMC ..." doesn't work for Powerlinux 2013-10-24 23:01:18 -07:00
9a09552de5 defect 3851, further enhancements 2013-10-24 08:05:59 -04:00
4bac666675 defect 3851, further enhancements 2013-10-24 07:23:59 -04:00
3cae77406c defect 3851, further enhancements 2013-10-24 06:55:54 -04:00
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
d53c777ca1 fix bug 3820: rinv for feihu FPC is producing errors 2013-10-24 02:13:34 -07:00
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
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
fb60b65258 Handle the case where networks.nameservers is a comma delimited list 2013-10-24 04:19:47 -04:00
5565f20b8b fixing bug 3848: add prerequisite component as dependency of kit component meta rpm 2013-10-24 15:07:04 +08:00
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
526ef5fbd8 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-23 16:56:22 -04:00
3bf30fcc38 defect 3851- handle multiple MN in DB 2013-10-23 13:50:05 -04:00
857af4d498 Send a positive acknowledgement of flow request 2013-10-23 11:15:04 -04:00
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
7cff252401 add the loadclouddata, share/xcat/mypostscript/mypostscript_cloud.tmpl into xCAT-OpenStack 2013-10-23 22:56:17 -04:00
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
50a853c96e add more kernel modules of scsi for localdisk support 2013-10-23 14:01:09 -04:00
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
06e244202b correct xcat-yaboot in error message to yaboot-xcat 2013-10-22 05:11:27 -07:00
105b54d4cd fix defect #3626 yaboot.pm needs to use pkgdir 2013-10-22 04:53:02 -07:00
bcd72b4040 fix defect #3626 yaboot.pm needs to use pkgdir 2013-10-22 00:57:14 -07:00
d464001ca1 Add the chef-client to invoke the config_chef_client script 2013-10-22 14:29:56 -04:00
f8daa39253 fixed a minor problem 2013-10-22 13:25:45 -04:00
e852d0b264 changes for the command makeclouddata 2013-10-22 10:45:41 -04:00
a77996e933 Postscripts for OpenStack-Chef-Cookbook/xCAT integration 2013-10-22 10:22:39 -04:00
42bc6cef07 code for OpenStack-Chef-Cookbook/xCAT integration 2013-10-22 10:07:08 -04:00
66d62f7e65 Adding file back in, not sure why it delted 2013-10-21 14:09:31 -04:00
ef75e82fe3 Merge zVM updates into xCAT 2.8.3 2013-10-21 14:01:20 -04:00
81679ffdb9 defect 3819 2013-10-21 11:28:50 -04:00
80ba0a4601 fix bug 3774 :getmacs <noderange> -D -V failed 2013-10-21 02:54:15 -07:00
617de03d13 delete 127.0.1.1 from /etc/hosts on ubuntu compute node 2013-10-21 01:08:59 -07:00
49f714850b Adding a new plugin confgifpc to support discovery and configuring of NeXtScale FPCs 2013-10-18 16:18:14 -04:00
c88d7751de check return from find_latest_pkg 2013-10-18 07:59:14 -04:00
41b7c99bee Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-18 07:58:16 -04:00
9f53a3c4e6 check return from find_latest_pkg 2013-10-18 07:57:49 -04:00
e1c55be4ff defect 3844 2013-10-18 07:50:22 -04:00
059a4fd6f6 defect 3841 2013-10-18 07:24:00 -04:00
4fcf3a96e6 fix defect #3370 Create osimage definition for the Management Node 2013-10-18 01:58:05 -07:00
c30f46cc80 fix for bug 3841: syntax error in remoteshell postscript 2013-10-18 15:58:18 +08:00
e5d8576cfd Update Clouds table for xCAT-OpenStack 2013-10-18 15:53:10 +08:00
6bdf5bfc3f add -F option to lskit man 2013-10-17 15:18:07 -04:00
899be1a70d add -F option to lskit 2013-10-17 15:02:18 -04:00
c05b7c9a66 additional flowcontrol error handling defect 3819 2013-10-17 11:46:12 -04:00
6d00593449 enhance error reporting 2013-10-17 11:04:01 -04:00
87db317493 add env parameters in runxcatpost 2013-10-17 02:21:02 -07:00
52344f9997 fix bug 3835: 'rspconfig blade network=*' result need to be enhanced 2013-10-16 23:52:02 -07:00
f8a56d3712 bug 3801: the booted status after syslone reboot 2013-10-16 20:12:52 -07:00
b3a222e811 add build_input subdir to complete kit 2013-10-16 15:03:55 -04:00
529a287a92 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-16 12:56:34 -04:00
6043695181 bug 3801: the booted status after syslone reboot 2013-10-16 08:43:20 -07:00
74dffc5f26 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-16 06:08:51 -04:00
5e5cf68068 put manpage back 2013-10-16 06:08:30 -04:00
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
8081d7bf4f modify the operating for CMM doesn't rely on 'id' attribute 2013-10-16 02:35:27 -07:00
ace7a82ef9 modifying 'rscan -u|-w' for working through DFM 2013-10-15 19:40:17 -07:00
3bd7a65b37 remove xcat.1.pod, it is generated by xpod2man 2013-10-15 21:10:22 -04:00
7040aebf37 require perl-IO-Stty on x86_64 too, in case managing ppc64 nodes 2013-10-15 20:44:05 -04:00
b9144fc028 comment out for now disable buffering on the socket 2013-10-15 14:24:43 -04:00
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
53974fcaa8 defect 3819, changes for xcatdsklspost and setuppostbootscripts 2013-10-15 10:21:53 -04:00
9c7f3e41c0 defect 3819 enhance -s behavior 2013-10-15 09:05:44 -04:00
248415daea defect 3819 enhance -s behavior 2013-10-15 08:15:12 -04:00
3aca3b2a70 fixing bug 3510 remove useless repos after genimage 2013-10-15 17:49:01 +08:00
882d64f809 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-15 02:32:43 -07:00
8b035a3570 fixing bug 3510: remove useless repos after genimage. 2013-10-15 02:31:01 -07:00
6375fb72ad sequential discovery phase 2: add -n, osimage and -s flags 2013-10-15 16:06:26 +08:00
f788778e48 fixing bug 3821, use better description for chkkitcomp command 2013-10-15 15:43:10 +08:00
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
e2213896d2 change pkgdir description 2013-10-14 10:21:34 -04:00
a9b4000b61 for bug 3817 modification 2013-10-14 04:31:18 -07:00
7fc282011b bug 3817: sysclone support rhels 5.9 2013-10-14 03:46:53 -07:00
53dc1cde81 Do not import lpar node if FSP network associated with it 2013-10-14 15:05:30 +08:00
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
d962fc5092 change kit framework to 2 2013-10-13 10:38:20 -04:00
f229e78a9e change kit framework to 2 2013-10-13 10:37:22 -04:00
baabb6d4ba add -v and aix note 2013-10-12 12:58:15 -04:00
6fa8fdfb74 add -v and aix note 2013-10-12 12:54:38 -04:00
008e6ecdb7 filter out signing msg in build script 2013-10-11 17:42:39 -04:00
e329e234a7 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-11 17:31:10 -04:00
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
1842cff1cf add framework to -v and check for aix 2013-10-11 16:40:44 -04:00
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
5bfcf11689 Rework previous changeset somewhat and add gateway support 2013-10-11 14:57:26 -04:00
8376bfab67 Attempt to set ip and netmask remotely 2013-10-11 14:45:19 -04:00
d3c49894d5 updated description of useflowcontrol attr 2013-10-11 13:31:37 -04:00
764e263c2f defect 3819 2013-10-11 07:17:30 -04:00
fa24d1f47c defect 3819 2013-10-11 06:47:35 -04:00
3724f333fe fix defect #3830 [DEV] rinstall complains inappropriate message 2013-10-11 01:21:25 -07:00
f4610cfc6d defect 3819 2013-10-10 14:53:24 -04:00
8b84e9e0eb defect 3819 2013-10-10 13:57:18 -04:00
cd1c5414d6 defect 3819 2013-10-10 11:25:36 -04:00
4a04c8fb10 defect 3823 2013-10-10 09:09:37 -04:00
d8c0929f24 bug 3824: install systemimager on sles10 failed 2013-10-10 03:14:50 -07:00
39b5298569 bug 3824: install systemimager on sles10 failed 2013-10-10 03:11:53 -07:00
381287e451 build ubutnu packages for prega 2013-10-10 02:59:19 -07:00
bf0c433a8e fix nodeimport message problem 2013-10-10 15:29:35 +08:00
81760673e3 fix setversionvars command not found problem during promote 2013-10-09 19:54:10 -04:00
b733b711c3 defect 3819 2013-10-09 15:26:55 -04:00
b83cb162dd defect 3819 2013-10-09 13:46:42 -04:00
2a4a063169 defect 3760 2013-10-09 12:28:09 -04:00
e81fae18d1 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-08 16:09:14 -04:00
8862d59f99 Add a rmvcluster command for vSphere support 2013-10-08 16:08:51 -04:00
3598d5047d defect 3816 2013-10-08 15:36:59 -04:00
eb6cc1d15c fixed bug 3796. At the end of genimage, remove the repositories of zypper. 2013-10-08 16:22:58 -04:00
80291f4473 bug 3808: error info when running confignics 2013-10-08 01:45:23 -07:00
9c409845ba bug 3809: get the dhcp info from lease file 2013-10-07 22:57:42 -07:00
4116445f88 update again to log 2013-10-03 10:36:05 -04:00
a632c7b307 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-03 09:31:38 -04:00
8461780ea5 add find_latest_pkg 2013-10-02 14:18:34 -04:00
4711465ad0 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-02 14:16:38 -04:00
d74b4a2527 add find_latest_pkg 2013-10-02 14:15:18 -04:00
a4ebd3bf6a add find_latest_pkg 2013-10-02 14:10:36 -04:00
422cf661ee Add removevlan support to chhypervisor for vmware 2013-10-02 13:46:15 -04:00
10dd94e428 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-02 12:45:57 -04:00
8b786b30c5 If xCAT-vlan is installed, have chhypervisor change the switch and the hypervisor 2013-10-02 12:28:29 -04:00
213394d3a6 add mult pkg dir support 2013-10-02 12:00:57 -04:00
698cf75276 Refactor hostportgroup management code in esx plugin
Have esxi support --addvlan parameter
2013-10-02 10:24:18 -04:00
73d269c8c1 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-02 09:14:32 -04:00
490ea0e57c defect 3797 2013-10-02 09:13:40 -04:00
c440e892da Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-10-02 08:36:30 -04:00
57f924c50d defect 3811 2013-10-01 08:25:09 -04:00
36c1eb5fd7 Add support for missing NeXtScale sensors 2013-09-30 16:51:00 -04:00
3e6abbcc60 temp fix for defect 3797, at least get it working on SLES 2013-09-27 09:55:48 -04:00
d856b6caf4 ubuntu 13.04 stateful support 2013-09-27 02:56:44 -07:00
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
58e403c28c bug:3804 2013-09-26 19:29:30 -07:00
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
fbb1c3c1c0 Add lsvcluster private esx function 2013-09-25 17:23:27 -04:00
c0585e091b Add an easter egg entry point for createvcluster 2013-09-25 17:10:49 -04:00
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
9845d52bb7 defect 3800 2013-09-25 08:13:39 -04:00
c5119b23fd add /install/custom directory 2013-09-25 07:24:01 -04:00
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
f9c1bd930e defect 3779: change the output of driver injection to make it sensible 2013-09-25 01:49:56 -04:00
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
14696db19f defect 3799 2013-09-24 10:26:00 -04:00
b5c87afbb2 bug 3798: confignics -s failed on sles11 sp3 2013-09-24 02:14:43 -07:00
4a1260201d defect 3618 2013-09-23 12:02:52 -04:00
5f0bc62131 Fixing bug 3406, using md5 hash algorithm for centos 5.x during createrepo 2013-09-23 18:50:23 +08:00
cbba505632 confignics modification for syntactics 2013-09-23 02:57:28 -07:00
4dd033b069 Commit new nodeimport man page into master branch for Power rack-mount node support 2013-09-23 15:30:30 +08:00
ed0e4b6fc2 bug 3795: node can not boot after cloning sles11.3 with legacy mode 2013-09-23 01:07:55 -07:00
9b5e17ab88 Merge PowerLinux 7R2 support patches into master branch 2013-09-23 14:45:43 +08:00
25563cc4eb Fixing bug 3406, using md5 hash algorithm for centos 5.x during createrepo 2013-09-22 18:21:59 +08:00
eb16d571a0 Fix #3793: CFMUtils.pm can not sync-up symbolic link directory under cfmdir 2013-09-22 14:34:40 +08:00
c3749b7f93 Add support for esxi5.5 2013-09-19 15:53:29 -04:00
25c5e4686a defect 3150, check for errors from DB. We can do itgit diff tabutils.pm 2013-09-19 13:06:08 -04:00
9f7f09d0f7 defect 3580 2013-09-19 10:52:57 -04:00
a23b9ab782 defect 3785 2013-09-19 07:36:48 -04:00
57db78797e document xcatmaxbatchconnections update 2013-09-18 14:24:16 -04:00
16f60b110a document xcatmaxbatchconnections, try 2013-09-18 14:09:35 -04:00
5e0fde83cd defect 3785 2013-09-18 13:45:11 -04:00
e11faa9992 fix extra output on -k interface 2013-09-18 08:21:29 -04:00
e8d067b359 defect 3785 2013-09-18 07:08:41 -04:00
bfe3cdad05 fix for bug 3748: lsdef --osimage need to list all osimage attributes 2013-09-18 13:46:00 +08:00
982f411251 fix bug 3745: makehosts -d to delete otherinterfaces hosts 2013-09-18 07:54:40 +08:00
29d9d824fe Fix pasu with multi-node eX5 systems 2013-09-17 17:27:47 -04:00
82617219fc fix defect 3786 2013-09-17 12:23:17 -04:00
863481ab17 fix for defect 3785(PCM) requirement 2013-09-17 10:38:04 -04:00
35479c4cf9 enhancement of supporting partition on IBM power 7R1/7R2 machines. 2013-09-17 07:21:37 -07:00
ce0d0e18f7 bug 3763:write install nics's configuration file 2013-09-17 00:49:04 -07:00
22cbc9f005 confignics test case part one 2013-09-16 23:35:22 -04:00
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
07397d277f defect 3781 2013-09-16 09:29:20 -04:00
69d3902280 bug 3776: post install script hung when deploy rhels5.9 2013-09-16 01:48:57 -07:00
a731c4f20b Enhancement of fixing for bug 3780: Incorrect password selected for blade 2013-09-15 23:17:00 -07:00
c667ff8f28 add support for -a (addrows) flag 2013-09-13 14:21:29 -04:00
a854eaa08f add support for -a (addrows) flag 2013-09-13 14:18:49 -04:00
df24dc4db9 add support for -a (addrows) flag 2013-09-13 14:17:36 -04:00
a9b22625d3 add fedora19 full install support 2013-09-13 07:16:13 -07:00
71274bf063 add missing libraries 2013-09-13 07:57:40 -04:00
48e922423a defect 3750 2013-09-13 07:37:25 -04:00
bfd7e6c7ee setupntp do not return directly 2013-09-13 02:05:25 -07:00
cf14e652d1 fix bug 3780: Incorrect password selected for blade 2013-09-13 00:46:26 -07:00
0b9bccf4df defect 3750 2013-09-12 09:26:39 -04:00
1b808bcffd Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-09-12 08:19:19 -04:00
1223ff467e add -t info 2013-09-12 07:54:58 -04:00
9390efe04e confignics modify -s option 2013-09-11 23:48:49 -07:00
787fb3207c Implement rflash support for NeXtScale Enclosure manager 2013-09-11 14:26:03 -04:00
0537dc4e61 defect 3766 2013-09-11 08:56:09 -04:00
de087c0f9d defect 3778 2013-09-11 07:15:34 -04:00
f3d00082c2 Modifications of setting memory for partitions on Power Machines 2013-09-11 02:46:38 -07:00
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
f9e7a88e69 bug3767:Target node doesn't return 'booted' status in sysclone 2013-09-11 03:23:19 -07:00
d7db26b19c bug3767:Target node doesn't return 'booted' status in sysclone 2013-09-11 03:18:06 -07:00
689d4837fb bug 3755, No way to setup CN hardware clock 2013-09-11 03:09:17 -07:00
069169902d Enhance usability of makedns with more checks and better messages. 2013-09-11 05:15:36 -04:00
ad095fe20c fix defect 3777 2013-09-10 14:23:22 -04:00
0c36ee3155 add centos6 2013-09-10 09:13:58 -04:00
3b1333d88f fix the postinst script for xcat-server on ubuntu 2013-09-10 02:24:18 -07:00
73cf93f36b fixing bug 3764, add osminor version for sles. 2013-09-10 14:50:04 +08:00
6c6f954ff8 enable snmpv3 monitoring on Linux on master 2013-09-10 14:48:46 +08:00
e42ce7835c Add a column 'physlots' for 'vm' table, it is used for partitioning. 2013-09-08 23:26:25 -07:00
b10396f556 bug 3765 2013-09-08 23:55:13 -07:00
742fc45068 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-09-06 11:16:13 -04:00
f39001788f Provide rpower reseat for NeXTScale 2013-09-06 11:15:39 -04:00
0fac74810f #3655 - add two new subroutines for comparing rpm versions 2013-09-05 13:05:39 -04:00
3b82ab0817 #3674 - add error return code 2013-09-05 12:29:37 -04:00
cf6f185635 #3752 - change tmp work dir location 2013-09-05 11:20:25 -04:00
ec4622a096 Modify manpage for mkvm, lsvm, rmvm. And checking if parition is disabled. 2013-09-05 01:28:27 -07:00
371c4c79a9 Supporting full-partition and physical-partition with DFM 2013-09-05 01:28:01 -07:00
4cb0606746 bug 3768,3769,3770 2013-09-04 20:59:20 -07:00
db4b5a2065 add the storage.rhels6.pkglist 2013-09-05 09:59:39 +08:00
3e71a82741 add an error message if mn's hostname can not be resolved. 2013-09-04 05:58:19 -04:00
0f9cd87b13 for bug 3762 2013-09-04 02:45:31 -07:00
9263cb2f15 specify --checksum for createrepo so the repo will work on rhel5 2013-08-31 10:35:25 -04:00
e9d60852b7 add rhelhpc6.4 support 2013-08-30 09:13:17 +08:00
c9053f4a6c add timeout support to updatenode to pass into xdsh 2013-08-29 13:53:34 -04:00
bfbdb24622 add timeout support to updatenode to pass into xdsh 2013-08-29 13:34:13 -04:00
f2ded51dec implement timeout in xdsh -K 2013-08-29 09:12:50 -04:00
856dd30fae more code to enable user input timeout on xdsh -K 2013-08-29 07:59:36 -04:00
a5fb87a364 add syscloneimgupdate scripts to update the target nodes files 2013-08-29 02:59:32 -07:00
2662d2913f add support to supply expect timeout 2013-08-28 13:07:38 -04:00
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
072e57437a Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-27 12:55:34 -04:00
f61d224d1c fix bld script change 2013-08-27 12:49:04 -04:00
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
79abddc476 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-27 12:36:38 -04:00
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
b20f9ae848 change git cmd used to get current branch 2013-08-27 11:23:22 -04:00
bacfae1024 fixes for defect 3750 2013-08-27 09:48:31 -04:00
260d2a5746 sles.pm modification for sysclone on sles 2013-08-26 20:51:26 -07:00
aa892335de update scripts for sysclone supports sles 2013-08-26 20:16:47 -07:00
1fc54f6bdc changes for defect 3758 git patch 2013-08-26 11:08:06 -04:00
b2f511f4df sles.pm modification for sles 2013-08-26 00:01:05 -07:00
098ddc4b46 Just a checkin test, no change 2013-08-26 01:55:39 -04:00
1f7cb1b593 Just a checkin test, no change 2013-08-26 01:53:16 -04:00
2f175e4cef Just a checkin test, no change 2013-08-26 01:48:17 -04:00
0b874a4bd5 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-26 09:29:00 +08:00
a8c36721b0 add additonal ethernet setup 2013-08-24 06:32:33 -04:00
afc950912d kill the child processes when create socket failed 2013-08-23 06:42:36 -04:00
e87d5fa074 add mksysclone in sles.pm 2013-08-22 23:32:02 -07:00
56ed1f53d0 postscripts modification for sysclone on sles 2013-08-22 22:58:53 -07:00
82e6644c85 Correct more issues with noderange 2013-08-22 14:35:21 -04:00
84b36c29ab fix schema definition 2013-08-22 12:03:14 -04:00
10a1973aae make geninitrd could run against statelite image to generate initrd 2013-08-22 07:05:41 -04:00
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
6df017b620 remove klogd from genesis base 2013-08-21 19:50:17 -07:00
5d7072da13 defect 3754 2013-08-21 12:55:39 -04:00
0565563156 build packages on ubuntu 2013-08-21 16:31:02 +00:00
5aee2ceea8 add reiserfs into genesis to support sysclone for sels 2013-08-21 09:07:48 -07:00
66700054a3 add kvm pkglist and template for ubuntu 2013-08-21 07:35:23 -07:00
9e2bb00b82 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-21 03:07:34 -07:00
65a2d35112 modification for builing xcat on ubuntu 2013-08-21 03:05:59 -07:00
2275e87b6f Try to suppress scary warning at time of checking for bmc port activity 2013-08-20 16:31:53 -04:00
7ac9dae5af Attempt to fix bmcsetup problem where service processor changes after request to change too late 2013-08-20 15:59:42 -04:00
21e8a18c9e Fix problem where values after parenthitcal group were not evaluated correctly 2013-08-20 15:34:16 -04:00
0a59a7beb6 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-20 23:11:19 +08:00
6439ab60ee fixing bug 94319: handle the case of some postscript contains parameters 2013-08-20 23:10:41 +08:00
8e48b6a40f fix defect 3750 2013-08-20 10:24:06 -04:00
3188ab14cc postscripts modifiction about sysclone supporting for sles on master 2013-08-20 02:09:46 -07:00
19d72e6f84 add debianpreconf into xcatlib.sh on master 2013-08-19 23:47:34 -07:00
6cac1a8001 fix pid files did not get removed and the kill term showing up 2013-08-19 13:29:51 -04:00
bae1fbbdf4 add --nonodecheck to the psh usage and man page 2013-08-17 10:52:52 -04:00
6b546dbf85 update node provision status based on the feedback of nodes instead of rpower/rnetboot 2013-08-16 02:17:16 -07:00
fd0accd00c update node provision status based on the feedback of nodes instead of rpower/rnetboot 2013-08-16 02:05:31 -07:00
565f67b9fe update node provision status based on the feedback of nodes instead of rpower/rnetboot 2013-08-16 02:00:23 -07:00
6769c92f7e update node provision status based on the feedback of nodes instead of rpower/rnetboot 2013-08-16 01:43:38 -07:00
50901d0ac1 update node provision status based on the feedback of nodes instead of rpower/rnetboot 2013-08-16 01:42:53 -07:00
ef4a931440 update node provision status based on the feedback of nodes instead of rpower/rnetboot 2013-08-16 01:42:10 -07:00
8eb4b81c90 update node provision status based on the feedback of nodes instead of rpower/rnetboot 2013-08-16 01:38:09 -07:00
c507d9a7d1 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-16 01:29:08 -07:00
1e6f25b395 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-16 01:29:08 -07:00
6a42e3c11b update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-16 01:29:08 -07:00
4c1c27c753 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-16 01:29:08 -07:00
f78ec64c25 The item of updating pre-defined groups for nodes 2013-08-15 23:56:30 -07:00
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
125fb4d812 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 22:40:47 -07:00
b1d5658f5e update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 22:38:32 -07:00
7cbc8b1bea update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 22:33:51 -07:00
6131921307 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 22:10:07 -07:00
988da99f89 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 20:31:29 -07:00
c8ca832460 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 20:29:27 -07:00
e918aa27a4 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 20:27:20 -07:00
908508f44c update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 20:24:34 -07:00
3cef537a5f update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 20:18:47 -07:00
1c8bee1e14 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-15 11:35:33 -04:00
433866fb0b Default in user/password in the same way that ipmi works in plugin 2013-08-15 11:35:12 -04:00
a13dc3db50 fix syntax 2013-08-15 07:34:54 -04:00
ac9a21620d Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-15 11:00:57 +08:00
10ecce9fac new man page for xcatconfig -t 2013-08-14 09:54:23 -04:00
f11b298acd setup interface for setting tunables 2013-08-14 09:46:19 -04:00
f8cf3fd1d9 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-14 08:58:28 -04:00
fa1b9f924b Correct spelling mistake in xCAT-genesis that got in the way of interface bring up 2013-08-14 08:58:01 -04:00
23cb176d27 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-13 13:52:56 -04:00
e14616c4f8 fixed build script to include release in the path for the built rpms 2013-08-13 13:49:29 -04:00
c6608120cb Try to bring up extra interfaces for discovery 2013-08-13 13:28:34 -04:00
6e5fcf3edd bad code in remoteshell for flowcontrol 2013-08-13 11:49:32 -04:00
4b506b415a Add support for rinv and faster DDR3 dimms 2013-08-13 10:13:45 -04:00
2f352c0b1a Merge commit 'origin/master' 2013-08-13 17:18:54 -04:00
1d3d316d05 fixed bug 3718. This fix only checked into xCAT 2.9 2013-08-13 17:13:47 -04:00
275a19151b Fix ipmi FRU parser to give up once malformed data is encountered 2013-08-12 16:04:08 -04:00
a02372c5cb defect 3731 2013-08-12 13:49:31 -04:00
9209ba674b Defect 3731 2013-08-12 12:52:25 -04:00
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
221caa74ab add comments in anaconda.pm 2013-08-12 02:48:54 -07:00
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
754866a6f5 fix defect 3734 makehosts throw exceptions when node ip is not illegal 2013-08-12 14:37:01 +08:00
325f887b40 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-09 10:31:40 -04:00
2952f0e907 Do sparse allocation for non-lvm raw format images 2013-08-09 10:30:58 -04:00
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
d5609b9ca8 fix defect 3734 makehosts throw exceptions when node ip is not illegal 2013-08-08 21:32:03 -07:00
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
fcd5f2fc45 fixed bug 3732, centos 5.x needs the url rpository 2013-08-08 14:26:51 -04:00
4139e20fb3 defect 3703: to support command [nodeset <node> osimage] when the provmethod has been set 2013-08-08 12:54:07 -04:00
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
c3ebc4ec3b update testcase lsdef_nics 2013-08-08 16:41:06 +08:00
a092441f67 add testcase lsdef --nics 2013-08-08 16:21:03 +08:00
00861c3455 add test case lsdef_t_h_i 2013-08-08 16:00:49 +08:00
2aeee72311 Fix for noderange parentheses handling 2013-08-07 17:00:09 -04:00
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
b868858de3 fix defect 3719 [DEV] rcons fails when nodehm.mgt=kvm 2013-08-07 00:42:39 -07:00
d6debec1a6 #220993 Can not import node by auto discovery switch and switch port. 2013-08-07 13:40:05 +08:00
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
f6ecd4a68e fixed defect 3729 imgexport does not honor rootimgdir 2013-08-06 20:15:23 -04:00
f18d19a102 Change tabprune and tabdump to use MAXMIN routine 2013-08-06 11:55:54 -04:00
cff10ef530 Correct language in sensor decode 2013-08-06 10:56:57 -04:00
5fe991bc02 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-06 09:43:58 -04:00
42b5373796 fix bug 2013-08-06 09:43:40 -04:00
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
38c2e8e06f add MAXMIN routine 2013-08-05 14:17:48 -04:00
a4f86be2c9 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-08-05 19:01:21 +08:00
aa83596560 fix noderegenips scalability problem 2013-08-05 19:00:42 +08:00
b4578aeabe comment the useless apt repo in full installation on ubuntu 2013-08-05 02:23:59 -07:00
f0c90b3a51 initialize global variables to avoid Cannot re-provision the node which has been removed 2013-08-05 15:11:45 +08:00
67161bdcc7 changes to build-ubunturepo for git repo 2013-08-05 03:04:27 +00:00
6d1a5a12ea add support to generate mypostscript files 2013-08-02 12:27:07 -04:00
8591165766 add support to generate mypostscript files 2013-08-02 12:25:16 -04:00
e0e331fc2e add support to generate mypostscript files 2013-08-02 12:22:27 -04:00
fd48d12d60 transfer the confignics and configeth to shell 2013-08-02 03:03:26 -07:00
9800265c12 start the xcatd on ubuntu/debian when system booting 2013-08-02 01:46:26 -07:00
9ed91d3a09 document tabdump -n 2013-08-01 12:18:16 -04:00
da34a50431 add support to tabdump -n <#records> for auditlog and eventlog 2013-08-01 11:48:39 -04:00
057c5668cb fix defect 3722: replace die with MsgUtils->message and exit 2013-08-01 02:38:34 -07:00
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
03281d9891 Impliment flow control call for getpostscript and getcredentials 2013-07-31 09:29:32 -04:00
cc888734aa Change the insert_dd function for handling the initrd hacking. 2013-07-31 06:57:34 -04:00
6588a4e05f Fix makehosts -h does not display and add makehosts -v (version) 2013-07-30 14:36:44 -04:00
8947209fd7 Fix for defect 3717 2013-07-29 14:24:45 -04:00
9ffbe24f64 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-29 14:01:34 -04:00
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
39ba905704 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-26 14:31:44 -04:00
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
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
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
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
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
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
d82e567d13 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-25 11:10:41 -04:00
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
e55dcc8b3e Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-25 09:22:49 -04:00
725e89bef5 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-25 09:20:32 -04:00
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
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
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
66493d480a Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-24 14:34:49 -04:00
a734799fa1 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-24 13:44:53 -04:00
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
1d217b4d47 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-23 14:31:25 -04:00
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
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
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
b3413a47bf Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-22 09:45:17 -04:00
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
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
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
52dff9bf51 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-19 09:22:42 -04:00
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
89f2a8fcb5 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-18 15:11:20 -04:00
0604637110 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-18 14:56:17 -04:00
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
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
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
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
c321b3223b Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-17 14:54:14 -04:00
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
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
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
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
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
8c671750b9 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-17 11:24:35 -04:00
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
367df148be Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-17 11:16:03 -04:00
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
31c6ef075e Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-17 10:50:33 -04:00
acc6f2769c Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-17 10:43:03 -04:00
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
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
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
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
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
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
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
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
5c82c9606d Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-15 10:04:31 -04:00
713a3a5408 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-15 09:57:17 -04:00
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
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
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
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
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
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
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
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
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
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
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
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
6ca8ae5366 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-11 10:54:20 -04:00
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
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
a0e2438e06 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-11 08:45:36 -04:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
f317a3e10a Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-07-02 10:00:31 -04:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
360e76309f Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-06-27 15:09:00 -04:00
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
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
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
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
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
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
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
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
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
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
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
2d905826f8 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-06-26 16:44:40 -04:00
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
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
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
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
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
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
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
70f8cae983 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-06-26 10:33:22 -04:00
85237d5126 Fix problem where rvitals could request the same sensor multiple times 2013-06-26 10:32:07 -04:00
508071d903 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-06-26 09:58:15 -04:00
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
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
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
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
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
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
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
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
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
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
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
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
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
fe9a146b36 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2013-06-25 09:28:42 -04:00
4eacc008e3 Fix problem where dbworkersocket rename could indicate a missing path 2013-06-25 09:26:52 -04:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
1376 changed files with 11750 additions and 87586 deletions

14
README Normal file
View File

@ -0,0 +1,14 @@
xCAT - eXtreme Cloud Administration Toolkit
xCAT is a toolkit for the deployment and administration of clusters.
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

View File

@ -1 +1 @@
2.8.4
2.9

View File

@ -1,88 +0,0 @@
#!/bin/bash
###########
#
# This script call make<package>deb and create the deb packages
# for xCAT
#
# Author: Leonardo Tonetto <tonetto@linux.vnet.ibm.com>
# Revisor: Adalberto Medeiros <adalbas@linux.vnet.ibm.com>
# Revisor2: Arif Ali <aali@ocf.co.uk>
#
# Input:
#
# $1 is the build type/location
# $2 is the string added to the debian/changelog of each package
#
############
##############
# Get input
##############
PKG_LOCATION=$1 # local | snap | alpha
if [ -z $PKG_LOCATION ]; then
PKG_LOCATION="local"
fi
BUILD_STRING=$2
if [ -z $BUILD_STRING ]; then
BUILD_STRING="Personal Build"
fi
XCAT_VERSION=`cat Version`
TRUNK_REVISION=`svnversion | cut -d ":" -f1`
CUR_DATE=`date +%Y%m%d`
VERSION="${XCAT_VERSION}-${PKG_LOCATION}${CUR_DATE}"
function makedeb {
SRC_ROOT=$1
PKG_LOCATION=$2
BUILD_STRING=$3
VERSION=$4
#
# Make DEBs
#
# build perl-xCAT - deps are libsoap-lite-perl, libdigest-sha1-perl, libdbi-perl
#
find $SRC_ROOT -maxdepth 2 -name debian -type d | while read DEBIAN_DIR
do
DIR=`echo ${DEBIAN_DIR} | sed -e 's/[/]debian$//'`
cd ${DIR}
dch -v $VERSION -b -c debian/changelog "$BUILD_STRING"
dpkg-buildpackage
cd -
RC=$?
if [ ${RC} -gt 0 ]
then
echo "Warning: ${DEBIAN_DIR} failed exit code ${RC}"
fi
done
#
# Clean up
#
# 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
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
fi
mkdir debs
mv xcat* debs/
mv perl-xcat* debs/
echo $VERSION > latest_version
exit 0

View File

@ -138,8 +138,21 @@ 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
@ -156,33 +169,30 @@ 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|^perl-DBD-DB2Lite'`; 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
# just in case we need it sometime, this next if stmt would mean: if it does not start with perl-DBD-DB2
#if [ "${i#perl-DBD-DB2}" == "$i" ]; then
# 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
if [[ $i == perl-Net_SSLeay.pm-1.55-* ]]; then continue; fi # skip the new rpm
fi
echo rpm -Uvh $opts $i
rpm -Uvh $opts $i
done
# don't try to install tcl, tk, or expect if they are already installed!
# this section about expect/tcl/tk can be removed once 2.8 releases, because 2.8 no longer requires expect
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
else
echo "The expect.base, tcl.base, and tk.base filesets must also be installed before installing the xCAT RPMs from xcat-core."
fi
fi
# 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 ---------------------------------------------
@ -196,7 +206,7 @@ if [ "$OSNAME" == "AIX" ]; then
else
SYSGRP=root
fi
chgrp -R $SYSGRP *
chgrp -R -h $SYSGRP *
chmod -R g+w *
# Build the tarball

106
buildlocal.sh Executable file
View File

@ -0,0 +1,106 @@
#######################################################################
#build script for local usage
#used for Linux/AIX/Ubuntu
#
###########################################################################
OSNAME=$(uname)
NAMEALL=$(uname -a)
echo "OSNAME is $OSNAME!"
echo "NAMEALL is $NAMEALL"
ls /code/xcat-core
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
#used only for hard code, will change later
cd /code/xcat-core
rm -rf build/
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 /code/xcat-core/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}* /code/xcat-core/build
done
#delete all files except .deb file
find /code/xcat-core/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 build/
# 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
./makerpm $rpmname
done
#build xCAT-genesis-scripts if it is x86_64 platform
ARCH=$(uname -p)
if [ "$ARCH" = "x64_64" ]; then
./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
./makerpm $rpmname
if [ $? -ne 0 ]; then FAILEDRPMS="$FAILEDRPMS $rpmname"; fi
else
for arch in x86_64 ppc64 s390x; do
./makerpm $rpmname $arch
if [ $? -ne 0 ]; then FAILEDRPMS="$FAILEDRPMS $rpmname-$arch"; fi
done
fi
done
cp /root/rpmbuild/RPMS/noarch/* build/
cp /root/rpmbuild/RPMS/x86_64/* build/
cp /root/rpmbuild/RPMS/ppc64/* build/
fi

View File

@ -1,21 +1,20 @@
#!/bin/sh
# Put the version, svn revision #, and build date into the Version function in Version.pm
if [ -z "$2" ]
if [ -z "$1" ]
then
echo "modifyUtils: Error: must specify the xCAT version as an argument" >&2
exit
fi
VER=$1
GITREF="git commit $2, "
BUILDDATE=`date`
#echo ". '(built $BUILDDATE)'"
if [ "$(uname)" = "AIX" ]
then
sed -e s/"#XCATVERSIONSUBHERE"/". '$VER'"/ -e s/"#XCATSVNBUILDSUBHERE"/". ' (${GITREF}built $BUILDDATE)'"/ xCAT/Version.pm >xCAT/Version.pm.new
sed -e s/"#XCATVERSIONSUBHERE"/". '$VER'"/ -e s/"#XCATSVNBUILDSUBHERE"/". ' (built $BUILDDATE)'"/ xCAT/Version.pm >xCAT/Version.pm.new
mv xCAT/Version.pm.new xCAT/Version.pm
else
if [ -f "/etc/debian_version" ];then
@ -23,5 +22,5 @@ else
else
FILENAME="xCAT/Version.pm"
fi
sed -i -e s/"#XCATVERSIONSUBHERE"/". '$VER'"/ -e s/"#XCATSVNBUILDSUBHERE"/". ' (${GITREF}built $BUILDDATE)'"/ $FILENAME
sed -i -e s/"#XCATVERSIONSUBHERE"/". '$VER'"/ -e s/"#XCATSVNBUILDSUBHERE"/". ' (built $BUILDDATE)'"/ $FILENAME
fi

4
perl-xCAT/perl-xCAT.spec Executable file → Normal file
View File

@ -23,8 +23,6 @@ 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 fsm %(if [ "$fsm" = "1" ];then echo 1; else echo 0; fi)
@ -38,7 +36,7 @@ Includes xCAT::Table, xCAT::NodeRange, among others.
%if %fsm
%else
# Modify the Version() function in xCAT/Utils.pm to automatically have the correct version
./modifyUtils %{version} %{gitinfo}
./modifyUtils %{version}
# 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.

View File

@ -8,9 +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) {
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
@ -77,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.
@ -243,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;
@ -310,6 +335,27 @@ 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";
@ -1113,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}}) {
@ -1133,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}) {

View File

@ -435,7 +435,7 @@ sub lcds {
if( $type eq "lpar" ) {
$action = "query_lcds";
} elsif ($type eq "blade") {
$action = "pblade_query_lcds";
$action = "pblade_query_lcds";
} else {
$action = "cec_query_lcds";
}

View File

@ -1135,8 +1135,8 @@ sub dolitesetup
if (!$file) {
next;
}
}
# ex. .../inst_root/foo/bar/ or .../inst_root/etc/lppcfg
my $instrootfile = $instrootloc . $file;

View File

@ -2195,7 +2195,6 @@ sub isValidHostname
return 0;
}
#-------------------------------------------------------------------------------
=head3 isValidFQDN

View File

@ -719,6 +719,28 @@ sub get_nodes_profiles
return \%profile_dict;
}
#-------------------------------------------------------------------------------
=head3 get_imageprofile_prov_osvers
Description : Get A node's provisioning os version and profile from its imageprofile attribute.
Arguments : $imgprofilename - imageprofile name
Returns : node's osversion and profile
=cut
#-------------------------------------------------------------------------------
sub get_imageprofile_prov_osvers
{
my $class = shift;
my $imgprofilename = shift;
my $osimgtab = xCAT::Table->new('osimage');
my $osimgentry = ($osimgtab->getAllAttribsWhere("imagename = '$imgprofilename'", 'ALL' ))[0];
my $osversion = $osimgentry->{'osvers'};
my $profile = $osimgentry->{'profile'};
return ($osversion, $profile);
}
#-------------------------------------------------------------------------------
=head3 get_imageprofile_prov_method
@ -748,27 +770,6 @@ sub get_imageprofile_prov_method
#-------------------------------------------------------------------------------
=head3 get_imageprofile_prov_osvers
Description : Get A node's provisioning os version and profile from its imageprofile attribute.
Arguments : $imgprofilename - imageprofile name
Returns : node's osversion and profile
=cut
#-------------------------------------------------------------------------------
sub get_imageprofile_prov_osvers
{
my $class = shift;
my $imgprofilename = shift;
my $osimgtab = xCAT::Table->new('osimage');
my $osimgentry = ($osimgtab->getAllAttribsWhere("imagename = '$imgprofilename'", 'ALL' ))[0];
my $osversion = $osimgentry->{'osvers'};
my $profile = $osimgentry->{'profile'};
return ($osversion, $profile);
}
#-------------------------------------------------------------------------------
=head3 check_profile_consistent
Description : Check if three profile consistent
Arguments : $imageprofile - image profile name

View File

@ -267,11 +267,14 @@ virtsd => {
},
storage => {
cols => [qw(node osvolume size state storagepool hypervisor fcprange volumetag comments disable)],
cols => [qw(node osvolume size state storagepool hypervisor fcprange volumetag type controller comments disable)],
keys => [qw(node)],
table_descr => 'Node storage resources',
descriptions => {
node => 'The node name',
controller => 'The management address to attach/detach new volumes.
In the scenario involving multiple controllers, this data must be
passed as argument rather than by table value',
osvolume => "Specification of what storage to place the node OS image onto. Examples include:
localdisk (Install to first non-FC attached disk)
usbdisk (Install to first USB mass storage device seen)
@ -281,6 +284,7 @@ storage => {
storagepool => 'Name of storage pool where the volume is assigned.',
hypervisor => 'Name of the hypervisor where the volume is configured.',
fcprange => 'A range of acceptable fibre channels that the volume can use. Examples include: 3B00-3C00;4B00-4C00.',
type => 'The plugin used to drive storage configuration (e.g. svc)',
volumetag => 'A specific tag used to identify the volume in the autoyast or kickstart template.',
comments => 'Any user-written notes.',
disable => "Set to 'yes' or '1' to comment out this row.",
@ -532,7 +536,7 @@ nodegroup => {
},
},
nodehm => {
cols => [qw(node power mgt cons termserver termport conserver serialport serialspeed serialflow getmac cmdmapping comments disable)],
cols => [qw(node power mgt cons termserver termport conserver serialport serialspeed serialflow getmac cmdmapping consoleondemand comments disable)],
keys => [qw(node)],
tablespace =>'XCATTBS16K',
table_desc => "Settings that control how each node's hardware is managed. Typically, an additional table that is specific to the hardware type of the node contains additional info. E.g. the ipmi, mp, and ppc tables.",
@ -549,6 +553,7 @@ nodehm => {
serialflow => "The flow control value of the serial port for this node. For SOL this is typically 'hard'.",
getmac => 'The method to use to get MAC address of the node with the getmac command. If not set, the mgt attribute will be used. Valid values: same as values for mgmt attribute.',
cmdmapping => 'The fully qualified name of the file that stores the mapping between PCM hardware management commands and xCAT/third-party hardware management commands for a particular type of hardware device. Only used by PCM.',
consoleondemand => 'This overrides the value from site.consoleondemand; (0=no, 1=yes). Default is the result from site.consoleondemand.',
comments => 'Any user-written notes.',
disable => "Set to 'yes' or '1' to comment out this row.",
},
@ -567,7 +572,7 @@ nodelist => {
appstatustime =>'The date and time when appstatus was updated.',
primarysn => 'Not used currently. The primary servicenode, used by this node.',
hidden => "Used to hide fsp and bpa definitions, 1 means not show them when running lsdef and nodels",
updatestatus => "The current node update status. Valid states are synced out-of-sync,syncing,failed.",
updatestatus => "The current node update status. Valid states are synced, out-of-sync,syncing,failed.",
updatestatustime => "The date and time when the updatestatus was updated.",
zonename => "The name of the zone to which the node is currently assigned. If undefined, then it is not assigned to any zone. ",
comments => 'Any user-written notes.',
@ -765,11 +770,11 @@ passwd => {
policy => {
cols => [qw(priority name host commands noderange parameters time rule comments disable)],
keys => [qw(priority)],
table_desc => 'The policy table in the xCAT database controls who has authority to run specific xCAT operations. It is basically the Access Control List (ACL) for xCAT.',
table_desc => 'The policy table in the xCAT database controls who has authority to run specific xCAT operations. It is basically the Access Control List (ACL) for xCAT. It is sorted on the priority field before evaluating.',
descriptions => {
priority => 'The priority value for this rule. This value is used to identify this policy data object (i.e. this rule).',
priority => 'The priority value for this rule. This value is used to identify this policy data object (i.e. this rule) The table is sorted on this field with the lower the number the higher the priority. For example 1.0 is higher priority than 4.1 is higher than 4.9.',
name => 'The username that is allowed to perform the commands specified by this rule. Default is "*" (all users).',
host => 'The host from which users may issue the commands specified by this rule. Default is "*" (all hosts). Only all or one host supported. ',
host => 'The host from which users may issue the commands specified by this rule. Default is "*" (all hosts). Only all or one host is supported',
commands => 'The list of commands that this rule applies to. Default is "*" (all commands).',
noderange => 'The Noderange that this rule applies to. Default is "*" (all nodes). Not supported with the *def commands.',
parameters => 'A regular expression that matches the command parameters (everything except the noderange) that this rule applies to. Default is "*" (all parameters). Not supported with the *def commands.',
@ -783,11 +788,11 @@ postscripts => {
cols => [qw(node postscripts postbootscripts comments disable)],
keys => [qw(node)],
tablespace =>'XCATTBS16K',
table_desc => ' The scripts that should be run on each node after installation or diskless boot.',
table_desc => 'The scripts that should be run on each node after installation or diskless boot.',
descriptions => {
node => 'The node name or group name.',
postscripts => 'Comma separated list of scripts that should be run on this node after diskfull installation or diskless boot. Each script can take zero or more parameters. For example: "script1 p1 p2,script2,...". xCAT automatically adds the postscripts from the xcatdefaults.postscripts attribute of the table to run first on the nodes after install or diskless boot. For installation of RedHat, CentOS, Fedora, the scripts will be run before the reboot. For installation of SLES, the scripts will be run after the reboot but before the init.d process. For diskless deployment, the scripts will be run at the init.d time, and xCAT will automatically add the list of scripts from the postbootscripts attribute to run after postscripts list. For installation of AIX, the scripts will run after the reboot and acts the same as the postbootscripts attribute. For AIX, use the postbootscripts attribute. Support will be added in the future for the postscripts attribute to run the scripts before the reboot in AIX. ',
postbootscripts => 'Comma separated list of scripts that should be run on thisnode after diskfull installation or diskless boot. Each script can take zero or more parameters. For example: "script1 p1 p2,script2,...". On AIX these scripts are run during the processing of /etc/inittab. On Linux they are run at the init.d time. xCAT automatically adds the scripts in the xcatdefaults.postbootscripts attri bute to run first in the list.',
postbootscripts => 'Comma separated list of scripts that should be run on this node after diskfull installation or diskless boot. Each script can take zero or more parameters. For example: "script1 p1 p2,script2,...". On AIX these scripts are run during the processing of /etc/inittab. On Linux they are run at the init.d time. xCAT automatically adds the scripts in the xcatdefaults.postbootscripts attribute to run first in the list.',
comments => 'Any user-written notes.',
disable => "Set to 'yes' or '1' to comment out this row.",
},
@ -1552,7 +1557,7 @@ mic => {
hwinv => {
cols => [qw(node cputype cpucount memory disksize comments disable)],
keys => [qw(node)],
table_desc => 'The hardware inventory for the node.',
table_desc => 'The hareware inventory for the node.',
descriptions => {
node => 'The node name or group name.',
cputype => 'The cpu model name for the node.',
@ -1563,6 +1568,7 @@ hwinv => {
disable => "Set to 'yes' or '1' to comment out this row.",
},
},
); # end of tabspec definition
@ -1906,6 +1912,10 @@ my @nodeattrs = (
{attr_name => 'serialflow',
tabentry => 'nodehm.serialflow',
access_tabentry => 'nodehm.node=attr:node',
},
{attr_name => 'consoleondemand',
tabentry => 'nodehm.consoleondemand',
access_tabentry => 'nodehm.node=attr:node',
},
##################
# vpd table #
@ -2324,6 +2334,14 @@ my @nodeattrs = (
tabentry => 'storage.osvolume',
access_tabentry => 'storage.node=attr:node',
},
{attr_name => 'storagcontroller',
tabentry => 'storage.controller',
access_tabentry => 'storage.node=attr:node',
},
{attr_name => 'storagetype',
tabentry => 'storage.type',
access_tabentry => 'storage.node=attr:node',
},
######################
# vm table #
######################
@ -2565,7 +2583,7 @@ my @nodeattrs = (
tabentry => 'hwinv.disksize',
access_tabentry => 'hwinv.node=attr:node',
},
); # end of @nodeattrs that applies to both nodes and groups
@ -2615,11 +2633,11 @@ my @nodeattrs = (
{attr_name => 'updatestatustime',
tabentry => 'nodelist.updatestatustime',
access_tabentry => 'nodelist.node=attr:node',
},
{attr_name => 'zonename',
},
{attr_name => 'zonename',
tabentry => 'nodelist.zonename',
access_tabentry => 'nodelist.node=attr:node',
},
},
{attr_name => 'usercomment',
tabentry => 'nodelist.comments',
access_tabentry => 'nodelist.node=attr:node',
@ -3103,11 +3121,6 @@ push(@{$defspec{node}->{'attrs'}}, @nodeattrs);
#########################
# routes table #
#########################
#########################
# route data object #
#########################
# routes table #
#########################
@{$defspec{route}->{'attrs'}} = (
{attr_name => 'routename',
tabentry => 'routes.routename',

View File

@ -4013,7 +4013,8 @@ sub output_table {
Example:
my $tabh = xCAT::Table->new($table);
my $recs=$tabh->getMAXMINEntries("recid");
my $recs=$tabh->getEntries("recid"); # returns row with recid max value in database
# and the row with the min value.
Comments:
none
@ -4031,13 +4032,14 @@ sub getMAXMINEntries
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
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')";
$qstring = "SELECT MAX($attr) FROM " . $self->{tabname} . " WHERE " . $disable . " is NULL or " . $disable . " in ('0','no','NO','No','nO')";
}
$query = $self->{dbh}->prepare($qstring);
@ -4058,10 +4060,10 @@ sub getMAXMINEntries
}
}
$query->finish();
if ($xcatcfg =~ /^DB2:/) { # for DB2
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')";
$qstring = "SELECT MIN($attr) FROM " . $self->{tabname} . " WHERE " . $disable . " is NULL or " . $disable . " in ('0','no','NO','No','nO')";
}
$query = $self->{dbh}->prepare($qstring);
@ -4076,11 +4078,10 @@ sub getMAXMINEntries
} else {
$rets->{"min"} = $data->{$_};
}
last; # better be only one value for min
last; # better be only one value for min
}
}
return $rets;
}
1;

View File

@ -120,6 +120,38 @@ This program module file, is a set of utilities used by xCAT commands.
#-------------------------------------------------------------
=head3 clroptionvars
- use this routine to clear GetOptions global option variables
before calling GetOptions.
- this may be needed because a "command" may be called twice
from the same process - and global options may have been
set the first time through. (ex. from a plugin using runxcmd() )
- should really avoid global vars but this provides a quick fix
for now
ex. my $rc = xCAT::Utils->clroptionvars($::opt1, $::opt2 ...)
=cut
#-------------------------------------------------------
sub clroptionvars
{
# skip the class arg and set the rest to undef
my $skippedclass=0;
foreach (@_) {
if ($skippedclass) {
$_ = undef;
}
$skippedclass=1;
}
return 0;
}
#-------------------------------------------------------------
=head3 genUUID
Returns an RFC 4122 compliant UUIDv4 or UUIDv1
Arguments:
@ -940,15 +972,14 @@ sub runcmd
my ($class, $cmd, $exitcode, $refoutput, $stream) = @_;
$::RUNCMD_RC = 0;
# redirect stderr to stdout
if (!($cmd =~ /2>&1$/)) { $cmd .= ' 2>&1'; }
my $hostname = `/bin/hostname`;
chomp $hostname;
if ($::VERBOSE)
{
my $msg="Running command on $hostname: $cmd";
if ($::VERBOSE)
{
# get this systems name as known by xCAT management node
my $hostname = `/bin/hostname`;
chomp $hostname;
my $msg="Running command on $hostname: $cmd";
if ($::CALLBACK){
my $rsp = {};
@ -957,7 +988,7 @@ sub runcmd
} else {
xCAT::MsgUtils->message("I", "$msg\n");
}
}
}
my $outref = [];
if (!defined($stream) || (length($stream) == 0)) { # do not stream
@ -3139,7 +3170,7 @@ sub isSELINUX
Input:
array of nodes in the noderange
Example:
my $mn=xCAT::Utils->noderangecontainsMN($noderange);
my @mn=xCAT::Utils->noderangecontainsMN($noderange);
Comments:
=cut
@ -3283,7 +3314,7 @@ sub filter_nodes{
push @{$mpnodes}, @ngpbmc;
} else {
push @{$bmcnodes}, @ngpbmc;
}
}
} elsif($cmd eq "getmacs") {
if (@args && (grep /^-D$/,@args)) {
push @{$fspnodes}, @ngpfsp;
@ -3348,8 +3379,8 @@ sub filter_nostatusupdate{
if ($nodetypetab) {
$nttabdata = $nodetypetab->getNodesAttribs(\@allnodes, ['node', 'os']);
$nodetypetab->close();
}
}
#filter out the nodes which support the node provision status feedback
my @nodesfiltered=();
if(exists $inref->{$::STATUS_INSTALLING}){
@ -3359,7 +3390,7 @@ sub filter_nostatusupdate{
@{$inref->{$::STATUS_INSTALLING}}=@nodesfiltered;
}
}
@nodesfiltered=();
if(exists $inref->{$::STATUS_NETBOOTING}){
map{ if($nttabdata->{$_}->[0]->{os} !~ /(fedora|rh|centos|sles|ubuntu)/) {push @nodesfiltered,$_;} } @{$inref->{$::STATUS_NETBOOTING}};
@ -3368,7 +3399,7 @@ sub filter_nostatusupdate{
@{$inref->{$::STATUS_NETBOOTING}}=@nodesfiltered;
}
}
}
sub version_cmp {
@ -3416,9 +3447,7 @@ sub version_cmp {
return ( $len_a <=> $len_b )
}
#--------------------------------------------------------------------------------
=head3 fullpathbin
returns the full path of a specified binary executable file
Arguments:
@ -3433,8 +3462,8 @@ sub version_cmp {
my $CHKCONFIG = xCAT::Utils->fullpathbin("chkconfig");
Comments:
none
=cut
=cut
#--------------------------------------------------------------------------------
sub fullpathbin
{
@ -3458,6 +3487,4 @@ sub fullpathbin
return $fullpath;
}
1;

View File

@ -90,6 +90,7 @@ require Exporter;
"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,

View File

@ -611,39 +611,25 @@ sub punch2Reader {
# Punch to reader
# VMUR located in different directories on RHEL and SLES
my $vmur;
if ( $os =~ m/sles10/i ) {
$vmur = "/sbin/vmur";
} else {
$vmur = "/usr/sbin/vmur";
}
my $out;
my $done = 0;
until ( $done ) {
$out = `ssh -o ConnectTimeout=5 $user\@$hcp "$sudo $vmur punch $options -u $userId -r $srcFile -N $tgtFile" 2>&1`;
my $rc = $? >> 8;
if ( $rc == 255 ) {
$out = "(Error) Unable to communicate with the zHCP system: $hcp";
$done = 1;
} elsif ( $out =~ m/A concurrent instance of vmur is already active/i ) {
# Recoverable error: retry the command after a delay
xCAT::zvmUtils->printSyslog( "punch2Reader() Punch in use on $hcp, retrying in 15 seconds" );
sleep( 15 );
} else {
# Punch appears successful -- Look for the completion string
my $searchStr = "created and transferred";
if ( !( $out =~ m/$searchStr/i ) ) {
chomp( $out );
$out = "Failed, punch info: '$out'\n";
xCAT::zvmUtils->printSyslog( "punch2Reader() Failed punching $srcFile to $userId from $hcp, info: '$out'" );
} else {
$out = "Done\n";
}
$done = 1;
}
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 ) ) {
$out = "Failed\n";
} else {
$out = "Done\n";
}
return $out;
}

View File

@ -289,7 +289,7 @@ sub printLn {
# Print string
my $rsp;
my $type = "I";
if ($str =~ m/(\(error\)|\sfailed)/i) { # Set to print error if the string contains error
if ($str =~ m/error/i) { # Set to print error if the string contains error
$type = "E";
}
@ -1246,7 +1246,7 @@ sub getArch {
}
# Get host using VMCP
my $arch = `ssh $user\@$node "$sudo uname -m"`;
my $arch = `ssh $user\@$node "$sudo uname -p"`;
return ( xCAT::zvmUtils->trimStr($arch) );
}
@ -2308,20 +2308,19 @@ sub getUsedFcpDevices {
Arguments : Sudoer user name
Sudo keyword
zHCP hostname
Install root directory
Local directory to remotely mount
Mount access ('ro' for read only, 'rw' for read write)
Directory as known to zHCP (out)
Returns : 0 - Mounted, or zHCP and MN are on the same system
1 - Mount failed
Example : establishMount( $callback, $::SUDOER, $::SUDO, $hcp, $installRoot, $provMethod, "ro", \$remoteDeployDir );
Example : establishMount( $callback, $::SUDOER, $::SUDO, $hcp, "$installRoot/$provMethod", "ro", \$remoteDeployDir );
=cut
#-------------------------------------------------------
sub establishMount {
# Get inputs
my ($class, $callback, $sudoer, $sudo, $hcp, $installRoot, $localDir, $access, $mountedPt) = @_;
my ($class, $callback, $sudoer, $sudo, $hcp, $localDir, $access, $mountedPt) = @_;
my $out;
# If the target system is not on this system then establish the NFS mount point.
@ -2339,7 +2338,7 @@ sub establishMount {
if ($masterIp eq $hcpIP) {
# xCAT MN and zHCP are on the same box and will use the same directory without the need for an NFS mount.
$$mountedPt = "$installRoot/$localDir";
$$mountedPt = $localDir;
} else {
# Determine the hostname for this management node
my $masterHostname = Sys::Hostname::hostname();
@ -2348,23 +2347,15 @@ sub establishMount {
$masterHostname = $masterIp;
}
$$mountedPt = "/mnt/$masterHostname$installRoot/$localDir";
# If the mount point already exists then return because we are done.
my $rc = `ssh $sudoer\@$hcp "$sudo mount | grep $$mountedPt > /dev/null; echo \\\$?"`;
if ($rc == 0) {
return 0;
}
xCAT::zvmUtils->printSyslog( "establishMount() Preparing the NFS mount point on zHCP ($hcpIP) to xCAT MN $masterHostname($masterIp) for $localDir" );
# Prepare the staging mount point on zHCP, if they need to be established
$rc = `ssh $sudoer\@$hcp "$sudo mkdir -p $$mountedPt && mount -t nfs -o $access $masterIp:/$localDir $$mountedPt; echo \\\$?"`;
$$mountedPt = "/mnt/$masterHostname$localDir";
my $rc = `ssh $sudoer\@$hcp "$sudo mkdir -p $$mountedPt && mount -t nfs -o $access $masterIp:$localDir $$mountedPt; echo \\\$?"`;
# Return code = 0 (mount succeeded)
if ($rc != '0') {
# Return code = 0 (mount succeeded) or 32 (mount already exists)
if ($rc != '0' && $rc != '32') {
xCAT::zvmUtils->printLn( $callback, "$hcp: (Error) Unable to establish zHCP mount point: $$mountedPt" );
xCAT::zvmUtils->printSyslog( "establishMount() Unable to establish zHCP mount point: $$mountedPt, rc: $rc" );
return 1;
}
}
@ -2376,12 +2367,9 @@ sub establishMount {
=head3 getFreeRepoSpace
Description : Get the free space of image repository under /install.
Description : Get the free space of image repository under /install
Arguments : Node
Returns : The available space for /install (e.g. "2.1G ").
The value is returned as a perl string (e.g. "0 ") to
avoid perl returning null instead of "0" in the case
of no space available.
Returns : The available space for /install
Example : my $free = getFreeRepoSpace($callback, $node);
=cut
@ -2405,12 +2393,9 @@ sub getFreeRepoSpace {
if ($master eq $ip) {
# If the master IP and node IP match, then it is the management node
my $out = `$sudo /bin/df -h /install | sed 1d`;
# causing problems on other platforms $out =~ s/\h+/ /g;
$out =~ s/\h+/ /g;
my @results = split(' ', $out);
if ( $results[3] eq "0" ) {
$results[3] = "0M";
}
return $results[3];
return ($results[3]);
}
return;
@ -2490,12 +2475,12 @@ sub findAndUpdatezFcpPool {
return \%results;
}
# Owner must be specified if status is used
if ($status =~ m/used/i && !$owner) {
xCAT::zvmUtils->printLn( $callback, "$header: (Error) Owner must be specified if status is used." );
# Check WWPN and LUN syntax
if ( $wwpn && ($wwpn =~ /[^0-9a-f;"]/i) ) {
xCAT::zvmUtils->printLn( $callback, "$header: (Error) Invalid world wide portname $wwpn." );
return \%results;
} elsif ($status =~ m/free/i && $owner) {
xCAT::zvmUtils->printLn( $callback, "$header: (Error) Owner must not be specified if status is free." );
} if ( $lun && ($lun =~ /[^0-9a-f]/i) ) {
xCAT::zvmUtils->printLn( $callback, "$header: (Error) Invalid logical unit number $lun." );
return \%results;
}
@ -2524,15 +2509,6 @@ sub findAndUpdatezFcpPool {
# Make sure WWPN and LUN do not have 0x prefix
$wwpn = xCAT::zvmUtils->replaceStr($wwpn, "0x", "");
$lun = xCAT::zvmUtils->replaceStr($lun, "0x", "");
# Check WWPN and LUN syntax
if ( $wwpn && ($wwpn =~ /[^0-9a-f;"]/i) ) {
xCAT::zvmUtils->printLn( $callback, "$header: (Error) Invalid world wide portname $wwpn." );
return \%results;
} if ( $lun && ($lun =~ /[^0-9a-f]/i) ) {
xCAT::zvmUtils->printLn( $callback, "$header: (Error) Invalid logical unit number $lun." );
return \%results;
}
}
# Find disk pool (create one if non-existent)
@ -2593,19 +2569,15 @@ sub findAndUpdatezFcpPool {
}
# Do not continue if no devices can be found
if (!$wwpn || !$lun) {
if (!$wwpn && !$lun) {
xCAT::zvmUtils->printLn($callback, "$header: (Error) A suitable device of $size" . "M or larger could not be found");
return \%results;
}
} else {
# Find given WWPN and LUN. Do not continue if device is used
# Find given WWPN and LUN. Do not continue if device is used
my $select = `ssh $user\@$hcp "$sudo cat $zfcpDir/$pool.conf" | grep -i "$wwpn,$lun"`;
chomp($select);
if (!$select) {
xCAT::zvmUtils->printLn($callback, "$header: (Error) zFCP device 0x$wwpn/0x$lun could not be found in zFCP pool $pool");
return \%results;
}
@info = split(',', $select);
if ($size) {
@ -2613,11 +2585,13 @@ sub findAndUpdatezFcpPool {
# Convert to MegaBytes
$info[3] =~ s/\D//g;
$info[3] = int($info[3]) * 1024
} else {
} elsif ($info[3] =~ m/M/i) {
# Do nothing
$info[3] =~ s/\D//g;
} else {
next;
}
# Do not continue if specified device does not have enough capacity
if ($info[3] < $size) {
xCAT::zvmUtils->printLn($callback, "$header: (Error) FCP device $wwpn/$lun is not large enough");
@ -2628,7 +2602,7 @@ sub findAndUpdatezFcpPool {
# Find range of the specified disk
$range = $info[4];
}
# If there are multiple paths, take the 1st one
# Handle multi-pathing in postscript because autoyast/kickstart does not support it.
my $origWwpn = $wwpn;
@ -2638,23 +2612,117 @@ sub findAndUpdatezFcpPool {
}
xCAT::zvmUtils->printLn($callback, "$header: Found FCP device 0x$wwpn/0x$lun");
if ( ($status =~ m/used/i) && ($fcpDevice =~ /^auto/i) ) {
# select an eligible FCP device
$fcpDevice = xCAT::zvmUtils->selectFcpDevice($callback, $header, $user, $hcp, $fcpDevice, $range, $owner);
if (!$fcpDevice) {
# Find a free FCP device based on the given range
if ($fcpDevice =~ m/^auto/i) {
my @ranges;
my $min;
my $max;
my $found = 0;
if ($range =~ m/;/i) {
@ranges = split(';', $range);
} else {
push(@ranges, $range);
}
if (!$found) {
# If the node has an eligible FCP device, use it
my @deviceList = xCAT::zvmUtils->getDedicates($callback, $user, $owner);
foreach (@deviceList) {
# Check if this devide is eligible (among the range specified for disk $lun)
@info = split(' ', $_);
my $candidate = $info[2];
foreach (@ranges) {
($min, $max) = split('-', $_);
if (hex($candidate) >= hex($min) && hex($candidate) <= hex($max)) {
$found = 1;
$fcpDevice = uc($candidate);
last;
}
}
if ($found) {
xCAT::zvmUtils->printLn($callback, "$header: Found eligible FCP channel $fcpDevice");
last;
}
}
}
if (!$found) {
# If the node has no eligible FCP device, find a free one for it.
my %usedDevices = xCAT::zvmUtils->getUsedFcpDevices($user, $hcp);
my $hcpUserId = xCAT::zvmCPUtils->getUserId($user, $hcp);
$hcpUserId =~ tr/a-z/A-Z/;
# Find a free FCP channel
$out = `ssh $user\@$hcp "$sudo $dir/smcli System_WWPN_Query -T $hcpUserId" | egrep -i "FCP device number|Status"`;
my @devices = split( "\n", $out );
for (my $i = 0; $i < @devices; $i++) {
# Extract the device number and status
$fcpDevice = $devices[$i];
$fcpDevice =~ s/^FCP device number:(.*)/$1/;
$fcpDevice =~ s/^\s+//;
$fcpDevice =~ s/\s+$//;
$i++;
my $fcpStatus = $devices[$i];
$fcpStatus =~ s/^Status:(.*)/$1/;
$fcpStatus =~ s/^\s+//;
$fcpStatus =~ s/\s+$//;
# Only look at free FCP devices
if ($fcpStatus =~ m/free/i) {
# If the device number is within the specified range, exit out of loop
# Range: 3B00-3C00;4B00-4C00;5E12-5E12
foreach (@ranges) {
($min, $max) = split('-', $_);
if (hex($fcpDevice) >= hex($min) && hex($fcpDevice) <= hex($max)) {
$fcpDevice = uc($fcpDevice);
# Used found FCP channel if not in use or allocated
if (!$usedDevices{$fcpDevice}) {
$found = 1;
last;
}
}
}
}
# Break out of loop if FCP channel is found
if ($found) {
xCAT::zvmUtils->printLn($callback, "$header: Found FCP channel within acceptable range $fcpDevice");
last;
}
}
}
# Do not continue if no FCP channel is found
if (!$found) {
xCAT::zvmUtils->printLn($callback, "$header: (Error) A suitable FCP channel could not be found");
return \%results;
}
} elsif ($status =~ m/free/i) {
# Owner and FCP channel make no sense when status is free
$fcpDevice = "";
$owner = "";
}
# If there are multiple devices (multipathing), take the 1st one
if ($fcpDevice) {
if ($fcpDevice =~ m/;/i) {
@info = split(';', $fcpDevice);
$fcpDevice = xCAT::zvmUtils->trimStr($info[0]);
}
# Make sure channel has a length of 4
while (length($fcpDevice) < 4) {
$fcpDevice = "0" . $fcpDevice;
}
}
# Mark WWPN and LUN as used, free, or reserved and set the owner/channel appropriately
# This config file keeps track of the owner of each device, which is useful in nodeset
$size = $size . "M";
my $select = `ssh $user\@$hcp "$sudo cat $zfcpDir/$pool.conf" | grep -i "$lun"`;
my $select = `ssh $user\@$hcp "$sudo cat $zfcpDir/$pool.conf" | grep -i "$lun" | grep -i "$wwpn"`;
chomp($select);
if ($select) {
@info = split(',', $select);
@ -2691,156 +2759,6 @@ sub findAndUpdatezFcpPool {
#-------------------------------------------------------
=head3 selectFcpDevice
Description : Select an eligible FCP device for attaching a zFCP device to a node
Arguments : Message header
User (root or non-root)
zHCP
candidate FCP devices or auto
FCP device range
zFCP device owner
Returns : selected FCP device or empty if no one is selected
Example : my $fcpDevice = xCAT::zvmUtils->selectFcpDevice($callback, $header, $user, $hcp, $fcpDevice, $range, $owner);
=cut
#-------------------------------------------------------
sub selectFcpDevice {
# Get inputs
my ($class, $callback, $header, $user, $hcp, $fcpDevice, $range, $owner) = @_;
# Determine if sudo is used
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Directory where executables are on zHCP
my $dir = "/opt/zhcp/bin";
# Directory where FCP disk pools are on zHCP
my $zfcpDir = "/var/opt/zhcp/zfcp";
my %results = ('rc' => -1); # Default to error
# Check FCP device syntax
if ($fcpDevice && ($fcpDevice !~ /^auto/i) && ($fcpDevice =~ /[^0-9a-f]/i)) {
xCAT::zvmUtils->printLn($callback, "$header: (Error) Invalid FCP channel address $fcpDevice.");
return;
}
# Find a free FCP device based on the given range
if ($fcpDevice =~ m/^auto/i) {
my @ranges;
my $min;
my $max;
my $found = 0;
if ($range =~ m/;/i) {
@ranges = split(';', $range);
} else {
push(@ranges, $range);
}
if (!$found) {
# If the node has an eligible FCP device, use it
my @deviceList = xCAT::zvmUtils->getDedicates($callback, $user, $owner);
foreach (@deviceList) {
# Check if this devide is eligible (among the range specified for disk $lun)
my @info = split(' ', $_);
my $candidate = $info[2];
foreach (@ranges) {
($min, $max) = split('-', $_);
if (hex($candidate) >= hex($min) && hex($candidate) <= hex($max)) {
$found = 1;
$fcpDevice = uc($candidate);
last;
}
}
if ($found) {
xCAT::zvmUtils->printLn($callback, "$header: Found eligible FCP channel $fcpDevice");
last;
}
}
}
if (!$found) {
# If the node has no eligible FCP device, find a free one for it.
my %usedDevices = xCAT::zvmUtils->getUsedFcpDevices($user, $hcp);
my $hcpUserId = xCAT::zvmCPUtils->getUserId($user, $hcp);
$hcpUserId =~ tr/a-z/A-Z/;
# Find a free FCP channel
my $out = `ssh $user\@$hcp "$sudo $dir/smcli System_WWPN_Query -T $hcpUserId" | egrep -i "FCP device number|Status"`;
my @devices = split( "\n", $out );
for (my $i = 0; $i < @devices; $i++) {
# Extract the device number and status
$fcpDevice = $devices[$i];
$fcpDevice =~ s/^FCP device number:(.*)/$1/;
$fcpDevice =~ s/^\s+//;
$fcpDevice =~ s/\s+$//;
$i++;
my $fcpStatus = $devices[$i];
$fcpStatus =~ s/^Status:(.*)/$1/;
$fcpStatus =~ s/^\s+//;
$fcpStatus =~ s/\s+$//;
# Only look at free FCP devices
if ($fcpStatus =~ m/free/i) {
# If the device number is within the specified range, exit out of loop
# Range: 3B00-3C00;4B00-4C00;5E12-5E12
foreach (@ranges) {
($min, $max) = split('-', $_);
if (hex($fcpDevice) >= hex($min) && hex($fcpDevice) <= hex($max)) {
$fcpDevice = uc($fcpDevice);
# Use found FCP channel if not in use or allocated
if (!$usedDevices{$fcpDevice}) {
$found = 1;
last;
}
}
}
}
# Break out of loop if FCP channel is found
if ($found) {
xCAT::zvmUtils->printLn($callback, "$header: Found FCP channel within acceptable range $fcpDevice");
last;
}
}
}
# Do not continue if no FCP channel is found
if (!$found) {
xCAT::zvmUtils->printLn($callback, "$header: (Error) A suitable FCP channel could not be found");
return;
}
}
# If there are multiple devices (multipathing), take the 1st one
if ($fcpDevice) {
if ($fcpDevice =~ m/;/i) {
my @info = split(';', $fcpDevice);
$fcpDevice = xCAT::zvmUtils->trimStr($info[0]);
}
# Make sure channel has a length of 4
while (length($fcpDevice) < 4) {
$fcpDevice = "0" . $fcpDevice;
}
}
return $fcpDevice;
}
#-------------------------------------------------------
=head3 findzFcpDevicePool
Description : Find the zFCP storage pool that contains the given zFCP device
@ -2889,7 +2807,7 @@ sub findzFcpDevicePool {
WWPN
LUN
Returns : Architecture of node
Example : my $deviceRef = xCAT::zvmUtils->findzFcpDeviceAttr($user, $hcp, $pool, $wwpn, $lun);
Example : my $deviceRef = xCAT::zvmUtils->findzFcpDeviceAttr($user, $hcp, $wwpn, $lun);
=cut
@ -2909,7 +2827,7 @@ sub findzFcpDeviceAttr {
# Find the SCSI/FCP device
# Entry order: status,wwpn,lun,size,range,owner,channel,tag
my @info = split("\n", `ssh $user\@$hcp "$sudo grep -i \"$wwpn,$lun\" $zfcpDir/$pool.conf"`);
my @info = split("\n", `ssh $user\@$hcp "$sudo grep \"$wwpn,$lun\" $zfcpDir/$pool.conf"`);
my $entry = $info[0];
chomp($entry);

48
src/xcatflowrequest.c Normal file
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);
}
}
}
}

View File

@ -126,7 +126,7 @@ sub getPodList {
# Create the xcat man page that gives a summary description of each xcat cmd.
# Not used.
# Not used
sub writesummarypage {
my $file = shift; # relative path file name of the man page
# the rest of @_ contains the pod files that describe each cmd

View File

@ -1,15 +0,0 @@
AllCops:
Excludes:
- test/**
- vendor/**
AlignParameters:
Enabled: false
Encoding:
Enabled: false
HashSyntax:
Enabled: false
LineLength:
Enabled: false
MethodLength:
Max: 30

View File

@ -1,9 +0,0 @@
rvm:
- 1.9.3
- 2.0.0
before_script:
- bundle exec berks install
script:
- bundle exec foodcritic -f any . --tags ~FC007 --tags ~FC015 --tags ~FC023
# - bundle exec rspec --color --format progress
- bundle exec rubocop

View File

@ -1,7 +0,0 @@
site :opscode
metadata
group :integration do
cookbook 'apt', '~> 2.0'
cookbook 'yum', '~> 2.0'
end

View File

@ -1,198 +0,0 @@
apache2 Cookbook Changelog
==========================
This file is used to list changes made in each version of the apache2 cookbook.
v1.8.4
------
### Bug
- **[COOK-3769](https://tickets.opscode.com/browse/COOK-3769)** - Fix a critical bug where the `apache_module` could not enable modules
v1.8.2
------
### Bug
- **[COOK-3766](https://tickets.opscode.com/browse/COOK-3766)** - Fix an issue where the `mod_ssl` recipe fails due to a missing attribute
v1.8.0
------
### Bug
- **[COOK-3680](https://tickets.opscode.com/browse/COOK-3680)** - Update template paths
- **[COOK-3570](https://tickets.opscode.com/browse/COOK-3570)** - Apache cookbook breaks on RHEL / CentOS 6
- **[COOK-2944](https://tickets.opscode.com/browse/COOK-2944)** - Fix foodcritic failures
- **[COOK-2893](https://tickets.opscode.com/browse/COOK-2893)** - Improve mod_auth_openid recipe with guards and idempotency
- **[COOK-2758](https://tickets.opscode.com/browse/COOK-2758)** - Fix use of non-existent attribute
### New Feature
- **[COOK-3665](https://tickets.opscode.com/browse/COOK-3665)** - Add recipe for mod_userdir
- **[COOK-3646](https://tickets.opscode.com/browse/COOK-3646)** - Add recipe for mod_cloudflare
- **[COOK-3213](https://tickets.opscode.com/browse/COOK-3213)** - Add recipe for mod_info
### Improvement
- **[COOK-3656](https://tickets.opscode.com/browse/COOK-3656)** - Parameterize apache2 binary
- **[COOK-3562](https://tickets.opscode.com/browse/COOK-3562)** - Allow mod_proxy settings to be configured as attributes
- **[COOK-3326](https://tickets.opscode.com/browse/COOK-3326)** - Fix default_test to use ServerTokens attribute
- **[COOK-2635](https://tickets.opscode.com/browse/COOK-2635)** - Add support for SVG mime types
- **[COOK-2598](https://tickets.opscode.com/browse/COOK-2598)** - FastCGI Module only works on Debian-based platforms
- **[COOK-1984](https://tickets.opscode.com/browse/COOK-1984)** - Add option to configure the address apache listens to
v1.7.0
------
### Improvement
- [COOK-3073]: make access.log location configurable per-platform
- [COOK-3074]: don't hardcode the error.log location in the default site config
- [COOK-3268]: don't hardcode DocumentRoot and cgi-bin locations in `default_site`
### New Feature
- [COOK-3184]: Add `mod_filter` recipe to Apache2-cookbook
- [COOK-3236]: Add `mod_action` recipe to Apache2-cookbook
v1.6.6
------
1.6.4 had a missed step in the automated release, long live 1.6.6.
### Bug
- [COOK-3018]: apache2_module does duplicate delayed restart of apache2 service when conf = true
- [COOK-3027]: Default site enable true, then false, does not disable default site
- [COOK-3109]: fix apache lib_dir arch attribute regexp
v1.6.2
------
- [COOK-2535] - `mod_auth_openid` requires libtool to run autogen.sh
- [COOK-2667] - Typo in usage documentation
- [COOK-2461] - `apache2::mod_auth_openid` fails on some ubuntu systems
- [COOK-2720] - Apache2 minitest helper function `ran_recipe` is not portable
v1.6.0
------
- [COOK-2372] - apache2 mpm_worker: add ServerLimit attribute (default to 16)
v1.5.0
------
The `mod_auth_openid` attributes are changed. The upstream maintainer deprecated the older release versions, and the source repository has releases available at specific SHA1SUM references. The new attribute, `node['apache']['mod_auth_openid']['ref']` is used to set this.
- [COOK-2198] - `apache::mod_auth_openid` compiles from source, but does not install make on debian/ubuntu
- [COOK-2224] - version conflict between cucumber and other gems
- [COOK-2248] - `apache2::mod_php5` uses `not_if` "which php" without ensuring package 'which' is installed
- [COOK-2269] - Set allow list for mod_status incase external monitor scripts need
- [COOK-2276] - cookbook apache2 documentation regarding listening ports doesn't match default attributes
- [COOK-2296] - `mod_auth_openid` doesn't have tags/releases for the version I need for features and fixes
- [COOK-2323] - Add Oracle linux support
v1.4.2
------
- [COOK-1721] - fix logrotate recipe
v1.4.0
------
- [COOK-1456] - iptables enhancements
- [COOK-1473] - apache2 does not disable default site when setting "`default_site_enabled`" back to false
- [COOK-1824] - the apache2 cookbook needs to specify which binary is used on rhel platform
- [COOK-1916] - Download location wrong for apache2 `mod_auth_openid` >= 0.7
- [COOK-1917] - Improve `mod_auth_openid` recipe to handle module upgrade more gracefully
- [COOK-2029] - apache2 restarts on every run on RHEL and friends, generate-module-list on every run.
- [COOK-2036] - apache2: Cookbook style
v1.3.2
------
- [COOK-1804] - fix `web_app` definition parameter so site can be disabled.
v1.3.0
------
- [COOK-1738] - Better configuration for `mod_include` and some overrides in `web_app` definition
- [COOK-1470] - Change SSL Ciphers to Mitigate BEAST attack
v1.2.0
------
- [COOK-692] - delete package conf.d files in module recipes, for EL
- [COOK-1693] - Foodcritic finding for unnecessary string interpolation
- [COOK-1757] - platform_family and better style / usage practices
v1.1.16
-------
re-releasing as .16 due to error on tag 1.1.14
- [COOK-1466] - add `mod_auth_cas` recipe
- [COOK-1609] - apache2 changes ports.conf twice per run when using apache2::mod_ssl
v1.1.12
-------
- [COOK-1436] - restore apache2 web_app definition
- [COOK-1356] - allow ExtendedStatus via attribute
- [COOK-1403] - add mod_fastcgi recipe
v1.1.10
-------
- [COOK-1315] - allow the default site to not be enabled
- [COOK-1328] - cookbook tests (minitest, cucumber)
v1.1.8
------
- Some platforms with minimal installations that don't have perl won't have a `node['languages']['perl']` attribute, so remove the conditional and rely on the power of idempotence in the package resource.
- [COOK-1214] - address foodcritic warnings
- [COOK-1180] - add `mod_logio` and fix `mod_proxy`
v1.1.6
------
FreeBSD users: This release requires the `freebsd` cookbook. See README.md.
- [COOK-1025] - freebsd support in mod_php5 recipe
v1.1.4
------
- [COOK-1100] - support amazon linux
v1.1.2
------
- [COOK-996] - apache2::mod_php5 can cause PHP and module API mismatches
- [COOK-1083] - return string for v_f_p and use correct value for default
v1.1.0
------
- [COOK-861] - Add `mod_perl` and apreq2
- [COOK-941] - fix `mod_auth_openid` on FreeBSD
- [COOK-1021] - add a commented-out LoadModule directive to keep apxs happy
- [COOK-1022] - consistency for icondir attribute
- [COOK-1023] - fix platform test for attributes
- [COOK-1024] - fix a2enmod script so it runs cleanly on !bash
- [COOK-1026] - fix `error_log` location on FreeBSD
v1.0.8
------
- COOK-548 - directory resource doesn't have backup parameter
v1.0.6
------
- COOK-915 - update to `mod_auth_openid` version 0.6, see __Recipes/mod_auth_openid__ below.
- COOK-548 - Add support for FreeBSD.
v1.0.4
------
- COOK-859 - don't hardcode module paths
v1.0.2
------
- Tickets resolved in this release: COOK-788, COOK-782, COOK-780
v1.0.0
------
- Red Hat family support is greatly improved, all recipes except `god_monitor` converge.
- Recipe `mod_auth_openid` now works on RHEL family distros
- Recipe `mod_php5` will now remove config from package on RHEL family so it doesn't conflict with the cookbook's.
- Added `php5.conf.erb` template for `mod_php5` recipe.
- Create the run state directory for `mod_fcgid` to prevent a startup error on RHEL version 6.
- New attribute `node['apache']['lib_dir']` to handle lib vs lib64 on RHEL family distributions.
- New attribute `node['apache']['group']`.
- Scientific Linux support added.
- Use a file resource instead of the generate-module-list executed perl script on RHEL family.
- "default" site can now be disabled.
- web_app now has an "enable" parameter.
- Support for dav_fs apache module.
- Tickets resolved in this release: COOK-754, COOK-753, COOK-665, COOK-624, COOK-579, COOK-519, COOK-518
- Fix node references in template for a2dissite
- Use proper user and group attributes on files and templates.
- Replace the anemic README.rdoc with this new and improved superpowered README.md :).

View File

@ -1,257 +0,0 @@
# Contributing to Opscode Cookbooks
We are glad you want to contribute to Opscode Cookbooks! The first
step is the desire to improve the project.
You can find the answers to additional frequently asked questions
[on the wiki](http://wiki.opscode.com/display/chef/How+to+Contribute).
You can find additional information about
[contributing to cookbooks](http://wiki.opscode.com/display/chef/How+to+Contribute+to+Opscode+Cookbooks)
on the wiki as well.
## Quick-contribute
* Create an account on our [bug tracker](http://tickets.opscode.com)
* Sign our contributor agreement (CLA)
[ online](https://secure.echosign.com/public/hostedForm?formid=PJIF5694K6L)
(keep reading if you're contributing on behalf of your employer)
* Create a ticket for your change on the
[bug tracker](http://tickets.opscode.com)
* Link to your patch as a rebased git branch or pull request from the
ticket
* Resolve the ticket as fixed
We regularly review contributions and will get back to you if we have
any suggestions or concerns.
## The Apache License and the CLA/CCLA
Licensing is very important to open source projects, it helps ensure
the software continues to be available under the terms that the author
desired. Chef uses the Apache 2.0 license to strike a balance between
open contribution and allowing you to use the software however you
would like to.
The license tells you what rights you have that are provided by the
copyright holder. It is important that the contributor fully
understands what rights they are licensing and agrees to them.
Sometimes the copyright holder isn't the contributor, most often when
the contributor is doing work for a company.
To make a good faith effort to ensure these criteria are met, Opscode
requires a Contributor License Agreement (CLA) or a Corporate
Contributor License Agreement (CCLA) for all contributions. This is
without exception due to some matters not being related to copyright
and to avoid having to continually check with our lawyers about small
patches.
It only takes a few minutes to complete a CLA, and you retain the
copyright to your contribution.
You can complete our contributor agreement (CLA)
[ online](https://secure.echosign.com/public/hostedForm?formid=PJIF5694K6L).
If you're contributing on behalf of your employer, have your employer
fill out our
[Corporate CLA](https://secure.echosign.com/public/hostedForm?formid=PIE6C7AX856)
instead.
## Ticket Tracker (JIRA)
The [ticket tracker](http://tickets.opscode.com) is the most important
documentation for the code base. It provides significant historical
information, such as:
* Which release a bug fix is included in
* Discussion regarding the design and merits of features
* Error output to aid in finding similar bugs
Each ticket should aim to fix one bug or add one feature.
## Using git
You can get a quick copy of the repository for this cookbook by
running `git clone
git://github.com/opscode-coobkooks/COOKBOOKNAME.git`.
For collaboration purposes, it is best if you create a Github account
and fork the repository to your own account. Once you do this you will
be able to push your changes to your Github repository for others to
see and use.
If you have another repository in your GitHub account named the same
as the cookbook, we suggest you suffix the repository with -cookbook.
### Branches and Commits
You should submit your patch as a git branch named after the ticket,
such as COOK-1337. This is called a _topic branch_ and allows users to
associate a branch of code with the ticket.
It is a best practice to have your commit message have a _summary
line_ that includes the ticket number, followed by an empty line and
then a brief description of the commit. This also helps other
contributors understand the purpose of changes to the code.
[COOK-1757] - platform_family and style
* use platform_family for platform checking
* update notifies syntax to "resource_type[resource_name]" instead of
resources() lookup
* COOK-692 - delete config files dropped off by packages in conf.d
* dropped debian 4 support because all other platforms have the same
values, and it is older than "old stable" debian release
Remember that not all users use Chef in the same way or on the same
operating systems as you, so it is helpful to be clear about your use
case and change so they can understand it even when it doesn't apply
to them.
### Github and Pull Requests
All of Opscode's open source cookbook projects are available on
[Github](http://www.github.com/opscode-cookbooks).
We don't require you to use Github, and we will even take patch diffs
attached to tickets on the tracker. However Github has a lot of
convenient features, such as being able to see a diff of changes
between a pull request and the main repository quickly without
downloading the branch.
If you do choose to use a pull request, please provide a link to the
pull request from the ticket __and__ a link to the ticket from the
pull request. Because pull requests only have two states, open and
closed, we can't easily filter pull requests that are waiting for a
reply from the author for various reasons.
### More information
Additional help with git is available on the
[Working with Git](http://wiki.opscode.com/display/chef/Working+with+Git)
wiki page.
## Functional and Unit Tests
This cookbook is set up to run tests under
[Opscode's test-kitchen](https://github.com/opscode/test-kitchen). It
uses minitest-chef to run integration tests after the node has been
converged to verify that the state of the node.
Test kitchen should run completely without exception using the default
[baseboxes provided by Opscode](https://github.com/opscode/bento).
Because Test Kitchen creates VirtualBox machines and runs through
every configuration in the Kitchenfile, it may take some time for
these tests to complete.
If your changes are only for a specific recipe, run only its
configuration with Test Kitchen. If you are adding a new recipe, or
other functionality such as a LWRP or definition, please add
appropriate tests and ensure they run with Test Kitchen.
If any don't pass, investigate them before submitting your patch.
Any new feature should have unit tests included with the patch with
good code coverage to help protect it from future changes. Similarly,
patches that fix a bug or regression should have a _regression test_.
Simply put, this is a test that would fail without your patch but
passes with it. The goal is to ensure this bug doesn't regress in the
future. Consider a regular expression that doesn't match a certain
pattern that it should, so you provide a patch and a test to ensure
that the part of the code that uses this regular expression works as
expected. Later another contributor may modify this regular expression
in a way that breaks your use cases. The test you wrote will fail,
signalling to them to research your ticket and use case and accounting
for it.
If you need help writing tests, please ask on the Chef Developer's
mailing list, or the #chef-hacking IRC channel.
## Code Review
Opscode regularly reviews code contributions and provides suggestions
for improvement in the code itself or the implementation.
We find contributions by searching the ticket tracker for _resolved_
tickets with a status of _fixed_. If we have feedback we will reopen
the ticket and you should resolve it again when you've made the
changes or have a response to our feedback. When we believe the patch
is ready to be merged, we will tag the _Code Reviewed_ field with
_Reviewed_.
Depending on the project, these tickets are then merged within a week
or two, depending on the current release cycle.
## Release Cycle
The versioning for Opscode Cookbook projects is X.Y.Z.
* X is a major release, which may not be fully compatible with prior
major releases
* Y is a minor release, which adds both new features and bug fixes
* Z is a patch release, which adds just bug fixes
A released version of a cookbook will end in an even number, e.g.
"1.2.4" or "0.8.0". When development for the next version of the
cookbook begins, the "Z" patch number is incremented to the next odd
number, however the next release of the cookbook may be a major or
minor incrementing version.
Releases of Opscode's cookbooks are usually announced on the Chef user
mailing list. Releases of several cookbooks may be batched together
and announced on the [Opscode Blog](http://www.opscode.com/blog).
## Working with the community
These resources will help you learn more about Chef and connect to
other members of the Chef community:
* [chef](http://lists.opscode.com/sympa/info/chef) and
[chef-dev](http://lists.opscode.com/sympa/info/chef-dev) mailing
lists
* #chef and #chef-hacking IRC channels on irc.freenode.net
* [Community Cookbook site](http://community.opscode.com)
* [Chef wiki](http://wiki.opscode.com/display/chef)
* Opscode Chef [product page](http://www.opscode.com/chef)
## Cookbook Contribution Do's and Don't's
Please do include tests for your contribution. If you need help, ask
on the
[chef-dev mailing list](http://lists.opscode.com/sympa/info/chef-dev)
or the
[#chef-hacking IRC channel](http://community.opscode.com/chat/chef-hacking).
Not all platforms that a cookbook supports may be supported by Test
Kitchen. Please provide evidence of testing your contribution if it
isn't trivial so we don't have to duplicate effort in testing. Chef
10.14+ "doc" formatted output is sufficient.
Please do indicate new platform (families) or platform versions in the
commit message, and update the relevant ticket.
If a contribution adds new platforms or platform versions, indicate
such in the body of the commit message(s), and update the relevant
COOK ticket. When writing commit messages, it is helpful for others if
you indicate the COOK ticket. For example:
git commit -m '[COOK-1041] - Updated pool resource to correctly
delete.'
Please do use [foodcritic](http://acrmp.github.com/foodcritic) to
lint-check the cookbook. Except FC007, it should pass all correctness
rules. FC007 is okay as long as the dependent cookbooks are *required*
for the default behavior of the cookbook, such as to support an
uncommon platform, secondary recipe, etc.
Please do ensure that your changes do not break or modify behavior for
other platforms supported by the cookbook. For example if your changes
are for Debian, make sure that they do not break on CentOS.
Please do not modify the version number in the metadata.rb, Opscode
will select the appropriate version based on the release cycle
information above.
Please do not update the CHANGELOG.md for a new version. Not all
changes to a cookbook may be merged and released in the same versions.
Opscode will update the CHANGELOG.md when releasing a new version of
the cookbook.

View File

@ -1,23 +0,0 @@
# source "https://rubygems.org"
# gem 'cucumber', '~> 1.2.0'
# gem 'httparty', '~> 0.8.3'
# gem 'minitest', '~> 3.0.0'
# gem 'nokogiri', '~> 1.5.0'
# group :kitchen do
# gem 'test-kitchen', '< 1.0'
# end
source 'https://rubygems.org'
gem 'berkshelf', '~> 2.0'
gem 'chefspec', '~> 2.0'
gem 'foodcritic', '~> 3.0'
gem 'rubocop', '~> 0.12'
group :integration do
gem 'test-kitchen', '~> 1.0.0.beta'
gem 'kitchen-vagrant', '~> 0.11'
end

View File

@ -1,201 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) 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. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@ -1,586 +0,0 @@
apache2 Cookbook
================
[![Build Status](https://secure.travis-ci.org/opscode-cookbooks/apache2.png?branch=master)](http://travis-ci.org/opscode-cookbooks/apache2)
This cookbook provides a complete Debian/Ubuntu style Apache HTTPD
configuration. Non-Debian based distributions such as Red Hat/CentOS,
ArchLinux and others supported by this cookbook will have a
configuration that mimics Debian/Ubuntu style as it is easier to
manage with Chef.
Debian-style Apache configuration uses scripts to manage modules and
sites (vhosts). The scripts are:
* a2ensite
* a2dissite
* a2enmod
* a2dismod
This cookbook ships with templates of these scripts for non
Debian/Ubuntu platforms. The scripts are used in the __Definitions__
below.
Requirements
============
## Ohai and Chef:
* Ohai: 0.6.12+
* Chef: 0.10.10+
As of v1.2.0, this cookbook makes use of `node['platform_family']` to
simplify platform selection logic. This attribute was introduced in
Ohai v0.6.12. The recipe methods were introduced in Chef v0.10.10. If
you must run an older version of Chef or Ohai, use [version 1.1.16 of
this cookbook](http://community.opscode.com/cookbooks/apache2/versions/1_1_16/downloads).
## Cookbooks:
This cookbook doesn't have direct dependencies on other cookbooks, as
none are needed for the default recipe or the general use cases.
Depending on your OS configuration and security policy, you may need
additional recipes or cookbooks for this cookbook's recipes to
converge on the node. In particular, the following Operating System
settings may affect the behavior of this cookbook:
* apt cache outdated
* SELinux enabled
* IPtables
* Compile tools
* 3rd party repositories
On Ubuntu/Debian, use Opscode's `apt` cookbook to ensure the package
cache is updated so Chef can install packages, or consider putting
apt-get in your bootstrap process or
[knife bootstrap template](http://wiki.opscode.com/display/chef/Knife+Bootstrap).
On RHEL, SELinux is enabled by default. The `selinux` cookbook
contains a `permissive` recipe that can be used to set SELinux to
"Permissive" state. Otherwise, additional recipes need to be created
by the user to address SELinux permissions.
The easiest but **certainly not ideal way** to deal with IPtables is
to flush all rules. Opscode does provide an `iptables` cookbook but is
migrating from the approach used there to a more robust solution
utilizing a general "firewall" LWRP that would have an "iptables"
provider. Alternately, you can use ufw, with Opscode's `ufw` and
`firewall` cookbooks to set up rules. See those cookbooks' READMEs for
documentation.
Build/compile tools may not be installed on the system by default.
Some recipes (e.g., `apache2::mod_auth_openid`) build the module from
source. Use Opscode's `build-essential` cookbook to get essential
build packages installed.
On ArchLinux, if you are using the `apache2::mod_auth_openid` recipe,
you also need the `pacman` cookbook for the `pacman_aur` LWRP. Put
`recipe[pacman]` on the node's expanded run list (on the node or in a
role). This is not an explicit dependency because it is only required
for this single recipe and platform; the pacman default recipe
performs `pacman -Sy` to keep pacman's package cache updated.
The `apache2::god_monitor` recipe uses a definition from the `god`
cookbook. Include `recipe[god]` in the node's expanded run list to
ensure that the cookbook is available to the node, and to set up `god`.
## Platforms:
The following platforms and versions are tested and supported using
Opscode's [test-kitchen](http://github.com/opscode/test-kitchen).
* Ubuntu 10.04, 12.04
* CentOS 5.8, 6.3
The following platform families are supported in the code, and are
assumed to work based on the successful testing on Ubuntu and CentOS.
* Debian
* Red Hat (rhel)
* Fedora
* Amazon Linux
The following platforms are also supported in the code, have been
tested manually but are not tested under test-kitchen.
* SUSE/OpenSUSE
* ArchLinux
* FreeBSD
### Notes for RHEL Family:
On Red Hat Enterprise Linux and derivatives, the EPEL repository may
be necessary to install packages used in certain recipes. The
`apache2::default` recipe, however, does not require any additional
repositories. Opscode's `yum` cookbook contains a recipe to add the
EPEL repository. See __Examples__ for more information.
### Notes for FreeBSD:
The `apache2::mod_php5` recipe depends on the `freebsd` cookbook,
which it uses to set the correct options for compiling the `php5` port
from sources. You need to ensure the `freebsd` is in the expanded run
list, or this recipe will fail. We don't set an explicit dependency
because we feel the `freebsd` cookbook is something users would want
on their nodes, and due to the generality of this cookbook we don't
want additional specific dependencies.
Tests
=====
This cookbook in the
[source repository](https://github.com/opscode-cookbooks/apache2)
contains minitest and cucumber tests. This is an initial proof of
concept that will be fleshed out with more supporting infrastructure
at a future time.
Please see the CONTRIBUTING file for information on how to add tests
for your contributions.
Attributes
==========
This cookbook uses many attributes, broken up into a few different
kinds.
Platform specific
-----------------
In order to support the broadest number of platforms, several
attributes are determined based on the node's platform. See the
attributes/default.rb file for default values in the case statement at
the top of the file.
* `node['apache']['dir']` - Location for the Apache configuration
* `node['apache']['log_dir']` - Location for Apache logs
* `node['apache']['error_log']` - Location for the default error log
* `node['apache']['access_log']` - Location for the default access log
* `node['apache']['user']` - User Apache runs as
* `node['apache']['group']` - Group Apache runs as
* `node['apache']['binary']` - Apache httpd server daemon
* `node['apache']['icondir']` - Location for icons
* `node['apache']['cache_dir']` - Location for cached files used by Apache itself or recipes
* `node['apache']['pid_file']` - Location of the PID file for Apache httpd
* `node['apache']['lib_dir']` - Location for shared libraries
* `node['apache']['default_site_enabled']` - Default site enabled. Default is false.
* `node['apache']['ext_status']` - if true, enables ExtendedStatus for `mod_status`
General settings
----------------
These are general settings used in recipes and templates. Default
values are noted.
* `node['apache']['listen_addresses']` - Addresses that httpd should listen on. Default is any ("*").
* `node['apache']['listen_ports']` - Ports that httpd should listen on. Default is port 80.
* `node['apache']['contact']` - Value for ServerAdmin directive. Default "ops@example.com".
* `node['apache']['timeout']` - Value for the Timeout directive. Default is 300.
* `node['apache']['keepalive']` - Value for the KeepAlive directive. Default is On.
* `node['apache']['keepaliverequests']` - Value for MaxKeepAliveRequests. Default is 100.
* `node['apache']['keepalivetimeout']` - Value for the KeepAliveTimeout directive. Default is 5.
* `node['apache']['default_modules']` - Array of module names. Can take "mod_FOO" or "FOO" as names, where FOO is the apache module, e.g. "`mod_status`" or "`status`".
The modules listed in `default_modules` will be included as recipes in `recipe[apache::default]`.
Prefork attributes
------------------
Prefork attributes are used for tuning the Apache HTTPD prefork MPM
configuration.
* `node['apache']['prefork']['startservers']` - initial number of server processes to start. Default is 16.
* `node['apache']['prefork']['minspareservers']` - minimum number of spare server processes. Default 16.
* `node['apache']['prefork']['maxspareservers']` - maximum number of spare server processes. Default 32.
* `node['apache']['prefork']['serverlimit']` - upper limit on configurable server processes. Default 400.
* `node['apache']['prefork']['maxclients']` - Maximum number of simultaneous connections.
* `node['apache']['prefork']['maxrequestsperchild']` - Maximum number of request a child process will handle. Default 10000.
Worker attributes
-----------------
Worker attributes are used for tuning the Apache HTTPD worker MPM
configuration.
* `node['apache']['worker']['startservers']` - Initial number of server processes to start. Default 4
* `node['apache']['worker']['serverlimit']` - upper limit on configurable server processes. Default 16.
* `node['apache']['worker']['maxclients']` - Maximum number of simultaneous connections. Default 1024.
* `node['apache']['worker']['minsparethreads']` - Minimum number of spare worker threads. Default 64
* `node['apache']['worker']['maxsparethreads']` - Maximum number of spare worker threads. Default 192.
* `node['apache']['worker']['maxrequestsperchild']` - Maximum number of requests a child process will handle.
mod\_auth\_openid attributes
----------------------------
The following attributes are in the `attributes/mod_auth_openid.rb`
file. Like all Chef attributes files, they are loaded as well, but
they're logistically unrelated to the others, being specific to the
`mod_auth_openid` recipe.
* `node['apache']['mod_auth_openid']['checksum']` - sha256sum of the tarball containing the source.
* `node['apache']['mod_auth_openid']['ref']` - Any sha, tag, or branch found from https://github.com/bmuller/mod_auth_openid
* `node['apache']['mod_auth_openid']['cache_dir']` - the cache directory is where the sqlite3 database is stored. It is separate so it can be managed as a directory resource.
* `node['apache']['mod_auth_openid']['dblocation']` - filename of the sqlite3 database used for directive `AuthOpenIDDBLocation`, stored in the `cache_dir` by default.
* `node['apache']['mod_auth_openid']['configure_flags']` - optional array of configure flags passed to the `./configure` step in the compilation of the module.
mod\_ssl attributes
-------------------
* `node['apache']['mod_ssl']['cipher_suite']` - sets the
SSLCiphersuite value to the specified string. The default is
considered "sane" but you may need to change it for your local
security policy, e.g. if you have PCI-DSS requirements. Additional
commentary on the
[original pull request](https://github.com/opscode-cookbooks/apache2/pull/15#commitcomment-1605406).
Recipes
=======
Most of the recipes in the cookbook are for enabling Apache modules.
Where additional configuration or behavior is used, it is documented
below in more detail.
The following recipes merely enable the specified module: `mod_alias`,
`mod_basic`, `mod_digest`, `mod_authn_file`, `mod_authnz_ldap`,
`mod_authz_default`, `mod_authz_groupfile`, `mod_authz_host`,
`mod_authz_user`, `mod_autoindex`, `mod_cgi`, `mod_dav_fs`,
`mod_dav_svn`, `mod_deflate`, `mod_dir`, `mod_env`, `mod_expires`,
`mod_headers`, `mod_ldap`, `mod_log_config`, `mod_mime`,
`mod_negotiation`, `mod_proxy`, `mod_proxy_ajp`, `mod_proxy_balancer`,
`mod_proxy_connect`, `mod_proxy_http`, `mod_python`, `mod_rewrite`,
`mod_setenvif`, `mod_status`, `mod_wsgi`, `mod_xsendfile`.
On RHEL Family distributions, certain modules ship with a config file
with the package. The recipes here may delete those configuration
files to ensure they don't conflict with the settings from the
cookbook, which will use per-module configuration in
`/etc/httpd/mods-enabled`.
default
-------
The default recipe does a number of things to set up Apache HTTPd. It
also includes a number of modules based on the attribute
`node['apache']['default_modules']` as recipes.
logrotate
---------
Logrotate adds a logrotate entry for your apache2 logs. This recipe
requires the `logrotate` cookbook; ensure that `recipe[logrotate]` is
in the node's expanded run list.
mod\_auth\_cas
--------------
This recipe installs the proper package and enables the `auth_cas`
module. It can install from source or package. Package is the default,
set the attribute `node['apache']['mod_auth_cas']['from_source']` to
true to enable source installation. Modify the version to install by
changing the attribute
`node['apache']['mod_auth_cas']['source_revision']`. It is a version
tag by default, but could be master, or another tag, or branch.
The module configuration is written out with the `CASCookiePath` set,
otherwise an error loading the module may cause Apache to not start.
**Note**: This recipe does not work on EL 6 platforms unless
epel-testing repository is enabled (outside the scope of this
cookbook), or the package version 1.0.8.1-3.el6 or higher is otherwise
available to the system due to this bug:
https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=708550
mod\_auth\_openid
-----------------
**Changed via COOK-915**
This recipe compiles the module from source. In addition to
`build-essential`, some other packages are included for installation
like the GNU C++ compiler and development headers.
To use the module in your own cookbooks to authenticate systems using
OpenIDs, specify an array of OpenIDs that are allowed to authenticate
with the attribute `node['apache']['allowed_openids']`. Use the
following in a vhost to protect with OpenID authentication:
AuthType OpenID require user <%= node['apache']['allowed_openids'].join(' ') %>
AuthOpenIDDBLocation <%= node['apache']['mod_auth_openid']['dblocation'] %>
Change the DBLocation with the attribute as required; this file is in
a different location than previous versions, see below. It should be a
sane default for most platforms, though, see
`attributes/mod_auth_openid.rb`.
### Changes from COOK-915:
* `AuthType OpenID` instead of `AuthOpenIDEnabled On`.
* `require user` instead of `AuthOpenIDUserProgram`.
* A bug(?) in `mod_auth_openid` causes it to segfault when attempting
to update the database file if the containing directory is not
writable by the HTTPD process owner (e.g., www-data), even if the
file is writable. In order to not interfere with other settings from
the default recipe in this cookbook, the db file is moved.
mod\_fastcgi
------------
Install the fastcgi package and enable the module.
Only work on Debian/Ubuntu
mod\_fcgid
----------
Installs the fcgi package and enables the module. Requires EPEL on
RHEL family.
On RHEL family, this recipe will delete the fcgid.conf and on version
6+, create the /var/run/httpd/mod_fcgid` directory, which prevents the
emergency error:
[emerg] (2)No such file or directory: mod_fcgid: Can't create shared memory for size XX bytes
mod\_php5
--------
Simply installs the appropriate package on Debian, Ubuntu and
ArchLinux.
On Red Hat family distributions including Fedora, the php.conf that
comes with the package is removed. On RHEL platforms less than v6, the
`php53` package is used.
mod\_ssl
--------
Besides installing and enabling `mod_ssl`, this recipe will append
port 443 to the `node['apache']['listen_ports']` attribute array and
update the ports.conf.
god\_monitor
------------
Sets up a `god` monitor for Apache. External requirements are the
`god` and `runit` cookbooks from Opscode. When using this recipe,
include `recipe[god]` in the node's expanded run list to ensure the
client downloads it; `god` depends on runit so that will also be
downloaded.
**Note** This recipe is not tested under test-kitchen yet and is
pending fix in COOK-744.
Definitions
===========
The cookbook provides a few definitions. At some point in the future
these definitions may be refactored into lightweight resources and
providers as suggested by
[foodcritic rule FC015](http://acrmp.github.com/foodcritic/#FC015).
apache\_conf
------------
Sets up configuration file for an Apache module from a template. The
template should be in the same cookbook where the definition is used.
This is used by the `apache_module` definition and is not often used
directly.
This will use a template resource to write the module's configuration
file in the `mods-available` under the Apache configuration directory
(`node['apache']['dir']`). This is a platform-dependent location. See
__apache\_module__.
### Parameters:
* `name` - Name of the template. When used from the `apache_module`,
it will use the same name as the module.
### Examples:
Create `#{node['apache']['dir']}/mods-available/alias.conf`.
apache_conf "alias"
apache\_module
--------------
Enable or disable an Apache module in
`#{node['apache']['dir']}/mods-available` by calling `a2enmod` or
`a2dismod` to manage the symbolic link in
`#{node['apache']['dir']}/mods-enabled`. If the module has a
configuration file, a template should be created in the cookbook where
the definition is used. See __Examples__.
### Parameters:
* `name` - Name of the module enabled or disabled with the `a2enmod` or `a2dismod` scripts.
* `enable` - Default true, which uses `a2enmod` to enable the module. If false, the module will be disabled with `a2dismod`.
* `conf` - Default false. Set to true if the module has a config file, which will use `apache_conf` for the file.
* `filename` - specify the full name of the file, e.g.
### Examples:
Enable the ssl module, which also has a configuration template in `templates/default/mods/ssl.conf.erb`.
apache_module "ssl" do
conf true
end
Enable the php5 module, which has a different filename than the module default:
apache_module "php5" do
filename "libphp5.so"
end
Disable a module:
apache_module "disabled_module" do
enable false
end
See the recipes directory for many more examples of `apache_module`.
apache\_site
------------
Enable or disable a VirtualHost in
`#{node['apache']['dir']}/sites-available` by calling a2ensite or
a2dissite to manage the symbolic link in
`#{node['apache']['dir']}/sites-enabled`.
The template for the site must be managed as a separate resource. To
combine the template with enabling a site, see `web_app`.
### Parameters:
* `name` - Name of the site.
* `enable` - Default true, which uses `a2ensite` to enable the site. If false, the site will be disabled with `a2dissite`.
web\_app
--------
Manage a template resource for a VirtualHost site, and enable it with
`apache_site`. This is commonly done for managing web applications
such as Ruby on Rails, PHP or Django, and the default behavior
reflects that. However it is flexible.
This definition includes some recipes to make sure the system is
configured to have Apache and some sane default modules:
* `apache2`
* `apache2::mod_rewrite`
* `apache2::mod_deflate`
* `apache2::mod_headers`
It will then configure the template (see __Parameters__ and
__Examples__ below), and enable or disable the site per the `enable`
parameter.
### Parameters:
Current parameters used by the definition:
* `name` - The name of the site. The template will be written to
`#{node['apache']['dir']}/sites-available/#{params['name']}.conf`
* `cookbook` - Optional. Cookbook where the source template is. If
this is not defined, Chef will use the named template in the
cookbook where the definition is used.
* `template` - Default `web_app.conf.erb`, source template file.
* `enable` - Default true. Passed to the `apache_site` definition.
Additional parameters can be defined when the definition is called in
a recipe, see __Examples__.
### Examples:
All parameters are passed into the template. You can use whatever you
like. The apache2 cookbook comes with a `web_app.conf.erb` template as
an example. The following parameters are used in the template:
* `server_name` - ServerName directive.
* `server_aliases` - ServerAlias directive. Must be an array of aliases.
* `docroot` - DocumentRoot directive.
* `application_name` - Used in RewriteLog directive. Will be set to the `name` parameter.
* `directory_index` - Allow overriding the default DirectoryIndex setting, optional
* `directory_options` - Override Options on the docroot, for example to add parameters like Includes or Indexes, optional.
* `allow_override` - Modify the AllowOverride directive on the docroot to support apps that need .htaccess to modify configuration or require authentication.
To use the default web_app, for example:
web_app "my_site" do
server_name node['hostname']
server_aliases [node['fqdn'], "my-site.example.com"]
docroot "/srv/www/my_site"
end
The parameters specified will be used as:
* `@params[:server_name]`
* `@params[:server_aliases]`
* `@params[:docroot]`
In the template. When you write your own, the `@` is significant.
For more information about Definitions and parameters, see the
[Chef Wiki](http://wiki.opscode.com/display/chef/Definitions)
Usage
=====
Using this cookbook is relatively straightforward. Add the desired
recipes to the run list of a node, or create a role. Depending on your
environment, you may have multiple roles that use different recipes
from this cookbook. Adjust any attributes as desired. For example, to
create a basic role for web servers that provide both HTTP and HTTPS:
% cat roles/webserver.rb
name "webserver"
description "Systems that serve HTTP and HTTPS"
run_list(
"recipe[apache2]",
"recipe[apache2::mod_ssl]"
)
default_attributes(
"apache" => {
"listen_ports" => ["80", "443"]
}
)
For examples of using the definitions in your own recipes, see their
respective sections above.
License and Authors
===================
* Author:: Adam Jacob <adam@opscode.com>
* Author:: Joshua Timberman <joshua@opscode.com>
* Author:: Bryan McLellan <bryanm@widemile.com>
* Author:: Dave Esposito <esposito@espolinux.corpnet.local>
* Author:: David Abdemoulaie <github@hobodave.com>
* Author:: Edmund Haselwanter <edmund@haselwanter.com>
* Author:: Eric Rochester <err8n@virginia.edu>
* Author:: Jim Browne <jbrowne@42lines.net>
* Author:: Matthew Kent <mkent@magoazul.com>
* Author:: Nathen Harvey <nharvey@customink.com>
* Author:: Ringo De Smet <ringo.de.smet@amplidata.com>
* Author:: Sean OMeara <someara@opscode.com>
* Author:: Seth Chisamore <schisamo@opscode.com>
* Author:: Gilles Devaux <gilles@peerpong.com>
* Copyright:: 2009-2012, Opscode, Inc
* Copyright:: 2011, Atriso
* Copyright:: 2011, CustomInk, LLC.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@ -1,53 +0,0 @@
This cookbook uses a variety of testing components:
- Unit tests: [ChefSpec](https://github.com/acrmp/chefspec)
- Integration tests: [Test Kitchen](https://github.com/opscode/test-kitchen)
- Chef Style lints: [Foodcritic](https://github.com/acrmp/foodcritic)
- Ruby Style lints: [Rubocop](https://github.com/bbatsov/rubocop)
Prerequisites
-------------
To develop on this cookbook, you must have a sane Ruby 1.9+ environment. Given the nature of this installation process (and it's variance across multiple operating systems), we will leave this installation process to the user.
You must also have `bundler` installed:
$ gem install bundler
You must also have Vagrant and VirtualBox installed:
- [Vagrant](https://vagrantup.com)
- [VirtualBox](https://virtualbox.org)
Once installed, you must install the `vagrant-berkshelf` plugin:
$ vagrant plugin install vagrant-berkshelf
Development
-----------
1. Clone the git repository from GitHub:
$ git clone git@github.com:opscode-cookbooks/COOKBOOK.git
2. Install the dependencies using bundler:
$ bundle install
3. Create a branch for your changes:
$ git checkout -b my_bug_fix
4. Make any changes
5. Write tests to support those changes. It is highly recommended you write both unit and integration tests.
6. Run the tests:
- `bundle exec rspec`
- `bundle exec foodcritic .`
- `bundle exec rubocop`
- `bundle exec kitchen test`
7. Assuming the tests pass, open a Pull Request on GitHub
8. Open a JIRA ticket for this compontent, linking the JIRA ticket to the Pull Request and visa versa.
9. Mark the JIRA ticket as "Fix Provided"
For more information, see [Opscode's Contribution Guidelines](https://wiki.opscode.com/display/chef/How+to+Contribute).

View File

@ -1,177 +0,0 @@
#
# Cookbook Name:: apache2
# Attributes:: apache
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
default['apache']['root_group'] = 'root'
# Where the various parts of apache are
case node['platform']
when 'redhat', 'centos', 'scientific', 'fedora', 'suse', 'amazon', 'oracle'
default['apache']['package'] = 'httpd'
default['apache']['dir'] = '/etc/httpd'
default['apache']['log_dir'] = '/var/log/httpd'
default['apache']['error_log'] = 'error.log'
default['apache']['access_log'] = 'access.log'
default['apache']['user'] = 'apache'
default['apache']['group'] = 'apache'
default['apache']['binary'] = '/usr/sbin/httpd'
default['apache']['docroot_dir'] = '/var/www/html'
default['apache']['cgibin_dir'] = '/var/www/cgi-bin'
default['apache']['icondir'] = '/var/www/icons'
default['apache']['cache_dir'] = '/var/cache/httpd'
default['apache']['pid_file'] = if node['platform_version'].to_f >= 6
'/var/run/httpd/httpd.pid'
else
'/var/run/httpd.pid'
end
default['apache']['lib_dir'] = node['kernel']['machine'] =~ /^i[36]86$/ ? '/usr/lib/httpd' : '/usr/lib64/httpd'
default['apache']['libexecdir'] = "#{node['apache']['lib_dir']}/modules"
default['apache']['default_site_enabled'] = false
when 'debian', 'ubuntu'
default['apache']['package'] = 'apache2'
default['apache']['dir'] = '/etc/apache2'
default['apache']['log_dir'] = '/var/log/apache2'
default['apache']['error_log'] = 'error.log'
default['apache']['access_log'] = 'access.log'
default['apache']['user'] = 'www-data'
default['apache']['group'] = 'www-data'
default['apache']['binary'] = '/usr/sbin/apache2'
default['apache']['docroot_dir'] = '/var/www'
default['apache']['cgibin_dir'] = '/usr/lib/cgi-bin'
default['apache']['icondir'] = '/usr/share/apache2/icons'
default['apache']['cache_dir'] = '/var/cache/apache2'
default['apache']['pid_file'] = '/var/run/apache2.pid'
default['apache']['lib_dir'] = '/usr/lib/apache2'
default['apache']['libexecdir'] = "#{node['apache']['lib_dir']}/modules"
default['apache']['default_site_enabled'] = false
when 'arch'
default['apache']['package'] = 'apache'
default['apache']['dir'] = '/etc/httpd'
default['apache']['log_dir'] = '/var/log/httpd'
default['apache']['error_log'] = 'error.log'
default['apache']['access_log'] = 'access.log'
default['apache']['user'] = 'http'
default['apache']['group'] = 'http'
default['apache']['binary'] = '/usr/sbin/httpd'
default['apache']['docroot_dir'] = '/srv/http'
default['apache']['cgibin_dir'] = '/usr/share/httpd/cgi-bin'
default['apache']['icondir'] = '/usr/share/httpd/icons'
default['apache']['cache_dir'] = '/var/cache/httpd'
default['apache']['pid_file'] = '/var/run/httpd/httpd.pid'
default['apache']['lib_dir'] = '/usr/lib/httpd'
default['apache']['libexecdir'] = "#{node['apache']['lib_dir']}/modules"
default['apache']['default_site_enabled'] = false
when 'freebsd'
default['apache']['package'] = 'apache22'
default['apache']['dir'] = '/usr/local/etc/apache22'
default['apache']['log_dir'] = '/var/log'
default['apache']['error_log'] = 'httpd-error.log'
default['apache']['access_log'] = 'httpd-access.log'
default['apache']['root_group'] = 'wheel'
default['apache']['user'] = 'www'
default['apache']['group'] = 'www'
default['apache']['binary'] = '/usr/local/sbin/httpd'
default['apache']['docroot_dir'] = '/usr/local/www/apache22/data'
default['apache']['cgibin_dir'] = '/usr/local/www/apache22/cgi-bin'
default['apache']['icondir'] = '/usr/local/www/apache22/icons'
default['apache']['cache_dir'] = '/var/run/apache22'
default['apache']['pid_file'] = '/var/run/httpd.pid'
default['apache']['lib_dir'] = '/usr/local/libexec/apache22'
default['apache']['libexecdir'] = node['apache']['lib_dir']
default['apache']['default_site_enabled'] = false
else
default['apache']['dir'] = '/etc/apache2'
default['apache']['log_dir'] = '/var/log/apache2'
default['apache']['error_log'] = 'error.log'
default['apache']['access_log'] = 'access.log'
default['apache']['user'] = 'www-data'
default['apache']['group'] = 'www-data'
default['apache']['binary'] = '/usr/sbin/apache2'
default['apache']['docroot_dir'] = '/var/www'
default['apache']['cgibin_dir'] = '/usr/lib/cgi-bin'
default['apache']['icondir'] = '/usr/share/apache2/icons'
default['apache']['cache_dir'] = '/var/cache/apache2'
default['apache']['pid_file'] = 'logs/httpd.pid'
default['apache']['lib_dir'] = '/usr/lib/apache2'
default['apache']['libexecdir'] = "#{node['apache']['lib_dir']}/modules"
default['apache']['default_site_enabled'] = false
end
###
# These settings need the unless, since we want them to be tunable,
# and we don't want to override the tunings.
###
# General settings
default['apache']['listen_addresses'] = %w[*]
default['apache']['listen_ports'] = %w[80]
default['apache']['contact'] = 'ops@example.com'
default['apache']['timeout'] = 300
default['apache']['keepalive'] = 'On'
default['apache']['keepaliverequests'] = 100
default['apache']['keepalivetimeout'] = 5
# Security
default['apache']['servertokens'] = 'Prod'
default['apache']['serversignature'] = 'On'
default['apache']['traceenable'] = 'On'
# mod_auth_openids
default['apache']['allowed_openids'] = []
# mod_status Allow list, space seprated list of allowed entries.
default['apache']['status_allow_list'] = 'localhost ip6-localhost'
# mod_status ExtendedStatus, set to 'true' to enable
default['apache']['ext_status'] = false
# mod_info Allow list, space seprated list of allowed entries.
default['apache']['info_allow_list'] = 'localhost ip6-localhost'
# Prefork Attributes
default['apache']['prefork']['startservers'] = 16
default['apache']['prefork']['minspareservers'] = 16
default['apache']['prefork']['maxspareservers'] = 32
default['apache']['prefork']['serverlimit'] = 400
default['apache']['prefork']['maxclients'] = 400
default['apache']['prefork']['maxrequestsperchild'] = 10_000
# Worker Attributes
default['apache']['worker']['startservers'] = 4
default['apache']['worker']['serverlimit'] = 16
default['apache']['worker']['maxclients'] = 1024
default['apache']['worker']['minsparethreads'] = 64
default['apache']['worker']['maxsparethreads'] = 192
default['apache']['worker']['threadsperchild'] = 64
default['apache']['worker']['maxrequestsperchild'] = 0
# mod_proxy settings
default['apache']['proxy']['order'] = 'deny,allow'
default['apache']['proxy']['deny_from'] = 'all'
default['apache']['proxy']['allow_from'] = 'none'
# Default modules to enable via include_recipe
default['apache']['default_modules'] = %w[
status alias auth_basic authn_file authz_default authz_groupfile authz_host authz_user autoindex
dir env mime negotiation setenvif
]
%w[log_config logio].each do |log_mod|
default['apache']['default_modules'] << log_mod if %w[rhel fedora suse arch freebsd].include?(node['platform_family'])
end

View File

@ -1,21 +0,0 @@
#
# Cookbook Name:: apache2
# Attributes:: mod_auth_cas
#
# Copyright 2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
default['apache']['mod_auth_cas']['from_source'] = false
default['apache']['mod_auth_cas']['source_revision'] = 'v1.0.8.1'

View File

@ -1,33 +0,0 @@
#
# Cookbook Name:: apache2
# Attributes:: mod_auth_cas
#
# Copyright 2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
default['apache']['mod_auth_openid']['ref'] = '95043901eab868400937642d9bc55d17e9dd069f'
default['apache']['mod_auth_openid']['source_url'] = "https://github.com/bmuller/mod_auth_openid/archive/#{node['apache']['mod_auth_openid']['ref']}.tar.gz"
default['apache']['mod_auth_openid']['cache_dir'] = '/var/cache/mod_auth_openid'
default['apache']['mod_auth_openid']['dblocation'] = "#{node['apache']['mod_auth_openid']['cache_dir']}/mod_auth_openid.db"
case node['platform_family']
when 'freebsd'
default['apache']['mod_auth_openid']['configure_flags'] = [
'CPPFLAGS=-I/usr/local/include',
'LDFLAGS=-I/usr/local/lib -lsqlite3'
]
else
default['apache']['mod_auth_openid']['configure_flags'] = []
end

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Attributes:: mod_fastcgi
#
# Copyright 2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
default['apache']['mod_fastcgi']['download_url'] = 'http://www.fastcgi.com/dist/mod_fastcgi-current.tar.gz'

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Attributes:: mod_ssl
#
# Copyright 2012-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
default['apache']['mod_ssl']['cipher_suite'] = 'RC4-SHA:HIGH:!ADH'

View File

@ -1,26 +0,0 @@
#
# Cookbook Name:: apache2
# Definition:: apache_conf
#
# Copyright 2008-20013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
define :apache_conf do
template "#{node['apache']['dir']}/mods-available/#{params[:name]}.conf" do
source "mods/#{params[:name]}.conf.erb"
mode '0644'
notifies :restart, 'service[apache2]'
end
end

View File

@ -1,51 +0,0 @@
#
# Cookbook Name:: apache2
# Definition:: apache_module
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
define :apache_module, :enable => true, :conf => false do
include_recipe 'apache2::default'
params[:filename] = params[:filename] || "mod_#{params[:name]}.so"
params[:module_path] = params[:module_path] || "#{node['apache']['libexecdir']}/#{params[:filename]}"
apache_conf params[:name] if params[:conf]
if platform_family?('rhel', 'fedora', 'arch', 'suse', 'freebsd')
file "#{node['apache']['dir']}/mods-available/#{params[:name]}.load" do
content "LoadModule #{params[:name]}_module #{params[:module_path]}\n"
mode '0644'
end
end
if params[:enable]
execute "a2enmod #{params[:name]}" do
command "/usr/sbin/a2enmod #{params[:name]}"
notifies :restart, 'service[apache2]'
not_if do
::File.symlink?("#{node['apache']['dir']}/mods-enabled/#{params[:name]}.load") &&
(::File.exists?("#{node['apache']['dir']}/mods-available/#{params[:name]}.conf") ? ::File.symlink?("#{node['apache']['dir']}/mods-enabled/#{params[:name]}.conf") : true)
end
end
else
execute "a2dismod #{params[:name]}" do
command "/usr/sbin/a2dismod #{params[:name]}"
notifies :restart, 'service[apache2]'
only_if { ::File.symlink?("#{node['apache']['dir']}/mods-enabled/#{params[:name]}.load") }
end
end
end

View File

@ -1,43 +0,0 @@
#
# Cookbook Name:: apache2
# Definition:: apache_site
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
define :apache_site, :enable => true do
include_recipe 'apache2::default'
if params[:enable]
execute "a2ensite #{params[:name]}" do
command "/usr/sbin/a2ensite #{params[:name]}"
notifies :restart, 'service[apache2]'
not_if do
::File.symlink?("#{node['apache']['dir']}/sites-enabled/#{params[:name]}") ||
::File.symlink?("#{node['apache']['dir']}/sites-enabled/000-#{params[:name]}")
end
only_if { ::File.exists?("#{node['apache']['dir']}/sites-available/#{params[:name]}") }
end
else
execute "a2dissite #{params[:name]}" do
command "/usr/sbin/a2dissite #{params[:name]}"
notifies :restart, 'service[apache2]'
only_if do
::File.symlink?("#{node['apache']['dir']}/sites-enabled/#{params[:name]}") ||
::File.symlink?("#{node['apache']['dir']}/sites-enabled/000-#{params[:name]}")
end
end
end
end

View File

@ -1,48 +0,0 @@
#
# Cookbook Name:: apache2
# Definition:: web_app
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
define :web_app, :template => 'web_app.conf.erb', :enable => true do
application_name = params[:name]
include_recipe 'apache2::default'
include_recipe 'apache2::mod_rewrite'
include_recipe 'apache2::mod_deflate'
include_recipe 'apache2::mod_headers'
template "#{node['apache']['dir']}/sites-available/#{application_name}.conf" do
source params[:template]
owner 'root'
group node['apache']['root_group']
mode '0644'
cookbook params[:cookbook] if params[:cookbook]
variables(
:application_name => application_name,
:params => params
)
if ::File.exists?("#{node['apache']['dir']}/sites-enabled/#{application_name}.conf")
notifies :reload, 'service[apache2]'
end
end
site_enabled = params[:enable]
apache_site "#{params[:name]}.conf" do
enable site_enabled
end
end

View File

@ -1,41 +0,0 @@
#!/usr/bin/perl
=begin
Generates Ubuntu style module.load files.
./apache2_module_conf_generate.pl /usr/lib64/httpd/modules /etc/httpd/mods-available
ARGV[0] is the apache modules directory, ARGV[1] is where you want 'em.
=cut
use File::Find;
use strict;
use warnings;
die "Must have '/path/to/modules' and '/path/to/modules.load'"
unless $ARGV[0] && $ARGV[1];
find(
{
wanted => sub {
return 1 if $File::Find::name !~ /\.so$/;
my $modfile = $_;
$modfile =~ /(lib|mod_)(.+)\.so$/;
my $modname = $2;
my $filename = "$ARGV[1]/$modname.load";
unless ( -f $filename ) {
open( FILE, ">", $filename ) or die "Cannot open $filename";
print FILE "LoadModule " . $modname . "_module $File::Find::name\n";
close(FILE);
}
},
follow => 1,
},
$ARGV[0]
);
exit 0;

View File

@ -1,76 +0,0 @@
require File.expand_path('../support/helpers', __FILE__)
describe 'apache2::default' do
include Helpers::Apache
it 'installs apache' do
package(node['apache']['package']).must_be_installed
end
it 'starts apache' do
apache_service.must_be_running
end
it 'enables apache' do
apache_service.must_be_enabled
end
it 'creates the conf.d directory' do
directory("#{node['apache']['dir']}/conf.d").must_exist.with(:mode, '755')
end
it 'creates the logs directory' do
directory(node['apache']['log_dir']).must_exist
end
it 'enables the default site unless it is disabled' do
skip unless node['apache']['default_site_enabled']
file("#{node['apache']['dir']}/sites-enabled/000-default").must_exist
file("#{node['apache']['dir']}/sites-available/default").must_exist
end
it 'ensures the debian-style apache module scripts are present' do
%w{a2ensite a2dissite a2enmod a2dismod}.each do |mod_script|
file("/usr/sbin/#{mod_script}").must_exist
end
end
it 'reports server name only, not detailed version info' do
assert_match(/^ServerTokens #{node['apache']['servertokens']} *$/, File.read("#{node['apache']['dir']}/conf.d/security"))
end
it 'listens on port 80' do
apache_configured_ports.must_include(80)
end
it 'only listens on port 443 when SSL is enabled' do
unless ran_recipe?('apache2::mod_ssl')
apache_configured_ports.wont_include(443)
end
end
it 'reports server name only, not detailed version info' do
file("#{node['apache']['dir']}/conf.d/security").must_match(/^ServerTokens #{node['apache']['servertokens']} *$/)
end
it 'enables default_modules' do
node['apache']['default_modules'].each do |a2mod|
apache_enabled_modules.must_include "#{a2mod}_module"
end
end
describe 'centos' do
it 'ensures no modules are loaded in conf.d' do
Dir["#{node['apache']['dir']}/conf.d/*"].each do |f|
file(f).wont_include 'LoadModule'
end
end
end
describe 'configuration' do
it { config.must_include '# Generated by Chef' }
it { config.must_include %Q{ServerRoot "#{node['apache']['dir']}"} }
it { config.must_include "Include #{node['apache']['dir']}/conf.d/" }
it { apache_config_parses? }
end
end

View File

@ -1,34 +0,0 @@
#
# Author:: Joshua Timberman <joshua@opscode.com>
# Copyright:: Copyright (c) 2012, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
require File.expand_path('../support/helpers', __FILE__)
describe 'apache2::god_monitor' do
include Helpers::Apache
it 'starts god service to supervise apache2' do
service('god').must_be_running
end
it 'creates the god service template for apache' do
file('/etc/god/conf.d/apache2.god').must_exist
end
it 'starts an apache2 service that works like a regular service' do
# to be implemented when COOK-744 is fixed
end
end

View File

@ -1,19 +0,0 @@
require File.expand_path('../support/helpers', __FILE__)
describe 'apache2::mod_apreq2' do
include Helpers::Apache
it 'enables apreq_module' do
apache_enabled_modules.must_include 'apreq_module'
end
it 'symlinks the module on EL' do
skip unless %w[rhel fedora].include?(node['platform_family'])
libdir = node['kernel']['machine'] == 'x86_64' ? 'lib64' : 'lib'
link(
"/usr/#{libdir}/httpd/modules/mod_apreq.so"
).must_exist.with(
:link_type, :symbolic).and(:to, "/usr/#{libdir}/httpd/modules/mod_apreq2.so"
)
end
end

View File

@ -1,10 +0,0 @@
require File.expand_path('../support/helpers', __FILE__)
describe 'apache2::mod_auth_cas' do
include Helpers::Apache
it 'enables auth_cas_module' do
skip if %w[rhel fedora].include?(node['platform_family']) && node['platform_version'].to_f > 6.0
apache_enabled_modules.must_include 'auth_cas_module'
end
end

View File

@ -1,36 +0,0 @@
require File.expand_path('../support/helpers', __FILE__)
require 'pathname'
describe 'apache2::mod_auth_openid' do
include Helpers::Apache
it 'installs the opekele library' do
lib_dir = Pathname.new(node['apache']['lib_dir']).dirname.to_s
file("#{lib_dir}/libopkele.so").must_exist
end
it 'does not add the module to httpd.conf' do
conffile = case node['platform']
when 'debian', 'ubuntu'
'apache2.conf'
when 'redhat', 'centos', 'scientific', 'fedora', 'arch', 'amazon'
'conf/httpd.conf'
when 'freebsd'
'httpd.conf'
end
httpd_config = File.read(File.join(node['apache']['dir'], conffile))
refute_match /^LoadModule authopenid_module /, httpd_config
end
it 'creates a cache directory for the module' do
directory(node['apache']['mod_auth_openid']['cache_dir']).must_exist.with(:owner, node['apache']['user'])
end
it 'ensures the db file is writable by apache' do
file(node['apache']['mod_auth_openid']['dblocation']).must_exist.with(:owner, node['apache']['user']).and(:mode, '644')
end
it 'enables authopenid_module' do
apache_enabled_modules.must_include 'authopenid_module'
end
end

View File

@ -1,12 +0,0 @@
require File.expand_path('../support/helpers', __FILE__)
describe 'apache2::mod_cgi' do
include Helpers::Apache
# the cgi module can be either cgi or cgid
it 'enables cgi or cgid_module' do
assert(apache_enabled_modules.include?('cgi_module') ||
apache_enabled_modules.include?('cgid_module')
)
end
end

View File

@ -1,13 +0,0 @@
require File.expand_path('../support/helpers', __FILE__)
describe 'apache2::mod_dav_svn' do
include Helpers::Apache
it 'enables dav_svn_module' do
apache_enabled_modules.must_include('dav_svn_module')
end
it 'enables dav_module' do
apache_enabled_modules.must_include('dav_module')
end
end

View File

@ -1,10 +0,0 @@
require File.expand_path('../support/helpers', __FILE__)
describe 'apache2::mod_fastcgi' do
include Helpers::Apache
it 'enables fastcgi_module' do
skip if %w{rhel fedora}.include?(node['platform_family'])
apache_enabled_modules.must_include 'fastcgi_module'
end
end

View File

@ -1,14 +0,0 @@
require File.expand_path('../support/helpers', __FILE__)
describe 'apache2::mod_include' do
include Helpers::Apache
it 'enables include_module' do
apache_enabled_modules.must_include 'include_module'
end
it 'drops off the include module configuration' do
assert_match(/AddType text\/html .shtml/, File.read("#{node['apache']['dir']}/mods-enabled/include.conf"))
assert_match(/AddOutputFilter INCLUDES .shtml/, File.read("#{node['apache']['dir']}/mods-enabled/include.conf"))
end
end

View File

@ -1,17 +0,0 @@
require File.expand_path('../support/helpers', __FILE__)
describe 'apache2::mod_perl' do
include Helpers::Apache
it 'enables perl_module' do
apache_enabled_modules.must_include('perl_module')
end
it 'installs the apache request library' do
req_pkg = case node['platform']
when 'debian', 'ubuntu' then 'libapache2-request-perl'
else 'perl-libapreq2'
end
package(req_pkg).must_be_installed
end
end

View File

@ -1,13 +0,0 @@
require File.expand_path('../support/helpers', __FILE__)
describe 'apache2::mod_php5' do
include Helpers::Apache
it 'enables php5_module' do
apache_enabled_modules.must_include('php5_module')
end
it 'deletes the packaged php config if any' do
file("#{node['apache']['dir']}/conf.d/php.conf").wont_exist
end
end

View File

@ -1,9 +0,0 @@
require File.expand_path('../support/helpers', __FILE__)
describe 'apache2::mod_python' do
include Helpers::Apache
it 'enables python_module' do
apache_enabled_modules.must_include('python_module')
end
end

View File

@ -1,27 +0,0 @@
require File.expand_path('../support/helpers', __FILE__)
describe 'apache2::mod_ssl' do
include Helpers::Apache
it 'installs the mod_ssl package on RHEL distributions' do
skip unless %w[rhel fedora].include?(node['platform_family'])
package('mod_ssl').must_be_installed
end
it 'enables ssl_module' do
apache_enabled_modules.must_include 'ssl_module'
end
it 'does not store SSL config in conf.d' do
file("#{node['apache']['dir']}/conf.d/ssl.conf").wont_exist
end
it 'is configured to listen on port 443' do
apache_configured_ports.must_include(443)
end
it 'configures SSLCiphersuit from an attribute' do
assert_match(/^SSLCipherSuite #{node['apache']['mod_ssl']['cipher_suite']}$/,
File.read("#{node['apache']['dir']}/mods-enabled/ssl.conf"))
end
end

View File

@ -1,66 +0,0 @@
module Helpers
# MiniTest helpers
module Apache
require 'chef/mixin/shell_out'
include Chef::Mixin::ShellOut
include MiniTest::Chef::Assertions
include MiniTest::Chef::Context
include MiniTest::Chef::Resources
def apache_config_parses?
acp = shell_out("#{node['apache']['binary']} -t")
acp.exitstatus == 0
end
def apache_configured_ports
port_config = File.read("#{node['apache']['dir']}/ports.conf")
port_config.scan(/^Listen ([0-9]+)/).flatten.map { |p| p.to_i }
end
def apache_enabled_modules
apache_modules = shell_out("#{node['apache']['binary']} -M")
apache_modules.send(
if node['platform_family'] == 'rhel' && node['platform_version'].to_f < 6.0
:stderr
else
:stdout
end
).split.select! { |i| i =~ /_module$/ }
end
def apache_service
service(
case node['platform']
when 'debian', 'ubuntu' then 'apache2'
when 'freebsd' then 'apache22'
else 'httpd'
end
)
end
def config
file(
case node['platform']
when 'debian', 'ubuntu' then "#{node['apache']['dir']}/apache2.conf"
when 'freebsd' then "#{node['apache']['dir']}/httpd.conf"
else "#{node['apache']['dir']}/conf/httpd.conf"
end
)
end
def ran_recipe?(recipe)
if Chef::VERSION < '11.0'
seen_recipes = node.run_state[:seen_recipes]
recipes = seen_recipes.keys.each { |i| i }
else
recipes = run_context.loaded_recipes
end
if recipes.empty? && Chef::Config[:solo]
# If you have roles listed in your run list they are NOT expanded
recipes = node.run_list.map { |item| item.name if item.type == :recipe }
end
recipes.include?(recipe)
end
end
end

View File

@ -1,225 +0,0 @@
name 'apache2'
maintainer 'Opscode, Inc.'
maintainer_email 'cookbooks@opscode.com'
license 'Apache 2.0'
description 'Installs and configures all aspects of apache2 using Debian style symlinks with helper definitions'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.8.5'
recipe 'apache2', 'Main Apache configuration'
recipe 'apache2::logrotate', 'Rotate apache2 logs. Requires logrotate cookbook'
recipe 'apache2::mod_alias', 'Apache module "alias" with config file'
recipe 'apache2::mod_apreq2', 'Apache module "apreq"'
recipe 'apache2::mod_auth_basic', 'Apache module "auth_basic"'
recipe 'apache2::mod_auth_digest', 'Apache module "auth_digest"'
recipe 'apache2::mod_auth_openid', 'Apache module "authopenid"'
recipe 'apache2::mod_authn_file', 'Apache module "authn_file"'
recipe 'apache2::mod_authnz_ldap', 'Apache module "authnz_ldap"'
recipe 'apache2::mod_authz_default', 'Apache module "authz_default"'
recipe 'apache2::mod_authz_groupfile', 'Apache module "authz_groupfile"'
recipe 'apache2::mod_authz_host', 'Apache module "authz_host"'
recipe 'apache2::mod_authz_user', 'Apache module "authz_user"'
recipe 'apache2::mod_autoindex', 'Apache module "autoindex" with config file'
recipe 'apache2::mod_cgi', 'Apache module "cgi"'
recipe 'apache2::mod_dav', 'Apache module "dav"'
recipe 'apache2::mod_dav_svn', 'Apache module "dav_svn"'
recipe 'apache2::mod_deflate', 'Apache module "deflate" with config file'
recipe 'apache2::mod_dir', 'Apache module "dir" with config file'
recipe 'apache2::mod_env', 'Apache module "env"'
recipe 'apache2::mod_expires', 'Apache module "expires"'
recipe 'apache2::mod_fcgid', 'Apache module "fcgid", package on ubuntu/debian, rhel/centos, compile source on suse; with config file'
recipe 'apache2::mod_headers', 'Apache module "headers"'
recipe 'apache2::mod_include', 'Apache module "include"'
recipe 'apache2::mod_ldap', 'Apache module "ldap"'
recipe 'apache2::mod_log_config', 'Apache module "log_config"'
recipe 'apache2::mod_mime', 'Apache module "mime" with config file'
recipe 'apache2::mod_negotiation', 'Apache module "negotiation" with config file'
recipe 'apache2::mod_perl', 'Apache module "perl"'
recipe 'apache2::mod_php5', 'Apache module "php5"'
recipe 'apache2::mod_proxy', 'Apache module "proxy" with config file'
recipe 'apache2::mod_proxy_ajp', 'Apache module "proxy_ajp"'
recipe 'apache2::mod_proxy_balancer', 'Apache module "proxy_balancer"'
recipe 'apache2::mod_proxy_connect', 'Apache module "proxy_connect"'
recipe 'apache2::mod_proxy_http', 'Apache module "proxy_http"'
recipe 'apache2::mod_python', 'Apache module "python"'
recipe 'apache2::mod_rewrite', 'Apache module "rewrite"'
recipe 'apache2::mod_setenvif', 'Apache module "setenvif" with config file'
recipe 'apache2::mod_ssl', 'Apache module "ssl" with config file, adds port 443 to listen_ports'
recipe 'apache2::mod_status', 'Apache module "status" with config file'
recipe 'apache2::mod_xsendfile', 'Apache module "xsendfile"'
supports 'amazon'
supports 'arch'
supports 'centos'
supports 'debian'
supports 'fedora'
supports 'freebsd'
supports 'redhat'
supports 'scientific'
supports 'ubuntu'
attribute 'apache',
:display_name => 'Apache Hash',
:description => 'Hash of Apache attributes',
:type => 'hash'
attribute 'apache/dir',
:display_name => 'Apache Directory',
:description => 'Location for Apache configuration',
:default => '/etc/apache2'
attribute 'apache/log_dir',
:display_name => 'Apache Log Directory',
:description => 'Location for Apache logs',
:default => '/etc/apache2'
attribute 'apache/user',
:display_name => 'Apache User',
:description => 'User Apache runs as',
:default => 'www-data'
attribute 'apache/binary',
:display_name => 'Apache Binary',
:description => 'Apache server daemon program',
:default => '/usr/sbin/apache2'
attribute 'apache/icondir',
:display_name => 'Apache Icondir',
:description => 'Directory location for icons',
:default => '/usr/share/apache2/icons'
attribute 'apache/listen_addresses',
:display_name => 'Apache Listen Addresses',
:description => 'Addresses that Apache should listen on',
:type => 'array',
:default => %w[*]
attribute 'apache/listen_ports',
:display_name => 'Apache Listen Ports',
:description => 'Ports that Apache should listen on',
:type => 'array',
:default => %w[80 443]
attribute 'apache/contact',
:display_name => 'Apache Contact',
:description => 'Email address of webmaster',
:default => 'ops@example.com'
attribute 'apache/timeout',
:display_name => 'Apache Timeout',
:description => 'Connection timeout value',
:default => '300'
attribute 'apache/keepalive',
:display_name => 'Apache Keepalive',
:description => 'HTTP persistent connections',
:default => 'On'
attribute 'apache/keepaliverequests',
:display_name => 'Apache Keepalive Requests',
:description => 'Number of requests allowed on a persistent connection',
:default => '100'
attribute 'apache/keepalivetimeout',
:display_name => 'Apache Keepalive Timeout',
:description => 'Time to wait for requests on persistent connection',
:default => '5'
attribute 'apache/servertokens',
:display_name => 'Apache Server Tokens',
:description => 'Server response header',
:default => 'Prod'
attribute 'apache/serversignature',
:display_name => 'Apache Server Signature',
:description => 'Configure footer on server-generated documents',
:default => 'On'
attribute 'apache/traceenable',
:display_name => 'Apache Trace Enable',
:description => 'Determine behavior of TRACE requests',
:default => 'On'
attribute 'apache/allowed_openids',
:display_name => 'Apache Allowed OpenIDs',
:description => 'Array of OpenIDs allowed to authenticate',
:default => ''
attribute 'apache/prefork',
:display_name => 'Apache Prefork',
:description => 'Hash of Apache prefork tuning attributes.',
:type => 'hash'
attribute 'apache/prefork/startservers',
:display_name => 'Apache Prefork MPM StartServers',
:description => 'Number of MPM servers to start',
:default => '16'
attribute 'apache/prefork/minspareservers',
:display_name => 'Apache Prefork MPM MinSpareServers',
:description => 'Minimum number of spare server processes',
:default => '16'
attribute 'apache/prefork/maxspareservers',
:display_name => 'Apache Prefork MPM MaxSpareServers',
:description => 'Maximum number of spare server processes',
:default => '32'
attribute 'apache/prefork/serverlimit',
:display_name => 'Apache Prefork MPM ServerLimit',
:description => 'Upper limit on configurable server processes',
:default => '400'
attribute 'apache/prefork/maxclients',
:display_name => 'Apache Prefork MPM MaxClients',
:description => 'Maximum number of simultaneous connections',
:default => '400'
attribute 'apache/prefork/maxrequestsperchild',
:display_name => 'Apache Prefork MPM MaxRequestsPerChild',
:description => 'Maximum number of request a child process will handle',
:default => '10000'
attribute 'apache/worker',
:display_name => 'Apache Worker',
:description => 'Hash of Apache prefork tuning attributes.',
:type => 'hash'
attribute 'apache/worker/startservers',
:display_name => 'Apache Worker MPM StartServers',
:description => 'Initial number of server processes to start',
:default => '4'
attribute 'apache/worker/maxclients',
:display_name => 'Apache Worker MPM MaxClients',
:description => 'Maximum number of simultaneous connections',
:default => '1024'
attribute 'apache/worker/minsparethreads',
:display_name => 'Apache Worker MPM MinSpareThreads',
:description => 'Minimum number of spare worker threads',
:default => '64'
attribute 'apache/worker/maxsparethreads',
:display_name => 'Apache Worker MPM MaxSpareThreads',
:description => 'Maximum number of spare worker threads',
:default => '192'
attribute 'apache/worker/threadsperchild',
:display_name => 'Apache Worker MPM ThreadsPerChild',
:description => 'Constant number of worker threads in each server process',
:default => '64'
attribute 'apache/worker/maxrequestsperchild',
:display_name => 'Apache Worker MPM MaxRequestsPerChild',
:description => 'Maximum number of request a child process will handle',
:default => '0'
attribute 'apache/default_modules',
:display_name => 'Apache Default Modules',
:description => 'Default modules to enable via recipes',
:default => 'status alias auth_basic authn_file authz_default authz_groupfile authz_host authz_user autoindex dir env mime negotiation setenvif'
attribute 'apache/mod_ssl/cipher_suite',
:display_name => 'Apache mod_ssl Cipher Suite',
:description => 'String of SSL ciphers to use for SSLCipherSuite',
:default => 'RC4-SHA:HIGH:!ADH'

View File

@ -1,212 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: default
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
package 'apache2' do
package_name node['apache']['package']
end
service 'apache2' do
case node['platform_family']
when 'rhel', 'fedora', 'suse'
service_name 'httpd'
# If restarted/reloaded too quickly httpd has a habit of failing.
# This may happen with multiple recipes notifying apache to restart - like
# during the initial bootstrap.
restart_command '/sbin/service httpd restart && sleep 1'
reload_command '/sbin/service httpd reload && sleep 1'
when 'debian'
service_name 'apache2'
restart_command '/usr/sbin/invoke-rc.d apache2 restart && sleep 1'
reload_command '/usr/sbin/invoke-rc.d apache2 reload && sleep 1'
when 'arch'
service_name 'httpd'
when 'freebsd'
service_name 'apache22'
end
supports [:restart, :reload, :status]
action :enable
end
if platform_family?('rhel', 'fedora', 'arch', 'suse', 'freebsd')
directory node['apache']['log_dir'] do
mode '0755'
end
package 'perl'
cookbook_file '/usr/local/bin/apache2_module_conf_generate.pl' do
source 'apache2_module_conf_generate.pl'
mode '0755'
owner 'root'
group node['apache']['root_group']
end
%w[sites-available sites-enabled mods-available mods-enabled].each do |dir|
directory "#{node['apache']['dir']}/#{dir}" do
mode '0755'
owner 'root'
group node['apache']['root_group']
end
end
execute 'generate-module-list' do
command "/usr/local/bin/apache2_module_conf_generate.pl #{node['apache']['lib_dir']} #{node['apache']['dir']}/mods-available"
action :nothing
end
%w[a2ensite a2dissite a2enmod a2dismod].each do |modscript|
template "/usr/sbin/#{modscript}" do
source "#{modscript}.erb"
mode '0700'
owner 'root'
group node['apache']['root_group']
end
end
# installed by default on centos/rhel, remove in favour of mods-enabled
%w[proxy_ajp auth_pam authz_ldap webalizer ssl welcome].each do |f|
file "#{node['apache']['dir']}/conf.d/#{f}.conf" do
action :delete
backup false
end
end
# installed by default on centos/rhel, remove in favour of mods-enabled
file "#{node['apache']['dir']}/conf.d/README" do
action :delete
backup false
end
# enable mod_deflate for consistency across distributions
include_recipe 'apache2::mod_deflate'
end
if platform_family?('freebsd')
file "#{node['apache']['dir']}/Includes/no-accf.conf" do
action :delete
backup false
end
directory "#{node['apache']['dir']}/Includes" do
action :delete
end
%w[
httpd-autoindex.conf httpd-dav.conf httpd-default.conf httpd-info.conf
httpd-languages.conf httpd-manual.conf httpd-mpm.conf
httpd-multilang-errordoc.conf httpd-ssl.conf httpd-userdir.conf
httpd-vhosts.conf
].each do |f|
file "#{node['apache']['dir']}/extra/#{f}" do
action :delete
backup false
end
end
directory "#{node['apache']['dir']}/extra" do
action :delete
end
end
%W[
#{node['apache']['dir']}/ssl
#{node['apache']['dir']}/conf.d
#{node['apache']['cache_dir']}
].each do |path|
directory path do
mode '0755'
owner 'root'
group node['apache']['root_group']
end
end
# Set the preferred execution binary - prefork or worker
template '/etc/sysconfig/httpd' do
source 'etc-sysconfig-httpd.erb'
owner 'root'
group node['apache']['root_group']
mode '0644'
notifies :restart, 'service[apache2]'
only_if { platform_family?('rhel', 'fedora') }
end
template 'apache2.conf' do
case node['platform_family']
when 'rhel', 'fedora', 'arch'
path "#{node['apache']['dir']}/conf/httpd.conf"
when 'debian'
path "#{node['apache']['dir']}/apache2.conf"
when 'freebsd'
path "#{node['apache']['dir']}/httpd.conf"
end
source 'apache2.conf.erb'
owner 'root'
group node['apache']['root_group']
mode '0644'
notifies :restart, 'service[apache2]'
end
template 'apache2-conf-security' do
path "#{node['apache']['dir']}/conf.d/security.conf"
source 'security.erb'
owner 'root'
group node['apache']['root_group']
mode '0644'
backup false
notifies :restart, 'service[apache2]'
end
template 'apache2-conf-charset' do
path "#{node['apache']['dir']}/conf.d/charset.conf"
source 'charset.erb'
owner 'root'
group node['apache']['root_group']
mode '0644'
backup false
notifies :restart, 'service[apache2]'
end
template "#{node['apache']['dir']}/ports.conf" do
source 'ports.conf.erb'
owner 'root'
group node['apache']['root_group']
mode '0644'
notifies :restart, 'service[apache2]'
end
template "#{node['apache']['dir']}/sites-available/default" do
source 'default-site.erb'
owner 'root'
group node['apache']['root_group']
mode '0644'
notifies :restart, 'service[apache2]'
end
node['apache']['default_modules'].each do |mod|
module_recipe_name = mod =~ /^mod_/ ? mod : "mod_#{mod}"
include_recipe "apache2::#{module_recipe_name}"
end
apache_site 'default' do
enable node['apache']['default_site_enabled']
end
service 'apache2' do
action :start
end

View File

@ -1,33 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: god_monitor
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_service = service 'apache2' do
action :nothing
end
start_command = apache_service.start_command
stop_command = apache_service.stop_command
restart_command = apache_service.restart_command
god_monitor 'apache2' do
config 'apache2.god.erb'
start start_command || "/etc/init.d/#{apache_service.service_name} start"
restart restart_command || "/etc/init.d/#{apache_service.service_name} restart"
stop stop_command || "/etc/init.d/#{apache_service.service_name} stop"
end

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: iptables
#
# Copyright 2012-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
iptables_rule 'port_apache'

View File

@ -1,31 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: logrotate
#
# Copyright 2012, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_service = service 'apache2' do
action :nothing
end
begin
include_recipe 'logrotate'
rescue
Chef::Log.warn('The apache::logrotate recipe requires the logrotate cookbook. Install the cookbook with `knife cookbook site install logrotate`.')
end
logrotate_app apache_service.service_name do
path node['apache']['log_dir']
end

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: actions
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'actions'

View File

@ -1,22 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: alias
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'alias' do
conf true
end

View File

@ -1,51 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: apreq2
#
# modified from the python recipe by Jeremy Bingham
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
include_recipe 'apache2::default'
case node['platform_family']
when 'debian'
package 'libapache2-mod-apreq2'
when 'rhel', 'fedora'
package 'libapreq2' do
notifies :run, 'execute[generate-module-list]', :immediately
end
# seems that the apreq lib is weirdly broken or something - it needs to be
# loaded as 'apreq', but on RHEL & derivitatives the file needs a symbolic
# link to mod_apreq.so.
link '/usr/lib64/httpd/modules/mod_apreq.so' do
to '/usr/lib64/httpd/modules/mod_apreq2.so'
only_if 'test -f /usr/lib64/httpd/modules/mod_apreq2.so'
end
link '/usr/lib/httpd/modules/mod_apreq.so' do
to '/usr/lib/httpd/modules/mod_apreq2.so'
only_if 'test -f /usr/lib/httpd/modules/mod_apreq2.so'
end
end
file "#{node['apache']['dir']}/conf.d/apreq.conf" do
action :delete
backup false
end
apache_module 'apreq'

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: auth_basic
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'auth_basic'

View File

@ -1,73 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: auth_basic
#
# Copyright 2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
include_recipe 'apache2::default'
if node['apache']['mod_auth_cas']['from_source']
package 'httpd-devel' do
package_name value_for_platform_family(
%w[rhel fedora suse] => 'httpd-devel',
'debian' => 'apache2-dev'
)
end
git '/tmp/mod_auth_cas' do
repository 'git://github.com/Jasig/mod_auth_cas.git'
revision node['apache']['mod_auth_cas']['source_revision']
notifies :run, 'execute[compile mod_auth_cas]', :immediately
end
execute 'compile mod_auth_cas' do
command './configure && make && make install'
cwd '/tmp/mod_auth_cas'
not_if "test -f #{node['apache']['libexecdir']}/mod_auth_cas.so"
end
template "#{node['apache']['dir']}/mods-available/auth_cas.load" do
source 'mods/auth_cas.load.erb'
owner 'root'
group node['apache']['root_group']
mode '0644'
end
else
case node['platform_family']
when 'debian'
package 'libapache2-mod-auth-cas'
when 'rhel', 'fedora'
yum_package 'mod_auth_cas' do
notifies :run, 'execute[generate-module-list]', :immediately
end
file "#{node['apache']['dir']}/conf.d/auth_cas.conf" do
action :delete
backup false
end
end
end
apache_module 'auth_cas' do
conf true
end
directory "#{node['apache']['cache_dir']}/mod_auth_cas" do
owner node['apache']['user']
group node['apache']['group']
mode '0700'
end

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: auth_digest
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'auth_digest'

View File

@ -1,123 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: mod_auth_openid
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
openid_dev_pkgs = value_for_platform_family(
'debian' => %w[automake make g++ apache2-prefork-dev libopkele-dev libopkele3 libtool],
%w[rhel fedora] => %w[gcc-c++ httpd-devel curl-devel libtidy libtidy-devel sqlite-devel pcre-devel openssl-devel make libtool],
'arch' => %w[libopkele],
'freebsd' => %w[libopkele pcre sqlite3]
)
make_cmd = value_for_platform_family(
'freebsd' => { 'default' => 'gmake' },
'default' => 'make'
)
case node['platform_family']
when 'arch'
include_recipe 'pacman::default'
package 'tidyhtml'
pacman_aur openid_dev_pkgs.first do
action [:build, :install]
end
else
openid_dev_pkgs.each do |pkg|
package pkg
end
end
case node['platform_family']
when 'rhel', 'fedora'
remote_file "#{Chef::Config['file_cache_path']}/libopkele-2.0.4.tar.gz" do
source 'http://kin.klever.net/dist/libopkele-2.0.4.tar.gz'
mode '0644'
checksum '57a5bc753b7e80c5ece1e5968b2051b0ce7ed9ce4329d17122c61575a9ea7648'
end
bash 'install libopkele' do
cwd Chef::Config['file_cache_path']
# Ruby 1.8.6 does not have rpartition, unfortunately
syslibdir = node['apache']['lib_dir'][0..node['apache']['lib_dir'].rindex('/')]
code <<-EOH
tar zxvf libopkele-2.0.4.tar.gz
cd libopkele-2.0.4 && ./configure --prefix=/usr --libdir=#{syslibdir}
#{make_cmd} && #{make_cmd} install
EOH
creates "#{syslibdir}/libopkele.a"
end
end
version = node['apache']['mod_auth_openid']['ref']
configure_flags = node['apache']['mod_auth_openid']['configure_flags']
remote_file "#{Chef::Config['file_cache_path']}/mod_auth_openid-#{version}.tar.gz" do
source node['apache']['mod_auth_openid']['source_url']
mode '0644'
action :create_if_missing
end
directory node['apache']['mod_auth_openid']['cache_dir'] do
owner node['apache']['user']
group node['apache']['group']
mode '0700'
end
bash 'untar mod_auth_openid' do
cwd Chef::Config['file_cache_path']
code <<-EOH
tar zxvf mod_auth_openid-#{version}.tar.gz
EOH
creates "#{Chef::Config['file_cache_path']}/mod_auth_openid-#{version}/src/types.h"
end
bash 'compile mod_auth_openid' do
cwd "#{Chef::Config['file_cache_path']}/mod_auth_openid-#{version}"
code <<-EOH
./autogen.sh
./configure #{configure_flags.join(' ')}
perl -pi -e "s/-i -a -n 'authopenid'/-i -n 'authopenid'/g" Makefile
#{make_cmd}
EOH
creates "#{Chef::Config['file_cache_path']}/mod_auth_openid-#{version}/src/.libs/mod_auth_openid.so"
notifies :run, 'bash[install-mod_auth_openid]', :immediately
not_if "test -f #{Chef::Config['file_cache_path']}/mod_auth_openid-#{version}/src/.libs/mod_auth_openid.so"
end
bash 'install-mod_auth_openid' do
cwd "#{Chef::Config['file_cache_path']}/mod_auth_openid-#{version}"
code <<-EOH
#{make_cmd} install
EOH
creates "#{node['apache']['libexecdir']}/mod_auth_openid.so"
notifies :restart, 'service[apache2]'
not_if "test -f #{node['apache']['libexecdir']}/mod_auth_openid.so"
end
template "#{node['apache']['dir']}/mods-available/authopenid.load" do
source 'mods/authopenid.load.erb'
owner 'root'
group node['apache']['root_group']
mode '0644'
end
apache_module 'authopenid' do
filename 'mod_auth_openid.so'
end

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: authn_file
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'authn_file'

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: authnz_ldap
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'authnz_ldap'

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: authz_default
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'authz_default'

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: authz_groupfile
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'authz_groupfile'

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: authz_host
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'authz_host'

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: authz_user
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'authz_user'

View File

@ -1,22 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: autoindex
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'autoindex' do
conf true
end

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: cgi
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'cgi'

View File

@ -1,30 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: cloudflare
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apt_repository 'cloudflare' do
uri 'http://pkg.cloudflare.com'
distribution node['lsb']['codename']
components ['main']
key 'http://pkg.cloudflare.com/pubkey.gpg'
action :add
end
package 'libapache2-mod-cloudflare' do
notifies :restart, 'service[apache2]'
end

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: dav
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'dav'

View File

@ -1,21 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: dav_fs
#
# Copyright 2011-2013, Atriso
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
include_recipe 'apache2::mod_dav'
apache_module 'dav_fs'

View File

@ -1,39 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: dav_svn
#
# Copyright 2008-2009, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
include_recipe 'apache2::mod_dav'
package 'libapache2-svn' do
case node['platform_family']
when 'rhel', 'fedora', 'suse'
package_name 'mod_dav_svn'
else
package_name 'libapache2-svn'
end
end
case node['platform_family']
when 'rhel', 'fedora', 'suse'
file "#{node['apache']['dir']}/conf.d/subversion.conf" do
action :delete
backup false
end
end
apache_module 'dav_svn'

View File

@ -1,22 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: deflate
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'deflate' do
conf true
end

View File

@ -1,22 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: dir
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'dir' do
conf true
end

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: env
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'env'

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: expires
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'expires'

View File

@ -1,52 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: fastcgi
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
if platform_family?('debian')
package 'libapache2-mod-fastcgi'
elsif platform_family?('rhel')
%w[gcc make libtool httpd-devel apr-devel apr].each do |package|
yum_package package do
action :upgrade
end
end
src_filepath = "#{Chef::Config['file_cache_path']}/fastcgi.tar.gz"
remote_file 'download fastcgi source' do
source node['apache']['mod_fastcgi']['download_url']
path src_filepath
backup false
end
top_dir = node['apache']['lib_dir']
bash 'compile fastcgi source' do
notifies :run, 'execute[generate-module-list]', :immediately
not_if "test -f #{node['apache']['dir']}/mods-available/fastcgi.conf"
cwd ::File.dirname(src_filepath)
code <<-EOH
tar zxf #{::File.basename(src_filepath)} &&
cd mod_fastcgi-* &&
cp Makefile.AP2 Makefile &&
make top_dir=#{top_dir} && make install top_dir=#{top_dir}
EOH
end
end
apache_module 'fastcgi' do
conf true
end

View File

@ -1,53 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: fcgid
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
if platform_family?('debian')
package 'libapache2-mod-fcgid'
elsif platform_family?('rhel', 'fedora')
package 'mod_fcgid' do
notifies :run, 'execute[generate-module-list]', :immediately
end
file "#{node['apache']['dir']}/conf.d/fcgid.conf" do
action :delete
backup false
end
directory '/var/run/httpd/mod_fcgid' do
recursive true
only_if { node['platform_version'].to_i >= 6 }
end
elsif platform_family?('suse')
apache_lib_path = node['apache']['lib_dir']
package 'httpd-devel'
bash 'install-fcgid' do
code <<-EOH
(cd #{Chef::Config['file_cache_path']}; wget http://superb-east.dl.sourceforge.net/sourceforge/mod-fcgid/mod_fcgid.2.2.tgz)
(cd #{Chef::Config['file_cache_path']}; tar zxvf mod_fcgid.2.2.tgz)
(cd #{Chef::Config['file_cache_path']}; perl -pi -e 's!/usr/local/apache2!#{apache_lib_path}!g' ./mod_fcgid.2.2/Makefile)
(cd #{Chef::Config['file_cache_path']}/mod_fcgid.2.2; make install)
EOH
end
end
apache_module 'fcgid' do
conf true
end

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: filter
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'filter'

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: headers
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'headers'

View File

@ -1,22 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: include
#
# Copyright 2012-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'include' do
conf true
end

View File

@ -1,22 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: info
#
# Copyright 2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'info' do
conf true
end

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: ldap
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'ldap'

View File

@ -1,24 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: log_config
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
if platform_family?('rhel', 'fedora', 'suse', 'arch', 'freebsd')
apache_module 'log_config'
else
include_recipe 'apache2::default'
end

View File

@ -1,24 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: logio
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
if platform_family?('rhel', 'fedora', 'suse', 'arch', 'freebsd')
apache_module 'logio'
else
include_recipe 'apache2::default'
end

View File

@ -1,22 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: mime
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'mime' do
conf true
end

View File

@ -1,22 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: negotiation
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'negotiation' do
conf true
end

View File

@ -1,40 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: perl
#
# adapted from the mod_python recipe by Jeremy Bingham
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
case node['platform_family']
when 'debian'
%w[libapache2-mod-perl2 libapache2-request-perl apache2-mpm-prefork].each do |pkg|
package pkg
end
when 'rhel', 'fedora'
package 'mod_perl' do
notifies :run, 'execute[generate-module-list]', :immediately
end
package 'perl-libapreq2'
end
file "#{node['apache']['dir']}/conf.d/perl.conf" do
action :delete
backup false
end
apache_module 'perl'

View File

@ -1,69 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: php5
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
case node['platform_family']
when 'debian'
package 'libapache2-mod-php5'
when 'arch'
package 'php-apache' do
notifies :run, 'execute[generate-module-list]', :immediately
end
when 'rhel'
package 'which'
package 'php package' do
if node['platform_version'].to_f < 6.0
package_name 'php53'
else
package_name 'php'
end
notifies :run, 'execute[generate-module-list]', :immediately
not_if 'which php'
end
when 'fedora'
package 'php package' do
package_name 'php'
notifies :run, 'execute[generate-module-list]', :immediately
not_if 'which php'
end
when 'freebsd'
freebsd_port_options 'php5' do
options 'APACHE' => true
action :create
end
package 'php package' do
package_name 'php5'
source 'ports'
notifies :run, 'execute[generate-module-list]', :immediately
end
end
file "#{node['apache']['dir']}/conf.d/php.conf" do
action :delete
backup false
end
apache_module 'php5' do
case node['platform_family']
when 'rhel', 'fedora', 'freebsd'
conf true
filename 'libphp5.so'
end
end

View File

@ -1,22 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: proxy
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'proxy' do
conf true
end

View File

@ -1,21 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: proxy
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
include_recipe 'apache2::mod_proxy'
apache_module 'proxy_ajp'

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: proxy
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'proxy_balancer'

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: proxy
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'proxy_connect'

View File

@ -1,20 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: proxy_http
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apache_module 'proxy_http'

View File

@ -1,34 +0,0 @@
#
# Cookbook Name:: apache2
# Recipe:: python
#
# Copyright 2008-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
case node['platform_family']
when 'debian'
package 'libapache2-mod-python'
when 'rhel', 'fedora'
package 'mod_python' do
notifies :run, 'execute[generate-module-list]', :immediately
end
end
file "#{node['apache']['dir']}/conf.d/python.conf" do
action :delete
backup false
end
apache_module 'python'

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