Re: vdsmd can't open connectio with libvirt

2011-12-13 Thread Mark Wu
Jenna, Probably it's caused by the problem fixed in http://gerrit.ovirt.org/#change,216 You could have a try. On 12/13/2011 02:16 PM, Jenna Johnson wrote: Guys, Installed most recent vdsmd and vdsclient on rehl 6.2.Could anybody help to take a look? *After installation, vdsmd can't

[vdsm] Question about _filterXmlChars

2012-02-19 Thread Mark Wu
Hi All, I have a question about _filterXmlChars. If only printable ascii characters appear in the message reported by ovirt-guest-agent, then we needn't call _filterXmlChars() because the unicode shouldn't contain the restricted xml chars. Am I right ? Thanks. Mark.

[vdsm] Test failure on RHEL6 host

2012-04-12 Thread Mark Wu
I failed to build latest vdsm code on RHEL6 host because of test failure as below: make[2]: Entering directory `/home/mark/Work/vdsm/vdsm-src/tests' ../tests/run_tests.sh main.py miscTests.py resourceManagerTests.py processPoolTests.py fileUtilTests.py guestIFTests.py Failure runTest

Re: [vdsm] Test failure on RHEL6 host

2012-04-12 Thread Mark Wu
On 04/12/2012 10:18 PM, Dan Kenigsberg wrote: On Thu, Apr 12, 2012 at 02:59:51PM +0800, Mark Wu wrote: I failed to build latest vdsm code on RHEL6 host because of test failure as below: make[2]: Entering directory `/home/mark/Work/vdsm/vdsm-src/tests' ../tests/run_tests.sh main.py miscTests.py

[vdsm] reserve virtio-balloon device created by libvirt

2012-04-23 Thread Mark Wu
Hi guys, I saw that an option to create balloon device was added by Gal in http://gerrit.ovirt.org/1573 I have a question about it. Why don we preserve the old default behaviour? I know it's not supported by ovirt-engine now, but I can't figure out what will break if it's not disabled

[vdsm] VDSM API/clientIF instance design issue

2012-05-30 Thread Mark Wu
Hi Guys, Recently, I has been working on integrate MOM into VDSM. MOM needs to use VDSM API to interact with it. But currently, it requires the instance of clientIF to use vdsm API. Passing clientIF to MOM is not a good choice since it's a vdsm internal object. So I try to remove the

Re: [vdsm] VDSM API/clientIF instance design issue

2012-05-31 Thread Mark Wu
On 05/30/2012 11:01 PM, Dan Kenigsberg wrote: On Wed, May 30, 2012 at 10:49:29PM +0800, Mark Wu wrote: Hi Guys, Recently, I has been working on integrate MOM into VDSM. MOM needs to use VDSM API to interact with it. But currently, it requires the instance of clientIF to use vdsm API

Re: [vdsm] VDSM API/clientIF instance design issue

2012-05-31 Thread Mark Wu
On 05/31/2012 09:08 PM, Dan Kenigsberg wrote: On Thu, May 31, 2012 at 09:03:37PM +0800, Mark Wu wrote: On 05/30/2012 11:01 PM, Dan Kenigsberg wrote: On Wed, May 30, 2012 at 10:49:29PM +0800, Mark Wu wrote: Hi Guys, Recently, I has been working on integrate MOM into VDSM. MOM needs to use

[vdsm] Sanlock readonly device support issue

2012-06-04 Thread Mark Wu
Hi Federico, I found that vdsm failed to create VM with a cdrom device after configuring libvirt to use sanlock. It's caused by that sanlock doesn't support readonly/shared disks now. Libvirt has fixed the problem already. I file a vdsm bug for this problem and more detailed information

Re: [vdsm] some questions about selinux policy on VDSM storage

2012-06-11 Thread Mark Wu
On 06/11/2012 02:56 PM, Zhou Zheng Sheng wrote: Hi all, I am trying to create a VM in vdsm, but I find that selinux is preventing qemu from visiting images in vdsm storage. I add two policies to selinux then start the VM successfully. Not sure if I've done it right, so I'd like to ask for some

[vdsm] Host network management roadmap inquiry

