Re: [vdsm] start vm which in pool failed-please help test the code

2013-09-29 Thread bigclouds
At 2013-09-24 09:01:45,bigclouds wrote: my code is attached 1. modify hooks.py in function _runHooksDir , add 'scriptenv['M_vmName'] = vmconf.get('vmName', "")' for script needs vmname 2.modify vdsm service which call hooks.pyc from hooks.pyc to hooks.py , for u modify it above. 3.cp

Re: [vdsm] start vm which in pool failed

2013-09-24 Thread Ayal Baron
- Original Message - > hi, Dan > i am happy to contribute my code until it is tested. > > i am not sure if it is related to selinux because no matter i enable or > disable selinux (SELINUX= disabled mode) the error remain. > > i define a xml recording to vdsm.log infos, and 'virsh start

Re: [vdsm] start vm which in pool failed

2013-09-23 Thread Dan Kenigsberg
On Sun, Sep 22, 2013 at 05:57:25PM +0800, bigclouds wrote: > hi, Dan > i am happy to contribute my code until it is tested. > Could you at least share the offending domxml? > > i am not sure if it is related to selinux because no matter i enable or > disable selinux (SELINUX=disabled mode) the

Re: [vdsm] start vm which in pool failed

2013-09-22 Thread bigclouds
hi, Dan i am happy to contribute my code until it is tested. i am not sure if it is related to selinux because no matter i enable or disable selinux (SELINUX=disabled mode) the error remain. i define a xml recording to vdsm.log infos, and 'virsh start myvm', the same error occurs i copy the c

Re: [vdsm] start vm which in pool failed

2013-09-22 Thread Dan Kenigsberg
On Sun, Sep 22, 2013 at 09:59:08AM +0800, bigclouds wrote: > i find a bug fixed 1 year ago. > > type=VIRT_CONTROL msg=audit(1379813127.359:42015): user pid=1637 uid=0 > auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 > msg='virt=kvm op=start reason=booted vm="testna

Re: [vdsm] start vm which in pool failed

2013-09-21 Thread bigclouds
i find a bug fixed 1 year ago. type=VIRT_CONTROL msg=audit(1379813127.359:42015): user pid=1637 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm op=start reason=booted vm="testname-1" uuid=24f7e975-9aa5-4a14-b0f0-590add14c8b5 vm-pid=-1 exe="/usr/

Re: [vdsm] start vm which in pool failed

2013-09-18 Thread Dan Kenigsberg
On Wed, Sep 18, 2013 at 01:03:08PM +0800, bigclouds wrote: > when starting a vm of a pool fails.in the process of hooks, i modify > guestvm hostname, and modify the path of backing file of chain. do nothing > else. > i can munually define a xml(after hooks), and start it without error. Co

Re: [vdsm] start vm which in pool failed

2013-09-18 Thread Itamar Heim
On 09/18/2013 08:03 AM, bigclouds wrote: when starting a vm of a pool fails.in the process of hooks, i modify guestvm hostname, and modify the path of backing file of chain. do nothing else. i can munually define a xml(after hooks), and start it without error. env: libvirt-0.10.2-18.el6_4.5.

[vdsm] start vm which in pool failed

2013-09-17 Thread bigclouds
when starting a vm of a pool fails.in the process of hooks, i modify guestvm hostname, and modify the path of backing file of chain. do nothing else. i can munually define a xml(after hooks), and start it without error. env: libvirt-0.10.2-18.el6_4.5.x86_64 2.6.32-358.6.2.el6.x86_64 ce