You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by jitendra shelar <ji...@gmail.com> on 2013/11/04 17:45:09 UTC

Not able to view the console of the VM. Getting Timeout error

Hi,

I wanted to know the flow of the request to connect to a particular
provisioned VM.
Is it the following?

My local browser -> Console Proxy VM -> Host ->Provisioned  VM

I have done setup of the cloudstack but on clicking on view console,
I am getting timeout error.

Some pointers would really be helpful.

Thanks,
Jitendra

Re: Not able to view the console of the VM. Getting Timeout error

Posted by jitendra shelar <ji...@gmail.com>.
Hi Team,

I can see below logs (on Management Server) when I am trying to connect to
console of the provisioned VM.

2013-11-18 14:08:10,015 DEBUG
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
is ready to launch secondary storage VM
2013-11-18 14:08:10,189 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl]
(consoleproxy-1:null) Zone 1 is ready to launch console proxy
2013-11-18 14:08:10,883 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 routers.
2013-11-18 14:08:16,055 DEBUG [cloud.server.StatsCollector]
(StatsCollector-2:null) VmStatsCollector is running...
2013-11-18 14:08:16,157 DEBUG [agent.transport.Request]
(StatsCollector-2:null) Seq 1-1443830943: Received:  { Ans: , MgmtId:
132225136965, via: 1, Ver: v1, Flags: 10, { GetVmStatsAnswer } }
2013-11-18 14:08:33,784 DEBUG [cloud.server.StatsCollector]
(StatsCollector-1:null) StorageCollector is running...
2013-11-18 14:08:33,840 DEBUG [agent.transport.Request]
(StatsCollector-1:null) Seq 4-586986545: Received:  { Ans: , MgmtId:
132225136965, via: 4, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
2013-11-18 14:08:33,890 DEBUG [agent.transport.Request]
(StatsCollector-1:null) Seq 1-1443830944: Received:  { Ans: , MgmtId:
132225136965, via: 1, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
2013-11-18 14:08:34,456 DEBUG [cloud.server.StatsCollector]
(StatsCollector-1:null) HostStatsCollector is running...
2013-11-18 14:08:34,662 DEBUG [agent.transport.Request]
(AgentManager-Handler-7:null) Seq 1-1443830945: Processing:  { Ans: ,
MgmtId: 132225136965, via: 1, Ver: v1, Flags: 10,
[{"Answer":{"result":false,"details":"empty String","wait":0}}] }
2013-11-18 14:08:34,662 DEBUG [agent.transport.Request]
(StatsCollector-1:null) Seq 1-1443830945: Received:  { Ans: , MgmtId:
132225136965, via: 1, Ver: v1, Flags: 10, { Answer } }
2013-11-18 14:08:34,663 DEBUG [agent.manager.AgentManagerImpl]
(StatsCollector-1:null) Details from executing class
com.cloud.agent.api.GetHostStatsCommand: empty String
2013-11-18 14:08:34,663 WARN  [cloud.resource.ResourceManagerImpl]
(StatsCollector-1:null) Unable to obtain host 1 statistics.
2013-11-18 14:08:34,667 WARN  [cloud.server.StatsCollector]
(StatsCollector-1:null) Received invalid host stats for host: 1
2013-11-18 14:08:40,009 DEBUG
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
is ready to launch secondary storage VM
2013-11-18 14:08:40,194 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl]
(consoleproxy-1:null) Zone 1 is ready to launch console proxy
2013-11-18 14:08:40,883 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 routers.
2013-11-18 14:08:49,904 DEBUG [agent.manager.AgentManagerImpl]
(AgentManager-Handler-15:null) Ping from 1
2013-11-18 14:08:57,779 DEBUG [agent.manager.AgentManagerImpl]
(AgentManager-Handler-3:null) Ping from 4
2013-11-18 14:09:02,964 DEBUG [agent.manager.AgentManagerImpl]
(AgentManager-Handler-2:null) Ping from 8
2013-11-18 14:09:10,016 DEBUG
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
is ready to launch secondary storage VM
2013-11-18 14:09:10,189 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl]
(consoleproxy-1:null) Zone 1 is ready to launch console proxy
2013-11-18 14:09:10,883 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 routers.
2013-11-18 14:09:16,157 DEBUG [cloud.server.StatsCollector]
(StatsCollector-2:null) VmStatsCollector is running...

Thanks,
Jitendra





On Mon, Nov 4, 2013 at 4:45 PM, jitendra shelar <
jitendra.shelar410@gmail.com> wrote:

> Hi,
>
> I wanted to know the flow of the request to connect to a particular
> provisioned VM.
> Is it the following?
>
> My local browser -> Console Proxy VM -> Host ->Provisioned  VM
>
> I have done setup of the cloudstack but on clicking on view console,
> I am getting timeout error.
>
> Some pointers would really be helpful.
>
> Thanks,
> Jitendra
>

