2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-05-12 01:14:18 +00:00
Commit Graph

3656 Commits

Author SHA1 Message Date
mxi1 ef87653b36 one common get_tmpl_file_name() function is added into SvrUtils.pm, to replace the same function in anaconada.pm, sles.pm and windows.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4155 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-17 09:53:14 +00:00
wanghuaz 1271b6ba9f In scaling environment, it is possible that our lpar_netboot expect code cann't catch the ok promt after lpar change to open firmware state. Send '\r' command to openfirmware to catch ok promt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-17 08:38:26 +00:00
wanghuaz 70c97b3334 for power contrl commands, every cec fork one process. So if rpower multiple nodes on several cec, say 20 cec, there are more than 20 connection request to hmc at the same time. This make sshd on hmc failed to respond and refuse the connections request. Add some sleep between every fork per cec. This will not reduce the performance too much, since only sleeps between cecs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4153 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-17 07:18:47 +00:00
wanghuaz 3336f8c725 fixed one issue that on P6. If no profile enable for one lpar, the curr_profile setting on hmc is set to none. But on p5, it is set to empty. This makes in xcat databse, the pprofile is set to none even no profile is available.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4152 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-17 05:06:30 +00:00
lissav 4ef093a0f9 add sharedtftp to site table dump
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4151 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-16 19:38:08 +00:00
lissav 3b7ffe28cf add more examples
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4150 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-16 19:20:37 +00:00
lissav f717d4ccae fix formatting on -F flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4149 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-16 18:35:11 +00:00
lissav e01d6ba039 fix perl syntax error in xcatpreprocessed check
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4148 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-16 17:58:41 +00:00
jbjohnso 4c8c4ff701 -Provide graceful error when tabrestore has an unrecognized column defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-16 15:38:40 +00:00
lissav 1e9bd8b240 fix call to MsgUtils for dataout from xdcp and xdsh to be D flag not the I flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4146 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-16 14:55:13 +00:00
lissav b6bb72d236 fix blank line between node list when running xdsh in streaming mode (xdsh node1,node2 -s ls /tmp)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4145 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-16 14:21:44 +00:00
mxi1 13e2425112 the defect 2847578 is fixed; one retry_number is added to avoid the infinit loop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-16 08:28:04 +00:00
jbjohnso 9076c195d1 -Attempt to lift restrictions on intra-service node that were imposed to mitigate DB handles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-15 20:58:45 +00:00
jbjohnso b421ab3302 -Correct appearance of nodes at the root due to previous change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4142 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-15 20:10:51 +00:00
jbjohnso 502cdedf8b -If an xCAT install has a total numebr of groups that exceed the total number of nodes, make sure the root level still renders
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-15 20:03:23 +00:00
jbjohnso 23a52ec995 -Fix bug in recent feature implementation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-15 19:11:39 +00:00
jbjohnso 540bf7da21 -Allow a site entry to enable service pruning where noderm actively removes data from related services rather than just xCAT configuration itself
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-15 18:37:18 +00:00
jbjohnso 79f816a417 -Add console=tty0 for all serialport consoles.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-15 17:59:11 +00:00
jbjohnso 87d9af0097 -Fix potential race condition in system reboot upon install completion
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-15 17:12:51 +00:00
jbjohnso d02b8d9de8 -Fix for circumstances where a single Table object lifetime spans the period before DB worker is initialized and after
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-15 15:33:33 +00:00
ligc 64fd1fb97d fix for bug 2836101: error nameservers information in table site
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4135 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-15 09:05:36 +00:00
wanghuaz 816a852d49 vmstat output on AIX 53V is changed, and make the string match in heathcheck not work. Update script for AIX53V
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4134 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-15 07:40:14 +00:00
jbjohnso 9347368123 -Fix errors in the #TABLE:# template support in boottarget
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4133 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 21:04:09 +00:00
jbjohnso d77754bdc8 -Check in support for #TABLE# template syntax in boottarget kcmdline to be consistent with Template.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4132 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 20:28:45 +00:00
jbjohnso 2c17239888 -The capitilization of 'otherLinux' is corrected in the VMWare plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4131 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 20:10:41 +00:00
lissav f1414bfe10 add some diags when rcons not working
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4130 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 17:32:02 +00:00
linggao 2ce4dff3b6 changed xcatd to use Table.getAllEntries instead of Table.getTable for getting the contents of the policy table. The old way did not honor the diabled column
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4129 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 17:17:32 +00:00
jbjohnso 8d7d768230 -This guess at the memleak was incorrect and extraneous. It did introduce a bug, so revert it (if DB worker memory usage does not start leaking, no further thought required
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4128 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 15:49:10 +00:00
jbjohnso 7925af8fa8 -Fix bogus usage error on copycds when VMware media is involved
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4127 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 13:04:01 +00:00
jbjohnso c43feab7c4 -Check supportedarchs at nodeset time if netboot= or install= nodeset argument is requested
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 12:51:51 +00:00
jbjohnso e0ee3d3a0b -Fix bug in previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 11:38:16 +00:00
jbjohnso 754a698d60 -Add nodetype.supportedarchs nodetype column and have discovery populate it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4124 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 11:02:38 +00:00
wanghuaz 3b65386dfb Fixed defect:2858366. Can only return 1 CEC's mac once
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 10:15:13 +00:00
lissav ce6b09666d more enhancements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4122 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-12 13:29:02 +00:00
zhanx 78075854cc Fix defect 2832802 mkhwconn not properly working with password authentication
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-11 10:54:39 +00:00
jbjohnso b0083d8d81 -Add GA discids of RHEL5.4 to anaconda plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-10 14:34:08 +00:00
lissav 6625876aea use /usr/bin/env perl
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-10 11:37:24 +00:00
mxi1 e21d45989f code is updated for the web interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-10 07:34:11 +00:00
mxi1 e8cbd28916 the code for "view by graph" is added
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-10 06:57:06 +00:00
wanghuaz 28722ca267 fix one issue in the change of changing frame num
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4115 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-10 03:19:54 +00:00
wanghuaz 3e28a93056 fxied one issue in the change of setting the frame num
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4114 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-10 02:57:36 +00:00
linggao 96d4832d75 made update node work for hardeth case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4113 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-09 20:36:53 +00:00
jbjohnso 1570da4d20 -Workaround the known place where 2.3 can leak memory, put notes in on how
to produce the memleak for future fix instead of workaround


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4112 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-09 20:08:51 +00:00
lissav a11cbde49d add message when public key is missing in the .ssh directory during xdsh -K
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-09 16:49:18 +00:00
lissav d3d3dc4597 fix grep of /etc/password for home diretory in copy.sh build, to only match on root id not other ids starting with root
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4110 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-09 14:44:42 +00:00
ligc a185867673 *def commands support for multiple keys in xcat database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4109 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-09 09:07:28 +00:00
jbjohnso 43473e700a -Dereference some references before undef, in an attempt to ensure the perl GC can catch more available memory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4108 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-08 20:49:48 +00:00
lissav 6afb2a3f77 add check that MN name is resolvable and put out error if it is not
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-08 19:11:22 +00:00
lissav 599f01e075 add new 2.3 command and pointer to xCAT2SetupHierarchy doc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-08 17:21:57 +00:00
lissav 89d08590ed add new hierarchy setup doc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-08 16:55:23 +00:00