[Openstack-operators] neutron wont start

Alex Leonhardt aleonhardt.py at gmail.com
Thu Jul 17 08:33:23 UTC 2014


hi guys,

am working on installing neutron (via puppet) but it just wont start and
fails, when I try to track down the culprit, I end up with :

 # neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file
/etc/neutron/plugin.ini current
No handlers could be found for logger "neutron.common.legacy"
Traceback (most recent call last):
  File "/usr/bin/neutron-db-manage", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.6/site-packages/neutron/db/migration/cli.py", line
143, in main
    CONF.command.func(config, CONF.command.name)
  File "/usr/lib/python2.6/site-packages/neutron/db/migration/cli.py", line
59, in do_alembic_command
    getattr(alembic_command, cmd)(config, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/alembic/command.py", line 189, in
current
    script.run_env()
  File "/usr/lib/python2.6/site-packages/alembic/script.py", line 191, in
run_env
    util.load_python_file(self.dir, 'env.py')
  File "/usr/lib/python2.6/site-packages/alembic/util.py", line 186, in
load_python_file
    module = imp.load_source(module_id, path, open(path, 'rb'))
  File
"/usr/lib/python2.6/site-packages/neutron/db/migration/alembic_migrations/env.py",
line 44, in <module>
    importutils.import_class(class_path)
  File
"/usr/lib/python2.6/site-packages/neutron/openstack/common/importutils.py",
line 35, in import_class
    traceback.format_exception(*sys.exc_info())))
ImportError: Class openvswitch cannot be found (['Traceback (most recent
call last):\n', '  File
"/usr/lib/python2.6/site-packages/neutron/openstack/common/importutils.py",
line 30, in import_class\n    __import__(mod_str)\n', 'ValueError: Empty
module name\n'])


The puppet module currently does :


  class { 'neutron':
    rabbit_host     => $amqhost,
    rabbit_user     => $amquser,
    rabbit_password => $amqpass,
  }

  class { 'neutron::server':
    database_connection => "mysql://${neutrondbuser}:${neutrondbpass}@
${neutrondbhost}/ovs_neutron?charset=utf8",
    auth_host           => $auth_host,
    auth_user           => $neutronadminuser,
    auth_password       => $neutronadminpass,
  }

  class { 'neutron::plugins::ovs':
    tenant_network_type => 'local',
    network_vlan_ranges => 'br100:1:1',
  }

  class { 'neutron::agents::ovs':
    bridge_mappings => ['br100:br100'],
  }

Anyone know what I'm missing ?

Thanks for your help!
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20140717/c59955d7/attachment.html>


More information about the OpenStack-operators mailing list