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

2802 Commits

Author SHA1 Message Date
wangxiaopeng
9680e50986 issue 1158: fix the syncfile issue for ubuntu 16.04
1. change the shebang for syncfiles postscripts to be /bin/bash from /bin/sh
  2. fix the syntax error in the xCAT/RSYNC.pm
2016-05-20 02:54:01 -04:00
immarvin
fe79288298 fix issue#1148@github, support service management with systemd on ubuntu16.04 2016-05-19 05:53:30 -04:00
chenglch
6de5c04f10 Fix typo error about hierarchical attributes 2016-05-17 02:08:12 -04:00
Mark Gurevich
b0de75027f Remove --master from mkvm man page and usage 2016-05-13 17:07:26 -04:00
Xiaopeng Wang
e9f1c4b39c Merge pull request #1055 from immarvin/onrh6.8discinfo
add discinfo for rhels6.8
2016-05-06 10:56:15 +08:00
immarvin
36cdbf8e77 add discinfo for rhels6.8 2016-05-05 22:14:24 -04:00
chenglch
20d3453ad0 Do not undef nodelist reference in DB process
This patch add check method to wait for the DB process in xcatd.
Enhance the close method in Table.pm to disable the undef operation
for nodelist in DB process as the reference has already been cached
as a weak reference.

close-issue: #1011
2016-05-05 06:07:01 -04:00
chenglch
951aa06963 nodelist table object should not fetch the attribs in groups
This patch intent to fix the undef reference for nodelist temporarily.

partial-issue #1011
2016-05-03 22:50:03 -04:00
Xiaopeng Wang
0685db16cb Merge pull request #915 from pdlun92/rsa
Removed keygen of SSH1 RSA Key
2016-04-28 18:20:03 +08:00
chenglch
45b13721d1 Add configuration in site table to inherit attributes
'heirarchicalattrs' is added in site table to apply attributes
from multiple groups in order.

close-issue #115
2016-04-22 04:53:24 -04:00
Mark Gurevich
d1bb364ff6 Fix nodeset command for shell and shutdown options and fix nodeset usage and man page 2016-04-18 14:14:10 -04:00
Patrick Lundgren
850051bd75 removed keygen of rsa1 key and removed references / replaced with rsa key when appropriate 2016-04-12 09:50:16 -04:00
immarvin
afeffe0df1 add description of rsetboot -u/-p in Usage.pm;refine the manpage 2016-04-12 02:41:14 -04:00
yangsong
e5147d1711 Merge pull request #789 from penguhyang/improve_debugmode
make a fixed value scope for site.xcatdebugmode(0 1 2)
2016-03-31 21:20:14 -05:00
Patrick Lundgren
471673a109 Changed check from rsa1 key to rsa key, as discussed in Issue #861 2016-03-31 09:46:13 -04:00
XuWei
4e80ec5cee Modified error message of my_ip_facing 2016-03-31 02:29:45 -04:00
chenglch
1385c83b51 Add check logic before using perl-Error library
perl-Error lib is not included in the system package of sles 11.4
by default. Load Error lib with eval and require statement to avoid
of dependency error.

Close issue: #857
2016-03-29 01:19:01 -04:00
penguhyang
c6d543ad42 make a fixed value scope for xcatdebugmode 2016-03-25 05:45:38 -04:00
zet809
bc1732ced9 Merge pull request #826 from xuweibj/S86265
Add attribute 'syslog', avoid the syslog configuration for certain node
2016-03-25 17:23:34 +08:00
XuWei
ee67e2eafd Add node attribute 'syslog', avoid the syslog configuration for certain node 2016-03-25 03:53:55 -04:00
Xiaopeng Wang
d52111603a Merge pull request #824 from chenglch/xcatd_signal
Do not kill db process if immediate child process exists
2016-03-25 13:55:02 +08:00
chenglch
306e66e4cc Do not kill db process if immediate child process exists
This change includes the following:

- Replace the signal number with signal name.
- Stop db process after all the immediate children stopped.
- Fix a defect in TableUtils when closing the table object.
- Enhance the is_process_exists subroutine in utils.

Close issue: #537
2016-03-24 22:46:12 -04:00
penguhyang
2b5e08a92f Update the description for netboot attribute 2016-03-23 04:07:19 -04:00
Patrick Lundgren
bbe6b6b35c Updated relevant comments in ipmi.pm. Removed rflash_delay description from Schema.pm and documentation/man pages 2016-03-21 14:54:48 -04:00
Xiaopeng Wang
8f59ca06b2 Merge pull request #791 from zet809/config_ip_for_docker_with_restapi
configure static IP for container without using other tool
2016-03-17 16:44:26 +08:00
ertaozh
cb3b08b02f configure static IP address for docker container without using other tools 2016-03-17 03:29:44 -04:00
Victor Hu
32855754e2 In the latest version of libio-socket-ssl-perl shipped with Ubuntu 16.04,
the SSL_VERIFY_PEER requires to be a constant instead of string. The error
message printed out is

   SSL_verify_mode must be a number and not a string at /usr/share/perl5/IO/Socket/SSL.pm line 2166.

