Commit Graph

4076 Commits

Author SHA1 Message Date
ligc
2c8c856097 fix for bug 3522897: not allow chdef -t <object_type> xx=yy to change all objects
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 02:53:42 +00:00
phamt
075a6e49e9 Formatted code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12433 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 21:14:16 +00:00
jbjohnso
83e79a0991 Add setting vlan tag to bmcsetup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12431 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 20:38:39 +00:00
jbjohnso
85ee055285 Correct problem where xcatd could truncate very large responses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12429 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 20:00:30 +00:00
jbjohnso
4e9d05f9d2 Correct syntax problems in invoking fcntl calls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12427 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 18:28:38 +00:00
jbjohnso
b41bbd14dc Fix problem where a bare newline could cause xcatd to be confused
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12425 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 17:52:55 +00:00
nott
e52c4c98c6 add hasn support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12423 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 17:13:53 +00:00
linggao
708895577c Fixed the wrong callback structre that caused defect 3510390
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12417 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 19:42:06 +00:00
lissav
245dd3a189 fix setNodesAttribs1 in non-bypass mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12415 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 19:36:48 +00:00
jbjohnso
039f6191f2 No longer bother trying to do 32-bit only x86 and ppc for genesis image
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12412 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 16:24:23 +00:00
arifali
d226d3d75d ubuntu: add new genimage which has a few additions for dracut, when available, and re-enabled busybox-static, as that is available in ubuntu10.10. this current one works with 10.10
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12400 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 00:03:11 +00:00
arifali
4f0482d705 ubuntu: genimage fixes
- stateless requires busybox (see artifact 3522447 for more details)
- initial work on dracut committed, not sure if this is going to work yet, as ubuntu doesn't have dracut by default
- changed linux-image-generic to linux-image-server, and removed busybox-static as that didn't exist

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12399 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 23:00:07 +00:00
arifali
869869efe6 xcat-server: add changes that have gone into anaconda.pm
- genimage will follow
- tried to be consistent with the changes to anaconda.pm
- Added dracut stuff, not sure if that is going to work yet though (maybe the dvd version of the distro will work, will experiment)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12398 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 22:42:59 +00:00
jbjohnso
54aa2a2202 Revert "Revert "fixed a defect when snmove failed if the source service node is down. defect 3487610""
This reverts commit f916dada5ddca8f67acd9bd9a050a158fde5d1df.

revert the mistaken revert

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12394 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:14:59 +00:00
jbjohnso
d7088aa571 Pass 2 at correcting xcatd infinite patience with clients
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12393 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:13:41 +00:00
jbjohnso
75d37c0a6f Revert "Fix problem where unauthorized users could indefinitely hold an xcatd slot open so long as they stayed connected"
This reverts commit 293f2194c6fe119e71e3c053c3894748a44f9e7e.

Doing it a better way

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12392 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:13:35 +00:00
jbjohnso
6df0c51504 Revert "fixed a defect when snmove failed if the source service node is down. defect 3487610"
This reverts commit 73a31e731517ce234f85f23ce391b3fce1169b76.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:13:28 +00:00
jjhua
794f22057a performance enhancement for getIPaddress() in FIP.pm; some other performace issues will be fixed later.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12388 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-28 09:25:12 +00:00
jjhua
4b8f6d528a performance enhancement for getIPaddress() in fsp.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12387 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-28 09:25:04 +00:00
jjhua
1bc8fc7e64 performance enhancement for getIPaddress()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12386 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-28 09:22:50 +00:00
jbjohnso
5d38b453ef Fix problem where unauthorized users could indefinitely hold an xcatd slot open so long as they stayed connected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 18:36:52 +00:00
linggao
bb244787a7 fixed a defect when snmove failed if the source service node is down. defect 3487610
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 17:57:37 +00:00
jwsimpson
558c7ba4bb support for shared file system
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 16:05:45 +00:00
jbjohnso
1c83b2641b Correct typo in xnba plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 14:45:26 +00:00
ligc
5cf83aad5b fix for --setuphanfs work with mkdsklsnode -b
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12370 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 10:06:10 +00:00
zhaoertao
92d59e063a fix a potential bug for SSHInteract
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12368 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 07:45:20 +00:00
jbjohnso
83bcc20597 Revisit the 'templated' boot config based on refined requirements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12365 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 19:50:05 +00:00
jbjohnso
ea23089441 Fix a problem in the boot partition in rhel
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12364 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 19:25:46 +00:00
jbjohnso
b99e150b60 Add boot device probing to suse
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12361 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 19:00:30 +00:00
jbjohnso
8250bc1673 Have RedHat installs reduce risk of overwriting SAN volumes. The strategy:
BIOS drive 80 is chosen if at all possible (don't know EFI way yet)
Failing that, first virtio block device
Failing that, then first block device served by ata_piix4, ahci, megaraid_sas, pmcraid
Failing that, first mptsas or mpt2sas
Failing that, first block device

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 18:41:18 +00:00
lissav
75ff38db92 Add setNodesAttribs1 (format 1) for setNodesAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12357 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 15:19:21 +00:00
jbjohnso
bab318526c Have xcatd accept multiple requests in a single connection
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12356 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 14:35:29 +00:00
jbjohnso
957464e075 Have wget http ignore robots.txt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12352 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 12:40:46 +00:00
yinle
a434851bc3 Fix some mistakes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12350 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 11:45:50 +00:00
yinle
c67dfb6688 Modify lsslp to support invoking SLP.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12348 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 10:22:30 +00:00
bp-sawyers
d242ae9f30 Removed expect dependency
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12340 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-25 11:40:16 +00:00
jbjohnso
67505c4c3b Table.pm would die unceremoniously when faced with undefined argument, tolerate it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12332 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 18:31:02 +00:00
phamt
4731bf5d4b Erase node from /etc/hosts during rmvm.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12331 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 18:30:59 +00:00
sjing
cb66289972 the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12321 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 02:06:12 +00:00
sjing
f84a114049 the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12309 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 01:41:47 +00:00
sjing
1b3e43ba14 the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12307 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 01:38:00 +00:00
linggao
d5a3ec70db drop -t support for genimage, defect 3520753
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12306 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 20:52:58 +00:00
lissav
a2eff1840f put XML table routines in tabutils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12301 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 12:32:58 +00:00
lissav
285c79265f moving DButils.pm function into tabutils to make use of database access code already implemented
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12300 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 10:50:35 +00:00
jjhua
0804b949cb correct the typo, fixed bug 3520431
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12297 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 02:57:44 +00:00
lissav
e16dc4a470 fix defect 3474497
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12296 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-22 18:57:50 +00:00
lissav
2ecf1cd9f0 change globals in tabch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12292 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-22 10:17:43 +00:00
zhaoertao
0825693212 fix bug 3518485 and 3518486, issues about ivm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-20 03:18:38 +00:00
lissav
40ae98400f revert perf change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 15:32:28 +00:00
jjhua
05a9e204d8 performance improvement. collect the CEC/Frames' Children in preprocess_nodes() of PPC.pm, instead of getIPaddress() in Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12274 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 10:32:01 +00:00