Rohit Yadav
9ce70afccf
Merge remote-tracking branch 'origin/4.15'
2021-02-19 13:28:16 +05:30
Pearl Dsilva
d6509f0a21
API discovery: Prevent overwrite of API parameters in case the API names are the same ( #4609 )
...
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2021-02-18 14:37:20 +05:30
Pearl Dsilva
aa01580381
network: Specify IP for VR in shared networks ( #4503 )
...
This PR enables admins to specify IP for a VR in a shared network.
2021-02-18 13:54:09 +05:30
Pearl Dsilva
b6fe9f99eb
Network Offering: Allow enabling network and vpc offering during creation ( #4564 )
...
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2021-02-13 10:19:06 +00:00
Abhishek Kumar
d6e8b53736
vmware: vm migration improvements ( #4385 )
...
- Fixes inter-cluster migration of VMs
- Allows migration of stopped VM with disks attached to different and suitable pools
- Improves inter-cluster detached volume migration
- Allows inter-cluster migration (clusters of same Pod) for system VMs, VRs on VMware
- Allows storage migration for stopped system VMs, VRs on VMware within same Pod if StoragePool cluster scopetype
Linked Primate PR: https://github.com/apache/cloudstack-primate/pull/789 [Changes merged in this PR after new UI merge]
Documentation PR: https://github.com/apache/cloudstack-documentation/pull/170
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-02-12 12:41:41 +05:30
Rohit Yadav
66f0beda5f
Updating pom.xml version numbers for release 4.14.1.0
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-02-08 16:24:09 +05:30
Daan Hoogland
ff376d8187
Merge release branch 4.15 to master
...
* 4.15:
server: select root disk based on user input during vm import (#4591 )
kvm: Use Q35 chipset for UEFI x86_64 (#4576 )
server: fix wrong error message when create isolated network without SourceNat (#4624 )
server: add possibility to scale vm to current customer offerings (#4622 )
server: keep networks order and ips while move a vm with multiple networks (#4602 )
server: throw exception when update vm nic on L2 network (#4625 )
doc: fix typo in install notes (#4633 )
2021-02-01 09:58:52 +00:00
Daan Hoogland
b6b778f003
Merge release branch 4.14 to 4.15
...
* 4.14:
server: select root disk based on user input during vm import (#4591 )
kvm: Use Q35 chipset for UEFI x86_64 (#4576 )
server: fix wrong error message when create isolated network without SourceNat (#4624 )
server: add possibility to scale vm to current customer offerings (#4622 )
server: keep networks order and ips while move a vm with multiple networks (#4602 )
server: throw exception when update vm nic on L2 network (#4625 )
doc: fix typo in install notes (#4633 )
2021-02-01 09:57:35 +00:00
jairov4
e9dda98a87
kvm: Use Q35 chipset for UEFI x86_64 ( #4576 )
...
Fix #4245
This PR uses Q35 chipset for UEFI in x86_64.
Currently this mistakenly only enabled for secure boot
2021-02-01 14:22:29 +05:30
Daniel Augusto Veronezi Salvador
3a4a82df69
kvm: Replicate `rootDiskController` behavior to `dataDiskController`. ( #4569 )
...
The bus type to `data disk` volumes is hardcoded to `virtio` or `scsi`, when using virtio-scsi (or, based on the template type). Therefore, there is no way to specify the bus type to data disk volumes (as we have for root disks).
This PR intends to replicate the `rootDiskController` behavior to `dataDiskController`, allowing the definition of the controller.
Co-authored-by: Daniel Augusto Veronezi Salvador <daniel@scclouds.com.br>
2021-01-28 15:58:06 +05:30
Rohit Yadav
4aa7a96bc4
Merge remote-tracking branch 'origin/4.15'
...
This merges apache/cloudstack-primate under ui and removes the legacy UI
from ui/legacy in master/4.16 as voted on dev ML.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 13:50:25 +05:30
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
015bb20caa
Merge remote-tracking branch 'origin/4.15'
2021-01-05 15:25:39 +05:30
Rohit Yadav
c82688a355
kvm: Fix double-escape issue while creating rbd disk options ( #4568 )
...
This fixes issue introduced in c3554ec31d
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
e26202f23e
Updating pom.xml version numbers for release 4.16.0.0-SNAPSHOT
...
Signed-off-by: Daan Hoogland <dahn@onecht.net>
2021-01-04 11:32:10 +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
Harikrishna Patnala
bb90ce5bd7
Fix for dettached disk migrations from vVols to other datastores
2020-10-19 15:05:57 +05:30
nvazquez
7a8dd46b32
Fix deploy as-is disks cleanup
2020-10-19 15:05:57 +05:30
Harikrishna Patnala
89aa25d023
VM deployment from ISO not working on VSAN65, fixed by adding a backup to create disk using old way
2020-10-19 15:05:57 +05:30
nvazquez
c6c4bfe30c
Fix deploy as is with datadisks
2020-10-19 15:05:57 +05:30
nvazquez
acf872cdab
Relocate deploy-as-is cloned VM if does not end on the host receiving the start command and restore deployment logs
2020-10-19 15:05:57 +05:30
nvazquez
edfbed34ad
Use network adapter from OVF on deploy-as-is
2020-10-19 15:05:57 +05:30
nvazquez
61e7625d49
Do not set user-configurable details for deploy-as-is VMs
2020-10-19 15:05:57 +05:30
Harikrishna Patnala
44dc0c6072
Fixed rat failure on new class DeployAsIsHelper.java
...
Also removed some unused imports during rebase
2020-10-19 15:05:57 +05:30
nvazquez
19c83fef64
Fix zone to zone scope volume migrations NPE
2020-10-19 15:05:57 +05:30
Harikrishna Patnala
6ebfdc6854
Dettached datadisk migration failed between NFS storages.
...
Fixed the issue of worker VM name being null
2020-10-19 15:05:57 +05:30
nvazquez
bb4ce2118d
Add new template and vm deploy as is details table and refactor
2020-10-19 15:05:57 +05:30
Harikrishna Patnala
fab6b41c90
Delete VM fix which does not move detached disks to fcd folder
...
vVols attach disk fix
2020-10-19 15:05:56 +05:30
Harikrishna Patnala
f74262b12a
Snapshot on dettached volume considering wrong path, corrected it
2020-10-19 15:05:56 +05:30
Harikrishna Patnala
f53f11b010
Fix seeding template issue after PR merging
2020-10-19 15:05:56 +05:30
Harikrishna Patnala
f825a94dc4
Fixed volume migrations to and fro vVols datastorewq
2020-10-19 15:05:56 +05:30
Harikrishna Patnala
700ab1a5ef
vVols datastore support added
2020-10-19 15:05:56 +05:30
Harikrishna Patnala
5652097ef0
Added backup on fail over scenrio in case of new create disk method
2020-10-19 15:05:56 +05:30
nvazquez
d864e9dc39
[VMware] Full OVF properties support
2020-10-19 15:05:56 +05:30
Harikrishna Patnala
04d400f055
Handle import unmanaged VM into CloudStack to support any type of datastore
2020-10-19 14:57:16 +05:30
Harikrishna Patnala
40934ba9ff
Fix travis failures by removing dependency of vmware from storage.
...
Added a new command class to verify the vCenter details provided while adding primary storage
2020-10-19 14:57:16 +05:30
Harikrishna Patnala
570f3214b8
Handle VMFS6 sesparse format disk files
2020-10-19 14:57:16 +05:30
Harikrishna Patnala
0a412ac6da
Handle volume copy from secondary to primary in case of vSAN
2020-10-19 14:57:16 +05:30
Harikrishna Patnala
d4d372a9a4
Fix addition of datastores with invalid vCenter server details
2020-10-19 14:57:16 +05:30
Harikrishna Patnala
af84743fd9
Fix addition of datastore clusters not to configure it as non NFS storage
2020-10-19 14:57:16 +05:30
Harikrishna Patnala
b88df5ee5b
Fixed a smoke test while taking snapshot
2020-10-19 14:57:16 +05:30
Harikrishna Patnala
2dd6e184d5
Fix simulator code for SimulatorStorageProcessor.java
2020-10-19 14:57:16 +05:30
Harikrishna Patnala
a5531a9e86
Changed artifact id from pbm for vmware-pbm for policy based management
2020-10-19 14:57:16 +05:30
Pearl Dsilva
e211b92324
Changed workflow for storing volumes in sec storage
2020-10-19 14:57:16 +05:30
Harikrishna Patnala
36d65905b1
Base folder creation on datstores restrict only to primary storages, for secondary storage datastore it is not required
2020-10-19 14:57:16 +05:30
Harikrishna Patnala
c8a28f34ee
Use clonevm task while creating template from volume
...
Old way is by taking snapshot of entire VM and then clone from that snapshot with the required disk
2020-10-19 14:57:16 +05:30
Pearl Dsilva
4178a7cd90
inter-cluster migration support
2020-10-19 14:57:16 +05:30
Harikrishna Patnala
5aac6c3f0f
Fix immutable list to add another entry to list
2020-10-19 14:57:16 +05:30
Harikrishna Patnala
ed7efdf4d2
Generalise linked clone formats which are different for each datastore type
2020-10-19 14:57:16 +05:30
Harikrishna Patnala
c9c38c0f37
Handle datastore clusters in list storage pools to list only parent not the children in the Datastore cluster
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
53fa3beecf
Register Disk to first class disk whereever possible
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
41b3fc19d6
Add Datastore cluster and the child entities which are datastores in the cluster into CloudStack
...
Setting scope is still pending.
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
f858387b3c
Import storagepolicies when vmware datacenter is added or updated
2020-10-19 14:57:15 +05:30