2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-03 12:00:08 +00:00

77 Commits

Author SHA1 Message Date
Mark Gurevich
5517f6600d SLES15.3 statelite support 2022-05-04 11:16:57 -04:00
cxhong
2878022b95 able to run no random bytes if /usr/bin/nice is not available 2020-10-09 15:19:27 -04:00
cxhong
6013ccd5a1 Get the correct path for nice command 2020-10-08 16:45:00 -04:00
cxhong
e22130a46b add mkfs.xfs to older version of dracut 2020-04-23 12:35:49 -04:00
cxhong
770be38f0c Support xfs filesystem for statelite images 2020-04-22 15:44:35 -04:00
Gᴏɴɢ Jie
00bf5d432c Partly revert "Revise openssl settings for RHEL 8 (#5967)" (#6144)
* Put "openssl s_client" command line argument "-no_ssl2" back.

This reverts commit ec56baf36f251b4eed1527dcc0b06ac1e125e006.
2019-03-21 16:27:13 +08:00
Gᴏɴɢ Jie
01beacf85e Make xCAT statelite compute node working on RHEL 8 (#6121)
* Fix function xCATCmd() and use /bin/bash instead of /bin/nice for random data

* Fix function xCATCmd() and use /bin/bash instead of /bin/nice for random data
2019-03-19 15:31:43 +08:00
Gᴏɴɢ Jie
ec56baf36f Revise openssl settings for RHEL 8 (#5967)
* Remove the RANDFILE from openssl.cnf. This is out-of-date in opessl beyond version 1.1.1a.

* Update openssl.cnf.tmpl to the latest one from openssl 1.1.1a source

* Revise openssl.cnf.tmpl based on the latest one from openssl 1.1.1a source

* Remove `-no_ssl2' command line argument for openssl, totally.
2019-01-28 16:35:31 +08:00
bxuxa
8fb3c11461 localdisk to support user customize the partition table type
some old code issues found during UT for this feature
2018-10-26 15:13:56 +08:00
GONG Jie
9f169b4f6b Remove trailing spaces in file xCAT-server/share/xcat/netboot/add-on/statelite/rc.statelite.ppc.redhat 2017-12-31 23:59:59 +00:00
GONG Jie
1938976d4f Remove trailing spaces in file xCAT-server/share/xcat/netboot/add-on/statelite/rc.statelite 2017-12-31 23:59:59 +00:00
GONG Jie
aeeaee143f Remove trailing spaces in file xCAT-server/share/xcat/netboot/add-on/statelite/rc.localdisk 2017-12-31 23:59:59 +00:00
GONG Jie
de3e5da935 Fix github issue #5365. Tinker for the openssl -no_ssl2 command line argument 2018-07-09 17:05:44 +08:00
Gᴏɴɢ Jie
da35f335b1 Fix github issue #5365. Proper handle the -no_ssl2 argument of openssl s_client (#5369) 2018-07-04 14:48:33 +08:00
Gᴏɴɢ Jie
da8983a95e Revert "Remove -no_ssl2 command line argument for openssl. Since new version of openssl do not support it any more (#5358)" (#5364)
This reverts commit dc2ea9014d1d4e7932104159417f6335cea5fac7.
2018-07-03 16:11:42 +08:00
Gᴏɴɢ Jie
dc2ea9014d Remove -no_ssl2 command line argument for openssl. Since new version of openssl do not support it any more (#5358) 2018-07-02 18:11:21 +08:00
Bin Xu
28d4f32c86 localdisk feature support sync contents from image rootfs to localdisk (#4152)
* Support sync to localdisk at the first time

* Fix #3936, httpd is not starting on stateless SN
2017-10-24 01:43:24 -05:00
bybai
b4aa8a5efd fix 2090 delete underlying files for ro statelite mounts 2017-01-05 01:33:34 -05:00
penguhyang
1446ee33d7 fix utilities required for statelite missing from sles initrd (#2093) 2016-11-07 15:53:40 +08:00
daniceexi
bf7645a4f5 Continue the fix to avoid sslv3 in xcatd. In this commit, all the calling to [openssl s_client] in xcat code which used to connect to xcatd will add arguments [-no_ssl3 -no_ssl2] to avoid the using of sslv2/3 2015-02-12 20:19:00 -05:00
daniceexi
23b836102a defect 3135: changed the mount process for the statelite directory (for persistent entries) that make a directory after the node name and remount to the nodename directory instead of nfs root dir for persistent 2014-01-08 05:00:32 -05:00
immarvin
8b38c35e63 grep in busybox do not support long optipn string, use short instead 2013-12-19 19:11:31 -08:00
immarvin
f75d136828 grep in busybox do not support long optipn string, use short instead 2013-12-19 01:41:19 -08:00
daniceexi
337c515d02 change the mount point of localdisk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 08:01:13 +00:00
daniceexi
1ccb22b56a Make localdisk script do mount for stateless node. Add log to node:/.sllocal/log/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 07:55:28 +00:00
daniceexi
7da34b6fc2 Make sure the hostname has been set before configure the statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14794 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 06:25:22 +00:00
daniceexi
92e781fe74 Fixed the hang issue of reboot/shutdown a nfs-based statelite node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14631 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 07:50:29 +00:00
daniceexi
7ebf999353 The script to perform the partition of local disk for statelite node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14520 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 08:53:18 +00:00
daniceexi
13f418ce4b this file has incorrect permission
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14519 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 08:50:57 +00:00
daniceexi
a67a6bb1bf The script to perform the partition of local disk for statelite node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14348 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 14:08:55 +00:00
daniceexi
427b66827f Code drop for local hard disk to be used as persistent storage for statelite node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14346 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 14:02:36 +00:00
ligc
6258e5505f fix for bug 3496130: resolve hostname to ip address in /tftpboot/etc/<node>, copy resolv.conf from initrd into rootimg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 09:00:26 +00:00
ligc
d77845f04e fix for bug 3523175: use nfsv3 to mount the statelite directories
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12484 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 04:31:35 +00:00
daniceexi
c444f232b8 defect 3370678:fix the problem that statelite could not handle the link,persistent option correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-23 04:36:47 +00:00
mxi1
7b9fa084c0 for defect 3168785, add code for statelite comptiable reason.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-24 08:04:45 +00:00
mxi1
b6cd3ca5bf for defect 3178022,
added the full path of "mkdir" command in rc.statelite files

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-17 09:24:21 +00:00
jbjohnso
e748077621 Put hostname -s for rc.statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-07 16:02:03 +00:00
mxi1
680a09572e the code to generate ifcfg-ethx files has been moved from rc.statelite to the enablekdump script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8437 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-16 09:36:17 +00:00
mxi1
dd661c6aa0 code is committed for kdump feature
the "dump" attribute is added for the linuximage table

/install/kdump/tmp directory will be created by default when xCAT rpm package is installed;

the "enablekdump" postscript is added for kdump feature

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-14 07:15:45 +00:00
mxi1
fb867bc6b8 removed the sleep time interval before litefile and litetree commands
replace /sysroot with $NEWROOT in rc.statelite and rc.statelite.ppc.redhat

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8251 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-24 03:29:17 +00:00
mxi1
3822bfc406 Squashed commit of the following:
update the code to handle the scenario when both the parent and child directory exist in the litefile table

    remove one line from xcat-prepivot.sh

    updated the manpage for litefile

    the statelite document is updated

    /etc/mtab is added as one default entry when "litefile" or "ilitefile" commands are running, even it is not in litefile table

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8100 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-09 12:49:55 +00:00
mxi1
eb7a1b66c3 merge the code change to rc.statelite.ppc.redhat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8081 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-06 07:51:34 +00:00
mxi1
7ccb6dc32e add code to support "/var/" and "/var/tmp/logs" as parent&child directory;
some bug fix in rc.statelite

    fix one bug when recovering the files in litefile.save
    update the example for parselitefile subroutine

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-06 07:36:48 +00:00
mxi1
d6a37d7277 Squashed commit of the following:
remove two echo in xcat-prepivot.sh;
    the stateltie script is updated,
    two typos in the manpage of litefile table are fixed;

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7935 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-27 03:28:15 +00:00
mxi1
8b22241384 The litefile options have been updated to what we wished in design;
also the documents related with "statelite" and "genimage" are updated;
the description for "litefile" options are updated in Schema.pm

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7527 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-20 17:16:25 +00:00
mxi1
444bdd0b8e the code change for genimage enhancement is here
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7491 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-17 09:54:47 +00:00
mxi1
a6f6a92f56 one typo in rc.statelite is fixed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7445 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-14 09:25:43 +00:00
mxi1
cb923e17c8 update the sample data for rhel5.x,
also fix one defect when the litetree table is empty
also replace "hostname -s" with "hostname" on redhat5.5 of ppc64 platform

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7373 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-07 12:16:52 +00:00
mxi1
0feee7a7b8 update the sleep time from 20+random%30 to random%50;
and if it can not get the litefile table or litetree table from xCATd on the management node, it will fail into shell, and also echo one error message


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7216 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 03:08:52 +00:00
phamt
52fdb2a246 hostname -s will not work on boot for SUSE nodes. Added conditional statement to use hostname if it is a SUSE node.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7150 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 15:27:30 +00:00