Hi, I am configuring SR-IOV with neutron on juno release as given here: https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking
After making changes to /etc/neutron/plugins/ml2/ml2_conf.ini and /etc/neutron/plugins/ml2/ml2_conf_sriov.ini when I try to run following command as given in neutron-server section neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini --config-file /etc/neutron/plugins/ml2/ml2_conf_sriov.ini It faills with following error: neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini --config-file /etc/neutron/plugins/ml2/ml2_conf_sriov.ini 2014-12-11 22:42:20.695 16484 INFO neutron.common.config [-] Logging enabled! 2014-12-11 22:42:20.705 16484 INFO neutron.common.config [-] Config paste file: /etc/neutron/api-paste.ini 2014-12-11 22:42:20.854 16484 INFO neutron.manager [-] Loading core plugin: ml2 2014-12-11 22:42:21.021 16484 INFO neutron.plugins.ml2.managers [-] Configured type driver names: ['flat', 'gre', 'vlan'] 2014-12-11 22:42:21.026 16484 INFO neutron.plugins.ml2.drivers.type_flat [-] Allowable flat physical_network names: [] 2014-12-11 22:42:21.032 16484 INFO neutron.plugins.ml2.drivers.type_vlan [-] Network VLAN ranges: {'physnet1': [(2, 100)]} 2014-12-11 22:42:21.039 16484 INFO neutron.plugins.ml2.managers [-] Loaded type driver names: ['flat', 'vlan', 'gre'] 2014-12-11 22:42:21.040 16484 INFO neutron.plugins.ml2.managers [-] Registered types: ['flat', 'vlan', 'gre'] 2014-12-11 22:42:21.041 16484 INFO neutron.plugins.ml2.managers [-] Tenant network_types: ['gre', 'vlan'] 2014-12-11 22:42:21.042 16484 INFO neutron.plugins.ml2.managers [-] Configured extension driver names: [] 2014-12-11 22:42:21.043 16484 INFO neutron.plugins.ml2.managers [-] Loaded extension driver names: [] 2014-12-11 22:42:21.043 16484 INFO neutron.plugins.ml2.managers [-] Registered extension drivers: [] 2014-12-11 22:42:21.044 16484 INFO neutron.plugins.ml2.managers [-] Configured mechanism driver names: ['openvswitch', 'sriovnicswitch'] 2014-12-11 22:42:21.048 16484 INFO neutron.plugins.ml2.managers [-] Loaded mechanism driver names: ['openvswitch', 'sriovnicswitch'] 2014-12-11 22:42:21.048 16484 INFO neutron.plugins.ml2.managers [-] Registered mechanism drivers: ['openvswitch', 'sriovnicswitch'] 2014-12-11 22:42:21.096 16484 INFO neutron.plugins.ml2.managers [-] Initializing driver for type 'flat' 2014-12-11 22:42:21.097 16484 INFO neutron.plugins.ml2.drivers.type_flat [-] ML2 FlatTypeDriver initialization complete 2014-12-11 22:42:21.098 16484 INFO neutron.plugins.ml2.managers [-] Initializing driver for type 'vlan' 2014-12-11 22:42:21.245 16484 INFO neutron.plugins.ml2.drivers.type_vlan [-] VlanTypeDriver initialization complete 2014-12-11 22:42:21.245 16484 INFO neutron.plugins.ml2.managers [-] Initializing driver for type 'gre' 2014-12-11 22:42:21.246 16484 INFO neutron.plugins.ml2.drivers.type_tunnel [-] gre ID ranges: [(1, 1000)] 2014-12-11 22:42:21.293 16484 INFO neutron.plugins.ml2.managers [-] Initializing mechanism driver 'openvswitch' 2014-12-11 22:42:21.294 16484 INFO neutron.plugins.ml2.managers [-] Initializing mechanism driver 'sriovnicswitch' 2014-12-11 22:42:21.296 16484 INFO neutron.plugins.ml2.plugin [-] Modular L2 Plugin initialization complete 2014-12-11 22:42:21.297 16484 INFO neutron.manager [-] Loading Plugin: router 2014-12-11 22:42:21.360 16484 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on controller:5672 2014-12-11 22:42:21.377 16484 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672 2014-12-11 22:42:21.386 16484 INFO neutron.db.l3_agentschedulers_db [-] Skipping period L3 agent status check because automatic router rescheduling is disabled. 2014-12-11 22:42:21.387 16484 INFO neutron.api.extensions [-] Initializing extension manager. 2014-12-11 22:42:21.390 16484 INFO neutron.api.extensions [-] Loaded extension: agent 2014-12-11 22:42:21.393 16484 INFO neutron.api.extensions [-] Loaded extension: allowed-address-pairs 2014-12-11 22:42:21.396 16484 INFO neutron.api.extensions [-] Loaded extension: dhcp_agent_scheduler 2014-12-11 22:42:21.398 16484 INFO neutron.api.extensions [-] Loaded extension: dvr 2014-12-11 22:42:21.401 16484 INFO neutron.api.extensions [-] Loaded extension: external-net 2014-12-11 22:42:21.403 16484 INFO neutron.api.extensions [-] Loaded extension: extra_dhcp_opt 2014-12-11 22:42:21.405 16484 INFO neutron.api.extensions [-] Loaded extension: extraroute 2014-12-11 22:42:21.416 16484 WARNING neutron.api.extensions [-] Extension fwaas not supported by any of loaded plugins 2014-12-11 22:42:21.419 16484 WARNING neutron.api.extensions [-] Extension flavor not supported by any of loaded plugins 2014-12-11 22:42:21.423 16484 INFO neutron.api.extensions [-] Loaded extension: router 2014-12-11 22:42:21.425 16484 INFO neutron.api.extensions [-] Loaded extension: ext-gw-mode 2014-12-11 22:42:21.428 16484 INFO neutron.api.extensions [-] Loaded extension: l3-ha 2014-12-11 22:42:21.432 16484 INFO neutron.api.extensions [-] Loaded extension: l3_agent_scheduler 2014-12-11 22:42:21.439 16484 WARNING neutron.api.extensions [-] Extension lbaas_agent_scheduler not supported by any of loaded plugins 2014-12-11 22:42:21.445 16484 WARNING neutron.api.extensions [-] Extension lbaas not supported by any of loaded plugins 2014-12-11 22:42:21.448 16484 WARNING neutron.api.extensions [-] Extension metering not supported by any of loaded plugins 2014-12-11 22:42:21.453 16484 INFO neutron.api.extensions [-] Loaded extension: multi-provider 2014-12-11 22:42:21.455 16484 INFO neutron.api.extensions [-] Loaded extension: binding 2014-12-11 22:42:21.458 16484 WARNING neutron.api.extensions [-] Extension port-security not supported by any of loaded plugins 2014-12-11 22:42:21.460 16484 INFO neutron.api.extensions [-] Loaded extension: provider 2014-12-11 22:42:21.462 16484 INFO neutron.api.extensions [-] Loaded extension: quotas 2014-12-11 22:42:21.464 16484 WARNING neutron.api.extensions [-] Extension routed-service-insertion not supported by any of loaded plugins 2014-12-11 22:42:21.466 16484 WARNING neutron.api.extensions [-] Extension router-service-type not supported by any of loaded plugins 2014-12-11 22:42:21.472 16484 INFO neutron.api.extensions [-] Loaded extension: security-group 2014-12-11 22:42:21.474 16484 WARNING neutron.api.extensions [-] Extension service-type not supported by any of loaded plugins 2014-12-11 22:42:21.480 16484 WARNING neutron.api.extensions [-] Extension vpnaas not supported by any of loaded plugins 2014-12-11 22:42:21.480 16484 INFO neutron.api.extensions [-] Extension 'agent' provides no backward compatibility map for extended attributes 2014-12-11 22:42:21.481 16484 INFO neutron.api.extensions [-] Extension 'Allowed Address Pairs' provides no backward compatibility map for extended attributes 2014-12-11 22:42:21.481 16484 INFO neutron.api.extensions [-] Extension 'Distributed Virtual Router' provides no backward compatibility map for extended attributes 2014-12-11 22:42:21.482 16484 INFO neutron.api.extensions [-] Extension 'Neutron Extra Route' provides no backward compatibility map for extended attributes 2014-12-11 22:42:21.506 16484 INFO keystonemiddleware.auth_token [-] Starting keystone auth_token middleware 2014-12-11 22:42:21.508 16484 INFO keystonemiddleware.auth_token [-] Using /tmp/keystone-signing-obz62O as cache directory for signing certificate 2014-12-11 22:42:51.563 16484 ERROR neutron.service [-] Unrecoverable error: please check log for details. 2014-12-11 22:42:51.563 16484 TRACE neutron.service Traceback (most recent call last): 2014-12-11 22:42:51.563 16484 TRACE neutron.service File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 102, in serve_wsgi 2014-12-11 22:42:51.563 16484 TRACE neutron.service service.start() 2014-12-11 22:42:51.563 16484 TRACE neutron.service File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 73, in start 2014-12-11 22:42:51.563 16484 TRACE neutron.service self.wsgi_app = _run_wsgi(self.app_name) 2014-12-11 22:42:51.563 16484 TRACE neutron.service File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 174, in _run_wsgi 2014-12-11 22:42:51.563 16484 TRACE neutron.service workers=cfg.CONF.api_workers) 2014-12-11 22:42:51.563 16484 TRACE neutron.service File "/usr/lib/python2.7/dist-packages/neutron/wsgi.py", line 207, in start 2014-12-11 22:42:51.563 16484 TRACE neutron.service backlog=backlog) 2014-12-11 22:42:51.563 16484 TRACE neutron.service File "/usr/lib/python2.7/dist-packages/neutron/wsgi.py", line 186, in _get_socket 2014-12-11 22:42:51.563 16484 TRACE neutron.service 'time': CONF.retry_until_window}) 2014-12-11 22:42:51.563 16484 TRACE neutron.service RuntimeError: Could not bind to 0.0.0.0:9696 after trying for 30 seconds 2014-12-11 22:42:51.563 16484 TRACE neutron.service ERROR: Could not bind to 0.0.0.0:9696 after trying for 30 seconds commands for creating neutron net, subnet, router etc all are working properly neutron agent-list returns following list: +--------------------------------------+--------------------+---------+-------+----------------+---------------------------+ | id | agent_type | host | alive | admin_state_up | binary | +--------------------------------------+--------------------+---------+-------+----------------+---------------------------+ | 2acc7044-e552-4601-b00b-00ba591b453f | Open vSwitch agent | blade08 | :-) | True | neutron-openvswitch-agent | | 595d07c6-120e-42ea-a950-6c77a6455f10 | Metadata agent | blade08 | :-) | True | neutron-metadata-agent | | a1f253a8-e02e-4498-8609-4e265285534b | DHCP agent | blade08 | :-) | True | neutron-dhcp-agent | | d46b29d8-4b5f-4838-bf25-b7925cb3e3a7 | L3 agent | blade08 | :-) | True | neutron-l3-agent | +--------------------------------------+--------------------+---------+-------+----------------+---------------------------+ Seems there is no agent running for sriov virtual functions. How do I fix this bug, what I am missing in its configuration? Note: Logs showing no relevant errors. Please suggest me a workaround through any helpful link or suggestion. Kind Regards,
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack