Commit Graph

35921 Commits

Author SHA1 Message Date
Harikrishna Patnala 619e753577 Removed unused unittests 2023-05-31 17:14:31 +05:30
Harikrishna Patnala 2443a17b00 Allow multiple Volumes to be migrated with migrateVirtualMachineWithVolume API 2023-05-31 17:12:37 +05:30
Harikrishna Patnala 0b30884e37 Offline storage migration for scaleio encrypted volumes 2023-05-31 17:12:37 +05:30
Harikrishna Patnala c254d3b3dd Data volume offline migration: save encryption details to destination volume entry 2023-05-31 17:12:37 +05:30
Harikrishna Patnala 3d70877b50 Fix UI notifications for migrate volume 2023-05-31 17:12:37 +05:30
Harikrishna Patnala de123c4268 Support for migration of encrypted volumes across different scaleio clusters 2023-05-31 17:12:37 +05:30
Harikrishna Patnala 4849ef8e3c Added more integration tests 2023-05-31 17:12:37 +05:30
Harikrishna Patnala 9406a0578b Fixed offline volume migration case and allowed encrypted volume migration 2023-05-31 17:12:35 +05:30
Harikrishna Patnala b543aeba5a Unit tests for volume livemigration in ScaleIOPrimaryDataStoreDriver 2023-05-31 17:12:06 +05:30
Harikrishna Patnala dedd104d48 Unit tests to check if volume belongs to same or different storage scaleio cluster 2023-05-31 17:12:04 +05:30
Harikrishna Patnala 32c083ded3 removed unused imports 2023-05-31 17:11:40 +05:30
Harikrishna Patnala f0aad3e09b Removed unused methods 2023-05-31 17:11:40 +05:30
Harikrishna Patnala 89dd4fd1d7 code refactoring and some changes 2023-05-31 17:11:40 +05:30
Harikrishna Patnala b7a7fd2692 Fixed failures 2023-05-31 17:11:40 +05:30
Harikrishna Patnala 46f5df0db0 Formatting code 2023-05-31 17:11:40 +05:30
Harikrishna Patnala 1f407dd14f Checking block copy status 2023-05-31 17:11:40 +05:30
Harikrishna Patnala 0572d51f05 working blockcopy api in libvirt 2023-05-31 17:11:40 +05:30
Harikrishna Patnala 5ffb415792 Pivot changes 2023-05-31 17:11:40 +05:30
Harikrishna Patnala de1d6c2586 recent changes 2023-05-31 17:11:40 +05:30
Harikrishna Patnala 78def433cc Fixed uuid 2023-05-31 17:11:40 +05:30
Harikrishna Patnala 61b451a20c Recent changes of migration across clusters 2023-05-31 17:11:40 +05:30
Harikrishna Patnala c49b37f4a5 Added migrate command 2023-05-31 17:11:40 +05:30
Harikrishna Patnala 79bdc62665 Live storage migration of volume in scaleIO within same storage scaleio cluster 2023-05-31 17:11:40 +05:30
John Bampton 8d6241fb1b
Enable two more `flake8` rules (#7552) 2023-05-31 10:49:53 +02:00
Nicolas Vazquez 2457d202dd
Fix acquire console session issue (#7558)
* Fix acquire console session issue

* Refactor
2023-05-26 07:20:45 +05:30
Abhishek Kumar 0c13024329
refactor: remove duplicate inject (#7548)
VolumeDao has been injected twice. This PR removes and refactors injection.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2023-05-26 07:19:54 +05:30
Rohit Yadav ce44ff4148 Merge remote-tracking branch 'origin/4.18' 2023-05-25 22:16:16 +05:30
Rohit Yadav 4138ca7c5d systemvmtemplate: fix Debian 11.7.0 ISO URL
Fixes systemvmtemplate build issue

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2023-05-25 22:15:28 +05:30
Abhishek Kumar 8849e0f464
server: fix volume detach operation when no vm host (#7526)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2023-05-25 15:48:27 +02:00
Rohit Yadav 47af432745 Merge remote-tracking branch 'origin/4.18' 2023-05-25 17:51:01 +05:30
Rohit Yadav 2b3e2e48a0
ui: show zones and offerings to users (#7557)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2023-05-25 13:44:44 +02:00
Vishesh 48af4625a2
Fix end of file precommit for TemplateServiceImplTest.java (#7561) 2023-05-25 13:11:09 +02:00
Abhishek Kumar 8ff0071bec
ui,api: make description option for createKubernetesCluster (#7541)
Make the description for createKubernetesCLuster API optional. Similar to #7180

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2023-05-25 15:22:58 +05:30
John Bampton b0d7a20d5d
CONTRIBUTING.md: remove unneeded whitespace from start of code blocks (#7553) 2023-05-25 12:46:49 +05:30
nvazquez 0024cb0372
Merge branch '4.18' 2023-05-24 11:01:10 -03:00
Nicolas Vazquez 5e71cea2c5
Fix Tungsten Fabric errors on adding a new zone due to duplicated entries on ntwk_service_map (#7455)
* Fix Tungsten Fabric errors on adding a new zone due to duplicated entries on ntwk_service_map

* Address review comments
2023-05-24 11:00:29 -03:00
SadiJr 43a5d6260f
Enable CPU cap in VRs (#7234)
Co-authored-by: SadiJr <sadi@scclouds.com.br>
2023-05-23 22:39:42 +02:00
maheshnikam c9b103c8a7
agent: Update DhcpProtocolParserServer.java (#7488)
This PR... removed commented code.
2023-05-23 11:16:26 +05:30
Ben 3e8c0684ed
Prometheus: Ensure tagged hosts maintenance status is reported consistently (#7471)
When a host is not tagged, its maintenance status is reported in the
cloudstack_hosts_total metric: maintenance_enabled is OFFLINE,
maintenance_disabled is ONLINE.

When a host is tagged, its maintenance status is now also verified to
ensure consistent behaviour.

In prometheus exporter, maintenance status for cloudstack_hosts_total_by_tag is not checked. While it is checked for cloudstack_hosts_total metric.
Classified by_tag or not, metrics should be the same.

Fixes: #7470
2023-05-23 11:14:43 +05:30
maheshnikam 257c0929cf
Modified the link in readme file (#7329)
* Modified the link in readme file

Enhancement. Modified the link in section Notice of cryptographic software.

* Apply suggestions from code review

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

---------

Co-authored-by: dahn <daan.hoogland@gmail.com>
2023-05-23 11:07:44 +05:30
John Bampton 11d45654a6
misc: fix spelling (#7206)
This PR fixes spellings
2023-05-23 11:06:16 +05:30
Rohit Yadav 1bd47d38cb .asf.yaml: fix typo
And also dummy commit to kick Github Actions

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2023-05-20 20:15:17 +05:30
Rohit Yadav 9c690280a3 .asf.yaml: update repo labels
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2023-05-20 20:13:40 +05:30
Abhishek Kumar 22871ad2da
ui: fix infocard tempalte, iso fields (#7527)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2023-05-12 18:40:11 +02:00
Abhishek Kumar 32caf9057e
engine-storage: fix errored template becomes active (#7485)
* engine-storage: fix errored template becomes active

Fixes #7342

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>

* test

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>

---------

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2023-05-12 15:23:16 +02:00
Abhishek Kumar c47554919c
ui: fix tags for security group rules (#7424)
Fixes #7412

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2023-05-12 13:31:57 +02:00
Vishesh 83fd75f707
Marvin: Fix deployDataCenter's cleanup (#7521) 2023-05-12 10:46:52 +02:00
Rohit Yadav 2f309b573b Merge remote-tracking branch 'origin/4.18' 2023-05-12 12:58:49 +05:30
Abhishek Kumar 44024a8a8b
github-actions: fix ui build workflow (#7522)
package-lock.json is not removed.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2023-05-12 12:54:23 +05:30
Oscar Sandoval b6443a2b1f
increase log detail for limit checking, fix getDomainReservation() (#7506)
In troubleshooting ops issues we see logs like:

Maximum domain resource limits of Type 'user_vm' for Domain Id = 763 is exceeded: Domain Resource Limit = (1 bytes) 1, Current Domain Resource Amount = (0 bytes) 0, Requested Resource Amount = (1 bytes) 1."

However there is one missing value (currentResourceReservation) that is used in the calculation of limit check but it is not logged, which leads to confusion. Above we see we are using “0” and requested 1, with our limit being 1, but was rejected. Without logging all the values used in the calculation we don’t understand why it failed.

Additionally, if we had this log above it would be clearer that a second bug is occurring. When we query for domain level resource reservations in “getDomainReservation” the actual SearchBuilder is the listAccountAndTypeSearch, not the listDomainAndTypeSearch. As a result, when we call getDomainReservation the query returns any outstanding domain reservation for any account, as domain ID is not a valid filter for the account search.

This PR:

Increases detailed information in log for checking resource limit to include reservations information for functions: checkDomainResourceLimit() and checkAccountResourceLimit

Fixes getDomainReservation() to use listDomainAndTypeSearch instead of listAccountAndTypeSearch

Co-authored-by: Oscar Sandoval <osandovalocana@apple.com>
2023-05-12 12:53:18 +05:30