Re: Not able to view the console of the VM. Getting Timeout error

Posted by jitendra shelar <ji...@gmail.com>.
Hi Wei Zhou,

PFA  global settings details.

Thanks,
Jitendra



On Mon, Nov 18, 2013 at 9:00 AM, Wei ZHOU <us...@gmail.com> wrote:

> What is the setting of host and management.network.cidr in global setting?
>
>
> 2013/11/4 jitendra shelar <ji...@gmail.com>
>
> > Hi,
> >
> > I wanted to know the flow of the request to connect to a particular
> > provisioned VM.
> > Is it the following?
> >
> > My local browser -> Console Proxy VM -> Host ->Provisioned  VM
> >
> > I have done setup of the cloudstack but on clicking on view console,
> > I am getting timeout error.
> >
> > Some pointers would really be helpful.
> >
> > Thanks,
> > Jitendra
> >
>

Re: Not able to view the console of the VM. Getting Timeout error

Posted by Wei ZHOU <us...@gmail.com>.
What is the setting of host and management.network.cidr in global setting?


2013/11/4 jitendra shelar <ji...@gmail.com>

> Hi,
>
> I wanted to know the flow of the request to connect to a particular
> provisioned VM.
> Is it the following?
>
> My local browser -> Console Proxy VM -> Host ->Provisioned  VM
>
> I have done setup of the cloudstack but on clicking on view console,
> I am getting timeout error.
>
> Some pointers would really be helpful.
>
> Thanks,
> Jitendra
>

Re: Not able to view the console of the VM. Getting Timeout error

Posted by Marty Sweet <ms...@gmail.com>.
Hi Jitendra,

Have you tried restarting your Console Proxy System VM?
If so, and you still have issues - please bring up your management log and
try the steps again, hopefully you will receive an informative error (just
post it here for more assistance).

Marty


On Mon, Nov 4, 2013 at 4:45 PM, jitendra shelar <
jitendra.shelar410@gmail.com> wrote:

> Hi,
>
> I wanted to know the flow of the request to connect to a particular
> provisioned VM.
> Is it the following?
>
> My local browser -> Console Proxy VM -> Host ->Provisioned  VM
>
> I have done setup of the cloudstack but on clicking on view console,
> I am getting timeout error.
>
> Some pointers would really be helpful.
>
> Thanks,
> Jitendra
>

Re: Not able to view the console of the VM. Getting Timeout error

Posted by jitendra shelar <ji...@gmail.com>.
Hi Marty/Kelven,

Thanks for your reply.

My Management Server is 10.44.66.151.
My Host is 10.44.65.143.
I am able to ping between the Management Server and Host.
PFA snaps and mangement server logs.
I am not able to connect from my local browser to CPVM.
Please help me.

Thanks,
Jitendra




On Wed, Nov 6, 2013 at 3:19 AM, Kelven Yang <ke...@citrix.com> wrote:

> This is the flow,
>
> Local browser -> Management Server -> token to Console Proxy VM -> client
> redirection with token -> Console Proxy VM -> Management Server for
> authentication -> Console Proxy to create session -> Browser
>
>
> To trouble shooting the problem
>
> 1) check assigned public IP address of console proxy VM, ping it from the
> machine that browser is running
> 2) check management server log
> 3) check if �host� global configuration value is correctly set and console
> proxy agent connection status
>
> Kelven
>
>
> On 11/4/13, 8:45 AM, "jitendra shelar" <ji...@gmail.com>
> wrote:
>
> >Hi,
> >
> >I wanted to know the flow of the request to connect to a particular
> >provisioned VM.
> >Is it the following?
> >
> >My local browser -> Console Proxy VM -> Host ->Provisioned  VM
> >
> >I have done setup of the cloudstack but on clicking on view console,
> >I am getting timeout error.
> >
> >Some pointers would really be helpful.
> >
> >Thanks,
> >Jitendra
>
>

Re: Not able to view the console of the VM. Getting Timeout error

Posted by Kelven Yang <ke...@citrix.com>.
This is the flow,

Local browser -> Management Server -> token to Console Proxy VM -> client
redirection with token -> Console Proxy VM -> Management Server for
authentication -> Console Proxy to create session -> Browser


To trouble shooting the problem

1) check assigned public IP address of console proxy VM, ping it from the
machine that browser is running
2) check management server log
3) check if ³host² global configuration value is correctly set and console
proxy agent connection status

Kelven


On 11/4/13, 8:45 AM, "jitendra shelar" <ji...@gmail.com>
wrote:

>Hi,
>
>I wanted to know the flow of the request to connect to a particular
>provisioned VM.
>Is it the following?
>
>My local browser -> Console Proxy VM -> Host ->Provisioned  VM
>
>I have done setup of the cloudstack but on clicking on view console,
>I am getting timeout error.
>
>Some pointers would really be helpful.
>
>Thanks,
>Jitendra