Re: [openstack-dev] SRIOV failures error-

2014-12-14 Thread Irena Berezovsky
Hi David,
One configuration option is missing that you should be aware of:
In /etc/neutron/plugins/ml2/ml2_conf_sriov.ini:
In [ml2_sriov] section set PCI Device vendor and product IDs you use, in format 
vendor_id:product_id

supported_pci_vendor_devs =

Example:
supported_pci_vendor_devs = 8086:10ca

Then restart neutron-server.

May ask you to post this question at ask.openstack.org?

BR,
Irena

From: david jhon [mailto:djhon9...@gmail.com]
Sent: Monday, December 15, 2014 9:21 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] SRIOV failures error-

Hi, I am doing the same i.e., configuring SR-IOV with Openstack juno, I have 
manually done this but now I am doing it for openstack. Can you please list 
down steps you used for configuring SR-IOV. I am currently following this link 
but getting many errors: 
https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking

Please share some tutorial you found for this configuration. I'll be real 
grateful for your help.  Thanking you in anticipation
Looking forward seeing your response
Thanks and Regards,

On Tue, Dec 2, 2014 at 12:18 PM, Itzik Brown 
mailto:itz...@redhat.com>> wrote:
Hi,
Seems like you don't have available devices for allocation.

What's the output of:
#echo 'use nova;select hypervisor_hostname,pci_stats from compute_nodes;' | 
mysql -u root

Itzik

On 12/02/2014 08:21 AM, Murali B wrote:
Hi

we are trying to bring-up the SRIOV on set-up.

facing the below error when we tried create the vm.

Still during creating instance ERROR appears .
PciDeviceRequestFailed: PCI device request ({'requests': 
[InstancePCIRequest(alias_name=None,count=1,is_new=False,request_id=58584ee1-8a41-4979-9905-4d18a3df3425,spec=[{physical_network='physnet1'}])],
 'code': 500}equests)s failed

followed the steps from the 
https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking

Please help us to get rid this error. let us know if any configuration is 
required at hardware in order to work properly.

Thanks
-Murali


___

OpenStack-dev mailing list

OpenStack-dev@lists.openstack.org<mailto:OpenStack-dev@lists.openstack.org>

http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org<mailto: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


Re: [openstack-dev] SRIOV failures error-

2014-12-14 Thread david jhon
Hi, I am doing the same i.e., configuring SR-IOV with Openstack juno, I
have manually done this but now I am doing it for openstack. Can you please
list down steps you used for configuring SR-IOV. I am currently following
this link but getting many errors:
https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking

Please share some tutorial you found for this configuration. I'll be real
grateful for your help.  Thanking you in anticipation

Looking forward seeing your response

Thanks and Regards,

On Tue, Dec 2, 2014 at 12:18 PM, Itzik Brown  wrote:
>
>  Hi,
> Seems like you don't have available devices for allocation.
>
> What's the output of:
> #echo 'use nova;select hypervisor_hostname,pci_stats from compute_nodes;'
> | mysql -u root
>
> Itzik
>
>
> On 12/02/2014 08:21 AM, Murali B wrote:
>
> Hi
>
>  we are trying to bring-up the SRIOV on set-up.
>
>  facing the below error when we tried create the vm.
>
>
> * Still during creating instance ERROR appears . PciDeviceRequestFailed:
> PCI device request ({'requests':
> [InstancePCIRequest(alias_name=None,count=1,is_new=False,request_id=58584ee1-8a41-4979-9905-4d18a3df3425,spec=[{physical_network='physnet1'}])],
> 'code': 500}equests)s failed*
>
>  followed the steps from the
> https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking
>
>  Please help us to get rid this error. let us know if any configuration
> is required at hardware in order to work properly.
>
>  Thanks
> -Murali
>
>
> ___
> OpenStack-dev mailing 
> listOpenStack-dev@lists.openstack.orghttp://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 mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] SRIOV failures error-

2014-12-04 Thread Murali B
Hi Irena,

Thanks for response. we made the change to have same network across all the
compute nodes.
After the change we are getting the new error saying the binding failed for
the vif port when we create the VM.
FYI: Please find the complete logs below

Neutron/server.log



2014-12-04 18:35:02.498 6997 WARNING neutron.plugins.ml2.managers
[req-9fbe04eb-b31b-43a1-aba1-2c1009cf0dc4 None] Failed to bind port
f2536225-12bf-4381-adc7-e05660ea9bac on host compute4

2014-12-04 18:35:02.529 6997 WARNING neutron.plugins.ml2.plugin
[req-9fbe04eb-b31b-43a1-aba1-2c1009cf0dc4 None] In
_notify_port_updated(), no bound segment for port
f2536225-12bf-4381-adc7-e05660ea9bac on network
2cb7d304-9d31-4e28-b6ea-24f9abda99c1



