Commit Graph

34 Commits

Author SHA1 Message Date
leiaibj
3fd2310ec6 1. resolve #3283: a typo issue. 2. drop uselessness method isReservedIP. 3. do not validate IP address whlie creating an unmanaged device. 4. Correct some messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 08:20:19 +00:00
leiaibj
c01a6918f7 add support for new nics table delimiter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:04:22 +00:00
leiaibj
f176866943 If no nodes specified for nodepurge, nodechprofile and noderefresh, then just print help message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 05:47:34 +00:00
creativezj
a7b54d89d5 update error messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 01:56:16 +00:00
leiaibj
7b75b8b766 update hostname validate rule: only 0-9 a-z and - are valid characters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 09:17:27 +00:00
leiaibj
c74580a8a1 enhance node info parsing mechanism: add more checks before import
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 04:47:39 +00:00
leiaibj
8a8a53f201 setup correct response xml: use array instead of plant string
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14752 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-05 07:04:02 +00:00
leiaibj
c4fc6a0816 enhance profilednodes.pm so that all kits plugins can be executed in serial
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14720 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-28 03:35:07 +00:00
leiaibj
2c4a482dff Supporting auto discover for PureFlex X nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14705 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-24 06:39:26 +00:00
leiaibj
ae316495af PureFlex x nodes import& discovery supporting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14704 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-24 03:49:00 +00:00
leiaibj
59796b270a Roll back sequential changes as some errors found
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-17 09:25:37 +00:00
leiaibj
e08f3572dc use sequential argument for profiled nodes call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14663 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-17 08:54:38 +00:00
leiaibj
0ba9832d0e validate profiles existing in database and also check hostnameformat while start node discovery
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 07:59:17 +00:00
leiaibj
28257de1fd 1. update node's status while replace mac address. 2. set blades rack info while import/discover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14637 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 03:32:16 +00:00
creativezj
dd8fc76f6f NGP Power support enhance
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 02:00:48 +00:00
leiaibj
c3e8949e81 Resolve following issues: 1. return multi errors if there are multi errors for a single node entry while importing. 2. validate the numric part and hosts number. 3. validate whether the specified IP address is in provisioning network while import nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14614 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 03:33:46 +00:00
leiaibj
6bde1ca343 Set proper chaintable, should use runcmd=osimage instead of set osimage directly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14518 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 06:34:11 +00:00
leiaibj
e160deefd5 use proper messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 05:39:09 +00:00
leiaibj
b61ff28739 Create FQDN verify while createing a unmanaged node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14359 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-19 09:03:03 +00:00
leiaibj
5ed353a3ae Resolve 2 issues: 1- restrict numric part length in hostname format; 2- resolve db not update timely after calling nodeaddunmgd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14358 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-19 08:56:16 +00:00
leiaibj
fa48a097c3 correct typo issue: s/racl/rack
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-07 07:29:45 +00:00
leiaibj
39ea0f5a16 1. do not call kitnodeupdate, 2. enhance calling runxcmd syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14250 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 15:00:12 +00:00
leiaibj
886bb5145f correct syntax error while calling validate_ip
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 03:22:16 +00:00
leiaibj
78b3536bcb one minor bug for validate height for nodeimport
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14220 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 07:41:25 +00:00
leiaibj
66dab45eba enable -v -h for profiled nodes related commands, and also, create man pages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14196 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 09:19:19 +00:00
leiaibj
addd30180e discover querying should not acquire lock
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14170 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 05:22:43 +00:00
leiaibj
97ee1bb176 For profiled nodoes: chassis can not be specified together with rack
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14151 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 06:24:30 +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
leiaibj
4b09a3e1c9 Resolve Profiled nodes discover issue: some times compute nodes failed to reboot after discover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14132 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 02:30:03 +00:00
leiaibj
50352afb39 Fix one bug: after discovery stopped, we can still discover some nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 07:14:11 +00:00
leiaibj
c6d0097565 Use info tag instead of data for checking whether auto discovery running
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14093 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 06:05:46 +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
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
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