Re: [openstack-dev] ml2 and vxlan configurations, neutron-server fails to start

2013-12-10 Thread Robert Kukura
On 11/28/2013 07:01 AM, Gopi Krishna B wrote:
> 
> Hi
> I am configuring Havana on fedora 19. Observing the below errors in case
> of neutron. 
> Please help me resolve this issue.
>  copied only few lines from the server.log, in case full log is
> required, let me know.

You may have resolved this by now, or given up, but a few comments (in
addition to the sqlalchemy version issues others have addressed).

> 
> /etc/neutron/plugins/ml2/ml2_conf.ini
> type_drivers = vxlan,local
> tenant_network_types = vxlan
> mechanism_drivers = neutron.plugins.ml2.drivers.OpenvswitchMechanismDriver

The type_drivers and mechanism_drivers lists are entry point names
rather than class names, so the above line should be:

mechanism_drivers = openvswitch

> network_vlan_ranges = physnet1:1000:2999

You don't need to set the above unless you've enabled the vlan type
driver, but it won't hurt anything. If used, it needs to be in the
[ml2_type_vlan] section.

> vni_ranges = 5000:6000
> vxlan_group = 239.10.10.1

The two lines above need to be in the [ml2_type_vxlan] section.

-Bob

> 
> 
> ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver
> 
> ERROR stevedore.extension [-] Could not load 'local': (SQLAlchemy 0.8.3
> (/usr/lib64/python2.7/site-packages),
> Requirement.parse('SQLAlchemy>=0.7.8,<=0.7.99'))
>  ERROR stevedore.extension [-] (SQLAlchemy 0.8.3
> (/usr/lib64/python2.7/site-packages),
> Requirement.parse('SQLAlchemy>=0.7.8,<=0.7.99'))
> 
> ERROR stevedore.extension [-] Could not load 'vxlan': (SQLAlchemy 0.8.3
> (/usr/lib64/python2.7/site-packages),
> Requirement.parse('SQLAlchemy>=0.7.8,<=0.7.99'))
> ERROR stevedore.extension [-] (SQLAlchemy 0.8.3
> (/usr/lib64/python2.7/site-packages),
> Requirement.parse('SQLAlchemy>=0.7.8,<=0.7.99'))
> TRACE stevedore.extension VersionConflict: (SQLAlchemy 0.8.3
> (/usr/lib64/python2.7/site-packages),
> Requirement.parse('SQLAlchemy>=0.7.8,<=0.7.99'))
> 
> ERROR neutron.common.config [-] Unable to load neutron from
> configuration file /etc/neutron/api-paste.ini.
> 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
> 
> 
>  ERROR neutron.service [-] In serve_wsgi()
> TRACE neutron.service RuntimeError: Unable to load quantum from
> configuration file /etc/neutron/api-paste.ini.
> 
> Regards
> Gopi Krishna
> 
> 
> 
> 
> 
> 
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] ml2 and vxlan configurations, neutron-server fails to start

2013-11-29 Thread Gopi Krishna B
Hi
Thankyou for the info, I downgraded sqlalchemy accordingly, but there
were lot of other dependencies I had to take care (as below). The
error which still continues to persist in my environment is :
RuntimeError: Unable to load quantum from configuration file
/etc/neutron/api-paste.ini.

are there any other dependencies to be taken care to resolve this error?

pip uninstall sqlalchemy (uninstalled -0.8.3)
pip install sqlalchemy==0.7.9

pip install jsonrpclib

pip uninstall eventlet  (uninstalled -0.12.0)
pip install eventlet   (installed -0.14.0)

pip install pyudev

for the error Requirement.parse('amqp>=1.0.10,<1.1.0'))
pip uninstall amqp
pip install amqp  -- but its installing 1.3.3
so, download the source code of 1.0.10
(https://pypi.python.org/pypi/amqp/1.0.10)
python setup.py build
python setup.py install


Regards
Gopi Krishna

Yongsheng Gong gongysh at unitedstack.com

VersionConflict: (SQLAlchemy 0.8.3
(/usr/lib64/python2.7/site-packages),
Requirement.parse('SQLAlchemy>=0.7.8,<=0.7.99'))

it seems your SQLAlchemy is newer than required. so

pip uninstall sqlalchemy
and then install older one:
sudo pip install sqlalchemy==0.7.9

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] ml2 and vxlan configurations, neutron-server fails to start

2013-11-29 Thread Gopi Krishna B
Hi Trinath
Please find the server.log and neutron.conf
 * **
