On 09/24/2012 02:46 PM, Ryan Harper wrote:
* Sheldon <shao...@linux.vnet.ibm.com> [2012-09-24 06:50]:
On 09/21/2012 08:14 PM, Laszlo Hornyak wrote:

----- Original Message -----
From: "Sheldon" <shao...@linux.vnet.ibm.com>
To: vdsm-devel@lists.fedorahosted.org
Sent: Friday, September 21, 2012 11:42:05 AM
Subject: [vdsm]  how engine get files from node???


Hi all,
I have submitted a patch about watchdog device
http://gerrit.ovirt.org/#/c/7535/
If we set 'dump' action for watchdog, qemu will generate a dump file.
And I have get some feedback, how engine get these files?
When adding the host (if installation is enabled) the engine does some ssh/scp 
to the new host, but this can be turned off. Also, the guideline is to have a 
single interface with the host, and after installation the engine does not try 
to communicate with vdsm in any other way than the xmlrpc interface.

do you means "ssh/scp" may not be available on host, So a xmlrpc
interface should be added to get the files on host?

ssh/scp is available, but requires user authentication.  We already have
one entry point into the node, the VDSM API, which is currently running
over XMLRPC, so, instead of attempting to coordinate additional users
and authenication, provide a way to programatically get at the data via
XMLRPC.

is this needed by the engine interactively, or just for log colleciton?
logs/cores/dumps are collected today by the log collector utility, based on ssh/scp leveraging sos. but this isn't "engine getting logs", rather a stand alone utility for collecting them. is the file needed by engine for some flow, or just log collection for user benefit?



scp? or Will vdsm support new API to list and get these files?
IMO, The new API should list and get not only dump files, but also
other kinds of files.


--
Sheldon Feng <shao...@linux.vnet.ibm.com> IBM Linux Technology Center
_______________________________________________
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel



--
Sheldon Feng(?????????)<shao...@linux.vnet.ibm.com>
IBM Linux Technology Center



_______________________________________________
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel

Reply via email to