Hi David, >From the neutron agent-list I can see that you are not running the sriov-agent.
Please run the sriov-agent after adding the below configuration. Add the below configuration at controller in /etc/neutron/plugins/ml2/ml2_conf_sriov.ini [ml2_sriov] # (ListOpt) Comma-separated list of # supported Vendor PCI Devices, in format vendor_id:product_id # #* supported_pci_vendor_devs = 15b3:1004, 8086:10c9* *supported_pci_vendor_devs = 8086:10c9* # Example: supported_pci_vendor_devs = 15b3:1004 # # (BoolOpt) Requires running SRIOV neutron agent for port binding agent_required = True Thanks -Murali On Tue, Dec 16, 2014 at 9:06 AM, david jhon <djhon9...@gmail.com> wrote: > > Hi Murali, > > Thanks for your response, I did the same, it has resolved errors > apparently but 1) neutron agent-list shows no agent for sriov, 2) neutron > port is created successfully but creating vm is erred in scheduling as > follows: > > result from neutron agent-list: > > +--------------------------------------+--------------------+---------+-------+----------------+---------------------------+ > | id | agent_type | host | > alive | admin_state_up | binary | > > +--------------------------------------+--------------------+---------+-------+----------------+---------------------------+ > | 2acc7044-e552-4601-b00b-00ba591b453f | Open vSwitch agent | blade08 | > xxx | 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 | > > +--------------------------------------+--------------------+---------+-------+----------------+---------------------------+ > > 2014-12-15 19:30:44.546 40249 ERROR oslo.messaging.rpc.dispatcher > [req-c7741cff-a7d8-422f-b605-6a1d976aeb09 ] Exception during message > handling: PCI $ > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher > Traceback (most recent call last): > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher File > "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line > 13$ > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher > incoming.message)) > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher File > "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line > 17$ > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher > return self._do_dispatch(endpoint, method, ctxt, args) > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher File > "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line > 12$ > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher > result = getattr(endpoint, method)(ctxt, **new_args) > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher File > "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/server.py", line 139, > i$ > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher > return func(*args, **kwargs) > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher File > "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line 175, in > s$ > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher > filter_properties) > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher File > "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line > $ > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher > filter_properties) > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher File > "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line > $ > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher > chosen_host.obj.consume_from_instance(instance_properties) > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher File > "/usr/lib/python2.7/dist-packages/nova/scheduler/host_manager.py", line > 246,$ > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher > self.pci_stats.apply_requests(pci_requests.requests) > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher File > "/usr/lib/python2.7/dist-packages/nova/pci/pci_stats.py", line 209, in > apply$ > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher > raise exception.PciDeviceRequestFailed(requests=requests) > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher > PciDeviceRequestFailed: PCI device request ({'requests': > [InstancePCIRequest(alias_$ > 2014-12-15 19:30:44.546 40249 TRACE oslo.messaging.rpc.dispatcher. > > Moreover, no /var/log/sriov-agent.log file exists. Please help me to fix > this issue. Thanks everyone! > > On Mon, Dec 15, 2014 at 5:18 PM, Murali B <mbi...@gmail.com> wrote: >> >> Hi David, >> >> Please add as per the Irena suggestion >> >> FYI: refer the below configuration >> >> http://pastebin.com/DGmW7ZEg >> >> >> Thanks >> -Murali >> >
_______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev