2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-21 13:35:32 +00:00
Commit Graph

3126 Commits

Author SHA1 Message Date
a992db147c Merge pull request #4845 from aaronknister/tweak-default-stanza-handling
fixes to default stanza handling
2018-03-05 13:23:02 +08:00
6230706c43 be more explicit about default stanza naming convention 2018-03-01 13:07:49 -05:00
bc3f98a144 add -V for all commands 2018-02-28 03:42:05 -05:00
24cd358a62 modify usage and manpage for openbmc 2018-02-28 01:56:57 -05:00
3dc366336a Display usage for openbmc commands 2018-02-13 13:15:55 -05:00
7d2c0e1926 fix issue error message improvement when adding users in hierarchical configuration #4820 2018-02-12 09:20:41 -05:00
f61ee56aea Merge pull request #4810 from chenglch/gorcons
Move sleep retry from xcat to goconserver
2018-02-09 23:28:33 +08:00
2da3f5140d Move sleep retry from xcat to goconserver
If cons script is waiting, goconserver could not aware of
the status of the console connection. This patch check
the environment when running the script, if it is gocons
and retrying is needed, exit immediately.
2018-02-09 12:11:48 +08:00
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
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
cb78be8f4d fix issue 3913: support rpower cycle for ipmi managing severs 2018-02-08 01:40:59 -05:00
9b04b8483c fix issue 4758, add '-V' in rflash Usage and manpage 2018-01-31 02:03:01 -05:00
86d8c4749e Remove not existing table fields in PDU table (#4750) 2018-01-29 20:12:53 -06:00
d72c193710 correct description about nicsadapter (#4723)
* correct description about nicsadapter

* enhance nicsadapter desc

* polished

* polished
2018-01-25 04:04:21 -06:00
691e0ee464 fix issue 4705, modify usage output 2018-01-24 03:16:41 -05:00
99cac5264a Second pass for autogenerating usage 2018-01-23 13:47:11 -05:00
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
c0074cf8ab Add the 'postbooting' status to indicate xCAT start to handle postboot tasks (#4346) (#4369)
- for diskful, it will be set when leaving 'booting' stage
 - for diskless, it will be set when leaving 'netbooting' stage
 - for diskful reboot, it will set when (site.runpostscript=1)
 - modify the document accordingly
 - also modify GlobalDef.pm, but it won't have impact as the status will not be in nodeset operation.
2018-01-19 02:39:11 -06:00
7928a734c9 Merge pull request #4643 from jjohnson42/fixmacdatacheck
Fix IMM MAC data check
2018-01-19 15:23:53 +08:00
7633bb2714 Add gocons setup doc on service node
Add console state 2 in the servicenode table to help set up
goconserver daemon.
2018-01-19 14:11:05 +08:00
717b67304d format emptyzonesenable 2018-01-18 21:17:34 -05:00
956719b53e Add rspconfig dump download all function 2018-01-18 11:42:32 -05:00
988898dde1 enhance emptyzonesenable description 2018-01-18 02:58:30 -05:00
df3eb6c4f4 change empty_zones_enable in named.conf 2018-01-18 01:44:29 -05:00
74fba1a3b8 Merge remote-tracking branch 'upstream/master' 2018-01-16 11:13:14 -05:00
423a1c913d Add resolved=LED option to reventlog 2018-01-10 11:57:31 -05:00
b750ea34d4 Merge pull request #4581 from cxhong/irpdu
Support rinv command for Intelligent PDU
2018-01-05 23:50:32 +08:00
4703e396d6 Add man page and usage for LED support for OpenBMC rvitals 2018-01-03 10:48:32 -05:00
9590c50927 Support rinv command for irpdu 2017-12-21 11:11:55 -05:00
22250397f8 Merge pull request #4391 from cxhong/pdurelay
Relay action and snmp configuration support for Coral PDU
2017-12-14 15:58:29 +08:00
4fa5cc18e5 Merge pull request #4502 from bybai/rfluse
add rflash -d usage and manpage
2017-12-14 15:45:25 +08:00
fb0c523d2c Merge pull request #4491 from gurevichmark/openbmc_rspconfig_man
Usage and man page update for rspconfig dump
2017-12-13 15:32:13 -05:00
eb4fa5fc7a updatenode -F not work in hierachy env as the user name is FQDN of MN (#4484)
* updatenode -F not work in hierachy env (#4455)
 - add trace when -V is enabled
 - get the DSH_FROM_USERID from updatenode client

*  - when 'updatenode -F' need to push SN first, using root as non-root does not have permission write to 'SNsyncfiledir'
 - move the set DSH_FROM_USERID code out of the loop, and also cover remote client case.
2017-12-13 02:52:15 -06:00
0d870b9225 add -d usage and manpage 2017-12-13 01:59:23 -05:00
921ae0cb4a fix issue updatenode -f loses directories when copying files to SN #4456 (#4494) 2017-12-12 17:21:10 +08:00
c3fa764ef9 Add support for the "file -> (noderange) file" syntax in synclist with ServiceNodes (#4445)
* Add support for "file -  (noderange) file" in synclist when using
hierarchical mode. Fixes #4425

  This patch ensures that:
  1. the synclist is correctly parsed when running on a Service Node
  2. all files are synchronized to SNs in hierarchical mode

* Better test condition for #4425, addresses issue in
https://github.com/xcat2/xcat-core/pull/4445#issuecomment-349472901
2017-12-12 00:36:03 -06:00
60e2f8ab26 Usage and man page update for rspconfig dump 2017-12-11 10:05:27 -05:00
31d29641d8 change status back to starts 2017-12-08 14:49:47 -05:00
62f56d1b25 build rst file from Schema.pm by db2man 2017-12-08 14:14:36 -05:00
ca6024750f makedhcp does not work well when all service nodes not running dhcp but disjointdhcps=1 (#4426) (#4440)
- if all service nodes not running dhcp, to treat it as disjointdhcps=0
- nodeset will send request to MN by default even if disjointdhcps=1
- Move out of the dhcp service checking from opts pre-check, and do it just before real makedhcp handling.
2017-12-05 02:48:29 -06:00
a1efbea5e3 Relay action and snmp configuration support for Coral PDU 2017-11-29 14:53:42 -05:00
f9ad10fd79 Merge branch 'master' of github.com:jjohnson42/xcat-core 2017-11-28 13:53:32 -05:00
b314b1eb3b natural_sort_cmp: recursion to iterative implementation (#4314)
* natural_sort_cmp: recursion to iterative implementation

* natural_sort_cmp: correct prototype with parameters, as per `man perlfunc`
2017-11-16 23:52:24 -06:00
6bb5ba27cf Add disablenodesetwarning to man page 2017-11-16 15:03:05 -05:00
593a6215e8 fix issueNode range not specified, see man page for syntax. return with no output when site.master is not set #4299 2017-11-16 01:31:59 -05:00
cb0c90aaa9 To replace pr 3683: Add switch_type lookup via MAC for Penguin Computing switches (#4253) 2017-11-15 23:45:03 -06:00
585d771ed1 Introduce a natural compare func for sorting array and using it for rinv/rvital (#4307)
* Introduce a natural compare func for sorting array and using it for rinv/rvital

* 1, Remove the comments for previous codes 2,not using a new array variable there
2017-11-15 21:31:03 -06:00
e261973c05 Support http repos for otherpkgs #4042 2017-11-13 00:47:50 -05:00
ea58eaae63 enhance chdef invalid attr check 2017-11-03 04:33:42 -04:00
01bf03de74 switch_macmap output showed mac address on the wrong port for cumulus (#4225)
switch
2017-11-01 21:46:04 -05:00