2014-12-04 13:27:02.669 6997 ERROR neutron.notifiers.nova [-] Failed
to notify nova on events: [{'name': 'network-changed', 'server_uuid':
u'3eff58fe-0cc1-4b15-ae0b-70af47cc8f73'}]


Attached the document with complete bug report. please go through for more
information

Thanks
-Murali

On Wed, Dec 3, 2014 at 12:10 PM, Irena Berezovsky 
wrote:

>  Hi Murali,
>
> Seems there is a mismatch between pci_whitelist configuration and
> requested network.
>
> In the table below:
>
> "physical_network": "*physnet2*"
>
>
>
> In the error you sent, there is:
>
>
> [InstancePCIRequest(alias_name=None,count=1,is_new=False,request_id=58584ee1-8a41-4979-9905-4d18a3df3425,spec=[{physical_network='
> *physnet1*'}])],
>
>
>
> Please check the neutron and nova configuration for physical_network.
>
>
>
> Cheers,
>
> Irena
>
>
>
> *From:* Murali B [mailto:mbi...@gmail.com]
> *Sent:* Wednesday, December 03, 2014 5:19 AM
> *To:* openstack-dev@lists.openstack.org; itz...@redhat.com
> *Subject:* [openstack-dev] SRIOV failures error-
>
>
>
> Hi Itzik,
>
>
>
> Thank you for your reply
>
>
>
> Please find the below output for "#echo 'use nova;select
> hypervisor_hostname,pci_stats from
>
> compute_nodes;' | mysql -u root"
>
>
>
> MariaDB [nova]> select hypervisor_hostname,pci_stats from compute_nodes;
>
> +-+---+
> | hypervisor_hostname |
> pci_stats
> |
>
> +-+---+
> | compute2|
> []
> |
> | xilinx-r720 | [{"count": 1, "vendor_id": "8086",
> "physical_network": "physnet2", "product_id": "10ed"}] |
> | compute1|
> []
> |
> | compute4|
> []
> |
>
> +-+---+
>
>
>
> we have enabled SRIOV agent on compute node 4 as well as  xilinx-r720
>
>
>
> Thanks
>
> -Murali
>


BUG_Juno_SRIOV.docx
Description: MS-Word 2007 document
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] SRIOV failures error-

2014-12-02 Thread Irena Berezovsky
Hi Murali,
Seems there is a mismatch between pci_whitelist configuration and requested 
network.
In the table below:
"physical_network": "physnet2"

In the error you sent, there is:
[InstancePCIRequest(alias_name=None,count=1,is_new=False,request_id=58584ee1-8a41-4979-9905-4d18a3df3425,spec=[{physical_network='physnet1'}])],

Please check the neutron and nova configuration for physical_network.

Cheers,
Irena

From: Murali B [mailto:mbi...@gmail.com]
Sent: Wednesday, December 03, 2014 5:19 AM
To: openstack-dev@lists.openstack.org; itz...@redhat.com
Subject: [openstack-dev] SRIOV failures error-

Hi Itzik,

Thank you for your reply

Please find the below output for "#echo 'use nova;select 
hypervisor_hostname,pci_stats from
compute_nodes;' | mysql -u root"

MariaDB [nova]> select hypervisor_hostname,pci_stats from compute_nodes;
+-+---+
| hypervisor_hostname | pci_stats   
  |
+-+---+
| compute2| []  
  |
| xilinx-r720 | [{"count": 1, "vendor_id": "8086", "physical_network": 
"physnet2", "product_id": "10ed"}] |
| compute1| []  
  |
| compute4| []  
  |
+-+---+

we have enabled SRIOV agent on compute node 4 as well as  xilinx-r720

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


Re: [openstack-dev] SRIOV failures error-

2014-12-01 Thread Itzik Brown

Hi,
Seems like you don't have available devices for allocation.

What's the output of:
#echo 'use nova;select hypervisor_hostname,pci_stats from 
compute_nodes;' | mysql -u root


Itzik

On 12/02/2014 08:21 AM, Murali B wrote:

Hi

we are trying to bring-up the SRIOV on set-up.

facing the below error when we tried create the vm.
*
Still during creating instance ERROR appears .
PciDeviceRequestFailed: PCI device request ({'requests': 
[InstancePCIRequest(alias_name=None,count=1,is_new=False,request_id=58584ee1-8a41-4979-9905-4d18a3df3425,spec=[{physical_network='physnet1'}])], 
'code': 500}equests)s failed*


followed the steps from the 
https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking


Please help us to get rid this error. let us know if any configuration 
is required at hardware in order to work properly.


Thanks
-Murali


___
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