jjhua
777729759d
pre-create mypostscript enhancement: use the global variable %::GLOBAL_SN_HASH in enablessh()
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14189 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 02:57:05 +00:00
lissav
c8db25f98d
change comment
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14186 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 19:23:59 +00:00
lissav
0a554136b9
checkin enhanced support for runxcmd
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 18:54:37 +00:00
lissav
e230a70808
get rid of print
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14183 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 17:20:17 +00:00
lissav
90da002d8c
save runxcmd buffer before calling runxcmd
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 17:14:08 +00:00
lissav
889d376bfe
take out unnessary require
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14181 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 17:13:08 +00:00
lissav
22eec83752
This adds an interface to runxcmd to return the response structure, still needs test though
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14166 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 19:21:28 +00:00
phamt
4a7d0e4fdc
Added inventory support for z/VM hypervisor. Cleaned up code.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14163 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 14:48:40 +00:00
lissav
40a74f4310
check if MN defined
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 11:10:12 +00:00
willn256
3e53a88daf
Initial commit of KitPluginUtils.pm. These utilities are used by kit developers to write new kit plugins
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14149 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 22:34:52 +00:00
leiaibj
c8b1b3219c
1. support groups arg while import/discovering
...
2. import hostinfo file format should support windows txt file
3. If no dynamic range set, display an error message while start auto discover.
4. distinguish error codes for arguments validation and hostinfo file validation errors: 1 for arguments validation failure, 2 for hostinfo file parse.
5. support hostname format validation.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 08:59:14 +00:00
jjhua
d97f8338fa
fixed bug #3133 . When some node don't exsit, there are some error msgs, and other nodes succeed. handle this case.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14135 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 06:24:52 +00:00
asirxing
b16cb69284
Rename getOSpkgsDiff function to getPkgsDiff as it is a common function
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 06:19:15 +00:00
bp-sawyers
dd11950993
chomped newlines from runcmd streaming output and updated site.runbootscripts description
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 15:37:47 +00:00
ligc
8d07e61c14
Add NetworkUtils::setup_ipv6_forwarding
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14099 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 11:25:12 +00:00
ligc
76827a69ec
update the description for nics table to support multiple ip addresses per NIC
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14094 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 07:23:01 +00:00
jwsimpson
aec176a65c
updated to add the postscripts table to the description
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14091 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 21:22:35 +00:00
lissav
3239a455be
fix xdsh/xdcp to MN broken, forgot to change logic when we change to __mgmtnode
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14083 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 19:07:53 +00:00
jwsimpson
e8a61dd4cc
Schema.pm updated to add the description of the runbootscripts attribute
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14081 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 16:35:15 +00:00
lissav
3264bad1e8
Add comment on the new nodestatus messages that they should never be NLS translated
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 13:52:55 +00:00
nott
0f3e4dfc82
getAIXSNinterfaces
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14071 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 12:58:28 +00:00
leiaibj
f7c81cbae2
1. when doing importing mac file action, tag details, tag errorMessage, tag failedNodesNum, tag successNodesNum and tag invalidRecordsNum should be just under tag xcatresponse. No data needed.
...
2. when doing importing mac file action, plugin should return more clear message like "mac file validation failed." in progress info.
3. when removing nodes, plugin should return error message if some of nodes failed to remove.
4. when doing auto detecting nodes, xcatresponse tag should have one status tag instead of nested ones.
5. enhance lock mechanism in Utils.pm
6. create new interface for querying whether profiled node discovery is running or not: nodediscoverstatus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14068 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 09:37:09 +00:00
immarvin
127da8faec
add the disc id's of rhel 6.1,hel6.2 and rhel6.3 iso
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14062 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 02:38:19 +00:00
bp-sawyers
1019cf6d9d
Updated copycds man page and added comments to discinfo.pm about adding disc ids
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-19 14:29:12 +00:00
lissav
d91f2d57d0
added nodestatus to xdsh as well as xdcp and where I can get the return code
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14056 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-19 13:07:10 +00:00
lissav
183ada53eb
add comments to the rack defspec
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14045 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 11:18:54 +00:00
lissav
fbba9e8a1f
support returning nodestatus
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14044 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-17 17:21:43 +00:00
lissav
9535668727
adding monitor support -m to xdcp
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14042 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-17 11:29:49 +00:00
ligc
2cb4c75e2f
undo the CMM password expire changing code
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 12:34:41 +00:00
jjhua
ac86a05cda
a little update for precreatemypostscripts
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 08:48:17 +00:00
phamt
6256117b49
Synched up xCAT code to the latest. Added native SCSI/FCP support onto trunk. Replaced tabs with 4 spaces.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14006 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 01:50:28 +00:00
jbjohnso
c14747ac04
Table.pm in a refresh scenario with cache not currently in use, but existing none the less, mark the cache as invalid by setting the timestamp to 1970
...
Still avoid *rebuilding* the cache, as in the use_cache not set suggests a mass amount of setAttribs and build_cache(1) would be extremely expensive,
just force the next consumer after the set to take the hit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14001 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 16:31:55 +00:00
jjhua
c9e0617ac9
add the description for site.precreatemypostscripts
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13997 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 08:37:36 +00:00
leiaibj
caa1483714
1. Add support for unmanagement nodes
...
2. Add support for replace node's Provisioning MAC address
3. Enable specify rack/chassis info while import nodes and do nodes discovery.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 07:11:26 +00:00
immarvin
beb47bb0f3
1.corrected defect 3053 2.update nodelist.updatestatus during 'updatenode -P/-S/-k';2.support nodelist.updatestatus update during 'updatenode -P/-S/-K';3.fix defect #3124 Postage.pm writes error message in /xcatpost/mypostscript: only write <data> field of getpostscript response to mypostscript, complain and terminate when getpostscript failed
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-11 08:48:20 +00:00
ligc
628806fd81
fix for XCATBYPASS=1 could not work with commands depends site attribute, like makedns=>site.dnshandler
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-11 04:33:40 +00:00
ligc
dbd9163755
fix for bug 3122: add the usercomment in Schema for linuximage
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13962 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-09 06:32:14 +00:00
zhaoertao
347094fa7c
fix bug 3120 rflash working with --activate concurrent failing on HMC based P7 server
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13956 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-08 10:02:38 +00:00
asirxing
3ac841c96c
Fix code error and update the codes according to review/testing comments
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13954 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-08 08:55:58 +00:00
leiaibj
76d1580a3e
changes:
...
1. Change file and plugin name: remove "PCM/pcm".
2. Implenment lock query sub
3. Use sinfo indicating processing progress
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13953 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-08 08:40:30 +00:00
lissav
3ae89517fa
more comments for fixes
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-02 11:23:06 +00:00
lissav
64c3be21ae
Match up Schema with V18 of database design doc
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13920 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 17:52:44 +00:00
lissav
be2f6b262c
routine should create synclist.cfm new each time. No use records should be in the file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 16:37:08 +00:00
lissav
0c5426ead0
changes and suggested changes marked with LKV
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13918 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 16:12:16 +00:00
lissav
cbca0e5878
add support for sinfo tag
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-29 10:40:25 +00:00
lissav
add4e7a867
change cfmdir from osimage to osimages in the path
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13914 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-28 17:10:39 +00:00
lissav
b24e1feb23
fix for defect 3117
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13912 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-28 12:12:58 +00:00
lissav
fdfeaad131
Add to nodestatus comment
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-28 10:42:57 +00:00
asirxing
6b827de526
Update CFMUtils to enable the verbose message and optimize the logic
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13909 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-28 01:49:39 +00:00
lissav
6b7a4aa1c9
Remove Schema.pm.PCM
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-27 13:53:58 +00:00