2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 12:20:40 +00:00
Commit Graph

5700 Commits

Author SHA1 Message Date
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
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
643fa238fe put name of OID 2018-06-14 11:41:50 -04:00
2cc35b6090 Failed to discover PDU 2018-06-13 13:43:44 -04:00
952dea810b Using physical entity description OID to get Vendor information 2018-06-07 13:18:30 -04:00
cd689a9a65 Framework of redfish support perl part (#5269) 2018-06-05 13:07:29 +08:00
12bfd5699d if not get valid pid when waitpid, sleep (#5274) 2018-06-01 14:30:53 +08:00
671231833d modify nodestat usage and manpage for -f|--useping 2018-05-31 17:13:04 +08:00
a307bfa96a Fix code error to generate the right socket file name based on the caller PID (#5257) 2018-05-28 21:01:05 +08:00
7a69c9b779 using --nosyncfiles to bypass syncing files to root image directory (#5229) 2018-05-22 12:47:37 +08:00
52e0a4529b Merge pull request #5220 from cxhong/4989
the error message of *def command is disordered when running internally
2018-05-21 22:10:43 +08:00
66cbeeeee9 Use comma separate list 2018-05-21 09:21:50 -04:00
8a5a4c38b9 Merge pull request #5226 from cxhong/5213
Modify output message for PDU outlet state
2018-05-21 21:03:10 +08:00
dad1f72fdc fix issue Non-root user can not run ping on ubuntu 14.4.4 diskless #5227 2018-05-21 00:51:32 -04:00
55581cb2db Modify output message for PDU outlet state 2018-05-17 15:04:53 -04:00
668a00bd71 Revert "[CUSTOMER] Ping not working for non root users on Diskless PowerKVM guests (rhels7.2) #922: use tar as the default archive method instead of cpio (#5187)" (#5221)
This reverts commit 2bf5dc57f9.
2018-05-17 11:20:55 +08:00
7c5f57be39 Merge pull request #5201 from gurevichmark/openbmc_rinv_multiple_options
OpenBMC rinv multiple options
2018-05-17 09:06:44 +08:00
c7af2c30c8 the error message of *def command is disordered when running internally 2018-05-16 14:43:25 -04:00
7f7f7c9867 Merge pull request #5206 from cxhong/5098
Fix ERR message when running ondiscover in the chain table
2018-05-16 13:56:54 +08:00
a26832cc94 Merge pull request #5211 from gurevichmark/openbmc_usage_filtering
Display only OpenBMC usage
2018-05-16 10:38:06 +08:00
f0f4929e6b Display only OpenBMC usage 2018-05-15 15:20:59 -04:00
0fb441b820 fix issue for using waitpid for openbmc perl (#5208) 2018-05-15 18:12:35 +08:00
c5342b7fc6 Prefer HWE netboot where available in Ubuntu (#5195) 2018-05-15 14:37:28 +08:00
6bc2d8d51e Fix ERR message when running ondiscover in the chain table 2018-05-14 22:30:42 -04:00
e4530d9bae Merge pull request #5194 from zet809/deal_with_doxcat_loop
Force chain to be standby if only runcmd/ondiscover is specified for chain attribute
2018-05-11 12:53:41 -04:00
69695baf54 OpenBMC rinv multiple options 2018-05-11 10:23:11 -04:00
1f401f3952 Refine the PR in case ondiscover=xxx can not be fully set to currstate 2018-05-11 03:50:25 -04:00
5db248d14e Force chain to be standby if only runcmd/ondiscover is specified for chain attribute 2018-05-10 04:34:09 -04:00
2bf5dc57f9 [CUSTOMER] Ping not working for non root users on Diskless PowerKVM guests (rhels7.2) #922: use tar as the default archive method instead of cpio (#5187) 2018-05-10 16:26:42 +08:00
2361cda1f2 Man and usage updates for chtab and tabch commands 2018-05-08 13:34:17 -04:00
a9825f3260 Add some logs for bmcdiscover (#5163)
* Add some logs for bmcdiscover
2018-05-04 15:43:51 +08:00
9874c11063 check the existance of osimage; set os and arch of node to be the relevant attribute in osimage during nodeset (#5162) 2018-05-03 17:03:54 +08:00
5d6e9fe7a0 Merge pull request #5061 from robin2008/ipmi_debug
report ipmi_debug message under node name (#5033)
2018-05-03 15:17:55 +08:00
7bbf1cacec Support nodeset <switch> osimage command for cumulus switch (#5144)
* Support nodeset <switch> osimage command for cumulus switch

* Add logical checking for provemethod and pkgdir

* fix conflict
2018-05-03 10:47:17 +08:00
c837babad6 Support copycds command to create cumulus osimage (#5122)
* Support copycds command to create cumulus osimage

* Add Error handler

* fix a typo

* Add VERBOSE

* Modify a error message

* modify per yangSong's comment

* Add '-i' and '-o' flag

* remove nooverwrite when checking pkgdir
2018-05-03 08:27:40 +08:00
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
b5b7dea096 Merge pull request #5136 from xuweibj/I4248
update node status when enter shell/standby
2018-04-25 17:56:51 +08:00
9d5dede0d1 update node status when enter shell/standby 2018-04-25 04:46:12 -04:00
98f436ef0d Add mac info in ouput of bmcdiscover when no mtms 2018-04-20 01:38:54 -04:00
77647a2b66 Merge pull request #5096 from stanford-rc/ddns_log
ddns: log more infornation to show the DNS entry when an error occurs
2018-04-17 14:24:25 +08:00
8024e0a2ab Merge pull request #5093 from gurevichmark/openbmc_upload_dd_check
Processor DD version check before firmware upload
2018-04-16 11:27:04 -04:00
4b1709e59d When xdcp files to CN and CN is controlled by a SN, xcat will push (#5102)
files to SN first (site.SNsyncfiledir). This should be run as admin
for normal user as they cannot touch that directory.
2018-04-13 16:58:42 +08:00
2c9bdf8480 Properly fix updatenode syncfiles (#5013)
* Fix xdcp username on updatenode -F

xdcp was not using the username and trusted facility, fix
updatenode usage.

* Remove security risk of forceroot

Any user can specificy 'forceroot'.  Remove this and rely
upon the other method to properly use the 'trusted' role.
2018-04-13 11:15:26 +08:00
9cd9017e4b modify output format of rvitals leds 2018-04-12 02:42:06 -04:00
2419a78098 ddns: log more infornation to show the DNS entry when an error occurs 2018-04-11 15:29:52 -07:00
74874062d5 Processor DD version check in Perl 2018-04-11 15:09:23 -04:00
bd6718999b modify return code of rspconfig hostname error 2018-04-10 21:55:04 -04:00
3857b0492a Merge pull request #5066 from xuweibj/I5056
Show error msg when set hostname as IP address
2018-04-10 15:30:32 +08:00
ba32210e9b modified depending on comments 2018-04-10 02:54:48 -04:00
bc0b23fe9c modify rflash args for docopt parse 2018-04-09 22:34:50 -04:00