Commit Graph

122 Commits

Author SHA1 Message Date
sjing
a3de90b7df support xcatmon push model for HPC software.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-24 07:07:23 +00:00
lissav
8f8173b0a8 add more infor on denial of request in syslog for defect 3097568
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7984 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-31 12:44:06 +00:00
jbjohnso
e11c52a9d4 -Actually fix syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-22 13:28:22 +00:00
jbjohnso
aa9b852f86 -Fix syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-20 20:17:43 +00:00
jbjohnso
f5921d7852 -Populate a hash of site table attributes for easy lookup in various places
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7895 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-20 18:37:09 +00:00
daniceexi
5c92a9fb45 defect 3085064: fixed the problem that strip off hostname from CN when not set site.domain
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-11 05:59:45 +00:00
lissav
86830fab88 increase loop checkin can access site table from 20 to 200 starting up. DB2 is real slow after reboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-04 17:06:20 +00:00
lissav
df6bfd2bcc fix error when new table added
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7458 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-15 12:42:45 +00:00
mellor
9b6954d30d Rolling Update support for AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-14 22:29:41 +00:00
lissav
b5b4c667cd move updateschema from Table->new to xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7336 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-01 14:10:18 +00:00
lissav
87a696b516 add call to runsqlcmd to xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7254 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-26 13:53:46 +00:00
jbjohnso
478cd92c19 -Fix default variable value mixup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7239 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 18:13:20 +00:00
jbjohnso
9935eed1f0 Add missing close parenthesis
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 17:55:58 +00:00
jbjohnso
2412471724 -Allow plugins to specify multiple specifications of how to be selected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7236 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 17:46:09 +00:00
jbjohnso
e032aa9375 -Nonstop xCAT, xcatd starting replaces old xCAT instance with nearly no interruption
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-08 20:49:12 +00:00
lissav
fe3bb7e344 fix for defect 3023413 xcatd putting out error message when hierarchical commands like xdsh run on service node when there are service node pools defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-07 16:22:27 +00:00
jbjohnso
afe254b5ce -Bad XML data can still come down, UTF-8 doesn't protect everything
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-24 18:29:50 +00:00
jbjohnso
aa289f030f -Fix problem where nested eval assigned $@ could break commands (a la the ip6 support)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6292 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-01 18:04:25 +00:00
lissav
6862b48dbd implement support for auditskipcmds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5996 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-06 18:47:25 +00:00
jbjohnso
a770e38e48 -Change missing node message to reflect that nodes or groups may not exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-26 21:41:39 +00:00
jbjohnso
89fa9fad6a -Fix problem in previous checkin where audit changes precluded getdestiny from working
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-01 20:36:59 +00:00
linggao
2b1673a9d0 fixed a problem for notification
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5648 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-01 20:02:08 +00:00
lissav
d3994406ef Only put getpostscripts and getcredentials request in the syslog not the auditlog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5645 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-01 19:14:31 +00:00
lissav
717a5c9328 do not log getbladecons,getipmicons, getdestiny to audit or syslog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5643 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-01 18:50:38 +00:00
jbjohnso
f3096a15d2 -Fix defect where error checking code failed to handle pseudo-global commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5639 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-01 14:04:34 +00:00
lissav
951c090c7d get to info in syslog for hierarchy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-17 19:41:35 +00:00
jbjohnso
c625ed1cac -Remove some debug output and syntax errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5508 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-17 15:40:13 +00:00
lissav
ec4a054d0e fix check for Trusted status
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5462 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-12 20:25:07 +00:00
lissav
17b5373071 add supported for trusted polciy for MN and update request->{username}
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5459 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-12 18:35:54 +00:00
lissav
00ec86573a add support for clienttype=other
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-09 16:09:14 +00:00
lissav
ced2bb38e5 add check for webui
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5407 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-08 20:04:27 +00:00
lissav
15455e1276 add auditlog table updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5405 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-08 19:32:33 +00:00
lissav
f3ec425b0d add parameter list to the Allowing and Denying syslog entries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5298 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-25 16:00:09 +00:00
vallard
980c554a4c got rid of some errors that would happen if request was made from xCAT UI"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5294 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-25 03:08:32 +00:00
daniceexi
11cbdc7291 defect 2947789: use getTftpDir to get the tftp dir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 09:19:34 +00:00
cjhardee
41f6d82742 Fixed a variable initialization to get rid of the following message:
Use of uninitialized value in scalar assignment at /usr/sbin/xcatd line 624.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5220 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-15 15:40:35 +00:00
lissav
85eaf6d468 comment out the Asked to Quit message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5161 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-05 12:23:06 +00:00
daniceexi
27dbebaf82 save and restore the old value of {CHLD} in functions plugin_command and dispatch_request to avoid the change of {CHLD}
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-27 10:24:34 +00:00
jbjohnso
70bf53deae -Change xCATd to not use a global variable for dispatch callback.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-07 16:54:33 +00:00
daniceexi
8aa8e1f9ae The child process of the xcatd should not handle the TERM and INT signals as the parent process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-06 10:06:24 +00:00
jbjohnso
f55a7b373f -Use utf-8 character set
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-04 19:04:50 +00:00
mxi1
88dd0b3c72 the author method is changed as we discussed last week; verify the password as encrypted pw firstly; if it fails, then treat the password as non-encyrpted password to verify one more time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4772 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-15 06:34:55 +00:00
daniceexi
58c96f259c make all the vital messages can be written to the syslog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4759 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-11 08:28:47 +00:00
daniceexi
2d4e596b3d Code drop of supporting the SRC mechanism for xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4713 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-03 08:01:33 +00:00
mxi1
a7e307b952 the encrypted pw in the passwd table can work on SLES now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4707 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-02 08:51:34 +00:00
mellor
2aa3876007 enhance plugin processing to ensure correct table-driven plugin is called, moved common usage preprocessing to new plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4663 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-24 15:12:39 +00:00
jbjohnso
1ddd71f7f0 -Sanitize responses from plugins if they throw non-printable characters that are invalid in XML parsing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 18:57:20 +00:00
jbjohnso
76b5a8eb31 -Explicitly instruct SSL to do inet4 only if our ipv6 support checks fail
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4642 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-21 17:44:46 +00:00
linggao
5f3a8c839a fixed defect that usage statement does not get print out by the hw commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4622 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-19 20:44:07 +00:00
mellor
beffdd517f make xcatd tolerant of syntax errors in plugins, fixed syntax error in conserver.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4611 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 14:51:19 +00:00