2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-06 02:08:25 +00:00
Commit Graph

3228 Commits

Author SHA1 Message Date
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
Jarrod Johnson
dad3f26b9c Merge tag '2.14.3' into lenovobuild2.14
xCAT 2.14.3 release
2018-08-24 09:05:24 -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
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
Mark Gurevich
4163a6bb6c Token expiration setting 2018-04-17 13:40:57 -04:00
cxhong
fe249bfb70 Print out error msg for xcatprobe switch_macmap command if switch passwordless is not enabled (#5064)
* Print out error msg for xcatprobe switch_mac command if switch
passwordless is not enabled.

* Modified msg only if in the collect_mac_info case
2018-04-11 14:03:56 +08:00
Bin Xu
6d8081142b workaround ($4929) the MsgUtil.pm first to make sure xcatd will not crash when /dev/log is not ready. (#4974) 2018-03-27 14:04:51 +08:00
Jarrod Johnson
e16cea2688 Merge tag '2.13.11' into lenovobuild2.13
xCAT 2.13.11 release
2018-03-26 10:49:04 -04:00
chenglch
cc588f4af1 Modify startup configuration for goconserver and conserver
After running makegocons, startup configuration would be changed
to make sure goconserver could start after rebooting. Changes
are made in makeconservercf too.
2018-03-23 16:36:42 +08:00
Mark Gurevich
fa5c6e3f37 Merge pull request #4981 from xuweibj/I4978
modify rspconfig usage
2018-03-22 11:22:31 -04:00
chenglch
e80509c0ae use msgsource directly 2018-03-21 16:24:00 +08:00
XuWei
cfe6c0db7f modify rspconfig usage 2018-03-21 03:49:18 -04:00
chenglch
25bede4130 Modify goconserver msg for SN
The message util from xCAT framework do not print where the message
comes from by default. This patch add [service host] prefix for the
message if message is from SN.
2018-03-20 15:32:50 +08:00
Mark Gurevich
0761c3b836 Usage and man page updates 2018-03-16 14:29:29 -04:00
yangsong
3e622bf94e fix typo (#4956) 2018-03-16 14:19:26 +08:00
yangsong
38e547c493 fix issue If multiple IP addresses used in xcatmaster field, updatenode will not work leaving node in bad state #3688 (#4932) 2018-03-15 16:14:41 +08:00
yangsong
d0ed517ee2 merge master to 2.13 branch (#4916)
* Add section for OpenBMC rflash in admin-guide, link this section to CORAL reference section

* enhance rflash unattended doc

* Add libnl3 to ib.rhels7.ppc64le.pkglist

* Reverse installing xCAT-openbmc-py by default so we can require python dependencies

* Adding documentation for installing xCAT-openbmc-py

* enhance rflash doc

* Fix indent problem for the comment lines

For the usability issue, add more spaces to avoid of
some errors when deleting the `#`.

* Install first, then performance section

* Modify all fullwidth colon in test case

* remove the dependency, Load SOAP module dynamically

* Add doc to enable goconserver by default

Add the steps in documentation to enable goconserver by default.

* Use makegocons instead of makeconservercf during discovery and provision

* check if agent exists in process_request and give more clear message.

* add usercase for xcat-inventory

* Not start agent when no valid nodes (#4915)
2018-03-09 19:21:30 +08:00
Bin Xu
55af8ca8c4 remove the dependency, Load SOAP module dynamically 2018-03-09 13:39:33 +08:00
Bin Xu
804b132605 clear cache for IP change case in node discovery(#4890) (#4891) 2018-03-06 16:13:02 +08:00
Mark Gurevich
b5bfe17bfc Control openbmc Perl/Python commands with site attribute (#4879)
* Control openbmc Perl/Python commands with site attribute

* update PR: control openbmc perl/python commands, using site attribute, env variable as well
2018-03-05 17:32:56 +08:00
chenglch
a992db147c Merge pull request #4845 from aaronknister/tweak-default-stanza-handling
fixes to default stanza handling
2018-03-05 13:23:02 +08:00
Aaron Knister
6230706c43 be more explicit about default stanza naming convention 2018-03-01 13:07:49 -05:00
XuWei
bc3f98a144 add -V for all commands 2018-02-28 03:42:05 -05:00
XuWei
24cd358a62 modify usage and manpage for openbmc 2018-02-28 01:56:57 -05:00
Mark Gurevich
3dc366336a Display usage for openbmc commands 2018-02-13 13:15:55 -05:00
immarvin
7d2c0e1926 fix issue error message improvement when adding users in hierarchical configuration #4820 2018-02-12 09:20:41 -05:00
zet809
f61ee56aea Merge pull request #4810 from chenglch/gorcons
Move sleep retry from xcat to goconserver
2018-02-09 23:28:33 +08:00
chenglch
2da3f5140d Move sleep retry from xcat to goconserver
If cons script is waiting, goconserver could not aware of
the status of the console connection. This patch check
the environment when running the script, if it is gocons
and retrying is needed, exit immediately.
2018-02-09 12:11:48 +08:00