[Users] How to peek inside the XML-RPC

Hi, Asking this on both the ovirt and vdsm mailing lists. What is the right way to get a debug output or dump of the XML-RPC that is being sent between ovirt and vdsm, either from the ovirt side and/or from the vdsm side ? Is there any way of dumping the xml-rpc being sent between ovirt-vdsm Any pointers appreciated. thanx, deepak

Hi, Asking this on both the ovirt and vdsm mailing lists.
What is the right way to get a debug output or dump of the XML-RPC that is being sent between ovirt and vdsm, either from the ovirt side and/or from the vdsm side ?
Is there any way of dumping the xml-rpc being sent between ovirt-vdsm
You can try sniffing it using wireshark or a similar tool. This will probably give you the most accurate result including all headers that are sent. OE will not debug print the XML itself, only the parameters it's about send to VDSM.
Any pointers appreciated.
thanx, deepak
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 22/02/12 09:07, Mike Kolesnik wrote:
Hi, Asking this on both the ovirt and vdsm mailing lists.
What is the right way to get a debug output or dump of the XML-RPC that is being sent between ovirt and vdsm, either from the ovirt side and/or from the vdsm side ?
Is there any way of dumping the xml-rpc being sent between ovirt-vdsm
You can try sniffing it using wireshark or a similar tool. This will probably give you the most accurate result including all headers that are sent. OE will not debug print the XML itself, only the parameters it's about send to VDSM.
It is possible to increase the log verbosity of Apache's http client, so you'll be able to get more information from that layer. Alternatively, you can add the following to the jboss run.sh in the java_opts: -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog -Dorg.apache.commons.logging.simplelog.showdatetime=true -Dorg.apache.commons.logging.simplelog.log.org.apache.http=DEBUG -Dorg.apache.commons.logging.simplelog.log.org.apache.http.wire=ERROR More info on httpclient logging available here: http://hc.apache.org/httpcomponents-client-ga/logging.html
Any pointers appreciated.
thanx, deepak
--
/d "Hi, my name is Any Key. Please don't hit me!"

----- Original Message -----
Hi, Asking this on both the ovirt and vdsm mailing lists.
What is the right way to get a debug output or dump of the XML-RPC that is being sent between ovirt and vdsm, either from the ovirt side and/or from the vdsm side ?
Is there any way of dumping the xml-rpc being sent between ovirt-vdsm
You can try sniffing it using wireshark or a similar tool. This will probably give you the most accurate result including all headers that are sent.
You'd need to disable ssl for this to work.
OE will not debug print the XML itself, only the parameters it's about send to VDSM.
Any pointers appreciated.
thanx, deepak
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 22/02/12 08:36, Deepak C Shetty wrote:
Hi, Asking this on both the ovirt and vdsm mailing lists.
What is the right way to get a debug output or dump of the XML-RPC that is being sent between ovirt and vdsm, either from the ovirt side and/or from the vdsm side ?
Is there any way of dumping the xml-rpc being sent between ovirt-vdsm
Any pointers appreciated.
You can try adding in <JBOSS_HOME>/standalone/configuration/standalone.xml <logger category="org.apache.commons.httpclient"> <level name="ALL"/> </logger> <logger category="org.apache.xmlrpc"> <level name="ALL"/> </logger> Livnat
thanx, deepak
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi! This is my solution: - disable ssl http://www.ovirt.org/wiki/OVirt_-_disable_SSL_in_VDSM - run wireshark Laszlo ----- Original Message -----
From: "Livnat Peer" <lpeer@redhat.com> To: "Deepak C Shetty" <deepakcs@linux.vnet.ibm.com> Cc: users@ovirt.org, vdsm-devel@lists.fedorahosted.org Sent: Wednesday, February 22, 2012 4:28:20 PM Subject: Re: [Users] How to peek inside the XML-RPC
On 22/02/12 08:36, Deepak C Shetty wrote:
Hi, Asking this on both the ovirt and vdsm mailing lists.
What is the right way to get a debug output or dump of the XML-RPC that is being sent between ovirt and vdsm, either from the ovirt side and/or from the vdsm side ?
Is there any way of dumping the xml-rpc being sent between ovirt-vdsm
Any pointers appreciated.
You can try adding in <JBOSS_HOME>/standalone/configuration/standalone.xml
<logger category="org.apache.commons.httpclient"> <level name="ALL"/> </logger> <logger category="org.apache.xmlrpc"> <level name="ALL"/> </logger>
Livnat
thanx, deepak
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (6)
-
Ayal Baron
-
Deepak C Shetty
-
Doron Fediuck
-
Laszlo Hornyak
-
Livnat Peer
-
Mike Kolesnik