[vdsm] error when run vdsClient

Dan Kenigsberg danken at redhat.com
Tue May 8 20:51:02 UTC 2012


On Wed, May 09, 2012 at 01:42:45AM +0800, ShaoHe Feng wrote:
> 
> $ sudo ./autobuild.sh
> build vdsm, and all test OK.
> 
> then rpm install the rpm package.
> 
> and start the vdsm
> $ sudo systemctl start vdsmd.service
> 
> but error, when run vdsClient.
> 
>   File "/usr/share/vdsm/vdsClient.py", line 28, in <module>
>     from vdsm import vdscli
> ImportError: cannot import name vdscli
> 
> but I change to root, the vdsClient can work.
> 
> $ ls /usr/lib/python2.7/site-packages/vdsm/vdscli.py -al
> -rw-r--r--. 1 root root 4113 May  9 01:20
> /usr/lib/python2.7/site-packages/vdsm/vdscli.py

What's your $PWD? Maybe you have some vdsm module/package in your
PYTHONPATH that hides the one in site-packages.


More information about the vdsm-devel mailing list