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 bigclo...@163.com 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

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-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:

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. Could

[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