Re: [vdsm] [RFC]about the implement of text-based console

2012-12-26 Thread Zhou Zheng Sheng
on 12/04/2012 00:40, Saggi Mizrahi wrote: Sorry, it's probably the fact that I don't have enough time to go into the code but I still don't get what you are trying to do. Having it in HTTP and XML-RPC is a bad idea but I imagine that the theoretical solution doesn't depend on any of them. Cou

Re: [vdsm] [RFC]about the implement of text-based console

2012-12-03 Thread Saggi Mizrahi
ome pseudo code of a client using the stream? - Original Message - > From: "Zhou Zheng Sheng" > To: "Saggi Mizrahi" , "Adam Litke" > Cc: "VDSM Project Development" > Sent: Friday, November 30, 2012 10:12:19 PM > Subject: Re: [vdsm] [R

Re: [vdsm] [RFC]about the implement of text-based console

2012-11-30 Thread Zhou Zheng Sheng
ll our requirements. There are obvious problems in other solutions. - Original Message - From: "Zhou Zheng Sheng" To: "VDSM Project Development" Sent: Tuesday, November 27, 2012 4:22:20 AM Subject: Re: [vdsm] [RFC]about the implement of text-based console Hi all, Fo

Re: [vdsm] [RFC]about the implement of text-based console

2012-11-28 Thread Dan Yasny
- Original Message - > From: "Saggi Mizrahi" > To: "Zhou Zheng Sheng" > Cc: "VDSM Project Development" > Sent: Tuesday, 27 November, 2012 7:45:27 PM > Subject: Re: [vdsm] [RFC]about the implement of text-based console > > The best

Re: [vdsm] [RFC]about the implement of text-based console

2012-11-27 Thread Saggi Mizrahi
eally understand 5. What does those methods return the virtio dev path? - Original Message - > From: "Zhou Zheng Sheng" > To: "VDSM Project Development" > Sent: Tuesday, November 27, 2012 4:22:20 AM > Subject: Re: [vdsm] [RFC]about the implement of text-based

Re: [vdsm] [RFC]about the implement of text-based console

2012-11-27 Thread Adam Litke
Thanks for the writeup Zhou Zheng! This is a very nice explanation of the possible approaches that are on the table. I would like to add my thoughts on each approach inline below. On Tue, Nov 27, 2012 at 05:22:20PM +0800, Zhou Zheng Sheng wrote: > Hi all, > > For now in there is no agreement on

Re: [vdsm] [RFC]about the implement of text-based console

2012-11-27 Thread Zhou Zheng Sheng
on 11/27/2012 17:22, Zhou Zheng Sheng wrote: I like solution 4 best. Sorry, I mean I like solution 5 best. -- Thanks and best regards! Zhou Zheng Sheng / 周征晟 E-mail: zhshz...@linux.vnet.ibm.com Telephone: 86-10-82454397 ___ vdsm-devel mailing lis

Re: [vdsm] [RFC]about the implement of text-based console

2012-11-27 Thread Zhou Zheng Sheng
Hi all, For now in there is no agreement on the remote guest console solution, so I decide to do some investigation continue the discussion. Our goal VM serial console remote access in CLI mode. That means the client runs without X environment. There are several proposals. 1. Sandboxed s

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-22 Thread Ryan Harper
* Itamar Heim [2012-10-21 04:19]: > >>>Maybe we can start simple and provide console access locally only. > >>>What sort of > >>>functionality would the vdsm api need to provide to enable only local > >>>access to > >>>the console? Presumably, it would set up a connection

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-22 Thread Dan Yasny
- Original Message - > From: "Itamar Heim" > To: "Ryan Harper" > Cc: "VDSM Project Development" > Sent: Sunday, 21 October, 2012 11:17:24 AM > Subject: Re: [vdsm] [RFC]about the implement of text-based console > > On 10/19/2012 04:31

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-21 Thread Itamar Heim
On 10/19/2012 04:31 PM, Ryan Harper wrote: * Itamar Heim [2012-10-18 14:17]: On 10/18/2012 09:13 PM, Dave Allan wrote: On Thu, Oct 18, 2012 at 02:21:44AM +0200, Itamar Heim wrote: On 10/15/2012 07:41 PM, Dave Allan wrote: On Fri, Oct 12, 2012 at 11:25:47AM -0500, Ryan Harper wrote: * Adam L

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-19 Thread Ryan Harper
* Itamar Heim [2012-10-18 14:17]: > On 10/18/2012 09:13 PM, Dave Allan wrote: > >On Thu, Oct 18, 2012 at 02:21:44AM +0200, Itamar Heim wrote: > >>On 10/15/2012 07:41 PM, Dave Allan wrote: > >>>On Fri, Oct 12, 2012 at 11:25:47AM -0500, Ryan Harper wrote: > * Adam Litke [2012-10-12 08:13]: > >>

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-18 Thread Itamar Heim
On 10/18/2012 09:13 PM, Dave Allan wrote: On Thu, Oct 18, 2012 at 02:21:44AM +0200, Itamar Heim wrote: On 10/15/2012 07:41 PM, Dave Allan wrote: On Fri, Oct 12, 2012 at 11:25:47AM -0500, Ryan Harper wrote: * Adam Litke [2012-10-12 08:13]: On Fri, Oct 12, 2012 at 04:55:20PM +0800, Zhou Zheng

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-18 Thread Dave Allan
On Thu, Oct 18, 2012 at 02:21:44AM +0200, Itamar Heim wrote: > On 10/15/2012 07:41 PM, Dave Allan wrote: > >On Fri, Oct 12, 2012 at 11:25:47AM -0500, Ryan Harper wrote: > >>* Adam Litke [2012-10-12 08:13]: > >>>On Fri, Oct 12, 2012 at 04:55:20PM +0800, Zhou Zheng Sheng wrote: > > on 09/04

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-17 Thread Itamar Heim
On 10/15/2012 07:41 PM, Dave Allan wrote: On Fri, Oct 12, 2012 at 11:25:47AM -0500, Ryan Harper wrote: * Adam Litke [2012-10-12 08:13]: On Fri, Oct 12, 2012 at 04:55:20PM +0800, Zhou Zheng Sheng wrote: on 09/04/2012 22:19, Ryan Harper wrote: * Dan Kenigsberg [2012-09-04 05:53]: On Tue, Se

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-17 Thread Itamar Heim
On 10/16/2012 12:18 AM, David Jaša wrote: Ewoud Kohl van Wijngaarden píše v Po 15. 10. 2012 v 22:46 +0200: On Tue, Oct 16, 2012 at 12:51:23AM +0800, Xu He Jie wrote: [SNIP] Hi, Adam, Could you explain more detail about how streaming API can survive a VM migration? If we want to support migrati

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-16 Thread Daniel P. Berrange
On Tue, Oct 16, 2012 at 07:45:25AM -0500, Ryan Harper wrote: > * Dan Yasny [2012-10-15 23:42]: > > > > Hi Dan, > > > > > > > Why? It really sounds like an easy path to me - provisioning of a > > > > virtual appliance is supposed to be simple, upgrades not necessary > > > > - > > > > same as wi

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-16 Thread Dan Yasny
- Original Message - > From: "Ryan Harper" > To: "Dan Yasny" > Cc: "Ryan Harper" , "Adam Litke" , "VDSM > Project Development" > > Sent: Tuesday, 16 October, 2012 2:45:25 PM > Subject: Re: [vdsm] [RFC]about

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-16 Thread Ryan Harper
* Dan Yasny [2012-10-15 23:42]: > Hi Dan, > > > > Why? It really sounds like an easy path to me - provisioning of a > > > virtual appliance is supposed to be simple, upgrades not necessary > > > - > > > same as with ovirt-node, just a bit of config files preserved and > > > the > > > rest simp

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-15 Thread Dan Yasny
- Original Message - > From: "Ryan Harper" > To: "Dan Yasny" > Cc: "Adam Litke" , "VDSM Project Development" > > Sent: Monday, 15 October, 2012 10:55:21 PM > Subject: Re: [vdsm] [RFC]about the implement

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-15 Thread David Jaša
David Jaša píše v Út 16. 10. 2012 v 00:18 +0200: > Ewoud Kohl van Wijngaarden píše v Po 15. 10. 2012 v 22:46 +0200: > > On Tue, Oct 16, 2012 at 12:51:23AM +0800, Xu He Jie wrote: > > > [SNIP] > > > Hi, Adam, Could you explain more detail about how streaming API can > > > survive a VM migration? > >

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-15 Thread David Jaša
Ewoud Kohl van Wijngaarden píše v Po 15. 10. 2012 v 22:46 +0200: > On Tue, Oct 16, 2012 at 12:51:23AM +0800, Xu He Jie wrote: > > [SNIP] > > Hi, Adam, Could you explain more detail about how streaming API can > > survive a VM migration? > > > > If we want to support migration, I think we should im

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-15 Thread Ryan Harper
* Dan Yasny [2012-10-15 03:41]: > > > > > >>Dan. > > > > > > At first glance, the standard sshd on the host is stronger and more > > > robust than a custom ssh server, but the risk using the host sshd > > > is > > > high. If we implement this feature via host ssd, when a hacker > > > attacks th

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-15 Thread Ewoud Kohl van Wijngaarden
On Tue, Oct 16, 2012 at 12:51:23AM +0800, Xu He Jie wrote: > [SNIP] > Hi, Adam, Could you explain more detail about how streaming API can > survive a VM migration? > > If we want to support migration, I think we should implement console > server out of vdsm. > Actually, It will work like proxy. So

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-15 Thread Dave Allan
On Fri, Oct 12, 2012 at 11:25:47AM -0500, Ryan Harper wrote: > * Adam Litke [2012-10-12 08:13]: > > On Fri, Oct 12, 2012 at 04:55:20PM +0800, Zhou Zheng Sheng wrote: > > > > > > on 09/04/2012 22:19, Ryan Harper wrote: > > > >* Dan Kenigsberg [2012-09-04 05:53]: > > > >>On Tue, Sep 04, 2012 at 03

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-15 Thread Xu He Jie
On 2012年10月12日 21:10, Adam Litke wrote: On Fri, Oct 12, 2012 at 04:55:20PM +0800, Zhou Zheng Sheng wrote: on 09/04/2012 22:19, Ryan Harper wrote: * Dan Kenigsberg [2012-09-04 05:53]: On Tue, Sep 04, 2012 at 03:05:37PM +0800, Xu He Jie wrote: On 09/03/2012 10:33 PM, Dan Kenigsberg wrote: On

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-15 Thread Dan Yasny
- Original Message - > From: "Adam Litke" > To: "Dan Yasny" > Cc: "VDSM Project Development" , "Zhou > Zheng Sheng" > Sent: Monday, 15 October, 2012 3:07:47 PM > Subject: Re: [vdsm] [RFC]about the implement of text-based

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-15 Thread Daniel P. Berrange
am Litke" > > > > To: "Zhou Zheng Sheng" > > > > Cc: "VDSM Project Development" > > > > Sent: Friday, 12 October, 2012 3:10:57 PM > > > > Subject: Re: [vdsm] [RFC]about the implement of text-based console > > > &

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-15 Thread David Jaša
DSM Project Development" > > > Sent: Friday, 12 October, 2012 3:10:57 PM > > > Subject: Re: [vdsm] [RFC]about the implement of text-based console > > > > > > On Fri, Oct 12, 2012 at 04:55:20PM +0800, Zhou Zheng Sheng wrote: > > > > > > >

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-15 Thread Adam Litke
On Mon, Oct 15, 2012 at 04:40:00AM -0400, Dan Yasny wrote: > > > - Original Message - > > From: "Adam Litke" > > To: "Zhou Zheng Sheng" > > Cc: "VDSM Project Development" > > Sent: Friday, 12 October, 2012 3:10:57 PM

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-15 Thread Dan Yasny
- Original Message - > From: "Adam Litke" > To: "Zhou Zheng Sheng" > Cc: "VDSM Project Development" > Sent: Friday, 12 October, 2012 3:10:57 PM > Subject: Re: [vdsm] [RFC]about the implement of text-based console > > On Fri, Oct 1

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-12 Thread Ryan Harper
* Adam Litke [2012-10-12 08:13]: > On Fri, Oct 12, 2012 at 04:55:20PM +0800, Zhou Zheng Sheng wrote: > > > > on 09/04/2012 22:19, Ryan Harper wrote: > > >* Dan Kenigsberg [2012-09-04 05:53]: > > >>On Tue, Sep 04, 2012 at 03:05:37PM +0800, Xu He Jie wrote: > > >>>On 09/03/2012 10:33 PM, Dan Kenig

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-12 Thread Adam Litke
On Fri, Oct 12, 2012 at 04:55:20PM +0800, Zhou Zheng Sheng wrote: > > on 09/04/2012 22:19, Ryan Harper wrote: > >* Dan Kenigsberg [2012-09-04 05:53]: > >>On Tue, Sep 04, 2012 at 03:05:37PM +0800, Xu He Jie wrote: > >>>On 09/03/2012 10:33 PM, Dan Kenigsberg wrote: > On Thu, Aug 30, 2012 at 04:

Re: [vdsm] [RFC]about the implement of text-based console

2012-10-12 Thread Zhou Zheng Sheng
on 09/04/2012 22:19, Ryan Harper wrote: * Dan Kenigsberg [2012-09-04 05:53]: On Tue, Sep 04, 2012 at 03:05:37PM +0800, Xu He Jie wrote: On 09/03/2012 10:33 PM, Dan Kenigsberg wrote: On Thu, Aug 30, 2012 at 04:26:31PM -0500, Adam Litke wrote: On Thu, Aug 30, 2012 at 11:32:02AM +0800, Xu He J

Re: [vdsm] [RFC]about the implement of text-based console

2012-09-07 Thread Xu He Jie
On 09/04/2012 10:36 PM, Xu He Jie wrote: On 09/04/2012 06:52 PM, Dan Kenigsberg wrote: On Tue, Sep 04, 2012 at 03:05:37PM +0800, Xu He Jie wrote: On 09/03/2012 10:33 PM, Dan Kenigsberg wrote: On Thu, Aug 30, 2012 at 04:26:31PM -0500, Adam Litke wrote: On Thu, Aug 30, 2012 at 11:32:02AM +0800,

Re: [vdsm] [RFC]about the implement of text-based console

2012-09-04 Thread Xu He Jie
On 09/04/2012 06:52 PM, Dan Kenigsberg wrote: On Tue, Sep 04, 2012 at 03:05:37PM +0800, Xu He Jie wrote: On 09/03/2012 10:33 PM, Dan Kenigsberg wrote: On Thu, Aug 30, 2012 at 04:26:31PM -0500, Adam Litke wrote: On Thu, Aug 30, 2012 at 11:32:02AM +0800, Xu He Jie wrote: Hi, I submited a pa

Re: [vdsm] [RFC]about the implement of text-based console

2012-09-04 Thread Ryan Harper
* Dan Kenigsberg [2012-09-04 05:53]: > On Tue, Sep 04, 2012 at 03:05:37PM +0800, Xu He Jie wrote: > > On 09/03/2012 10:33 PM, Dan Kenigsberg wrote: > > >On Thu, Aug 30, 2012 at 04:26:31PM -0500, Adam Litke wrote: > > >>On Thu, Aug 30, 2012 at 11:32:02AM +0800, Xu He Jie wrote: > > >>>Hi, > > >>> >

Re: [vdsm] [RFC]about the implement of text-based console

2012-09-04 Thread Xu He Jie
On 09/04/2012 04:48 PM, Dan Yasny wrote: - Original Message - From: "Xu He Jie" To: "Dan Yasny" Cc: "VDSM Project Development" , "Dan Kenigsberg" Sent: Tuesday, 4 September, 2012 11:42:04 AM Subject: Re: [vdsm] [RFC]about the implement of te

Re: [vdsm] [RFC]about the implement of text-based console

2012-09-04 Thread Dan Yasny
- Original Message - > From: "Dan Kenigsberg" > To: "Xu He Jie" > Cc: "VDSM Project Development" > Sent: Tuesday, 4 September, 2012 1:52:49 PM > Subject: Re: [vdsm] [RFC]about the implement of text-based console > > On Tue, Sep 04, 2

Re: [vdsm] [RFC]about the implement of text-based console

2012-09-04 Thread Dan Kenigsberg
On Tue, Sep 04, 2012 at 03:05:37PM +0800, Xu He Jie wrote: > On 09/03/2012 10:33 PM, Dan Kenigsberg wrote: > >On Thu, Aug 30, 2012 at 04:26:31PM -0500, Adam Litke wrote: > >>On Thu, Aug 30, 2012 at 11:32:02AM +0800, Xu He Jie wrote: > >>>Hi, > >>> > >>> I submited a patch for text-based console >

Re: [vdsm] [RFC]about the implement of text-based console

2012-09-04 Thread Xu He Jie
On 09/04/2012 03:39 PM, Itamar Heim wrote: On 09/04/2012 10:14 AM, Dan Yasny wrote: - Original Message - From: "Xu He Jie" To: "Dan Kenigsberg" Cc: "VDSM Project Development" Sent: Tuesday, 4 September, 2012 10:05:37 AM Subject: Re: [vdsm] [RFC]abo

Re: [vdsm] [RFC]about the implement of text-based console

2012-09-04 Thread Dan Yasny
- Original Message - > From: "Xu He Jie" > To: "Dan Yasny" > Cc: "VDSM Project Development" , "Dan > Kenigsberg" > Sent: Tuesday, 4 September, 2012 11:42:04 AM > Subject: Re: [vdsm] [RFC]about the implement of text-

Re: [vdsm] [RFC]about the implement of text-based console

2012-09-04 Thread Xu He Jie
On 09/04/2012 03:14 PM, Dan Yasny wrote: - Original Message - From: "Xu He Jie" To: "Dan Kenigsberg" Cc: "VDSM Project Development" Sent: Tuesday, 4 September, 2012 10:05:37 AM Subject: Re: [vdsm] [RFC]about the implement of text-based console On 09/03

Re: [vdsm] [RFC]about the implement of text-based console

2012-09-04 Thread Dan Yasny
- Original Message - > From: "Itamar Heim" > To: "Dan Yasny" > Cc: "Xu He Jie" , "VDSM Project Development" > > Sent: Tuesday, 4 September, 2012 10:39:18 AM > Subject: Re: [vdsm] [RFC]about the implement of text-

Re: [vdsm] [RFC]about the implement of text-based console

2012-09-04 Thread Itamar Heim
On 09/04/2012 10:14 AM, Dan Yasny wrote: - Original Message - From: "Xu He Jie" To: "Dan Kenigsberg" Cc: "VDSM Project Development" Sent: Tuesday, 4 September, 2012 10:05:37 AM Subject: Re: [vdsm] [RFC]about the implement of text-based consol

Re: [vdsm] [RFC]about the implement of text-based console

2012-09-04 Thread Dan Yasny
- Original Message - > From: "Xu He Jie" > To: "Dan Kenigsberg" > Cc: "VDSM Project Development" > Sent: Tuesday, 4 September, 2012 10:05:37 AM > Subject: Re: [vdsm] [RFC]about the implement of text-based console > > On 09/03/2012

Re: [vdsm] [RFC]about the implement of text-based console

2012-09-04 Thread Xu He Jie
On 09/04/2012 09:21 AM, Shu Ming wrote: 于 2012-8-31 5:26, Adam Litke 写道: On Thu, Aug 30, 2012 at 11:32:02AM +0800, Xu He Jie wrote: Hi, I submited a patch for text-based console http://gerrit.ovirt.org/#/c/7165/ the issue I want to discussing as below: 1. fix port VS dynamic port Use fix

Re: [vdsm] [RFC]about the implement of text-based console

2012-09-04 Thread Xu He Jie
On 09/03/2012 10:33 PM, Dan Kenigsberg wrote: On Thu, Aug 30, 2012 at 04:26:31PM -0500, Adam Litke wrote: On Thu, Aug 30, 2012 at 11:32:02AM +0800, Xu He Jie wrote: Hi, I submited a patch for text-based console http://gerrit.ovirt.org/#/c/7165/ the issue I want to discussing as below: 1. f

Re: [vdsm] [RFC]about the implement of text-based console

2012-09-03 Thread Shu Ming
于 2012-8-31 5:26, Adam Litke 写道: On Thu, Aug 30, 2012 at 11:32:02AM +0800, Xu He Jie wrote: Hi, I submited a patch for text-based console http://gerrit.ovirt.org/#/c/7165/ the issue I want to discussing as below: 1. fix port VS dynamic port Use fix port for all VM's console. connect consol

Re: [vdsm] [RFC]about the implement of text-based console

2012-09-03 Thread Andrew Cathrow
- Original Message - > From: "Dan Kenigsberg" > To: "Xu He Jie" > Cc: "VDSM Project Development" > Sent: Monday, September 3, 2012 10:33:42 AM > Subject: Re: [vdsm] [RFC]about the implement of text-based console > > On Thu, Aug 30,

Re: [vdsm] [RFC]about the implement of text-based console

2012-09-03 Thread Dan Kenigsberg
On Thu, Aug 30, 2012 at 04:26:31PM -0500, Adam Litke wrote: > On Thu, Aug 30, 2012 at 11:32:02AM +0800, Xu He Jie wrote: > > Hi, > > > > I submited a patch for text-based console > > http://gerrit.ovirt.org/#/c/7165/ > > > > the issue I want to discussing as below: > > 1. fix port VS dynamic po

Re: [vdsm] [RFC]about the implement of text-based console

2012-08-30 Thread Adam Litke
On Thu, Aug 30, 2012 at 11:32:02AM +0800, Xu He Jie wrote: > Hi, > > I submited a patch for text-based console > http://gerrit.ovirt.org/#/c/7165/ > > the issue I want to discussing as below: > 1. fix port VS dynamic port > > Use fix port for all VM's console. connect console with 'ssh > vmUUI

[vdsm] [RFC]about the implement of text-based console

2012-08-29 Thread Xu He Jie
Hi, I submited a patch for text-based console http://gerrit.ovirt.org/#/c/7165/ the issue I want to discussing as below: 1. fix port VS dynamic port Use fix port for all VM's console. connect console with 'ssh vmUUID@ip -p port'. Distinguishing VM by vmUUID. The current implement was