33044 Commits

Author SHA1 Message Date
Daan Hoogland
ee5094b77f Merge branch '4.14' 2020-10-24 12:55:25 +02:00
nvazquez
0c6900e3bd Do not fail if osTypeId parameter or rootdiskcontroller/nicadapter details are set on template registration 2020-10-23 10:39:21 -03:00
nvazquez
187813a209 Fixes after smoke tests results on VMware 2020-10-22 17:14:26 -03:00
nvazquez
5d24e735f5 Fix smoke tests passing osTypeId parameter on VMware templates registration 2020-10-22 01:26:54 -03:00
Wei Zhou
ff8a84ee77
systemvm: fix proc.find in CsProcess.py (#4413)
Co-authored-by: Wei Zhou <w.zhou@global.leaseweb.com>
2020-10-21 19:21:54 +02:00
Rakesh
71c5dbcf49
server: Update use_bytes of storage pools (#4360)
Update the used_bytes for all default primary storage pools
Also get used_bytes of storage pool from database instead of
memory
2020-10-21 19:18:03 +02:00
Pearl Dsilva
963d603ede
Fix usage record count (#4193)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2020-10-21 19:15:34 +02:00
nvazquez
8c68843142 Fix boot into hardware 2020-10-21 11:47:15 -03:00
Rakesh
a5d4bd5f5a
Display Kubernetes cluster name instead of uuid (#4411) 2020-10-21 12:01:56 +00:00
Daan Hoogland
5b3f3512ba Merge branch '4.14' 2020-10-21 07:59:03 +00:00
davidjumani
15954fefee
Validating type parameter and including all types (#4412) 2020-10-21 07:48:05 +00:00
dahn
ff197b2b56
readability/formatting 2020-10-21 09:31:29 +02:00
dahn
6cde21048a
make sure dependencies get cleaned up after their depenedants 2020-10-21 09:30:26 +02:00
dahn
6db6660a0c
object creation seperated from filling it 2020-10-21 09:29:07 +02:00
dahn
95816499d8
cleanup the right object list in the right order 2020-10-21 09:27:43 +02:00
dahn
0101330213
class object cleanup and append 2020-10-21 09:26:30 +02:00
nvazquez
68d51cb333 Remove unused code 2020-10-20 19:57:42 -03:00
nvazquez
17783cb22f Merge branch 'ovfprops-and-vsphere-adv-together' of github.com:shapeblue/cloudstack into ovfprops-and-vsphere-adv-together 2020-10-20 19:47:58 -03:00
nvazquez
f1f490b151 Fix restore VM workflow - clone and replace existing VM instead of cloning and moving disks 2020-10-20 19:47:27 -03:00
Vladimir Petrov
ce236e94ea Smoke test for VMWare storage policies. 2020-10-20 18:37:56 +03:00
Andrija Panic
5797cf5e17
guest-os-GC (#67) 2020-10-20 10:40:03 -03:00
Wei Zhou
2661ce81d4
server: add global configuration for default router service offering (#3946) 2020-10-20 15:17:00 +02:00
Gabriel Beims Bräscher
1ba6a49fa4
Fix JsonSyntaxException when creating API command response #4355 (#4387)
* Add missing \" on obfuscatePassword

* Add tests for AsyncJobManagerImpl.obfuscatePassword

* fix for "password},"
2020-10-20 16:49:55 +05:30
nvazquez
67794aba23 Fix reinstall VM bug 2020-10-20 03:00:21 -03:00
nvazquez
50ab1b2fbe Add missing guest OS entries for VMware 2020-10-19 15:05:58 +05:30
nvazquez
6e6d6d60b7 Fix template registration 2020-10-19 15:05:58 +05:30
davidjumani
b8a79aba92 Elaborating error 2020-10-19 15:05:58 +05:30
davidjumani
6b715ecb53 Throwing error if boot type or boot mode specified while deploying VMs on VMware 2020-10-19 15:05:58 +05:30
davidjumani
38e119a099 Throwing error if ostypeid, nicAdapter, rootDiskController is passed for VMWare templates 2020-10-19 15:05:58 +05:30
nvazquez
ee5b8763a6 Fix remove VM and its volumes for deploy-as-is if have previously failed - restore cpu flags in nested virtualization test 2020-10-19 15:05:58 +05:30
nvazquez
950292dcb0 Ensure deploy as is disks get allocated to the same storage pool 2020-10-19 15:05:58 +05:30
Harikrishna Patnala
d81f050918 Check storage policy of disk offering if it suitable for storage pool while using migratevirtualmachinewithvolume API 2020-10-19 15:05:58 +05:30
nvazquez
3600b3c7bc Reconcile root disk controller fix 2020-10-19 15:05:58 +05:30
nvazquez
88c02efd27 Fix deploy-as-is templates GC 2020-10-19 15:05:58 +05:30
Harikrishna Patnala
048e8c8744 Fixed the issue of VM deletion not cleaning the VM folder on vVols datastore. Fixed it by deleting the VM as complete entity including the extra root disks. 2020-10-19 15:05:58 +05:30
Harikrishna Patnala
5fdabc1cb0 Added storage policy details to disk while creating disk and restricted migration of volumes to storage pools which are not storage policy compliance 2020-10-19 15:05:58 +05:30
Harikrishna Patnala
46b5322d9b Adding vSphere storage policy to disk on start command and attach volume command 2020-10-19 15:05:58 +05:30
Harikrishna Patnala
1e4e5cf4c0 Disk offering response: added vsphere storage policy to response if exists 2020-10-19 15:05:58 +05:30
Harikrishna Patnala
a54436b790 service offering response: added vsphere storage policy to response if exists 2020-10-19 15:05:58 +05:30
Harikrishna Patnala
07abcf5705 During migrate volume command, when operation timed out exception or any exception is occured it is not handled properly to clean the volume_store_ref entry.
Fixed it to clean the volume_store_ref entry upon on any exception
2020-10-19 15:05:57 +05:30
nvazquez
cee71c67ea Remove deploy as is option from the old UI 2020-10-19 15:05:57 +05:30
nvazquez
dc4f913afa Fix restrictions on attach and restore VMs 2020-10-19 15:05:57 +05:30
Harikrishna Patnala
3063b6cae5 Fixed import VM for NFS storage which added as presetup.
Previous code assumes the NFS storage is always added by CloudStack, but NFS can also be added as presetup storagepool.
2020-10-19 15:05:57 +05:30
nvazquez
d69283a013 Fix reset/restore VM 2020-10-19 15:05:57 +05:30
Harikrishna Patnala
db46a7ab21 Fix migrate root volume issue caused by regression from one of the commits 2020-10-19 15:05:57 +05:30
Harikrishna Patnala
9dd1d60db9 Fix multidisk VM deployment on vVol datastore 2020-10-19 15:05:57 +05:30
Harikrishna Patnala
388a9c2c6d Reconcile chaininfo after attaching volume 2020-10-19 15:05:57 +05:30
Harikrishna Patnala
9b923ba9dc Handle detach volume of datastore cluster if the volume name has changed at vCenter level and reconsile the chaininfo 2020-10-19 15:05:57 +05:30
Harikrishna Patnala
588b7a1c90 Cleanup volume wrapper VM(ROOT-xxx) while deploying VM in case of any failure. since the same name will be used on retries and that will eventually fails saying volume wrapper VM already exists. 2020-10-19 15:05:57 +05:30
nvazquez
897cc4bdba Fix nested virt marvin test 2020-10-19 15:05:57 +05:30