dahn
2bb079189c
make NoopDbUpgrade do a systemvm template check ( #7564 )
2023-07-31 16:08:14 +02:00
Wei Zhou
f4a4417e4c
pom.xml: add property project.systemvm.template.location ( #7706 )
...
* pom.xml: add property project.systemvm.template.location
* pom.xml: update project.systemvm.template.location
2023-07-28 11:05:44 +02:00
dahn
73a269e3b3
guarantee MAC uniqueness ( #7634 )
...
Co-authored-by: Bryan Lima <42067040+BryanMLima@users.noreply.github.com>
2023-07-19 10:25:01 +02:00
Vishesh
594c70dde0
Sync precommit config from main ( #7732 )
...
Co-authored-by: John Bampton <jbampton@users.noreply.github.com>
Co-authored-by: dahn <daan@onecht.net>
2023-07-07 11:18:16 +02:00
dahn
acc6f4e725
NPE guard ( #7691 )
2023-07-06 09:29:42 +02:00
Harikrishna
0cbe77024a
Fix foreign key constraints and the mysql procedure that is used ( #7381 )
2023-07-06 08:43:49 +02:00
Wei Zhou
985f0ecb53
Tungsten: change conserve_mode of default network offering to 0 ( #7511 )
2023-06-26 13:36:36 +02:00
slavkap
faaf72b1a4
Volume encryption support for StorPool plug-in ( #7539 )
...
Supported Virtual machine operations:
- live migration of VM to another host
- virtual machine snapshots (group snapshot without memory)
- revert VM snapshot
- delete VM snapshot
Supported Volume operations:
- attach/detach volume
- live migrate volume between two StorPool primary storages
- volume snapshot
- delete snapshot
- revert snapshot
2023-06-26 11:24:51 +02:00
Nicolas Vazquez
c809201247
Fix: Volumes on lost local storage cannot be removed ( #7594 )
2023-06-23 12:22:15 +02:00
Abhishek Kumar
ef9dec11e7
guestos: add Windows Server 2022 ( #7508 )
...
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2023-05-31 16:02:48 +02:00
Oscar Sandoval
b6443a2b1f
increase log detail for limit checking, fix getDomainReservation() ( #7506 )
...
In troubleshooting ops issues we see logs like:
Maximum domain resource limits of Type 'user_vm' for Domain Id = 763 is exceeded: Domain Resource Limit = (1 bytes) 1, Current Domain Resource Amount = (0 bytes) 0, Requested Resource Amount = (1 bytes) 1."
However there is one missing value (currentResourceReservation) that is used in the calculation of limit check but it is not logged, which leads to confusion. Above we see we are using “0” and requested 1, with our limit being 1, but was rejected. Without logging all the values used in the calculation we don’t understand why it failed.
Additionally, if we had this log above it would be clearer that a second bug is occurring. When we query for domain level resource reservations in “getDomainReservation” the actual SearchBuilder is the listAccountAndTypeSearch, not the listDomainAndTypeSearch. As a result, when we call getDomainReservation the query returns any outstanding domain reservation for any account, as domain ID is not a valid filter for the account search.
This PR:
Increases detailed information in log for checking resource limit to include reservations information for functions: checkDomainResourceLimit() and checkAccountResourceLimit
Fixes getDomainReservation() to use listDomainAndTypeSearch instead of listAccountAndTypeSearch
Co-authored-by: Oscar Sandoval <osandovalocana@apple.com>
2023-05-12 12:53:18 +05:30
dahn
8bbe2f7cb2
engine/schema: use junit 4 (same as the rest of the project tests)
2023-04-27 11:36:27 +02:00
Abhishek Kumar
afccde5cfc
server,engine-schema: fix listing service offering for vm scale ( #7398 )
...
Fixes #7389
Fixes listing of service offerings for VM scale when the current offering has `disk_offering_strictness=true`
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2023-04-17 14:19:20 +05:30
Harikrishna
65512af779
server: Roles search by keyword ( #7384 )
...
This PR fixes #7362 and also other search criteria to use the name as an exact search where keyword is also there.
Made UI changes for roles search to make use of keyword instead of name.
2023-04-11 22:24:29 +05:30
Rohit Yadav
74a414e76f
Fix build failure and 4.18.0.0->4.18.1.0 upgrade path
...
Unblocks smoketests/health check runs on 4.18 branch.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2023-03-16 13:18:26 +05:30
Daan Hoogland
05cda2729f
Updating pom.xml version numbers for release 4.18.1.0-SNAPSHOT
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2023-03-15 19:38:14 +01:00
Daan Hoogland
0574087284
Updating pom.xml version numbers for release 4.18.0.0
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2023-03-11 09:35:41 +01:00
SadiJr
ad64ee3090
[Usage] Fix wrong usage_type ( #7229 )
2023-03-03 13:10:38 +01:00
Wei Zhou
8592de95fa
Move PassphraseVO to use String instead of byte[] to support Encrypt annotation ( #7302 )
...
Co-authored-by: Marcus Sorensen <mls@apple.com>
2023-03-03 13:08:17 +01:00
dahn
aa881f6bf3
avoid hard coded guest OS IDs ( #7279 )
2023-02-23 15:19:45 +01:00
Wei Zhou
e61051e4fc
SQL: Remove snapshot references if primary storage pool has been removed ( #7205 )
2023-02-21 14:48:36 +01:00
Harikrishna
7484636997
Userdata sql changes using procedures ( #7255 )
2023-02-20 12:07:52 +01:00
Wei Zhou
80c1b6b2a2
engine/schema: fix IDEMPOTENT_ADD_FOREIGN_KEY procedure does not work on mysql8 ( #7252 )
2023-02-17 11:46:09 +01:00
Harikrishna
a3feccf70c
User two factor authentication ( #6924 )
...
Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2023-02-13 09:14:17 +01:00
Abhishek Kumar
6d287793a5
guestos: add el9 distros ( #7059 )
...
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Co-authored-by: dahn <daan@onecht.net>
2023-02-03 12:46:53 +01:00
Bryan Lima
5c20e7844c
Quota VM_DISK tariff calculation ( #7152 )
...
Co-authored-by: Daniel Augusto Veronezi Salvador <38945620+GutoVeronezi@users.noreply.github.com>
2023-02-03 08:43:05 +01:00
Wei Zhou
62e342c1bc
utils,framework/db: Introduce new database encryption cipher based on AesGcmJce ( #7003 )
2023-02-02 16:25:49 +01:00
Nicolas Vazquez
89bf4750ab
Add console session cleanup task ( #7132 )
2023-02-01 16:53:54 +01:00
David Jumani
c774b865c9
Tungsten integration ( #7065 )
...
Co-authored-by: rtodirica <rtodirica@ena.com>
Co-authored-by: Huy Le <huylm@unitech.vn>
Co-authored-by: radu-todirica <Radu.Todirica@ness.com>
Co-authored-by: Huy Le <minh.le@ext.ewerk.com>
Co-authored-by: Simon Weller <siweller77@gmail.com>
Co-authored-by: dahn <daan@onecht.net>
2023-02-01 09:19:53 +01:00
Suresh Kumar Anaparti
d8c7e34b38
Improve global settings UI to be more intuitive/logical ( #5797 )
...
Co-authored-by: Suresh Kumar Anaparti <suresh.anaparti@shapeblue.com>
Co-authored-by: nvazquez <nicovazquez90@gmail.com>
Co-authored-by: davidjumani <dj.davidjumani1994@gmail.com>
Co-authored-by: dahn <daan.hoogland@gmail.com>
Co-authored-by: dahn <daan@onecht.net>
2023-01-31 11:23:43 +01:00
Abhishek Kumar
3b6ce97097
infra: edge zones ( #6840 )
...
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Co-authored-by: dahn <daan@onecht.net>
2023-01-31 09:36:45 +01:00
nvazquez
83c2bfacd8
Merge branch '4.17'
2023-01-30 07:53:58 -03:00
Abhishek Kumar
028ca74fb6
ui,server,api: resource metrics improvements ( #6803 )
...
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2023-01-30 09:48:03 +01:00
Nicolas Vazquez
c78a777d3a
Fix: memory leak on volume allocation ( #7136 )
2023-01-30 09:44:50 +01:00
João Jandre
61a722548f
Create API to reassign volume ( #6938 )
2023-01-27 11:10:56 +01:00
Rohit Yadav
ea14c59210
vmware: support vsphere 8.0 and 8.0.0.1 versions ( #7119 )
2023-01-25 09:20:21 +01:00
Wei Zhou
42f0d758c1
vpc/network: set mtu of networks/vpcs/nics during 4.18 upgrade ( #7124 )
2023-01-24 09:51:08 +01:00
Abhishek Kumar
2dd29558fe
server: fix listnetworkofferings with domain, refactor listvpofferings ( #6748 )
2023-01-24 09:30:12 +01:00
dahn
221118289b
fix guestOsMapper and move mapping code to latest upgrade ( #7095 )
2023-01-23 09:03:55 +01:00
Daniel Augusto Veronezi Salvador
911f951e2a
Handle console session in multiple management servers ( #7094 )
2023-01-20 09:25:07 +01:00
Rohit Yadav
e8c32d68fc
Add support for vSphere 8.0 ( #7046 )
2023-01-18 17:49:42 +01:00
Rodrigo D. Lopez
3ea2f1dc9f
updates roles read-only ( #7080 )
2023-01-13 06:16:48 +01:00
Daan Hoogland
0c925be44d
merge LTS 4.17 in main
2023-01-12 15:39:04 +01:00
Wei Zhou
1dd064c8a9
server: fix cannot update vm if it uses unconstraint dynamic offering ( #7077 )
...
Co-authored-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2023-01-12 13:40:53 +01:00
John Bampton
00426ede46
Add `pre-commit` workflow with 3 Git hooks ( #6273 )
...
Co-authored-by: dahn <daan@onecht.net>
2023-01-11 12:25:31 +01:00
João Jandre
9cfebdf6e5
Allow domain admins to inform tags when creating offerings ( #7052 )
2023-01-10 14:16:22 +01:00
Daan Hoogland
2d1d2944e5
merge release branch 4.17 into main
2023-01-09 12:57:40 +01:00
Abhishek Kumar
eb5c8a5a8c
server: correctly list suitable hosts for migration with uefi capability ( #7024 )
...
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2023-01-09 11:03:10 +01:00
Sina Kashipazha
20306d6129
Allow creating atmost 1 physical network with null tag ( #6781 )
2023-01-05 21:36:31 +01:00
Wei Zhou
1380c604b1
server: add Host Control Plane State to uservm and systemvm response ( #6946 )
...
Co-authored-by: dahn <daan.hoogland@gmail.com>
2023-01-05 09:59:28 +01:00