div8cn
c9a1d300cb
kvm: Fix RBD primary storage host port null error ( #4565 )
...
Add RBD main storage through UI, it will fail when there is no host port parameter;
Because when we created the pool, we did not add the port target in the xml
2021-01-14 06:20:16 +05:30
Rohit Yadav
b482da8c91
Updating pom.xml version numbers for release 4.15.1.0-SNAPSHOT
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-11 13:58:30 +05:30
Daan Hoogland
280c13a4bb
Updating pom.xml version numbers for release 4.15.0.0
...
Signed-off-by: Daan Hoogland <dahn@onecht.net>
2021-01-05 15:51:02 +00:00
Rohit Yadav
c82688a355
kvm: Fix double-escape issue while creating rbd disk options ( #4568 )
...
This fixes issue introduced in c3554ec31dafbdfaa0ed646afb17a6f3378571f5
which enable block of code that will double escape rados host/monitor
port.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-05 15:23:38 +05:30
Daan Hoogland
81e9e6809b
Updating pom.xml version numbers for release 4.15.1.0-SNAPSHOT
...
Signed-off-by: Daan Hoogland <dahn@onecht.net>
2021-01-04 11:34:46 +00:00
Daan Hoogland
01b3e361c7
Updating pom.xml version numbers for release 4.15.0.0
...
Signed-off-by: Daan Hoogland <dahn@onecht.net>
2020-12-23 16:32:25 +00:00
Alexandru Bagu
fdb2ee3165
storage: Fix hypervisor type cast to string ( #4516 )
...
This PR addresses an error that appears when you try to add a new host. I don't even understand why there was a cast to String in the first place. I will assume some classes send HypervisorType and some send a string (empty or otherwise). Shouldn't this be addressed to use the same type everywhere? With this fix adding a new xenserver host works fine.
Co-authored-by: dahn <daan.hoogland@gmail.com>
2020-12-14 11:56:44 +05:30
lujiefsi
2aa7fac9ac
CLOUDSTACK-10423:Potential sensitive information disclosure ( #4536 )
...
* fixing CLOUDSTACK-10423
* make the message clear
Co-authored-by: lujie <lujie@foxmail.com>
2020-12-14 11:40:23 +05:30
Rohit Yadav
e5b7733498
Merge remote-tracking branch 'origin/4.14'
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2020-12-10 14:58:23 +05:30
Wei Zhou
1a47719588
kvm: set cpu topology only if cpucore per socket is positive value ( #4527 )
...
This PR fixes a regression issue in #4497
In cloudstack 4.14 or before, the cpu topology is set only when cpucore per socket is set (to 4 or 6).
in other conditions, there is no cpu topology in vm xml definition.
with #4497 , vm will have cpu topology in its xml definition, if cpucore per socket is not set.
<topology sockets='<vm cpu cores>' cores='1' threads='1'/>
Not sure if it causes any issue. I think it would be better not to add this part in vm xml definition if cpucore per socket is not set.
2020-12-10 14:29:28 +05:30
Rohit Yadav
e0242d5793
xenserver: check and eject patch vbd for systemvms ( #4525 )
...
XenServer 7.1 has an file descriptor/tapdisk iso-caching issue where new systemvm.iso are not recognised and inside the VR/ssvm/cpvm file IO error is seen. This was only reproducible with XS7.1 (intermittently), the fix was to check and eject the systemvm.iso (old/stale/cached), then insert the new systemvm.iso and then eject it.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2020-12-10 00:42:41 +05:30
Wei Zhou
93f3d35207
kvm: FIX cpucorespersocket is not working on KVM ( #4497 )
2020-12-09 15:07:51 +01:00
Alexandru Bagu
cd356c0513
change debug to warn for unknown exceptions ( #4521 )
...
Co-authored-by: Alexandru Bagu <abagu@bsss-MacBook-Pro.local>
2020-12-09 12:24:54 +01:00
Harikrishna
51034be270
Fix migrateVMwithVolumes API in case of multiple volumes on VMware ( #4480 )
...
Problem:
When migrateVMwithVolumes API is tried on a VM with two volumes to migrate to a different host and tried to migrate only one volume, Cloudstack migrates both the Volumes but then marks only one of them migrated. This makes volume inaccessible due to inconsitency in path of volume in cloudstack and vsphere
Solution:
Set the target datastore in relocate spec properly for each volume
2020-11-20 12:38:06 +00:00
Daan Hoogland
4fd2b74f57
Merge branch '4.14'
2020-11-20 08:59:51 +00:00
Pearl Dsilva
daec77f2ef
Fix k8s cluster upgrade in shared networks ( #4458 )
...
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2020-11-20 08:33:06 +00:00
davidjumani
a3f2ee431f
Fixing misleading HostMetricsResponse param description ( #4485 )
2020-11-20 08:09:41 +00:00
Pearl Dsilva
1692df421c
cks: Fix destroying k8s cluster on shared networks ( #4461 )
...
* Fix destroying k8s cluster on shared networks
* Extracted code
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2020-11-19 04:51:57 +05:30
Spaceman1984
87e1fa9e02
Removed sensitive info from UI/API when volume attach/detach fails ( #4476 )
...
* Removed sensitive info from UI when attach/detach fails
* minor formatting change
2020-11-19 04:39:37 +05:30
Rakesh
735b6de296
Cleanup download urls when SSVM destroyed ( #4078 )
...
Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com>
2020-11-18 14:01:31 +01:00
Pearl Dsilva
fb78fb24c7
fix login issue post upgrade ( #4465 )
...
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2020-11-12 13:09:25 +00:00
davidjumani
45f7b33fa9
Returning nic details in KubernetesClusterResponse ( #4456 )
2020-11-11 09:05:45 +01:00
davidjumani
26272580f3
Adding public ip to listKubernetesClusterResponse ( #4414 )
2020-10-28 09:47:37 +01:00
davidjumani
8a8947aa1e
Including instance details in KubernetesClusterResponse ( #4420 )
2020-10-27 14:44:44 +01:00
davidjumani
86f2b796cf
CKS : More log changes from uuid to name ( #4415 )
2020-10-27 07:45:43 +01:00
nvazquez
7d7e7f7941
Check there is at least a host to verify pool compatibility for a storage policy
2020-10-26 09:07:23 -03:00
nvazquez
85f5512ec3
Fix unit test failure
2020-10-25 02:53:43 -03:00
nvazquez
c405e5dc31
Add new API to check storage policy compatible pools and fix marvin test for storage policies
2020-10-25 02:19:22 -03:00
nvazquez
d119a5d19f
Merge branch 'master' into ovfprops-and-vsphere-adv-together
2020-10-24 13:02:31 -03: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
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
nvazquez
67794aba23
Fix reinstall VM bug
2020-10-20 03:00:21 -03:00
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
nvazquez
d69283a013
Fix reset/restore VM
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
nvazquez
94bebe8792
Revert back deploy as is column on templates but keep it as default for new templates
2020-10-19 15:05:57 +05:30
nvazquez
46d412d998
Fix for system VMs
2020-10-19 15:05:57 +05:30
nvazquez
9b51a706db
Set deploy-as-is to default on VMware
2020-10-19 15:05:57 +05:30
Harikrishna Patnala
2f03877723
Search in possible folders for volume while dettaching the volume
2020-10-19 15:05:57 +05:30
Harikrishna Patnala
9543fd6e6a
Fix startcommand on Datastore cluster when the volume datastore in CloudStack mismatches with vCenter datastore. Volume could have migrated with in datastore cluster which caused the mismatch
...
Fix dettach volume when volume is not on CloudStack intended datastore
2020-10-19 15:05:57 +05:30
nvazquez
78aa3df440
Fix reboot deploy-as-is VMs
2020-10-19 15:05:57 +05:30
nvazquez
667cb53772
Fix mismatch from OVF nic adapter type and expected adapter type string
2020-10-19 15:05:57 +05:30