Abhishek Kumar
62b806ac13
api,server: add params for updatehypervisorcapabilities API ( #5473 )
...
* api,server: add params for updatehypervisorcapabilities API
Allows updating following capabilities for a hypervisor, version:
- Max DATA volumes limit
- Storage motion supported
- Max hosts per cluster
- VM snapshot enabled
* added test
* changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* Update test/integration/smoke/test_hypervisor_capabilities.py
Co-authored-by: dahn <daan.hoogland@gmail.com>
2022-02-03 10:21:23 +05:30
Abhishek Kumar
8adb8df2fe
server: find suitable disk offering for volume upload ( #5852 )
...
* server: find suitable disk offering for volume upload
Fixes #5696
* fix npe check
* fixes, refactor, rename method and handle custom iops
* ui: allow offering selection
* list only disk offerings
* show name
* revert error check
* use checkaccess
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-02-02 16:35:47 +05:30
Nicolas Vazquez
ddd311c695
[XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting ( #5892 )
...
* Update platform setting if cpu.corespersocket is set
* Refactor conditions
* Allow empty map but not null
2022-02-02 12:21:47 +05:30
sureshanaparti
1b3e7f65b7
Update proper destroy status when SSVM is destroyed. ( #5908 )
2022-02-02 10:02:00 +05:30
dahn
fde34df560
Make sure other than user VMs can have multiple NICs in a network ( #5896 )
...
* only check user VMs
* Update engine/orchestration/src/main/java/com/cloud/vm/VirtualMachineManagerImpl.java
Co-authored-by: Daan Hoogland <dahn@onecht.net>
Co-authored-by: Wei Zhou <weizhou@apache.org>
2022-01-31 19:05:27 +05:30
dahn
c1bba2a308
Do not restart VPC tiers with cleanup ( #5873 )
...
* do not restart VPC tiers with cleanup
* no option for cleanup for VPC tiers
* Update server/src/main/java/com/cloud/network/NetworkServiceImpl.java
* paramNames
* remove superfluent parameter
Co-authored-by: Daan Hoogland <dahn@onecht.net>
Co-authored-by: Daniel Augusto Veronezi Salvador <38945620+GutoVeronezi@users.noreply.github.com>
2022-01-31 17:59:26 +05:30
Abhishek Kumar
5f07e4daaf
ui: fix filtering readonly details while VM update ( #5887 )
...
* ui: fix filtering readonly details while VM update
* refactor
* error on add
Fixes #5724
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-31 17:19:31 +05:30
Nicolas Vazquez
3e92a63155
[XenServer/XCP-ng] Pass the image store NFS version on storage commands ( #5886 )
...
* Add NFS version to mount command
* Remove extra line
* Extend NFS version to mount secondary storage
* Unused import
* Refactor NFS version to be granular
* Make use of the ConfigKey on the NFS version setting value
2022-01-31 12:21:13 +05:30
Nicolas Vazquez
1fc7d70da2
Add idempotent primary keys on tables missing them ( #5785 )
...
* In progress primary keys
* Refactor in progress to idempotent way
* Finish SQL changes
* Add java code to match new columns
* Fix imports
* Fix tests
* Remove comments
* Fix index name on vmsnapshot
* Fix parse from correct column on usage storage
* Fix parser columns
* Fix NPE
* Fix NPE for the rest of the occurrences
* Further fix for similar issue
2022-01-30 23:31:07 +05:30
sureshanaparti
0e150954d0
Allow direct download templates from IPv6 host address. ( #5900 )
...
* Allow templates & ISOs from IPv6 host address.
* fix checkstyle issue
* Allow only direct download templates from IPv6 address
Co-authored-by: gabriel <gabriel@apache.org>
2022-01-28 09:50:32 +05:30
davidjumani
6fa8538666
Adding placeholders for custom NSP vues ( #5620 )
...
* Adding placeholders for custom NSP vues
* Fix decorator
* Fixing gslbproviderprivateip description
2022-01-27 20:11:35 +05:30
Hoang Nguyen
ee9c05b5fa
UI - Added option to allow users to select volumes when doing destroy the list of VMs ( #5893 )
...
* added option to allow users to select volumes when doing destroy list of VMs
* fixes
2022-01-27 11:09:48 +05:30
Hoang Nguyen
065847e6af
UI: Fixes asynchronous when destroying wrong item VM ( #5884 )
...
* fix asynchronous error when deleting VMs one by one
* fixes error open modal
2022-01-27 11:05:35 +05:30
Rohit Yadav
28f6067f3c
packaging: use modern systemctl enable/disable ( #5881 )
...
This fixes spec files to use systemctl enable|disable instead of on|off.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2022-01-27 09:53:16 +05:30
Nicolas Vazquez
84f5768e64
[VMware][Deploy-as-is] OVF properties not importing when template is uploaded from local ( #5861 )
...
* Fix ova upload missing details
* Refactor and cleanup
* Unused import
2022-01-26 11:28:52 +05:30
Nicolas Vazquez
1ed0830bc4
[Vmware][Deploy-as-is] Refactor the OVF parsing ( #5825 )
...
* Add the list of supported namespaces per document and refactor the disks extraction by using the namespaces
* Refactor matching the default OVF schema
* Move parser methods to a new class and refactor
* Fix import, unit tests
* Reduce indentation
* Address review comments
2022-01-26 11:24:40 +05:30
Abhishek Kumar
d18ef1c0fd
ui: add custom form for update template ( #5434 )
...
* ui: add custom form for update template
* label fix
* changes and fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-25 10:47:41 +05:30
sureshanaparti
06b5e84182
Removed redundant parsing of VMSnapshot usage record. ( #5872 )
2022-01-24 18:06:02 +01:00
Abhishek Kumar
68a5e5aa77
ui: show password with success notification ( #5889 )
...
Fixes #5888
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-24 17:05:07 +05:30
DK101010
f639f56834
fill volume attached field ( #5865 )
...
Co-authored-by: DK101010 <dirk.klahre@itelligence.de>
2022-01-20 19:24:26 +05:30
sureshanaparti
4996b800b5
Now correct values are shown when configuring limits for a domain. ( #5874 ) ( #5880 )
...
Now correct values are shown when configuring limits for a domain. (#5874 ) (#5880 )
Co-authored-by: JoaoJandre <48719461+JoaoJandre@users.noreply.github.com>
Co-authored-by: Joao <JoaoJandre@gitlab.com>
2022-01-20 14:37:51 +05:30
Wei Zhou
f3289fb596
server: fix regular user can create isolated network without sourcenat ( #5844 )
...
* server: fix regular user can create isolated network without sourcenat
2022-01-20 14:10:23 +05:30
dahn
fb35f46a96
Delete ldap config from UI ( #5871 )
...
* add params to delete command
* pass known params
Co-authored-by: Daan Hoogland <dahn@onecht.net>
2022-01-18 10:21:51 +01:00
Hoang Nguyen
0e2c09baca
UI - Fixes Pod, Cluster selected is incorrect on addHost dialog ( #5869 )
...
* fix pod selected is incorrect
* fixes fetch cluster with podid empty
* clear clusterid field
2022-01-18 14:35:28 +05:30
Nicolas Vazquez
e18ff602f8
Prevent upgrade failures if there are existing annotations permissions ( #5846 )
...
* Do not fail if there are existing role permissions for annotations
* Refactor
* Improve refactor
* Do not update if there are existing role permissions for annotations
* Fix exception on upgrade
* Remove extra space from suggestion
* Apply suggestions from code review
Co-authored-by: sureshanaparti <12028987+sureshanaparti@users.noreply.github.com>
2022-01-18 11:20:00 +05:30
Abhishek Kumar
f5b0d2f056
ui: fix create user domain, account selection ( #5487 )
...
* ui: fix create user domain, account selection
* fetch accounts only after domains
* refresh on saml configure
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-17 16:30:29 +05:30
Hoang Nguyen
a42ed1fb89
add a setting to config.json that allows users to set theme ( #5584 )
2022-01-17 11:30:56 +05:30
Abhishek Kumar
59a615cf21
ui: fix deploy vm in basic zone ( #5856 )
...
* ui: fix deploy vm in basic zone
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-14 16:29:35 +05:30
Hoang Nguyen
619c754903
Clear cache APIs when the switch domain with SAML user ( #5855 )
2022-01-14 16:20:56 +05:30
Abhishek Kumar
c86b98e682
ui: show account configure limits tab for domain-admin ( #5858 )
...
Fixes #5676
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-13 14:08:02 +01:00
Hoang Nguyen
4746509c82
[UI] Cancel all requests api, async jobs in UI when user logs out ( #5663 )
...
* cancel requests in UI when user logs out
* clear notification, message from UI after logout
2022-01-13 17:44:49 +05:30
Hoang Nguyen
001f4213c8
UI - Deploy VM with params from the template, iso, network pages ( #5653 )
...
* deploy VM with params from the template, iso, network pages
* remove default-checked not necessary
2022-01-13 16:59:41 +05:30
Abhishek Kumar
d78a815442
server: fix update vm with unconstrained offering ( #5828 )
...
Fixes #5694
Signed-off-by: Abhishek Kumar <abhishek.kumar@shapeblue.com>
2022-01-13 12:30:12 +05:30
Abhishek Kumar
c17ae740f4
ui: fix getDiagnosticsData files field ( #5853 )
...
Fixes #5707
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-12 13:52:01 +05:30
Wei Zhou
216bea1978
ipv6: disable IPv6-only shared network with VR ( #5810 )
...
* ipv6: disable IPv6-only shared network with VR
* Update #5810 : import org.apache.commons.lang3.StringUtils
* Update #5810 : do not import org.apache.commons.lang3.StringUtils
* Update server/src/main/java/com/cloud/network/NetworkServiceImpl.java
* Update engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java
Co-authored-by: Daniel Augusto Veronezi Salvador <38945620+GutoVeronezi@users.noreply.github.com>
2022-01-12 13:33:35 +05:30
Abhishek Kumar
223bc11d2a
ui: fix paging in enable static NAT form ( #5849 )
...
Fixes #5715
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-11 22:31:02 +05:30
Gabriel Beims Bräscher
2e2d328cde
Add toggle button on the UI for list including elements in projects. ( #5790 )
...
* Allow to use projectid=-1 and list all resources (e.g. VMs) regardless of their project.
2022-01-11 21:30:30 +05:30
Abhishek Kumar
c08592cad8
ui: update vm haenable only for supported vms ( #5847 )
...
For VMs which have service offering that does not allow HA, haenable option will be not shown in the UpdateVM UI form.
Fixes #5743
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-11 14:55:11 +05:30
Wei Zhou
9293f5bd27
server: fix enable/disable static nat if userdata is not supported ( #5839 )
...
* server: fix enable/disable static nat if userdata is not supported
* Update #5839 : rename applyUserData to applyUserDataIfNeeded
* Update server/src/main/java/com/cloud/network/rules/RulesManagerImpl.java
Co-authored-by: Daniel Augusto Veronezi Salvador <38945620+GutoVeronezi@users.noreply.github.com>
2022-01-11 12:22:59 +05:30
dahn
7ea2cbd889
Storage pool absent ( #5841 )
...
* simple null check
Co-authored-by: Daan Hoogland <dahn@onecht.net>
Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Co-authored-by: Daniel Augusto Veronezi Salvador <38945620+GutoVeronezi@users.noreply.github.com>
2022-01-11 12:18:55 +05:30
Wei Zhou
fadd74aaca
network: fix vm can be deployed on L2 network of other accounts ( #5784 )
...
* Update #5769 : fix domain admin can deploy vm on L2 network of other users
* test: fix test_storage_policy.py
* Update #5784 : revert part of changes in #2420
2022-01-11 12:16:00 +05:30
dahn
028d338aaa
remove VmWorkJob after adding a nic to a vm ( #5658 )
...
Co-authored-by: Daan Hoogland <dahn@onecht.net>
Co-authored-by: Suresh Kumar Anaparti <suresh.anaparti@shapeblue.com>
Co-authored-by: Wei Zhou <weizhou@apache.org>
2022-01-10 16:31:50 +01:00
Hoang Nguyen
4916f3c90d
UI - Fix Locked "Override Root Disk Size" switch ( #5843 )
...
* Fix Locked "Override Root Disk Size" switch
* fixes ut
2022-01-10 19:04:46 +05:30
Hoang Nguyen
0f926b5d68
UI: Add s3 provider option to create secondary storage ( #5726 )
...
* add s3 provider option to create secondary storage
* fixes label name
* add storagepolicy for swift provider
2022-01-10 19:01:53 +05:30
Nicolas Vazquez
946f9156e5
vmware: Persist empty values instead of null ( #5748 )
...
This PR allows deploying VMware appliances missing default values on some properties
Fixes : #5747
2022-01-08 08:58:46 +05:30
slavkap
48006de3e3
kvm: Set RAW format to RBD DATADISK ( #5801 )
...
While deploying a VM with data disk on Ceph the volume format was in
QCOW2.
Fixes #5531
2022-01-08 08:54:21 +05:30
Abhishek Kumar
feb4343abe
ui: fix create network/vpc offering form ( #5840 )
...
* ui: fix create network/vpc offering form
Fixes #5838
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix inlinemode
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-08 08:41:58 +05:30
Wei Zhou
84b9b61b9b
api: fix typo in Volume Destroy state - volume can be recovered ( #5833 )
...
* api: fix type Destroy volume can be recovered
* Update api/src/main/java/com/cloud/storage/Volume.java
Co-authored-by: dahn <daan.hoogland@gmail.com>
2022-01-07 13:19:26 +05:30
Wei Zhou
6d35b520d3
server: fix vm can be recovered by other accounts ( #5822 )
2022-01-07 13:13:48 +05:30
Hoang Nguyen
3cbde8cd6c
UI - Hide shrink disk option on XCP-NG/Xenserver ( #5829 )
...
* hide shrink disk option on XCP-NG/Xenserver
2022-01-06 17:41:54 +05:30