cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 양용석 <cnc4e...@gmail.com>
Subject Re: Cannot access any consoles, View console time out (Instances, CPVM, SSVM)
Date Wed, 23 Jul 2014 08:43:24 GMT
Yes it was listening on 0.0.0.0. I've added the results at the bottom.
As for the virsh command, it responded with an error.
I actually didn't know if you were actually meaning cpvmdomainid, or my
domain name. So I tried them all but failed.
My hostname is "srvr2.cloud.priv", dnsdomainname command returns
"cloud.priv", so I tried srvr2, cloud.priv, srvr2.cloud.

Thanks.

===============
tcp        0      0 192.168.0.33:5900           0.0.0.0:*
LISTEN
tcp        0      0 192.168.0.33:5901           0.0.0.0:*
LISTEN
tcp        0      0 192.168.0.33:5902           0.0.0.0:*
LISTEN
tcp        0      0 192.168.0.33:5903           0.0.0.0:*
LISTEN
===============
error: failed to get domain 'cpvmdomainid'
error: Domain not found: no domain with matching name 'cpvmdomainid'



On Wed, Jul 23, 2014 at 5:32 PM, Suresh Sadhu <Suresh.Sadhu@citrix.com>
wrote:

> Ok then please run this command on your host
>
> #netstat -an | egrep ':590.*LISTEN'        and check whether its listening
> on 127.0.0.1 or 0.0.0.0
>
> Also check able to see the console through virsh console command.
> Virsh#console cpvmdomainid
>
>
> Regards
> Sadhu
>
>
> -----Original Message-----
> From: 양용석 [mailto:cnc4ever@gmail.com]
> Sent: 23 July 2014 12:22
> To: users@cloudstack.apache.org
> Subject: Re: Cannot access any consoles, View console time out (Instances,
> CPVM, SSVM)
>
> It has no problem resolving it, but added the line anyway. The results are
> unfortunately the same.
>
> ===================
> [root@srvr2 ~]# wget
>
> https://192-168-0-131.realhostip.com/ajax?token=ZHeTSl4ap_u6mGu8tO23CNuqaUjG9n4ZoLNWQheR_nug_s_CAYaQnQ1jZoiYOvoBo0UzPghV04sOIov83YMQUaKGr1WMS527kbCKL5eCBIZRZDA_Qy6mFzciBKPQzkN0pjVEdS5ATUr76e3mLp00CGiQiNOURceZAYTaD2F73ouuZAuDRcfTgswOVtu_iTwf9vD9O8HoxiAC8LQzuWr7dvk8MlswL1oX-Cs6mgRDvVDiyniu_WlFxfe1sFYin9HPlSYWYh7XT_nrGEov_L1_Xw
> --2014-07-23 15:51:10--
>
> https://192-168-0-131.realhostip.com/ajax?token=ZHeTSl4ap_u6mGu8tO23CNuqaUjG9n4ZoLNWQheR_nug_s_CAYaQnQ1jZoiYOvoBo0UzPghV04sOIov83YMQUaKGr1WMS527kbCKL5eCBIZRZDA_Qy6mFzciBKPQzkN0pjVEdS5ATUr76e3mLp00CGiQiNOURceZAYTaD2F73ouuZAuDRcfTgswOVtu_iTwf9vD9O8HoxiAC8LQzuWr7dvk8MlswL1oX-Cs6mgRDvVDiyniu_WlFxfe1sFYin9HPlSYWYh7XT_nrGEov_L1_Xw
> Resolving 192-168-0-131.realhostip.com... 192.168.0.131 Connecting to
> 192-168-0-131.realhostip.com|192.168.0.131|:443... failed:
> Connection refused.
> ===================
>
>
> On Wed, Jul 23, 2014 at 3:33 PM, Suresh Sadhu <Suresh.Sadhu@citrix.com>
> wrote:
>
> > Can you do wget  below url  and share the output
> >
> > Wget
> > https://192-168-0-131.realhostip.com/ajax?token=ZHeTSl4ap_u6mGu8tO23CN
> > uqaUjG9n4ZoLNWQheR_nug_s_CAYaQnQ1jZoiYOvoBo0UzPghV04sOIov83YMQUaKGr1WM
> > S527kbCKL5eCBIZRZDA_Qy6mFzciBKPQzkN0pjVEdS5ATUr76e3mLp00CGiQiNOURceZAY
> > TaD2F73ouuZAuDRcfTgswOVtu_iTwf9vD9O8HoxiAC8LQzuWr7dvk8MlswL1oX-Cs6mgRD
> > vVDiyniu_WlFxfe1sFYin9HPlSYWYh7XT_nrGEov_L1_Xw
> >
> >
> > if it fails to resolve  ,just  resolve manually  by adding entry in
> > /etc/hosts
> >
> > 192.168.0.131 192-168-0-131.realhostip.com
> >
> >
> >
> > regards
> > sadhu
> > -----Original Message-----
> > From: 양용석 [mailto:cnc4ever@gmail.com]
> > Sent: 23 July 2014 11:08
> > To: users@cloudstack.apache.org
> > Subject: Re: Cannot access any consoles, View console time out
> > (Instances, CPVM, SSVM)
> >
> > Oh, I thought it was till the end of June.
> > Yup, after accessing the Console Proxy VM by ssh -i
> > /root/.ssh/id_rsa.cloud -p 3922 root@169.254.*.*, Google can be pinged.
> >
> > The first log is when I click View console of an instance, and the
> > second log is when I click on View instance of CPVM.
> >
> > Really grateful you guys are looking into it, thank you.
> >
> >
> > Instace View console
> > ===========================================================
> >
> > 2014-07-23 14:30:30,855 DEBUG [c.c.a.t.Request]
> > (catalina-exec-11:null) Seq
> > 1-1418920379: Sending  { Cmd , MgmtId: 279278805451171, via:
> > 1(srvr2.cloud.priv), Ver: v1, Flags: 100011,
> > [{"com.cloud.agent.api.GetVncPortCommand":{"id":5,"name":"i-2-5-VM","w
> > ait":0}}]
> > }
> > 2014-07-23 14:30:30,861 DEBUG [c.c.a.t.Request]
> > (AgentManager-Handler-10:null) Seq 1-1418920379: Processing:  { Ans: ,
> > MgmtId: 279278805451171, via: 1, Ver: v1, Flags: 10,
> > [{"com.cloud.agent.api.GetVncPortAnswer":{"address":"192.168.0.33","po
> > rt":5904,"result":true,"wait":0}}]
> > }
> > 2014-07-23 14:30:30,861 DEBUG [c.c.a.t.Request]
> > (catalina-exec-11:null) Seq
> > 1-1418920379: Received:  { Ans: , MgmtId: 279278805451171, via: 1,
> > Ver: v1,
> > Flags: 10, { GetVncPortAnswer } }
> > 2014-07-23 14:30:30,861 DEBUG [c.c.s.ConsoleProxyServlet]
> > (catalina-exec-11:null) Port info 192.168.0.33
> > 2014-07-23 14:30:30,861 INFO  [c.c.s.ConsoleProxyServlet]
> > (catalina-exec-11:null) Parse host info returned from executing
> > GetVNCPortCommand. host info: 192.168.0.33
> > 2014-07-23 14:30:30,863 DEBUG [c.c.s.ConsoleProxyServlet]
> > (catalina-exec-11:null) Compose console url:
> >
> > https://192-168-0-131.realhostip.com/ajax?token=ZHeTSl4ap_u6mGu8tO23CN
> > uqaUjG9n4ZoLNWQheR_nug_s_CAYaQnQ1jZoiYOvoBFWYx6IQSu5k0P9C2j9k3n7W5nqq_
> > HtEjUnwcTiduoCT_Dz7Nsio5LCxI9WoN8z9YoiKVJwGM8odixAVXQklAX52yWDEIWp-Hvb
> > clKt-P7wgSfTRpiRt-slfUnd51Qu7_kMEKVZqnemFPzkTrQ-UQfTfCETi6eoUPIxWR6tLM
> > VZ4rfJItDbcSU-dgkHWWI7cenb8VAIHMrVUgUx8PpHID9w
> > 2014-07-23 14:30:30,863 DEBUG [c.c.s.ConsoleProxyServlet]
> > (catalina-exec-11:null) the console url is ::
> > <html><title>Ubuntu2</title><frameset><frame src="
> >
> > https://192-168-0-131.realhostip.com/ajax?token=ZHeTSl4ap_u6mGu8tO23CN
> > uqaUjG9n4ZoLNWQheR_nug_s_CAYaQnQ1jZoiYOvoBFWYx6IQSu5k0P9C2j9k3n7W5nqq_
> > HtEjUnwcTiduoCT_Dz7Nsio5LCxI9WoN8z9YoiKVJwGM8odixAVXQklAX52yWDEIWp-Hvb
> > clKt-P7wgSfTRpiRt-slfUnd51Qu7_kMEKVZqnemFPzkTrQ-UQfTfCETi6eoUPIxWR6tLM
> > VZ4rfJItDbcSU-dgkHWWI7cenb8VAIHMrVUgUx8PpHID9w
> > "></frame></frameset></html>
> > 2014-07-23 14:30:31,276 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-9:null) SeqA 2-19930: Processing Seq 2-19930:  {
> > Cmd , MgmtId: -1, via: 2, Ver: v1, Flags: 11,
> > [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":1,
> > "_loadInfo":"{\n
> >  \"connections\": []\n}","wait":0}}] }
> > 2014-07-23 14:30:31,340 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-9:null) SeqA 2-19930: Sending Seq 2-19930:  {
> > Ans: ,
> > MgmtId: 279278805451171, via: 2, Ver: v1, Flags: 100010,
> > [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}]
> > }
> > 2014-07-23 14:30:35,573 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
> > (secstorage-1:ctx-55291410) Zone 1 is ready to launch secondary
> > storage VM
> > 2014-07-23 14:30:35,796 DEBUG [c.c.c.ConsoleProxyManagerImpl]
> > (consoleproxy-1:ctx-602d74b8) Zone 1 is ready to launch console proxy
> > 2014-07-23 14:30:41,276 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-12:null) SeqA 2-19931: Processing Seq 2-19931:
> > { Cmd , MgmtId: -1, via: 2, Ver: v1, Flags: 11,
> > [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":1,
> > "_loadInfo":"{\n
> >  \"connections\": []\n}","wait":0}}] }
> > 2014-07-23 14:30:41,358 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-12:null) SeqA 2-19931: Sending Seq 2-19931:  {
> > Ans: ,
> > MgmtId: 279278805451171, via: 2, Ver: v1, Flags: 100010,
> > [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}]
> > }
> > 2014-07-23 14:30:43,172 DEBUG
> > [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> > (RouterStatusMonitor-1:ctx-2652f692) Found 0 routers to update status.
> > 2014-07-23 14:30:43,173 DEBUG
> > [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> > (RouterStatusMonitor-1:ctx-2652f692) Found 0 networks to update RvR
> status.
> > 2014-07-23 14:30:45,232 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-11:null) Ping from 3
> > 2014-07-23 14:30:45,264 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-13:null) Ping from 2
> > 2014-07-23 14:30:45,474 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-14:null) Ping from 1
> > 2014-07-23 14:30:51,316 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-1:null) SeqA 2-19933: Processing Seq 2-19933:  {
> > Cmd , MgmtId: -1, via: 2, Ver: v1, Flags: 11,
> > [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":1,
> > "_loadInfo":"{\n
> >  \"connections\": []\n}","wait":0}}] }
> > 2014-07-23 14:30:51,392 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-1:null) SeqA 2-19933: Sending Seq 2-19933:  {
> > Ans: ,
> > MgmtId: 279278805451171, via: 2, Ver: v1, Flags: 100010,
> > [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}]
> > }
> >
> >
> > CPVM View console
> > ===========================================================
> >
> > 2014-07-23 14:35:19,662 DEBUG [c.c.a.t.Request] (catalina-exec-9:null)
> > Seq
> > 1-1418920394: Sending  { Cmd , MgmtId: 279278805451171, via:
> > 1(srvr2.cloud.priv), Ver: v1, Flags: 100011,
> > [{"com.cloud.agent.api.GetVncPortCommand":{"id":1,"name":"v-1-VM","wai
> > t":0}}]
> > }
> > 2014-07-23 14:35:19,706 DEBUG [c.c.a.t.Request]
> > (AgentManager-Handler-3:null) Seq 1-1418920394: Processing:  { Ans: ,
> > MgmtId: 279278805451171, via: 1, Ver: v1, Flags: 10,
> > [{"com.cloud.agent.api.GetVncPortAnswer":{"address":"192.168.0.33","po
> > rt":5900,"result":true,"wait":0}}]
> > }
> > 2014-07-23 14:35:19,706 DEBUG [c.c.a.t.Request] (catalina-exec-9:null)
> > Seq
> > 1-1418920394: Received:  { Ans: , MgmtId: 279278805451171, via: 1,
> > Ver: v1,
> > Flags: 10, { GetVncPortAnswer } }
> > 2014-07-23 14:35:19,706 DEBUG [c.c.s.ConsoleProxyServlet]
> > (catalina-exec-9:null) Port info 192.168.0.33
> > 2014-07-23 14:35:19,706 INFO  [c.c.s.ConsoleProxyServlet]
> > (catalina-exec-9:null) Parse host info returned from executing
> > GetVNCPortCommand. host info: 192.168.0.33
> > 2014-07-23 14:35:19,708 DEBUG [c.c.s.ConsoleProxyServlet]
> > (catalina-exec-9:null) Compose console url:
> >
> > https://192-168-0-131.realhostip.com/ajax?token=ZHeTSl4ap_u6mGu8tO23CN
> > uqaUjG9n4ZoLNWQheR_nug_s_CAYaQnQ1jZoiYOvoBo0UzPghV04sOIov83YMQUaKGr1WM
> > S527kbCKL5eCBIZRZDA_Qy6mFzciBKPQzkN0pjVEdS5ATUr76e3mLp00CGiQiNOURceZAY
> > TaD2F73ouuZAuDRcfTgswOVtu_iTwf9vD9O8HoxiAC8LQzuWr7dvk8MlswL1oX-Cs6mgRD
> > vVDiyniu_WlFxfe1sFYin9HPlSYWYh7XT_nrGEov_L1_Xw
> > 2014-07-23 14:35:19,708 DEBUG [c.c.s.ConsoleProxyServlet]
> > (catalina-exec-9:null) the console url is ::
> > <html><title>v-1-VM</title><frameset><frame src="
> >
> > https://192-168-0-131.realhostip.com/ajax?token=ZHeTSl4ap_u6mGu8tO23CN
> > uqaUjG9n4ZoLNWQheR_nug_s_CAYaQnQ1jZoiYOvoBo0UzPghV04sOIov83YMQUaKGr1WM
> > S527kbCKL5eCBIZRZDA_Qy6mFzciBKPQzkN0pjVEdS5ATUr76e3mLp00CGiQiNOURceZAY
> > TaD2F73ouuZAuDRcfTgswOVtu_iTwf9vD9O8HoxiAC8LQzuWr7dvk8MlswL1oX-Cs6mgRD
> > vVDiyniu_WlFxfe1sFYin9HPlSYWYh7XT_nrGEov_L1_Xw
> > "></frame></frameset></html>
> > 2014-07-23 14:35:22,921 DEBUG [c.c.s.StatsCollector]
> > (StatsCollector-3:ctx-122d3e8b) HostStatsCollector is running...
> > 2014-07-23 14:35:23,500 DEBUG [c.c.a.t.Request]
> > (StatsCollector-3:ctx-122d3e8b) Seq 1-1418920395: Received:  { Ans: ,
> > MgmtId: 279278805451171, via: 1, Ver: v1, Flags: 10, {
> > GetHostStatsAnswer } }
> > 2014-07-23 14:35:26,295 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-5:null) SeqA 2-19969: Processing Seq 2-19969:  {
> > Cmd , MgmtId: -1, via: 2, Ver: v1, Flags: 11,
> > [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":1,
> > "_loadInfo":"{\n
> >  \"connections\": []\n}","wait":0}}] }
> > 2014-07-23 14:35:26,355 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-5:null) SeqA 2-19969: Sending Seq 2-19969:  {
> > Ans: ,
> > MgmtId: 279278805451171, via: 2, Ver: v1, Flags: 100010,
> > [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}]
> > }
> > 2014-07-23 14:35:31,295 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-7:null) SeqA 2-19970: Processing Seq 2-19970:  {
> > Cmd , MgmtId: -1, via: 2, Ver: v1, Flags: 11,
> > [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":1,
> > "_loadInfo":"{\n
> >  \"connections\": []\n}","wait":0}}] }
> > 2014-07-23 14:35:31,365 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-7:null) SeqA 2-19970: Sending Seq 2-19970:  {
> > Ans: ,
> > MgmtId: 279278805451171, via: 2, Ver: v1, Flags: 100010,
> > [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}]
> > }
> > 2014-07-23 14:35:35,573 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
> > (secstorage-1:ctx-3b02c002) Zone 1 is ready to launch secondary
> > storage VM
> > 2014-07-23 14:35:35,796 DEBUG [c.c.c.ConsoleProxyManagerImpl]
> > (consoleproxy-1:ctx-021a3842) Zone 1 is ready to launch console proxy
> > 2014-07-23 14:35:41,296 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-6:null) SeqA 2-19971: Processing Seq 2-19971:  {
> > Cmd , MgmtId: -1, via: 2, Ver: v1, Flags: 11,
> > [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":1,
> > "_loadInfo":"{\n
> >  \"connections\": []\n}","wait":0}}] }
> > 2014-07-23 14:35:41,375 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-6:null) SeqA 2-19971: Sending Seq 2-19971:  {
> > Ans: ,
> > MgmtId: 279278805451171, via: 2, Ver: v1, Flags: 100010,
> > [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}]
> > }
> >
> >
> > On Wed, Jul 23, 2014 at 2:19 PM, Suresh Sadhu
> > <Suresh.Sadhu@citrix.com>
> > wrote:
> >
> > > NO,  it has nothing to do with real host  expire time as time got
> > > extended .
> > > May be the problem might be on public ip  reachability.
> > >
> > > Does your console proxy public ip is accessible. Are you able to
> > > ping
> > > outside(eg: ping google.com) from your console proxy.
> > >
> > > Also provide the ms logs content when you click on console view.
> > >
> > > Regards
> > > Sadhu
> > >
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: 양용석 [mailto:cnc4ever@gmail.com]
> > > Sent: 23 July 2014 09:04
> > > To: users@cloudstack.apache.org
> > > Subject: Re: Cannot access any consoles, View console time out
> > > (Instances, CPVM, SSVM)
> > >
> > > Hi Amogh,
> > >
> > > Thanks for the reply, tried changing the value of
> > > consoleproxy.url.domain to realhostip.com.
> > > (Mine was blank, where it seems to have been *.realhostip.com in the
> > > link you gave me) Unfortunately, didn't work out for me.
> > > Maybe it has something to do with realhostip.com service retired?
> > >
> > > Thanks.
> > >
> > >
> > > On Wed, Jul 23, 2014 at 11:31 AM, Amogh Vasekar
> > > <amogh.vasekar@citrix.com>
> > > wrote:
> > >
> > > > http://goo.gl/IsnRFw
> > > >
> > > > Thanks,
> > > > Amogh
> > > >
> > > >
> > > >
> > > >
> > > > On 7/22/14 6:52 PM, "양용석" <cnc4ever@gmail.com> wrote:
> > > >
> > > > >Hi, I am running CloudStack 4.3.0 on CentOS 6.5 minimal, and
> > > > >followed the Quick Installation guide (management server and host
> > > > >on the same
> > > machine).
> > > > >I think I have installed it without any issues, everything up and
> > > > >running, can create instances and so on.
> > > > >But one thing I cannot do is access any sort of consoles on the
> > > > >UI due to the all being timed out.
> > > > >I have tried stop/destroy/recreate/reboot/complete reinstall but
> > > > >still fails.
> > > > >I also tried running ./ssvm-check.sh, but it all results in "Good"
> > > > >results.
> > > > >(5 Goods, no ERRORs, WARNINGs)
> > > > >There aren't any errors/warning in the management-server.log
> > > > >after I click "View console".
> > > > >
> > > > >My concerns are the 'General Alerts' on the Dashboard and some
> > > > >line in the log file which are :
> > > > > - Management network CIDR is not configured originally. Set it
> > > > >default to
> > > > >192.168.0.0/24 -> This was present from the beginning of the
> > > > installation.
> > > > >Looked in the Global Settings management.network.cidr, where it
> > > > >already said 192.168.0.0/24. I actually don't exactly understand
> > > > >what this means though..
> > > > > - Console proxy rebooted in zone: Zone1, proxy: v-1-VM, public IP:
> > > > >192.168.0.131, private IP: 192.168.0.110 : This may be a clue?
> > > > >Also don't understand this message either.
> > > > > - 2014-07-23 09:56:18,997 WARN  [c.c.u.n.Link]
> > > > >(AgentManager-Selector:null) SSL: Fail to find the generated
> keystore.
> > > > >Loading fail-safe one to continue. : This sometimes comes up when
> > > > >I 'egrep
> > > > >ERROR|WARN' the management-server.log over time,
> > > > >
> > > > >The PC I'm running on is on a router using 192.168.0.33 with a
> > > > >gateway of 192.168.0.1.
> > > > >The management IP ranges are 192.168.0.110 ~ 192.168.0.120.
> > > > >The guest IP ranges are 192.168.0.130 ~ 192.168.0.140.
> > > > >
> > > > >If you have any ideas help me out please.
> > > > >I am not very skilled in networking or linux systems, so it would
> > > > >be a great help if you could explain some concrete procedures.
> > > > >Thank you all in advance!
> > > >
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message