On 09/18/2012 05:31 PM, Deepak C Shetty wrote:
On 09/12/2012 09:21 PM, Cole Robinson wrote:
On 09/09/2012 02:21 PM, Dan Kenigsberg wrote:
On Sun, Sep 09, 2012 at 12:35:00PM +0300, Dan Kenigsberg wrote:
On Thu, Sep 06, 2012 at 10:10:17PM +0800, Royce Lv wrote:
Guys,
     Because vdsm is depend on a patch in libvirt 0.10.0, But libvirt
0.10.0 is not available for fc17. You can download the rpm
here:http://libvirt.org/sources/
    Other packages can be found with yum.
    Sorry for the inconvenience I've brought.
Yeah, this unfortunate consequece was not foreseen by your reviewer.
Shame on him. On the mean while, I've built libvirt-0.10.1-2 for my F16
(yes, I'm backward) and put it in http://danken.fedorapeople.org/f16/

I've moved it around under
http://danken.fedorapeople.org/my-virt-preview, and added f17, but then
realised, that we should better request whomever responsible on
fedora-virt-preview to update libvirt under
http://fedorapeople.org/groups/virt/virt-preview/


I got an error while doing installing the latest VDSM rpm from my git src, as below...

--> Finished Dependency Resolution
Error: Package: vdsm-4.10.0-0.447.git62a10e1.fc16.x86_64 (/vdsm-4.10.0-0.447.git62a10e1.fc16.x86_64)
           Requires: libvirt >= 0.10.1-1
           Installed: libvirt-0.9.11.4-3.fc17.x86_64 (@updates)


So, I installed latest libvirt from the virt-preview F17 repo ( my system run F16 tho' and there is no 0.10.x-x available under F16/)

After that VDSM rpm install went fine, but got the below error for `service vdsmd start`

# service vdsmd start
Redirecting to /bin/systemctl  start vdsmd.service
Job failed. See system logs and 'systemctl status' for details.

From /var/log/messages.. I see this...

7 kvmfs01-hs22 systemd[1]: Reloading.
Sep 18 17:27:57 kvmfs01-hs22 systemd[1]: [/usr/lib/systemd/system/libvirt-guests.service:13] Failed to parse output specifier, ignoring: journal+console Sep 18 17:27:57 kvmfs01-hs22 systemd[1]: [/usr/lib/systemd/system/wdmd.service:1] Assignment outside of section. Ignoring. Sep 18 17:27:57 kvmfs01-hs22 systemd[1]: [/usr/lib/systemd/system/wdmd.service:2] Assignment outside of section. Ignoring. Sep 18 17:27:57 kvmfs01-hs22 systemd[1]: [/usr/lib/systemd/system/sanlock.service:1] Assignment outside of section. Ignoring. Sep 18 17:27:57 kvmfs01-hs22 systemd[1]: [/usr/lib/systemd/system/sanlock.service:2] Assignment outside of section. Ignoring. Sep 18 17:27:57 kvmfs01-hs22 systemd-vdsmd[27288]: vdsm: libvirt already configured for vdsm [ OK ]
Sep 18 17:27:57 kvmfs01-hs22 systemd-vdsmd[27288]: Starting iscsid:
Sep 18 17:27:57 kvmfs01-hs22 systemd-vdsmd[27288]: Starting libvirtd (via systemctl): [ OK ] Sep 18 17:27:57 kvmfs01-hs22 abrt: detected unhandled Python exception in '/usr/share/vdsm/nwfilter.pyc'
Sep 18 17:27:57 kvmfs01-hs22 abrtd: New client connected
Sep 18 17:27:57 kvmfs01-hs22 abrtd: Directory 'pyhook-2012-09-18-17:27:57-27402' creation detected Sep 18 17:27:57 kvmfs01-hs22 abrt-server[27403]: Saved Python crash dump of pid 27402 to /var/spool/abrt/pyhook-2012-09-18-17:27:57-27402 Sep 18 17:27:57 kvmfs01-hs22 systemd-vdsmd[27288]: vdsm: Failed to define network filters on libvirt[FAILED] Sep 18 17:27:57 kvmfs01-hs22 systemd[1]: vdsmd.service: control process exited, code=exited status=1 Sep 18 17:27:57 kvmfs01-hs22 systemd[1]: Unit vdsmd.service entered failed state. Sep 18 17:27:57 kvmfs01-hs22 abrtd: DUP_OF_DIR: /var/spool/abrt/pyhook-2012-09-18-17:11:42-26406 Sep 18 17:27:57 kvmfs01-hs22 abrtd: Problem directory is a duplicate of /var/spool/abrt/pyhook-2012-09-18-17:11:42-26406 Sep 18 17:27:57 kvmfs01-hs22 abrtd: Deleting problem directory pyhook-2012-09-18-17:27:57-27402 (dup of pyhook-2012-09-18-17:11:42-26406)



As a workaround, I comment calling nwfilter.py from /lib/systemd/systemd-vdsmd, which then leads me to this error... when starting vdsmd service...

MainThread::INFO::2012-09-18 18:35:34,019::vdsm::87::vds::(run) VDSM main thread ended. Waiting for 1 other threads... MainThread::INFO::2012-09-18 18:35:34,019::vdsm::91::vds::(run) <_MainThread(MainThread, started 140244831332096)> MainThread::INFO::2012-09-18 18:35:34,019::vdsm::91::vds::(run) <Thread(Thread-1, started daemon 140244778272512)> MainThread::WARNING::2012-09-18 18:35:34,079::vdsmDebugPlugin::36::DebugInterpreter::(__turnOnDebugPlugin) Starting Debug Interpreter. Tread lightly! MainThread::INFO::2012-09-18 18:35:34,080::vdsm::81::vds::(run) I am the actual vdsm 4.10-0.447 MainThread::ERROR::2012-09-18 18:35:34,166::vdsm::84::vds::(run) Exception raised
Traceback (most recent call last):
  File "/usr/share/vdsm/vdsm", line 82, in run
    serve_clients(log)
  File "/usr/share/vdsm/vdsm", line 49, in serve_clients
    from clientIF import clientIF  # must import after config is read
  File "/usr/share/vdsm/clientIF.py", line 33, in <module>
    from vdsm import netinfo
File "/usr/lib64/python2.7/site-packages/vdsm/netinfo.py", line 31, in <module>
    import libvirtconnection
File "/usr/lib64/python2.7/site-packages/vdsm/libvirtconnection.py", line 23, in <module>
    import libvirt
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 25, in <module>
    raise lib_e
ImportError: /usr/lib64/libvirt.so.0: undefined symbol: selinux_lxc_contexts_path

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

Reply via email to