37116 Commits

Author SHA1 Message Date
Wei Zhou
9ae5b6a999
utils: fix invalid JSESSIONID cookie in https setup (#9856)
* utils: fix invalid JSESSIONID cookie in https setup

When enable.secure.session.cookie is set to true, use cannot login with error
```
    2024-10-25T09:03:33,898 DEBUG [c.c.u.HttpUtils] (qtp384617262-21:[ctx-a3ee3670]) (logid:7c5bfd8d) jsessionidFromCookie = node017ygldpe44nub1frmqafsj0qmc18
    2024-10-25T09:03:33,898 DEBUG [c.c.u.HttpUtils] (qtp384617262-21:[ctx-a3ee3670]) (logid:7c5bfd8d) session.getId() = node017ygldpe44nub1frmqafsj0qmc18
    2024-10-25T09:03:33,898 ERROR [c.c.u.HttpUtils] (qtp384617262-21:[ctx-a3ee3670]) (logid:7c5bfd8d) JSESSIONID from cookie is invalid.
```

* pr9856 option 2: check only if jsessionid is not null
2024-11-07 14:37:16 +05:30
Wei Zhou
006db90f75
kvm: fix ovs network creation issue (#9869)
This fixes the issue when create a ovs network
```
2024-10-29 16:02:45,089 WARN  [resource.wrapper.LibvirtOvsFetchInterfaceCommandWrapper] (agentRequest-Handler-2:null) (logid:e716722e) Network interface: ''cloudbr1'' not found
```

This is a regression of a previous security release
see "framework/cluster: improve cluster service, integration API server"

since we now use NetworkInterface.getByName to get network interface, we should NOT add single quotes before/after the label.
2024-11-07 14:36:53 +05:30
Daniel Augusto Veronezi Salvador
84538da27c Updating pom.xml version numbers for release 4.18.2.5
Signed-off-by: Daniel Augusto Veronezi Salvador <gutoveronezi@apache.org>
4.18.2.5
2024-11-05 00:54:55 -03:00
Daniel Augusto Veronezi Salvador
966b75d0b9 Verify QCOW2 features on direct download of template 2024-11-05 00:26:19 -03:00
Rene Peinthor
a6cef7a78d
linstor/kvm: Workaround a qemu bug and IDE bus discard enabled. (#9859)
qemu has a bug versions prior 7.0 with discard enabled and using the IDE bus.
It would crash the qemu process and kill the virtual machine,
this is most noticeable on installing a windows guest from the
Windows ISO installer.
2024-11-04 08:46:40 -03:00
Fabricio Duarte
175eed294c
Fix primary storage update form not showing existing values (#9809) 2024-10-18 14:54:50 +05:30
Rene Peinthor
7fbd0a9fb4
linstor: enable discard for Linstor storage pools (#9770)
* linstor: enable discard for Linstor storage pools

All Linstor storage backends support discard, so it can be safely enabled.

* linstor: enable discard for Linstor storage pools CHANGELOG.md
2024-10-17 14:51:47 +05:30
dahn
44597724f5
make saml auth request option forceauthn configurable (#9756) 2024-10-16 10:45:18 +05:30
Wei Zhou
96610603ca
UI: fix unit tests (#9798) 2024-10-16 10:44:45 +05:30
Pearl Dsilva
017cf2c367
Filter list VMs by IP address (#9547) 2024-10-15 09:09:58 +02:00
Daniel Augusto Veronezi Salvador
0602f46d82 Fix Vue devServer after CSRF fix 2024-10-11 17:25:32 +02:00
Wei Zhou
5ab0a52d66 util: check JSESSIONID in cookies if user is passed 2024-10-11 17:24:34 +02:00
Daniel Augusto Veronezi Salvador
066d5bcbff Validate QCOW2 on upload and register 2024-10-11 17:24:16 +02:00
Daan Hoogland
7d70e32378 fix quota resource access validation 2024-10-11 17:24:05 +02:00
Daan Hoogland
ee0ab2ac9e Session Token Invalidation on Logout 2024-10-11 17:23:55 +02:00
Daan Hoogland
1af41585b7 Merge tag '4.18.2.4' into 4.18 2024-10-10 18:43:31 +02:00
Daan Hoogland
54b3519df1 Updating pom.xml version numbers for release 4.18.2.4
Signed-off-by: Daan Hoogland <daan@onecht.net>
4.18.2.4
2024-10-03 17:36:32 +02:00
Daniel Augusto Veronezi Salvador
8830d3aea1 Fix Vue devServer after CSRF fix 2024-10-03 17:35:54 +02:00
Wei Zhou
124d6b8b81 util: check JSESSIONID in cookies if user is passed 2024-10-03 17:35:54 +02:00
Daniel Augusto Veronezi Salvador
1861e78361 Validate QCOW2 on upload and register 2024-10-03 15:37:23 +02:00
Daan Hoogland
b97bd3bee1 fix quota resource access validation 2024-10-03 15:33:41 +02:00
Daan Hoogland
24d12f1327 Session Token Invalidation on Logout 2024-10-03 15:29:04 +02:00
João Jandre
e666dca403
linked clone for file based storage (#8911) 2024-10-02 13:15:29 -03:00
Pearl Dsilva
2e4dd69fa1
API: Fix listing Userdata by keyword or name (#9751) 2024-10-02 15:25:29 +02:00
Felipe
28f425a9f9
Hide UserData field from the EditVM view for VMs that do not offer it (#9731)
* added a v-if directive within the EditVm view to not show the field userdata if the vm's network does not offer the feature

* added the parameter listall:true to the requests made to listNetworks and listVirtualMachines
2024-10-01 17:37:47 -03:00
dahn
00fe5f1471
cleanup validations for VPN connection creation (#9195) 2024-10-01 13:55:31 +05:30
Wei Zhou
67ce326a8e
Fix ISO url in test_usage.py (#9739) 2024-09-28 08:54:45 +02:00
João Jandre
cb4713fabe Merge release branch 4.18 to 4.19
* 4.18:
  CKS: fix creation on shared network if HA is enabled (#8588)
2024-09-26 08:50:02 -03:00
Wei Zhou
bb820f799b
CKS: fix creation on shared network if HA is enabled (#8588) 2024-09-26 08:37:25 -03:00
Abhishek Kumar
53aa92199b
server: fix nfs version option during mount (#9559)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-09-25 16:47:16 +02:00
Wei Zhou
2398b5c8c9
server: apply network ACL even if there is no network ACLs in the ACL list (#9374) 2024-09-24 09:18:05 +02:00
Daan Hoogland
00bb9ecc0b Merge branch '4.18' into 4.19 2024-09-23 10:28:58 +02:00
dahn
d15a074425
Revert "list by displayname instead of name (#8503)" (#9720)
This reverts commit 2e9986c6a63af0d07e3c416153ddfdebb9a9a74d.
2024-09-23 10:26:29 +02:00
Vishesh
9df783ca4b
Filter out networks without access while getting networks with SG with free IPs (#9596) 2024-09-20 16:43:54 +02:00
Rohit Yadav
0a93dcec74
ui: load project list with minimum details (#9711)
This calls listProjects with details=min in the global header menu.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2024-09-20 08:53:28 -03:00
Wei Zhou
9ce7ef49cf
build/packaging: build tungsten plugin only if noredist is passed (#9006) 2024-09-20 10:17:12 +02:00
Felipe
ee1cd91e98
fixed an issue where requests to the api createDomain were being sent with the field networkdomain as an empty string whenever the user typed something in the form and cleared it causing an exception (#9637) 2024-09-20 09:59:38 +02:00
Oleg Chuev
727b3b0d5b
Removed deprecated instruction MAINTAINER (#8846)
Co-authored-by: dahn <daan@onecht.net>
Co-authored-by: Wei Zhou <weizhou@apache.org>
2024-09-20 09:28:46 +02:00
Fabricio Duarte
075f9811c4
[VMware] Make disk controller selection on volume attachment consistent with VM creation and start (#9636)
* Make volume attachment disk controller selection consistent with VM creation and start

* Update vmware-base/src/main/java/com/cloud/hypervisor/vmware/util/VmwareHelper.java

Co-authored-by: dahn <daan.hoogland@gmail.com>

* Choose disk controllers after converting osdefault

* Rename function

---------

Co-authored-by: dahn <daan.hoogland@gmail.com>
2024-09-19 14:54:30 -03:00
Wei Zhou
7f2ab635e9
lb: fix haproxy cannot start if algorithm is not lowercase (#9698) 2024-09-19 17:24:53 +05:30
Wei Zhou
50d7ebf5cf
UI: enable project menu on mobile (#9700) 2024-09-19 17:23:53 +05:30
Vishesh
e16a971511
Fix resource count discrepancy while associating IP address to a network or vpc (#9563) 2024-09-19 11:06:00 +02:00
Daan Hoogland
89482a2583 Merge release branch 4.18 to 4.19
* 4.18:
  list by displayname instead of name (#8503)
2024-09-18 17:30:14 +02:00
Abhishek Kumar
cfbdeba17c
refactor: cloud-sysvmadm script (#9200)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-09-18 13:44:43 +02:00
Nicolas Vazquez
a385ff1a21
UI: Fix VPC network offerings listing on VPC tier creation (#9557) 2024-09-18 13:04:12 +02:00
dahn
2e9986c6a6
list by displayname instead of name (#8503) 2024-09-18 12:44:25 +02:00
Wei Zhou
a8ab47bb27
CPVM: move focus on input area after clearing clipboard (#9669) 2024-09-17 15:53:33 +05:30
Fabricio Duarte
a0932b0f16
Restore listNetworks behavior & clean up the code (#9461)
Co-authored-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-09-09 17:07:50 +02:00
Bernardo De Marco Gonçalves
a93f7154a0
fix start VMs through group action (#9652) 2024-09-09 14:38:42 +02:00
Rene Peinthor
3f5a77ef58
Linstor: Fix migrate primary storage (#9528) 2024-09-09 10:01:41 +02:00