2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-01 17:17:36 +00:00
Commit Graph

186 Commits

Author SHA1 Message Date
Kurt H Maier
1065d64c70 DSHCLI.pm: Skip noderange-specific syncfiles during local copy 2020-05-14 11:48:46 -07:00
yangsong
67d5caed37 EXECUTE in sync list will not invoke post sync scripts if the script itself is updated (#6001) 2019-02-20 17:45:58 +08:00
yangsbj
ca27ff256a fix issue xdcp EXECUTE of .post script not working as expected #5987 2019-02-12 03:00:40 -05:00
Casandra Qiu
dd8f6b840e fix indent 2019-01-03 09:04:06 -05:00
Casandra Qiu
378447afb9 Comments from ertao 2019-01-02 14:02:00 -05:00
Casandra Qiu
530399d598 Modified syncfile list for EXECUTEALWAYS clause 2018-12-18 11:00:24 -05:00
yangsbj
527ef2b4f8 fix issue [automation] Installation failed on several OS because error in DSHCLI.pm #5840 2018-11-27 21:27:10 -05:00
cxhong
8ac336fe7e EXECUTEALWAYS will only execute syncfile in the syncfile list (#5834) 2018-11-27 14:58:11 +08:00
cxhong
5efa7ab42b Modify the output message if failed pping_hostname() (#5664)
* Modify output message
2018-10-12 17:33:28 +08:00
cxhong
f1d51c1c74 Add /etc/gshadow for the syncfile MERGE clause (#5572) 2018-09-05 09:49:02 +08:00
GONG Jie
3b800aec1d Remove trailing spaces in file perl-xCAT/xCAT/DSHCLI.pm 2017-12-31 23:59:59 +00:00
Gᴏɴɢ Jie
b480171f13 Fix github issue #5381. Use File::Temp::tmpnam() instead of POSIX::tmpnam(). (#5440) 2018-07-27 14:29:35 +08:00
yangsong
c49e41da99 support environment variables in osimage customized files (#5281)
* * osimage table schema change: add a "environvar" col in osimage table to hold environment variables used in osimage customized files
* osimage object schema change: add a environvar attribute, which refers to  osimage.environvar
* the environment variables specified in "environvar" attribute will be exported during invocation of postinstall scripts in genimage

* support variables in synclists

* support environment variables in genimage,mkinstall,getpostscript

* support environment variables for xdcp -i -F in packimage
2018-06-15 14:51:41 +08:00
yangsong
7c85b0998d add support for syncfiles with scp (#5123)
* add support for syncfiles with scp

* refine logic of EXECTUTE support message non rsync filesync

* refine syncfiles

* add startsyncfile script for cumulus

* refine format, fix updatenode without options causes command to crash #5142
2018-04-27 11:28:08 +08:00
Bin Xu
eb4fa5fc7a updatenode -F not work in hierachy env as the user name is FQDN of MN (#4484)
* updatenode -F not work in hierachy env (#4455)
 - add trace when -V is enabled
 - get the DSH_FROM_USERID from updatenode client

*  - when 'updatenode -F' need to push SN first, using root as non-root does not have permission write to 'SNsyncfiledir'
 - move the set DSH_FROM_USERID code out of the loop, and also cover remote client case.
2017-12-13 02:52:15 -06:00
yangsong
921ae0cb4a fix issue updatenode -f loses directories when copying files to SN #4456 (#4494) 2017-12-12 17:21:10 +08:00
Kilian Cavalotti
c3fa764ef9 Add support for the "file -> (noderange) file" syntax in synclist with ServiceNodes (#4445)
* Add support for "file -  (noderange) file" in synclist when using
hierarchical mode. Fixes #4425

  This patch ensures that:
  1. the synclist is correctly parsed when running on a Service Node
  2. all files are synchronized to SNs in hierarchical mode

* Better test condition for #4425, addresses issue in
https://github.com/xcat2/xcat-core/pull/4445#issuecomment-349472901
2017-12-12 00:36:03 -06:00
zVMopenstack
7487c0322a Merge branch 'master' into ZVM_XCAT_DEV 2017-04-24 09:39:38 -04:00
Mark Gurevich
4b0ce18b9d Add DSH_VERIFY environment variable to xdsh command 2017-03-23 15:44:11 -04:00
Mark Gurevich
4e1d4629a9 Preserve the user ownership of the file for xdcp command 2017-03-20 13:19:39 -04:00
Chuck Brazie
5c5e59dc4d Perl-xCAT merge updates into 2.13
Change-Id: I8338c02d541608a6bc339b07e1270c178be6a415
2017-01-30 10:13:57 -05:00
Casandra Qiu
8782186f6b check if there is "-l" options 2017-01-24 16:05:01 -05:00
Casandra Qiu
6f698625db xdsh doesn't read credentials from the passwd table for IBSwitch 2017-01-24 15:43:31 -05:00
Mark Gurevich
0a3fbd8d51 perltidy all perl files 2016-07-20 11:40:27 -04:00
Mark Gurevich
847f2fcaf3 Add bypass flag description to xdcp and xdsh commands 2016-03-01 12:20:59 -05:00
wangxiaopeng
0f52e5f000 Enhance sycnfile format
Support the new format 'file -> (noderange for permitted nodes) file'
for syncfile.
2016-01-21 03:50:59 -05:00
Victor Hu
5476763673 Removed the code that strips the .post off the end of the files.
The file list being returned from xdcp contains .post.  For EXECUTE
files, we never match the postscript and so it never gets executed
2015-10-20 17:07:57 -04:00
Victor Hu
a8816cf4c5 Fix formatting of the code in the function: run_rsync_postscripts 2015-10-20 16:57:39 -04:00
Victor Hu
dba68501f1 There is no display_output option in xCAT.
Remove the unused code
2015-10-20 13:11:36 -04:00
linggao
31b06c29ef more on using passwd table for username/pasword for swithches 2015-06-03 15:39:00 -04:00
linggao
99b45ea072 make the xdsh to switches look for passwd table for default username/password/protocol 2015-05-28 15:56:13 -04:00
linggao
98684916f8 made xdsh able to work on Mellanox switches like other ethernet switches 2015-05-28 13:35:39 -04:00
lissav
109e086253 defect 4235 2014-07-25 09:09:29 -04:00
lissav
5ffb067e5e defect 4235 2014-07-24 11:05:45 -04:00
lissav
8ce66a26f0 defect 4235 2014-07-24 10:46:36 -04:00
lissav
5a770129e3 defect 4112 2014-05-05 11:55:05 -04:00
lissav
99ef971862 Defect 4061 2014-04-29 09:05:33 -04:00
065eb7b9dd defect #4061: fix DSHCLI.pm for append in hierarchy 2014-04-23 11:23:57 +01:00
lissav
f90cdb8a1b defect 4072 2014-04-16 15:10:16 -04:00
lissav
2b4a12d785 defect 4072 2014-04-16 10:17:05 -04:00
lissav
553aa59bb1 defect 4061 2014-04-15 11:39:28 -04:00
lissav
0635157d1a defect 4061 2014-04-14 13:07:08 -04:00
lissav
3cae77406c defect 3851, further enhancements 2013-10-24 06:55:54 -04:00
lissav
3bf30fcc38 defect 3851- handle multiple MN in DB 2013-10-23 13:50:05 -04:00
lissav
f2ded51dec implement timeout in xdsh -K 2013-08-29 09:12:50 -04:00
lissav
8947209fd7 Fix for defect 3717 2013-07-29 14:24:45 -04:00
lissav
be0c38e03b Do not check for config file for Mellanox, no longer needed. Also improve error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17012 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-23 13:19:26 +00:00
lissav
383c35fb49 fix defect 3707
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-22 17:11:01 +00:00
lissav
d9e740a251 fix defect 3639
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16720 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-21 17:02:12 +00:00
lissav
4d28e9fbe6 fix defect 3603
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16552 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-05 16:26:31 +00:00