Commit Graph

64 Commits

Author SHA1 Message Date
Lei Ai
008e72d316 initialize global variables to avoid Cannot re-provision the node which has been removed 2013-08-05 15:10:16 +08:00
simba372
143f106f7d 211979: [low rank][PCM4.1][unmanaged node]Failed to create unmanaged node with the length of device name which is less than three letters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@17027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-26 09:37:43 +00:00
chudegao
7b7085742f fix#220182,The node is not rebooted automatically while use new image profile during re-installation process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@17007 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-22 06:53:49 +00:00
creativezj
ca700dca54 fix nodeimport same ip error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16869 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-03 14:05:03 +00:00
chudegao
af005c6a31 fix #218490:There is no any case-sensitive checking of mac address when import the node by hostinfo file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16765 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-26 09:41:04 +00:00
creativezj
11df32128f fix nodeimport generate ip error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16728 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-24 07:16:19 +00:00
duowang
2f669c1ac6 enhanced profilenodes.pm to acquire chain attribute from hardwareprofile and append it to the node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16707 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-20 03:22:46 +00:00
creativezj
8fac597977 fix modify multiple nodes profile error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-18 08:28:02 +00:00
creativezj
cff0e482eb fix regenerate ip error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-18 05:02:53 +00:00
duowang
0df81a3dfa modified method gen_new_hostinfo_string() in profilenodes.pm to sort the nodes' name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16545 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-05 10:34:30 +00:00
creativezj
2b35adf1f8 fix multiple nics problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16525 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-04 06:05:39 +00:00
asirxing
47fbbd2230 Move codes to call makedns and makehosts for kitnoderemove request from 00kitnodebase.pm to profilednodes.pm as other kitnoderemove plugins need the node name for some operations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16439 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-29 03:51:34 +00:00
qyin
cbdd1d4a9a fix #215702 nodeimport can import the same host info file for switch auto discovery twice or more
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16406 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-23 08:01:58 +00:00
xq2005
e2055a8251 sync from the trunk for hardware discovery on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16251 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-13 08:11:11 +00:00
xq2005
a8d2c285e0 roolback for 2.8.1 tag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16227 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-09 01:48:59 +00:00
xq2005
f6e8475fc0 arp command location is different between redhat and debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16217 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-08 09:50:25 +00:00
xyye
f8068d6b95 remove makedhcp command for adding the unmanagement node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16172 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-03 05:56:26 +00:00
xyye
d7892547c3 make dns after adding the unmanagement node in profilenodes.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16114 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-28 06:04:19 +00:00
qyin
19c63b2412 fix 215709 nodeimport can use host info file mixed with switch , switchport and mac address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16112 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-28 05:50:46 +00:00
qyin
abf2a60062 solution:215058 enable switch auto discovery for PCM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-17 06:49:19 +00:00
daniceexi
bd8f5021f5 Change the collaboration with sequential discovery for the output of nodediscover* message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15966 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-12 08:11:39 +00:00
daniceexi
e63dc81a22 Code drop for sequential discovery support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15841 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-06 09:40:39 +00:00
creativezj
5ea143c734 fix multiple nic error while all nics in same network
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15752 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 07:17:34 +00:00
creativezj
44d26e560f support multiple nics in nodeimport
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15722 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 06:00:43 +00:00
leiaibj
d0d63a6d97 bug fixing: 1. nodechprofile can not update imageprofile and network profile; 2. noderegenips should call make* commands to remove node related records first and then add them back again, which there are some changes in table nics
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15024 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-31 07:58:08 +00:00
jbjohnso
3c92465b9d Fix problem where profilednodes would 'BUG' the discovery process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15005 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-28 21:38:13 +00:00
leiaibj
b327574f26 1. support minus network incremental value. 2. resolve can not discover nodes issue. 3. create new command noderegenips: for supporting reconfigure nic ips without reinstall
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 08:55:14 +00:00
creativezj
0dd3b29d1f modify chain table while provision node with BMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14993 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 08:20:15 +00:00
creativezj
ca303919a3 fix #211459 wrong message while import node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14939 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 01:56:13 +00:00
leiaibj
9d454c2d1b fix a bug caused by hostname validation rule
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 06:40:33 +00:00
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