You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/12/21 19:08:59 UTC

[GitHub] [cloudstack] fewdiaaz opened a new issue, #7014: Can't open console

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

   ##### ISSUE TYPE
   
   
   ##### COMPONENT NAME
   http: is missing from the Compose console url when open the console, see below, even without defined consoleproxy.url.domain.  HTTPS is not enabled.
   
   ~~~
   
   ##### CLOUDSTACK VERSION
   4.17.2.0
   
   ~~~
   
   ~~~
   
   ##### CONFIGURATION
   Advanced network.
   
   ##### OS / ENVIRONMENT
   VMware
   
   ##### SUMMARY
   Can't connect to console.
   
   
   ##### STEPS TO REPRODUCE
   I've tested with XCP as well, i got the same issue.
   
   <!-- Paste example playbooks or commands between quotes below -->
   
   
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   
   ~~~
   
   ##### ACTUAL RESULTS
   
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   2022-12-21 18:55:10,255 DEBUG [c.c.s.ConsoleProxyServlet] (qtp1418620248-14:null) (logid:) Compose console url: //consoleproxy.mhc.local/resource/noVNC/vnc.html?autoconnect=true&port=8080&token=m6uOm2_hZTbJ6Cw2OvrYhzcY-MCKL_iSUlyOX2DHk5gd2Oe-f1plU3rkiAhkH-Xn3yuMg6pVPaNs8vMoq8hznvxZMltXW15lIwhtzbK19odRt8m_XzfjF-VraOPNPRNIPZrEtDBuaUCoBn3Fp1i7hhWL6z-F-jz9qqc4bsWh22OL-j60_B0UxbdpaaXJn-bwY5H1t3kejtiICdc0uTYb8L3TehzfAYW34gWIZ1RotVrnDhaSXwuudSGH_2fDHqMLpuOSaunvRNYec7RXdDbG_nmVydAxWKfFjUpQR0qHtbAlk5eP0VMLAoesp9ld656m
   2022-12-21 18:55:10,256 DEBUG [c.c.s.ConsoleProxyServlet] (qtp1418620248-14:null) (logid:) the console url is :: <html><title>v-7-VM</title><frameset><frame src="//consoleproxy.mhc.local/resource/noVNC/vnc.html?autoconnect=true&port=8080&token=m6uOm2_hZTbJ6Cw2OvrYhzcY-MCKL_iSUlyOX2DHk5gd2Oe-f1plU3rkiAhkH-Xn3yuMg6pVPaNs8vMoq8hznvxZMltXW15lIwhtzbK19odRt8m_XzfjF-VraOPNPRNIPZrEtDBuaUCoBn3Fp1i7hhWL6z-F-jz9qqc4bsWh22OL-j60_B0UxbdpaaXJn-bwY5H1t3kejtiICdc0uTYb8L3TehzfAYW34gWIZ1RotVrnDhaSXwuudSGH_2fDHqMLpuOSaunvRNYec7RXdDbG_nmVydAxWKfFjUpQR0qHtbAlk5eP0VMLAoesp9ld656m"></frame></frameset></html>
   2022-12-21 18:55:11,961 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-3b621e5c) (logid:b423f357) Resetting hosts suitable for reconnect
   2022-12-21 18:55:11,964 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-3b621e5c) (logid:b423f357) Completed resetting hosts suitable for reconnect
   ~~~
   


-- 
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


[GitHub] [cloudstack] weizhouapache commented on issue #7014: Can't open console

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #7014:
URL: https://github.com/apache/cloudstack/issues/7014#issuecomment-1362057901

   > @weizhouapache yes, there is a static A record in the DNS whitch points to its public IP.
   
   @fewdiaaz 
   if you reset the global config `consoleproxy.url.domain` to empty, does the console work ?


-- 
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


[GitHub] [cloudstack] fewdiaaz commented on issue #7014: Can't open console

Posted by GitBox <gi...@apache.org>.
fewdiaaz commented on issue #7014:
URL: https://github.com/apache/cloudstack/issues/7014#issuecomment-1367617031

   Thanks @DaanHoogland and @weizhouapache! I've rebuild the whole environment and it works with basic network, so the problem is probably at my side. I'm going to close the issue. Many thanks!


-- 
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


[GitHub] [cloudstack] DaanHoogland commented on issue #7014: Can't open console

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #7014:
URL: https://github.com/apache/cloudstack/issues/7014#issuecomment-1365759128

   @fewdiaaz , can you try logging on to the CPVM and access it from there, i.e. exclude any firewall issues, please?


-- 
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


