Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ERROR stevedore.extension Could not load 'cumulus':

Hi,

Hope someone can help resolve this issue.

I am using ocata openstack all-in-one box running on ubuntu 16.0.4 server. trying to integrate cumulus ML2 Plugin for VLAN creation via horizon dashboard and getting error..

Error: Failed to create network public on GUI. After i manually create a network using VLAN option

on checking the /var/log/neutron/neutron-server.log

I see these error messages. 2018-03-22 16:22:31.234 19635 ERROR neutron.service [-] Unrecoverable error: please check log for details. 2018-03-22 16:22:31.234 19635 ERROR neutron.service Traceback (most recent call last): 2018-03-22 16:22:31.234 19635 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 107, in serve_wsgi 2018-03-22 16:22:31.234 19635 ERROR neutron.service service.start() 2018-03-22 16:22:31.234 19635 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 80, in start 2018-03-22 16:22:31.234 19635 ERROR neutron.service self.wsgi_app = _run_wsgi(self.app_name) 2018-03-22 16:22:31.234 19635 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 238, in _run_wsgi 2018-03-22 16:22:31.234 19635 ERROR neutron.service return run_wsgi_app(app) 2018-03-22 16:22:31.234 19635 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 244, in run_wsgi_app 2018-03-22 16:22:31.234 19635 ERROR neutron.service workers=_get_api_workers()) 2018-03-22 16:22:31.234 19635 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/wsgi.py", line 186, in start 2018-03-22 16:22:31.234 19635 ERROR neutron.service backlog=backlog) 2018-03-22 16:22:31.234 19635 ERROR neutron.service RuntimeError: Could not bind to 0.0.0.0:9696 after trying for 30 seconds 2018-03-22 16:22:31.234 19635 ERROR neutron.service 2018-03-22 16:22:32.566 19744 INFO neutron.common.config [-] Logging enabled! 2018-03-22 16:22:32.567 19744 INFO neutron.common.config [-] /usr/bin/neutron-server version 8.4.0 2018-03-22 16:22:32.568 19744 INFO neutron.common.config [-] Logging enabled! 2018-03-22 16:22:32.569 19744 INFO neutron.common.config [-] /usr/bin/neutron-server version 8.4.0 2018-03-22 16:22:32.578 19744 INFO neutron.manager [-] Loading core plugin: ml2 2018-03-22 16:22:32.771 19744 INFO neutron.plugins.ml2.managers [-] Configured type driver names: ['flat', 'vlan', 'vxlan'] 2018-03-22 16:22:32.774 19744 INFO neutron.plugins.ml2.drivers.type_flat [-] Allowable flat physical_network names: ['plublic'] 2018-03-22 16:22:32.777 19744 INFO neutron.plugins.ml2.drivers.type_vlan [-] Network VLAN ranges: {'vlan': [(1, 500)]} 2018-03-22 16:22:32.781 19744 INFO neutron.plugins.ml2.managers [-] Loaded type driver names: ['flat', 'vlan', 'vxlan'] 2018-03-22 16:22:32.782 19744 INFO neutron.plugins.ml2.managers [-] Registered types: ['flat', 'vlan', 'vxlan'] 2018-03-22 16:22:32.783 19744 INFO neutron.plugins.ml2.managers [-] Tenant network_types: ['vlan', 'vxlan'] 2018-03-22 16:22:32.783 19744 INFO neutron.plugins.ml2.managers [-] Configured extension driver names: [] 2018-03-22 16:22:32.783 19744 INFO neutron.plugins.ml2.managers [-] Tenant network_types: ['vlan', 'vxlan'] 2018-03-22 16:22:32.783 19744 INFO neutron.plugins.ml2.managers [-] Configured extension driver names: [] 2018-03-22 16:22:32.784 19744 INFO neutron.plugins.ml2.managers [-] Loaded extension driver names: [] 2018-03-22 16:22:32.785 19744 INFO neutron.plugins.ml2.managers [-] Registered extension drivers: [] 2018-03-22 16:22:32.786 19744 INFO neutron.plugins.ml2.managers [-] Configured mechanism driver names: ['linuxbridge', 'cumulus'] 2018-03-22 16:22:32.788 19744 ERROR stevedore.extension [-] Could not load 'cumulus': No module named db 2018-03-22 16:22:32.790 19744 WARNING stevedore.named [-] Could not load cumulus 2018-03-22 16:22:32.790 19744 INFO neutron.plugins.ml2.managers [-] Loaded mechanism driver names: ['linuxbridge'] 2018-03-22 16:22:32.791 19744 INFO neutron.plugins.ml2.managers [-] Registered mechanism drivers: ['linuxbridge'] 2018-03-22 16:22:32.841 19744 INFO neutron.plugins.ml2.managers [-] Initializing driver for type 'flat' 2018-03-22 16:22:32.841 19744 INFO neutron.plugins.ml2.drivers.type_flat [-] ML2 FlatTypeDriver initialization complete 2018-03-22 16:22:32.842 19744 INFO neutron.plugins.ml2.managers [-] Initializing driver for type 'vlan' 2018-03-22 16:22:32.941 19744 INFO neutron.plugins.ml2.drivers.type_vlan [-] VlanTypeDriver initialization complete 2018-03-22 16:22:32.942 19744 INFO neutron.plugins.ml2.managers [-] Initializing driver for type 'vxlan' 2018-03-22 16:22:32.944 19744 INFO neutron.plugins.ml2.drivers.type_tunnel [-] vxlan ID ranges: [(1, 1000)] 2018-03-22 16:22:32.960 19744 INFO neutron.plugins.ml2.managers [-] Initializing mechanism driver 'linuxbridge' 2018-03-22 16:22:32.962 19744 INFO neutron.plugins.ml2.plugin [-] Modular L2 Plugin initialization complete

