Skip to content

Conversation

@rp-
Copy link
Contributor

@rp- rp- commented Sep 8, 2023

Description

This fixes the root disk from templates not resized by Linstor if the compute offering specifies a different
root disk size. Also described in the linked issue.

It would also be good if this could merged into a 4.18. bugfix release.

Fixes: #7934

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • 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)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

Local cloudstack cluster with Linstor as primary storage.

@codecov
Copy link

codecov bot commented Sep 8, 2023

Codecov Report

Merging #7952 (ba44a93) into 4.18 (f049f54) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               4.18    #7952      +/-   ##
============================================
- Coverage     13.06%   13.06%   -0.01%     
  Complexity     9097     9097              
============================================
  Files          2720     2720              
  Lines        257465   257470       +5     
  Branches      40145    40146       +1     
============================================
  Hits          33635    33635              
- Misses       219603   219608       +5     
  Partials       4227     4227              
Files Changed Coverage Δ
...tore/driver/LinstorPrimaryDataStoreDriverImpl.java 0.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@rohityadavcloud
Copy link
Member

@rp- can you raise this on 4.18 branch?

@rohityadavcloud rohityadavcloud changed the base branch from main to 4.18 September 11, 2023 08:40
@rohityadavcloud rohityadavcloud changed the base branch from 4.18 to main September 11, 2023 08:40
@rp- rp- changed the base branch from main to 4.18 September 11, 2023 09:34
@rp- rp- force-pushed the linstor/fix-root-disk-resize-missing branch from 3165e01 to 9219d27 Compare September 11, 2023 09:38
@rp-
Copy link
Contributor Author

rp- commented Sep 11, 2023

@rohityadavcloud done

@rp- rp- force-pushed the linstor/fix-root-disk-resize-missing branch from 9219d27 to ba44a93 Compare September 11, 2023 14:13
@rohityadavcloud rohityadavcloud added this to the 4.18.2.0 milestone Sep 11, 2023
@rohityadavcloud
Copy link
Member

Thanks @rp-
@blueorangutan package

@blueorangutan
Copy link

@rohityadavcloud a [SF] 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.

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7017

@DaanHoogland
Copy link
Contributor

@blueorangutan test

@blueorangutan
Copy link

@DaanHoogland a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan
Copy link

[SF] Trillian test result (tid-7669)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 45402 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7952-t7669-kvm-centos7.zip
Smoke tests completed. 107 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_08_upgrade_kubernetes_ha_cluster Failure 3649.39 test_kubernetes_clusters.py
test_09_delete_kubernetes_ha_cluster Failure 0.07 test_kubernetes_clusters.py
ContextSuite context=TestKubernetesCluster>:teardown Error 293.59 test_kubernetes_clusters.py

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clgtm

@DaanHoogland
Copy link
Contributor

insanity:
@blueorangutan test

@blueorangutan
Copy link

@DaanHoogland a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan
Copy link

[SF] Trillian test result (tid-7684)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 47724 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7952-t7684-kvm-centos7.zip
Smoke tests completed. 107 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_08_upgrade_kubernetes_ha_cluster Failure 701.81 test_kubernetes_clusters.py

Copy link
Member

@rohityadavcloud rohityadavcloud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - didn't test it yet, can confirm testing by next weekend (my test gear needs new disks to test a fresh linstor cluster)

@DaanHoogland DaanHoogland merged commit 96205a5 into apache:4.18 Oct 2, 2023
@rp-
Copy link
Contributor Author

rp- commented Oct 2, 2023

will this also cherry-picked into 4.19.?

@DaanHoogland
Copy link
Contributor

:) patience my young paduan

shwstppr pushed a commit to shapeblue/cloudstack that referenced this pull request Oct 12, 2023
@rp- rp- deleted the linstor/fix-root-disk-resize-missing branch February 5, 2024 08:37
rohityadavcloud pushed a commit to shapeblue/cloudstack that referenced this pull request Mar 31, 2024
rp- added a commit to LINBIT/cloudstack that referenced this pull request May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linstor root disk does not use size per offering or resize

4 participants