If they are in the same net, you need to disable rpfilter in order to make
it work.

Kelven

On 8/14/13 11:57 AM, "Andrew V" <andrewmva...@gmail.com> wrote:

>Hi kelven,
>
>didnt notice anything useful in cloud.log. I am able to telnet from CPVM
>into the host, they are in the same subnet and i disabled rpfilter but
>still no luck.
>
>might try re-starting from scratch, or maybe using something other then
>centos
>
>Thanks,
>Andrew
>
>
>On Wed, Aug 14, 2013 at 1:11 PM, Kelven Yang <kelven.y...@citrix.com>
>wrote:
>
>> ssh into CPVM. check CPVM log file at /var/log/cloud/cloud.log, or
>>perform
>> more testing
>>
>> telnet  192.168.1.202 5901  -> test connectivity from CPVM to your KVM
>>host
>>
>> If it does not work, check your KVM iptables rules, if it does connect,
>> please check if your public network subnet is the same with the
>>management
>> network subnet. if it does, set global configuration
>> consoleproxy.disable.rpfilter to false, restart your management server,
>> stop CPVM and let it relaunch with a new one.
>>
>> Kelven
>>
>>
>>
>> From: Andrew V <andrewmva...@gmail.com<mailto:andrewmva...@gmail.com>>
>> Reply-To: 
>>"users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>"
>> <users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>
>> Date: Wednesday, August 14, 2013 7:05 AM
>> To: "users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>" <
>> users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>
>> Subject: Re: View console not working.
>>
>> Thank you for your replies, I will try to answer them all.
>>
>> Marty - I can ping the public address of CPVM. Will attach logs/configs
>>
>> Kelven - all commands return as running/listening, can ping public from
>> outside.
>>
>> David - DNS seems to be working fine, but im not sure how to check
>>further
>> into this.
>>
>>
>> attached relevant info.
>>
>> hopefully im just looking over something simple.
>>
>> Thank you all again,
>> Andrew
>>
>>
>> On Tue, Aug 13, 2013 at 3:26 PM, David Ortiz
>><dpor...@outlook.com<mailto:
>> dpor...@outlook.com>> wrote:
>> Andrew,
>>      Just to check, does your network have access to external dns?  For
>> our cluster, we have a requirement to run disconnected from the internet
>> some of the time, which we found would keep console proxy from working
>>if
>> we didn't add the entries it was looking for into our internal dns.
>> Thanks,     Dave
>>
>> > From: kelven.y...@citrix.com<mailto:kelven.y...@citrix.com>
>> > To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>
>> > Subject: Re: View console not working.
>> > Date: Tue, 13 Aug 2013 18:35:18 +0000
>> >
>> > If you could ssh into CPVM, you can do following checks
>> >
>> > ps -ef | grep java - check to see if the java agent is running inside
>> >
>> > netstat -an | grep 8250 - check to see if it has connected to
>>management
>> > server
>> >
>> > netstat -an | grep 443 - if the java agent is running, check to see
>>if it
>> > is ready listening at port 443
>> >
>> > ifconfig eth2 - find out the "public" IP address agent is listening at
>> >
>> > ping the IP from outside (where your browser is running), if your
>>setup
>> is
>> > deployed in a flat network, management network IP and public network
>>IP
>> > fall into the same subnet, due to default rpfilter settings, you may
>>not
>> > able to connect to it in that situation
>> >
>> > Kelven
>> >
>> >
>> >
>> > On 8/13/13 11:25 AM, "Andrew V" <andrewmva...@gmail.com<mailto:
>> andrewmva...@gmail.com>> wrote:
>> >
>> > >I have read every thread on the internet I could find about this and
>> never
>> > >found an answer.
>> > >
>> > >I have cloudstack up and running, everything works fine except for
>>the
>> > >view
>> > >console button, when clicked the browser says "The operation timed
>>out."
>> > >
>> > >I can ssh into the cpvm and ssvm from the host, and the ssvm-check
>> script
>> > >shows no errors on either of them.
>> > >
>> > >I am running centos 6.4, have iptables turned off on the management
>>and
>> > >host server. Have double checked my libvirt settings and even tried
>> > >reinstalling everything.
>> > >
>> > >I can ping the system vms from both servers
>> > >
>> > >I can not find anything relevant in any logs either.
>> > >
>> > >
>> > >I appreciate any suggestions, and I can provide logs/more details if
>> > >needed.
>> > >
>> > >
>> > >Thank you
>> >
>>
>>
>>

Reply via email to