2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-10-23 15:35:31 +00:00
Commit Graph

517 Commits

Author SHA1 Message Date
Jarrod Johnson
eb68b59906 Merge tag '2.14.5' into lenovobuild2.14
xCAT 2.14.5 release
2019-01-09 14:20:23 -05:00
Bin Xu
40d74ace1b Adding port 22 for unprivileged node ping (#4324) (#5699) 2018-10-12 17:01:37 +08:00
xuweibj
da557f4967 fix issue 5245, return 0 when pscp -h 2018-09-06 02:28:05 -04:00
Jarrod Johnson
dad3f26b9c Merge tag '2.14.3' into lenovobuild2.14
xCAT 2.14.3 release
2018-08-24 09:05:24 -04:00
Jarrod Johnson
af41ca947c Merge tag '2.14.2' into lenovobuild2.14
xCAT 2.14.2 release
2018-08-08 17:56:37 -04:00
Jarrod Johnson
a3505302c6 Fix xCAT client p* commands on SLES
The restricted cipher set does not play well with SLES
defaults.
2018-07-13 15:50:40 -04:00
yangsong
c49e41da99 support environment variables in osimage customized files (#5281)
* * osimage table schema change: add a "environvar" col in osimage table to hold environment variables used in osimage customized files
* osimage object schema change: add a environvar attribute, which refers to  osimage.environvar
* the environment variables specified in "environvar" attribute will be exported during invocation of postinstall scripts in genimage

* support variables in synclists

* support environment variables in genimage,mkinstall,getpostscript

* support environment variables for xdcp -i -F in packimage
2018-06-15 14:51:41 +08:00
Yuan Bai
7576e04e24 let mysqlsetup work when using alias IP as MN IP (#5279)
* let mysqlsetup work when using alias IP as MN IP
2018-06-06 15:25:11 +08:00
Jarrod Johnson
3bbfafad4d Merge tag '2.14.1' into lenovobuild2.14
xCAT 2.14.1  release
2018-06-01 09:51:20 -04:00
Jarrod Johnson
4fa468920d Merge branch '2.14.0' into lenovobuild2.14 2018-05-16 15:41:38 -04:00
yangsong
7c85b0998d add support for syncfiles with scp (#5123)
* add support for syncfiles with scp

* refine logic of EXECTUTE support message non rsync filesync

* refine syncfiles

* add startsyncfile script for cumulus

* refine format, fix updatenode without options causes command to crash #5142
2018-04-27 11:28:08 +08:00
Bin Xu
c99b50d5dc Fix the issue (#5041) when no server name infor with --verbose, but -V does 2018-04-02 16:04:44 +08: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
4ad99269fe fix issue: genimage tries direct DB access instead of via xCATd #4385 (#4924) 2018-03-12 17:40:39 +08:00
GONG Jie
70709eb281 Remove trailing spaces in file xCAT-client/bin/zxcatIVP.pl 2017-12-31 23:59:59 +00:00
GONG Jie
456433e84b Remove trailing spaces in file xCAT-client/bin/zvmMsg 2017-12-31 23:59:59 +00:00
GONG Jie
a3a169ba4d Remove trailing spaces in file xCAT-client/bin/xcatchroot 2017-12-31 23:59:59 +00:00
GONG Jie
3f85add4a6 Remove trailing spaces in file xCAT-client/bin/verifynode 2017-12-31 23:59:59 +00:00
GONG Jie
efb8ab519f Remove trailing spaces in file xCAT-client/bin/tcons 2017-12-31 23:59:59 +00:00
GONG Jie
ea3342d521 Remove trailing spaces in file xCAT-client/bin/rinstall 2017-12-31 23:59:59 +00:00
GONG Jie
7bac909a35 Remove trailing spaces in file xCAT-client/bin/rcons 2017-12-31 23:59:59 +00:00
GONG Jie
78e4ea5285 Remove trailing spaces in file xCAT-client/bin/pgsqlsetup 2017-12-31 23:59:59 +00:00
GONG Jie
47ecc0e01e Remove trailing spaces in file xCAT-client/bin/mysqlsetup 2017-12-31 23:59:59 +00:00
GONG Jie
bcce7d195d Remove trailing spaces in file xCAT-client/bin/db2sqlsetup 2017-12-31 23:59:59 +00:00
chenglch
f09939a15a Add xcat marker in gocnoserver configuration file
Previously, it is impossible to know if the goconerver is started
by xcat. This patch add a marker in /etc/goconserver/server.conf
to help check the status. In addition, use server-cred.pem instead
of server-key.pem as it is not exist on SN.

This patch also control the service status of goconserver and conserver
when restarting the xcatd service on service node.

```
[root@sn02 ~]# chdef sn02 setupconserver=1
1 object definitions have been created or modified.
[root@sn02 ~]# service xcatd restart
Restarting xcatd (via systemctl):                          [  OK  ]
[root@sn02 ~]# ps -ef | grep conserver
root      27679      1  0 02:26 ?        00:00:00 /usr/sbin/conserver -o -O1 -d
root      27680  27679  0 02:26 ?        00:00:00 /usr/sbin/conserver -o -O1 -d
root      27756  26188  0 02:26 pts/1    00:00:00 grep --color=auto conserver
[root@sn02 ~]# chdef sn02 setupconserver=2
1 object definitions have been created or modified.
[root@sn02 ~]# service xcatd restart
Restarting xcatd (via systemctl):                          [  OK  ]
[root@sn02 ~]#
[root@sn02 ~]#
[root@sn02 ~]#
[root@sn02 ~]# ps -ef | grep conserver
root      27885      1  0 02:26 ?        00:00:00 /usr/bin/goconserver
root      27986  26188  0 02:33 pts/1    00:00:00 grep --color=auto conserver
```
2017-12-28 16:46:47 +08:00
chenglch
1909c1ed57 Use CONGO_CLIENT_TYPE to tell goconserver the source of client (#4501)
goconserver could send back message based on the client type
this commit set CONGO_CLIENT_TYPE to xcat to make the message
from goconserver more friendly.
2017-12-14 14:25:38 +08:00
chenglch
6135900321 Use short hostname in rcons for goconserver
As the certificate of xcat is signed with short hostname, this
commit force to use the short hostname in  the environment variable for
`congo console`.
2017-12-06 14:36:34 +08:00
chenglch
cadf5c60e1 Listen on 0.0.0.0 instead of the hostname
This patch modify the configuration of `makegocons` and `rcons`
for goconserver.

`cat /etc/goconserver/server.conf`
```
global:
  host: 0.0.0.0
  ssl_key_file: /etc/xcat/cert/server-key.pem
  ssl_cert_file: /etc/xcat/cert/server-cert.pem
  ssl_ca_cert_file: /etc/xcat/cert/ca.pem
  logfile: /var/log/goconserver/server.log
api:
  port: 12429
console:
  port: 12430
```
2017-11-29 17:18:39 +08:00
Jarrod Johnson
6c2459731b Merge tag '2.13.8' into lenovobuild2.13
xCAT 2.13.8  release
2017-11-28 14:01:03 -05:00
chenglch
ed181edb6c Integrate congo console from goconserver with rcons
Enhance the original implement of rcons to support goconserver.
`rcons` will help the user choose from one of the console backend
service based on the console server status of management node.

Implement #4216
2017-11-23 09:25:55 +08:00
Jarrod Johnson
229533cbda Further improve the filtering of OneCli 2017-11-15 09:47:39 -05:00
Jarrod Johnson
a6932bb440 Add onecli 2.1.0 output masking 2017-11-15 09:18:20 -05:00
Steven P. Gessner
1f1ef56e41 z/VM IVP should tolerate slow xcatd startup.
The IVP expects xcatd to be fully operational by the
time is begins a run.  It is possible for xcatd to
be delayed.  The delay should not ause a corruption
of the zvmnotify property in the site table.
In addition, tests for tabdump failures should be
corrected and the log file should be set up sooner
so that debug information is available for similar
problems.

Change-Id: I2b0e3e875cc28f740a35b348faa0cc74f5acb7bf
2017-10-26 14:33:00 -04:00
Jarrod Johnson
faa767e5cf Fix for using resolvable name as conserver
confetty was being told to connect via IP even if local,
as it was comparing a name to ip addresses directly.  Correct
by using getent to assure it is an ip address first.
2017-10-19 09:00:42 -04:00
zet809
a6661f84b7 Merge pull request #2927 from zVMopenstack/ZVM_XCAT_DEV
Merge the changes made for zVM into the xCAT development branch
2017-10-18 17:06:31 +08:00
Jarrod Johnson
f93ca55b24 Fix erroneous 'noping' in various circumstances (#4102)
nmap's raw IP facility is prone to mistakes in various
environments.  Disable the raw IP handling by
telling nmap to run as if it didn't have privilege
Note this was already done back in:

commit fb02c18853
Author: jjohnson2 <jjohnson2@lenovo.com>
Date:   Fri Mar 20 10:58:26 2015 -0400

But it was broken since then..
2017-10-16 22:01:44 -05:00
Jarrod Johnson
54404030b6 Recognize alternative path to fping (#4100)
SLES12 places fping into /usr/sbin
2017-10-16 22:00:09 -05:00
Jarrod Johnson
7581006c2a Fix erroneous 'noping' in various circumstances
nmap's raw IP facility is prone to mistakes in various
environments.  Disable the raw IP handling by
telling nmap to run as if it didn't have privilege
Note this was already done back in:

commit fb02c18853
Author: jjohnson2 <jjohnson2@lenovo.com>
Date:   Fri Mar 20 10:58:26 2015 -0400

But it was broken since then..
2017-10-13 10:19:35 -04:00
Jarrod Johnson
60f5627754 Recognize alternative path to fping
SLES12 places fping into /usr/sbin
2017-10-13 09:10:02 -04:00
Chuck Brazie
c012b45ec1 Merge branch 'master' into ZVM_XCAT_DEV 2017-10-03 09:44:06 -04:00
Jarrod Johnson
2d024b5aeb Have xcoll take a try at sorting output groups (#4018)
It isn't natural sort, but in many cases it should work.

Natural sort in perl is a pain or a dependency.
2017-09-27 20:36:30 -05:00
Jarrod Johnson
489ee67c6a Oneclipasu (#4020)
* Filter out extraneous output of OneCli

* Remove extraneous content from pasu

* Update pasu filtering

* Fix recognizing success to filter

* Update for new Lenovo OneCLI rpm

The new packaging offers up iflash64 and asu in a consistent
location.

* Workaround different IPv6 syntax for asu/onecli

* Filter out header of new version of OneCLI

* Filter out the Invoking SET command output of onecli
2017-09-27 20:32:17 -05:00
Jarrod Johnson
f3f41848ae Merge tag '2.13.7' into lenovobuild2.13
xCAT 2.13.7 release
2017-09-27 15:52:44 -04:00
Jarrod Johnson
c5aa4c1d38 Have xcoll take a try at sorting output groups
It isn't natural sort, but in many cases it should work.

Natural sort in perl is a pain or a dependency.
2017-09-27 15:34:26 -04:00
yangsong
22b51e3efa fix issue Weird problem with rinstall #3877 (#3883) 2017-09-08 14:14:20 +08:00
Jarrod Johnson
7cca335d34 Filter out the Invoking SET command output of onecli 2017-08-11 09:17:06 -04:00
Jarrod Johnson
781c87bf8f Filter out header of new version of OneCLI 2017-08-11 09:11:54 -04:00
Chuck Brazie
e9029f484f Merge branch 'master' into ZVM_XCAT_DEV 2017-08-09 09:31:22 -04:00
Jarrod Johnson
8489de8dba Workaround different IPv6 syntax for asu/onecli 2017-08-04 11:06:18 -04:00
Jarrod Johnson
caba9130bd Update for new Lenovo OneCLI rpm
The new packaging offers up iflash64 and asu in a consistent
location.
2017-08-04 09:50:00 -04:00