cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sunko2014 <sunko2...@gmail.com>
Subject Re: help:通过控制台访问VM失败
Date Fri, 02 Aug 2013 06:15:11 GMT
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