Skip to content

Fix deploy from ISO with custom disk offering#6441

Merged
nvazquez merged 1 commit intoapache:4.17from
shapeblue:fixdeployfromisosize
Jun 8, 2022
Merged

Fix deploy from ISO with custom disk offering#6441
nvazquez merged 1 commit intoapache:4.17from
shapeblue:fixdeployfromisosize

Conversation

@nvazquez
Copy link
Contributor

@nvazquez nvazquez commented Jun 6, 2022

Description

This PR fixes deploy from ISO with a custom disk offering, the size parameter is not honoured
Fixes: #6440

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?

Deploy VM from ISO - select custom disk offering
Deploy VM from template - select custom data disk offering

@sureshanaparti
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

@sureshanaparti a 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.

@nvazquez
Copy link
Contributor Author

nvazquez commented Jun 6, 2022

Removing the blocker tag, since there are 2 workarounds:

  • Pass the 'rootdisksize' parameter to the deployVM API
  • Use a fixed offering with the expected size

@nvazquez nvazquez modified the milestones: 4.17.0.0, 4.17.1.0 Jun 6, 2022
@nvazquez nvazquez changed the base branch from main to 4.17 June 6, 2022 12:08
Copy link
Contributor

@sureshanaparti sureshanaparti left a comment

Choose a reason for hiding this comment

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

Verified fix, LGTM.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 6, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link
Contributor

@Pearl1594 Pearl1594 left a comment

Choose a reason for hiding this comment

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

Verified. LGTM

@blueorangutan
Copy link

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3533

@sureshanaparti
Copy link
Contributor

@blueorangutan test

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Trillian test result (tid-4302)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 39399 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6441-t4302-kvm-centos7.zip
Smoke tests completed. 96 look OK, 1 have errors
Only failed tests results shown below:

Test Result Time (s) Test File
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Failure 456.48 test_vpc_redundant.py

@nvazquez nvazquez merged commit cb7cbec into apache:4.17 Jun 8, 2022
@nvazquez nvazquez linked an issue Jun 8, 2022 that may be closed by this pull request
@bugoff
Copy link

bugoff commented Jun 23, 2022

Hi, is it possible this issue still exists for templates? Do you want me to create a new issue for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI - Unable to create VM from ISO with custom disk offering Unable to deploy VM using ISO and custom disk offering

5 participants