Commit Graph

37274 Commits

Author SHA1 Message Date
Pierre Charton bd0bc0f39d Don't delete backup when we dissociate backup offering 2024-11-15 11:13:26 +01:00
Pierre Charton 4e0ea82bcb Merge remote-tracking branch 'upstream/main' into Backroll-dev 2024-11-07 18:18:34 +01:00
Daan Hoogland f7b7339bcf Merge branch '4.19' 2024-11-07 11:33:50 +01:00
Pierre Charton 36f935d1b5 Merge branch 'Backroll-dev' of https://github.com/DIMSI-IS/cloudstack into Backroll-dev 2024-11-07 11:27:36 +01:00
Rohit Yadav 5b7c86aa45 Merge remote-tracking branch 'origin/4.18' into 4.19
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2024-11-07 14:51:43 +05:30
Wei Zhou 896b8bfabf
VR: fix wrong check when compare two configuration files (#9822) 2024-11-07 14:48:02 +05:30
Rene Peinthor 371e244375
linstor: fix live migrate on non-hyperconverged setups (#9832)
In non-hyperconverged setups, diskless nodes don't have a connection
to each other, so setting properties there had no effect.
Now it is checked if a connection exists,
between the live migration nodes and if not,
it will set the allow-two-primaries on resource-definition level.
2024-11-07 14:46:32 +05:30
Abhisar Sinha 22c6f08f77
engine-storage: Set SecretConsumerDetail for VM live migration with storage on shared NFS (#9222)
* engine-storage-datamotion: Set SecretConsumerDetail for VM live migration with storage on shared NFS

* VM live migration - powerflex encrypted volume

* rename isPowerFlex
2024-11-07 14:45:04 +05:30
Henrique Sato a6e9aec769
Fix Kubernetes cluster listing when user is unable to scale (#9867)
Co-authored-by: Henrique Sato <henrique.sato@scclouds.com.br>
2024-11-07 14:42:15 +05:30
Pierre Charton 655080678d Bug on list of vm on the instances 2024-11-07 10:09:57 +01:00
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
Pierre Charton 5eae84851a divers 2024-11-05 21:12:36 +01:00
Pierre Charton 82b503e9f6 Fix deserialization + fix connection stability 2024-11-05 21:09:50 +01:00
João Jandre 8af08ddafb Merge branch '4.19' 2024-11-04 08:58:48 -03:00
slavkap be247334a7
StorPool: fix of delete snapshot (#9855)
* StorPool: fix of delete snapshot

Mark the DB record as destroyed when a snapshot is deleted

* Addressed reviews

* addressed review

* addressed review
2024-11-04 08:52:02 -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
Pierre Charton 9ceb10649e Fix communication between CS and Backroll 2024-10-30 16:44:53 +01:00
Pierre Charton 3e90f8e460 WIP 2024-10-28 20:38:20 +01:00
Pierre Charton 6a690b7431 Revert "WIP error handling"
This reverts commit 01c2238e45.
2024-10-21 17:33:48 +02:00
Pierre Charton e9cbe0ed6a Revert "Refactoring error handling"
This reverts commit d37a35b489.
2024-10-21 17:33:21 +02:00
Fabricio Duarte 175eed294c
Fix primary storage update form not showing existing values (#9809) 2024-10-18 14:54:50 +05:30
Wei Zhou 019f2c60ce
server: fix vm_stats records are not removed if batchsize is 0 (#9818) 2024-10-18 14:52:46 +05:30
Rohit Yadav 20901c7443 Merge remote-tracking branch 'origin/4.19' 2024-10-17 14:53:26 +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
Wei Zhou 627784eaf6
packaging: add libvirt-daemon-driver-storage-rbd as cloudstack-agent dependency (#9799) 2024-10-17 14:47:08 +05:30
Rohit Yadav 46201ee043 Merge remote-tracking branch 'origin/4.19' 2024-10-16 10:50:23 +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
Matthias Dhellin d37a35b489 Refactoring error handling 2024-10-15 22:53:13 +02:00
Matthias Dhellin 01c2238e45 WIP error handling 2024-10-15 18:52:29 +02:00
Wei Zhou f10d9fecbe
fix forward-merge errors 2024-10-15 09:21:33 +02:00
Pearl Dsilva 843c1950e7
Fix Listing backup schedules (#9749) 2024-10-15 09:12:10 +02:00
Lucas Martins c0add074ac
Fix `updateTemplatePermission` when the UI is set to a language other than English (#9766)
* Fix updateTemplatePermission UI in non-english language

* Improve fix

---------

Co-authored-by: Lucas Martins <lucas.martins@scclouds.com.br>
2024-10-15 09:12:10 +02:00
Wei Zhou bcc81799ea
Merge remote-tracking branch 'apache/4.19' into main 2024-10-15 09:11:59 +02:00
Pearl Dsilva 017cf2c367
Filter list VMs by IP address (#9547) 2024-10-15 09:09:58 +02:00
João Jandre 554ea220f0 Fix merge errors 2024-10-11 14:12:18 -03:00
Daan Hoogland dbfc7f23a7 Merge branch '4.19' 2024-10-11 17:59:46 +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
Matthias Dhellin 8e3c8f7be5 Naming 2024-10-07 18:02:56 +02:00
Matthias Dhellin 561b9b6a1f Refactored some null checks 2024-10-07 17:32:12 +02:00
Matthias Dhellin e4b212f30e Extracted string constants 2024-10-07 17:17:17 +02:00
Matthias Dhellin 63bdc0ffa2 Factorized duplicated code 2024-10-07 16:57:27 +02:00
Matthias 1d7ca77a5c
Merge branch 'apache:main' into Backroll 2024-10-07 14:20:03 +02:00
Matthias Dhellin 50a993c486 Factorized duplicated code 2024-10-07 12:25:42 +02:00