Skip to content

Conversation

@davidjumani
Copy link
Contributor

@davidjumani davidjumani commented Sep 12, 2020

Description

Updating noVNC v1.2.0

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)

Screenshots (if appropriate):

Screenshot from 2020-09-12 23-38-48

FullScreen mode

Screenshot from 2020-09-12 23-38-56

Paste into console

Screenshot from 2020-09-12 23-39-07
Screenshot from 2020-09-12 23-39-14

Additional keys

Screenshot from 2020-09-12 23-39-26

@davidjumani
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✖centos7 ✖centos8 ✖debian. JID-1972

@blueorangutan
Copy link

Packaging result: ✖centos7 ✖centos8 ✖debian. JID-1973

@blueorangutan
Copy link

Packaging result: ✖centos7 ✖centos8 ✖debian. JID-1974

@rohityadavcloud
Copy link
Member

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✖centos7 ✖centos8 ✖debian. JID-1975

@blueorangutan
Copy link

Packaging result: ✔centos7 ✖centos8 ✖debian. JID-1976

@rohityadavcloud
Copy link
Member

third time's a charm
@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✖centos7 ✔centos8 ✔debian. JID-1979

@davidjumani davidjumani force-pushed the update-novnc branch 5 times, most recently from d59c8a0 to 4c8b360 Compare September 13, 2020 11:40
@davidjumani
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

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

@davidjumani davidjumani marked this pull request as ready for review September 14, 2020 08:46
@davidjumani
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✖centos7 ✖centos8 ✔debian. JID-1995

@shwstppr
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2002

@shwstppr
Copy link
Contributor

@rhtyd there are couple of more issues (Chrome incognito, clipboard characters). Already discussed with @davidjumani

@davidjumani davidjumani force-pushed the update-novnc branch 3 times, most recently from 2bc0e64 to 5d6f120 Compare September 18, 2020 09:49
@davidjumani
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2047

@rohityadavcloud
Copy link
Member

@blueorangutan test

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Trillian test result (tid-2799)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 44605 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4323-t2799-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_internal_lb.py
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_supported_versions.py
Intermittent failure detected: /marvin/tests/smoke/test_pvlan.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermittent failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 83 look OK, 2 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_create_pvlan_network Error 0.04 test_pvlan.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Failure 366.45 test_vpc_redundant.py

Copy link
Contributor

@shwstppr shwstppr left a comment

Choose a reason for hiding this comment

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

LGTM. Tested with KVM env. UI issues mentioned earlier are fixed. Console working fine on incognito mode for different browsers (was seeing some regression earlier). Clipboard functionality working okay.

@rohityadavcloud rohityadavcloud added this to the 4.15.0.0 milestone Sep 21, 2020
@rohityadavcloud
Copy link
Member

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2055

@rohityadavcloud
Copy link
Member

Manually testing and verifying against VMware env

@davidjumani
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✔centos7 ✖centos8 ✔debian. JID-2059

@rohityadavcloud
Copy link
Member

Tested against VMware, LGTM
Screenshot looks like this:
Screenshot from 2020-09-22 17-39-09

Button/clipboard options work as expected:
Screenshot from 2020-09-22 17-39-16
Screenshot from 2020-09-22 17-39-22

Copy link
Member

@rohityadavcloud rohityadavcloud left a comment

Choose a reason for hiding this comment

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

LGTM, noVNC dependency upgrades and button toolbar

@rohityadavcloud rohityadavcloud merged commit c06e7de into apache:master Sep 22, 2020
@davidjumani davidjumani deleted the update-novnc branch October 27, 2020 14:47
soreana pushed a commit to soreana/cloudstack that referenced this pull request Nov 3, 2020
Update noVNC v1.2.0, add support for clipboard, explicit button toolbar and resize screensize
}
UI.updateFullscreenButton();
this.fullScreen = !this.fullScreen
UI.rfb.scaleViewport = this.fullScreen
Copy link
Member

Choose a reason for hiding this comment

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

@davidjumani
one of our customers has issue accessing the novnc console, because scaleViewport is undefined in line 1216
UI.rfb.scaleViewport = this.fullScreen
But I cannot find this change in novnc repository.
https://github.com/novnc/noVNC/blob/master/app/ui.js#L1209

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@weizhouapache I've changed a bit of the novnc UI to allow fullscreen and pasting into the console.
fullscreen is defined at line 44 and scaleViewport is defined in rfb.js

Copy link
Member

Choose a reason for hiding this comment

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

@weizhouapache I've changed a bit of the novnc UI to allow fullscreen and pasting into the console.
fullscreen is defined at line 44 and scaleViewport is defined in rfb.js

@davidjumani
we do not have any problem in our testing. but that customer cannot access the console. he tried with different browsers.
it is strange. it seem UI.rfb is not initialized.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@weizhouapache That could be a bigger issue since rfb.js is used to communicate with the host. Did destroying and recreating the console proxy help ? Also could you check whether the customer has tweaked the novnc code in the cpvm ? Or any issue with the systemvm.iso itself ?

Copy link
Member

Choose a reason for hiding this comment

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

@weizhouapache That could be a bigger issue since rfb.js is used to communicate with the host. Did destroying and recreating the console proxy help ? Also could you check whether the customer has tweaked the novnc code in the cpvm ? Or any issue with the systemvm.iso itself ?

@davidjumani ignore the issue above. It happened when we enlarge the screen when websocket connection is not working. it is a bug but not critical. we are still looking for the root cause of the issue. customer uses German keyboard which is different from us.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@weizhouapache Fixed in #4783
It prevents the fullscreen button from being shown when not connected to the VM

DaanHoogland pushed a commit to shapeblue/cloudstack that referenced this pull request May 20, 2022
Update noVNC v1.2.0, add support for clipboard, explicit button toolbar and resize screensize
shwstppr pushed a commit to shapeblue/cloudstack that referenced this pull request Jan 17, 2023
Update noVNC v1.2.0, add support for clipboard, explicit button toolbar and resize screensize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants