I have followed the instructions for the Xen setup: http://wiki.openstack.org/XenServerDevelopment
Everything is great up until I run the run_tests.sh -x -N line.
I get the output in the log of (sorry for long paste):
ERROR
======================================================================
ERROR: <nose.suite.ContextSuite context=nova.tests>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 208, in run
self.setUp()
File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 291, in setUp
self.setupContext(ancestor)
File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 314, in setupContext
try_run(context, names)
File "/usr/local/lib/python2.7/dist-packages/nose/util.py", line 478, in try_run
return func()
File "/home/localadmin/openstack/nova/nova/tests/__init__.py", line 47, in setup
from nova.network import manager as network_manager
File "/home/localadmin/openstack/nova/nova/network/manager.py", line 65, in <module>
from nova.compute import api as compute_api
File "/home/localadmin/openstack/nova/nova/compute/__init__.py", line 19, in <module>
from nova.compute.api import API
File "/home/localadmin/openstack/nova/nova/compute/api.py", line 30, in <module>
import nova.image
File "/home/localadmin/openstack/nova/nova/image/__init__.py", line 25, in <module>
from nova.image import glance as glance_image_service
File "/home/localadmin/openstack/nova/nova/image/glance.py", line 33, in <module>
from nova.image import service
ImportError: cannot import name service
-------------------- >> begin captured logging << --------------------
2011-08-18 17:00:31,813 DEBUG nova.utils [-] Inner Exception: No module named kombu.connection from (pid=1237) import_class /home/localadmin/openstack/nova/nova/utils.py:64
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 0 tests in 0.024s
FAILED (errors=1)
/usr/local/lib/python2.7/dist-packages/nose/plugins/manager.py:383: RuntimeWarning: Unable to load plugin xcover = nosexcover:XCoverage: (coverage 3.5 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('coverage==3.4'))
RuntimeWarning)
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
2011-08-18 17:00:31,813 DEBUG nova.utils [-] Inner Exception: No module named kombu.connection from (pid=1237) import_class /home/localadmin/openstack/nova/nova/utils.py:64
/home/localadmin/openstack/nova/bin/nova-manage:56: RuntimeWarning: Parent module 'nova_manage' not found while handling absolute import
import gettext
/home/localadmin/openstack/nova/bin/nova-manage:57: RuntimeWarning: Parent module 'nova_manage' not found while handling absolute import
import glob
/home/localadmin/openstack/nova/bin/nova-manage:58: RuntimeWarning: Parent module 'nova_manage' not found while handling absolute import
import json
/home/localadmin/openstack/nova/bin/nova-manage:59: RuntimeWarning: Parent module 'nova_manage' not found while handling absolute import
import math
/home/localadmin/openstack/nova/bin/nova-manage:60: RuntimeWarning: Parent module 'nova_manage' not found while handling absolute import
import netaddr
/home/localadmin/openstack/nova/bin/nova-manage:61: RuntimeWarning: Parent module 'nova_manage' not found while handling absolute import
import os
/home/localadmin/openstack/nova/bin/nova-manage:62: RuntimeWarning: Parent module 'nova_manage' not found while handling absolute import
import sys
/home/localadmin/openstack/nova/bin/nova-manage:63: RuntimeWarning: Parent module 'nova_manage' not found while handling absolute import
import time
/home/localadmin/openstack/nova/bin/nova-manage:65: RuntimeWarning: Parent module 'nova_manage' not found while handling absolute import
from optparse import OptionParser
/home/localadmin/openstack/nova/bin/nova-manage:77: RuntimeWarning: Parent module 'nova_manage' not found while handling absolute import
from nova import context
/home/localadmin/openstack/nova/bin/nova-manage:78: RuntimeWarning: Parent module 'nova_manage' not found while handling absolute import
from nova import crypto
/home/localadmin/openstack/nova/bin/nova-manage:79: RuntimeWarning: Parent module 'nova_manage' not found while handling absolute import
from nova import db
/home/localadmin/openstack/nova/bin/nova-manage:80: RuntimeWarning: Parent module 'nova_manage' not found while handling absolute import
from nova import exception
/home/localadmin/openstack/nova/bin/nova-manage:81: RuntimeWarning: Parent module 'nova_manage' not found while handling absolute import
from nova import flags
/home/localadmin/openstack/nova/bin/nova-manage:82: RuntimeWarning: Parent module 'nova_manage' not found while handling absolute import
from nova import image
Any clue on the issue?
Thanks,
Shannon