Ask Your Question
1

Installing neutron - No handlers could be found for logger "neutron.common.legacy"

asked 2015-03-09 07:26:54 -0500

enojado gravatar image

updated 2015-03-09 07:50:19 -0500

Hi, this post look like mess. but...

Doing this: http://docs.openstack.org/juno/instal...

Deploy neutron db

Running this:

root@eno:/etc/neutron# su -s /bin/sh -c "neutron-db-manage --config-file /etc/neutron/neutron.conf \
  --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade juno" neutron

Get this ERROR message:

No handlers could be found for logger "neutron.common.legacy"
INFO  [alembic.migration] Context impl MySQLImpl.
INFO  [alembic.migration] Will assume non-transactional DDL.
 No such revision 'juno'

Search in older threads here:

Tried to replace 'juno' with 'head' in the update line.  
in neutron.conf
Added neutron.services.l3_router.l3_router_plugin.L3RouterPlugin
Added neutron.plugins.ml2.plugin.Ml2Plugin

Pretty sure there is an easy configuration one place I haven't seen yet !!!

Thank you!

My configuration is under:

Glance, nova and neutron on same server.

Identity with keystone - standalone (inklude sql and rabbit)

Storage node cinder - standalone.

""""Services on neutron server"""""
root@eno:/etc/neutron# netstat -an | grep LISTEN
tcp        0      0 0.0.0.0:6080            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:8773            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:8774            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:8775            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:9191            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:9292            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
unix  2      [ ACC ]     STREAM     LISTENING     504      @/com/ubuntu/upstart
unix  2      [ ACC ]     STREAM     LISTENING     8559     /var/run/acpid.socket
unix  2      [ ACC ]     SEQPACKET  LISTENING     7792     /run/udev/control
unix  2      [ ACC ]     STREAM     LISTENING     7925     /var/run/dbus/system_bus_socket
root@eno:/etc/neutron#
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""



"""""""""""Service  identity""""""""""
root@enoddd:/etc/swift# netstat -an | grep LISTEN
tcp        0      0 0.0.0.0:35357           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:5000            0.0.0.0:*               LISTEN
tcp        0      0 10.55.0.28:3306         0.0.0.0:*               LISTEN
tcp        0      0 10.55.0.28:11211        0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:54738           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp6       0      0 :::5672                 :::*                    LISTEN
tcp6       0      0 :::4369                 :::*                    LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
unix  2      [ ACC ]     STREAM     LISTENING     7726     /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     7009     @/com/ubuntu/upstart
unix  2      [ ACC ]     STREAM     LISTENING     9093     /var/run/acpid.socket
unix  2      [ ACC ]     STREAM     LISTENING     9614     /var/run/mysqld/mysqld.sock
unix  2      [ ACC ]     SEQPACKET  LISTENING     7389     /run/udev/control

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

**neutron.conf**

[DEFAULT]
# Print more verbose output (set logging level to INFO instead of default WARNING level). 
verbose = True 
rpc_backend = rabbit 
rabbit_host = identityserver_ip 
rabbit_password = mypass 
auth_strategy = keystone 
core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin
# core_plugin = m12
# service_plugins = router 
service_plugins = neutron.services ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-03-09 09:11:38 -0500

enojado gravatar image

updated 2015-03-09 09:12:28 -0500

Add:

/etc/neutron# neutron ext-list
Connection to neutron failed: Maximum attempts reached

Endpoint seems to be corrcet. Point to neutronserver...

http://10.0.0.10:9696   http://10.0.0.10:9696 http://10.0.0.10:9696

In easy way i miss my listening ip on neutron server for http://10.0.0.10:9696

edit flag offensive delete link more

Comments

enojando - I tried what you suggested, and it's still not working. I recreated the endpoints via 'keystone endpoint-create' command and still I'm getting 'Connection to neutron failed: Maximum attempts reached' error message. Any thoughts?

Vikram gravatar imageVikram ( 2015-06-10 02:45:49 -0500 )edit
0

answered 2015-08-11 09:37:04 -0500

amirali gravatar image

i changed juno with head in this juno version (not working)

su -s /bin/sh -c "neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade juno" neutron


kilo version (working)

su -s /bin/sh -c "neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head" neutron

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-03-09 07:26:54 -0500

Seen: 1,323 times

Last updated: Aug 11 '15