2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-05 17:58:14 +00:00
Commit Graph

3252 Commits

Author SHA1 Message Date
yangsong
2f2b17f85e EXECUTE in sync list will not invoke post sync scripts if the script itself is updated (#6001) 2019-04-04 09:00:29 -04:00
yangsbj
867d477510 fix issue xdcp EXECUTE of .post script not working as expected #5987 2019-04-04 08:59:05 -04:00
Jarrod Johnson
5d350aca36 Put in piece of an old commit to sync up with master
Currently Table.pm has a partial revert.  Rectify
this to sync back up with xcat.org in optimism that
the problem has been fixed (based on some examination
of changes since the mistake)
2019-01-09 14:25:01 -05:00
Jarrod Johnson
eb68b59906 Merge tag '2.14.5' into lenovobuild2.14
xCAT 2.14.5 release
2019-01-09 14:20:23 -05:00
zet809
8f3c3f7677 Fix issue 5150: tabch and tabdump commands can not deal with invalid attribute names (#5846)
* Fix issue 5150: tabch and tabdump commands can not deal with invalid attribute names

* reuse buildWhereClause for key retriving
2018-11-30 08:19:42 +08: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
zet809
2cc06ef0b7 Fix issue 5721: xCAT-client rpm seems to depend on xCAT-server (#5826) 2018-11-21 13:49:17 +08:00
Bin Xu
28ba3a5cff imporve the performance to list group object when lots of groups defined (#5769)
* imporve the performance to list group object when lots of groups defined (#5761)

* - for list group attribute, using the similiar method as node object, but for group
not consider the inherit and regex translation (pass $options{keep_raw} = 1)
2018-11-13 14:06:10 +08:00
yangsong
92c019bdb3 set default value for $::XCATSITEVALS{httpport} if site.httpport is not specified (#5780) 2018-11-09 15:28:17 +08:00
Jarrod Johnson
8ff0bb805e Have xCAT client try IPv6 if IPv4 fails
If IPv6 support is added to a system after xcat is running,
then trying to reach 'localhost' may end up being '::1' instead
of '127.0.0.1'.  This will be fine after xCAT restarts from before
IPv6 support being available, but until that time the daemon is
IPv4 only.  Have Client try IPv4 if IPv6 fails to accomodate this
situation.
2018-10-31 15:34:58 -04:00
Jarrod Johnson
af9b6baf6e Have xCAT client try IPv6 if IPv4 fails
If IPv6 support is added to a system after xcat is running,
then trying to reach 'localhost' may end up being '::1' instead
of '127.0.0.1'.  This will be fine after xCAT restarts from before
IPv6 support being available, but until that time the daemon is
IPv4 only.  Have Client try IPv4 if IPv6 fails to accomodate this
situation.
2018-10-29 14:48:23 -04:00
Victor Hu
c97d4ee287 Merge pull request #5675 from gurevichmark/exterme_cluster
xCAT name consistency
2018-10-12 17:17:34 -04:00
cxhong
5efa7ab42b Modify the output message if failed pping_hostname() (#5664)
* Modify output message
2018-10-12 17:33:28 +08:00
Kilian Cavalotti
0c0854aa2b syncfiles: try to fix the issue where sync lists are generated with the (#5680)
wrong destination username. Bugs #4455, #5252
2018-10-12 16:14:30 +08:00
Victor Hu
311e1e5951 Merge pull request #5669 from gurevichmark/manpage_fixes
Formatting and spelling fixes for some man pages
2018-10-11 15:15:32 -04:00
Bin Xu
74cd024a01 hierarchicalattrs does not work on some columns with special delimiter (#5663) (#5688) 2018-10-10 18:07:10 +08:00
Casandra Qiu
c8ed19a9d0 Add two disc ID for rhels8.0 2018-10-05 14:41:53 -04:00
Mark Gurevich
5b3aef0e82 Formatting and spelling fixes 2018-10-04 14:13:27 -04:00
Mark Gurevich
3d41124508 Changes after the review 2018-10-03 11:19:27 -04:00
Mark Gurevich
3970342342 xCAT name consistency 2018-10-01 13:15:58 -04:00
Obihörnchen
5ca6e01b83 [Docu] Correct default xcatsslversion
It's TLSv1 not SSLv3 anymore.
2018-09-22 02:29:13 +02:00
cxhong
f1d51c1c74 Add /etc/gshadow for the syncfile MERGE clause (#5572) 2018-09-05 09:49:02 +08:00
Jarrod Johnson
dad3f26b9c Merge tag '2.14.3' into lenovobuild2.14
xCAT 2.14.3 release
2018-08-24 09:05:24 -04:00
Casandra Qiu
85894795c6 Change options Verbose to verbose 2018-08-21 15:18:12 -04:00
yangsong
7b7d9ab675 merge master to 2.14 branch (#5546)
* To fix issue that lose activation success log

* update onie doc to add rspconfig sshcfg command (#5539)

* fix osarch missing from copycds (#5543)

* Modify release information for 2.14.3 release

* update goconserver quickstart document

* Enhancement for using site cache in plugin (#5535)

* site cache when run plugin does not work very well
- using cache from plugin when getNodesAttribs/getNodeAttribs (pass it into DB process from plugin process)
- Site cache is a whole hash, so to use cache when by the hash is there, instead of the specified key is there.
It is because that there might be no key defined in site table.

* with XCATBYPASS, to populate site hash before scan_plugins. Then only 1 query for site table to do whole things.

* cache site when init plugins on service nodes

* missing to comment the old codes query from xCAT DB process
2018-08-21 18:38:08 +08:00
Bin Xu
5fc4e7fad5 Enhancement for using site cache in plugin (#5535)
* site cache when run plugin does not work very well
- using cache from plugin when getNodesAttribs/getNodeAttribs (pass it into DB process from plugin process)
- Site cache is a whole hash, so to use cache when by the hash is there, instead of the specified key is there.
It is because that there might be no key defined in site table.

* with XCATBYPASS, to populate site hash before scan_plugins. Then only 1 query for site table to do whole things.

* cache site when init plugins on service nodes

* missing to comment the old codes query from xCAT DB process
2018-08-21 18:36:52 +08:00
Jarrod Johnson
af41ca947c Merge tag '2.14.2' into lenovobuild2.14
xCAT 2.14.2 release
2018-08-08 17:56:37 -04:00
bybai
cc7ad619cc add new UT and polished 2018-07-11 01:58:31 -04:00
bybai
d3e73fb435 fix check for leading zeroes in ip address when running makehosts 2018-07-11 01:43:23 -04:00
xuweibj
d37779bb70 modify renergy powerusage/temperature Usage 2018-06-26 01:26:00 -04: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
Bin Xu
18c5afc0f4 support secure root method (#5286)
- support xcat_secure_pw:<user> API in credential plugin
 - for diskless, if enabled secure root, packimage will not write root password into image
 - for stateful, if enabled secure root, nodeset will not write root password into config file
 - and 'remoteshell' will update shadow file accordingly
2018-06-15 10:28:51 +08:00
Jarrod Johnson
5413980ba0 Explicitly undef the cipher list
SuSE mandates a list.  That list does *not* allow
TLSv1.2 ciphers, so explicitly put the fate of
the connection in the server's hands.
2018-06-08 10:16:53 -04:00
Bin Xu
1c1eace773 Recording the Severity of log message into xCAT logs (#5267)
- modify rsyslog conf and add "%syslogseverity-text:::uppercase%" to input the text Severity
 - remove duplicate Severity in log message
 - modify MsgUtils::trace for better performance and code structure
2018-06-05 17:57:55 +08:00
zet809
1b444f0709 Merge pull request #5119 from robin2008/showsvrname
show server name by default for Error and Warn message
2018-06-05 16:08:21 +08:00
Jarrod Johnson
23d63d59bb Update man page for networks table 2018-06-01 16:16:05 -04:00
Jarrod Johnson
3bbfafad4d Merge tag '2.14.1' into lenovobuild2.14
xCAT 2.14.1  release
2018-06-01 09:51:20 -04:00
Bin Xu
7227c7f98d show server name by default for Error and Warn message 2018-05-29 15:18:46 +08:00
xuweibj
7c5f57be39 Merge pull request #5201 from gurevichmark/openbmc_rinv_multiple_options
OpenBMC rinv multiple options
2018-05-17 09:06:44 +08:00
Jarrod Johnson
4fa468920d Merge branch '2.14.0' into lenovobuild2.14 2018-05-16 15:41:38 -04:00
Mark Gurevich
f0f4929e6b Display only OpenBMC usage 2018-05-15 15:20:59 -04:00
Mark Gurevich
566142a02d Doc changes for OpenBMC rinv multiple options 2018-05-11 10:40:07 -04:00
zet809
ab3f449548 Merge pull request #5184 from robin2008/xcatdb_die
make store_fd does not thow exception and the client could be closed.
2018-05-10 13:46:32 +08:00
robin2008
9d6a8fa420 make store_fd does not thow exception and the client could be closed. 2018-05-09 17:47:55 +08:00
Mark Gurevich
a38ffa18f7 Auditlog table doc improvement 2018-05-04 11:33:27 -04: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
Yuan Bai
318198b1f5 chdef print warning when postscript is already included in the 'xcatdefaults' (#5112) 2018-04-23 17:51:53 +08:00
Mark Gurevich
4c8c68efb3 Changes after review 2018-04-18 16:07:59 -04:00
Mark Gurevich
36b0b69cf4 Documentation changes for REST API token 2018-04-17 15:55:09 -04:00