2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

92 Commits

Author SHA1 Message Date
chenglch
c14a617afc Do not show the error output when running killall command
close-issue: #2466
2017-02-08 16:14:56 +08:00
chenglch
04decbb47e Stop tftp service when xcatd shutdown completes
close-issue: #2436
2017-02-06 10:44:53 +08:00
Mark Gurevich
0a3fbd8d51 perltidy all perl files 2016-07-20 11:40:27 -04:00
chenglch
eeff6a4cd1 Fix syntax error when checking the existence of tftp process 2016-06-05 23:05:24 -04:00
wangxiaopeng
6b96496d1b issue 1233: try to rekill tftp and add more debug info when failed to kill tftpd 2016-06-03 04:17:18 -04:00
chenglch
ba68ad1948 Change sleep time from 0.1 to 1 as float value is not support by default 2016-06-01 01:46:03 -04:00
chenglch
01d7371506 Fix error when stopping tftp process in AAsn.pm
The check logic that wait for the tftp process can not be
finished due to the empty loop. This patch aims to check
the status of process group in the loop.

close-issue: #1219
2016-05-27 03:54:26 -04:00
linggao
0ea24f1db9 added new command makentp to setup ntp servers on mn and sn. 2015-06-11 12:17:01 -04:00
ligc
93e00147f8 fix for bug 4515: start isc-dhcp-server when starting xcatd on Ubuntu MN 2015-01-20 14:19:08 +08:00
immarvin
7705db6a4f fix defect #4519 [DEV]too much duplicate /etc/fstab entries on service node 2015-01-13 02:56:33 -08:00
immarvin
5fe158f353 replace service stuff with newly added subrotines in xCAT::Utils 2014-06-10 06:11:07 -07:00
lissav
12f1819180 fix defect 3981 2014-03-20 14:22:47 -04:00
daniceexi
abea7eceee Rewirte the proxydhcp.c with proxydhcp-xcat in perl; Added site.installnic to control the nics setting for windows; Added servicenode.proxydhcp and noderes.proxydhcp to control the starting of proxydhcp-xcat daemon and makedhcp againsts node for windows deployment 2013-12-19 04:55:27 -05:00
sjing
f7812a2517 Support dns master/slave configuration 2013-12-18 01:25:16 -05:00
wanghuaz
957403a1d2 still fixing bug 3815, dhcp.pm process_request with different makedhcp options -n and -a are triggerd by AAsn.pm twice during xcatd restarting on SN. the first -n option is enabled and not get cleanup because it is a global variable. and then second call with -a option conficts with -n option in last makedhcp context. we have to clean up -n before call the second makedhcp. 2013-11-06 17:26:52 +08:00
jbjohnso
571487bf46 Fix AAsn to not die horribly when non-reference is returned from some function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-05 20:51:12 +00:00
lissav
200373f48d ON the MN only start dhcpd if not running if servicenode.dhcpserver set
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15228 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-20 18:57:33 +00:00
lissav
413f6c0010 more cleanup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-20 14:05:40 +00:00
lissav
a3caf9e5aa Remove useless code in setup_CONS so it will work on the Management NOde
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15223 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-20 12:16:32 +00:00
lissav
1c1e78bf89 AAsn.pm will not setup MN from the servicenode table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15221 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-20 11:56:23 +00:00
bp-sawyers
27a7ca0556 Fix bugs 3284 and 3285 - xCAT-genesis-scripts-x86_64 trying to run mknb when xcatd is not ready
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 17:26:23 +00:00
xq2005
8fed4c6d85 tftp-hcp on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14767 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 03:26:25 +00:00
daniceexi
da2a14fa69 fixed the issue that tftp could not be started on sles10
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14552 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 02:58:48 +00:00
xq2005
b8148e8e17 delete the tftpd error message when restarting xcatd on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 12:46:45 +00:00
xq2005
97f1c95cc7 fix the restart error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14007 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 01:51:15 +00:00
xq2005
644560d1d4 stop tftpd-hpa on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13964 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-09 06:52:12 +00:00
bp-sawyers
a18348883d Eliminated hard requires for SOAP::Lite and JSON
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-22 16:20:24 +00:00
lissav
cb0d7edc64 fix incorrect library for get_site_attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-16 10:23:47 +00:00
daniceexi
dded0c9f2d add a new site attribute site.tftpflags which used to specify the tftpd parameters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13801 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 12:40:18 +00:00
xq2005
27542f3df8 tftp start on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 06:44:44 +00:00
zhaoertao
40e144b4cc for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
jjhua
4f3c441476 For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 08:49:11 +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
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
sjing
99092c60c3 start named on boot.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11646 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 02:04:35 +00:00
bp-sawyers
90261ffcca Update Schema.pm for site attrs for ipmi scaling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11644 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-20 21:52:34 +00:00
ligc
c1073c7699 if site.vsftp is not set, default to no
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-13 02:20:25 +00:00
daniceexi
fb510583ea defect 3467275: try to kill atftpd first before configuring the xinetd for tftp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11317 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-30 07:36:58 +00:00
daniceexi
c647909000 add more comments and handle the return code of enable_TFTPhpa
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11094 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-01 01:08:03 +00:00
daniceexi
567d0a419c code drop for the item that replace the atftp-xcat with tftp/tftp-server from distro
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11077 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-30 09:37:44 +00:00
ligc
24bc396d16 fix a perl syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-26 06:46:45 +00:00
ligc
53b2765c7a nfsv4 support, add -o vers=4 to mount commands if site.useNFSv4onAIX is set
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-24 09:44:22 +00:00
ericagar
cede69d8d7 Fix for defect 3419745: Fix Method to Determine if System is Ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-06 17:45:08 +00:00
lissav
5732c04184 fix defect 3372805
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10405 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-31 11:54:27 +00:00
otubo
3fc059acb4 Fix for bug #3391658, by Renan Guerra <renan.nannetti@gmail.com>
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10286 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-15 00:30:40 +00:00
lissav
7d94a89b10 Fix logic, check for ipforward in wrong place
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-26 12:30:29 +00:00
lissav
f0a853ebea fix logic so only starts conserver for AIX, if the servicenode table indicate to do so
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10142 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-22 10:15:44 +00:00
linggao
7c683a4ea9 added site table attribute to not allow xcatd on the mn to bring up vsftpd automatically
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-27 15:28:40 +00:00