Add console session cleanup task#7132
Conversation
|
@blueorangutan package |
|
@nvazquez 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. |
DaanHoogland
left a comment
There was a problem hiding this comment.
looks mostly good,
one debatable remark/implementation style discusion to be had.
api/src/main/java/org/apache/cloudstack/consoleproxy/ConsoleAccessManager.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/apache/cloudstack/consoleproxy/ConsoleAccessManagerImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/apache/cloudstack/consoleproxy/ConsoleAccessManagerImpl.java
Outdated
Show resolved
Hide resolved
api/src/main/java/org/apache/cloudstack/consoleproxy/ConsoleAccessManager.java
Outdated
Show resolved
Hide resolved
api/src/main/java/org/apache/cloudstack/consoleproxy/ConsoleAccessManager.java
Outdated
Show resolved
Hide resolved
engine/schema/src/main/java/com/cloud/vm/dao/ConsoleSessionDaoImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/apache/cloudstack/consoleproxy/ConsoleAccessManagerImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/apache/cloudstack/consoleproxy/ConsoleAccessManagerImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/apache/cloudstack/consoleproxy/ConsoleAccessManagerImpl.java
Outdated
Show resolved
Hide resolved
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 5401 |
|
Thanks @DaanHoogland @weizhouapache @GutoVeronezi - I've addressed your review comments |
|
@blueorangutan package |
|
@nvazquez 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. |
server/src/main/java/org/apache/cloudstack/consoleproxy/ConsoleAccessManagerImpl.java
Show resolved
Hide resolved
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 5406 |
|
@blueorangutan package |
|
@nvazquez 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. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 5407 |
weizhouapache
left a comment
There was a problem hiding this comment.
Code LGTM
Not tested yet
|
@blueorangutan package |
|
@nvazquez 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. |
Codecov Report
@@ Coverage Diff @@
## main #7132 +/- ##
=============================================
+ Coverage 6.56% 11.86% +5.29%
+ Complexity 8441 7734 -707
=============================================
Files 4361 2512 -1849
Lines 370925 246872 -124053
Branches 47614 38502 -9112
=============================================
+ Hits 24360 29289 +4929
+ Misses 343630 213729 -129901
- Partials 2935 3854 +919
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 5409 |
|
Thanks for reviewing @GutoVeronezi @DaanHoogland, conflicts fixed |
|
@nvazquez 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. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 5456 |
|
@blueorangutan test |
|
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
@blueorangutan package |
|
@nvazquez 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. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 5461 |
|
SonarCloud Quality Gate failed. |
|
@blueorangutan test |
|
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-6041)
|
|
@blueorangutan test |
|
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-6057)
|
|
@GutoVeronezi is this lgty now? |
|
Trillian test result (tid-6058)
|
|
Tests LGTM. |
@DaanHoogland, in overall it looks good; I pointed out a change that could be interesting to discuss before merging this one: #7132 (comment) cc: @nvazquez |
right, I knew there was a reason I didn´t merge this yet ;) |
|
Thanks @GutoVeronezi I would prefer to merge this PR as it is to not keep blocking 4.18 at this point, and have created an improvement request for the change on: #7159 |
@nvazquez |
Right, thanks @nvazquez |








Description
This PR adds a console session cleanup task after changes introduced on PR #7094
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?