2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-11 12:48:23 +00:00
Commit Graph

5660 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
202004aaaa Merge branch 'nodestatUsage2' of https://github.com/aduffy19/xcat-core into lenovobuild2.13 2018-02-26 10:41:02 -05:00
Jarrod Johnson
6872a25c56 Revert "Add -f option to nodestat usage"
This reverts commit 322e77d184.
2018-02-26 10:39:40 -05:00
Amanda Duffy
802af8150e Add -f to nodestat usage 2018-02-26 10:24:30 -05:00
Jarrod Johnson
3e8edef7dc Recognize <xcatmaster> in dhcp
The recent change failed to treat <xcatmaster>
special.
2018-02-23 16:00:58 -05:00
Mark Gurevich
0e8fb75d3a eventlog in Python RAS policy support 2018-02-23 15:57:02 -05:00
Jarrod Johnson
d159db0e7f Merge branch 'nodestatUsage' of https://github.com/aduffy19/xcat-core into lenovobuild2.13 2018-02-23 15:53:27 -05:00
Amanda Duffy
322e77d184 Add -f option to nodestat usage 2018-02-23 15:41:47 -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
Jarrod Johnson
c4c5fc6216 Allow restricting service node pools
Service node pools would go as far as the network allowed.
Honor the servicenode attribute to limit visibility to
the service nodes that are relevant and any owner of a dynamic
range.

Also allow execution if the dhcp server is not running (e.g. shutting
down dhcp server on the master node to allow only the service nodes
to provide services).
2018-02-22 11:08:04 -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
zet809
50acb80ead Merge pull request #4801 from cxhong/4742
Support user defined password from pdu table
2018-02-13 15:57:27 +08:00
Casandra Qiu
60e3eb2566 ange pduhash to global value 2018-02-12 22:15:03 -05:00
Victor Hu
aba8b368ab Merge pull request #4815 from gurevichmark/openbmc_rflash_perl
Allow choosing individual openbmc commands to use Python
2018-02-09 16:13:22 -05:00
Casandra Qiu
79df80057c add example of snmpv3 configuration for chdef 2018-02-09 13:41:38 -05:00
Mark Gurevich
a222012bdc Add EXCEPT: prefix 2018-02-09 11:39:40 -05:00
zet809
496d13e81e Merge pull request #4809 from chenglch/makegoconslocal
Add consoleenabled column to help store the console status
2018-02-09 11:13:42 +08:00
chenglch
dd7e1d51df Add consoleenabled column to help store the console status
On diskless SN, the nodes file of goconserver is missing when
reinstalling. This patch add a column in nodehm table to help
recover the console information on service node.

```
[root@c910f03c09k04 ~]# makegocons -q

NODE                             SERVER                           STATE
c910f03c09k05                    c910f03c09k04.pok.stglabs.ibm.com error
node-7912ac1-06vag36             c910f03c09k04.pok.stglabs.ibm.com error

NODE                             SERVER                           STATE
c910f03c09k04                    c910f03c09k03.pok.stglabs.ibm.com connected
[root@c910f03c09k04 ~]# rm /var/lib/goconserver/*
rm: remove regular file ‘/var/lib/goconserver/nodes.json’? y
rm: remove regular file ‘/var/lib/goconserver/nodes.json.bak’? y
[root@c910f03c09k04 ~]# service xcatd restart
Restarting xcatd (via systemctl):                          [  OK  ]
[root@c910f03c09k04 ~]# makegocons -q

NODE                             SERVER                           STATE
c910f03c09k05                    c910f03c09k04.pok.stglabs.ibm.com error
node-7912ac1-06vag36             c910f03c09k04.pok.stglabs.ibm.com error

NODE                             SERVER                           STATE
c910f03c09k04                    c910f03c09k03.pok.stglabs.ibm.com connected
```
2018-02-09 10:34:20 +08:00
Mark Gurevich
7722c15b18 Allow choosing individual openbmc commands to use Python 2018-02-08 15:25:56 -05:00
ertaozh
cb78be8f4d fix issue 3913: support rpower cycle for ipmi managing severs 2018-02-08 01:40:59 -05:00
xuweibj
acae60a30a Merge pull request #4786 from zet809/rspconfig_sshcfg
Rspconfig framework for openbmc in python
2018-02-08 13:27:16 +08:00
zet809
003d3a4a53 Merge pull request #4806 from xuweibj/I4805
fix issue 4805, support rspconfig openbmc in hierarchy
2018-02-08 13:08:35 +08:00