2012-08-01 Thread Mark Wu
Sorry for cross-posting! I would like to inquiry about the roadmap of host network management in oVirt in order to make sure the ideas to be worked on are welcomed by community. I did some initial investigation on the following topics. I am not very familiar with them, so the information may

Re: [vdsm] Host network management roadmap inquiry

2012-08-06 Thread Mark Wu
Hi Livnat, Many thanks for your reply! Please see my inline comments. On 08/05/2012 01:06 AM, Livnat Peer wrote: On 01/08/12 15:59, Mark Wu wrote: Sorry for cross-posting! I would like to inquiry about the roadmap of host network management in oVirt in order to make sure the ideas

[vdsm] Why do we need clean yum cache during bootstrap?

2012-09-21 Thread Mark Wu
Hi Douglas, Why do we need clean yum cache before installing packages during host installation? It could cause a ssh timeout somtimes. On my test VM, it needs several minutes do download yum metatada. Please see the test below: [root@host1 tmp]# time yum update qemu-kvm Loaded plugins:

Re: [vdsm] Future of Vdsm network configuration

2012-11-12 Thread Mark Wu
On 11/11/2012 10:46 PM, Alon Bar-Lev wrote: - Original Message - From: Dan Kenigsberg dan...@redhat.com To: vdsm-de...@fedorahosted.org Sent: Sunday, November 11, 2012 4:07:30 PM Subject: [vdsm] Future of Vdsm network configuration Hi, Nowadays, when vdsm receives the setupNetowrk

Re: [vdsm] Future of Vdsm network configuration

2012-11-14 Thread Mark Wu
On 11/14/2012 07:53 PM, Gary Kotton wrote: On 11/14/2012 11:53 AM, Livnat Peer wrote: On 14/11/12 00:28, Adam Litke wrote: On Sun, Nov 11, 2012 at 09:46:43AM -0500, Alon Bar-Lev wrote: - Original Message - From: Dan Kenigsbergdan...@redhat.com To: vdsm-de...@fedorahosted.org Sent:

Re: [vdsm] Future of Vdsm network configuration

2012-11-16 Thread Mark Wu
On 11/15/2012 08:56 PM, huntxu wrote: On Thu, 15 Nov 2012 17:54:42 +0800, Gary Kotton gkot...@redhat.com wrote: On 11/14/2012 05:42 PM, Mark Wu wrote: On 11/14/2012 07:53 PM, Gary Kotton wrote: On 11/14/2012 11:53 AM, Livnat Peer wrote: On 14/11/12 00:28, Adam Litke wrote: On Sun, Nov 11

Re: [vdsm] Future of Vdsm network configuration

2012-11-16 Thread Mark Wu
On 11/15/2012 05:54 PM, Gary Kotton wrote: On 11/14/2012 05:42 PM, Mark Wu wrote: On 11/14/2012 07:53 PM, Gary Kotton wrote: On 11/14/2012 11:53 AM, Livnat Peer wrote: On 14/11/12 00:28, Adam Litke wrote: On Sun, Nov 11, 2012 at 09:46:43AM -0500, Alon Bar-Lev wrote: - Original Message

Re: [vdsm] moving the collection of statistics to external process

2012-12-07 Thread Mark Wu
On 12/05/2012 10:23 PM, ybronhei wrote: As part of an issue that if you push start for 200vms in the same time it takes hours because undefined issue, we thought about moving the collection of statistics outside vdsm. It can help because the stat collection is an internal threads of vdsm

Re: [vdsm] moving the collection of statistics to external process

2012-12-07 Thread Mark Wu
On 12/06/2012 11:29 PM, Adam Litke wrote: On Thu, Dec 06, 2012 at 11:19:34PM +0800, Shu Ming wrote: 于 2012-12-6 4:51, Itamar Heim 写道: On 12/05/2012 10:33 PM, Adam Litke wrote: On Wed, Dec 05, 2012 at 10:21:39PM +0200, Itamar Heim wrote: On 12/05/2012 10:16 PM, Adam Litke wrote: On Wed, Dec

Re: [vdsm] Fwd: Bonding, bridges and ifcfg

2012-12-10 Thread Mark Wu
On 12/10/2012 08:24 PM, Antoni Segura Puimedon wrote: Hello everybody, We found some unexpected behavior with bonds and we'd like to discuss it. Please, read the forwarded messages. Best, Toni - Forwarded Message - From: Dan Kenigsberg dan...@redhat.com To: Antoni Segura Puimedon

