No way to silence unknown file warnings

Bug #719438 reported by Monty Taylor
34
This bug affects 9 people
Affects Status Importance Assigned to Milestone
python-distutils-extra
New
Undecided
Unassigned

Bug Description

We started using distutils.extra in OpenStack, and so far it's great. HOWEVER, we get the following output on every invocation. The first set seems to indicate that perhaps distutils.extra is doing an import in an odd context... the second that it doesn't know about a bunch of our files. That's fine - but I'm just using it for i18n, and having gobs of extra warning output makes finding real problems more difficult. (I should add that almost all of these files are actually listed in our MANIFEST.in) Is there any way I can:

  - Add a config option to just suppress this output, since it's not relevant to me anyway
  - Add things to a file somewhere so that distutils.extra _does_ know about these files
  - Prevent distutils.extra from importing whatever it's trying to import which is causing the import errors

If you want to look directly, grab lp:~jaypipes/nova/translations and do a python setup.py build_i18n

ERROR: Python module migrate.versioning.shell not found
ERROR: Python module glance not found
ERROR: Python module migrate not found
ERROR: Python module rrdtool not found
ERROR: Python module utils not found
ERROR: Python module boto_v6.ec2.connection not found
ERROR: Python module bpython not found
ERROR: Python module boto_v6.ec2.instance not found
ERROR: Python module euca2ools 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
/usr/lib/python2.6/dist-packages/DistUtilsExtra/auto.py:317: 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 XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module glance.client not found
ERROR: Python module glance.client not found
ERROR: Python module qweb not found
ERROR: Python module migrate not found
ERROR: Python module boto_v6 not found
ERROR: Python module exception 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 migrate.versioning not found
ERROR: Python module migrate.versioning not found
running build
running build_kdeui
running build_py
file nova.py (for module nova) not found
file nova/cloudpipe.py (for module nova.cloudpipe) not found
file nova/compute.py (for module nova.compute) not found
file nova/volume.py (for module nova.volume) not found
file nova/console.py (for module nova.console) not found
file nova/network.py (for module nova.network) not found
file nova/db.py (for module nova.db) not found
file nova/api.py (for module nova.api) not found
file nova/virt.py (for module nova.virt) not found
file nova/auth.py (for module nova.auth) not found
file nova/tests.py (for module nova.tests) not found
file nova/scheduler.py (for module nova.scheduler) not found
file nova/image.py (for module nova.image) not found
file nova/objectstore.py (for module nova.objectstore) not found
file nova/db/sqlalchemy.py (for module nova.db.sqlalchemy) not found
file nova/api/ec2.py (for module nova.api.ec2) not found
file nova/api/openstack.py (for module nova.api.openstack) not found
file nova/virt/xenapi.py (for module nova.virt.xenapi) not found
file nova/tests/xenapi.py (for module nova.tests.xenapi) not found
file nova/tests/db.py (for module nova.tests.db) not found
file nova/tests/api.py (for module nova.tests.api) not found
file nova/tests/glance.py (for module nova.tests.glance) not found
file nova/db/sqlalchemy/migrate_repo.py (for module nova.db.sqlalchemy.migrate_repo) not found
file nova/api/openstack/ratelimiting.py (for module nova.api.openstack.ratelimiting) not found
file nova/tests/api/openstack.py (for module nova.tests.api.openstack) not found
file nova/db/sqlalchemy/migrate_repo/versions.py (for module nova.db.sqlalchemy.migrate_repo.versions) not found
copying nova/vcsversion.py -> build/lib.linux-x86_64-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
file nova.py (for module nova) not found
file nova/cloudpipe.py (for module nova.cloudpipe) not found
file nova/compute.py (for module nova.compute) not found
file nova/volume.py (for module nova.volume) not found
file nova/console.py (for module nova.console) not found
file nova/network.py (for module nova.network) not found
file nova/db.py (for module nova.db) not found
file nova/api.py (for module nova.api) not found
file nova/virt.py (for module nova.virt) not found
file nova/auth.py (for module nova.auth) not found
file nova/tests.py (for module nova.tests) not found
file nova/scheduler.py (for module nova.scheduler) not found
file nova/image.py (for module nova.image) not found
file nova/objectstore.py (for module nova.objectstore) not found
file nova/db/sqlalchemy.py (for module nova.db.sqlalchemy) not found
file nova/api/ec2.py (for module nova.api.ec2) not found
file nova/api/openstack.py (for module nova.api.openstack) not found
file nova/virt/xenapi.py (for module nova.virt.xenapi) not found
file nova/tests/xenapi.py (for module nova.tests.xenapi) not found
file nova/tests/db.py (for module nova.tests.db) not found
file nova/tests/api.py (for module nova.tests.api) not found
file nova/tests/glance.py (for module nova.tests.glance) not found
file nova/db/sqlalchemy/migrate_repo.py (for module nova.db.sqlalchemy.migrate_repo) not found
file nova/api/openstack/ratelimiting.py (for module nova.api.openstack.ratelimiting) not found
file nova/tests/api/openstack.py (for module nova.tests.api.openstack) not found
file nova/db/sqlalchemy/migrate_repo/versions.py (for module nova.db.sqlalchemy.migrate_repo.versions) not found
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'
file nova.py (for module nova) not found
file nova/cloudpipe.py (for module nova.cloudpipe) not found
file nova/compute.py (for module nova.compute) not found
file nova/volume.py (for module nova.volume) not found
file nova/console.py (for module nova.console) not found
file nova/network.py (for module nova.network) not found
file nova/db.py (for module nova.db) not found
file nova/api.py (for module nova.api) not found
file nova/virt.py (for module nova.virt) not found
file nova/auth.py (for module nova.auth) not found
file nova/tests.py (for module nova.tests) not found
file nova/scheduler.py (for module nova.scheduler) not found
file nova/image.py (for module nova.image) not found
file nova/objectstore.py (for module nova.objectstore) not found
file nova/db/sqlalchemy.py (for module nova.db.sqlalchemy) not found
file nova/api/ec2.py (for module nova.api.ec2) not found
file nova/api/openstack.py (for module nova.api.openstack) not found
file nova/virt/xenapi.py (for module nova.virt.xenapi) not found
file nova/tests/xenapi.py (for module nova.tests.xenapi) not found
file nova/tests/db.py (for module nova.tests.db) not found
file nova/tests/api.py (for module nova.tests.api) not found
file nova/tests/glance.py (for module nova.tests.glance) not found
file nova/db/sqlalchemy/migrate_repo.py (for module nova.db.sqlalchemy.migrate_repo) not found
file nova/api/openstack/ratelimiting.py (for module nova.api.openstack.ratelimiting) not found
file nova/tests/api/openstack.py (for module nova.tests.api.openstack) not found
file nova/db/sqlalchemy/migrate_repo/versions.py (for module nova.db.sqlalchemy.migrate_repo.versions) not found
running build_scripts
running build_i18n
intltool-update -p -g nova
running build_icons
running build_help
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
  contrib/puppet/files/etc/default/nova-compute
  contrib/puppet/files/etc/default/nova-volume
  contrib/puppet/files/etc/issue
  contrib/puppet/files/etc/libvirt/qemu.conf
  contrib/puppet/files/etc/lvm/lvm.conf
  contrib/puppet/files/etc/nova.conf
  contrib/puppet/files/production/boto.cfg
  contrib/puppet/files/production/genvpn.sh
  contrib/puppet/files/production/libvirt.qemu.xml.template
  contrib/puppet/files/production/my.cnf
  contrib/puppet/files/production/nova-iptables
  contrib/puppet/files/production/nova-iscsi-dev.sh
  contrib/puppet/files/production/setup_data.sh
  contrib/puppet/files/production/slap.sh
  contrib/puppet/fileserver.conf
  contrib/puppet/manifests/classes/apt.pp
  contrib/puppet/manifests/classes/issue.pp
  contrib/puppet/manifests/classes/kern_module.pp
  contrib/puppet/manifests/classes/loopback.pp
  contrib/puppet/manifests/classes/lvm.pp
  contrib/puppet/manifests/classes/lvmconf.pp
  contrib/puppet/manifests/classes/nova.pp
  contrib/puppet/manifests/classes/swift.pp
  contrib/puppet/manifests/site.pp
  contrib/puppet/manifests/templates.pp
  contrib/puppet/puppet.conf
  contrib/puppet/templates/haproxy.cfg.erb
  contrib/puppet/templates/monitrc-nova-api.erb
  contrib/puppet/templates/nova-iptables.erb
  contrib/puppet/templates/production/nova-common.conf.erb
  contrib/puppet/templates/production/nova-nova.conf.erb
  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
  doc/source/devref/services.rst
  doc/source/devref/volume.rst
  doc/source/images/NOVA_ARCH.png
  doc/source/images/NOVA_ARCH.svg
  doc/source/images/NOVA_ARCH_200dpi.png
  doc/source/images/NOVA_ARCH_66dpi.png
  doc/source/images/NOVA_clouds_A_B.png
  doc/source/images/NOVA_clouds_A_B.svg
  doc/source/images/NOVA_clouds_C1_C2.svg
  doc/source/images/NOVA_clouds_C1_C2.svg.png
  doc/source/images/Novadiagram.png
  doc/source/images/cloudpipe.png
  doc/source/images/fabric.png
  doc/source/images/novascreens.png
  doc/source/images/novashvirtually.png
  doc/source/images/rabbit/arch.png
  doc/source/images/rabbit/arch.svg
  doc/source/images/rabbit/flow1.png
  doc/source/images/rabbit/flow1.svg
  doc/source/images/rabbit/flow2.png
  doc/source/images/rabbit/flow2.svg
  doc/source/images/rabbit/rabt.png
  doc/source/images/rabbit/rabt.svg
  doc/source/images/rabbit/state.png
  doc/source/index.rst
  doc/source/installer.rst
  doc/source/livecd.rst
  doc/source/man/novamanage.rst
  doc/source/nova.concepts.rst
  doc/source/object.model.rst
  doc/source/quickstart.rst
  doc/source/service.architecture.rst
  nova.egg-info/PKG-INFO
  nova.egg-info/SOURCES.txt
  nova.egg-info/dependency_links.txt
  nova.egg-info/top_level.txt
  nova/api/openstack/notes.txt
  nova/auth/nova_openldap.schema
  nova/auth/nova_sun.schema
  nova/auth/novarc.template
  nova/auth/opendj.sh
  nova/auth/openssh-lpk_openldap.schema
  nova/auth/openssh-lpk_sun.schema
  nova/auth/slap.sh
  nova/cloudpipe/bootscript.template
  nova/cloudpipe/client.ovpn.template
  nova/compute/fakevirtinstance.xml
  nova/console/xvp.conf.template
  nova/db/sqlalchemy/migrate_repo/README
  nova/db/sqlalchemy/migrate_repo/migrate.cfg
  nova/tests/CA/cacert.pem
  nova/tests/CA/private/cakey.pem
  nova/tests/bundle/1mb.manifest.xml
  nova/tests/bundle/1mb.no_kernel_or_ramdisk.manifest.xml
  nova/tests/bundle/1mb.part.0
  nova/tests/bundle/1mb.part.1
  nova/tests/db/nova.austin.sqlite
  nova/virt/interfaces.template
  nova/virt/libvirt.xml.template
  plugins/xenserver/doc/networking.rst
  plugins/xenserver/networking/etc/init.d/host-rules
  plugins/xenserver/networking/etc/xensource/scripts/vif_5.6-fp1.patch
  plugins/xenserver/networking/etc/xensource/scripts/vif_rules.py
  plugins/xenserver/xenapi/README
  plugins/xenserver/xenapi/etc/xapi.d/plugins/agent
  plugins/xenserver/xenapi/etc/xapi.d/plugins/glance
  plugins/xenserver/xenapi/etc/xapi.d/plugins/objectstore
  plugins/xenserver/xenapi/etc/xapi.d/plugins/pluginlib_nova.py
  plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py
  pylintrc
  run_tests.sh
  smoketests/__init__.py
  smoketests/admin_smoketests.py
  smoketests/base.py
  smoketests/flags.py
  smoketests/openwrt-x86-ext2.image
  smoketests/openwrt-x86-vmlinuz
  smoketests/public_network_smoketests.py
  smoketests/user_smoketests.py
  tools/ajaxterm/README.txt
  tools/ajaxterm/ajaxterm.css
  tools/ajaxterm/ajaxterm.html
  tools/ajaxterm/ajaxterm.js
  tools/ajaxterm/ajaxterm.py
  tools/ajaxterm/configure
  tools/ajaxterm/configure.ajaxterm.bin
  tools/ajaxterm/configure.initd.debian
  tools/ajaxterm/configure.initd.gentoo
  tools/ajaxterm/configure.initd.redhat
  tools/ajaxterm/configure.makefile
  tools/ajaxterm/qweb.py
  tools/ajaxterm/sarissa.js
  tools/ajaxterm/sarissa_dhtml.js
  tools/clean-vlans
  tools/euca-get-ajax-console
  tools/install_venv.py
  tools/pip-requires
  tools/setup_iptables.sh
  tools/with_venv.sh

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.