[ovirt-devel] running VDSM local tests

Dan Kenigsberg danken at redhat.com
Sun May 25 23:57:58 UTC 2014


On Sun, May 25, 2014 at 10:29:26AM -0400, Kobi Ianko wrote:
> 
> 
> ----- Original Message -----
> > From: "Antoni Segura Puimedon" <asegurap at redhat.com>
> > To: "Kobi Ianko" <kobi at redhat.com>
> > Sent: Sunday, May 25, 2014 4:12:39 PM
> > Subject: Re: [ovirt-devel] running VDSM local tests
> > 
> > 
> > 
> > ----- Original Message -----
> > > From: "Kobi Ianko" <kobi at redhat.com>
> > > To: devel at ovirt.org
> > > Sent: Sunday, May 25, 2014 12:39:59 PM
> > > Subject: [ovirt-devel] running VDSM local tests
> > > 
> > > Hi,
> > > One more question to go...
> > > Trying to run the VDSM local tests:
> > > 
> > > tests]# ./run_tests_local.sh functional/momTests.py
> > > 
> > >   File "../tests/testrunner.py", line 30, in <module>
> > >     from vdsm import utils
> > >   File "/root/vdsm/lib/vdsm/utils.py", line 58, in <module>
> > >     from .config import config
> > >   ImportError: No module named config
> > > 
> > > Is it a known bug(on ver 4.15)? How can I work around it?
> > 
> > Did you first run ./autogen.sh --system && make from the root
> > of the repository?
> executing "make all" on vdsm root dir, after I installed the RPM fixed it

`make all` creates, among others, lib/vdsm/config.py out of
lib/vdsm/config.py.in.

Please note that this has nothing to do with rpm; and that building as
"root" should send trembles of worries through one's spine.

Dan.



More information about the Devel mailing list