Commit Graph

580 Commits

Author SHA1 Message Date
jbjohnso
31288324bd -Reseed random generator to reduce chances of collision (though uniqueness still should be guaranteed elsewhere)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-02 14:48:26 +00:00
phamt
7743862e8b Check in Perl modules for z/VM support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4280 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-01 18:28:00 +00:00
jbjohnso
4a90af84da -Add preferdirect table column to indicate a preference for not going through a hypervisor management if not required
-Add cluster column to hypervisor table to allow informing underlying virtualization technology of hypervisor groupings.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4272 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-30 21:33:54 +00:00
jbjohnso
712cb4fb4d -In the event of a bug caught by the DB worker, propogate it up to the client rather than having the client mysteriously hang
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4267 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-30 17:42:21 +00:00
linggao
befc4743c4 fix the way the xcatdsklspost file is included in the template file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4266 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-30 17:27:42 +00:00
lissav
44c1d6401d fix missing data from xdsh return
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-30 16:11:56 +00:00
jbjohnso
6bc4a63848 -Implement a nodegrpch command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4262 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-29 20:41:13 +00:00
wanghuaz
aa6e484f6e fixed defect: 2865925
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4259 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-29 11:45:41 +00:00
jjhua
ed28e71466 fixed bug 2869633.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4258 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-29 11:41:58 +00:00
ligc
66c9273207 fix for bug 2866597
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4257 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-29 09:49:54 +00:00
ligc
f38e2e552f fix for bug 2867833: wait database initialization in xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4242 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-27 03:02:46 +00:00
jjhua
c73b945205 fixed bug 2866697, about the remote ssh connections
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4239 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-27 01:24:21 +00:00
phamt
46c711d220 Add a new table called 'zvm' for z/VM support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4228 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 14:45:45 +00:00
linggao
420fbc718d fixed Table.pm to get the primary key info in a different way for mysql
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4227 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 13:44:48 +00:00
wanghuaz
dcf192a350 fixed bug 2865553
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 08:30:11 +00:00
jjhua
556cffa903 fixed bug 2861052; used runxcmd to instead of runDsh_api() and runDcp_api()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4223 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 07:27:04 +00:00
jjhua
aa6a2501dd to fix bug 2866271, add my = shift; at the beginning of sshcfg()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4222 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 03:14:50 +00:00
linggao
acc4531599 got back the lost data
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4221 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-24 21:17:19 +00:00
jbjohnso
fed8bbf89f -Fix syntax errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4216 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-23 18:42:25 +00:00
bp-sawyers
d17ea4a3f5 Cleaned up the output of the service start/stop on linux (because I'm OCD)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4210 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-23 14:09:12 +00:00
ligc
25037e7c4e bug 2864882:Replace getTable in DBobjUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4206 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-23 09:43:36 +00:00
wanghuaz
9c556ff8ad Give error message if some attributes cannot be set into db with chdef command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-23 07:42:58 +00:00
wanghuaz
6533cc809b Give error message if some attributes cannot be set into db with chdef command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4204 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-23 07:40:24 +00:00
bp-sawyers
82989f35cf added nodecol keyword to ppchcp and ppcdirect tables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4194 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 18:59:46 +00:00
lissav
958c6f6262 fix more comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4193 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 18:43:10 +00:00
lissav
d64c9fe534 fix incorrect comment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4192 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 18:28:20 +00:00
lissav
cb3a142a54 document defaults and the tfptdir attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4191 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 18:19:06 +00:00
linggao
cb5e4be30b added provmethod in osimage table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 17:19:37 +00:00
jjhua
2087cee108 remove some improper messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4178 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 12:20:32 +00:00
jjhua
b1b7a0b618 fixed bug 2861052. xCAT::DSHCLI->runDsh_api was not really a supported api anymore. I tried the runxcmd routine, But it didn't work well. And I used the the command line call. It worked better.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4177 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 11:42:37 +00:00
daniceexi
45d902c128 fix some minor problems
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 11:30:05 +00:00
daniceexi
00ce996d74 Code drop of renergy command. This command uses the PPC.pm process to handle the common code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4175 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 06:33:27 +00:00
linggao
9524a49273 added support to update the osimage and linuximage tables after copycds and packimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-19 17:03:14 +00:00
jbjohnso
57466b8f89 -Remove some data dump debug statements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4170 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-18 19:53:48 +00:00
jjhua
446d741296 to fix the bug 2846629, the Dumper() debug information causes the error information from the HMC not to output weill. Remove the Dumper() debug information.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4164 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-18 03:05:27 +00:00
jbjohnso
021f0e991a -Allow schema to specify a column to treat in the same special way that we treat 'node'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-17 18:27:07 +00:00
wanghuaz
2defade7c8 Output error message and show help info if the default profile has not been activated when running getmacs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-17 10:54:01 +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
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
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
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
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
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
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
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
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
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