Re: [vdsm] Fwd: Bonding, bridges and ifcfg

2012-12-11 Thread Mark Wu
On 12/12/2012 03:13 PM, Igor Lvovsky wrote: - Original Message - From: Antoni Segura Puimedon asegu...@redhat.com To: Dan Kenigsberg dan...@redhat.com Cc: Mark Wu wu...@linux.vnet.ibm.com, vdsm-devel@lists.fedorahosted.org, Igor Lvovsky ilvov...@redhat.com Sent: Wednesday, December 12

Re: [vdsm] setupNetworks failure - Host non-operational

2013-01-22 Thread Mark Wu
On 01/22/2013 08:56 PM, Deepak C Shetty wrote: Hi All, I have a multi-VM setup, where I have ovirt engine on one VM and VDSM host on another. Discovering the host from the engine puts the host in Unassigned state, with the error saying 'ovirtmgmt' network not found. When i select

Re: [vdsm] [Users] latest vdsm cannot read ib device speeds causing storage attach fail

2013-01-24 Thread Mark Wu
Great work! The default action for SIGCHLD is ignore, so there's no problems reported before a signal handler is installed by zombie reaper. But I still have one problem: the python multiprocessing.manager code is running a new thread and according to the implementation of python's signal,

Re: [vdsm] [Users] latest vdsm cannot read ib device speeds causing storage attach fail

2013-01-24 Thread Mark Wu
On 01/25/2013 03:20 PM, Mark Wu wrote: Great work! The default action for SIGCHLD is ignore, so there's no problems reported before a signal handler is installed by zombie reaper. But I still have one problem: the python multiprocessing.manager code is running a new thread and according

Re: [vdsm] [Users] latest vdsm cannot read ib device speeds causing storage attach fail

2013-01-25 Thread Mark Wu
= sleepThread) servThread.setDaemon(True) servThread.start() time.sleep(30) if __name__ == '__main__': main() On 01/25/2013 03:20 PM, Mark Wu wrote: Great work! The default action for SIGCHLD is ignore, so there's no problems reported before a signal handler is installed by zombie

Re: [vdsm] vdsm networking changes proposal

2013-02-21 Thread Mark Wu
On 02/18/2013 05:23 PM, David Jaša wrote: Hi, Alon Bar-Lev píše v Ne 17. 02. 2013 v 15:57 -0500: Hello Antoni, Great work! I am very excited we are going this route, it is first of many to allow us to be run on different distributions. I apologize I got to this so late. Notes for the model,

Re: [vdsm] vdsm networking changes proposal

2013-02-21 Thread Mark Wu
On Thu 21 Feb 2013 04:46:16 PM CST, Mark Wu wrote: On 02/18/2013 05:23 PM, David Jaša wrote: Hi, Alon Bar-Lev píše v Ne 17. 02. 2013 v 15:57 -0500: Hello Antoni, Great work! I am very excited we are going this route, it is first of many to allow us to be run on different distributions. I

Re: [vdsm] VDSM - top 10 with patches with no activity for more than 30 days

2013-03-01 Thread Mark Wu
On 03/01/2013 01:51 AM, Doron Fediuck wrote: - Original Message - From: Itamar Heim ih...@redhat.com To: vdsm-devel@lists.fedorahosted.org Sent: Wednesday, February 20, 2013 5:39:21 PM Subject: [vdsm] VDSM - top 10 with patches with no activity for more than 30 days thoughts on how

Re: [vdsm] Proposal VDSM = Engine Data Statistics Retrieval Optimization

2013-03-07 Thread Mark Wu
On 03/07/2013 07:25 PM, Vinzenz Feenstra wrote: Please find the prettier version on the wiki: http://www.ovirt.org/Proposal_VDSM_-_Engine_Data_Statistics_Retrieval Proposal VDSM - Engine Data Statistics Retrieval VDSM = Engine data retrieval optimization Motivation: Currently

Re: [vdsm] [Engine-devel] Proposal VDSM = Engine Data Statistics Retrieval Optimization