server.log
-
2013-11-29 11:21:45.276 13505 INFO neutron.common.config [-] Logging enabled!
2013-11-29 11:21:45.277 13505 WARNING neutron.common.legacy [-] Old
class module path in use.  Please change
'quantum.openstack.common.rpc.impl_qpid' to
'neutron.openstack.common.rpc.impl_qpid'.
2013-11-29 11:21:45.277 13505 ERROR neutron.common.legacy [-] Skipping
unknown group key: firewall_driver
2013-11-29 11:21:45.277 13505 DEBUG neutron.service [-]

log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1890
2013-11-29 11:21:45.277 13505 DEBUG neutron.service [-] Configuration
options gathered from: log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1891
2013-11-29 11:21:45.278 13505 DEBUG neutron.service [-] command line
args: ['--config-file', '/usr/share/neutron/neutron-dist.conf',
'--config-file', '/etc/neutron/neutron.conf', '--config-file',
'/etc/neutron/plugin.ini', '--log-file',
'/var/log/neutron/server.log'] log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1892
2013-11-29 11:21:45.278 13505 DEBUG neutron.service [-] config files:
['/usr/share/neutron/neutron-dist.conf', '/etc/neutron/neutron.conf',
'/etc/neutron/plugin.ini'] log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1893
2013-11-29 11:21:45.278 13505 DEBUG neutron.service [-]

log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1894
2013-11-29 11:21:45.278 13505 DEBUG neutron.service [-] allow_bulk
= True log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1903
2013-11-29 11:21:45.278 13505 DEBUG neutron.service [-]
allow_overlapping_ips  = True log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1903
2013-11-29 11:21:45.279 13505 DEBUG neutron.service [-]
allow_pagination   = False log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1903
2013-11-29 11:21:45.279 13505 DEBUG neutron.service [-] allow_sorting
= False log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1903
2013-11-29 11:21:45.279 13505 DEBUG neutron.service [-]
allowed_rpc_exception_modules  =
['neutron.openstack.common.exception', 'nova.exception',
'cinder.exception', 'exceptions'] log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1903
2013-11-29 11:21:45.279 13505 DEBUG neutron.service [-]
api_extensions_path=  log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1903
2013-11-29 11:21:45.280 13505 DEBUG neutron.service [-]
api_paste_config   = /etc/neutron/api-paste.ini
log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1903
2013-11-29 11:21:45.280 13505 DEBUG neutron.service [-] auth_strategy
= keystone log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1903
2013-11-29 11:21:45.280 13505 DEBUG neutron.service [-] backdoor_port
= None log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1903
2013-11-29 11:21:45.280 13505 DEBUG neutron.service [-] backlog
= 4096 log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1903
2013-11-29 11:21:45.280 13505 DEBUG neutron.service [-] base_mac
= fa:16:3e:00:00:00 log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1903
2013-11-29 11:21:45.281 13505 DEBUG neutron.service [-] bind_host
= 0.0.0.0 log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1903
2013-11-29 11:21:45.281 13505 DEBUG neutron.service [-] bind_port
= 9696 log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1903
2013-11-29 11:21:45.281 13505 DEBUG neutron.service [-] config_dir
= None log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1903
2013-11-29 11:21:45.281 13505 DEBUG neutron.service [-] config_file
= ['/usr/share/neutron/neutron-dist.conf',
'/etc/neutron/neutron.conf', '/etc/neutron/plugin.ini'] log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1903
2013-11-29 11:21:45.282 13505 DEBUG neutron.service [-]
control_exchange   = rabbit log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1903
2013-11-29 11:21:45.282 13505 DEBUG neutron.service [-] core_plugin
= neutron.plugins.ml2.plugin.Ml2Plugin log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1903
2013-11-29 11:21:45.282 13505 DEBUG neutron.service [-] debug
= True log_opt_values
/usr/lib/python2.7/site-packages/oslo/config/cfg.py:1903
2013-11-29 11:21:45.282 13505 DEBUG neutron.service [-]
default_log_levels = ['amqplib=WARN', 'sqlalchemy

Re: [openstack-dev] ml2 and vxlan configurations, neutron-server fails to start

2013-11-28 Thread Trinath Somanchi



Can u post the contents of neutron.conf file too ?

Also, the complete neutron log..

Check the sqlalchemy version compatibility

--
Trinath Somanchi - B39208
trinath.soman...@freescale.com | extn: 4048

From: Gopi Krishna B [mailto:gopi97...@gmail.com]
Sent: Thursday, November 28, 2013 5:32 PM
To: openstack-dev@lists.openstack.org
Subject: [openstack-dev] ml2 and vxlan configurations, neutron-server fails to 
start


Hi
I am configuring Havana on fedora 19. Observing the below errors in case of 
neutron.
Please help me resolve this issue.
 copied only few lines from the server.log, in case full log is 
required, let me know.

/etc/neutron/plugins/ml2/ml2_conf.ini
type_drivers = vxlan,local
tenant_network_types = vxlan
mechanism_drivers = neutron.plugins.ml2.drivers.OpenvswitchMechanismDriver
network_vlan_ranges = physnet1:1000:2999
vni_ranges = 5000:6000
vxlan_group = 239.10.10.1


ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver

ERROR stevedore.extension [-] Could not load 'local': (SQLAlchemy 0.8.3 
(/usr/lib64/python2.7/site-packages), 
Requirement.parse('SQLAlchemy>=0.7.8,<=0.7.99'))
 ERROR stevedore.extension [-] (SQLAlchemy 0.8.3 
(/usr/lib64/python2.7/site-packages), 
Requirement.parse('SQLAlchemy>=0.7.8,<=0.7.99'))

ERROR stevedore.extension [-] Could not load 'vxlan': (SQLAlchemy 0.8.3 
(/usr/lib64/python2.7/site-packages), 
Requirement.parse('SQLAlchemy>=0.7.8,<=0.7.99'))
ERROR stevedore.extension [-] (SQLAlchemy 0.8.3 
(/usr/lib64/python2.7/site-packages), 
Requirement.parse('SQLAlchemy>=0.7.8,<=0.7.99'))
TRACE stevedore.extension VersionConflict: (SQLAlchemy 0.8.3 
(/usr/lib64/python2.7/site-packages), 
Requirement.parse('SQLAlchemy>=0.7.8,<=0.7.99'))

ERROR neutron.common.config [-] Unable to load neutron from configuration file 
/etc/neutron/api-paste.ini.
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


 ERROR neutron.service [-] In serve_wsgi()
TRACE neutron.service RuntimeError: Unable to load quantum from configuration 
file /etc/neutron/api-paste.ini.

Regards
Gopi Krishna



___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] ml2 and vxlan configurations, neutron-server fails to start

