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
Harikrishna Patnala
bea31b85ee
Assetion fix in StorageTest.java
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
48786b2d31
DataStore Clusters addition as a storage pool
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
c45b83a158
Logging variable name change
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
586fa7eeaf
Added listVsphereStoragePoliciesCmd
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
233e665b34
Fix response list on importVsphereStoragePoliciescmd
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
778148ba16
Fix importstorage policies to update deleted policies on vcenter
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
18340e96b1
importVsphereStoragePolices improvements
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
6df819028e
UI changes and accept any type of datastore as presetup in vmware
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
4bbb747b23
VMFS to presetup change
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
3d9edeeb9d
Bug fixing on default base folder
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
bef00b1cfb
Added PBM jar dependency for vsphere 6.7 version
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
aa07959f2a
Use VStorageObjectManager for disk operations.
...
Created disks using VStorageObjectManager
Removed redundant code around attach volume and create volumes
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
6c314492e7
Fix NPE in case of preparing secondarystorage on Host
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
851b562e04
Unit test fix
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
487bb03c4d
Added Storagepolicy while creating diskoffering. CreateDiskOffering API now takes storagepolicy as a parameter with UUID value
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
fb0a96e7fb
Check if datastore is complaince with the storagepolicy provided in the disk offering.
...
Added corresponding manager objects from PBM sdk to do the job.
Made dao layer changes to read the storage policy in diskoffering
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
27e5dfa633
Updated code to handle sync of storage policies when importVsphereStoragePolicies API is called multiple times
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
a951e5f57f
Fixed unit test failure
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
2ff4989feb
Added gen_toc.py changes for API importvpsherestoragepolicies
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
8b23ea90b8
Moved Dao and VO files to different packages
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
a4ec86a652
Added Storage policy id to VO
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
037fcfd032
Fixed bean creation errors on VsphereStoragePolicyDaoImpl
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
b8b4f0f9ad
Added importVsphereStoragePolicies API and scheme changes
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
a72782f2e5
Fix root folder issue on datastore
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
f05b567d4c
Added PBM service connect
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
0701dc9d9c
Initial commit adding few required managed object classes and added pbm sdk
2020-10-19 14:57:15 +05:30
Rohit Yadav
db3fdf4142
Merge remote-tracking branch 'origin/4.14'
2020-10-19 13:15:59 +05:30
Rohit Yadav
b27b8d0f0a
packaging: enable Parallel Collector GC for management server ( #4407 )
...
The default GC algorithm G1 that is enabled by default with Java11
serves well on multiprocessor machines with large amount of memory where
GC is probablistic with low pauses, where response time is more
important than throughput and GC is kept shorter.
The CloudStack management server is largely a multi-threaded server
application that handles and orchestrates several network requests, and
has the default max. heap size of only 2G that can be considered a
small/medium application from a heap size perspective. Perhaps a more
aggresive GC algorithm such as ParallelGC as used in Java8 and before
(that is previous CloudStack releases) would serve better for throughput
and cause more aggresive GC.
Reference: https://docs.oracle.com/en/java/javase/11/gctuning/available-collectors.html#GUID-13943556-F521-4287-AAAA-AE5DE68777CD
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2020-10-19 13:10:53 +05:30
Pearl Dsilva
0d487fc8c9
support for data migration of incremental snaps on xen ( #4395 )
...
* support for handling incremental snaps (on DB entries) on xen
* Addressed comments
* Update NfsSecondaryStorageResource.java
adjusted space in comment/ log
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2020-10-18 02:15:10 +05:30
Rodrigo D. Lopez
c222d0bf60
enable update tags on disk offerings ( #4194 )
2020-10-16 09:22:42 +02:00
Rodrigo D. Lopez
d676ffa0a0
Handle with VM snapshot events ( #4251 )
...
Co-authored-by: Rodrigo <rodrigo@scclouds.com.br>
2020-10-16 09:19:44 +02:00
Gabriel Beims Bräscher
4c936b4690
Re-add affinity group ( #4405 )
2020-10-16 09:16:19 +02:00
Daan Hoogland
644731edad
Merge branch '4.14'
2020-10-15 18:02:00 +00:00
Wei Zhou
f7a3701c7a
server: fix issue that vm guest os type is reset after updatetemplate ( #4377 )
2020-10-15 17:54:59 +00:00
Wei Zhou
be5df8d9ed
kvm: fix wrong VM CPU usage ( #4381 )
2020-10-15 13:57:59 +02:00
Rakesh
6c88e9afb3
Dont add host back after agent service restart ( #4228 )
2020-10-14 16:49:39 +00:00
Rohit Yadav
d6db47618d
Merge remote-tracking branch 'origin/4.14'
2020-10-14 16:06:57 +05:30
Abhishek Kumar
5b419b90d0
vmware: use hotPlugMemoryIncrementSize only for valid value ( #4348 )
...
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2020-10-14 16:05:57 +05:30
davidjumani
16bb05351a
api: Making id a required field in scalekubernetesclustercmd ( #4404 )
2020-10-14 15:55:22 +05:30
Wei Zhou
55f07030cb
plugins: Host is counted twice if it has multiple host tags in Prometheus exporter ( #4383 )
...
* Hosts are counted twice if it has multiple host tags in Prometheus exporter
* Import HostVO and inject HostDao
2020-10-14 15:51:15 +05:30
Wei Zhou
40724e66e8
debian/control: add uuid-runtime to cloudstack-common, ufw/apparmor to cloudstack-agent ( #4382 )
2020-10-14 15:50:11 +05:30
Wei Zhou
2acd87c41e
server: Add global configuration vm.serviceoffering.cpu.cores.max and vm.serviceoffering.ram.size.max ( #4379 )
...
vm.serviceoffering.cpu.cores.max and vm.serviceoffering.ram.size.max
2020-10-14 15:48:35 +05:30
Pearl Dsilva
cdcc914995
scripts: creates /var/run/cloud folder for creation of lock file ( #4373 )
...
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2020-10-14 15:45:22 +05:30
Rakesh
2333d97098
plugins: Consider maintenance mode as offline for promethues stats ( #4366 )
...
If the resource state of hypervisor in "Maintenance" then it
should be considered as offline even though the agent state
is "Up". Since its in maintenance mode, it cant be used to
allocate VM's and hence can't be considered towards resource
allocation
2020-10-14 15:42:02 +05:30
Rakesh
191dbf7ea7
plugins: Export dedicated host stats to prometheus ( #4365 )
...
We should have the metrics for the hosts which are dedicated to certain domains.
We should also be able to see cpu/memory/storage currently used per domain
> How Has This Been Tested?
Enable prometheus server
Add 127.0.0.1 as allowed Ip so that you can fetch metrics from prometheus
Now fetch the endpoint
# http http://127.0.0.1:9595/metrics | grep cloudstack_host_is_dedicated
cloudstack_host_is_dedicated{zone="mgt122-10",hostname="node11",ip="10.13.122.11"} 1
# http http://127.0.0.1:9595/metrics | grep cloudstack_host_dedicated_to_account
cloudstack_host_dedicated_to_account{zone="mgt122-10",hostname="node11",ip="10.13.122.11"} 1
2020-10-14 15:41:10 +05:30
Daan Hoogland
b65282eaa9
Merge branch '4.14'
2020-10-14 10:54:35 +02:00
Gabriel Beims Bräscher
2e32a3a94a
List VMs by Security Group & HA ( #4397 )
2020-10-14 09:26:47 +02:00
Wei Zhou
94f9f89736
server: Fix some cpuspeed issues while create service offering ( #4376 )
2020-10-13 11:32:16 +02:00