<div dir="ltr">hi guys,<div><br></div><div>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 : </div><div><br></div><div><div> # neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini current</div>
<div>No handlers could be found for logger "neutron.common.legacy"</div><div>Traceback (most recent call last):</div><div> File "/usr/bin/neutron-db-manage", line 10, in <module></div><div> sys.exit(main())</div>
<div> File "/usr/lib/python2.6/site-packages/neutron/db/migration/cli.py", line 143, in main</div><div> CONF.command.func(config, <a href="http://CONF.command.name">CONF.command.name</a>)</div><div> File "/usr/lib/python2.6/site-packages/neutron/db/migration/cli.py", line 59, in do_alembic_command</div>
<div> getattr(alembic_command, cmd)(config, *args, **kwargs)</div><div> File "/usr/lib/python2.6/site-packages/alembic/command.py", line 189, in current</div><div> script.run_env()</div><div> File "/usr/lib/python2.6/site-packages/alembic/script.py", line 191, in run_env</div>
<div> util.load_python_file(self.dir, 'env.py')</div><div> File "/usr/lib/python2.6/site-packages/alembic/util.py", line 186, in load_python_file</div><div> module = imp.load_source(module_id, path, open(path, 'rb'))</div>
<div> File "/usr/lib/python2.6/site-packages/neutron/db/migration/alembic_migrations/env.py", line 44, in <module></div><div> importutils.import_class(class_path)</div><div> File "/usr/lib/python2.6/site-packages/neutron/openstack/common/importutils.py", line 35, in import_class</div>
<div> traceback.format_exception(*sys.exc_info())))</div><div>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'])</div>
</div><div><br></div><div><br></div><div>The puppet module currently does : </div><div><br></div><div><div><br></div><div> class { 'neutron':</div><div> rabbit_host => $amqhost,</div><div> rabbit_user => $amquser,</div>
<div> rabbit_password => $amqpass,</div><div> } </div><div> </div><div> class { 'neutron::server': </div><div> database_connection => "mysql://${neutrondbuser}:${neutrondbpass}@${neutrondbhost}/ovs_neutron?charset=utf8",</div>
<div> auth_host => $auth_host,</div><div> auth_user => $neutronadminuser,</div><div> auth_password => $neutronadminpass,</div><div> }</div><div> </div><div> class { 'neutron::plugins::ovs':</div>
<div> tenant_network_type => 'local',</div><div> network_vlan_ranges => 'br100:1:1',</div><div> } </div><div> </div><div> class { 'neutron::agents::ovs':</div><div> bridge_mappings => ['br100:br100'],</div>
<div> } </div></div><div><br></div><div>Anyone know what I'm missing ? <br></div><div><br></div><div>Thanks for your help!</div><div>Alex</div><div><br></div><div><br></div></div>