nova (revision 731) build is failing

Asked by Tushar Patil

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 to 755
changing mode of /usr/local/bin/nova-manage to 755
changing mode of /usr/local/bin/nova-objectstore to 755
changing mode of /usr/local/bin/nova-ajax-console-proxy to 755
changing mode of /usr/local/bin/nova-instancemonitor to 755
changing mode of /usr/local/bin/nova-scheduler to 755
changing mode of /usr/local/bin/stack to 755
changing mode of /usr/local/bin/nova-spoolsentry to 755
running install_data
running install_egg_info
removing '/usr/local/lib/python2.6/dist-packages/nova-2011.2.egg-info' (and everything under it)
Copying nova.egg-info to /usr/local/lib/python2.6/dist-packages/nova-2011.2.egg-info
WARNING: the following files are not recognized by DistUtilsExtra.auto:
  Authors
  CA/geninter.sh
  CA/genrootca.sh
  CA/genvpn.sh
  CA/openssl.cnf.tmpl
  HACKING
  builddeb.sh
 bzrplugins/novalog/__init__.py
  contrib/boto_v6/__init__.py
  contrib/boto_v6/ec2/__init__.py
  contrib/boto_v6/ec2/connection.py
  contrib/boto_v6/ec2/instance.py
  contrib/nova.sh
  doc/Makefile
  doc/README.rst
  doc/ext/__init__.py
  doc/ext/nova_autodoc.py
  doc/ext/nova_todo.py
  doc/find_autodoc_modules.sh
  doc/generate_autodoc_index.sh
  doc/source/_ga/layout.html
  doc/source/_static/jquery.tweet.js
  doc/source/_static/tweaks.css
  doc/source/_theme/layout.html
  doc/source/_theme/theme.conf
  doc/source/adminguide/binaries.rst
  doc/source/adminguide/distros/others.rst
  doc/source/adminguide/distros/ubuntu.10.04.rst
  doc/source/adminguide/distros/ubuntu.10.10.rst
  doc/source/adminguide/euca2ools.rst
  doc/source/adminguide/flags.rst
  doc/source/adminguide/getting.started.rst
  doc/source/adminguide/index.rst
  doc/source/adminguide/managing.images.rst
  doc/source/adminguide/managing.instances.rst
  doc/source/adminguide/managing.networks.rst
  doc/source/adminguide/managing.projects.rst
  doc/source/adminguide/managing.users.rst
  doc/source/adminguide/managingsecurity.rst
  doc/source/adminguide/monitoring.rst
  doc/source/adminguide/multi.node.install.rst
  doc/source/adminguide/network.flat.rst
  doc/source/adminguide/network.vlan.rst
  doc/source/adminguide/nova.manage.rst
  doc/source/adminguide/single.node.install.rst
  doc/source/cloud101.rst
  doc/source/code.rst
  doc/source/community.rst
  doc/source/conf.py
  doc/source/conf_back.py
  doc/source/devref/addmethod.openstackapi.rst
  doc/source/devref/api.rst
  doc/source/devref/architecture.rst
  doc/source/devref/auth.rst
  doc/source/devref/cloudpipe.rst
  doc/source/devref/compute.rst
  doc/source/devref/database.rst
  doc/source/devref/development.environment.rst
  doc/source/devref/fakes.rst
  doc/source/devref/glance.rst
  doc/source/devref/index.rst
  doc/source/devref/modules.rst
  doc/source/devref/network.rst
  doc/source/devref/nova.rst
  doc/source/devref/objectstore.rst
  doc/source/devref/rabbit.rst
  doc/source/devref/scheduler.rst
  .....................
  .....................

Any help is much appreciated!!!

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tushar Patil (tpatil) said :
#1

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?

Revision history for this message
shihangwei (shihangwei) said :
#2

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'):

Revision history for this message
Margaret Petrus (mpetrus) said :
#3

Tushar, did you find a fix for this?

Revision history for this message
Tushar Patil (tpatil) said :
#4

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.

Revision history for this message
json wang (wangchunsheng2011) said :
#5

any one fixed that issue?

Can you help with this problem?

Provide an answer of your own, or ask Tushar Patil for more information if necessary.

To post a message you must log in.