[Openstack-operators] neutron wont start

Alex Leonhardt aleonhardt.py at gmail.com
Thu Jul 17 13:39:28 UTC 2014


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..

Yep am on rhel/centos :)

Cheers!
Alex
 On 17 Jul 2014 14:36, "Fischer, Matt" <matthew.fischer at twcable.com> wrote:

>  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?
>
>   From: Alex Leonhardt <aleonhardt.py at gmail.com>
> Date: Thursday, July 17, 2014 2:33 AM
> To: openstack-operators <openstack-operators at lists.openstack.org>
> Subject: [Openstack-operators] neutron wont start
>
>  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
>
>
>
> ------------------------------
> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20140717/708d76e9/attachment.html>


More information about the OpenStack-operators mailing list