2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-05-07 09:25:12 +00:00
Commit Graph

6268 Commits

Author SHA1 Message Date
chenglch b7bd03f151 Fix command error in gocons caused by the env variable
In hierarchical mode, xCAT insert variables in the command line,
but goconserver do not support this format. This patch put the
definition for environment variable to `{params}->{env}` field so
that the first argument of  `{params}->{cmd}` is executable.
2018-03-19 11:38:45 +08:00
yangsong 9e1450fe12 fix syntax issue (#4950) 2018-03-15 17:44:20 +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
xuweibj 36146ce0dd Merge pull request #4944 from zet809/fix_issue_4856
fix issue 4856: rewrite parse_args for rspconfig
2018-03-15 15:52:06 +08:00
ertaozh 75940bfda1 add value check for rspconfig options powersupplyredundancy,... 2018-03-15 03:10:06 -04:00
Yuan Bai a6a14d3bfe group validation (#4945) 2018-03-15 14:13:13 +08:00
ertaozh 3dc4b0a60a update parse_args based on comments 2018-03-14 22:34:21 -04:00
Victor Hu cf71168bbd Merge pull request #4939 from gurevichmark/python_perl_indicator
Display Perl/Python for OpenBMC commands with -V
2018-03-14 09:26:09 -04:00
ertaozh 84ad957d3f fix issue 4856: rewrite parse_args for rspconfig 2018-03-14 03:56:44 -04:00
Yuan Bai c0314a36b6 enhance invalid node name error msg (#4931) 2018-03-14 13:49:08 +08:00
Mark Gurevich 549ee35a49 Display Perl/Python for OpenBMC commands with -V 2018-03-13 11:15:18 -04:00
Bin Xu 387055a3be to address the review comments:
- using signal to handle the cleanup
2018-03-13 17:35:20 +08:00
Bin Xu 1d7e0a0042 Support mutiple commands in the same time
- Using PID tailing name to avoid the lock
2018-03-12 14:47:04 +08:00
xuweibj feaa1532ec Not start agent when no valid nodes (#4915) 2018-03-09 18:30:46 +08:00
zet809 b5ad92c39c Merge pull request #4912 from robin2008/message-no-py-agent
When xCAT-openbmc-py is not installed on Service Node, log does not help describe the problem
2018-03-09 15:34:44 +08:00
Bin Xu 6d3d340849 check if agent exists in process_request and give more clear message. 2018-03-09 15:05:15 +08:00
zet809 8bfea10150 Merge pull request #4909 from chenglch/goconsindent
Fix indent problem for the comment lines
2018-03-09 14:23:01 +08:00
Bin Xu 55af8ca8c4 remove the dependency, Load SOAP module dynamically 2018-03-09 13:39:33 +08:00
chenglch a03e17dadf Fix indent problem for the comment lines
For the usability issue, add more spaces to avoid of
some errors when deleting the `#`.
2018-03-09 10:41:46 +08:00
zet809 c38df296d9 Refine openbmc python support error message, and information about switch to perl (#4901) 2018-03-07 17:40:29 +08:00
bybai 66c9a90c5e delete $::OPENBMC_DEVEL from rflash -d 2018-03-07 02:06:20 -05:00
zet809 1f93f8332d Merge pull request #4888 from xuweibj/rpower_error
return code on error should be 1 instead of 0 ---rpower
2018-03-06 17:23:10 +08:00
XuWei 3502b9a5b7 tag for openbmc perl 2018-03-06 03:57:58 -05:00
Bin Xu 804b132605 clear cache for IP change case in node discovery(#4890) (#4891) 2018-03-06 16:13:02 +08:00
cxhong 4038056879 Add more print statement for config switches scripts (#4872)
* Add more print statement for config switches scripts

* modified from reviews

* more modify from review
2018-03-06 11:25:38 +08:00
Victor Hu c43d74f6a0 Merge pull request #4886 from gurevichmark/openbmc_python_default
OpenBMC commands default to Python
2018-03-05 14:10:33 -05:00
Mark Gurevich 05b6f489ac OpenBMC commands default to Python 2018-03-05 14:09:34 -05:00
Victor Hu 40118f0c8f Improve the error message when python dependencies are not met 2018-03-05 12:12:55 -05: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 2156528baf Remove the spaces at the end for makegocons -q
Tidy the output
2018-03-05 13:59:28 +08:00
zet809 fc5795c812 Merge pull request #4870 from chenglch/gocons-clean
Add makegocons -C|--cleanup to remove entries that do not exist
2018-03-05 11:17:53 +08:00
xuweibj f1ff71e3bc [OpenBMC] The return code on error should be 1 instead of 0 (#4871)
* fix issue 4854, modify return code when has error
2018-03-02 15:45:10 +08:00
Victor Hu 90ab899800 Merge pull request #4842 from gurevichmark/openbmc_reventlog_led_case
Make reventlog resolved=LED case insensitive
2018-03-01 14:33:48 -05:00
zet809 6d633af336 Merge pull request #4847 from xuweibj/rspconfig_gard_passwd
rspconfig gard&admin_passwd&ntpservers in python
2018-03-01 16:37:31 +08:00
chenglch e86d544242 Add makegocons -C|--cleanup to remove entries that do not exist
`rmdef` command do not help clean up the recousrces that related to
the node when removing the node. this is a technical debt. This patch
is only a work around to add -C|--cleanup option to help remove the
entries in goconserver.
2018-03-01 16:13:12 +08:00
zet809 7d3c3c41b9 Merge pull request #4863 from robin2008/nodediscover
Failed to discover nodes as the discovery method is set  to undef by wrong
2018-03-01 15:59:45 +08:00
Bin Xu b962479353 Fix the issue: Failed to discover nodes as the discovery method is set to udef by wrong (#4860)
- zvmdiscovery plugin will not handle findme
 - not change request if no temp discovered bmc nodes, to avoid the confusing error message
 - add more logs, and ignore the `ipmitool sol info` error output
2018-03-01 15:20:25 +08:00
xuweibj c14991fcd1 Merge branch 'master' into rspconfig_gard_passwd 2018-02-28 17:33:48 +08:00
XuWei d914a4a09c rspconfig ntpservers 2018-02-28 04:28:23 -05:00
zet809 60f7142ad0 Merge pull request #4839 from bybai/dhcp
fix not set domain in site table will cause dhcp service failed to start
2018-02-28 17:00:22 +08:00
zet809 38a4930c9d Merge pull request #4835 from gurevichmark/openbmc_python_reventlog
Initial pass for Python reventlog
2018-02-28 16:55:18 +08:00
Mark Gurevich b56da57f77 Changes for review comments 2018-02-27 10:44:00 -05:00
bybai d60477b1f9 enhance 2018-02-26 22:37:31 -05:00
XuWei 29f6fa75cf rspconfig gard&admin_passwd in python 2018-02-26 22:11:48 -05:00
Mark Gurevich 0e8fb75d3a eventlog in Python RAS policy support 2018-02-23 15:57:02 -05:00
Yuan Bai 74d9eba944 Update dhcp.pm 2018-02-23 10:05:01 +08:00
Mark Gurevich 96a34d972f Make reventlog resplved=LED case insensitive 2018-02-22 14:15:39 -05:00
bybai c655395d60 when no domain defined, should print error 2018-02-22 02:16:28 -05:00
Victor Hu f19c936638 Change some code in the python framework so
that it's easier to debug issues in configuration when moving to python for OpenBMC
2018-02-20 16:20:13 -05:00
Mark Gurevich f499b21f67 Initial pass for Python reventlog 2018-02-20 16:03:57 -05:00