2018-03-22 16:22:33.024 19744 WARNING neutron.api.extensions [-] Extension metering not supported by any of loaded plugins 2018-03-22 16:22:33.024 19744 INFO neutron.api.extensions [-] Loaded extension: multi-provider 2018-03-22 16:22:33.025 19744 INFO neutron.api.extensions [-] Loaded extension: net-mtu 2018-03-22 16:22:33.026 19744 INFO neutron.api.extensions [-] Loaded extension: network_availability_zone 2018-03-22 16:22:33.027 19744 INFO neutron.api.extensions [-] Loaded extension: network-ip-availability 2018-03-22 16:22:33.028 19744 INFO neutron.api.extensions [-] Loaded extension: binding 2018-03-22 16:22:33.029 19744 WARNING neutron.api.extensions [-] Extension port-security not supported by any of loaded plugins 2018-03-22 16:22:33.029 19744 INFO neutron.api.extensions [-] Loaded extension: provider 2018-03-22 16:22:33.031 19744 WARNING neutron.api.extensions [-] Extension qos not supported by any of loaded plugins 2018-03-22 16:22:33.032 19744 INFO neutron.api.extensions [-] Loaded extension: quotas 2018-03-22 16:22:33.033 19744 INFO neutron.api.extensions [-] Loaded extension: rbac-policies 2018-03-22 16:22:33.033 19744 WARNING neutron.api.extensions [-] Extension router_availability_zone not supported by any of loaded plugins 2018-03-22 16:22:33.034 19744 WARNING neutron.api.extensions [-] Extension router-service-type not supported by any of loaded plugins 2018-03-22 16:22:33.036 19744 INFO neutron.api.extensions [-] Loaded extension: security-group 2018-03-22 16:22:33.038 19744 WARNING neutron.api.extensions [-] Extension service-type not supported by any of loaded plugins 2018-03-22 16:22:33.038 19744 INFO neutron.api.extensions [-] Loaded extension: standard-attr-description 2018-03-22 16:22:33.039 19744 INFO neutron.api.extensions [-] Loaded extension: subnet_allocation 2018-03-22 16:22:33.041 19744 INFO neutron.api.extensions [-] Loaded extension: tag 2018-03-22 16:22:33.042 19744 INFO neutron.api.extensions [-] Loaded extension: timestamp_core 2018-03-22 16:22:33.042 19744 WARNING neutron.api.extensions [-] Extension vlan-transparent not supported by any of loaded plugins 2018-03-22 16:22:33.043 19744 ERROR neutron.api.extensions [-] Unable to process extensions (auto-allocated-topology) because the configured plugins do not satisfy their requirements. Some features will not work as expected.

my connectivity from openstack VM to cumulus switch is fine .. means can ping from each other.

on cumulus switch /etc/restapi.conf

I have already defined the IP address of openstack..

[ML2]

local_bind = 10.40.10.122

service_node = 10.40.10.1

local_bind=172.31.56.204 service_node=172.31.62.18

openstack side

/etc/neutron/plugins/ml2/ml2_conf_cumulus.ini

Defines configuration options for Cumulus ML2 mechanism driver

[ml2_cumulus]

switches = 172.31.56.204 sync_time = 10 new_bridge = True spf_enable = True

cat /etc/neutron/plugins/ml2/ml2_conf.ini

[ml2] type_drivers = flat,vlan,vxlan tenant_network_types = vlan,vxlan mechanism_drivers = linuxbridge,cumulus

[ml2_type_vlan] network_vlan_ranges = vlan:1:500

[ml2_type_flat] flat_networks = plublic

was physnet1

[ml2_type_vxlan] vni_ranges = 1:1000 vxlan_group = 239.1.1.1

[securitygroup] firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver

[linux_bridge] physical_interface_mappings = public:ens4