cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sunko2014 <sunko2...@gmail.com>
Subject Re: Re: help:通过控制台访问VM失败
Date Fri, 02 Aug 2013 10:15:12 GMT
在management中,一次连接的log:
2013-08-02 18:05:23,396 DEBUG [agent.transport.Request]
(catalina-exec-23:null) Seq 1-1306198301: Sending  { Cmd , MgmtId:
260071274268429, via: 1, Ver: v1, Flags: 100011,
[{"GetVncPortCommand":{"id":15,"name":"i-2-15-VM","wait":0}}]
}
2013-08-02 18:05:23,396 DEBUG [agent.transport.Request]
(catalina-exec-23:null) Seq 1-1306198301: Executing:  { Cmd , MgmtId:
260071274268429, via: 1, Ver: v1, Flags: 100011,
[{"GetVncPortCommand":{"id":15,"name":"i-2-15-VM","wait":0}}] }
2013-08-02 18:05:23,397 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-430:null) Seq 1-1306198301: Executing request
2013-08-02 18:05:23,434 DEBUG [cloud.api.ApiServlet]
(catalina-exec-14:null) ===END===  192.168.13.72 -- GET
 command=listOsTypes&response=json&sessionkey=1%2FS4%2FW0YJt%2Bq%2Fs%2FuN7RC%2FLXh5tE%3D&_=1375438086551
2013-08-02 18:05:23,960 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-430:null) Seq 1-1306198301: Response Received:
2013-08-02 18:05:23,960 DEBUG [agent.transport.Request]
(DirectAgent-430:null) Seq 1-1306198301: Processing:  { Ans: , MgmtId:
260071274268429, via: 1, Ver: v1, Flags: 10, [{"GetVncPortAnswer
":{"address":"consoleurl=
https://172.16.101.100/console?uuid=b17d187e-6fd9-3775-be38-01bf32d86dae&sessionref=OpaqueRef:f5c15d6e-561d-16b9-788e-27912c68701c","port":5905,"result":true,"wait":0}}]
}
2013-08-02 18:05:23,961 DEBUG [agent.transport.Request]
(catalina-exec-23:null) Seq 1-1306198301: Received:  { Ans: , MgmtId:
260071274268429, via: 1, Ver: v1, Flags: 10, { GetVncPortAnswer } }
2013-08-02 18:05:23,961 DEBUG [cloud.servlet.ConsoleProxyServlet]
(catalina-exec-23:null) Port info consoleurl=
https://172.16.101.100/console?uuid=b17d187e-6fd9-3775-be38-01bf32d86dae&sessionref=OpaqueRef:f5c15d6e-561d-16b9-788e-27912c68701c
2013-08-02 18:05:23,961 INFO  [cloud.servlet.ConsoleProxyServlet]
(catalina-exec-23:null) Parse host info returned from executing
GetVNCPortCommand. host info: consoleurl=
https://172.16.101.100/console?uuid=b17d187e-6fd9-3775-be38-01bf32d86dae&sessionref=OpaqueRef:f5c15d6e-561d-16b9-788e-27912c68701c
2013-08-02 18:05:23,969 DEBUG [cloud.servlet.ConsoleProxyServlet]
(catalina-exec-23:null) Compose console url:
https://192-168-45-151.realhostip.com/ajax?token=tsl1xX_XA22fT8WGySZVyWSrZhWM13kgOMdgCRJQJjorDfux2-SSoUWFOJgHQpgBp0ZptEq2Xg3GwFqUGR4BZoTni6p6PhTry5lATbs34Zts3RK6WZRxYSXVTZdn0g6hGS_dwYZF90iR7QaZCLPrxxda6XHQ_Gin8aLfl5rBFesabJhYf8odUsxM8CjcioJTLuuesWufoG2v9a3BaRzyC2pelQkZSyjq6gducHaXb3oIVIaHZfLgY0Qf_QHLzp57rLpY4xgF_9KCxIj191SC1XpFO6lZRBt-hJDa8N73KIkUCnKwwB8tZC34veUjOyBCFuYg5rEIysaJP47D3yQXlzux5b_nT7DIQ641EEybHCeLIyopGHMxtXgtha5Ocdot18UjtYIaw5bAUnqYegKTN2ZV7aF9el2P5bHB_Kw0au6xq-FJtmZwAtGsbLI9adFfondG7ZfhMUlN0KO855zNzXuQ-Iby-CtUzSGtLmG--RU&guest=windows
2013-08-02 18:05:23,969 DEBUG [cloud.servlet.ConsoleProxyServlet]
(catalina-exec-23:null) the console url is ::
<html><title>test01</title><frameset><frame src="
https://192-168-45-151.realhostip.com/ajax?token=tsl1xX_XA22fT8WGySZVyWSrZhWM13kgOMdgCRJQJjorDfux2-SSoUWFOJgHQpgBp0ZptEq2Xg3GwFqUGR4BZoTni6p6PhTry5lATbs34Zts3RK6WZRxYSXVTZdn0g6hGS_dwYZF90iR7QaZCLPrxxda6XHQ_Gin8aLfl5rBFesabJhYf8odUsxM8CjcioJTLuuesWufoG2v9a3BaRzyC2pelQkZSyjq6gducHaXb3oIVIaHZfLgY0Qf_QHLzp57rLpY4xgF_9KCxIj191SC1XpFO6lZRBt-hJDa8N73KIkUCnKwwB8tZC34veUjOyBCFuYg5rEIysaJP47D3yQXlzux5b_nT7DIQ641EEybHCeLIyopGHMxtXgtha5Ocdot18UjtYIaw5bAUnqYegKTN2ZV7aF9el2P5bHB_Kw0au6xq-FJtmZwAtGsbLI9adFfondG7ZfhMUlN0KO855zNzXuQ-Iby-CtUzSGtLmG--RU&guest=windows
"></frame></frameset></html>
2013-08-02 18:05:24,558 DEBUG [cloud.server.StatsCollector]
(StatsCollector-2:null) HostStatsCollector is running...
2013-08-02 18:05:24,578 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-451:null) Seq 1-1306198302: Executing request
2013-08-02 18:05:25,017 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-451:null) Seq 1-1306198302: Response Received:
2013-08-02 18:05:25,018 DEBUG [agent.transport.Request]
(StatsCollector-2:null) Seq 1-1306198302: Received:  { Ans: , MgmtId:
260071274268429, via: 1, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
2013-08-02 18:05:25,746 DEBUG
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
is ready to launch secondary storage VM
2013-08-02 18:05:26,029 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl]
(consoleproxy-1:null) Zone 1 is ready to launch console proxy
2013-08-02 18:05:26,731 DEBUG [cloud.server.StatsCollector]
(StatsCollector-1:null) VmStatsCollector is running...
2013-08-02 18:05:26,758 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-164:null) Seq 1-1306198303: Executing request
2013-08-02 18:05:26,885 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
(SnapshotPollTask:null) Snapshot scheduler.poll is being called at
2013-08-02 10:05:26 GMT
2013-08-02 18:05:26,888 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
(SnapshotPollTask:null) Got 0 snapshots to be executed at 2013-08-02
10:05:26 GMT
2013-08-02 18:05:26,913 DEBUG
[cloud.network.ExternalLoadBalancerUsageManagerImpl]
(ExternalNetworkMonitor-1:null) External load balancer devices stats
collector is running...
2013-08-02 18:05:26,953 DEBUG
[cloud.network.ExternalLoadBalancerUsageManagerImpl]
(ExternalNetworkMonitor-1:null) Network 205 is not configured for external
networking, so skipping usage check.
2013-08-02 18:05:26,965 DEBUG
[cloud.network.ExternalLoadBalancerUsageManagerImpl]
(ExternalNetworkMonitor-1:null) Network 206 is not configured for external
networking, so skipping usage check.
2013-08-02 18:05:26,975 DEBUG
[cloud.network.ExternalLoadBalancerUsageManagerImpl]
(ExternalNetworkMonitor-1:null) Network 207 is not configured for external
networking, so skipping usage check.