Need to use IO::Socket::SSL for the SSL_VERIFY_PEER to be set
2016-03-16 13:49:11 -04:00
XuWei
dcf453840f To fix Issue #608, a typo error 2016-03-14 03:56:52 -04:00
ertaozh
4a1d58ffe7 add using pipework to config ip for containers are start 2016-03-08 05:28:31 -05:00
Victor Hu
b8e868bb7f Merge pull request #745 from gurevichmark/bypass_man_fixes
Add bypass flag description to xdcp and xdsh commands
2016-03-03 13:17:02 -05:00
Xiaopeng Wang
a8fa3a2b94 Merge pull request #768 from lyu571/master
Add Rhelhpc7.1 support to discinfo.pm(master)
2016-03-03 18:40:56 +08:00
Yin Luo
781bfd3feb Add Rhelhpc7.1 support to discinfo.pm(mainline)
Update discinfo.pm for support Rhelhpc7.1(RHEL ComputeNode version) in mainline trunk.
2016-03-03 14:35:33 +08:00
Mark Gurevich
847f2fcaf3 Add bypass flag description to xdcp and xdsh commands 2016-03-01 12:20:59 -05:00
chenglch
d0a63734cc Merge pull request #673 from zet809/fix_issue_660
fix issue 660: lsdocker node -l --logs return too many illegal code
2016-01-29 14:57:14 +08:00
ertaozh
93c2b73f12 fix issue 660: lsdocker node -l --logs return too many illegal code 2016-01-27 01:03:40 -05:00
junxiawang
6d0b7fcecc Merge pull request #637 from zet809/docker_support_usage_manpage
The usage and manpage for docker instance management command, mkdocke…
2016-01-26 14:10:44 +08:00
ertaozh
79afc50693 The usage and manpage for docker instance management command, mkdocker,lsdocker,rmdocker,rpower 2016-01-25 08:46:57 -05:00
chenglch
c6e663d1fd Use fifo pipe to enhance getadapter
Currently the getadapter implementation store the nics information
in multiple files. This implementaion will store the records in the
database and add the following changes:

1. Add taskstate table to record the getadapter request.
2. Add route_request hook in xcatd to avoid of too much process.
3. Add adapterinfo column to keep the adapter information.
4. Use fifo pipe to send/recv the adapter message and wake up the waiting process.
5. Use alarm signal to handle the timeout event.
2016-01-25 01:53:54 -05:00
wangxiaopeng
0f52e5f000 Enhance sycnfile format
Support the new format 'file -> (noderange for permitted nodes) file'
for syncfile.
2016-01-21 03:50:59 -05:00
chenglch
ee1d71fe2f Partial issue #537, try to detect the error of db access process
This patch add changes to detect the error and enter in direct db access
mode so that the other process can access the data without db access
process temporarily. Direct access is not suggested way and currently
nodelist (noderange) can not support this mode.

Partial issue: #537
2016-01-21 00:35:13 -05:00
Xiaopeng Wang
fbd91febf5 Merge pull request #611 from zet809/fix_issue_601
fix issue 601: def command does not work for docker instance definition
2016-01-18 06:50:19 -05:00
Xiaopeng Wang
64a70b1a4e Merge pull request #469 from bybai/confignetworknew
support configuring bond/vlan/bridge for RH7
2016-01-18 03:10:52 -05:00
ertaozh
b584835140 fix issue 601: def command does not work for docker instance definition 2016-01-18 02:49:19 -05:00
ertaozh
7e90b5f77b docker lifecycle management commands framework 2016-01-14 01:54:58 -05:00
bybai
e47e443468 enhance Schema.pm 2016-01-12 02:36:55 -05:00
yangsong
c54481efc5 Merge pull request #534 from zet809/refine_find_install_disk
replace the determine install disk precess with script share/xcat/ins…
2015-12-28 15:45:07 +08:00
ertaozh
fdca2cc3f9 replace the determine install disk precess with script share/xcat/install/scripts/getinstdisk, it will write the install disk to /tmp/install_disk 2015-12-28 01:09:56 -05:00
immarvin
181fdee0ce add support for chvm --detachdev 2015-12-21 05:10:22 -05:00
chenglch
88b61bab04 Merge pull request #497 from xuweibj/S69370
Add FQDNfirst option in global cfg.
2015-12-16 17:07:16 +08:00
XuWei
3684705279 Add a global cfg to enable the longnamefirst 2015-12-16 03:52:20 -05:00