2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 01:56:39 +00:00

2812 Commits

Author SHA1 Message Date
Victor Hu
b011c6f2d3 Merge pull request #1225 from gurevichmark/doc_build_db2
man5 and man7 section formatting changes
2016-06-06 15:02:19 -04:00
zet809
98caf993bf Fix MacMap.pm syntax issue
The issue is not using '%' when getting keys for a hash variable.
2016-06-01 11:40:10 +08:00
zet809
9cd9a14a42 Merge pull request #1211 from cxhong/1120_more
support different outputs from nmap command
2016-06-01 11:32:22 +08:00
Casandra Qiu
1a4a64644e move get_nmapversion() to Utils.pm 2016-05-31 10:56:15 -04:00
Xiaopeng Wang
390d897081 Merge pull request #1220 from zet809/switch_probe
add command switchprobe to retrieve information from switches and/or …
2016-05-30 20:13:52 +08:00
ertaozh
c5bdb1da87 add command switchprobe to retrieve information from switches and/or check whether it is ready for MAC searchding 2016-05-30 02:50:23 -04:00
Mark Gurevich
300e7610b1 More formatting changes for the <or> display 2016-05-27 12:27:34 -04:00
Mark Gurevich
cd19f390b1 man5 and man7 section formatting changes 2016-05-27 11:31:40 -04:00
Casandra Qiu
be2e49a632 support different outputs from nmap command 2016-05-25 13:54:02 -04:00
chenglch
0eb9929452 Add -1 value for $dbworkerpid to make the db access mode more clear.
$dbworkerpid = -1 db process has not been started,
               access db in direct access mode.
$dbworkerpid == 0 db process itself.
$dbworkerpid >0 db process is started, access db in cache mode.
2016-05-25 02:02:48 -04:00
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