<p dir="ltr">I think I figured it out and the default setting in the puppet-neutron needs changing/updating I'll make a pull request later on..</p>
<p dir="ltr">Yep am on rhel/centos :)</p>
<p dir="ltr">Cheers!<br>
Alex<br>
</p>
<div class="gmail_quote">On 17 Jul 2014 14:36, "Fischer, Matt" <<a href="mailto:matthew.fischer@twcable.com">matthew.fischer@twcable.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>You're missing a package I'm guessing, although this is working for us and I don't think we've made any major mods to puppet-neutron. Unfortunately its one of the areas I've not worked on re: puppet. Based on the python2.6 below I guess you're on RedHat?
 so my packages and experience may not translate well. Maybe python-neutron is needed?</div>
<div><br>
</div>
<span>
<div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt">

<span style="font-weight:bold">From: </span>Alex Leonhardt <<a href="mailto:aleonhardt.py@gmail.com" target="_blank">aleonhardt.py@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, July 17, 2014 2:33 AM<br>
<span style="font-weight:bold">To: </span>openstack-operators <<a href="mailto:openstack-operators@lists.openstack.org" target="_blank">openstack-operators@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>[Openstack-operators] neutron wont start<br>
</div>
<div><br>
</div>
<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" target="_blank">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>
</span><br>
<hr>
<font face="Arial" color="Gray" size="1">This E-mail and any of its attachments may contain Time Warner Cable proprietary information, which is privileged, confidential, or subject to copyright belonging to Time Warner Cable. This E-mail is intended solely
 for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to
 this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.<br>

</font>
</div>

</blockquote></div>