2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-24 05:11:12 +00:00
Commit Graph

252 Commits

Author SHA1 Message Date
wanghuaz
5ee13233fc Fixed the issue that if nodename in xcat database is not the same with lpar name, rnetboot will fail.
Root cause: rnetboot will resolve the lpar name from hmc in order to setup a full lpar_netboot command.  But rnetboot will also use this lpar name in xcat database to resolve the network, which will definitely fail.
Fix: pass the nodename to xcat database instead of lparname.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2715 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-11 06:32:58 +00:00
lissav
122dffca3b add copy of the private key to the nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2713 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-09 20:27:46 +00:00
lissav
0a35ed1193 fix ssh files are copied to /install/postscripts/_ssh not /install/postscripts/.ssh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2712 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-09 18:49:48 +00:00
lissav
efe6d01948 add DEVICETYPE env variable and manpage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-06 13:18:31 +00:00
lissav
0b93291a41 change interface to use -l flag and remove -w flag when updating keys
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2707 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-06 12:52:36 +00:00
lissav
1ad6abf4e7 add support for Node structure in messaging
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2703 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-05 18:56:50 +00:00
lissav
bae1e1110a add code to support xdsh -K for non-root ids and not to use xcatbypass
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2701 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-04 17:18:44 +00:00
linggao
37db64b1e8 fix tabrestore to handle columns that are auto increment.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2698 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-04 01:53:34 +00:00
linggao
94ade30137 added support for logging batching events into xCAT DB
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-03 17:13:20 +00:00
lissav
ee0c5f9b60 allow access to /opt/xcat/lib/perl/xCAT/data dirctory by non-root user
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2693 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-02 14:50:09 +00:00
jbjohnso
1b18fb5ada -Suppress expected errors and provide a hint on a common cisco misconfiguration.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-30 16:25:55 +00:00
bp-sawyers
e25247a3df Test check in for build process.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2673 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-30 14:44:01 +00:00
bp-sawyers
5682bb9479 Added websrv table for VirtualBox support. Also added websrv and vm attributes to defspec for lsdef support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2670 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-29 19:00:50 +00:00
linggao
71b917124f added eventtype column in the eventlog table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2666 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-29 02:41:02 +00:00
bp-sawyers
1af0fb4bf3 Fixed modifyUtils and makeperlxcatrpm to work on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2661 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-28 20:26:03 +00:00
linggao
2b171fcb4d added defspec for eventlog and Util function for logging events into the eventlog table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-28 18:49:02 +00:00
bp-sawyers
22635b7893 Changed make scripts, build scripts, and Utils.pm so they all get version # from the new Version file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-28 15:42:14 +00:00
linggao
c7baf633f7 added eventlog table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-27 17:55:06 +00:00
linggao
7fba9cb39c added AUTO INCREMENT support for DB columns
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-27 17:53:44 +00:00
linggao
eeb535f8b7 added supernode column in the ppc table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2648 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-23 14:51:46 +00:00
wanghuaz
ac879caaf0 Updated the man page of xdsh for IB environment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2627 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-19 10:12:11 +00:00
zhanx
0c448cc86b lsslp second phase code drop(without man page)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2625 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-19 08:58:29 +00:00
jjhua
d6988ca2f0 Modified some code in connect function of PPCcli.pm to make the rflash with -V work well. (Bug 2512281)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-16 03:01:04 +00:00
lissav
2aa7ab36dc more fixes to support mysql, chtab key=test site -d gives error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2615 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-15 17:47:54 +00:00
jbjohnso
e5c3267933 -Prevent sqlite databases from being accessible by non-root users
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2609 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-15 15:04:05 +00:00
jjhua
f60a7dcf6b modified the rflash to support BPA(bug 2508670)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2608 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-15 03:01:54 +00:00
lissav
3a7ae3f20e fix usage of getAllEntries, adding a flag for all and default only entries that are not disabled
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2605 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-14 19:57:39 +00:00
linggao
f69ee3624e minor fix for plugable schema
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2603 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-14 19:03:37 +00:00
lissav
2cddbeb6de change the setupSSH routine to only regenerate the ssh keys if they do not exist in roots home directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-14 15:54:57 +00:00
lissav
4fbba30ba0 fix split in line 2130
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2600 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-14 15:17:56 +00:00
wanghuaz
d549325b97 HMC has been updated to add -K netmask option in lpar_netboot.expect. xCAT needs to read the netmask from table and pass this option to HMC if -G,-S,-C has been specified.
Defect  2485129:  Fail to getmacs from HMC with option -S -C -G



git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2597 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-14 07:37:14 +00:00
linggao
e15c3791dc more on plugable DB schema.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2596 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-13 21:29:34 +00:00
linggao
dd9da780a0 added support for user plugable database table. Phase 2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2595 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-12 22:12:25 +00:00
mxi1
31e2aad089 -fix bug#2493580, <pattern>64-bit</pattern> and stunnel package are not available for SLES11
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2591 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-12 04:44:56 +00:00
linggao
51a1219b42 added support for user-defined database tables, phase 1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2590 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-09 22:25:35 +00:00
jbjohnso
fda20c3ade -Fix problem where explicit nulls were presented subtly differently from implicit nulls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2585 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-08 21:01:36 +00:00
bp-sawyers
f559e23bd4 Changed release # to 2.2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2583 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-08 19:09:44 +00:00
wanghuaz
11befcd181 IB Switch Support in xCAT. With this change, xdsh gets the capability to connect to IB switch as a compute node.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2581 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-08 12:57:02 +00:00
mxi1
9a9ef9d94c -updated xcat.conf for SLES11 installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2580 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-08 10:12:05 +00:00
lissav
1bd1012693 add xCAT logging support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2574 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-07 14:07:21 +00:00
jjhua
7a7ec4a77b make the firmware upgrade command rflash support service node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2573 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-07 10:38:18 +00:00
lissav
78dbad9383 fix missing xCAT:: on MsgUtils call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2570 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-06 17:58:01 +00:00
jjhua
67381a5c39 add the usage and version of rflash
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2567 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-06 11:10:15 +00:00
jjhua
3cbf6542f0 Add rflash => xCAT::PPCrflash to %modules
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2565 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-06 11:06:25 +00:00
jjhua
568851a8eb Performs Licensed Internal Code (LIC) update support for HMC-attached
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-06 11:05:02 +00:00
jjhua
af7639dcf8 Mofied it to support getting firmware information of CEC where the Lpar is located(When noderange is Lpar)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2563 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-06 11:03:50 +00:00
lissav
42908ab23b fix for now parms on sinv SF defect 2486965
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2558 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-05 15:00:54 +00:00
zhanx
84615754a1 fix a bug in rspconfig (SourceForge bug 2386154 [PPC64]rspconfig memdecfg option doesn't work)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2557 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-05 09:51:47 +00:00
nott
0d3911cfaa Reduce the number of table lookups done by getobjdefs to improve lsdef performance.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2552 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-12-17 14:48:53 +00:00
nott
afde43bf13 Make sure rmdef removes entries from each table even if the key is the only thing set.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2548 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-12-15 16:53:35 +00:00