Skip to content

server: fix update vm with unconstrained offering#5828

Merged
sureshanaparti merged 1 commit into
apache:4.16from
shapeblue:fix-update-vm-unconst-off
Jan 13, 2022
Merged

server: fix update vm with unconstrained offering#5828
sureshanaparti merged 1 commit into
apache:4.16from
shapeblue:fix-update-vm-unconst-off

Conversation

@shwstppr
Copy link
Copy Markdown
Contributor

@shwstppr shwstppr commented Jan 6, 2022

Description

Fixes #5694

Verify custom params for VM while updating using existing CPU speed when the VM offering is of unconstrained type.

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?

@shwstppr shwstppr linked an issue Jan 6, 2022 that may be closed by this pull request
@shwstppr
Copy link
Copy Markdown
Contributor Author

shwstppr commented Jan 6, 2022

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Comment thread server/src/main/java/com/cloud/vm/UserVmManagerImpl.java Outdated
@blueorangutan
Copy link
Copy Markdown

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

@sureshanaparti
Copy link
Copy Markdown
Contributor

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

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

Copy link
Copy Markdown
Member

@weizhouapache weizhouapache left a comment

Choose a reason for hiding this comment

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

code LGTM

@sureshanaparti sureshanaparti added this to the 4.16.1.0 milestone Jan 6, 2022
@blueorangutan
Copy link
Copy Markdown

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

Test Result Time (s) Test File

Comment thread server/src/main/java/com/cloud/vm/UserVmManagerImpl.java Outdated
Copy link
Copy Markdown
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 behavior. LGTM.

Comment thread server/src/main/java/com/cloud/vm/UserVmManagerImpl.java Outdated
Comment thread server/src/main/java/com/cloud/vm/UserVmManagerImpl.java Outdated
@shwstppr
Copy link
Copy Markdown
Contributor Author

shwstppr commented Jan 7, 2022

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Comment thread server/src/main/java/com/cloud/vm/UserVmManagerImpl.java
@blueorangutan
Copy link
Copy Markdown

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

@sureshanaparti
Copy link
Copy Markdown
Contributor

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

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

@blueorangutan
Copy link
Copy Markdown

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

Test Result Time (s) Test File

Comment thread server/src/main/java/com/cloud/vm/UserVmManagerImpl.java Outdated
Fixes apache#5694

Signed-off-by: Abhishek Kumar <abhishek.kumar@shapeblue.com>
@shwstppr shwstppr force-pushed the fix-update-vm-unconst-off branch from bfc3cf5 to e28fb2f Compare January 10, 2022 08:04
@shwstppr
Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✖️ el7 ✖️ el8 ✖️ debian ✖️ suse15. SL-JID 2154

@sureshanaparti
Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

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

@sureshanaparti
Copy link
Copy Markdown
Contributor

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

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

@blueorangutan
Copy link
Copy Markdown

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

Test Result Time (s) Test File
test_01_add_primary_storage_disabled_host Error 0.63 test_primary_storage.py
test_01_primary_storage_nfs Error 0.11 test_primary_storage.py
ContextSuite context=TestStorageTags>:setup Error 0.20 test_primary_storage.py
test_03_deploy_and_scale_kubernetes_cluster Failure 33.96 test_kubernetes_clusters.py
test_07_deploy_kubernetes_ha_cluster Failure 54.27 test_kubernetes_clusters.py
test_08_upgrade_kubernetes_ha_cluster Failure 35.85 test_kubernetes_clusters.py
test_09_delete_kubernetes_ha_cluster Failure 27.74 test_kubernetes_clusters.py
ContextSuite context=TestKubernetesCluster>:teardown Error 118.75 test_kubernetes_clusters.py
test_01_secure_vm_migration Error 162.54 test_vm_life_cycle.py
test_02_unsecure_vm_migration Error 270.41 test_vm_life_cycle.py
test_03_secured_to_nonsecured_vm_migration Error 146.97 test_vm_life_cycle.py
test_08_migrate_vm Error 63.51 test_vm_life_cycle.py
test_02_list_snapshots_with_removed_data_store Error 8.53 test_snapshots.py
test_02_list_snapshots_with_removed_data_store Error 8.54 test_snapshots.py
test_hostha_enable_ha_when_host_in_maintenance Error 303.83 test_hostha_kvm.py

@apache apache deleted a comment from blueorangutan Jan 12, 2022
@sureshanaparti
Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

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

@sureshanaparti
Copy link
Copy Markdown
Contributor

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

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

@blueorangutan
Copy link
Copy Markdown

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

Test Result Time (s) Test File
test_disable_oobm_ha_state_ineligible Error 1512.28 test_hostha_kvm.py

@sureshanaparti
Copy link
Copy Markdown
Contributor

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

Test Result Time (s) Test File
test_disable_oobm_ha_state_ineligible Error 1512.28 test_hostha_kvm.py

failed test ^^^ not related to this PR changes.

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

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Can't change Setting on VM with Custom Unconstrained Compute Offering

7 participants