Ask Your Question
0

nova (revision 731) build is failing

asked 2011-02-24 18:50:36 -0500

tpatil gravatar image

I took the latest code of nova lp:nova and tried to build it without success.

Previously it asked me to install python-distutils-extra but after installing it gave me following errors:-

root@ubuntu-development-server:/home/tpatil/openstack/ntt/nova# python setup.py install ERROR: Python module rrdtool not found ERROR: Python module win32console not found ERROR: Python module pywintypes not found ERROR: Python module win32console not found ERROR: Python module utils not found ERROR: Python module bpython not found ERROR: Python module IPython not found ERROR: Python module boto_v6.ec2.instance not found ERROR: Python module boto_v6.ec2.connection not found /usr/local/lib/python2.6/dist-packages/python_distutils_extra-2.25-py2.6.egg/DistUtilsExtra/auto.py:322: DeprecationWarning: the sha module is deprecated; use the hashlib module instead path = __import__(module).__file__ ERROR: Python module XenAPIPlugin not found ERROR: Python module pluginlib_nova not found ERROR: Python module common not found ERROR: Python module XenAPIPlugin not found ERROR: Python module pluginlib_nova not found ERROR: Python module xenstore not found ERROR: Python module utils not found ERROR: Python module XenAPIPlugin not found ERROR: Python module pluginlib_nova not found ERROR: Python module qweb not found ERROR: Python module XenAPIPlugin not found ERROR: Python module pluginlib_nova not found ERROR: Python module fcgi not found ERROR: Python module XenAPI not found ERROR: Python module memcache not found

running install copying etc/nova-api.conf -> etc running build running build_py copying nova/vcsversion.py -> build/lib.linux-i686-2.6/nova running egg_info writing nova.egg-info/PKG-INFO writing top-level names to nova.egg-info/top_level.txt writing dependency_links to nova.egg-info/dependency_links.txt reading manifest file 'nova.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'exercise_rsapi.py' warning: no files found matching 'ChangeLog' warning: no files found matching 'nova/cloudpipe/bootscript.sh' warning: no files found matching 'nova/compute/interfaces.template' warning: no files found matching 'nova/tests/CA/' warning: no files found matching 'nova/tests/CA/private/' warning: no files found matching 'nova/tests/bundle/' warning: no files found matching 'plugins/xenapi/README' warning: no files found matching 'plugins/xenapi/etc/xapi.d/plugins/objectstore' warning: no files found matching 'plugins/xenapi/etc/xapi.d/plugins/pluginlib_nova.py' writing manifest file 'nova.egg-info/SOURCES.txt' running build_scripts running build_i18n intltool-update -p -g nova running build_icons running build_help running install_lib copying build/lib.linux-i686-2.6/nova/vcsversion.py -> /usr/local/lib/python2.6/dist-packages/nova byte-compiling /usr/local/lib/python2.6/dist-packages/nova/vcsversion.py to vcsversion.pyc running install_scripts changing mode of /usr/local/bin/nova-volume to 755 changing mode of /usr/local/bin/nova-logspool to 755 changing mode of /usr/local/bin/nova-console to 755 changing mode of /usr/local/bin/nova-api to 755 changing mode of /usr/local/bin/nova-compute to 755 changing mode of /usr/local/bin/nova-debug to 755 changing mode of /usr/local/bin/nova-import-canonical-imagestore to 755 changing mode of /usr/local/bin/nova-direct-api to 755 changing mode of /usr/local/bin/nova-network to 755 changing mode of /usr/local/bin/nova-dhcpbridge ... (more)

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
0

answered 2011-03-23 19:25:50 -0500

tpatil gravatar image

No, I am still getting same issue with the latest revision. But as an alternative I am able to run all nova services using nova.sh which you can find in nova/contrib/ folder.

edit flag offensive delete link more
0

answered 2011-07-31 02:03:47 -0500

any one fixed that issue?

edit flag offensive delete link more
0

answered 2011-02-24 19:04:04 -0500

tpatil gravatar image

Even though the build is failing, I still see nova-* services are placed in the /usr/local/bin/ directory. If I try to run "$/usr/local/bin/nova-api --flagfile=/etc/nova/nova.conf --logfile=/var/log/nova/nova-api.log" it gives me following error:- No handlers could be found for logger "nova.root"

I think the build procedure is changed a lot since I don't have any issues with revision 645. I am not aware of the new build process. Can someone please give me some pointers?

edit flag offensive delete link more
0

answered 2011-02-25 01:11:29 -0500

shihangwei gravatar image

add setup.py

import os import subprocess from nova import log as logging logging.basicConfig() from setuptools import setup, find_packages from setuptools.command.sdist import sdist from nova.utils import parse_mailmap, str_dict_replace from nova import version if os.path.isdir('.bzr'):

edit flag offensive delete link more
0

answered 2011-03-23 19:10:13 -0500

Tushar, did you find a fix for this?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-02-24 18:50:36 -0500

Seen: 37 times

Last updated: Jul 31 '11