[GitHub] [cloudstack] weizhouapache commented on issue #7014: Can't open console

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #7014:
URL: https://github.com/apache/cloudstack/issues/7014#issuecomment-1365783022

   > @weizhouapache Unfortunately, no.
   > 
   > 2022-12-22 08:11:36,159 DEBUG [c.c.s.ConsoleProxyServlet] (qtp1418620248-21:null) (logid:) Port info 192.168.0.201 2022-12-22 08:11:36,159 INFO [c.c.s.ConsoleProxyServlet] (qtp1418620248-21:null) (logid:) Parse host info returned from executing GetVNCPortCommand. host info: 192.168.0.201 2022-12-22 08:11:36,171 DEBUG [c.c.s.ConsoleProxyServlet] (qtp1418620248-21:null) (logid:) Compose console url: //172.16.10.101/resource/noVNC/vnc.html?autoconnect=true&port=8080&token=m6uOm2_hZTbJ6Cw2OvrYhzcY-MCKL_iSUlyOX2DHk5gd2Oe-f1plU3rkiAhkH-XneGQ-44FItcwAfAEELqdInmx9mEKln3zYsywOpU_VxjtuIpwrEzJe-YeSawb18EY93_y7a82t7CtVFp9lGNwBLsEzXDYl577kvYaCSPRVnxnY9Hn6YIjajzGCls1zFIkZu7WypqvJJG4u5bZIphdxTdYV9WshuXjIZSmGgn16NAevmTL988RDB2jK0ursgQw0mrE0gEPgktU2uRs4aluQ3Q2Bvw4eWmEMcxeZDwtZ3szRnjWXGXt9i5zHA6Ekk18z 2022-12-22 08:11:36,171 DEBUG [c.c.s.ConsoleProxyServlet] (qtp1418620248-21:null) (logid:) the console url is :: <title>VM-d6b56e65-0e2a-49fe-9c66-82e2d45101fd</title>
   
   @fewdiaaz 
   can you confirm the console ip (172.16.10.101) is reachable from your server ?
   please also check if the console proxy vm has a ip in the network of 192.168.0.201, and it can reach vnc port (as Daan said).
   You can get the port info (59xx) by searching the ConsoleAccessAuthenticationCommand in log.


-- 
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


[GitHub] [cloudstack] weizhouapache commented on issue #7014: Can't open console

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #7014:
URL: https://github.com/apache/cloudstack/issues/7014#issuecomment-1362052145

   @fewdiaaz 
   can the domain `consoleproxy.mhc.local` be resolved to the public ip of the console proxy vm ?
   


-- 
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


[GitHub] [cloudstack] fewdiaaz commented on issue #7014: Can't open console

Posted by GitBox <gi...@apache.org>.
fewdiaaz commented on issue #7014:
URL: https://github.com/apache/cloudstack/issues/7014#issuecomment-1362538520

   @weizhouapache Unfortunately, no.
   
   2022-12-22 08:11:36,159 DEBUG [c.c.s.ConsoleProxyServlet] (qtp1418620248-21:null) (logid:) Port info 192.168.0.201
   2022-12-22 08:11:36,159 INFO  [c.c.s.ConsoleProxyServlet] (qtp1418620248-21:null) (logid:) Parse host info returned from executing GetVNCPortCommand. host info: 192.168.0.201
   2022-12-22 08:11:36,171 DEBUG [c.c.s.ConsoleProxyServlet] (qtp1418620248-21:null) (logid:) Compose console url: //172.16.10.101/resource/noVNC/vnc.html?autoconnect=true&port=8080&token=m6uOm2_hZTbJ6Cw2OvrYhzcY-MCKL_iSUlyOX2DHk5gd2Oe-f1plU3rkiAhkH-XneGQ-44FItcwAfAEELqdInmx9mEKln3zYsywOpU_VxjtuIpwrEzJe-YeSawb18EY93_y7a82t7CtVFp9lGNwBLsEzXDYl577kvYaCSPRVnxnY9Hn6YIjajzGCls1zFIkZu7WypqvJJG4u5bZIphdxTdYV9WshuXjIZSmGgn16NAevmTL988RDB2jK0ursgQw0mrE0gEPgktU2uRs4aluQ3Q2Bvw4eWmEMcxeZDwtZ3szRnjWXGXt9i5zHA6Ekk18z
   2022-12-22 08:11:36,171 DEBUG [c.c.s.ConsoleProxyServlet] (qtp1418620248-21:null) (logid:) the console url is :: <html><title>VM-d6b56e65-0e2a-49fe-9c66-82e2d45101fd</title><frameset><frame src="//172.16.10.101/resource/noVNC/vnc.html?autoconnect=true&port=8080&token=m6uOm2_hZTbJ6Cw2OvrYhzcY-MCKL_iSUlyOX2DHk5gd2Oe-f1plU3rkiAhkH-XneGQ-44FItcwAfAEELqdInmx9mEKln3zYsywOpU_VxjtuIpwrEzJe-YeSawb18EY93_y7a82t7CtVFp9lGNwBLsEzXDYl577kvYaCSPRVnxnY9Hn6YIjajzGCls1zFIkZu7WypqvJJG4u5bZIphdxTdYV9WshuXjIZSmGgn16NAevmTL988RDB2jK0ursgQw0mrE0gEPgktU2uRs4aluQ3Q2Bvw4eWmEMcxeZDwtZ3szRnjWXGXt9i5zHA6Ekk18z"></frame></frameset></html>
   


-- 
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


[GitHub] [cloudstack] boring-cyborg[bot] commented on issue #7014: Can't open console

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #7014:
URL: https://github.com/apache/cloudstack/issues/7014#issuecomment-1361935279

   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
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


[GitHub] [cloudstack] fewdiaaz closed issue #7014: Can't open console

Posted by GitBox <gi...@apache.org>.
fewdiaaz closed issue #7014: Can't open console
URL: https://github.com/apache/cloudstack/issues/7014


-- 
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


[GitHub] [cloudstack] fewdiaaz commented on issue #7014: Can't open console

Posted by GitBox <gi...@apache.org>.
fewdiaaz commented on issue #7014:
URL: https://github.com/apache/cloudstack/issues/7014#issuecomment-1362054274

   @weizhouapache yes, there is a static A record in the DNS whitch points to its public IP.


-- 
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