2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

3139 Commits

Author SHA1 Message Date
cxhong
fe249bfb70 Print out error msg for xcatprobe switch_macmap command if switch passwordless is not enabled (#5064)
* Print out error msg for xcatprobe switch_mac command if switch
passwordless is not enabled.

* Modified msg only if in the collect_mac_info case
2018-04-11 14:03:56 +08:00
Bin Xu
6d8081142b workaround ($4929) the MsgUtil.pm first to make sure xcatd will not crash when /dev/log is not ready. (#4974) 2018-03-27 14:04:51 +08:00
chenglch
cc588f4af1 Modify startup configuration for goconserver and conserver
After running makegocons, startup configuration would be changed
to make sure goconserver could start after rebooting. Changes
are made in makeconservercf too.
2018-03-23 16:36:42 +08:00
Mark Gurevich
fa5c6e3f37
Merge pull request #4981 from xuweibj/I4978
modify rspconfig usage
2018-03-22 11:22:31 -04:00
chenglch
e80509c0ae use msgsource directly 2018-03-21 16:24:00 +08:00
XuWei
cfe6c0db7f modify rspconfig usage 2018-03-21 03:49:18 -04:00
chenglch
25bede4130 Modify goconserver msg for SN
The message util from xCAT framework do not print where the message
comes from by default. This patch add [service host] prefix for the
message if message is from SN.
2018-03-20 15:32:50 +08:00
Mark Gurevich
0761c3b836 Usage and man page updates 2018-03-16 14:29:29 -04:00
yangsong
3e622bf94e fix typo (#4956) 2018-03-16 14:19:26 +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
Bin Xu
55af8ca8c4 remove the dependency, Load SOAP module dynamically 2018-03-09 13:39:33 +08:00
Bin Xu
804b132605 clear cache for IP change case in node discovery(#4890) (#4891) 2018-03-06 16:13:02 +08: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
a992db147c
Merge pull request #4845 from aaronknister/tweak-default-stanza-handling
fixes to default stanza handling
2018-03-05 13:23:02 +08:00
Aaron Knister
6230706c43 be more explicit about default stanza naming convention 2018-03-01 13:07:49 -05:00
XuWei
bc3f98a144 add -V for all commands 2018-02-28 03:42:05 -05:00
XuWei
24cd358a62 modify usage and manpage for openbmc 2018-02-28 01:56:57 -05:00
Mark Gurevich
3dc366336a Display usage for openbmc commands 2018-02-13 13:15:55 -05:00
immarvin
7d2c0e1926 fix issue error message improvement when adding users in hierarchical configuration #4820 2018-02-12 09:20:41 -05:00
zet809
f61ee56aea
Merge pull request #4810 from chenglch/gorcons
Move sleep retry from xcat to goconserver
2018-02-09 23:28:33 +08:00
chenglch
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
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
ertaozh
cb78be8f4d fix issue 3913: support rpower cycle for ipmi managing severs 2018-02-08 01:40:59 -05:00
XuWei
9b04b8483c fix issue 4758, add '-V' in rflash Usage and manpage 2018-01-31 02:03:01 -05:00
cxhong
86d8c4749e Remove not existing table fields in PDU table (#4750) 2018-01-29 20:12:53 -06:00
Yuan Bai
d72c193710 correct description about nicsadapter (#4723)
* correct description about nicsadapter

* enhance nicsadapter desc

* polished

* polished
2018-01-25 04:04:21 -06: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
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
Bin Xu
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
zet809
7928a734c9
Merge pull request #4643 from jjohnson42/fixmacdatacheck
Fix IMM MAC data check
2018-01-19 15:23:53 +08:00
chenglch
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
bybai
717b67304d format emptyzonesenable 2018-01-18 21:17:34 -05:00
Mark Gurevich
956719b53e Add rspconfig dump download all function 2018-01-18 11:42:32 -05:00
bybai
988898dde1 enhance emptyzonesenable description 2018-01-18 02:58:30 -05:00
bybai
df3eb6c4f4 change empty_zones_enable in named.conf 2018-01-18 01:44:29 -05:00
Jarrod Johnson
74fba1a3b8 Merge remote-tracking branch 'upstream/master' 2018-01-16 11:13:14 -05:00
Mark Gurevich
423a1c913d Add resolved=LED option to reventlog 2018-01-10 11:57:31 -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
Victor Hu
4703e396d6 Add man page and usage for LED support for OpenBMC rvitals 2018-01-03 10:48:32 -05:00
Casandra Qiu
9590c50927 Support rinv command for irpdu 2017-12-21 11:11:55 -05:00
zet809
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
xuweibj
4fa5cc18e5
Merge pull request #4502 from bybai/rfluse
add rflash -d usage and manpage
2017-12-14 15:45:25 +08:00
Victor Hu
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
Bin Xu
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
bybai
0d870b9225 add -d usage and manpage 2017-12-13 01:59:23 -05:00
yangsong
921ae0cb4a fix issue updatenode -f loses directories when copying files to SN #4456 (#4494) 2017-12-12 17:21:10 +08:00
Kilian Cavalotti
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
Mark Gurevich
60e2f8ab26 Usage and man page update for rspconfig dump 2017-12-11 10:05:27 -05:00