Skip to content

Conversation

@nvazquez
Copy link
Contributor

Description

This PR upgrades Tomcat embed version to the closest patched version according to the CVE
Fixes: #5969

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?

@nvazquez nvazquez added this to the 4.17.0.0 milestone Feb 22, 2022
@nvazquez
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

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

@nvazquez
Copy link
Contributor Author

@blueorangutan test

@blueorangutan
Copy link

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

@weizhouapache
Copy link
Member

tomcat is only used by rdpconsole. it has minor impact.
we can upgrade to latest tomcat 10.x or 8.5.75

@nvazquez
Copy link
Contributor Author

nvazquez commented Feb 22, 2022

I can explore the upgrade to 10.0.2 - had chosen 8.5.63 as its the closest patched version according to the CVE: GHSA-j39c-c8hj-x4j3

@blueorangutan
Copy link

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

Test Result Time (s) Test File
test_08_arping_in_ssvm Failure 5.18 test_diagnostics.py
test_09_arping_in_cpvm Failure 5.17 test_diagnostics.py
test_hostha_enable_ha_when_host_disabled Error 2.62 test_hostha_kvm.py
test_hostha_enable_ha_when_host_in_maintenance Error 306.03 test_hostha_kvm.py

@nvazquez
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

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

@weizhouapache
Copy link
Member

@blueorangutan test

@blueorangutan
Copy link

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

@weizhouapache
Copy link
Member

@nvazquez
do you know a way to test console proxy rdp client ?
it seems only available in hyperv environment.

@nvazquez nvazquez marked this pull request as ready for review February 23, 2022 16:49
@nvazquez
Copy link
Contributor Author

nvazquez commented Feb 23, 2022

Not aware @weizhouapache - checked and it seems to be only available on hyperv as you said

@blueorangutan
Copy link

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

Test Result Time (s) Test File

Copy link
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
I have no chance to test rdp client for hyperv which is the only component using tomcat in cloudstack.

Copy link
Member

@yadvr yadvr left a comment

Choose a reason for hiding this comment

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

Lgtm me need to check if this causes any regression in cpvm

@yadvr
Copy link
Member

yadvr commented Feb 24, 2022

@nvazquez @weizhouapache this will require manual testing of console for the main three hypervisors

@weizhouapache
Copy link
Member

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

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

@weizhouapache
Copy link
Member

@blueorangutan test matrix keepEnv

@blueorangutan
Copy link

@weizhouapache a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@blueorangutan
Copy link

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

Test Result Time (s) Test File

@blueorangutan
Copy link

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

Test Result Time (s) Test File
test_01_add_primary_storage_disabled_host Error 0.56 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_01_secure_vm_migration Error 149.21 test_vm_life_cycle.py
test_02_unsecure_vm_migration Error 270.02 test_vm_life_cycle.py
test_03_secured_to_nonsecured_vm_migration Error 141.89 test_vm_life_cycle.py
test_08_migrate_vm Error 41.73 test_vm_life_cycle.py
test_02_list_snapshots_with_removed_data_store Error 8.47 test_snapshots.py
test_02_list_snapshots_with_removed_data_store Error 8.47 test_snapshots.py
test_hostha_kvm_host_degraded Error 692.07 test_hostha_kvm.py
test_hostha_kvm_host_fencing Error 682.73 test_hostha_kvm.py

@blueorangutan
Copy link

Trillian test result (tid-3455)
Environment: vmware-65u2 (x2), Advanced Networking with Mgmt server 7
Total time taken: 35467 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6028-t3455-vmware-65u2.zip
Smoke tests completed. 92 look OK, 0 have errors
Only failed tests results shown below:

Test Result Time (s) Test File

@nvazquez
Copy link
Contributor Author

nvazquez commented Mar 2, 2022

@blueorangutan test

@blueorangutan
Copy link

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

@weizhouapache
Copy link
Member

@blueorangutan test centos7 vmware-70u3 keepEnv

@blueorangutan
Copy link

@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + vmware-70u3) has been kicked to run smoke tests

@weizhouapache
Copy link
Member

@blueorangutan test centos7 vmware-70u3 keepEnv

vm console works well

@blueorangutan
Copy link

@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + vmware-70u3) has been kicked to run smoke tests

@blueorangutan
Copy link

Trillian test result (tid-3474)
Environment: vmware-70u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34925 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6028-t3474-vmware-70u3.zip
Smoke tests completed. 92 look OK, 0 have errors
Only failed tests results shown below:

Test Result Time (s) Test File

@nvazquez nvazquez merged commit ef5c1df into apache:main Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

may need to upgrade tomcat-embed-core due to possible cve

5 participants