You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "GaOrtiga (via GitHub)" <gi...@apache.org> on 2024/01/23 18:21:10 UTC
[PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
GaOrtiga opened a new pull request, #8557:
URL: https://github.com/apache/cloudstack/pull/8557
The algorithm `firstfitleastconsumed` orders the secondary storages based on how much free capacity each has and returns the first item of the list that has enough free capacity. However, the ordering of this list is inverted, putting the storages with the least free capacity at the top.
This behaviour has been adjusted, altering the order of the list to guarantee that the secondary storages with the most free capacity get allocated first.
### Types of changes
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] New feature (non-breaking change which adds functionality)
- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] Enhancement (improves an existing feature and functionality)
- [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
- [ ] build/CI
### Feature/Enhancement Scale or Bug Severity
#### Feature/Enhancement Scale
- [ ] Major
- [ ] Minor
#### Bug Severity
- [ ] BLOCKER
- [ ] Critical
- [ ] Major
- [X] Minor
- [ ] Trivial
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2593335149
@blueorangutan test
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-1976318008
@sureshanaparti is this ok now? do we need more testing?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2359226341
@GaOrtiga a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "JoaoJandre (via GitHub)" <gi...@apache.org>.
JoaoJandre commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2059015714
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2593344948
<b>[SF] Trillian Build Failed (tid-12111)<b/>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-1907432986
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2247791834
@JoaoJandre a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "JoaoJandre (via GitHub)" <gi...@apache.org>.
JoaoJandre commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2286987074
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2593016438
> @DaanHoogland test failures seem unrelated and also failed in other PRs, could we rerun or proceed with the merge?
@winterhazel , the kubernetes failures were an issue on main that should be fixed. I'm doing an extra round just to be sure about the pvlan error. I don't think it is related though.
ok?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2359337636
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11147
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2568839191
@blueorangutan test
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2567936633
@winterhazel a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2592981859
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "GaOrtiga (via GitHub)" <gi...@apache.org>.
GaOrtiga commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2359224537
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-1907431197
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-1907503116
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8428
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "winterhazel (via GitHub)" <gi...@apache.org>.
winterhazel commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2592794248
@DaanHoogland test failures seem unrelated and also failed in other PRs, could we rerun or proceed with the merge?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2361909367
@DaanHoogland a [LL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2571325482
<b>[SF] Trillian test result (tid-12035)</b>
Environment: kvm-ol8 (x2), Advanced Networking with Mgmt server ol8
Total time taken: 107360 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8557-t12035-kvm-ol8.zip
Smoke tests completed. 139 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_01_invalid_upgrade_kubernetes_cluster | `Failure` | 3721.71 | test_kubernetes_clusters.py
test_02_upgrade_kubernetes_cluster | `Failure` | 3639.49 | test_kubernetes_clusters.py
test_03_deploy_and_scale_kubernetes_cluster | `Failure` | 3646.34 | test_kubernetes_clusters.py
test_04_autoscale_kubernetes_cluster | `Failure` | 3641.96 | test_kubernetes_clusters.py
test_05_basic_lifecycle_kubernetes_cluster | `Failure` | 3652.30 | test_kubernetes_clusters.py
test_06_delete_kubernetes_cluster | `Failure` | 3637.52 | test_kubernetes_clusters.py
test_08_upgrade_kubernetes_ha_cluster | `Failure` | 3671.51 | test_kubernetes_clusters.py
test_10_vpc_tier_kubernetes_cluster | `Failure` | 3698.47 | test_kubernetes_clusters.py
test_create_pvlan_network | `Error` | 0.10 | test_pvlan.py
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2568042196
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11974
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "JoaoJandre (via GitHub)" <gi...@apache.org>.
JoaoJandre merged PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-1973700537
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8833
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "JoaoJandre (via GitHub)" <gi...@apache.org>.
JoaoJandre commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2059295558
@DaanHoogland @sureshanaparti @rohityadavcloud @shwstppr could we run the CI here?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-1934110678
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2059020100
@JoaoJandre a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "JoaoJandre (via GitHub)" <gi...@apache.org>.
JoaoJandre commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2247788269
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-1973563340
@GaOrtiga a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "winterhazel (via GitHub)" <gi...@apache.org>.
winterhazel commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2568047288
@DaanHoogland could we run the CI to proceed with the merge?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2593338534
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2593451781
<b>[SF] Trillian Build Failed (tid-12112)<b/>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "GaOrtiga (via GitHub)" <gi...@apache.org>.
GaOrtiga commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-1973560587
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2287056044
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 10639
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2248326053
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10462
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2078188112
<b>[SF] Trillian test result (tid-10013)</b>
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 50003 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8557-t10013-kvm-centos7.zip
Smoke tests completed. 126 look OK, 3 have errors, 0 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_01_events_resource | `Error` | 312.05 | test_events_resource.py
test_01_events_resource | `Error` | 312.06 | test_events_resource.py
test_04_deploy_vm_for_other_user_and_test_vm_operations | `Failure` | 94.86 | test_network_permissions.py
ContextSuite context=TestNetworkPermissions>:teardown | `Error` | 1.50 | test_network_permissions.py
test_hostha_enable_ha_when_host_disabled | `Error` | 4.99 | test_hostha_kvm.py
test_hostha_enable_ha_when_host_in_maintenance | `Error` | 304.10 | test_hostha_kvm.py
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on code in PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#discussion_r1464336958
##########
engine/storage/image/src/main/java/org/apache/cloudstack/storage/image/manager/ImageStoreProviderManagerImpl.java:
##########
@@ -179,52 +179,24 @@ public DataStore getRandomImageStore(List<DataStore> imageStores) {
@Override
public DataStore getImageStoreWithFreeCapacity(List<DataStore> imageStores) {
- if (imageStores.size() > 1) {
- imageStores.sort(new Comparator<DataStore>() { // Sort data stores based on free capacity
- @Override
- public int compare(DataStore store1, DataStore store2) {
- return Long.compare(_statsCollector.imageStoreCurrentFreeCapacity(store1),
- _statsCollector.imageStoreCurrentFreeCapacity(store2));
- }
- });
- for (DataStore imageStore : imageStores) {
- // Return image store if used percentage is less then threshold value i.e. 90%.
- if (_statsCollector.imageStoreHasEnoughCapacity(imageStore)) {
- return imageStore;
- }
- }
- } else if (imageStores.size() == 1) {
- if (_statsCollector.imageStoreHasEnoughCapacity(imageStores.get(0))) {
- return imageStores.get(0);
- }
+ List<DataStore> orderedImageStores = orderImageStoresOnFreeCapacity(imageStores);
Review Comment:
@GaOrtiga see if you can return image store with enough capacity as soon as one found (as earlier, at line#193 above), no need to check all the stores for enough capacity.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2593184953
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12089
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2597318850
<b>[LL]Trillian test result (tid-7055)</b>
Environment: kvm-rocky8 (x2), Advanced Networking with Mgmt server r8
Total time taken: 52493 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8557-t7055-kvm-rocky8.zip
Smoke tests completed. 138 look OK, 3 have errors, 0 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_11_isolated_network_with_dynamic_routed_mode | `Error` | 0.23 | test_ipv4_routing.py
test_12_vpc_and_tier_with_dynamic_routed_mode | `Error` | 3.27 | test_ipv4_routing.py
test_12_vpc_and_tier_with_dynamic_routed_mode | `Error` | 3.27 | test_ipv4_routing.py
test_02_list_cpvm_vm | `Failure` | 0.02 | test_ssvm.py
test_04_cpvm_internals | `Failure` | 0.02 | test_ssvm.py
test_01_redundant_vpc_site2site_vpn | `Failure` | 407.42 | test_vpc_vpn.py
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2076482843
> @sureshanaparti could you trigger the CI here? cc @DaanHoogland
sorry @BryanMLima , our lab is a bit tired at the moment. I first wanted to hear from @sureshanaparti if he is alright with the current state of the PR
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2592975477
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "GaOrtiga (via GitHub)" <gi...@apache.org>.
GaOrtiga commented on code in PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#discussion_r1465019618
##########
engine/storage/image/src/main/java/org/apache/cloudstack/storage/image/manager/ImageStoreProviderManagerImpl.java:
##########
@@ -179,52 +179,24 @@ public DataStore getRandomImageStore(List<DataStore> imageStores) {
@Override
public DataStore getImageStoreWithFreeCapacity(List<DataStore> imageStores) {
- if (imageStores.size() > 1) {
- imageStores.sort(new Comparator<DataStore>() { // Sort data stores based on free capacity
- @Override
- public int compare(DataStore store1, DataStore store2) {
- return Long.compare(_statsCollector.imageStoreCurrentFreeCapacity(store1),
- _statsCollector.imageStoreCurrentFreeCapacity(store2));
- }
- });
- for (DataStore imageStore : imageStores) {
- // Return image store if used percentage is less then threshold value i.e. 90%.
- if (_statsCollector.imageStoreHasEnoughCapacity(imageStore)) {
- return imageStore;
- }
- }
- } else if (imageStores.size() == 1) {
- if (_statsCollector.imageStoreHasEnoughCapacity(imageStores.get(0))) {
- return imageStores.get(0);
- }
+ List<DataStore> orderedImageStores = orderImageStoresOnFreeCapacity(imageStores);
Review Comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2288864671
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 10657
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2286987850
@JoaoJandre a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2361905574
@blueorangutan LLtest
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "BryanMLima (via GitHub)" <gi...@apache.org>.
BryanMLima commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2163653326
@DaanHoogland @sureshanaparti, could you trigger the CI here?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-1907361692
## [Codecov](https://app.codecov.io/gh/apache/cloudstack/pull/8557?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
All modified and coverable lines are covered by tests :white_check_mark:
> Comparison is base [(`1925040`)](https://app.codecov.io/gh/apache/cloudstack/commit/19250403e645c76f60b17aa4aeb4dc915f5ca206?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) 30.82% compared to head [(`2c01393`)](https://app.codecov.io/gh/apache/cloudstack/pull/8557?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) 4.39%.
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## main #8557 +/- ##
============================================
- Coverage 30.82% 4.39% -26.43%
============================================
Files 5341 361 -4980
Lines 375027 28626 -346401
Branches 54554 4993 -49561
============================================
- Hits 115592 1258 -114334
+ Misses 244155 27229 -216926
+ Partials 15280 139 -15141
```
| [Flag](https://app.codecov.io/gh/apache/cloudstack/pull/8557/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [simulator-marvin-tests](https://app.codecov.io/gh/apache/cloudstack/pull/8557/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
| [uitests](https://app.codecov.io/gh/apache/cloudstack/pull/8557/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `4.39% <ø> (ø)` | |
| [unit-tests](https://app.codecov.io/gh/apache/cloudstack/pull/8557/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
</details>
[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/cloudstack/pull/8557?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on code in PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#discussion_r1464336958
##########
engine/storage/image/src/main/java/org/apache/cloudstack/storage/image/manager/ImageStoreProviderManagerImpl.java:
##########
@@ -179,52 +179,24 @@ public DataStore getRandomImageStore(List<DataStore> imageStores) {
@Override
public DataStore getImageStoreWithFreeCapacity(List<DataStore> imageStores) {
- if (imageStores.size() > 1) {
- imageStores.sort(new Comparator<DataStore>() { // Sort data stores based on free capacity
- @Override
- public int compare(DataStore store1, DataStore store2) {
- return Long.compare(_statsCollector.imageStoreCurrentFreeCapacity(store1),
- _statsCollector.imageStoreCurrentFreeCapacity(store2));
- }
- });
- for (DataStore imageStore : imageStores) {
- // Return image store if used percentage is less then threshold value i.e. 90%.
- if (_statsCollector.imageStoreHasEnoughCapacity(imageStore)) {
- return imageStore;
- }
- }
- } else if (imageStores.size() == 1) {
- if (_statsCollector.imageStoreHasEnoughCapacity(imageStores.get(0))) {
- return imageStores.get(0);
- }
+ List<DataStore> orderedImageStores = orderImageStoresOnFreeCapacity(imageStores);
Review Comment:
@GaOrtiga see if you can return image store with enough capacity as soon as one found (as earlier at line#193), no need to check all the stores for enough capacity.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2059179177
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 9278
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2059317633
ping @sureshanaparti
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2076484686
@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2076483154
@blueorangutan test
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "BryanMLima (via GitHub)" <gi...@apache.org>.
BryanMLima commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2074988854
@sureshanaparti could you trigger the CI here?
cc @DaanHoogland
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "winterhazel (via GitHub)" <gi...@apache.org>.
winterhazel commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2567934663
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix ordering of secondary storages with the algorithm `firstfitleastconsumed` [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8557:
URL: https://github.com/apache/cloudstack/pull/8557#issuecomment-2568840940
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org