Jarrod Johnson
42f6e9f74a
Remove arguments from commands.log
...
The arguments may contain sensitive information, remove it.
2018-04-17 16:20:24 -04:00
Jarrod Johnson
fd5c5f2b7c
For now, disable saving of arguments
...
There isn't enough discipline in the commands to know when
a password may be present.
2018-04-17 16:15:58 -04:00
Jarrod Johnson
212fe9ab91
Remove openbmc2 plugin
2018-04-10 15:06:37 -04:00
Jarrod Johnson
b022936491
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-03-26 15:16:44 -04:00
Jarrod Johnson
adec07ad99
Fix xdcp username on updatenode -F
...
xdcp was not using the username and trusted facility, fix
updatenode usage.
2018-03-26 15:15:56 -04: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
b6241689b9
Merge pull request #4921 from robin2008/multi-user-openbmc
...
Support mutiple openbmc commands in the same time
2018-03-13 17:39:26 +08:00
Bin Xu
387055a3be
to address the review comments:
...
- using signal to handle the cleanup
2018-03-13 17:35:20 +08:00
bybai
f36e659715
enhance mlnxofed_ib_install.v2 return 1 when service openibd restart failed
2018-03-12 23:10:24 -04: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
zet809
a297ed1171
Merge pull request #4910 from robin2008/not-default-require-soap
...
remove the dependency, Load SOAP module dynamically
2018-03-09 14:09:56 +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
Jarrod Johnson
72420d1f00
Fix syncfiles merge update records
...
The change to fix superset problem also reversed logic
to prefer the 'old' entries to the 'new' entries. For now,
restore the logic of merge entries superseding existing entries.
What is really warranted is a facility to intelligently sync the account
databases. Specifically, read in /etc/login.defs, look at UID_MIN and
GID_MIN for the platform. For UID/GID lower than that, rpms may manage
and such care needs to be given to not change UID/GID, but still need to
update things like shadow and group *membership*, but presrve uid/gid.
Above UID_MIN/GID_MIN, they are user groups and the uid/gid portion is
important in shared filesystem context, so it is imperative that they
work.
2018-03-08 11:02:29 -05:00
Jarrod Johnson
ee54a2cc7b
Fix xdcpmerge when no common
...
The fix for superset broke the null intersection case.
The null intersection case becomes a simple append, so
add as an else clause.
2018-03-08 10:12:08 -05:00
GONG Jie
fe60fe04db
Add libnl3 to ib.rhels7.ppc64le.pkglist
2018-03-08 17:24:27 +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
Jarrod Johnson
8b79cf8535
Do not add any link local address to networks table
2018-03-05 14:00:25 -05:00
Jarrod Johnson
0e070cd2fd
Fix infinite loop if unfortunate IPv6 encountered
2018-03-05 13:47:49 -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
Jarrod Johnson
08c29357bf
Update getinstdisk to better handle M.2/ahci devices
2018-03-02 15:42:15 -05: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
Jarrod Johnson
e372fb5b73
Add a message to genimage about bus messages
...
The service handling in systemd causes it to show scary
looking messages to user. This reassures that the message
is benign.
2018-02-26 15:01:20 -05:00
Jarrod Johnson
202004aaaa
Merge branch 'nodestatUsage2' of https://github.com/aduffy19/xcat-core into lenovobuild2.13
2018-02-26 10:41:02 -05:00