On Fri, Aug 2, 2013 at 6:04 PM, sunko2014 <sunko2014@gmail.com> wrote:

> 开通了proxy-vm的debug信息:
> 当我从浏览器发起view console时,我在manage server的catalina.out跟踪到这样的log:
> INFO  [network.security.SecurityGroupListener] (AgentManager-Handler-9:)
> Received a host startup notification
> INFO  [cloud.consoleproxy.ConsoleProxyManagerImpl]
> (AgentManager-Handler-9:) Successfully sent out command to start HTTP
> handling in console proxy agent
> INFO  [cloud.servlet.ConsoleProxyServlet] (catalina-exec-22:) Parse host
> info returned from executing GetVNCPortCommand. host info: consoleurl=
> https://172.16.101.100/console?uuid=7e5eea29-4934-fd0f-508c-10991e299eaa&sessionref=OpaqueRef:f5c15d6e-561d-16b9-788e-27912c68701c
>
> 然后我在proxy vm中的systemvm。log中就没有跟踪到响应请求的log,下面是我重启systemvm.log,并发起一次view
> console时的log:
>
> 2013-08-02 09:45:42,087 INFO  [cloud.consoleproxy.ConsoleProxy]
> (Console-Proxy-Main:) Property consoleproxy.httpListenPort: 8088
> 2013-08-02 09:45:42,088 INFO  [cloud.consoleproxy.ConsoleProxy]
> (Console-Proxy-Main:) Property xencons: ttyS0,115200
> 2013-08-02 09:45:42,088 INFO  [cloud.consoleproxy.ConsoleProxy]
> (Console-Proxy-Main:) Property public.network.device: eth2
> 2013-08-02 09:45:42,088 INFO  [cloud.consoleproxy.ConsoleProxy]
> (Console-Proxy-Main:) Property type: consoleproxy
> 2013-08-02 09:45:42,089 INFO  [cloud.consoleproxy.ConsoleProxy]
> (Console-Proxy-Main:) Setting httpListenPort=8088
> 2013-08-02 09:45:42,091 INFO  [cloud.consoleproxy.ConsoleProxy]
> (Console-Proxy-Main:) Premium setting will override settings from
> consoleproxy.properties, listen at
> port 443
> 2013-08-02 09:45:42,091 INFO  [cloud.consoleproxy.ConsoleProxy]
> (Console-Proxy-Main:) Setting httpCmdListenPort=8001
> 2013-08-02 09:45:42,092 INFO  [cloud.consoleproxy.ConsoleProxy]
> (Console-Proxy-Main:) Setting reconnectMaxRetry=5
> 2013-08-02 09:45:42,097 INFO
>  [cloud.consoleproxy.ConsoleProxySecureServerFactoryImpl]
> (Console-Proxy-Main:) Start initializing SSL
> 2013-08-02 09:45:42,097 INFO
>  [cloud.consoleproxy.ConsoleProxySecureServerFactoryImpl]
> (Console-Proxy-Main:) Initializing SSL from passed-in certificate
> 2013-08-02 09:45:42,119 INFO
>  [cloud.consoleproxy.ConsoleProxySecureServerFactoryImpl]
> (Console-Proxy-Main:) Key manager factory is initialized
> 2013-08-02 09:45:42,121 INFO
>  [cloud.consoleproxy.ConsoleProxySecureServerFactoryImpl]
> (Console-Proxy-Main:) Trust manager factory is initialized
> 2013-08-02 09:45:42,123 INFO
>  [cloud.consoleproxy.ConsoleProxySecureServerFactoryImpl]
> (Console-Proxy-Main:) SSL context is initialized
> 2013-08-02 09:45:42,124 INFO
>  [cloud.consoleproxy.ConsoleProxySecureServerFactoryImpl]
> (Console-Proxy-Main:) Start initializing SSL
> 2013-08-02 09:45:42,124 INFO
>  [cloud.consoleproxy.ConsoleProxySecureServerFactoryImpl]
> (Console-Proxy-Main:) Initializing SSL from passed-in certificate
> 2013-08-02 09:45:42,128 INFO
>  [cloud.consoleproxy.ConsoleProxySecureServerFactoryImpl]
> (Console-Proxy-Main:) Key manager factory is initialized
> 2013-08-02 09:45:42,132 INFO
>  [cloud.consoleproxy.ConsoleProxySecureServerFactoryImpl]
> (Console-Proxy-Main:) Trust manager factory is initialized
> 2013-08-02 09:45:42,132 INFO
>  [cloud.consoleproxy.ConsoleProxySecureServerFactoryImpl]
> (Console-Proxy-Main:) SSL context is initialized
> 2013-08-02 09:45:42,148 INFO
>  [cloud.consoleproxy.ConsoleProxySecureServerFactoryImpl]
> (Console-Proxy-Main:) create HTTPS server instance on port: 443
> 2013-08-02 09:45:42,163 INFO  [cloud.consoleproxy.ConsoleProxy]
> (Console-Proxy-Main:) Listening for HTTP CMDs on port 8001
> 2013-08-02 09:45:42,179 DEBUG [cloud.consoleproxy.ConsoleProxyGCThread]
> (Console Proxy GC Thread:) connMap={}
> 2013-08-02 09:45:47,180 DEBUG [cloud.consoleproxy.ConsoleProxyGCThread]
> (Console Proxy GC Thread:) connMap={}
> 2013-08-02 09:45:52,180 DEBUG [cloud.consoleproxy.ConsoleProxyGCThread]
> (Console Proxy GC Thread:) connMap={}
> 2013-08-02 09:45:57,181 DEBUG [cloud.consoleproxy.ConsoleProxyGCThread]
> (Console Proxy GC Thread:) connMap={}
> 2013-08-02 09:46:02,181 DEBUG [cloud.consoleproxy.ConsoleProxyGCThread]
> (Console Proxy GC Thread:) connMap={}
> 2013-08-02 09:46:07,182 DEBUG [cloud.consoleproxy.ConsoleProxyGCThread]
> (Console Proxy GC Thread:) connMap={}
> 2013-08-02 09:46:12,183 DEBUG [cloud.consoleproxy.ConsoleProxyGCThread]
> (Console Proxy GC Thread:) connMap={}
> 2013-08-02 09:46:17,183 DEBUG [cloud.consoleproxy.ConsoleProxyGCThread]
> (Console Proxy GC Thread:) connMap={}
> 2013-08-02 09:46:22,184 DEBUG [cloud.consoleproxy.ConsoleProxyGCThread]
> (Console Proxy GC Thread:) connMap={}
> 2013-08-02 09:46:27,184 DEBUG [cloud.consoleproxy.ConsoleProxyGCThread]
> (Console Proxy GC Thread:) connMap={}
> 2013-08-02 09:46:32,185 DEBUG [cloud.consoleproxy.ConsoleProxyGCThread]
> (Console Proxy GC Thread:) connMap={}
> 2013-08-02 09:46:37,185 DEBUG [cloud.consoleproxy.ConsoleProxyGCThread]
> (Console Proxy GC Thread:) connMap={}
> 2013-08-02 09:46:41,732 DEBUG [cloud.agent.Agent] (UgentTask-2:) Sending
> ping: Seq 3-2:  { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11,
> [{"PingCommand":{"hostType":
> "ConsoleProxy","hostId":3,"wait":0}}] }
> 2013-08-02 09:46:41,784 DEBUG [cloud.agent.Agent] (Agent-Handler-1:)
> Received response: Seq 3-2:  { Ans: , MgmtId: 260071274268429, via: 3, Ver:
> v1, Flags: 100010, [
> {"PingAnswer":{"_command":{"hostType":"ConsoleProxy","hostId":3,"wait":0},"result":true,"wait":0}}]
> }
> 2013-08-02 09:46:42,186 DEBUG [cloud.consoleproxy.ConsoleProxyGCThread]
> (Console Proxy GC Thread:) connMap={}
> 2013-08-02 09:46:47,186 DEBUG [cloud.consoleproxy.ConsoleProxyGCThread]
> (Console Proxy GC Thread:) connMap={}
>
>
> On Fri, Aug 2, 2013 at 3:55 PM, Wei ZHOU <ustcweizhou@gmail.com> wrote:
>
>> 信息量还是太少了。
>> 在console proxy vm改一下log4j-cloud.xml的配置,然后重启cloud服务,可以得到更多的INFO,便于debug
>> sed -i 's/INFO/DEBUG/g' /usr/local/cloud/systemvm/conf/log4j-cloud.xml
>>
>>
>> 2013/8/2 tanthalas <tanthalas510@hotmail.com>
>>
>> >
>> > 还有些东西不是很清楚,你再排查一下
>> > 浏览器上用管理节点的外网地址访问的console还是内网?
>> > 能否解析console想要打开的域名X-X-X-X.realhostip.com
>> > guest/public/manage vlan是怎么设定的的,交换机又是怎么设定的?
>> >
>> > 2013-08-02
>> > 刘宇超  Richard Liu
>> >
>> >
>> >
>> >
>> > 发件人: sunko2014
>> > 发送时间: 2013-08-02 14:24:03
>> > 收件人: users-cn
>> > 抄送:
>> > 主题: Re: help:通过控制台访问VM失败
>> >
>> > hello:
>> >
>> >
>>  在host的xensource.log中,有一些异常的log,但是我不太会分析,贴出来,请大侠指教,log都是tail出来的,应该能直接反映错误情形:
>> > [20130802T06:17:14.108Z|debug|xenserver01|110080
>> inet-RPC|host.call_plugin
>> > R:44a2bf2503e5|audit] Host.call_plugin host =
>> > '8be3cea2-8fae-49a8-b482-9b26e7e0303e (xenserver01)'; plugin = 'echo';
>> fn =
>> > 'main'; args = [  ]
>> > [20130802T06:17:14.273Z|debug|xenserver01|110080
>> inet-RPC|host.call_plugin
>> > R:7e1eaa7080eb|audit] Host.call_plugin host =
>> > '8be3cea2-8fae-49a8-b482-9b26e7e0303e (xenserver01)'; plugin = 'vmops';
>> fn
>> > = 'getvncport'; args = [ domID: 7; hvm: false; version: 6.0.0 ]
>> > [20130802T06:17:24.548Z|debug|xenserver01|110080
>> inet-RPC||http_critical]
>> > Connection terminated
>> > [20130802T06:17:37.529Z|debug|xenserver01|110083
>> inet-RPC|host.call_plugin
>> > R:b4fa965ed255|audit] Host.call_plugin host =
>> > '8be3cea2-8fae-49a8-b482-9b26e7e0303e (xenserver01)'; plugin = 'echo';
>> fn =
>> > 'main'; args = [  ]
>> > [20130802T06:17:37.671Z|debug|xenserver01|110083
>> inet-RPC|host.call_plugin
>> > R:97ee28cb30b7|audit] Host.call_plugin host =
>> > '8be3cea2-8fae-49a8-b482-9b26e7e0303e (xenserver01)'; plugin = 'vmops';
>> fn
>> > = 'gethostvmstats'; args = [ startTime: 1375423126; interval: 60;
>> > consolidationFunction: AVERAGE; collectHostStats: true ]
>> > [20130802T06:17:38.821Z|debug|xenserver01|110083
>> inet-RPC|host.call_plugin
>> > R:2be88dbb76b5|audit] Host.call_plugin host =
>> > '8be3cea2-8fae-49a8-b482-9b26e7e0303e (xenserver01)'; plugin = 'echo';
>> fn =
>> > 'main'; args = [  ]
>> > [20130802T06:17:38.978Z|debug|xenserver01|110083
>> inet-RPC|host.call_plugin
>> > R:b2fd88645012|audit] Host.call_plugin host =
>> > '8be3cea2-8fae-49a8-b482-9b26e7e0303e (xenserver01)'; plugin = 'vmops';
>> fn
>> > = 'gethostvmstats'; args = [ startTime: 1375423127; interval: 60;
>> > consolidationFunction: AVERAGE; collectHostStats: false ]
>> > [20130802T06:17:43.686Z|debug|xenserver01|110083
>> inet-RPC|host.call_plugin
>> > R:7a4a1a7a1fd2|audit] Host.call_plugin host =
>> > '8be3cea2-8fae-49a8-b482-9b26e7e0303e (xenserver01)'; plugin = 'echo';
>> fn =
>> > 'main'; args = [  ]
>> > [20130802T06:17:43.824Z|debug|xenserver01|110083 inet-RPC|SR.scan
>> > R:c9f359be2ed5|audit] SR.scan: SR =
>> 'c296108a-f6a1-c2c5-d1af-47954009e595
>> > (c296108a-f6a1-c2c5-d1af-47954009e595)'
>> > [20130802T06:17:43.825Z|debug|xenserver01|110083 inet-RPC|SR.scan
>> > R:c9f359be2ed5|xapi] Marking SR for SR.scan
>> > (task=OpaqueRef:c9f359be-2ed5-f093-f773-1607e299bafc)
>> > [20130802T06:17:43.828Z|debug|xenserver01|110083 inet-RPC|SR.scan
>> > R:c9f359be2ed5|sm] SM ext sr_scan
>> > sr=OpaqueRef:f2e01272-b702-3184-f414-079f0378d780
>> > [20130802T06:17:43.832Z| info|xenserver01|110083 inet-RPC|sm_exec
>> > D:771114be114c|xapi] Session.create
>> > trackid=e0e1ea2bdbab599d134c73f1144ebd47 pool=false uname=
>> > is_local_superuser=true auth_user_sid=
>> > parent=trackid=9834f5af41c964e225f24279aefe4e49
>> > [20130802T06:17:43.833Z|debug|xenserver01|110083 inet-RPC|sm_exec
>> > D:771114be114c|xapi] Attempting to open /var/xapi/xapi
>> > [20130802T06:17:43.836Z|debug|xenserver01|110086
>> unix-RPC||dummytaskhelper]
>> > task dispatch:session.get_uuid D:c000c3fb5d6d created by task
>> > D:771114be114c
>> > [20130802T06:17:44.000Z|debug|xenserver01|110087
>> unix-RPC||dummytaskhelper]
>> > task dispatch:host.get_other_config D:2f1b2f203332 created by task
>> > R:c9f359be2ed5
>> > [20130802T06:17:44.151Z|debug|xenserver01|110088
>> unix-RPC||dummytaskhelper]
>> > task dispatch:SR.get_by_uuid D:e9e9c9a9a6b3 created by task
>> R:c9f359be2ed5
>> > [20130802T06:17:44.154Z| info|xenserver01|110089
>> > unix-RPC|session.login_with_password D:0d015bacc72f|xapi] Session.create
>> > trackid=ee2b04c7d293cfba87dd34a8c1cae443 pool=false uname=root
>> > is_local_superuser=true auth_user_sid=
>> > parent=trackid=9834f5af41c964e225f24279aefe4e49
>> > [20130802T06:17:44.156Z|debug|xenserver01|110089
>> > unix-RPC|session.login_with_password D:0d015bacc72f|xapi] Attempting to
>> > open /var/xapi/xapi
>> > [20130802T06:17:44.160Z|debug|xenserver01|110090
>> unix-RPC||dummytaskhelper]
>> > task dispatch:session.get_uuid D:bf607dd8e2d9 created by task
>> > D:0d015bacc72f
>> > [20130802T06:17:44.162Z|debug|xenserver01|110091
>> unix-RPC||dummytaskhelper]
>> > task dispatch:SR.set_virtual_allocation D:eef45d3c3f67 created by task
>> > R:c9f359be2ed5
>> > [20130802T06:17:44.175Z|debug|xenserver01|110093
>> unix-RPC||dummytaskhelper]
>> > task dispatch:SR.set_physical_size D:0afe660f638b created by task
>> > R:c9f359be2ed5
>> > [20130802T06:17:44.189Z|debug|xenserver01|110095
>> unix-RPC||dummytaskhelper]
>> > task dispatch:SR.set_physical_utilisation D:7f5aa0a77fcf created by task
>> > R:c9f359be2ed5
>> > [20130802T06:17:44.199Z|debug|xenserver01|110097
>> unix-RPC||dummytaskhelper]
>> > task dispatch:SR.get_by_uuid D:988be0727d0e created by task
>> R:c9f359be2ed5
>> > [20130802T06:17:44.210Z|debug|xenserver01|110099
>> unix-RPC||dummytaskhelper]
>> > task dispatch:VDI.get_all_records_where D:c10fa84b19c2 created by task
>> > R:c9f359be2ed5
>> > [20130802T06:17:44.265Z| info|xenserver01|110083 inet-RPC|sm_exec
>> > D:771114be114c|xapi] Session.destroy
>> > trackid=e0e1ea2bdbab599d134c73f1144ebd47
>> > [20130802T06:17:44.269Z|debug|xenserver01|110083 inet-RPC|SR.scan
>> > R:c9f359be2ed5|xapi] Unmarking SR after SR.scan
>> > (task=OpaqueRef:c9f359be-2ed5-f093-f773-1607e299bafc)
>> > [20130802T06:17:49.645Z|debug|xenserver01|18 db_gc|DB GC
>> > D:6c04debde0ec|db_gc] Number of disposable sessions in database
>> (401/401)
>> > exceeds limit (400): will delete the oldest
>> > [20130802T06:17:49.645Z|debug|xenserver01|18 db_gc|DB GC
>> > D:6c04debde0ec|db_gc] Session.destroy
>> > _ref=OpaqueRef:f983ae3f-cf7f-578a-f7e1-4c05acd0faa1
>> > uuid=ba0c8578-6739-781c-18b2-b8ef69fbb92d
>> > trackid=e92b21bebc07e26201fc9234170d9df6 (last active
>> 20130802T00:02:01Z):
>> > Timed out session because max number of sessions was exceeded
>> > [20130802T06:17:49.646Z| info|xenserver01|18 db_gc|DB GC
>> > D:6c04debde0ec|xapi] Session.destroy
>> > trackid=e92b21bebc07e26201fc9234170d9df6
>> > [20130802T06:17:52.520Z|debug|xenserver01|110083
>> inet-RPC||http_critical]
>> > Connection terminated
>> > On Fri, Aug 2, 2013 at 2:15 PM, sunko2014 <sunko2014@gmail.com> wrote:
>> > > ok,找了一下,把里面的两个log都贴出来:
>> > > systmvm.log:
>> > > 2013-08-02 06:02:58,529 DEBUG [cloud.agent.Agent] (UgentTask-5:)
>> Sending
>> > > ping: Seq 3-2596:  { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11,
>> > > [{"PingCommand":{"hostType":"ConsoleProxy","hostId":3,"wait":0}}] }
>> > > 2013-08-02 06:02:58,574 DEBUG [cloud.agent.Agent] (Agent-Handler-4:)
>> > > Received response: Seq 3-2596:  { Ans: , MgmtId: 260071274268429,
>> via: 3,
>> > > Ver: v1, Flags: 100010,
>> > >
>> >
>> [{"PingAnswer":{"_command":{"hostType":"ConsoleProxy","hostId":3,"wait":0},"result":true,"wait":0}}]
>> > > }
>> > > 2013-08-02 06:03:58,529 DEBUG [cloud.agent.Agent] (UgentTask-5:)
>> Sending
>> > > ping: Seq 3-2597:  { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11,
>> > > [{"PingCommand":{"hostType":"ConsoleProxy","hostId":3,"wait":0}}] }
>> > > 2013-08-02 06:03:58,575 DEBUG [cloud.agent.Agent] (Agent-Handler-5:)
>> > > Received response: Seq 3-2597:  { Ans: , MgmtId: 260071274268429,
>> via: 3,
>> > > Ver: v1, Flags: 100010,
>> > >
>> >
>> [{"PingAnswer":{"_command":{"hostType":"ConsoleProxy","hostId":3,"wait":0},"result":true,"wait":0}}]
>> > > }
>> > > 2013-08-02 06:04:58,530 DEBUG [cloud.agent.Agent] (UgentTask-5:)
>> Sending
>> > > ping: Seq 3-2598:  { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11,
>> > > [{"PingCommand":{"hostType":"ConsoleProxy","hostId":3,"wait":0}}] }
>> > > 2013-08-02 06:04:58,575 DEBUG [cloud.agent.Agent] (Agent-Handler-1:)
>> > > Received response: Seq 3-2598:  { Ans: , MgmtId: 260071274268429,
>> via: 3,
>> > > Ver: v1, Flags: 100010,
>> > >
>> >
>> [{"PingAnswer":{"_command":{"hostType":"ConsoleProxy","hostId":3,"wait":0},"result":true,"wait":0}}]
>> > > }
>> > > 2013-08-02 06:05:58,530 DEBUG [cloud.agent.Agent] (UgentTask-5:)
>> Sending
>> > > ping: Seq 3-2599:  { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11,
>> > > [{"PingCommand":{"hostType":"ConsoleProxy","hostId":3,"wait":0}}] }
>> > > 2013-08-02 06:05:58,576 DEBUG [cloud.agent.Agent] (Agent-Handler-2:)
>> > > Received response: Seq 3-2599:  { Ans: , MgmtId: 260071274268429,
>> via: 3,
>> > > Ver: v1, Flags: 100010,
>> > >
>> >
>> [{"PingAnswer":{"_command":{"hostType":"ConsoleProxy","hostId":3,"wait":0},"result":true,"wait":0}}]
>> > > }
>> > >
>> > > cloud.out:
>> > > Context property pod: 1
>> > > Context property proxy_vm: 2
>> > > Context property guid: Proxy.2
>> > > Context property root: LABEL
>> > > Context property console: hvc0
>> > > Context property eth2mask: 255.255.255.0
>> > > Context property public.network.device: eth2
>> > > Context property private.network.device: eth1
>> > > Context property dns1: 192.168.13.31
>> > > Context property zone: 1
>> > > Context property eth1ip: 172.16.101.2
>> > > Context property instance: ConsoleProxy
>> > > Context property localgw: 172.16.101.1
>> > > Context property premium: true
>> > > Context property template: domP
>> > > Context property name: v-2-VM
>> > > Configure log4j using
>> file:/usr/local/cloud/systemvm/conf/log4j-cloud.xml
>> > > Log4j configuration from :
>> /usr/local/cloud/systemvm/conf/log4j-cloud.xml
>> > > 11:01:53,367 ERROR NioConnection:110 - Unable to connect to remote
>> > > 11:01:58,398 ERROR NioConnection:110 - Unable to connect to remote
>> > > 11:35:07,643 ERROR NioConnection:110 - Unable to connect to remote
>> > > 11:35:12,650 ERROR NioConnection:110 - Unable to connect to remote
>> > > 11:35:17,694 ERROR NioConnection:110 - Unable to connect to remote
>> > > 05:43:40,243 ERROR NioConnection:110 - Unable to connect to remote
>> > > 05:43:45,247 ERROR NioConnection:110 - Unable to connect to remote
>> > > 05:43:50,254 ERROR NioConnection:110 - Unable to connect to remote
>> > >
>> > >
>> > > On Fri, Aug 2, 2013 at 1:56 PM, Wei ZHOU <ustcweizhou@gmail.com>
>> wrote:
>> > >
>> > >> 在host上运行ssh -p 3922 -i /root/.ssh/id_rsa.cloud 169.254.2.100进console
>> > proxy
>> > >> 看看/var/log/systemvm/下的日志
>> > >>
>> > >>
>> > >> 2013/8/2 sunko2014 <sunko2014@gmail.com>
>> > >>
>> > >> > 各位:
>> > >> >
>> > >> >
>> > >> >
>> > >>
>> >
>>  问题如题,部署环境cloudStack4.02,+xenserver6.0,通过iso方式创建VM后,在chorme、IE6上通过控制台访问VM均失败,下面是management
>> > >> > server的log:
>> > >> > ... ...
>> > >> >          2013-08-02 11:11:50,167 DEBUG [agent.transport.Request]
>> > >> > (DirectAgent-393:null) Seq 1-659951545: Processing:  { Ans: ,
>> MgmtId:
>> > >> > 260071274268429, via: 1, Ver: v1, Flags: 10,
>> > >> > [{"GetVncPortAnswer":{"address":"consoleurl=
>> > >> >
>> > >> >
>> > >>
>> >
>> https://172.16.101.100/console?uuid=2242d3f7-ad5c-134a-652a-b1644f00313d&sessionref=OpaqueRef:f4f1a6a4-5fc7-eab4-96fc-b4043c3e5cf5
>> > >> > ","port":5905,"result":true,"wait":0}}]
>> > >> > }
>> > >> > 2013-08-02 11:11:50,167 DEBUG [agent.transport.Request]
>> > >> > (catalina-exec-17:null) Seq 1-659951545: Received:  { Ans: ,
>> MgmtId:
>> > >> > 260071274268429, via: 1, Ver: v1, Flags: 10, { GetVncPortAnswer
} }
>> > >> > 2013-08-02 11:11:50,167 DEBUG [cloud.servlet.ConsoleProxyServlet]
>> > >> > (catalina-exec-17:null) Port info consoleurl=
>> > >> >
>> > >> >
>> > >>
>> >
>> https://172.16.101.100/console?uuid=2242d3f7-ad5c-134a-652a-b1644f00313d&sessionref=OpaqueRef:f4f1a6a4-5fc7-eab4-96fc-b4043c3e5cf5
>> > >> > 2013-08-02<
>> > >>
>> >
>> https://172.16.101.100/console?uuid=2242d3f7-ad5c-134a-652a-b1644f00313d&sessionref=OpaqueRef:f4f1a6a4-5fc7-eab4-96fc-b4043c3e5cf52013-08-02
>> > >11:11:50,167
>> > >> INFO  [cloud.servlet.ConsoleProxyServlet]
>> > >> > (catalina-exec-17:null) Parse host info returned from executing
>> > >> > GetVNCPortCommand. host info: consoleurl=
>> > >> >
>> > >> >
>> > >>
>> >
>> https://172.16.101.100/console?uuid=2242d3f7-ad5c-134a-652a-b1644f00313d&sessionref=OpaqueRef:f4f1a6a4-5fc7-eab4-96fc-b4043c3e5cf5
>> > >> > 2013-08-02<
>> > >>
>> >
>> https://172.16.101.100/console?uuid=2242d3f7-ad5c-134a-652a-b1644f00313d&sessionref=OpaqueRef:f4f1a6a4-5fc7-eab4-96fc-b4043c3e5cf52013-08-02
>> > >11:11:50,174
>> > >> DEBUG [cloud.servlet.ConsoleProxyServlet]
>> > >> > (catalina-exec-17:null) Compose console url:
>> > >> >
>> > >> >
>> > >>
>> >
>> https://192-168-45-151.realhostip.com/ajax?token=tsl1xX_XA22fT8WGySZVyWSrZhWM13kgOMdgCRJQJjorDfux2-SSoUWFOJgHQpgBp0ZptEq2Xg3GwFqUGR4BZoTni6p6PhTry5lATbs34ZurK5VBp3S8BnR95AlDgb-xpUbimHYL3cGR7QaZCLPrx2AJOktrEFEoh-FSDyXbiMuyrL2ums3LISK79NVMr6W8flw0odbLopKv9a3BaRzyC-GKmgVzGDqONhUDalbteoiZv9c0LCnWXnTixdj6vzt0rLpY4xgF_9KCxIj191SC1XpFO6lZRBt-hJDa8N73KIkUCnKwwB8tZC34veUjOyBCFuYg5rEIysaJP47D3yQXl3HeBP6YjbMHvZNwwXwa1QbFoKe926CrppkTdIR5B6XIXAm_J3Fv32rAUnqYegKTN2ZV7aF9el2P5bHB_Kw0au6xq-FJtmZwAhskQICDQ5dLnbsUd4048TKw-eIC80sZ5xpyklT1bBSZH45PyacmUag
>> > >> > 2013-08-02<
>> > >>
>> >
>> https://192-168-45-151.realhostip.com/ajax?token=tsl1xX_XA22fT8WGySZVyWSrZhWM13kgOMdgCRJQJjorDfux2-SSoUWFOJgHQpgBp0ZptEq2Xg3GwFqUGR4BZoTni6p6PhTry5lATbs34ZurK5VBp3S8BnR95AlDgb-xpUbimHYL3cGR7QaZCLPrx2AJOktrEFEoh-FSDyXbiMuyrL2ums3LISK79NVMr6W8flw0odbLopKv9a3BaRzyC-GKmgVzGDqONhUDalbteoiZv9c0LCnWXnTixdj6vzt0rLpY4xgF_9KCxIj191SC1XpFO6lZRBt-hJDa8N73KIkUCnKwwB8tZC34veUjOyBCFuYg5rEIysaJP47D3yQXl3HeBP6YjbMHvZNwwXwa1QbFoKe926CrppkTdIR5B6XIXAm_J3Fv32rAUnqYegKTN2ZV7aF9el2P5bHB_Kw0au6xq-FJtmZwAhskQICDQ5dLnbsUd4048TKw-eIC80sZ5xpyklT1bBSZH45PyacmUag2013-08-02
>> > >11:11:50,175
>> > >> DEBUG [cloud.servlet.ConsoleProxyServlet]
>> > >> > (catalina-exec-17:null) the console url is ::
>> > >> > <html><title>test07</title><frameset><frame
src="
>> > >> >
>> > >> >
>> > >>
>> >
>> https://192-168-45-151.realhostip.com/ajax?token=tsl1xX_XA22fT8WGySZVyWSrZhWM13kgOMdgCRJQJjorDfux2-SSoUWFOJgHQpgBp0ZptEq2Xg3GwFqUGR4BZoTni6p6PhTry5lATbs34ZurK5VBp3S8BnR95AlDgb-xpUbimHYL3cGR7QaZCLPrx2AJOktrEFEoh-FSDyXbiMuyrL2ums3LISK79NVMr6W8flw0odbLopKv9a3BaRzyC-GKmgVzGDqONhUDalbteoiZv9c0LCnWXnTixdj6vzt0rLpY4xgF_9KCxIj191SC1XpFO6lZRBt-hJDa8N73KIkUCnKwwB8tZC34veUjOyBCFuYg5rEIysaJP47D3yQXl3HeBP6YjbMHvZNwwXwa1QbFoKe926CrppkTdIR5B6XIXAm_J3Fv32rAUnqYegKTN2ZV7aF9el2P5bHB_Kw0au6xq-FJtmZwAhskQICDQ5dLnbsUd4048TKw-eIC80sZ5xpyklT1bBSZH45PyacmUag
>> > >> > "></frame></frameset></html>
>> > >> > 2013-08-02 11:11:53,595 DEBUG [agent.manager.DirectAgentAttache]
>> > >> > (DirectAgent-66:null) Ping from 1
>> > >> > ... ...
>> > >> >        我是部署的高级网络模式,proxy console system
>> > >> vm有三个网卡,net1:192.168.45.151(public
>> > >> >
>> ip,公司内网,类似公网IP),net2:172.16.101.2(自建的管理网络),net3:169.254.2.100(local)。
>> > >> >        从v-2-VM通过管理网络可以访问到xenserver。
>> > >> >        对于console的访问流程我不懂,如果需要提供什么log,或者跟踪信息,请指教下。
>> > >> >
>> > >>
>> > >
>> > >
>> >
>>
>
>

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