You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "shulemmosko (via GitHub)" <gi...@apache.org> on 2023/12/07 22:01:39 UTC

[I] noVNC -Websocket issue after upgrading from 4.17 to 4.18 [cloudstack]

shulemmosko opened a new issue, #8332:
URL: https://github.com/apache/cloudstack/issues/8332

   ##### ISSUE TYPE
   
    * Bug Report
   
   ##### COMPONENT NAME
   
   Console Proxy
   
   ##### CLOUDSTACK VERSION
   
   Management 4.18.1.0
   SystemVM 4.18.1.0
   Agents 4.17.2.0
   
   ##### CONFIGURATION
   
   I have one console proxy systemvm,  using SSL.
   
   ##### OS / ENVIRONMENT
   
   Ubuntu Focal 20.04
   
   ##### SUMMARY
   
   After upgrading cloudstack management the console proxy stopped working, I can get to the noVNC gray background page but after trying to connect im getting a red banner "failed to connect to server"
   
   ![image](https://github.com/apache/cloudstack/assets/78984653/1f7eaa52-c0f9-4930-90d4-55d4954012af)
   
   The interesting part is that when logging in to the console proxy via ssh port 8443 that the websocket is trying to use is not allowed in iptables.
   
   ![image](https://github.com/apache/cloudstack/assets/78984653/2d0331e9-a78a-4f29-a59f-13653f625a11)
   
   I tried changing the port in the vnc URL to port=8080 but then im getting the following in the browser console.
   
   ![image](https://github.com/apache/cloudstack/assets/78984653/cf7a5b76-8ca3-4cc5-b1a5-ca6808aa77bd)
   
   
   ##### STEPS TO REPRODUCE
   
   upgrading management server to 4.18.1.0
   
   
   ##### EXPECTED RESULTS
   
   noVNC to work properly. 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] noVNC -Websocket issue after upgrading from 4.17 to 4.18 [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8332:
URL: https://github.com/apache/cloudstack/issues/8332#issuecomment-1847684668

   @shulemmosko 
   have you upgraded the systemvm template and cloudstack-agent on kvm hosts ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] noVNC -Websocket issue after upgrading from 4.17 to 4.18 [cloudstack]

Posted by "rajujith (via GitHub)" <gi...@apache.org>.
rajujith commented on issue #8332:
URL: https://github.com/apache/cloudstack/issues/8332#issuecomment-1846864846

   @shulemmosko  have you recreated the consoleproxy vm after the upgrade?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] noVNC -Websocket issue after upgrading from 4.17 to 4.18 [cloudstack]

Posted by "shulemmosko (via GitHub)" <gi...@apache.org>.
shulemmosko commented on issue #8332:
URL: https://github.com/apache/cloudstack/issues/8332#issuecomment-1847689665

   Yes the systemVM template is using 4.18.1.0.
   ![image](https://github.com/apache/cloudstack/assets/78984653/1c133e17-7f2b-4a14-b989-48392bc952a2)
   
   
   The cloudstack agents i tried upgrading but it would not connect to the management server see issue #8310 so I had to downgrade them to 4.17.2


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] noVNC -Websocket issue after upgrading from 4.17 to 4.18 [cloudstack]

Posted by "shulemmosko (via GitHub)" <gi...@apache.org>.
shulemmosko commented on issue #8332:
URL: https://github.com/apache/cloudstack/issues/8332#issuecomment-1847683433

   @rajujith @weizhouapache 
   
   If i change the websocket port to 8080.
   ![image](https://github.com/apache/cloudstack/assets/78984653/036d7adc-ff5a-40fa-a4d7-f0bbc959a933)
   
   the following comes up in the cloud.log .
   at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
           at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
           at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
           at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
           at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
           at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
           at java.base/java.lang.Thread.run(Thread.java:829)
   2023-12-08 19:01:12,975 ERROR [cloud.consoleproxy.ConsoleProxyHttpHandlerHelper] (qtp1426241828-37:null) Unable to decode token
   2023-12-08 19:01:13,103 INFO  [cloud.consoleproxy.ConsoleProxyResourceHandler] (Thread-20:null) Get resource request for /resource/noVNC/app/images/error.svg
   2023-12-08 19:01:13,104 INFO  [cloud.consoleproxy.ConsoleProxyResourceHandler] (Thread-20:null) file does not exist/resource/noVNC/app/images/error.svg
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] noVNC -Websocket issue after upgrading from 4.17 to 4.18 [cloudstack]

Posted by "shulemmosko (via GitHub)" <gi...@apache.org>.
shulemmosko closed issue #8332: noVNC -Websocket issue after upgrading from 4.17 to 4.18
URL: https://github.com/apache/cloudstack/issues/8332


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] noVNC -Websocket issue after upgrading from 4.17 to 4.18 [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8332:
URL: https://github.com/apache/cloudstack/issues/8332#issuecomment-1847697625

   > The cloudstack agents i tried upgrading but it would not connect to the management server see issue #8310 so I had to downgrade them to 4.17.2
   
   that explains. The cloudstack-agent version must be same as cloustack-management


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] noVNC -Websocket issue after upgrading from 4.17 to 4.18 [cloudstack]

Posted by "shulemmosko (via GitHub)" <gi...@apache.org>.
shulemmosko commented on issue #8332:
URL: https://github.com/apache/cloudstack/issues/8332#issuecomment-1847681103

   @rajujith @weizhouapache 
   
   Here you can see that the consoleproxy VM is not listening on port 8443.
   
   ![image](https://github.com/apache/cloudstack/assets/78984653/959ab065-fb2f-4e7d-abb7-a433fabebfec)
   
   And here is the systemVM config.
   
   ![image](https://github.com/apache/cloudstack/assets/78984653/2d2712cf-80a3-4b8e-8de3-2b3206ec5b67)
   
   the URL is pointing to the public IP of the consoleproxy VM.
   
   Thanks for your help!!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] noVNC -Websocket issue after upgrading from 4.17 to 4.18 [cloudstack]

Posted by "shulemmosko (via GitHub)" <gi...@apache.org>.
shulemmosko commented on issue #8332:
URL: https://github.com/apache/cloudstack/issues/8332#issuecomment-1847668671

   @rajujith yes of course, multiple times. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] noVNC -Websocket issue after upgrading from 4.17 to 4.18 [cloudstack]

Posted by "shulemmosko (via GitHub)" <gi...@apache.org>.
shulemmosko commented on issue #8332:
URL: https://github.com/apache/cloudstack/issues/8332#issuecomment-1847698810

   @weizhouapache 
   
   Ok then i guess we need to go back and have a look at  issue#8310 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org