Pearl Dsilva
136252d65d
server: Maintain order or project owners added to account ( #4822 )
...
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2021-03-17 17:36:46 +05:30
Michael
1cfb44994f
db: add schema upgrade from 4.15.0.0 to 4.15.1.0 ( #4574 )
2021-03-11 13:24:29 +05:30
Abhishek Kumar
88337bdea4
server: fix finding pools for volume migration ( #4693 )
...
While finding pools for volume migration list following compatible storages:
- all zone-wide storages of the same hypervisor.
- when the volume is attached to a VM, then all storages from the same cluster as that of VM.
- for detached volume, all storages that belong to clusters of the same hypervisor.
Fixes #4692
Fixes #4400
2021-02-25 22:13:50 +05:30
Rakesh
787491871a
server: Look for active templates for VR deployment ( #4047 )
...
If the template from which VR is created got deleted, the state
is set to inactive and removed to null.
Since the template is already deleted, the VR can't be created
using this template again.
If someone restarts network with cleanup then it will try to
deploy the vr from the old non existing template again.
So search only for active template which are not yet deleted.
2021-02-25 22:05:31 +05:30
Wei Zhou
5a3ae159ca
upgrade: check systemvm template before db changes ( #4582 )
...
* Upgrade: check systemvm template before db changes
* Upgrade: move some codes to a separated method
* #4582 add txn.commit()
2021-02-24 16:26:31 +05:30
Rohit Yadav
74bae56642
Merge remote-tracking branch 'origin/4.14' into 4.15
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-28 14:24:25 +05:30
Wei Zhou
182cea79b5
server: fix cannot create vm if another vm with same name has been added and removed on the network ( #4600 )
...
* server: fix cannot create vm if another vm with same name has been added and removed on the network
steps to reproduce the issue
(1) create vm-1 on network-1
(2) add vm-1 to network-2
(3) remove vm-1 from network-2
(4) create another vm with same name vm-1 on network-2
expected result: operation succeed
actual result: operation failed.
* #4600 : add back a removed line
2021-01-27 19:28:52 +05:30
Rohit Yadav
8a9ae6fcee
Merge remote-tracking branch 'origin/4.14' into 4.15
...
Fix upgrade path conflicts, add 4.15.0.0->4.15.1.0 stub
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 18:44:48 +05:30
davidjumani
f70da104a0
engine/schema: add upgrade path from 4.14.0.0 to 4.14.1.0 ( #4580 )
2021-01-12 18:21:30 +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
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
Rohit Yadav
fdf9573266
Merge remote-tracking branch 'origin/4.14'
2020-12-14 12:05:52 +05:30
Wei Zhou
96cfe27504
db upgrade: fix sql exception: Access denied; you need (at least one of) the SUPER privilege(s) for this operation ( #4533 )
2020-12-14 11:40:33 +05:30
Wei Zhou
9de679ea1c
db: Fix description of volume.stats.interval which is in milliseconds not seconds ( #4526 )
2020-12-10 14:32:16 +05:30
Wei Zhou
4fb69e695c
sql: Fix Zones are returned in a random order ( #3934 ) ( #4494 )
2020-11-25 15:30:43 +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
Olivier Lemasle
5f8289ffe9
Re-enable IP address usage hiding ( #4327 )
2020-11-07 10:42:44 +01:00
Gabriel Beims Bräscher
b3a1cb41c8
Allow to configure root disk size via Service Offering (diskoffering of type Service). ( #4341 )
2020-10-30 15:56:11 +00:00
Wei Zhou
e447764d66
DB: fix wrong category id of guest os 'Other PV Virtio-SCSI (64-bit)' ( #4426 )
2020-10-29 09:08:02 +01:00
Pearl Dsilva
25dd7aad51
Modify alter view to drop/create view ( #4417 )
...
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2020-10-28 09:53:56 +01:00
nvazquez
d119a5d19f
Merge branch 'master' into ovfprops-and-vsphere-adv-together
2020-10-24 13:02:31 -03: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
Andrija Panic
5797cf5e17
guest-os-GC ( #67 )
2020-10-20 10:40:03 -03:00
nvazquez
50ab1b2fbe
Add missing guest OS entries for VMware
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
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
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
9b51a706db
Set deploy-as-is to default on VMware
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
32d85b0fa2
Display storage on logging when not deploy-as-is and guest OS small refactor
2020-10-19 15:05:57 +05:30
nvazquez
41354227e2
Handle guest OS read from deploy-as-is OVF descriptor
2020-10-19 15:05:57 +05:30
Harikrishna Patnala
745dd00c9a
Remove duplicate schema changes
2020-10-19 15:05:57 +05:30
nvazquez
818981d8a7
Fix typo
2020-10-19 15:05:57 +05:30
nvazquez
44bae98664
Fix daos issue
2020-10-19 15:05:57 +05:30
nvazquez
f73830acbb
Refactor deploy as is constants
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
nvazquez
d864e9dc39
[VMware] Full OVF properties support
2020-10-19 15:05:56 +05:30
Harikrishna Patnala
295ea50282
Fixed unexpected token Exception
2020-10-19 14:57:16 +05:30
Harikrishna Patnala
48dd0dae07
Adding Storagepolicies to the service offering for root disks
2020-10-19 14:57:16 +05:30
Harikrishna Patnala
fef3926469
Datastore cluster: update tag to the child storagepools also
2020-10-19 14:57:16 +05:30
Harikrishna Patnala
75fb1d91ee
Fix adding Datastore clusters and listing
2020-10-19 14:57:15 +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
b4a23ea5f6
Allocation logic to skip datastore cluster and consider only storagepools inside the datastore cluster
2020-10-19 14:57:15 +05:30
Harikrishna Patnala
586fa7eeaf
Added listVsphereStoragePoliciesCmd
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
8b23ea90b8
Moved Dao and VO files to different packages
2020-10-19 14:57:15 +05:30