Commit Graph

4724 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
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
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
Pierre Charton 655080678d Bug on list of vm on the instances 2024-11-07 10:09:57 +01:00
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 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 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
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
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
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
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
Wei Zhou 5ab0a52d66 util: check JSESSIONID in cookies if user is passed 2024-10-11 17:24:34 +02:00
Daan Hoogland 7d70e32378 fix quota resource access validation 2024-10-11 17:24:05 +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 Dhellin 50a993c486 Factorized duplicated code 2024-10-07 12:25:42 +02:00
João Jandre e666dca403
linked clone for file based storage (#8911) 2024-10-02 13:15:29 -03:00
Matthias Dhellin 2d580ff462 Checked license 2024-10-01 23:49:37 +02:00
Matthias Dhellin 9c83c2bf1b Reorganized imports 2024-10-01 19:38:31 +02:00
Matthias Dhellin d21cd1273e Reorganized imports 2024-10-01 19:28:53 +02:00
Pierre Charton bf78e4ccf2 fix: spelling 2024-10-01 19:01:09 +02:00
Matthias e4ef1231a1
Merge branch 'apache:main' into Backroll 2024-09-30 18:01:20 +02:00
Wei Zhou 04c428cb2f
CKS: add ConfigDrive to cloud-init datasource_list in systemvm template (#7650)
* CKS: add ConfigDrive to cloud-init datasource_list in systemvm template

* systemvm template: update debian 11.7.0 iso url

* CKS: get K8S iso by LABEL=CDROM if config drive ISO is attached

* Revert "CKS: add ConfigDrive to cloud-init datasource_list in systemvm template"

This reverts commit b6863a5ce1.

* CKS: patch cloud-init in opt/cloud/bin/setup/cksnode.sh

* PR7650: move ConfigDrive before CloudStack in datasource list

* Revert "CKS: patch cloud-init in opt/cloud/bin/setup/cksnode.sh"

This reverts commit 75be03c6aa.

* CKS: fix ConfigDrive
2024-09-27 09:09:27 -03:00
João Jandre bf2cedea79 Merge branch 4.19 to main 2024-09-26 09:01:22 -03: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
mprokopchuk 4ce86711f9
PowerFlex on demand disable config key (#9664)
* Introduced configuration key "powerflex.connect.on.demand" to enable/disable PowerFlex on-demand connection from Host to Storage Pool feature.

* Update plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/manager/ScaleIOSDCManagerImpl.java

---------

Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
2024-09-26 13:07:18 +05:30
Vishesh 21d107c349
Merge branch '4.19' 2024-09-24 14:04:51 +05:30
Wei Zhou 9ce7ef49cf
build/packaging: build tungsten plugin only if noredist is passed (#9006) 2024-09-20 10:17:12 +02:00
João Jandre 41e7a2a689 Merge release branch 4.19 to main 2024-09-19 15:02:29 -03: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
mprokopchuk 1d4700a0bd
Provide encryption key for DATA volume type (in addition to ROOT) to copy volume. (#9663) 2024-09-12 13:03:23 -03:00
Pierre Charton beeef61e61 Merge branch 'Backroll' of https://github.com/DIMSI-IS/cloudstack into Backroll 2024-09-11 18:01:13 +02:00
Pierre Charton 56ab08f85a Fix pom and restoreBackedUpVolume 2024-09-11 18:01:05 +02:00
PeterBackroll bf9b4a7b4f
Merge branch 'apache:main' into Backroll 2024-09-10 18:29:50 +02:00
Pierre Charton 7012adf3f4 Fix styling and logging 2024-09-10 18:26:09 +02:00
Vishesh 0655075f51
Feature: Forgot password (#9509)
* Feature: Forgot password

* Address comments

* fixups

* Make forgot password disabled by default

* Apply suggestions from code review

* Address comments
2024-09-10 12:55:28 -03:00