2013-03-07 Thread Mark Wu
On 03/08/2013 06:11 AM, Dan Kenigsberg wrote: On Thu, Mar 07, 2013 at 12:25:54PM +0100, Vinzenz Feenstra wrote: Please find the prettier version on the wiki: http://www.ovirt.org/Proposal_VDSM_-_Engine_Data_Statistics_Retrieval Proposal VDSM - Engine Data Statistics Retrieval VDSM =

Re: [vdsm] getVdsStats - no network sessions/statistics

2013-04-15 Thread Mark Wu
On 04/14/2013 08:11 PM, Daniel Erez wrote: Hi, I've recently updated to latest VDSM code (commit c506391442bc996031aa871a4dfd61368b5a30db). Ever since, whenever I run a VM, my host moves to Non-Operational state (oVirt). * getVdsStats output [1]: doesn't include any network sessions. * Error

Re: [vdsm] Error in network devices report with getVdsCaps

2013-04-22 Thread Mark Wu
qdisc noqueue state UNKNOWN link/ether 52:54:00:68:25:57 brd ff:ff:ff:ff:ff:ff - Original Message - From: Mark Wu wu...@linux.vnet.ibm.com To: Moti Asayag masa...@redhat.com Cc: vdsm-devel@lists.fedorahosted.org, Antoni Segura Puimedon asegu...@redhat.com Sent: Monday, April 22, 2013

[vdsm] Is vdsm still maintained for Fedora 17?

2013-05-01 Thread Mark Wu
Hi Dan, Since the repo of virt-preview for fedora17 is not maintained after fedora 18 was released, it could be difficult to install the packages vdsm master branch requires on fedora17. So do we still maintain vdsm for fedora17? Do we need consider if the patch to upstream will cause

Re: [vdsm] Is vdsm still maintained for Fedora 17?

2013-05-02 Thread Mark Wu
On 05/02/2013 01:30 PM, Vinzenz Feenstra wrote: On 05/02/2013 05:22 AM, Mark Wu wrote: Hi Dan, Since the repo of virt-preview for fedora17 is not maintained after fedora 18 was released, it could be difficult to install the packages vdsm master branch requires on fedora17. Currently i

Re: [vdsm] libvirt domain xml has no leases specified in vdsm-4.10.3-10

2013-05-15 Thread Mark Wu
On 05/15/2013 02:00 PM, Mars gu wrote: hi all, my Engine version is 3.1.2. and my Vdsm version is 4.10.3-10. I created a VM and tried to run it, then some error occoured, the error log is below: / Exit message: internal error unsupported configuration: Read/write, exclusive

Re: [vdsm] libvirt domain xml has no leases specified in vdsm-4.10.3-10

2013-05-15 Thread Mark Wu
restarting libvirt? And what's the status of sanlock service? 在 2013-05-15 14:55:49,Mark Wu wu...@linux.vnet.ibm.com 写道: On 05/15/2013 02:00 PM, Mars gu wrote: hi all, my Engine version is 3.1.2. and my Vdsm version is 4.10.3-10. I created a VM and tried

Re: [vdsm] libvirt domain xml has no leases specified in vdsm-4.10.3-10

2013-05-16 Thread Mark Wu
and libvirtd to it and we can follow up it there. Mark. ps: My vdsm is installed in ovirt-node-2.6.1 which use upstart to control libvirtd. At 2013-05-15 17:02:38,Mark Wu wu...@linux.vnet.ibm.com wrote: On 05/15/2013 04:05 PM, Mars gu wrote: hi Wu, the information you need

Re: [vdsm] Potential Bug in cpopen

2013-05-29 Thread Mark Wu
On Wed 29 May 2013 12:02:47 PM CST, Zhou Zheng Sheng wrote: Hi, Recently Jenkins unit test sometimes fails on PidStatTests.test, for example http://gerrit.ovirt.org/#/c/14670/ After it execCmd a sleep command with sync=False, in /proc/[xxxpid]/stat we should see the name is sleep, but in this

Re: [vdsm] Test failure not free loop devices

2013-08-11 Thread Mark Wu
On Fri 09 Aug 2013 09:45:02 PM CST, David Caro Estevez wrote: Sometimes we get this error when running the vdsm tests: == ERROR: testLoopMount (mountTests.MountTests)