2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-16 09:31:10 +00:00
Commit Graph

7200 Commits

Author SHA1 Message Date
neo954
56dd49f3a7 Merge pull request #741 from hu-weihua/umask
Fix defect #698 Default permissions on commands.log are 644, should change to 600
2016-03-03 14:00:30 +08:00
hu-weihua
50efb51743 modify depending on gongjie's new comment 2016-03-03 00:48:16 -05:00
yangsong
30d04876f5 Merge pull request #718 from whowutwut/pkvm_diskless
Fix issue with SGA when creating diskless VMs on PowerKVM
2016-03-03 13:41:55 +08:00
Weihua Hu
c76e7accab Merge pull request #753 from junxiawang/xCATreglatest
modify autotest xCATreg
2016-03-03 11:17:18 +08:00
XuWei
03769868a4 To fix issue #761, made a mistake that make certificate generate failed 2016-03-02 02:33:09 -05:00
chenglch
c6e526014c Merge pull request #737 from zet809/refine_docker_with_httpasync
Refine the docker instance lifecycle management code with HTTP::Async
2016-03-02 02:02:38 -05:00
ertaozh
1e1e03aec6 Refine the docker instance lifecycle management code with HTTP::Async 2016-03-02 01:28:35 -05:00
Xiaopeng Wang
ad24234659 Merge pull request #754 from xuweibj/SAN
Set the FQDN in the xcatd certificate, use subjectAltNames
2016-03-01 22:26:02 +08:00
junxiawang
16f0e90345 modify autotest xCATreg 2016-03-01 06:51:45 -05:00
chenglch
7fd99442c7 Fix race condition issue when printing message in xcatd
related-issue: #729
related-commit: #742
2016-03-01 04:53:50 -05:00
XuWei
0d7a0dec61 Set the FQDN in the xcatd certificate, use subjectAltNames 2016-03-01 03:39:41 -05:00
Xiaopeng Wang
7b6cbf9ee4 Merge pull request #746 from penguhyang/vm_xml_sound
add sound device into vm xml
2016-03-01 13:44:03 +08:00
penguhyang
4c509f03ad add sound device into vm xml 2016-02-29 00:45:03 -05:00
hu-weihua
3d016498ff modify depening on GongJie's comments 2016-02-27 02:20:04 -05:00
chenglch
f236675dec Fix issue #729: xcat do not print message under heavy load scenario
The root cause of this issue is the select time out when polling the
pipe socket. When timeout occurs, child process exit before printing
the message at the parent process side.

close-issue: #729
2016-02-26 03:13:16 -05:00
hu-weihua
48e64132ed add umask for command log file /var/log/xcat/commands.log 2016-02-25 23:22:34 -05:00
zet809
c026cfed79 Update debian.pm 2016-02-23 15:32:06 +08:00
zet809
c41a3e54e3 Update debian.pm 2016-02-23 14:41:21 +08:00
chenglch
324d736ba5 Merge pull request #683 from zet809/fix_issue_657
Fix issue #657: "mkdocker command= " could not set command correctly
2016-02-22 01:33:04 -05:00
ertaozh
ded2750905 Fix issue #657: "mkdocker command= " could not set commad for container correctly 2016-02-19 04:11:22 -05:00
Victor Hu
1198621b60 When doing rpower for kvm hosts, need to call the get_node_info()
function to get properties of the hypervisor.

This is to address the issue when running diskless VMs on power.
In the build_oshash() function, if the properties are not set
then the cpumodel will be undefined and useserial will be set,
causing problems when powering on diskless VMs.
2016-02-16 22:29:44 -05:00
Xiaopeng Wang
278df9b091 Merge pull request #684 from zet809/include_getinstdisk_ubuntu
add getinstdisk as the default getdisk script for ubuntu
2016-02-17 11:13:32 +08:00
Victor Hu
a50b63dfa5 Merge pull request #693 from penguhyang/unexpectd_msg
correct While using XCATBYPASS=YES with command, there are unexcepted logs in terminal
2016-02-16 21:50:59 -05:00
zet809
34e1e22c40 Merge pull request #670 from xuweibj/S85827-p
Story 85827, Hand the case that the disk does not have WWN
2016-02-17 10:39:09 +08:00
penguhyang
f461ff78e0 correct While using XCATBYPASS=YES with command, there are unexcepted logs in terminal 2016-02-16 21:12:01 -05:00
ertaozh
1e37705726 add getinstdisk as the default getdisk script for ubuntu 2016-02-16 02:11:20 -05:00
XuWei
2c9c0b4a76 Story 85827, Hand the case that the disk does not have WWN 2016-02-16 01:49:15 -05:00
Casandra Qiu
f3123ae232 remove wildcard to extract kit tar file 2016-02-10 15:34:25 -05:00
Casandra Qiu
a6a8d1cf94 Remove /tmp/tmpkit dir after addkit and extract kit tar file only once 2016-02-05 14:22:43 -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
hu-weihua
f9a12dfcd9 using dirname function 2016-01-28 03:59:15 -05:00
hu-weihua
cb0af287a5 change mkdir to mkpath 2016-01-28 03:08:24 -05:00
hu-weihua
c4e0b0c199 fix issue#667 2016-01-28 02:37:16 -05: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
penguhyang
bf1b75879a correct copycds does not put files under correct directory for sles11.4 x86_64 2016-01-25 23:37:45 -05:00
chenglch
4e1bb7bed8 Merge pull request #612 from zet809/refine_docker_powerstate
modify default dockerhost port, modify logic for rpower state
2016-01-26 11:04:56 +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
zet809
fa55fe2520 Merge pull request #582 from chenglch/getadapter
Use fifo pipe to enhance getadapter
2016-01-25 15:16:05 +08: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
ertaozh
db05d4958d modify default dockerhost port, modify logic for rpower state 2016-01-24 22:22:56 -05:00
ertaozh
ae3f284217 Fix issue #649: The return value for "rpower <docker_instance> <option>" need be modified 2016-01-24 22:09:35 -05:00
yangsong
dbb242145a Merge pull request #617 from penguhyang/rscan_vmhost
support rscan command to scan kvmhost to get the virtual machine list
2016-01-22 11:13:04 +08:00
penguhyang
1bf5ed8955 support rscan command to scan kvmhost to get the virtual machine list 2016-01-21 22:05:24 -05:00
penguhyang
f2b24b0631 cover rh6.7 for post.xcat restructure 2016-01-21 21:12:52 -05:00
yangsong
c75218f499 Merge pull request #600 from penguhyang/sles_xcat_log
correct failed to generate expected logs for SLES
2016-01-22 09:49:11 +08:00
Weihua Hu
fa2237d141 Merge pull request #620 from daniceexi/xcatstat
Add new tool xcatstat
2016-01-21 16:55:46 +08:00
Weihua Hu
febefa0f4a Merge pull request #621 from daniceexi/csm2xcat
Enhance cfm2xcat
2016-01-21 16:43:15 +08:00
wangxiaopeng
0a3acec252 Change the usage for xcatstat;
Filter off the lo in the output;
2016-01-21 03:03:24 -05:00
penguhyang
1258e63c1c correct failed to generate exceped logs for sles 2016-01-20 22:34:19 -05:00