You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by David Gardner <Da...@Evisions.com> on 2013/03/25 20:20:02 UTC

"View Console" button stopped working

Greetings all:

I've inherited a CS 3.0.1-1 installation on our development network that until 11Mar2013 was working just fine. All vms are native linux implementations in libvirt. All hosts including the management console are running CentOS 6.3. The environment has never been accessible outside the development environment. No one on our team knows why this system is giving us problems and all have denied changing anything in the system.

Existing vms can ping the management console and each other.

The management console has been restarted thought the management console host has not been rebooted.

The only log file that seems to have ANY useful information is .../cloud/management/management-server.log. The following are the entries that enter the log file while the "console view" is opening:
2013-03-25 12:07:35,322 DEBUG [agent.transport.Request] (catalina-exec-17:null) Seq 7-571801724: Sending  { Cmd , MgmtId: 83522348147, via: 7, Ver: v1, Flags: 100011, [{"GetVncPortCommand":{"id":18,"name":"i-2-18-VM","wait":0}}] }
2013-03-25 12:07:35,346 DEBUG [cloud.vm.VirtualMachineManagerImpl] (AgentManager-Handler-3:null) Cleanup succeeded. Details null
2013-03-25 12:07:35,346 DEBUG [agent.transport.Request] (StatsCollector-2:null) Seq 3-1923940411: Received:  { Ans: , MgmtId: 83522348147, via: 3, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
2013-03-25 12:07:35,347 DEBUG [cloud.vm.VirtualMachineManagerImpl] (StatsCollector-2:null) Cleanup succeeded. Details null
2013-03-25 12:07:35,350 DEBUG [agent.transport.Request] (AgentManager-Handler-14:null) Seq 7-571801724: Processing:  { Ans: , MgmtId: 83522348147, via: 7, Ver: v1, Flags: 10, [{"GetVncPortAnswer":{"port":5900,"result":true,"wait":0}}] }
2013-03-25 12:07:35,351 DEBUG [cloud.vm.VirtualMachineManagerImpl] (AgentManager-Handler-14:null) Cleanup succeeded. Details null
2013-03-25 12:07:35,351 DEBUG [agent.transport.Request] (catalina-exec-17:null) Seq 7-571801724: Received:  { Ans: , MgmtId: 83522348147, via: 7, Ver: v1, Flags: 10, { GetVncPortAnswer } }
2013-03-25 12:07:35,351 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-17:null) Cleanup succeeded. Details null
2013-03-25 12:07:35,355 DEBUG [cloud.servlet.ConsoleProxyServlet] (catalina-exec-17:null) Compose console url: https://XXX-YYY-7-184.realhostip.com/ajax?host=XXX.YYY.7.160&port=5900&sid=c31cf957db17447e&tag=f32baabf-9ce4-4129-a3cc-b200cb9763e2&ticket=un-JRyYFkPT8CU4lwAy3j2jBMNc&guest=windows
2013-03-25 12:07:35,921 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-9:null) SeqA 4-285808: Processing Seq 4-285808:  { Cmd , MgmtId: -1, via: 4, Ver: v1, Flags: 11, [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n  \"connections\": [\n    {\n      \"id\": 135,\n      \"clientInfo\": \"\",\n      \"host\": \"XXX.YYY.7.160\",\n      \"port\": 5900,\n      \"tag\": \"f32baabf-9ce4-4129-a3cc-b200cb9763e2\",\n      \"createTime\": 1364238453634,\n      \"lastUsedTime\": 1364238453634\n    }\n  ]\n}","wait":0}}] }
2013-03-25 12:07:35,925 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-9:null) SeqA 4-285808: Sending Seq 4-285808:  { Ans: , MgmtId: 83522348147, via: 4, Ver: v1, Flags: 100010, [{"AgentControlAnswer":{"result":true,"wait":0}}] }
2013-03-25 12:07:36,051 DEBUG [cloud.vm.VirtualMachineManagerImpl] (AgentManager-Handler-15:null) Cleanup succeeded. Details null
2013-03-25 12:07:36,051 DEBUG [agent.transport.Request] (StatsCollector-2:null) Seq 7-571801725: Received:  { Ans: , MgmtId: 83522348147, via: 7, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
2013-03-25 12:07:36,051 DEBUG [cloud.vm.VirtualMachineManagerImpl] (StatsCollector-2:null) Cleanup succeeded. Details null

I thought the browser would be the problem as JRE 7.0.17 was forced on IE9, Chrome, and Firefox at about the same time. I fired up a Windows XP system that has been known to work and has not been updated in about 6 months. This system too, displays the same results as the updated machines:

PROBLEM: When I click  the "View Console" button for any instance, a new window pops up and the three button toolbar appears in the box but the console display is conspicuously absent.

In the console view of the Windows XP computer but no computers, the following message is visible:

This webpage is not available
The webpage at https://XXX-YYY-7-184.realhostip.com/ajax?host=XXX.YYY.7.161&port=5902&sid=12d3ae2d19e6d038&tag=e94e4e1d-9d52-43d3-af3e-074334b0e7f4&ticket=GdOXa0jzW7YUGlQo548R2YX3jsk might be temporarily down or it may have moved permanently to a new web address.
Error 501 (net::ERR_INSECURE_RESPONSE): Unknown error.

I could really use some help solving this problem and bringing me back from the edge of insanity.


David Gardner

Systems Administrator
david.gardner@evisions.com<ma...@evisions.com>
Evisions, Inc.
2525 SW First Ave., Ste. 201
Portland, OR 97201

Phn: (971) 271-5645 x 348
Web: http://www.evisions.com<http://www.evisions.com/>

Re: "View Console" button stopped working

Posted by Kirk Kosinski <ki...@gmail.com>.
Yes, try to stop/start or destroy/recreate the CPVM (the name will be
like v-123-VM) through CloudStack.  As for the JRE version, it shouldn't
matter as the console uses Javascript and doesn't require a Java plug-in.

Best regards,
Kirk

On 03/25/2013 04:57 PM, Ahmad Emneina wrote:
> your issue might be the console proxy vm has become defunct somehow (the
> process within it either crashed or is no longer willing to respond...).
> Have you tried restarting that vm? You can also log into that vm and
> conduct some basic troubleshooting with the ssvm-check script. You can
> follow the process outlined here:
> https://cwiki.apache.org/CLOUDSTACK/ssvm-troubleshooting.html
> 
> 
> On Mon, Mar 25, 2013 at 12:20 PM, David Gardner
> <Da...@evisions.com>wrote:
> 
>> Greetings all:
>>
>> I've inherited a CS 3.0.1-1 installation on our development network that
>> until 11Mar2013 was working just fine. All vms are native linux
>> implementations in libvirt. All hosts including the management console are
>> running CentOS 6.3. The environment has never been accessible outside the
>> development environment. No one on our team knows why this system is giving
>> us problems and all have denied changing anything in the system.
>>
>> Existing vms can ping the management console and each other.
>>
>> The management console has been restarted thought the management console
>> host has not been rebooted.
>>
>> The only log file that seems to have ANY useful information is
>> .../cloud/management/management-server.log. The following are the entries
>> that enter the log file while the "console view" is opening:
>> 2013-03-25 12:07:35,322 DEBUG [agent.transport.Request]
>> (catalina-exec-17:null) Seq 7-571801724: Sending  { Cmd , MgmtId:
>> 83522348147, via: 7, Ver: v1, Flags: 100011,
>> [{"GetVncPortCommand":{"id":18,"name":"i-2-18-VM","wait":0}}] }
>> 2013-03-25 12:07:35,346 DEBUG [cloud.vm.VirtualMachineManagerImpl]
>> (AgentManager-Handler-3:null) Cleanup succeeded. Details null
>> 2013-03-25 12:07:35,346 DEBUG [agent.transport.Request]
>> (StatsCollector-2:null) Seq 3-1923940411: Received:  { Ans: , MgmtId:
>> 83522348147, via: 3, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
>> 2013-03-25 12:07:35,347 DEBUG [cloud.vm.VirtualMachineManagerImpl]
>> (StatsCollector-2:null) Cleanup succeeded. Details null
>> 2013-03-25 12:07:35,350 DEBUG [agent.transport.Request]
>> (AgentManager-Handler-14:null) Seq 7-571801724: Processing:  { Ans: ,
>> MgmtId: 83522348147, via: 7, Ver: v1, Flags: 10,
>> [{"GetVncPortAnswer":{"port":5900,"result":true,"wait":0}}] }
>> 2013-03-25 12:07:35,351 DEBUG [cloud.vm.VirtualMachineManagerImpl]
>> (AgentManager-Handler-14:null) Cleanup succeeded. Details null
>> 2013-03-25 12:07:35,351 DEBUG [agent.transport.Request]
>> (catalina-exec-17:null) Seq 7-571801724: Received:  { Ans: , MgmtId:
>> 83522348147, via: 7, Ver: v1, Flags: 10, { GetVncPortAnswer } }
>> 2013-03-25 12:07:35,351 DEBUG [cloud.vm.VirtualMachineManagerImpl]
>> (catalina-exec-17:null) Cleanup succeeded. Details null
>> 2013-03-25 12:07:35,355 DEBUG [cloud.servlet.ConsoleProxyServlet]
>> (catalina-exec-17:null) Compose console url:
>> https://XXX-YYY-7-184.realhostip.com/ajax?host=XXX.YYY.7.160&port=5900&sid=c31cf957db17447e&tag=f32baabf-9ce4-4129-a3cc-b200cb9763e2&ticket=un-JRyYFkPT8CU4lwAy3j2jBMNc&guest=windows
>> 2013-03-25<https://XXX-YYY-7-184.realhostip.com/ajax?host=XXX.YYY.7.160&port=5900&sid=c31cf957db17447e&tag=f32baabf-9ce4-4129-a3cc-b200cb9763e2&ticket=un-JRyYFkPT8CU4lwAy3j2jBMNc&guest=windows
>> 2013-03-25> 12:07:35,921 DEBUG [agent.manager.AgentManagerImpl]
>> (AgentManager-Handler-9:null) SeqA 4-285808: Processing Seq 4-285808:  {
>> Cmd , MgmtId: -1, via: 4, Ver: v1, Flags: 11,
>> [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n
>>  \"connections\": [\n    {\n      \"id\": 135,\n      \"clientInfo\":
>> \"\",\n      \"host\": \"XXX.YYY.7.160\",\n      \"port\": 5900,\n
>>  \"tag\": \"f32baabf-9ce4-4129-a3cc-b200cb9763e2\",\n      \"createTime\":
>> 1364238453634,\n      \"lastUsedTime\": 1364238453634\n    }\n
>>  ]\n}","wait":0}}] }
>> 2013-03-25 12:07:35,925 DEBUG [agent.manager.AgentManagerImpl]
>> (AgentManager-Handler-9:null) SeqA 4-285808: Sending Seq 4-285808:  { Ans:
>> , MgmtId: 83522348147, via: 4, Ver: v1, Flags: 100010,
>> [{"AgentControlAnswer":{"result":true,"wait":0}}] }
>> 2013-03-25 12:07:36,051 DEBUG [cloud.vm.VirtualMachineManagerImpl]
>> (AgentManager-Handler-15:null) Cleanup succeeded. Details null
>> 2013-03-25 12:07:36,051 DEBUG [agent.transport.Request]
>> (StatsCollector-2:null) Seq 7-571801725: Received:  { Ans: , MgmtId:
>> 83522348147, via: 7, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
>> 2013-03-25 12:07:36,051 DEBUG [cloud.vm.VirtualMachineManagerImpl]
>> (StatsCollector-2:null) Cleanup succeeded. Details null
>>
>> I thought the browser would be the problem as JRE 7.0.17 was forced on
>> IE9, Chrome, and Firefox at about the same time. I fired up a Windows XP
>> system that has been known to work and has not been updated in about 6
>> months. This system too, displays the same results as the updated machines:
>>
>> PROBLEM: When I click  the "View Console" button for any instance, a new
>> window pops up and the three button toolbar appears in the box but the
>> console display is conspicuously absent.
>>
>> In the console view of the Windows XP computer but no computers, the
>> following message is visible:
>>
>> This webpage is not available
>> The webpage at
>> https://XXX-YYY-7-184.realhostip.com/ajax?host=XXX.YYY.7.161&port=5902&sid=12d3ae2d19e6d038&tag=e94e4e1d-9d52-43d3-af3e-074334b0e7f4&ticket=GdOXa0jzW7YUGlQo548R2YX3jskmight be temporarily down or it may have moved permanently to a new web
>> address.
>> Error 501 (net::ERR_INSECURE_RESPONSE): Unknown error.
>>
>> I could really use some help solving this problem and bringing me back
>> from the edge of insanity.
>>
>>
>> David Gardner
>>
>> Systems Administrator
>> david.gardner@evisions.com<ma...@evisions.com>
>> Evisions, Inc.
>> 2525 SW First Ave., Ste. 201
>> Portland, OR 97201
>>
>> Phn: (971) 271-5645 x 348
>> Web: http://www.evisions.com<http://www.evisions.com/>
>>
> 

Re: "View Console" button stopped working

Posted by Ahmad Emneina <ae...@gmail.com>.
your issue might be the console proxy vm has become defunct somehow (the
process within it either crashed or is no longer willing to respond...).
Have you tried restarting that vm? You can also log into that vm and
conduct some basic troubleshooting with the ssvm-check script. You can
follow the process outlined here:
https://cwiki.apache.org/CLOUDSTACK/ssvm-troubleshooting.html


On Mon, Mar 25, 2013 at 12:20 PM, David Gardner
<Da...@evisions.com>wrote:

> Greetings all:
>
> I've inherited a CS 3.0.1-1 installation on our development network that
> until 11Mar2013 was working just fine. All vms are native linux
> implementations in libvirt. All hosts including the management console are
> running CentOS 6.3. The environment has never been accessible outside the
> development environment. No one on our team knows why this system is giving
> us problems and all have denied changing anything in the system.
>
> Existing vms can ping the management console and each other.
>
> The management console has been restarted thought the management console
> host has not been rebooted.
>
> The only log file that seems to have ANY useful information is
> .../cloud/management/management-server.log. The following are the entries
> that enter the log file while the "console view" is opening:
> 2013-03-25 12:07:35,322 DEBUG [agent.transport.Request]
> (catalina-exec-17:null) Seq 7-571801724: Sending  { Cmd , MgmtId:
> 83522348147, via: 7, Ver: v1, Flags: 100011,
> [{"GetVncPortCommand":{"id":18,"name":"i-2-18-VM","wait":0}}] }
> 2013-03-25 12:07:35,346 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> (AgentManager-Handler-3:null) Cleanup succeeded. Details null
> 2013-03-25 12:07:35,346 DEBUG [agent.transport.Request]
> (StatsCollector-2:null) Seq 3-1923940411: Received:  { Ans: , MgmtId:
> 83522348147, via: 3, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
> 2013-03-25 12:07:35,347 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> (StatsCollector-2:null) Cleanup succeeded. Details null
> 2013-03-25 12:07:35,350 DEBUG [agent.transport.Request]
> (AgentManager-Handler-14:null) Seq 7-571801724: Processing:  { Ans: ,
> MgmtId: 83522348147, via: 7, Ver: v1, Flags: 10,
> [{"GetVncPortAnswer":{"port":5900,"result":true,"wait":0}}] }
> 2013-03-25 12:07:35,351 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> (AgentManager-Handler-14:null) Cleanup succeeded. Details null
> 2013-03-25 12:07:35,351 DEBUG [agent.transport.Request]
> (catalina-exec-17:null) Seq 7-571801724: Received:  { Ans: , MgmtId:
> 83522348147, via: 7, Ver: v1, Flags: 10, { GetVncPortAnswer } }
> 2013-03-25 12:07:35,351 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> (catalina-exec-17:null) Cleanup succeeded. Details null
> 2013-03-25 12:07:35,355 DEBUG [cloud.servlet.ConsoleProxyServlet]
> (catalina-exec-17:null) Compose console url:
> https://XXX-YYY-7-184.realhostip.com/ajax?host=XXX.YYY.7.160&port=5900&sid=c31cf957db17447e&tag=f32baabf-9ce4-4129-a3cc-b200cb9763e2&ticket=un-JRyYFkPT8CU4lwAy3j2jBMNc&guest=windows
> 2013-03-25<https://XXX-YYY-7-184.realhostip.com/ajax?host=XXX.YYY.7.160&port=5900&sid=c31cf957db17447e&tag=f32baabf-9ce4-4129-a3cc-b200cb9763e2&ticket=un-JRyYFkPT8CU4lwAy3j2jBMNc&guest=windows
> 2013-03-25> 12:07:35,921 DEBUG [agent.manager.AgentManagerImpl]
> (AgentManager-Handler-9:null) SeqA 4-285808: Processing Seq 4-285808:  {
> Cmd , MgmtId: -1, via: 4, Ver: v1, Flags: 11,
> [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n
>  \"connections\": [\n    {\n      \"id\": 135,\n      \"clientInfo\":
> \"\",\n      \"host\": \"XXX.YYY.7.160\",\n      \"port\": 5900,\n
>  \"tag\": \"f32baabf-9ce4-4129-a3cc-b200cb9763e2\",\n      \"createTime\":
> 1364238453634,\n      \"lastUsedTime\": 1364238453634\n    }\n
>  ]\n}","wait":0}}] }
> 2013-03-25 12:07:35,925 DEBUG [agent.manager.AgentManagerImpl]
> (AgentManager-Handler-9:null) SeqA 4-285808: Sending Seq 4-285808:  { Ans:
> , MgmtId: 83522348147, via: 4, Ver: v1, Flags: 100010,
> [{"AgentControlAnswer":{"result":true,"wait":0}}] }
> 2013-03-25 12:07:36,051 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> (AgentManager-Handler-15:null) Cleanup succeeded. Details null
> 2013-03-25 12:07:36,051 DEBUG [agent.transport.Request]
> (StatsCollector-2:null) Seq 7-571801725: Received:  { Ans: , MgmtId:
> 83522348147, via: 7, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
> 2013-03-25 12:07:36,051 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> (StatsCollector-2:null) Cleanup succeeded. Details null
>
> I thought the browser would be the problem as JRE 7.0.17 was forced on
> IE9, Chrome, and Firefox at about the same time. I fired up a Windows XP
> system that has been known to work and has not been updated in about 6
> months. This system too, displays the same results as the updated machines:
>
> PROBLEM: When I click  the "View Console" button for any instance, a new
> window pops up and the three button toolbar appears in the box but the
> console display is conspicuously absent.
>
> In the console view of the Windows XP computer but no computers, the
> following message is visible:
>
> This webpage is not available
> The webpage at
> https://XXX-YYY-7-184.realhostip.com/ajax?host=XXX.YYY.7.161&port=5902&sid=12d3ae2d19e6d038&tag=e94e4e1d-9d52-43d3-af3e-074334b0e7f4&ticket=GdOXa0jzW7YUGlQo548R2YX3jskmight be temporarily down or it may have moved permanently to a new web
> address.
> Error 501 (net::ERR_INSECURE_RESPONSE): Unknown error.
>
> I could really use some help solving this problem and bringing me back
> from the edge of insanity.
>
>
> David Gardner
>
> Systems Administrator
> david.gardner@evisions.com<ma...@evisions.com>
> Evisions, Inc.
> 2525 SW First Ave., Ste. 201
> Portland, OR 97201
>
> Phn: (971) 271-5645 x 348
> Web: http://www.evisions.com<http://www.evisions.com/>
>