-
Notifications
You must be signed in to change notification settings - Fork 1.2k
noVNC console integration #3967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Packaging result: ✖centos6 ✔centos7 ✔debian. JID-1053 |
49b94fc to
7aba8b1
Compare
|
Packaging result: ✖centos6 ✔centos7 ✔debian. JID-1054 |
7aba8b1 to
f246c43
Compare
|
Packaging result: ✖centos6 ✔centos7 ✔debian. JID-1065 |
|
@ustcweizhou I've created this to use a java websocket proxy which supports client metrics reporting. Could you provide your comments |
|
@davidjumani cooooool. |
|
@rhtyd It's all good from my end, any comments ? |
|
@blueorangutan package |
|
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔debian. JID-1094 |
nvazquez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @davidjumani. I have tested manually and works nice. I have left some few comments and also wondering if we could include a jar instead of the noVNC codebase on the console proxy VM and serve it. Otherwise LGTM
| if (param.getHypervHost() != null || !ConsoleProxyManager.NoVncConsoleDefault.value()) { | ||
| sb.append("/ajax?token=" + encryptor.encryptObject(ConsoleProxyClientParam.class, param)); | ||
| } else { | ||
| sb.append("/resource/noVNC/vnc_lite.html?port=" + ConsoleProxyManager.DEFAULT_NOVNC_PORT + "&token=" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wanted a simpler, minimalist UI, can add this when we get multi lingual keyboard working
| public static final String CERTIFICATE_NAME = "CPVMCertificate"; | ||
|
|
||
| public static final ConfigKey<Boolean> NoVncConsoleDefault = new ConfigKey<Boolean>("Advanced", Boolean.class, "novnc.console.default", "true", | ||
| "If true, noVNC console will be default console for virtual machines", true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be disabled by default at least until all hypervisors tested working properly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested it on KVM, VMware and Xen and it works fine!
|
@blueorangutan package |
|
@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔debian. JID-1104 |
|
@blueorangutan test |
1 similar comment
|
@blueorangutan test |
|
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
@blueorangutan help |
|
@vladimirpetrov I understand these words: "help", "hello", "thanks", "package", "test" Blessed contributors for kicking Trillian test jobs: ['rhtyd', 'nvazquez', 'PaulAngus', 'borisstoyanov', 'DaanHoogland', 'shwstppr', 'andrijapanicsb', 'Spaceman1984', 'Pearl1594', 'davidjumani', 'harikrishna-patnala', 'vladimirpetrov'] |
|
@blueorangutan package |
|
@blueorangutan package |
|
@vladimirpetrov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
@blueorangutan package |
|
@vladimirpetrov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔debian. JID-1168 |
|
@blueorangutan test |
|
@andrijapanicsb a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-1531)
|
|
Packaging result: ✔centos7 ✔debian. JID-1229 |
|
Packaging result: ✔centos7 ✔debian. JID-1230 |
andrijapanicsb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
tested manually as well.
|
Travis log length exceeded - otherwise LGMT Merging based on 2 x LGTMs, manual testing by 2 persons (Vladimir and me) and the regression test results passing 100%. |
|
@davidjumani please have a look at https://builds.apache.org/job/cloudstack-pr-analysis/10377/artifact/target/rat.txt or equivalent of any new PR. it seems we missed some licensing checks on this PR. |
* Adding noVNC repo * Adding support for noVNC * Adding Ctl+Esc * Removing device name from novnc header
* Adding noVNC repo * Adding support for noVNC * Adding Ctl+Esc * Removing device name from novnc header
* Adding noVNC repo * Adding support for noVNC * Adding Ctl+Esc * Removing device name from novnc header


Description
This feature provides novnc console for virtual machines.
It is developed based on noVNC 1.1.0
It includes changes in cloudstack :
(1) add a new websocket proxy to interact with the noVNC console
(2) a ConsoleProxyClient to read / write data from the vm vnc to the websocket.
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
(1) Works on kvm / ubuntu / centos
(2) Works on xs 75
(3) Works on VMware 6.5