[Openstack] [openstack-dev] [Neutron] Server restart failes when configured with ML2 (BugID: 1210236)

Romil Gupta romilgupta19 at gmail.com
Thu Nov 14 18:03:55 UTC 2013


Hi ,

Even I faced the same issue when I configured ml2 plugin in centos.The work
around is to set the following flag in neutron.conf

core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin

and in ml2_conf.ini

type_drivers = vlan
tenant_network_types = vlan
mechanism_drivers =openvswitch
network_vlan_ranges = physnet1:1000:2999

To check whether any neutron-server service is running or not :
do

$ ps -ef | grep neutron

if yes, then
do
kill -9 <pid>

and start the neutron-server by executing following command:

/usr/bin/python /usr/bin/neutron-server --config-file
/etc/neutron/neutron.conf --config-file
/etc/neutron/plugins/ml2/ml2_conf.ini &


hopefully , this will start neutron-server



Regards,
Romil






On Mon, Nov 11, 2013 at 4:27 PM, Eugene Nikanorov
<enikanorov at mirantis.com>wrote:

> My guess is that you should have
> [ml2]
> type_drivers=local,vlan
> instead of just
> [ml2]
> type_drivers=vlan
>
> Thanks,
> Eugene.
>
>
> On Mon, Nov 11, 2013 at 10:47 AM, Trinath Somanchi <
> trinath.somanchi at freescale.com> wrote:
>
>>  Hi
>>
>>
>>
>> Here the complete log for the Neutron-server restart. I’m now getting a
>> new type of error.
>>
>>
>>
>> 2013-11-11 12:14:45.143 22963 INFO neutron.common.config [-] Logging
>> enabled!
>>
>> *2013-11-11 12:14:45.144 22963 <45.144%2022963> ERROR
>> neutron.common.legacy [-] Skipping unknown group key: firewall_driver*
>>
>> 2013-11-11 12:14:45.144 22963 DEBUG neutron.service [-]
>> ********************************************************************************
>> log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1928
>>
>> 2013-11-11 12:14:45.145 22963 DEBUG neutron.service [-] Configuration
>> options gathered from: log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1929
>>
>> 2013-11-11 12:14:45.145 22963 DEBUG neutron.service [-] command line
>> args: ['--config-file', '/etc/neutron/neutron.conf', '--log-file',
>> '/var/log/neutron/server.log', '--config-file',
>> '/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini'] log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1930
>>
>> 2013-11-11 12:14:45.145 22963 DEBUG neutron.service [-] config files:
>> ['/etc/neutron/neutron.conf',
>> '/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini'] log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1931
>>
>> 2013-11-11 12:14:45.146 22963 DEBUG neutron.service [-]
>> ================================================================================
>> log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1932
>>
>> 2013-11-11 12:14:45.146 22963 DEBUG neutron.service [-]
>> allow_bulk                     = True log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.147 22963 DEBUG neutron.service [-]
>> allow_overlapping_ips          = False log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.147 22963 DEBUG neutron.service [-]
>> allow_pagination               = False log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.147 22963 DEBUG neutron.service [-]
>> allow_sorting                  = False log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.148 22963 DEBUG neutron.service [-]
>> allowed_rpc_exception_modules  = ['neutron.openstack.common.exception',
>> 'nova.exception', 'cinder.exception', 'exceptions'] log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.148 22963 DEBUG neutron.service [-]
>> api_extensions_path            =  log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.148 22963 DEBUG neutron.service [-]
>> api_paste_config               = api-paste.ini log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.149 22963 DEBUG neutron.service [-]
>> auth_strategy                  = keystone log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.149 22963 DEBUG neutron.service [-]
>> backdoor_port                  = None log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.149 22963 DEBUG neutron.service [-]
>> backlog                        = 4096 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.150 22963 DEBUG neutron.service [-]
>> base_mac                       = fa:16:3e:00:00:00 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.150 22963 DEBUG neutron.service [-]
>> bind_host                      = 0.0.0.0 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.150 22963 DEBUG neutron.service [-]
>> bind_port                      = 9696 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.151 22963 DEBUG neutron.service [-]
>> config_dir                     = None log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.151 22963 DEBUG neutron.service [-]
>> config_file                    = ['/etc/neutron/neutron.conf',
>> '/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini'] log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.151 22963 DEBUG neutron.service [-]
>> control_exchange               = neutron log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.151 22963 DEBUG neutron.service [-]
>> core_plugin                    = neutron.plugins.ml2.plugin.Ml2Plugin
>> log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.152 22963 DEBUG neutron.service [-]
>> debug                          = True log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.152 22963 DEBUG neutron.service [-]
>> default_log_levels             = ['amqplib=WARN', 'sqlalchemy=WARN',
>> 'boto=WARN', 'suds=INFO', 'keystone=INFO', 'eventlet.wsgi.server=WARN']
>> log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.152 22963 DEBUG neutron.service [-]
>> dhcp_agent_notification        = True log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.153 22963 DEBUG neutron.service [-]
>> dhcp_lease_duration            = 86400 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.153 22963 DEBUG neutron.service [-]
>> disable_process_locking        = False log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.154 22963 DEBUG neutron.service [-]
>> fake_rabbit                    = False log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.154 22963 DEBUG neutron.service [-]
>> fatal_deprecations             = False log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.154 22963 DEBUG neutron.service [-]
>> force_gateway_on_subnet        = False log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.155 22963 DEBUG neutron.service [-]
>> host                           = havana log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.155 22963 DEBUG neutron.service [-]
>> instance_format                = [instance: %(uuid)s]  log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.155 22963 DEBUG neutron.service [-]
>> instance_uuid_format           = [instance: %(uuid)s]  log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.156 22963 DEBUG neutron.service [-]
>> lock_path                      = /var/lib/neutron/lock log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.156 22963 DEBUG neutron.service [-]
>> log_config                     = None log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.156 22963 DEBUG neutron.service [-]
>> log_date_format                = %Y-%m-%d %H:%M:%S log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.157 22963 DEBUG neutron.service [-]
>> log_dir                        = None log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.157 22963 DEBUG neutron.service [-]
>> log_file                       = /var/log/neutron/server.log log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.157 22963 DEBUG neutron.service [-]
>> log_format                     = None log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.157 22963 DEBUG neutron.service [-]
>> logging_context_format_string  = %(asctime)s.%(msecs)03d %(process)d
>> %(levelname)s %(name)s [%(request_id)s %(user)s %(tenant)s]
>> %(instance)s%(message)s log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.158 22963 DEBUG neutron.service [-]
>> logging_debug_format_suffix    = %(funcName)s %(pathname)s:%(lineno)d
>> log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.158 22963 DEBUG neutron.service [-]
>> logging_default_format_string  = %(asctime)s.%(msecs)03d %(process)d
>> %(levelname)s %(name)s [-] %(instance)s%(message)s log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.158 22963 DEBUG neutron.service [-]
>> logging_exception_prefix       = %(asctime)s.%(msecs)03d %(process)d TRACE
>> %(name)s %(instance)s log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.159 22963 DEBUG neutron.service [-]
>> mac_generation_retries         = 16 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.159 22963 DEBUG neutron.service [-]
>> max_dns_nameservers            = 5 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.159 22963 DEBUG neutron.service [-]
>> max_fixed_ips_per_port         = 5 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.160 22963 DEBUG neutron.service [-]
>> max_subnet_host_routes         = 20 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.160 22963 DEBUG neutron.service [-]
>> pagination_max_limit           = -1 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.160 22963 DEBUG neutron.service [-]
>> periodic_fuzzy_delay           = 5 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.161 22963 DEBUG neutron.service [-]
>> periodic_interval              = 40 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.161 22963 DEBUG neutron.service [-]
>> policy_file                    = policy.json log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.161 22963 DEBUG neutron.service [-]
>> publish_errors                 = False log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.162 22963 DEBUG neutron.service [-]
>> retry_until_window             = 30 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.162 22963 DEBUG neutron.service [-]
>> rpc_backend                    = neutron.openstack.common.rpc.impl_kombu
>> log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.162 22963 DEBUG neutron.service [-]
>> rpc_cast_timeout               = 30 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.162 22963 DEBUG neutron.service [-]
>> rpc_conn_pool_size             = 30 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.163 22963 DEBUG neutron.service [-]
>> rpc_response_timeout           = 60 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.163 22963 DEBUG neutron.service [-]
>> rpc_thread_pool_size           = 64 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.163 22963 DEBUG neutron.service [-]
>> run_external_periodic_tasks    = True log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.164 22963 DEBUG neutron.service [-]
>> service_plugins                = [] log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.164 22963 DEBUG neutron.service [-]
>> sqlite_db                      =  log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.164 22963 DEBUG neutron.service [-]
>> sqlite_synchronous             = True log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.165 22963 DEBUG neutron.service [-]
>> ssl_ca_file                    = None log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.165 22963 DEBUG neutron.service [-]
>> ssl_cert_file                  = None log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.165 22963 DEBUG neutron.service [-]
>> ssl_key_file                   = None log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.166 22963 DEBUG neutron.service [-]
>> state_path                     = /var/lib/neutron log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.166 22963 DEBUG neutron.service [-]
>> syslog_log_facility            = LOG_USER log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.166 22963 DEBUG neutron.service [-]
>> tcp_keepidle                   = 600 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.167 22963 DEBUG neutron.service [-]
>> use_ssl                        = False log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.167 22963 DEBUG neutron.service [-]
>> use_stderr                     = True log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.167 22963 DEBUG neutron.service [-]
>> use_syslog                     = False log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.167 22963 DEBUG neutron.service [-]
>> verbose                        = True log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
>>
>> 2013-11-11 12:14:45.168 22963 DEBUG neutron.service [-]
>> database.connection            =
>> ************************************************** log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1949
>>
>> 2013-11-11 12:14:45.168 22963 DEBUG neutron.service [-]
>> database.connection_debug      = 0 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1949
>>
>> 2013-11-11 12:14:45.168 22963 DEBUG neutron.service [-]
>> database.connection_trace      = False log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1949
>>
>> 2013-11-11 12:14:45.169 22963 DEBUG neutron.service [-]
>> database.idle_timeout          = 3600 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1949
>>
>> 2013-11-11 12:14:45.169 22963 DEBUG neutron.service [-]
>> database.max_overflow          = 20 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1949
>>
>> 2013-11-11 12:14:45.169 22963 DEBUG neutron.service [-]
>> database.max_pool_size         = 10 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1949
>>
>> 2013-11-11 12:14:45.170 22963 DEBUG neutron.service [-]
>> database.max_retries           = 10 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1949
>>
>> 2013-11-11 12:14:45.170 22963 DEBUG neutron.service [-]
>> database.min_pool_size         = 1 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1949
>>
>> 2013-11-11 12:14:45.170 22963 DEBUG neutron.service [-]
>> database.pool_timeout          = 10 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1949
>>
>> 2013-11-11 12:14:45.171 22963 DEBUG neutron.service [-]
>> database.retry_interval        = 10 log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1949
>>
>> 2013-11-11 12:14:45.171 22963 DEBUG neutron.service [-]
>> database.slave_connection      =  log_opt_values
>> /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1949
>>
>> 2013-11-11 12:14:45.171 22963 DEBUG neutron.service [-]
>> ********************************************************************************
>> log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1951
>>
>> 2013-11-11 12:14:45.172 22963 INFO neutron.common.config [-] Config paste
>> file: /etc/neutron/api-paste.ini
>>
>> 2013-11-11 12:14:45.199 22963 DEBUG neutron.openstack.common.lockutils
>> [-] Got semaphore "manager" for method "_create_instance"... inner
>> /usr/lib/python2.7/dist-packages/neutron/openstack/common/lockutils.py:191
>>
>> 2013-11-11 12:14:45.199 22963 DEBUG neutron.manager [-] Plugin location:
>> neutron.plugins.ml2.plugin.Ml2Plugin __init__
>> /usr/lib/python2.7/dist-packages/neutron/manager.py:111
>>
>> 2013-11-11 12:14:45.200 22963 INFO neutron.manager [-] Loading Plugin:
>> neutron.plugins.ml2.plugin.Ml2Plugin
>>
>> 2013-11-11 12:14:45.288 22963 INFO neutron.plugins.ml2.managers [-]
>> Configured type driver names: ['vlan']
>>
>> 2013-11-11 12:14:45.315 22963 DEBUG stevedore.extension [-] found
>> extension EntryPoint.parse('flat =
>> neutron.plugins.ml2.drivers.type_flat:FlatTypeDriver') _load_plugins
>> /usr/lib/python2.7/dist-packages/stevedore/extension.py:84
>>
>> 2013-11-11 12:14:45.315 22963 DEBUG stevedore.extension [-] found
>> extension EntryPoint.parse('vlan =
>> neutron.plugins.ml2.drivers.type_vlan:VlanTypeDriver') _load_plugins
>> /usr/lib/python2.7/dist-packages/stevedore/extension.py:84
>>
>> 2013-11-11 12:14:45.327 22963 INFO neutron.plugins.ml2.drivers.type_vlan
>> [-] Network VLAN ranges: {}
>>
>> 2013-11-11 12:14:45.328 22963 DEBUG stevedore.extension [-] found
>> extension EntryPoint.parse('local =
>> neutron.plugins.ml2.drivers.type_local:LocalTypeDriver') _load_plugins
>> /usr/lib/python2.7/dist-packages/stevedore/extension.py:84
>>
>> 2013-11-11 12:14:45.328 22963 DEBUG stevedore.extension [-] found
>> extension EntryPoint.parse('gre =
>> neutron.plugins.ml2.drivers.type_gre:GreTypeDriver') _load_plugins
>> /usr/lib/python2.7/dist-packages/stevedore/extension.py:84
>>
>> 2013-11-11 12:14:45.328 22963 DEBUG stevedore.extension [-] found
>> extension EntryPoint.parse('vxlan =
>> neutron.plugins.ml2.drivers.type_vxlan:VxlanTypeDriver') _load_plugins
>> /usr/lib/python2.7/dist-packages/stevedore/extension.py:84
>>
>> 2013-11-11 12:14:45.329 22963 INFO neutron.plugins.ml2.managers [-]
>> Loaded type driver names: ['vlan']
>>
>> 2013-11-11 12:14:45.329 22963 INFO neutron.plugins.ml2.managers [-]
>> Registered types: ['vlan']
>>
>> *2013-11-11 12:14:45.330 22963 ERROR neutron.plugins.ml2.managers [-] No
>> type driver for tenant network_type: local. Service terminated!*
>>
>> ^C
>>
>>
>>
>>  While configuring ML2 Plugin in neutron, I have the following line in
>> neutron.conf
>>
>>
>>
>> [ml2]
>>
>> type_drivers=vlan
>>
>> mechanism_drivers=openvswitch
>>
>> tenant_network_types = local
>>
>>
>>
>> Is there any thing I’m missing for Configuring ML2 Plugin with
>> OpenVSwitch in Neutron (Havana).
>>
>>
>>
>> Kindly help me resolve the issue.
>>
>>
>>
>>
>>
>> --
>>
>> Trinath Somanchi - B39208
>>
>> trinath.somanchi at freescale.com | extn: 4048
>>
>>
>>
>> *From:* Eugene Nikanorov [mailto:enikanorov at mirantis.com]
>> *Sent:* Tuesday, November 05, 2013 10:30 PM
>> *To:* openstack at nemebean.com; OpenStack Development Mailing List (not
>> for usage questions)
>> *Subject:* Re: [openstack-dev] [Openstack][Neutron] Server restart
>> failes when configured with ML2 (BugID: 1210236)
>>
>>
>>
>> That kind of error indicates that some ml2 driver or ml2 plugin failed to
>> load.
>>
>> You need to inspect neutron server log prior to the trace you are
>> posting, it should contain specific about the issue.
>>
>>
>>
>> Thanks,
>>
>> Eugene.
>>
>>
>>
>>
>>
>> On Tue, Nov 5, 2013 at 8:31 PM, Ben Nemec <openstack at nemebean.com> wrote:
>>
>> Please don't cross-post between openstack and openstack-dev.  Based on
>> the bug you linked, this sounds like a probable configuration issue, so
>> openstack would be the place for this.
>>
>> Thanks.
>>
>> -Ben
>>
>>
>>
>> On 2013-11-05 04:06, Trinath Somanchi wrote:
>>
>>   Hi –
>>
>>
>>
>> I configured Neutron with ML2 configuration. When I restart the service,
>> the Neutron server fails with the following error.
>>
>>
>>
>> 2013-11-05 15:37:08.572 14048 INFO neutron.common.config [-] Config paste
>> file: /etc/neutron/api-paste.ini
>>
>> 2013-11-05 15:37:08.574 14048 ERROR neutron.common.config [-] Unable to
>> load quantum from configuration file /etc/neutron/api-paste.ini.
>>
>> 2013-11-05 15:37:08.574 14048 TRACE neutron.common.config Traceback (most
>> recent call last):
>>
>> 2013-11-05 15:37:08.574 14048 TRACE neutron.common.config   File
>> "/usr/lib/python2.7/dist-packages/neutron/common/config.py", line 144, in
>> load_paste_app
>>
>> 2013-11-05 15:37:08.574 14048 TRACE neutron.common.config     app =
>> deploy.loadapp("config:%s" % config_path, name=app_name)
>>
>> 2013-11-05 15:37:08.574 14048 TRACE neutron.common.config   File
>> "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in
>> loadapp
>>
>> 2013-11-05 15:37:08.574 14048 TRACE neutron.common.config     return
>> loadobj(APP, uri, name=name, **kw)
>>
>> 2013-11-05 15:37:08.574 14048 TRACE neutron.common.config   File
>> "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 271, in
>> loadobj
>>
>> 2013-11-05 15:37:08.574 14048 TRACE neutron.common.config
>> global_conf=global_conf)
>>
>> 2013-11-05 15:37:08.574 14048 TRACE neutron.common.config   File
>> "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 296, in
>> loadcontext
>>
>> 2013-11-05 15:37:08.574 14048 TRACE neutron.common.config
>> global_conf=global_conf)
>>
>> 2013-11-05 15:37:08.574 14048 TRACE neutron.common.config   File
>> "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 320, in
>> _loadconfig
>>
>> 2013-11-05 15:37:08.574 14048 TRACE neutron.common.config     return
>> loader.get_context(object_type, name, global_conf)
>>
>> 2013-11-05 15:37:08.574 14048 TRACE neutron.common.config   File
>> "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 408, in
>> get_context
>>
>> 2013-11-05 15:37:08.574 14048 TRACE neutron.common.config
>> object_type, name=name)
>>
>> 2013-11-05 15:37:08.574 14048 TRACE neutron.common.config   File
>> "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 587, in
>> find_config_section
>>
>> 2013-11-05 15:37:08.574 14048 TRACE neutron.common.config
>> self.filename))
>>
>> 2013-11-05 15:37:08.574 14048 TRACE neutron.common.config LookupError: No
>> section 'quantum' (prefixed by 'app' or 'application' or 'composite' or
>> 'composit' or 'pipeline' or 'filter-app') found in config
>> /etc/neutron/api-paste.ini
>>
>> 2013-11-05 15:37:08.574 14048 TRACE neutron.common.config
>>
>> 2013-11-05 15:37:08.575 14048 ERROR neutron.service [-] Unrecoverable
>> error: please check log for details.
>>
>> 2013-11-05 15:37:08.575 14048 TRACE neutron.service Traceback (most
>> recent call last):
>>
>> 2013-11-05 15:37:08.575 14048 TRACE neutron.service   File
>> "/usr/lib/python2.7/dist-packages/neutron/service.py", line 100, in
>> serve_wsgi
>>
>> 2013-11-05 15:37:08.575 14048 TRACE neutron.service     service.start()
>>
>> 2013-11-05 15:37:08.575 14048 TRACE neutron.service   File
>> "/usr/lib/python2.7/dist-packages/neutron/service.py", line 65, in start
>>
>> 2013-11-05 15:37:08.575 14048 TRACE neutron.service     self.wsgi_app =
>> _run_wsgi(self.app_name)
>>
>> 2013-11-05 15:37:08.575 14048 TRACE neutron.service   File
>> "/usr/lib/python2.7/dist-packages/neutron/service.py", line 109, in
>> _run_wsgi
>>
>> 2013-11-05 15:37:08.575 14048 TRACE neutron.service     app =
>> config.load_paste_app(app_name)
>>
>> 2013-11-05 15:37:08.575 14048 TRACE neutron.service   File
>> "/usr/lib/python2.7/dist-packages/neutron/common/config.py", line 151, in
>> load_paste_app
>>
>> 2013-11-05 15:37:08.575 14048 TRACE neutron.service     raise
>> RuntimeError(msg)
>>
>> 2013-11-05 15:37:08.575 14048 TRACE neutron.service RuntimeError: Unable
>> to load quantum from configuration file /etc/neutron/api-paste.ini.
>>
>> 2013-11-05 15:37:08.575 14048 TRACE neutron.service
>>
>>
>>
>>
>>
>> From Launchpad bugs, I noticed this is a Bug, with ID:
>> https://bugs.launchpad.net/neutron/+bug/1210236
>>
>>
>>
>> Kindly help me how to fix this issue.
>>
>>
>>
>> Thanking you,
>>
>>
>>
>> --
>>
>> Trinath Somanchi - B39208
>>
>> trinath.somanchi at freescale.com | extn: 4048
>>
>>
>>
>>
>>
>> _______________________________________________
>>
>> OpenStack-dev mailing list
>>
>> OpenStack-dev at lists.openstack.org
>>
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>>
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>


-- 
*Regards,*

*Romil *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131114/4fe534cd/attachment.html>


More information about the Openstack mailing list