2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 11:10:24 +00:00
Commit Graph

5648 Commits

Author SHA1 Message Date
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
chenglch
28a84fa997 List console status with makegocons -q
Add `-q|--query [noderange]` for makegocons to list the console
status and the host server. If node is not registered in
goconserver, the status will be `unregistered`.

If console releated attribute is not defined for the specified
node but it is included in the noderange, error message for that
node will be printed at first.
2018-02-07 10:32:43 +08:00
xuweibj
f40ea6d4b1 fix issue 4731, specify variable to hash type (#4732) 2018-01-26 11:14:05 +08:00
Victor Hu
84ea2dd458 PowerSupplyRedundancy does not take effect in bmcreboot, but on IPL 2018-01-25 13:56:21 -05:00
Victor Hu
0a51ba60fd Reduce duplicate print statement, only print when value does not match 2018-01-25 13:26:51 -05:00
Victor Hu
e2d49ce2b2 Add data structure to support get/set BootMode of the BMC 2018-01-25 13:12:21 -05:00
Victor Hu
e70ed0f3f0 Handle some warning messages based on this code
- isn't numeric in numeric ne (!=)
  - Scalar value @attr_value[-1] better written as $attr_value[-1]
2018-01-25 09:17:41 -05:00
Victor Hu
44c6c695c3 Merge pull request #4720 from gurevichmark/openbmc_rspconfig_powersupplyredundancy2
powersupplyredundancy enhancements
2018-01-24 20:11:49 -05:00
Mark Gurevich
691669bf54 powersupplyredundancy enhancements 2018-01-24 16:48:32 -05:00
Mark Gurevich
7561337bec Fix incorrect usage output for OpenBMC rspconfig command 2018-01-24 10:47:47 -05:00
ertaozh
3ebe911473 enhance of fix for issue 4652 2018-01-24 06:50:32 -05:00
zet809
4acf102b07 fix issue 4652: bmcdiscover command will not able to find Boston node (#4710) 2018-01-24 18:22:08 +08:00
XuWei
691e0ee464 fix issue 4705, modify usage output 2018-01-24 03:16:41 -05:00
Mark Gurevich
99cac5264a Second pass for autogenerating usage 2018-01-23 13:47:11 -05:00
Mark Gurevich
0d29e5d5e1 Move code block for usage string processing 2018-01-23 12:09:37 -05:00
Mark Gurevich
d395e8b73b Build usage string based on command definitions 2018-01-23 12:09:35 -05:00
Bin Xu
cb25622331 It is for provision log enhancement and partial address #4582 (#4648)
- clear logs in the key components during provisioning (not only debug mode, but debug mode will have more logs)
 - now only cover rhel7 stateful and stateless
 - make more syslogs into cluster.log (tag = xcat or xcat.*)
 - the changes will not impact other distro
2018-01-23 03:20:42 -06:00
zet809
0982cdf282 Merge pull request #4645 from xuweibj/rflash_python
rflash for openbmc on python, including options a|c|l|delete|u
2018-01-23 16:13:30 +08:00
xuweibj
a662bb5a01 Merge pull request #4694 from xcat2/gurevichmark-openbmc_rspconfig_powersupplyredundancy
Gurevichmark openbmc rspconfig powersupplyredundancy
2018-01-23 15:12:21 +08:00
zet809
5d91fe3778 modify rspconfig powersupplyredundancy based on comments 2018-01-23 00:49:41 -05:00
Victor Hu
d00ee26c67 Merge pull request #4651 from gurevichmark/openbmc_rspconfig_dump_all
Add rspconfig dump download all function
2018-01-22 15:33:35 -05:00
Mark Gurevich
b608dea24a Support rspconfig powersupplyredundancy 2018-01-22 11:20:52 -05:00
xuweibj
2e405d6678 Merge branch 'master' into rflash_python 2018-01-22 16:28:54 +08:00
zet809
b32764540c Merge pull request #4634 from gurevichmark/openbmc_rspconfig_restore_policy
Support for OpenBMC PowerRestorePolicy attribute
2018-01-22 09:41:41 +08:00
XuWei
589ee960e3 fix issue 4658, parameter check for rpower openbmc 2018-01-19 02:57:02 -05:00
zet809
7928a734c9 Merge pull request #4643 from jjohnson42/fixmacdatacheck
Fix IMM MAC data check
2018-01-19 15:23:53 +08:00
Mark Gurevich
956719b53e Add rspconfig dump download all function 2018-01-18 11:42:32 -05:00
bybai
55fed03a81 handle error 2018-01-18 03:01:45 -05:00
bybai
7f7c4e4dea enhance print error message 2018-01-18 02:36:31 -05:00
XuWei
fe63484909 rflash for openbmc on python, including options a|c|l|delete|u 2018-01-18 02:10:01 -05:00
bybai
df3eb6c4f4 change empty_zones_enable in named.conf 2018-01-18 01:44:29 -05:00
XuWei
7e286494c0 modified depending on comments 2018-01-17 00:32:54 -05:00
Jarrod Johnson
e718235ae2 macdata can be a string, ignore that as well 2018-01-16 11:13:37 -05:00
XuWei
26ccc9fabd Add perl files of openbmc2 2018-01-16 02:21:49 -05:00
zet809
a41e138fc0 Merge pull request #4625 from gurevichmark/ipmi_rflash_version
Enhance rflash -c output for ipmi controlled machines
2018-01-16 13:09:04 +08:00
Mark Gurevich
7b4af8f393 Support for OpenBMC PowerRestorePolicy attribute 2018-01-15 11:49:29 -05:00
Mark Gurevich
a4e9fbf01f Changes after review 2018-01-15 09:45:54 -05:00
zet809
e2ae1787de Merge pull request #4607 from cxhong/rvitals
Support rvitals command for Intelligent PDU
2018-01-15 16:50:13 +08:00
xuweibj
8a91ba7e08 Merge pull request #4619 from gurevichmark/openbmc_reventlog_resolve_led
Add resolved=LED option to reventlog
2018-01-15 14:21:47 +08:00
Mark Gurevich
2ea43cc01b Enhance rflash -c output for ipmi controlled machines 2018-01-11 13:51:43 -05:00
Casandra Qiu
d694ac9683 Modify rvitals output 2018-01-10 15:27:53 -05:00
Mark Gurevich
207e22c772 Add LED tag to the output of reventlog 2018-01-10 13:17:23 -05:00
Mark Gurevich
423a1c913d Add resolved=LED option to reventlog 2018-01-10 11:57:31 -05:00
Casandra Qiu
13882e69ff add message in the fill_outletCount 2018-01-09 09:30:05 -05:00
Casandra Qiu
96ff31599e pre-defined variables for the OIDs 2018-01-08 14:16:10 -05:00
Casandra Qiu
f438e1b432 Add rvitals support for Infrastructure PDUs 2018-01-05 13:29:37 -05:00
zet809
b750ea34d4 Merge pull request #4581 from cxhong/irpdu
Support rinv command for Intelligent PDU
2018-01-05 23:50:32 +08:00
Casandra Qiu
34a4403efd remove $line with "******" 2018-01-05 10:21:03 -05:00
zet809
ca75ab637a Merge pull request #4603 from chenglch/gocons
Add xcat marker in gocnoserver configuration file
2018-01-05 15:38:37 +08:00
zet809
2b4735ecbd Merge pull request #4579 from whowutwut/reventlog_resolve_faults
Add support to resolve OpenBMC logging events to clear out faults
2018-01-03 18:01:11 +08:00