2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-16 16:20:22 +00:00
Commit Graph

212 Commits

Author SHA1 Message Date
chenglch
680ba9f157 Change the ref type of errorcode in xcmdoutput to array
Currently runxcmd can not work with kvm when running rpower command as
`runxcmd_output` subroutine just apply array type for `node->{errorcode}`.

close-issue: #1298
2016-06-14 01:59:25 -04:00
Mark Gurevich
ea7daa19b1 call get_info() for rmvm -f -p 2016-05-13 16:22:05 -04:00
wangxiaopeng
afa055f45c issue 455: do retry when delete a volume for kvm vm 2016-05-08 22:42:57 -04:00
wangxiaopeng
49378b42e1 issue 1068: kvm.pm: shutdown in rmvm will not destory the node object in kvm host, this will cause the next mkvm do nothing 2016-05-07 01:13:25 -04:00
Mark Gurevich
a0ab377ecb call info() before deleting vm volume 2016-05-04 17:04:25 -04:00
Mark Gurevich
c5faf316a9 Enable lsvm for kvm hypervisor (#1022)
* Enable lsvm for kvm hypervisor

* Remove commented line
2016-05-04 13:53:33 -04:00
penguhyang
c4b7f5505f change the rscan output format 2016-04-07 22:18:32 -04: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
penguhyang
4c509f03ad add sound device into vm xml 2016-02-29 00:45:03 -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
penguhyang
f461ff78e0 correct While using XCATBYPASS=YES with command, there are unexcepted logs in terminal 2016-02-16 21:12:01 -05:00
penguhyang
1bf5ed8955 support rscan command to scan kvmhost to get the virtual machine list 2016-01-21 22:05:24 -05:00
immarvin
f37c53bff2 correct the indent of comments 2015-12-22 20:49:23 -05:00
immarvin
c2b9d979da correct indent 2015-12-22 03:46:15 -05:00
immarvin
181fdee0ce add support for chvm --detachdev 2015-12-21 05:10:22 -05:00
immarvin
fa3f96a940 removed some commented-out lines;added some comments;modified the variable name prdevices to passthrudevices for readability 2015-11-02 22:00:09 -05:00
immarvin
2ab63fc125 throw an error message if the specified --cpupin cpuset include invalid node exclude declaration 2015-11-02 22:00:09 -05:00
immarvin
c2a0578edf remove debug line 2015-11-02 22:00:08 -05:00
immarvin
c5f1075aee add kvm features: cpu pining, memory binding and pci passthrough 2015-11-02 22:00:08 -05:00
ligc
b76e9a425a fix for bug 4650: check if the kvm hypervisor hostname could be resolved 2015-06-23 02:40:52 -04:00
daniceexi
350421129d change the default memory size for diskless node to be 4G from 512M 2015-03-02 05:24:08 -05:00
ertaozh
26d4494c92 fix bug 4533 PMR: kvm vm can't be powered on when vmstoragemodel=virtio 2015-01-23 03:28:46 -05:00
ligc
5ff9396c01 fix for bug 4334: require perl-Sys-Virt explicitly 2014-12-23 13:40:04 +08:00
zhaoertao
834ae798ca fix bug 4387 :sles12:mkvm failed 2014-11-12 22:09:35 -05:00
daniceexi
01f4cc8917 defect 4367: support rinv command to get disk information for block device like /dev/sda16 2014-11-12 05:16:27 -05:00
zhaoertao
878d9443dd enable SMT for powerKVM VMs 2014-11-10 03:09:23 -05:00
Casandra Qiu
e83055a0a1 bug #4364 change default vmnicmodel to virtio 2014-11-05 11:32:44 -05:00
zhaoertao
f5c0758921 add powerkvm VM support for mkvm,chvm,rmvm,rpower 2014-04-15 01:23:08 -07:00
xq2005
2ce177d155 for bug 3919: version compare problem 2013-11-22 01:38:23 -08:00
daniceexi
245c3eab83 defect 3588: For rpower reset on kvm, in the case persistkvmguests is enabled, check the domain is inactive before resetting the domain 2013-10-24 08:58:21 -04:00
immarvin
c507d9a7d1 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-16 01:29:08 -07:00
Jarrod Johnson
2952f0e907 Do sparse allocation for non-lvm raw format images 2013-08-09 10:30:58 -04:00
Jarrod Johnson
65e1f6f484 Implement vm.storagecache and vm.storageformat
It has been requested to make these tunables available since different storage schemes
can benefit greatly from them
2013-08-08 16:27:04 -04:00
xq2005
9fdebefca8 fix the syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16989 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 14:40:30 +00:00
xq2005
ba7484e5a1 using nics table when getting vlan ip address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 02:43:02 +00:00
jbjohnso
e24032c284 Have kvm update vm.memory if chvm is called
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16536 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-04 18:45:33 +00:00
jbjohnso
235e3e9d7f Recognize some common variants on chvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-04 18:36:04 +00:00
jbjohnso
bbfe35a452 Serial console and vdagent support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16507 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 18:47:53 +00:00
jbjohnso
5c3e7c96e7 Should someone decide to switch from generated to static password on vm(s), remove expiry if present
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16341 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 19:52:08 +00:00
jbjohnso
715e42d86c Actually fix LVM with 6.4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-30 19:48:57 +00:00
jbjohnso
ac4206007d Fix problem with certain versions of libvirt and lvm storage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-30 19:27:58 +00:00
jbjohnso
aca5b290c2 Correct syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-04 20:16:40 +00:00
jbjohnso
4a30157492 Apply methodology from previous commit to a number of other places
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15831 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-04 20:11:28 +00:00
jbjohnso
4337554e71 Correct Sys::Virt version check
Fix broken LVM behavior when faced with a pre-built LVM VG/PV (as reported by Michael Fenn)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 19:42:25 +00:00
jbjohnso
4b09b8f926 Fix bug with optional persistence where reset no longer survives
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15489 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 19:59:45 +00:00
jbjohnso
651e259871 Support site key "persistkvmguests"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15272 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-27 19:14:36 +00:00
jbjohnso
f060cd13cf Have kvm tolerate trailing / on vm.storage dir:// urls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 21:31:08 +00:00
jbjohnso
625bbecc44 On rmvm, do not destroy CDs
On storage block device creation, disable cache for new disks but enable cache for non-detached qcow2 for read cache benefit at the host layer

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 19:37:33 +00:00
jbjohnso
ea6d9f7081 Have KVM storage support default to cache=none for now
Fix lvm to use raw rather than qcow2, since qcow2 makes no sense for LVM

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15019 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 16:09:18 +00:00
jbjohnso
4807663ce6 Have KVM support LVM volumes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15018 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 16:02:09 +00:00