2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-15 01:01:33 +00:00
Commit Graph

2106 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
68dd68c47e Updated Schema will all PCM requirements based on V16 of the PCM db design doc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13907 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-27 13:53:15 +00:00
8b87922c73 PCM discover initial draft ready
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13904 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-27 08:56:19 +00:00
f5df1bab88 fix error message and remove commits, fix Table opens
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13901 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 18:06:42 +00:00
ef434876c1 cleaned up GetNodeOSARCH from defect 3095
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 14:10:06 +00:00
f7fa23352c fix syntax error in TableUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 14:02:00 +00:00
35b563f43d Schema.pm.PCM matches V16 of design
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 13:34:51 +00:00
ecd1c5999f Fix bug:3095. Routine opening unnecessary tables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13894 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 06:10:39 +00:00
5742f2c0f1 Update CFM Utils to support multiple synclists and pkglist attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13891 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 02:32:10 +00:00
b01e805194 new routine and cleanup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 18:03:10 +00:00
f76b47299c Document synclists can be multiple files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13878 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-23 11:16:27 +00:00