Commit Graph

9948 Commits

Author SHA1 Message Date
jbjohnso
9184142745 Bring in some logic from IPMI plugin to get a better assurance of optimal receive buffer behavior
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11936 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 17:50:15 +00:00
jbjohnso
31fb9e555f Have SLP support IPv6-less perl environments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11935 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 17:25:20 +00:00
jbjohnso
459dca23dd Fix tftp startup for systems that have explicitly disabled IPv6 in kernel
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11933 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 16:01:15 +00:00
jbjohnso
7c64bb6b05 Have xCAT more aggressively drain the listen queue on the main listening socket.
This change manages to have xCAT successfully field a large amount of incoming connections with a relatively small listen queue.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11932 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 15:14:07 +00:00
daniceexi
4bb34e0e92 fixing bug 3490738: one additional change from last chackin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 09:54:53 +00:00
daniceexi
9e173d19ff fixing bug 3490738: for getmacs -F option, mac address now can be with or without colon, uppercase and lowcase is also supported.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11929 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 09:49:34 +00:00
daniceexi
a7b456d288 defect 3508456: add env vars XCATROOT and PATH in the /etc/environment for aix so that xcatd can be started successfully from /etc/inittab
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11927 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 09:16:13 +00:00
yinle
13ad428934 Fix bug 3504211:update xcat from 2.6.11 to 2.7 occur error on sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11925 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 07:25:44 +00:00
zhaoertao
e7cf5580d0 modify password for USERID failed, need update password for SNMPv3.1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11924 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 07:20:30 +00:00
zhaoertao
d27ef5117f fix bug 3500392: FB->console abnormal if off/on blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11922 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 07:13:03 +00:00
zhaoertao
1c006a4162 fix bug 3500392: FB->console abnormal if off/on blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 07:12:47 +00:00
ligc
608177e77f fix for bug 3509543: mknimimage -u nfs_vers=4 to work with multiple installp_bundles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 02:19:58 +00:00
jbjohnso
dbb6040955 Prevent some extraneous process spawing and futile transmit attempts.
Also, do broadcast IPv4 in addition to multicast IPv4 and multicast IPv6.  Some switches seem to make the admin work for multicast to work at all...

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 20:55:41 +00:00
jbjohnso
dae8ae2210 Do some retries on SLP transmits
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11915 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 18:38:22 +00:00
bp-sawyers
16ab82b5a5 Have the xCAT rpms require the more specific version of perl-xCAT (e.g. 2.7.1 instead of 2.7)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11912 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 15:49:33 +00:00
jbjohnso
ccb3040219 Add RFC 3059 support for AMM support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 14:21:48 +00:00
xq2005
3203501826 add the REST API of gettab
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11909 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 09:16:06 +00:00
daniceexi
2d30063a80 Add the script detect_dhcpd for dhcp server detecting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11907 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 08:11:25 +00:00
xq2005
95d5f9db58 add REST API for capture image
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 07:54:21 +00:00
xq2005
c8a1f2046c fix bug 3505123 for ganglia node map in order
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11904 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 06:31:03 +00:00
wanghuaz
5be6a260b6 install pe license rpm and accept the licenses by default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11902 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 05:49:59 +00:00
jbjohnso
22d2645e28 Add IPv4 support.
After adding IPv4 support, noted that IMM and AMM behaved far less nicely,
restore the service-request prelude to attribute request as a result

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 21:06:17 +00:00
jbjohnso
05e6a27704 Refactor get_interfaces internal function.
First off, have it called outside a loop to avoid many invocations of 'ip'
Secondly, IPv4 multicast demands local ip address, extract those too

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 21:06:09 +00:00
linggao
1ce980f4e7 fix a problem in otherpkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11894 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 14:51:04 +00:00
xq2005
4da98c6d66 add the API of image check command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 09:31:33 +00:00
xq2005
2f65463e87 REST API for image list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11892 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 08:50:55 +00:00
xq2005
430bb12d13 xdcp command in REST API
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11891 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 06:46:10 +00:00
wanghuaz
0059615b2a fixed a problem in power 775 that compute node cannot get its xcatserver ip from dhcp server over hfi, which was introduced by revision 10534.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 05:37:09 +00:00
jbjohnso
5dddb7ed3d Skip Service Request, contrary to slptool impressions, it's actually pretty
pointless (at least for us, services are pretty deterministic and skipping straight to attribute request makes a lot of sense).

To make up for giving up the service request provide url list, track and fill in srvtype when the reply comes back so that caller knows which data elements match which of the requested service types.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-18 21:46:07 +00:00
jbjohnso
df4c56729d Finish IPv6-only phase 1 of native xCAT SLP library
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 20:00:11 +00:00
jbjohnso
1e3fa72a93 Implement sending attribute request, after processing replies, phase 1 of slp is done
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 20:00:05 +00:00
jbjohnso
d93542fc49 Advance state of SLP.pm to actually take and parse service replies
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11886 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 19:59:58 +00:00
jbjohnso
f9886db053 Rework SLP.pm to do each srvtype as a distinct packet, now mandate caller
to specifiy srvtypes.  Problem being that SLP hashed multicast addresses don't pan out so well if not very precise

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 19:59:52 +00:00
jbjohnso
2152035a14 Add SLP.pm to perl-xCAT. Currently selectively does IPv6 SLP
TODO includes IPv4 SLP and reworked multi-srvtype support since RFC indicated behavior doesn't work (divide multiple srvtypes into separate packets to workaround)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 19:59:46 +00:00
jbjohnso
85a3468e0f Have xCATd more robustly give client 5 seconds to receive message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-16 18:41:47 +00:00
daniceexi
9e2b250062 fixed the issue that xnba,pxe,vsmppex,yaboot failed for service node when no valid nodes in the handled network
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-16 10:31:33 +00:00
wanghuaz
f8138b1687 fixing bug 3505826: don't run yum install command if otherpkg list only contains marked removable pkg and no package to install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-16 07:05:26 +00:00
bp-sawyers
42e3641b01 fix certificate problems in getxcatdocs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 19:41:53 +00:00
jbjohnso
5d3d584e22 Don't try to sabotage tftp unless sure new tftp can work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11875 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 15:51:48 +00:00
jbjohnso
bc6b0712c3 Refine tftp startup handling to cope better with more states (dealing with xinetd reconfiged or not reconfiged, xinetd without tftp slave active and with slave active)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 15:46:54 +00:00
jbjohnso
6d92251583 Change tftp to run standalone instead of xinetd slave to fix various limitations of the xinetd approach
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11870 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 15:19:40 +00:00
phamt
8e7a0f2475 Changed unknown node type label
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 14:13:15 +00:00
phamt
a9ef623bb6 Removed trailing comma.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11867 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 13:58:36 +00:00
phamt
6e77ab5a47 Removed trailing comma.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11864 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 13:51:22 +00:00
phamt
c7e3f36391 Fixed select all checkbox in nodes table.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 13:38:00 +00:00
xq2005
1b9f6bc02f fix bug 3505088 for ganglia monitor page not stable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11860 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 10:40:31 +00:00
xq2005
99e038c6a2 turn the debugging
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 07:08:32 +00:00
xq2005
af24bd9b4b add the xdsh rest api interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11858 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 06:54:28 +00:00
phamt
f67806347e Fixed bugs on System p provision page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11856 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 05:09:28 +00:00
mellor
c5774a5223 defect 3504334 -- fix rollupdate for xLinux rpower timeout errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11855 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-14 21:22:08 +00:00