Commit Graph

36882 Commits

Author SHA1 Message Date
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 2e9986c6a6.
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
Suresh Kumar Anaparti ebaf064d92
Fix root disk resize (don't allow) when service offering has root disk size, only allow through service offering change (#9428) 2024-09-06 10:45:28 +05:30
dahn 0fae0c021f
propagate sort order through retrieval sequence (#9624) 2024-09-05 09:37:30 +02:00
Wei Zhou dda9ef2dc8
UI: list vms with details=min when attach a volume to vm (#9634) 2024-09-04 18:44:19 +02:00
Rene Peinthor 97c1a86b64
linstor: update java-linstor dependency to 0.5.2 (#9632)
0.5.1 had a bug while retrieving the bestErrorMessage
for an apicall answer.
2024-09-04 15:15:56 +05:30
Rohit Yadav a851ee375c Merge remote-tracking branch 'origin/4.18' into 4.19
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2024-09-04 12:30:00 +05:30
Harikrishna 601e9b67ea
Fix snapshot deletion on template creation failure (#9239)
* Don't delete the snapshot itself on the primary storage upon any failure

* Change an if condition
2024-09-04 12:14:50 +05:30
Wei Zhou e06f80e899
storage: fix private templates are not copied to new image store (#9206)
```
2024-06-10T12:24:50,711 INFO  [o.a.c.s.i.TemplateServiceImpl] (qtp776484396-20:[ctx-eb090c22, ctx-5fa5579c]) (logid:7a783000) Template Sync did not find 211-2-d536fb03-5f89-3e77-8dea-323315bcbfab on image store 3, may request download based on available hypervisor types
...
2024-06-10T12:24:51,043 INFO  [o.a.c.s.i.TemplateServiceImpl] (qtp776484396-20:[ctx-eb090c22, ctx-5fa5579c]) (logid:7a783000) Skip sync downloading private template 211-2-d536fb03-5f89-3e77-8dea-323315bcbfab to a new image store

```
2024-09-04 12:02:03 +05:30
Vishesh 0ba9a292d5
Add validation for secstorage.allowed.internal.sites (#9567)
* Add validation for secstorage.allowed.internal.sites

* Address comments

* Apply suggestions from code review

Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>

* Address comments

---------

Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
2024-09-04 11:58:44 +05:30
Wei Zhou 1ca9a10912
VR: remove vpn user info when apply vpn users list (#9568)
Prior to this PR
```
root@r-663-VM:/var/cache/cloud# gzip -dk vpn_user_list.json.aae73e2c-32ba-44f3-bf47-426933a67bcb.gz
root@r-663-VM:/var/cache/cloud# /opt/cloud/bin/update_config.py vpn_user_list.json.aae73e2c-32ba-44f3-bf47-426933a67bcb
{'id': 'vpnuserlist', 'test': {'add': True, 'password': 'test', 'user': 'test'}}
{'vpn_users': [{'user': 'test', 'password': 'test', 'add': True}], 'type': 'vpnuserlist', 'delete_from_processed_cache': False}
 line = # Secrets for authentication using CHAP

 line = # client	server	secret			IP addresses

 line =

 line =

 line = test * test *
```

with this PR
```
root@r-663-VM:/var/cache/cloud# gzip -dk vpn_user_list.json.aae73e2c-32ba-44f3-bf47-426933a67bcb.gz
root@r-663-VM:/var/cache/cloud# /opt/cloud/bin/update_config.py vpn_user_list.json.aae73e2c-32ba-44f3-bf47-426933a67bcb
root@r-663-VM:/var/cache/cloud#
```
2024-09-04 11:57:28 +05:30
Abhishek Kumar 2143559020
server: fix volume migration check for local volume attach on a stopped (#9578)
vm

Fixes #8645

When a local storage volume is being attached to a stopped VM, volume
migration is only needed when it is not present on the last host as the
current host ID will be null in the database.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-09-04 11:56:17 +05:30
Suresh Kumar Anaparti b78aede2b7
Updated listStoragePools response - added new managed parameter (#9588) 2024-09-04 11:54:33 +05:30
Rene Peinthor 537c0a1e8d
linstor: set/unset allow-two-primaries and protocol on rc level (#9560) 2024-09-03 16:31:07 +05:30
Nicolas Vazquez abaf4b52ad
Fix VGPU available devices listing (#9573)
* Fix VGPU available devices listing

* Missing space

* Refactor
2024-09-02 21:04:06 -03:00
Abhishek Kumar 0204cb75e3
ui: show guest networks for guest vlans list (#9554)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-08-29 15:15:33 +02:00
Nicolas Vazquez b4325eccfb
Fix userdata append header restrictions (#9575) 2024-08-29 11:09:14 +02:00
Harikrishna 48e745cad2
Add certificate validation to check headers (#9255) 2024-08-28 11:36:44 +02:00
Suresh Kumar Anaparti 674129cd58
Update project account for all the events with project account owner, except for create project event (#9572) 2024-08-27 12:37:28 +02:00
Suresh Kumar Anaparti 6c0492366c
[VMware] Disconnect/Detach config drive ISO (if exists) on stop VM (#9468) 2024-08-27 11:11:01 +02:00
Suresh Kumar Anaparti 11497c601f
[VMware] Update data disk controller same as the root disk controller type when it is not set in the VM detail (#9433) 2024-08-27 11:10:28 +02:00
Suresh Kumar Anaparti 9148701285
[UI] Add project toggle for buckets (#9589) 2024-08-26 15:10:55 +02:00
Henrique Sato 2209702741
Fix usage volume size after resizing (#9459)
Co-authored-by: Henrique Sato <henrique.sato@scclouds.com.br>
2024-08-26 14:41:49 +02:00
Harikrishna de3537c98a
Added domain path to all entities (#9540) 2024-08-26 11:04:00 +02:00
Wei Zhou 0597def630
test: fix component tests test_acl_isolatednetwork and test_acl_isolatednetwork_delete (#9571)
* test: fix component tests test_acl_isolatednetwork and test_acl_isolatednetwork_delete

* Update test/integration/component/test_acl_isolatednetwork.py
2024-08-23 19:27:11 +02:00
dahn 1a403f1a9d
open up extra-config to all users (#9422) 2024-08-22 08:54:35 +02:00
nvazquez eaab991a44
Merge branch '4.18' into 4.19 2024-08-20 11:29:05 -03:00
Nicolas Vazquez 7a9bb835bc
Fix Template and ISO upload events (#9545) 2024-08-20 11:23:07 -03:00
Daan Hoogland 3d8d4875fe Merge release branch 4.18 to 4.19
* 4.18:
  linstor: Improve copyPhysicalDisk performance (#9417)
2024-08-20 11:19:44 +02:00