2013-11-28 Thread Gopi Krishna B
Hi
I am configuring Havana on fedora 19. Observing the below errors in case of
neutron.
Please help me resolve this issue.
 copied only few lines from the server.log, in case full log is
required, let me know.

/etc/neutron/plugins/ml2/ml2_conf.ini
type_drivers = vxlan,local
tenant_network_types = vxlan
mechanism_drivers = neutron.plugins.ml2.drivers.OpenvswitchMechanismDriver
network_vlan_ranges = physnet1:1000:2999
vni_ranges = 5000:6000
vxlan_group = 239.10.10.1


ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver

ERROR stevedore.extension [-] Could not load 'local': (SQLAlchemy 0.8.3
(/usr/lib64/python2.7/site-packages),
Requirement.parse('SQLAlchemy>=0.7.8,<=0.7.99'))
 ERROR stevedore.extension [-] (SQLAlchemy 0.8.3
(/usr/lib64/python2.7/site-packages),
Requirement.parse('SQLAlchemy>=0.7.8,<=0.7.99'))

ERROR stevedore.extension [-] Could not load 'vxlan': (SQLAlchemy 0.8.3
(/usr/lib64/python2.7/site-packages),
Requirement.parse('SQLAlchemy>=0.7.8,<=0.7.99'))
ERROR stevedore.extension [-] (SQLAlchemy 0.8.3
(/usr/lib64/python2.7/site-packages),
Requirement.parse('SQLAlchemy>=0.7.8,<=0.7.99'))
TRACE stevedore.extension VersionConflict: (SQLAlchemy 0.8.3
(/usr/lib64/python2.7/site-packages),
Requirement.parse('SQLAlchemy>=0.7.8,<=0.7.99'))

ERROR neutron.common.config [-] Unable to load neutron from configuration
file /etc/neutron/api-paste.ini.
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


 ERROR neutron.service [-] In serve_wsgi()
TRACE neutron.service RuntimeError: Unable to load quantum from
configuration file /etc/neutron/api-paste.ini.

Regards
Gopi Krishna
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev