)]}'
{"specs/newton/tripleo-sriov.rst":[{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"fe4980e399f36be6cc438634d2b6b37276bcdff3","unresolved":false,"context_lines":[{"line_number":11,"context_line":"  https://blueprints.launchpad.net/tripleo/+spec/tripleo-sriov"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"SR-IOV is a network interface that allows the isolation of the PCI Express"},{"line_number":15,"context_line":"resources for manageability and performance reasons. A single physical PCI"},{"line_number":16,"context_line":"Express can be shared on a virtual environment using the SR-IOV specification."},{"line_number":17,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_04f76d59","line":14,"updated":"2016-05-11 15:49:20.000000000","message":"NIT: This is not an entirely accurate description of SR-IOV. Scott Lowe has a pretty decent overview of the relevant aspects of SR-IOV network interfaces http://blog.scottlowe.org/2009/12/02/what-is-sr-iov/","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"7a11e6ea585c5550d4b51daa0475c3faa8a14eeb","unresolved":false,"context_lines":[{"line_number":11,"context_line":"  https://blueprints.launchpad.net/tripleo/+spec/tripleo-sriov"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"SR-IOV is a network interface that allows the isolation of the PCI Express"},{"line_number":15,"context_line":"resources for manageability and performance reasons. A single physical PCI"},{"line_number":16,"context_line":"Express can be shared on a virtual environment using the SR-IOV specification."},{"line_number":17,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_7cf4a0ce","line":14,"in_reply_to":"dab17558_04f76d59","updated":"2016-05-13 13:15:26.000000000","message":"Done","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"fe4980e399f36be6cc438634d2b6b37276bcdff3","unresolved":false,"context_lines":[{"line_number":29,"context_line":"Problem Description"},{"line_number":30,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"Adding SR-IOV passthrough to be configured via tripleo."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"Proposed Change"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_df3d30c5","line":32,"updated":"2016-05-11 15:49:20.000000000","message":"This is to the point, to be sure. I think the problem description should actually be more along the lines of what you will have done for DPDK. Namely that there SR-IOV enabled images are not available, how hardware capabilities will be advertised and defining the flavor criteria so the matching mechanism can work, etc. haven\u0027t yet been explored, and so on. I see that you have covered the actual details of how these are addressed in the proposed changes - but a description of the fundamental problems or feature gaps permits better discussion of the proposed and alternate approaches.","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"7a11e6ea585c5550d4b51daa0475c3faa8a14eeb","unresolved":false,"context_lines":[{"line_number":29,"context_line":"Problem Description"},{"line_number":30,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"Adding SR-IOV passthrough to be configured via tripleo."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"Proposed Change"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_bcfe08ac","line":32,"in_reply_to":"dab17558_df3d30c5","updated":"2016-05-13 13:15:26.000000000","message":"Done","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"fe4980e399f36be6cc438634d2b6b37276bcdff3","unresolved":false,"context_lines":[{"line_number":39,"context_line":"--------"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"* Ironic Python Agent will discover the below hardware details and store it in"},{"line_number":42,"context_line":"  swift blob - SR-IOV capable NICs. The vendor id and product id of NIC shall"},{"line_number":43,"context_line":"  be compared against a predefined list of SR-IOV capable NICs - VT-d or IOMMU"},{"line_number":44,"context_line":"  support in BIOS. The CPU flags shall be read to identify the support.  - CPU"},{"line_number":45,"context_line":"  flags for hugepages + If pse exists then 2M hugepages are supported + If"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_1f9338fb","line":42,"updated":"2016-05-11 15:49:20.000000000","message":"did something happen to the formatting here?","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"7a11e6ea585c5550d4b51daa0475c3faa8a14eeb","unresolved":false,"context_lines":[{"line_number":39,"context_line":"--------"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"* Ironic Python Agent will discover the below hardware details and store it in"},{"line_number":42,"context_line":"  swift blob - SR-IOV capable NICs. The vendor id and product id of NIC shall"},{"line_number":43,"context_line":"  be compared against a predefined list of SR-IOV capable NICs - VT-d or IOMMU"},{"line_number":44,"context_line":"  support in BIOS. The CPU flags shall be read to identify the support.  - CPU"},{"line_number":45,"context_line":"  flags for hugepages + If pse exists then 2M hugepages are supported + If"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_bce0c897","line":42,"in_reply_to":"dab17558_1f9338fb","updated":"2016-05-13 13:15:26.000000000","message":"Done","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"fe4980e399f36be6cc438634d2b6b37276bcdff3","unresolved":false,"context_lines":[{"line_number":61,"context_line":"* IOMMU needs to be enabled in the Compute+SR-IOV nodes.  Using virt-customize"},{"line_number":62,"context_line":"  or libguestfs, the boot parameters (intel_iommu\u003dpt or amd_iommu\u003dpt, max_vfs)"},{"line_number":63,"context_line":"  shall be added in overcloud image for Compute+SR-IOV node, based on the CPU"},{"line_number":64,"context_line":"  type detected during introspection"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"* The cores for host processes needs to be reserved, so that the remaining"},{"line_number":67,"context_line":"  cores (isolated cores) are not used by the general kernel balancing,"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_da29bee7","line":64,"updated":"2016-05-11 15:49:20.000000000","message":"I\u0027m not sure what you mean here. Do you mean that you specify this when the image is built with puppet or somehow alter things afterwards?","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"7a11e6ea585c5550d4b51daa0475c3faa8a14eeb","unresolved":false,"context_lines":[{"line_number":61,"context_line":"* IOMMU needs to be enabled in the Compute+SR-IOV nodes.  Using virt-customize"},{"line_number":62,"context_line":"  or libguestfs, the boot parameters (intel_iommu\u003dpt or amd_iommu\u003dpt, max_vfs)"},{"line_number":63,"context_line":"  shall be added in overcloud image for Compute+SR-IOV node, based on the CPU"},{"line_number":64,"context_line":"  type detected during introspection"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"* The cores for host processes needs to be reserved, so that the remaining"},{"line_number":67,"context_line":"  cores (isolated cores) are not used by the general kernel balancing,"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_d7776700","line":64,"in_reply_to":"dab17558_da29bee7","updated":"2016-05-13 13:15:26.000000000","message":"We are doing this step after image build/download stage, using virt-customize. This would be a manual step by the operator.","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"fe4980e399f36be6cc438634d2b6b37276bcdff3","unresolved":false,"context_lines":[{"line_number":66,"context_line":"* The cores for host processes needs to be reserved, so that the remaining"},{"line_number":67,"context_line":"  cores (isolated cores) are not used by the general kernel balancing,"},{"line_number":68,"context_line":"  interrupt handling and scheduling algorithms. The isolated cores shall be"},{"line_number":69,"context_line":"  used for guest VMs."},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"  Using virt-customize or libguestfs the operator shall add boot parameters to"},{"line_number":72,"context_line":"  overcloud image, (compute + SRIOV) in order to reserve the CPUs for host"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_7a8532cd","line":69,"updated":"2016-05-11 15:49:20.000000000","message":"Is this true for the general SR-IOV case?","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"7a11e6ea585c5550d4b51daa0475c3faa8a14eeb","unresolved":false,"context_lines":[{"line_number":66,"context_line":"* The cores for host processes needs to be reserved, so that the remaining"},{"line_number":67,"context_line":"  cores (isolated cores) are not used by the general kernel balancing,"},{"line_number":68,"context_line":"  interrupt handling and scheduling algorithms. The isolated cores shall be"},{"line_number":69,"context_line":"  used for guest VMs."},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"  Using virt-customize or libguestfs the operator shall add boot parameters to"},{"line_number":72,"context_line":"  overcloud image, (compute + SRIOV) in order to reserve the CPUs for host"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_37a2334c","line":69,"in_reply_to":"dab17558_7a8532cd","updated":"2016-05-13 13:15:26.000000000","message":"yes, this is part of best practices however not entirely required for SR-IOV. CPU pinning for host process and guest VM\u0027s will improve performance.","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"fe4980e399f36be6cc438634d2b6b37276bcdff3","unresolved":false,"context_lines":[{"line_number":92,"context_line":"    * the physical network name, which shall be used for whitelisting the NICs"},{"line_number":93,"context_line":"      for SR-IOV"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"    * The VLAN range for the network using SR-IOV"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"* In the network node, puppet shall - - enable sriovnicswitch in the"},{"line_number":98,"context_line":"  /etc/neutron/plugin.ini file mechanism_drivers \u003d openvswitch, sriovnicswitch"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_d59991c5","line":95,"updated":"2016-05-11 15:49:20.000000000","message":"I feel like this needs expanding and clarification, but if delve too deep I\u0027ll be here all day ;)","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"7a11e6ea585c5550d4b51daa0475c3faa8a14eeb","unresolved":false,"context_lines":[{"line_number":92,"context_line":"    * the physical network name, which shall be used for whitelisting the NICs"},{"line_number":93,"context_line":"      for SR-IOV"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"    * The VLAN range for the network using SR-IOV"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"* In the network node, puppet shall - - enable sriovnicswitch in the"},{"line_number":98,"context_line":"  /etc/neutron/plugin.ini file mechanism_drivers \u003d openvswitch, sriovnicswitch"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_f7af0a7b","line":95,"in_reply_to":"dab17558_d59991c5","updated":"2016-05-13 13:15:26.000000000","message":"we corrected the alignment. The VLAN ranges are explained below this.","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"fe4980e399f36be6cc438634d2b6b37276bcdff3","unresolved":false,"context_lines":[{"line_number":118,"context_line":"      /var/log/neutron/server.log"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"* In the controller node, puppet shall - - Add  PciPassthroughFilter filter to"},{"line_number":121,"context_line":"  the list of scheduler_default_filters"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"  This needs to be done to allow proper scheduling of SR-IOV devices"},{"line_number":124,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_d5ea31da","line":121,"updated":"2016-05-11 15:49:20.000000000","message":"We can be a bit more specific and say \"the controller node or where the nova scheduler is running\". Composable roles might make the notion of \"controller\" a little more ambiguous than what it is today.","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"7a11e6ea585c5550d4b51daa0475c3faa8a14eeb","unresolved":false,"context_lines":[{"line_number":118,"context_line":"      /var/log/neutron/server.log"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"* In the controller node, puppet shall - - Add  PciPassthroughFilter filter to"},{"line_number":121,"context_line":"  the list of scheduler_default_filters"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"  This needs to be done to allow proper scheduling of SR-IOV devices"},{"line_number":124,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_5749b6b6","line":121,"in_reply_to":"dab17558_d5ea31da","updated":"2016-05-13 13:15:26.000000000","message":"Done","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"fe4980e399f36be6cc438634d2b6b37276bcdff3","unresolved":false,"context_lines":[{"line_number":122,"context_line":""},{"line_number":123,"context_line":"  This needs to be done to allow proper scheduling of SR-IOV devices"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"  * add the AggregateInstanceExtraSpecFilter and NUMATopologyFilter values to"},{"line_number":126,"context_line":"    the list of scheduler_default_filters"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"    These filters are used to segregate the compute nodes that can be used for"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_f5d5b5e4","line":125,"updated":"2016-05-11 15:49:20.000000000","message":"It just occurred to me that we are talking about adding NUMA support under the guise of enabling SR-IOV. If you want to combine them, I think you need to point this out more clearly above in the problem description and why you are doing them together. That being said, it might be worthwhile doing these separately for clarity.","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"7a11e6ea585c5550d4b51daa0475c3faa8a14eeb","unresolved":false,"context_lines":[{"line_number":122,"context_line":""},{"line_number":123,"context_line":"  This needs to be done to allow proper scheduling of SR-IOV devices"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"  * add the AggregateInstanceExtraSpecFilter and NUMATopologyFilter values to"},{"line_number":126,"context_line":"    the list of scheduler_default_filters"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"    These filters are used to segregate the compute nodes that can be used for"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_f7d0aacb","line":125,"in_reply_to":"dab17558_f5d5b5e4","updated":"2016-05-13 13:15:26.000000000","message":"Done. Added it in problem description.","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"fe4980e399f36be6cc438634d2b6b37276bcdff3","unresolved":false,"context_lines":[{"line_number":169,"context_line":"* os -net-config shall start the SR-IOV agent - systemctl enable"},{"line_number":170,"context_line":"  neutron-sriov-nic-agent.service"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"  * systemctl start neutron-sriov-nic-agent.service"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"* Post deployment, the operator shall create neutron ports prior to creating"},{"line_number":175,"context_line":"  VM’s (nova boot) - neutron port-create fabric0_0 --name sr-iov"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_35857cce","line":172,"updated":"2016-05-11 15:49:20.000000000","message":"This is a puppet and pacemaker thing.","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"7a11e6ea585c5550d4b51daa0475c3faa8a14eeb","unresolved":false,"context_lines":[{"line_number":169,"context_line":"* os -net-config shall start the SR-IOV agent - systemctl enable"},{"line_number":170,"context_line":"  neutron-sriov-nic-agent.service"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"  * systemctl start neutron-sriov-nic-agent.service"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"* Post deployment, the operator shall create neutron ports prior to creating"},{"line_number":175,"context_line":"  VM’s (nova boot) - neutron port-create fabric0_0 --name sr-iov"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_17844eaf","line":172,"in_reply_to":"dab17558_35857cce","updated":"2016-05-13 13:15:26.000000000","message":"Done","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"fe4980e399f36be6cc438634d2b6b37276bcdff3","unresolved":false,"context_lines":[{"line_number":171,"context_line":""},{"line_number":172,"context_line":"  * systemctl start neutron-sriov-nic-agent.service"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"* Post deployment, the operator shall create neutron ports prior to creating"},{"line_number":175,"context_line":"  VM’s (nova boot) - neutron port-create fabric0_0 --name sr-iov"},{"line_number":176,"context_line":"  --binding:vnic-type direct"},{"line_number":177,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_35e9fcb7","line":174,"updated":"2016-05-11 15:49:20.000000000","message":"I would remove this and the following lines - it is outside the scope of tripleo.","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"7a11e6ea585c5550d4b51daa0475c3faa8a14eeb","unresolved":false,"context_lines":[{"line_number":171,"context_line":""},{"line_number":172,"context_line":"  * systemctl start neutron-sriov-nic-agent.service"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"* Post deployment, the operator shall create neutron ports prior to creating"},{"line_number":175,"context_line":"  VM’s (nova boot) - neutron port-create fabric0_0 --name sr-iov"},{"line_number":176,"context_line":"  --binding:vnic-type direct"},{"line_number":177,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_578ed6d0","line":174,"in_reply_to":"dab17558_35e9fcb7","updated":"2016-05-13 13:15:26.000000000","message":"Done. We have added this to \u0027Other Deployer Impact\u0027 section.","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"fe4980e399f36be6cc438634d2b6b37276bcdff3","unresolved":false,"context_lines":[{"line_number":181,"context_line":"Alternatives"},{"line_number":182,"context_line":"------------"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"None"},{"line_number":185,"context_line":""},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"Security impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_355c5c7c","line":184,"updated":"2016-05-11 15:49:20.000000000","message":"There were no other alternative solutions or variations on the steps discussed and discarded? I wonder if there were some other approaches to specifying boot arguments.","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"7a11e6ea585c5550d4b51daa0475c3faa8a14eeb","unresolved":false,"context_lines":[{"line_number":181,"context_line":"Alternatives"},{"line_number":182,"context_line":"------------"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"None"},{"line_number":185,"context_line":""},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"Security impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_57a53645","line":184,"in_reply_to":"dab17558_355c5c7c","updated":"2016-05-13 13:15:26.000000000","message":"Done","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"fe4980e399f36be6cc438634d2b6b37276bcdff3","unresolved":false,"context_lines":[{"line_number":188,"context_line":"---------------"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"We have no firewall drivers which support"},{"line_number":191,"context_line":"SR-IOV at present. Security groups will be disabled."},{"line_number":192,"context_line":""},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"Other End User Impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_f83129a3","line":191,"updated":"2016-05-11 15:49:20.000000000","message":"This is only specific to the SR-IOV ports though, correct?","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"7a11e6ea585c5550d4b51daa0475c3faa8a14eeb","unresolved":false,"context_lines":[{"line_number":188,"context_line":"---------------"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"We have no firewall drivers which support"},{"line_number":191,"context_line":"SR-IOV at present. Security groups will be disabled."},{"line_number":192,"context_line":""},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"Other End User Impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_974cbe9e","line":191,"in_reply_to":"dab17558_f83129a3","updated":"2016-05-13 13:15:26.000000000","message":"Done. Its at agent level. Security groups will be disabled in compute hosts which uses SR-IOV ports.","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"fe4980e399f36be6cc438634d2b6b37276bcdff3","unresolved":false,"context_lines":[{"line_number":194,"context_line":"Other End User Impact"},{"line_number":195,"context_line":"---------------------"},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"* Addition of a new flavor and documentation changes"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"* Addition of steps after post deployment"},{"line_number":200,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_18d6ad27","line":197,"updated":"2016-05-11 15:49:20.000000000","message":"If you are referring to the flavor that would be used by an operator earlier, this is out-of-scope.","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"7a11e6ea585c5550d4b51daa0475c3faa8a14eeb","unresolved":false,"context_lines":[{"line_number":194,"context_line":"Other End User Impact"},{"line_number":195,"context_line":"---------------------"},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"* Addition of a new flavor and documentation changes"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"* Addition of steps after post deployment"},{"line_number":200,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_1759ee5b","line":197,"in_reply_to":"dab17558_18d6ad27","updated":"2016-05-13 13:15:26.000000000","message":"Done","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"fe4980e399f36be6cc438634d2b6b37276bcdff3","unresolved":false,"context_lines":[{"line_number":196,"context_line":""},{"line_number":197,"context_line":"* Addition of a new flavor and documentation changes"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"* Addition of steps after post deployment"},{"line_number":200,"context_line":""},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"Performance Impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_78e53907","line":199,"updated":"2016-05-11 15:49:20.000000000","message":"Ditto.","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"7a11e6ea585c5550d4b51daa0475c3faa8a14eeb","unresolved":false,"context_lines":[{"line_number":196,"context_line":""},{"line_number":197,"context_line":"* Addition of a new flavor and documentation changes"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"* Addition of steps after post deployment"},{"line_number":200,"context_line":""},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"Performance Impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_77583a57","line":199,"in_reply_to":"dab17558_78e53907","updated":"2016-05-13 13:15:26.000000000","message":"Done","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"fe4980e399f36be6cc438634d2b6b37276bcdff3","unresolved":false,"context_lines":[{"line_number":203,"context_line":"------------------"},{"line_number":204,"context_line":""},{"line_number":205,"context_line":"* SR-IOV provides near native I/O performance for each virtual machine on a"},{"line_number":206,"context_line":"  physical server refer - http://goo.gl/HxZvXX"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"Other Deployer Impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_d81f05b5","line":206,"updated":"2016-05-11 15:49:20.000000000","message":"\"Near\", not actual wire performance? ;) With respect to TripleO we it might be worthwhile positing possible performance impact in discovery and matching.","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"7a11e6ea585c5550d4b51daa0475c3faa8a14eeb","unresolved":false,"context_lines":[{"line_number":203,"context_line":"------------------"},{"line_number":204,"context_line":""},{"line_number":205,"context_line":"* SR-IOV provides near native I/O performance for each virtual machine on a"},{"line_number":206,"context_line":"  physical server refer - http://goo.gl/HxZvXX"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"Other Deployer Impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_f73a6ae6","line":206,"in_reply_to":"dab17558_d81f05b5","updated":"2016-05-13 13:15:26.000000000","message":"Done","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"fe4980e399f36be6cc438634d2b6b37276bcdff3","unresolved":false,"context_lines":[{"line_number":215,"context_line":"* The new flavor would require compatible SRIOV nics, so CI tests on hardware"},{"line_number":216,"context_line":"  would require compatible nics. The CI for this new flavor to be tested can be"},{"line_number":217,"context_line":"  done only over baremetal nodes as so far there are no virtual emulation"},{"line_number":218,"context_line":"  drivers for SR-IOV"},{"line_number":219,"context_line":""},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"Developer Impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_3b59eb35","line":218,"updated":"2016-05-11 15:49:20.000000000","message":"I think this needs to be elaborated on a bit. It\u0027s a given that there may be some diversity in NIC versions, etc. as well as possibly connected networks. The complexity is intrinsic to deploying SR-IOV in general and not specific to tripleo, it implies a degree of \"cohesion\" between the hardware inventory, images and heat templates, etc.","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"7a11e6ea585c5550d4b51daa0475c3faa8a14eeb","unresolved":false,"context_lines":[{"line_number":215,"context_line":"* The new flavor would require compatible SRIOV nics, so CI tests on hardware"},{"line_number":216,"context_line":"  would require compatible nics. The CI for this new flavor to be tested can be"},{"line_number":217,"context_line":"  done only over baremetal nodes as so far there are no virtual emulation"},{"line_number":218,"context_line":"  drivers for SR-IOV"},{"line_number":219,"context_line":""},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"Developer Impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_1a63d3de","line":218,"in_reply_to":"dab17558_3b59eb35","updated":"2016-05-13 13:15:26.000000000","message":"Done","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"fe4980e399f36be6cc438634d2b6b37276bcdff3","unresolved":false,"context_lines":[{"line_number":254,"context_line":"Testing"},{"line_number":255,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"For CI we would need supporting specific nics in trippleo-quickstart."},{"line_number":258,"context_line":""},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"Documentation Impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_1bece728","line":257,"updated":"2016-05-11 15:49:20.000000000","message":"The undercloud doesn\u0027t need NIC support for sr-iov, so this isn\u0027t relevant. For their to be CI on actual use of this functionality we will need some third party CI.","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"7a11e6ea585c5550d4b51daa0475c3faa8a14eeb","unresolved":false,"context_lines":[{"line_number":254,"context_line":"Testing"},{"line_number":255,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"For CI we would need supporting specific nics in trippleo-quickstart."},{"line_number":258,"context_line":""},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"Documentation Impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dab17558_daa78b09","line":257,"in_reply_to":"dab17558_1bece728","updated":"2016-05-13 13:15:26.000000000","message":"Done","commit_id":"e87a337d18e7d003f45fb766b193271e92a26080"},{"author":{"_account_id":12171,"name":"Moshe Levi","email":"moshele@nvidia.com","username":"moshele"},"change_message_id":"bd9732f11c6bdf8cb1e8e99e895ca6d40a636968","unresolved":false,"context_lines":[{"line_number":4,"context_line":"http://creativecommons.org/licenses/by/3.0/legalcode"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":7,"context_line":"Adding SRIOV to Tripleo"},{"line_number":8,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Blueprint URL:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_e9353cda","line":7,"range":{"start_line":7,"start_character":7,"end_line":7,"end_character":12},"updated":"2016-06-07 14:49:46.000000000","message":"s/SRIOV/SR-IOV","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":4,"context_line":"http://creativecommons.org/licenses/by/3.0/legalcode"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":7,"context_line":"Adding SRIOV to Tripleo"},{"line_number":8,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Blueprint URL:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_b074a236","line":7,"range":{"start_line":7,"start_character":7,"end_line":7,"end_character":12},"in_reply_to":"7aa08908_e9353cda","updated":"2016-06-15 15:26:38.000000000","message":"Done","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":21626,"name":"Ricardo","email":"rnoriega@redhat.com","username":"rnoriega"},"change_message_id":"7505f9209326412b3e68536c3c2155939d77f53c","unresolved":false,"context_lines":[{"line_number":43,"context_line":"  SR-IOV. The role matching step shall identify the nodes with SR-IOV capable"},{"line_number":44,"context_line":"  hardware and map them to the customized role (compute + SR-IOV)."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"* The allocation of the CPU\u0027s for host processes and Guest VMs needs to be done"},{"line_number":47,"context_line":"  in accordance with the NUMA topology, for improved performance. Specific CPUs"},{"line_number":48,"context_line":"  shall be reserved for host processes only."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"* Hugepages offers performance improvement and the same needs to be enabled for"},{"line_number":51,"context_line":"  guest VMs."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"Proposed Change"},{"line_number":54,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_1b292738","line":51,"range":{"start_line":46,"start_character":0,"end_line":51,"end_character":12},"updated":"2016-06-10 11:36:22.000000000","message":"CPU pinning and Hugepages capabilities are independent of SR-IOV technology. IMHO it\u0027s out of the scope of this spec.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":43,"context_line":"  SR-IOV. The role matching step shall identify the nodes with SR-IOV capable"},{"line_number":44,"context_line":"  hardware and map them to the customized role (compute + SR-IOV)."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"* The allocation of the CPU\u0027s for host processes and Guest VMs needs to be done"},{"line_number":47,"context_line":"  in accordance with the NUMA topology, for improved performance. Specific CPUs"},{"line_number":48,"context_line":"  shall be reserved for host processes only."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"* Hugepages offers performance improvement and the same needs to be enabled for"},{"line_number":51,"context_line":"  guest VMs."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"Proposed Change"},{"line_number":54,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_6be52b09","line":51,"range":{"start_line":46,"start_character":0,"end_line":51,"end_character":12},"in_reply_to":"7aa08908_1b292738","updated":"2016-06-15 15:26:38.000000000","message":"Done. We are moving out CPU pinning and hugepages from this spec file objective.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":12171,"name":"Moshe Levi","email":"moshele@nvidia.com","username":"moshele"},"change_message_id":"bd9732f11c6bdf8cb1e8e99e895ca6d40a636968","unresolved":false,"context_lines":[{"line_number":56,"context_line":"Overview"},{"line_number":57,"context_line":"--------"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"* Ironic Python Agent will discover the below hardware details and store it in"},{"line_number":60,"context_line":"  swift blob -"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"  * SR-IOV capable NICs:"},{"line_number":63,"context_line":"    The vendor id and product id of NIC shall be compared against a predefined"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_8478dd2c","line":60,"range":{"start_line":59,"start_character":2,"end_line":60,"end_character":14},"updated":"2016-06-07 14:49:46.000000000","message":"why not save the details port with the ironic port.\nso the ironic-inspector can provide the the vedndor and product if  see https://review.openstack.org/#/c/279940/ \nand you can update the inspector to add the to port extra or better add column in the ironic port model for vendor and product","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"749881600485ad6f28945fd9e015e774addd3fc4","unresolved":false,"context_lines":[{"line_number":59,"context_line":"* Ironic Python Agent will discover the below hardware details and store it in"},{"line_number":60,"context_line":"  swift blob -"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"  * SR-IOV capable NICs:"},{"line_number":63,"context_line":"    The vendor id and product id of NIC shall be compared against a predefined"},{"line_number":64,"context_line":"    list of SR-IOV capable NICs."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"  * VT-d or IOMMU support in BIOS:"},{"line_number":67,"context_line":"    The CPU flags shall be read to identify the support."}],"source_content_type":"text/x-rst","patch_set":6,"id":"9abb7d3a_4e47594b","line":64,"range":{"start_line":62,"start_character":0,"end_line":64,"end_character":32},"updated":"2016-05-30 12:10:29.000000000","message":"This will require a separate RFE for inspector, unless https://review.openstack.org/315413 already covers it (in this case it should be a dependency)","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":59,"context_line":"* Ironic Python Agent will discover the below hardware details and store it in"},{"line_number":60,"context_line":"  swift blob -"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"  * SR-IOV capable NICs:"},{"line_number":63,"context_line":"    The vendor id and product id of NIC shall be compared against a predefined"},{"line_number":64,"context_line":"    list of SR-IOV capable NICs."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"  * VT-d or IOMMU support in BIOS:"},{"line_number":67,"context_line":"    The CPU flags shall be read to identify the support."}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_ab2d53aa","line":64,"range":{"start_line":62,"start_character":0,"end_line":64,"end_character":32},"in_reply_to":"7aa08908_585967fc","updated":"2016-06-15 15:26:38.000000000","message":"Thanks, we saw that /sys/bus/pci/devices/.../sriov_totalvfs gets populated when a physical PCIe device supports SR-IOV. reference - https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-pci. We will use this method.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":17973,"name":"Ludovic Beliveau","email":"lbeliveau@gmail.com","username":"lbeliveau"},"change_message_id":"4b6efc98cc11b2c0a4d9da24509d24f85aed9471","unresolved":false,"context_lines":[{"line_number":59,"context_line":"* Ironic Python Agent will discover the below hardware details and store it in"},{"line_number":60,"context_line":"  swift blob -"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"  * SR-IOV capable NICs:"},{"line_number":63,"context_line":"    The vendor id and product id of NIC shall be compared against a predefined"},{"line_number":64,"context_line":"    list of SR-IOV capable NICs."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"  * VT-d or IOMMU support in BIOS:"},{"line_number":67,"context_line":"    The CPU flags shall be read to identify the support."}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_585967fc","line":64,"range":{"start_line":62,"start_character":0,"end_line":64,"end_character":32},"in_reply_to":"7aa08908_ccc70744","updated":"2016-06-14 13:55:39.000000000","message":"Most of the vendor are using sriov_totalvfs in the sys fs (on linux at least).  Can we use something like that to discover is a NIC has sr-iov capabilities instead of maintaining a long list of vendors/products ?\n\nI know Intel NICs are using this scheme, I\u0027m not sure about other vendors.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":18904,"name":"Karthik S","email":"ksundara@redhat.com","username":"karthiks"},"change_message_id":"83936ffa0ebc414585eff862c0f1c2b1c5d54b98","unresolved":false,"context_lines":[{"line_number":59,"context_line":"* Ironic Python Agent will discover the below hardware details and store it in"},{"line_number":60,"context_line":"  swift blob -"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"  * SR-IOV capable NICs:"},{"line_number":63,"context_line":"    The vendor id and product id of NIC shall be compared against a predefined"},{"line_number":64,"context_line":"    list of SR-IOV capable NICs."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"  * VT-d or IOMMU support in BIOS:"},{"line_number":67,"context_line":"    The CPU flags shall be read to identify the support."}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_ccc70744","line":64,"range":{"start_line":62,"start_character":0,"end_line":64,"end_character":32},"in_reply_to":"9abb7d3a_4e47594b","updated":"2016-06-07 10:47:30.000000000","message":"The BP: https://review.openstack.org/#/c/315413 already covers the detection of vendor id and product id. We still need to compare it against the list of SR-IOV capable NICS in order to identify the H/W support for SR-IOV.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":12171,"name":"Moshe Levi","email":"moshele@nvidia.com","username":"moshele"},"change_message_id":"bd9732f11c6bdf8cb1e8e99e895ca6d40a636968","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    If pdpe1gb exists then 1G hugepages are supported"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"* Compute roles needs to be customized for SR-IOV. The overcloud image for this"},{"line_number":74,"context_line":"  role shall have the agent openstack-neutron-sriov-nic-agent."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"* Role matching shall ensure that nodes with above capabilities shall be"},{"line_number":77,"context_line":"  considered for COMPUTE+SR-IOV nodes"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_c9ede0f0","line":74,"range":{"start_line":74,"start_character":22,"end_line":74,"end_character":62},"updated":"2016-06-07 14:49:46.000000000","message":"the sriov-nic-agent is need when you want to do SR-IOV for networking meaning vm with direct port, but you can also just passthrougth the VF to the guest with flavor see http://docs.openstack.org/admin-guide/compute-pci-passthrough.html","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"1cba08d07b7a8c04598c58aa90ccc51e1cbfba04","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    If pdpe1gb exists then 1G hugepages are supported"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"* Compute roles needs to be customized for SR-IOV. The overcloud image for this"},{"line_number":74,"context_line":"  role shall have the agent openstack-neutron-sriov-nic-agent."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"* Role matching shall ensure that nodes with above capabilities shall be"},{"line_number":77,"context_line":"  considered for COMPUTE+SR-IOV nodes"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3aaa91ec_f51eb161","line":74,"range":{"start_line":74,"start_character":22,"end_line":74,"end_character":62},"in_reply_to":"3aaa91ec_82aa036f","updated":"2016-06-23 13:59:52.000000000","message":"Yes. we are only addressing the second way","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    If pdpe1gb exists then 1G hugepages are supported"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"* Compute roles needs to be customized for SR-IOV. The overcloud image for this"},{"line_number":74,"context_line":"  role shall have the agent openstack-neutron-sriov-nic-agent."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"* Role matching shall ensure that nodes with above capabilities shall be"},{"line_number":77,"context_line":"  considered for COMPUTE+SR-IOV nodes"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_43ebf378","line":74,"range":{"start_line":74,"start_character":22,"end_line":74,"end_character":62},"in_reply_to":"7aa08908_3bb4e3f0","updated":"2016-06-15 15:26:38.000000000","message":"thanks for pointing out.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":12171,"name":"Moshe Levi","email":"moshele@nvidia.com","username":"moshele"},"change_message_id":"ffa52f065f3cbcff86a7d2224483c6ae804c7d22","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    If pdpe1gb exists then 1G hugepages are supported"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"* Compute roles needs to be customized for SR-IOV. The overcloud image for this"},{"line_number":74,"context_line":"  role shall have the agent openstack-neutron-sriov-nic-agent."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"* Role matching shall ensure that nodes with above capabilities shall be"},{"line_number":77,"context_line":"  considered for COMPUTE+SR-IOV nodes"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3aaa91ec_82aa036f","line":74,"range":{"start_line":74,"start_character":22,"end_line":74,"end_character":62},"in_reply_to":"7aa08908_43ebf378","updated":"2016-06-21 19:49:38.000000000","message":"what I meant is that you can do SR-IOV in 2 ways\none is pci passthought without agent (can passthought PF/VF/GPU)\n\nand with port \u0027direct\u0027 so that the VF will be assigned with mac and vlan (we call this SR-IOV for networking)\n\nit seem that you only want to support the later.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    If pdpe1gb exists then 1G hugepages are supported"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"* Compute roles needs to be customized for SR-IOV. The overcloud image for this"},{"line_number":74,"context_line":"  role shall have the agent openstack-neutron-sriov-nic-agent."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"* Role matching shall ensure that nodes with above capabilities shall be"},{"line_number":77,"context_line":"  considered for COMPUTE+SR-IOV nodes"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_03b9ebcb","line":74,"range":{"start_line":74,"start_character":22,"end_line":74,"end_character":62},"in_reply_to":"7aa08908_c9ede0f0","updated":"2016-06-15 15:26:38.000000000","message":"Since liberty release, openstack-neutron-sriov-nic-agent is required by default (for QoS rate limit settings). Hence, this shall be present in compute via DIB.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":21626,"name":"Ricardo","email":"rnoriega@redhat.com","username":"rnoriega"},"change_message_id":"7505f9209326412b3e68536c3c2155939d77f53c","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    If pdpe1gb exists then 1G hugepages are supported"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"* Compute roles needs to be customized for SR-IOV. The overcloud image for this"},{"line_number":74,"context_line":"  role shall have the agent openstack-neutron-sriov-nic-agent."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"* Role matching shall ensure that nodes with above capabilities shall be"},{"line_number":77,"context_line":"  considered for COMPUTE+SR-IOV nodes"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_3bb4e3f0","line":74,"range":{"start_line":74,"start_character":22,"end_line":74,"end_character":62},"in_reply_to":"7aa08908_c9ede0f0","updated":"2016-06-10 11:36:22.000000000","message":"That\u0027s why you need the sriov-nic-agent in the compute nodes, to have both ways of managing VFs (with and without agent).","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":21908,"name":"Frank Zdarsky","email":"fzdarsky@redhat.com","username":"fzdarsky"},"change_message_id":"41ee749be2b101097cb90cc14d6365813ad7d044","unresolved":false,"context_lines":[{"line_number":76,"context_line":"* Role matching shall ensure that nodes with above capabilities shall be"},{"line_number":77,"context_line":"  considered for COMPUTE+SR-IOV nodes"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"* Hugepages needs to be enabled in the Compute+SRIOV nodes.  Using"},{"line_number":80,"context_line":"  virt-customize or libguestfs, the hugepages (boot parameters) shall be"},{"line_number":81,"context_line":"  enabled in overcloud image for Compute+SR-IOV node, based on the hugepage"},{"line_number":82,"context_line":"  support detected during introspection. This step shall be done after building"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_c1099033","line":79,"range":{"start_line":79,"start_character":2,"end_line":79,"end_character":59},"updated":"2016-06-06 10:16:39.000000000","message":"This should probably be implemented in a way that it may be used/configured independently of SR-IOV, too.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":12171,"name":"Moshe Levi","email":"moshele@nvidia.com","username":"moshele"},"change_message_id":"bd9732f11c6bdf8cb1e8e99e895ca6d40a636968","unresolved":false,"context_lines":[{"line_number":76,"context_line":"* Role matching shall ensure that nodes with above capabilities shall be"},{"line_number":77,"context_line":"  considered for COMPUTE+SR-IOV nodes"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"* Hugepages needs to be enabled in the Compute+SRIOV nodes.  Using"},{"line_number":80,"context_line":"  virt-customize or libguestfs, the hugepages (boot parameters) shall be"},{"line_number":81,"context_line":"  enabled in overcloud image for Compute+SR-IOV node, based on the hugepage"},{"line_number":82,"context_line":"  support detected during introspection. This step shall be done after building"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_c9c4c060","line":79,"range":{"start_line":79,"start_character":2,"end_line":79,"end_character":59},"in_reply_to":"7aa08908_60a69d54","updated":"2016-06-07 14:49:46.000000000","message":"+1","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":76,"context_line":"* Role matching shall ensure that nodes with above capabilities shall be"},{"line_number":77,"context_line":"  considered for COMPUTE+SR-IOV nodes"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"* Hugepages needs to be enabled in the Compute+SRIOV nodes.  Using"},{"line_number":80,"context_line":"  virt-customize or libguestfs, the hugepages (boot parameters) shall be"},{"line_number":81,"context_line":"  enabled in overcloud image for Compute+SR-IOV node, based on the hugepage"},{"line_number":82,"context_line":"  support detected during introspection. This step shall be done after building"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_e3a81f23","line":79,"range":{"start_line":79,"start_character":2,"end_line":79,"end_character":59},"in_reply_to":"7aa08908_bb9f335e","updated":"2016-06-15 15:26:38.000000000","message":"Done","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":21626,"name":"Ricardo","email":"rnoriega@redhat.com","username":"rnoriega"},"change_message_id":"7505f9209326412b3e68536c3c2155939d77f53c","unresolved":false,"context_lines":[{"line_number":76,"context_line":"* Role matching shall ensure that nodes with above capabilities shall be"},{"line_number":77,"context_line":"  considered for COMPUTE+SR-IOV nodes"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"* Hugepages needs to be enabled in the Compute+SRIOV nodes.  Using"},{"line_number":80,"context_line":"  virt-customize or libguestfs, the hugepages (boot parameters) shall be"},{"line_number":81,"context_line":"  enabled in overcloud image for Compute+SR-IOV node, based on the hugepage"},{"line_number":82,"context_line":"  support detected during introspection. This step shall be done after building"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_bb9f335e","line":79,"range":{"start_line":79,"start_character":2,"end_line":79,"end_character":59},"in_reply_to":"7aa08908_c1099033","updated":"2016-06-10 11:36:22.000000000","message":"+1, it could be defined as different role or create an NFV role gathering (SRIOV + Hugepages, CPU pinning, etc)","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":76,"context_line":"* Role matching shall ensure that nodes with above capabilities shall be"},{"line_number":77,"context_line":"  considered for COMPUTE+SR-IOV nodes"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"* Hugepages needs to be enabled in the Compute+SRIOV nodes.  Using"},{"line_number":80,"context_line":"  virt-customize or libguestfs, the hugepages (boot parameters) shall be"},{"line_number":81,"context_line":"  enabled in overcloud image for Compute+SR-IOV node, based on the hugepage"},{"line_number":82,"context_line":"  support detected during introspection. This step shall be done after building"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_c38ec3cf","line":79,"range":{"start_line":79,"start_character":2,"end_line":79,"end_character":59},"in_reply_to":"7aa08908_c1099033","updated":"2016-06-15 15:26:38.000000000","message":"Done","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":18904,"name":"Karthik S","email":"ksundara@redhat.com","username":"karthiks"},"change_message_id":"83936ffa0ebc414585eff862c0f1c2b1c5d54b98","unresolved":false,"context_lines":[{"line_number":76,"context_line":"* Role matching shall ensure that nodes with above capabilities shall be"},{"line_number":77,"context_line":"  considered for COMPUTE+SR-IOV nodes"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"* Hugepages needs to be enabled in the Compute+SRIOV nodes.  Using"},{"line_number":80,"context_line":"  virt-customize or libguestfs, the hugepages (boot parameters) shall be"},{"line_number":81,"context_line":"  enabled in overcloud image for Compute+SR-IOV node, based on the hugepage"},{"line_number":82,"context_line":"  support detected during introspection. This step shall be done after building"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_60a69d54","line":79,"range":{"start_line":79,"start_character":2,"end_line":79,"end_character":59},"in_reply_to":"7aa08908_c1099033","updated":"2016-06-07 10:47:30.000000000","message":"We\u0027ll create a separate bug for enabling of hugepages/ CPU pinning, because its common for using DPDK as well.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":76,"context_line":"* Role matching shall ensure that nodes with above capabilities shall be"},{"line_number":77,"context_line":"  considered for COMPUTE+SR-IOV nodes"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"* Hugepages needs to be enabled in the Compute+SRIOV nodes.  Using"},{"line_number":80,"context_line":"  virt-customize or libguestfs, the hugepages (boot parameters) shall be"},{"line_number":81,"context_line":"  enabled in overcloud image for Compute+SR-IOV node, based on the hugepage"},{"line_number":82,"context_line":"  support detected during introspection. This step shall be done after building"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_83ab1b1e","line":79,"range":{"start_line":79,"start_character":2,"end_line":79,"end_character":59},"in_reply_to":"7aa08908_c9c4c060","updated":"2016-06-15 15:26:38.000000000","message":"Done","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":12171,"name":"Moshe Levi","email":"moshele@nvidia.com","username":"moshele"},"change_message_id":"bd9732f11c6bdf8cb1e8e99e895ca6d40a636968","unresolved":false,"context_lines":[{"line_number":83,"context_line":"  or downloading the overcloud image."},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"* IOMMU needs to be enabled in the Compute+SR-IOV nodes. After building or"},{"line_number":86,"context_line":"  downloading overcloud image, the boot parameters (intel_iommu\u003dpt or"},{"line_number":87,"context_line":"  amd_iommu\u003dpt, max_vfs) shall be added in the grub.conf of overcloud image for"},{"line_number":88,"context_line":"  Compute+SR-IOV node, based on the CPU type detected during introspection."},{"line_number":89,"context_line":"  We shall use virt-customize or libguestfs to do it."}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_c9ee80b3","line":86,"range":{"start_line":86,"start_character":52,"end_line":86,"end_character":66},"updated":"2016-06-07 14:49:46.000000000","message":"intel_iommu\u003don\nsee http://docs.openstack.org/liberty/networking-guide/adv_config_sriov.html","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":83,"context_line":"  or downloading the overcloud image."},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"* IOMMU needs to be enabled in the Compute+SR-IOV nodes. After building or"},{"line_number":86,"context_line":"  downloading overcloud image, the boot parameters (intel_iommu\u003dpt or"},{"line_number":87,"context_line":"  amd_iommu\u003dpt, max_vfs) shall be added in the grub.conf of overcloud image for"},{"line_number":88,"context_line":"  Compute+SR-IOV node, based on the CPU type detected during introspection."},{"line_number":89,"context_line":"  We shall use virt-customize or libguestfs to do it."}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_067739a0","line":86,"range":{"start_line":86,"start_character":52,"end_line":86,"end_character":66},"in_reply_to":"7aa08908_c9ee80b3","updated":"2016-06-15 15:26:38.000000000","message":"Done","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"749881600485ad6f28945fd9e015e774addd3fc4","unresolved":false,"context_lines":[{"line_number":84,"context_line":""},{"line_number":85,"context_line":"* IOMMU needs to be enabled in the Compute+SR-IOV nodes. After building or"},{"line_number":86,"context_line":"  downloading overcloud image, the boot parameters (intel_iommu\u003dpt or"},{"line_number":87,"context_line":"  amd_iommu\u003dpt, max_vfs) shall be added in the grub.conf of overcloud image for"},{"line_number":88,"context_line":"  Compute+SR-IOV node, based on the CPU type detected during introspection."},{"line_number":89,"context_line":"  We shall use virt-customize or libguestfs to do it."},{"line_number":90,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"9abb7d3a_0ec0b17b","line":87,"range":{"start_line":87,"start_character":25,"end_line":87,"end_character":75},"updated":"2016-05-30 12:10:29.000000000","message":"see below","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":17973,"name":"Ludovic Beliveau","email":"lbeliveau@gmail.com","username":"lbeliveau"},"change_message_id":"4b6efc98cc11b2c0a4d9da24509d24f85aed9471","unresolved":false,"context_lines":[{"line_number":84,"context_line":""},{"line_number":85,"context_line":"* IOMMU needs to be enabled in the Compute+SR-IOV nodes. After building or"},{"line_number":86,"context_line":"  downloading overcloud image, the boot parameters (intel_iommu\u003dpt or"},{"line_number":87,"context_line":"  amd_iommu\u003dpt, max_vfs) shall be added in the grub.conf of overcloud image for"},{"line_number":88,"context_line":"  Compute+SR-IOV node, based on the CPU type detected during introspection."},{"line_number":89,"context_line":"  We shall use virt-customize or libguestfs to do it."},{"line_number":90,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_3e7ba3f6","line":87,"range":{"start_line":87,"start_character":25,"end_line":87,"end_character":75},"in_reply_to":"9abb7d3a_0ec0b17b","updated":"2016-06-14 13:55:39.000000000","message":"max_vfs is deprecated with Intel driver\nSee https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c#n5753\n\nI don\u0027t know about other vendors.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":21908,"name":"Frank Zdarsky","email":"fzdarsky@redhat.com","username":"fzdarsky"},"change_message_id":"41ee749be2b101097cb90cc14d6365813ad7d044","unresolved":false,"context_lines":[{"line_number":88,"context_line":"  Compute+SR-IOV node, based on the CPU type detected during introspection."},{"line_number":89,"context_line":"  We shall use virt-customize or libguestfs to do it."},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"* The cores for host processes needs to be reserved, so that the remaining"},{"line_number":92,"context_line":"  cores (isolated cores) are not used by the general kernel balancing,"},{"line_number":93,"context_line":"  interrupt handling and scheduling algorithms. The isolated cores shall be"},{"line_number":94,"context_line":"  used for guest VMs."}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_ec13e35a","line":91,"range":{"start_line":91,"start_character":2,"end_line":91,"end_character":51},"updated":"2016-06-06 10:16:39.000000000","message":"This should probably be implemented in a way that it may be used/configured independently of SR-IOV, too.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":88,"context_line":"  Compute+SR-IOV node, based on the CPU type detected during introspection."},{"line_number":89,"context_line":"  We shall use virt-customize or libguestfs to do it."},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"* The cores for host processes needs to be reserved, so that the remaining"},{"line_number":92,"context_line":"  cores (isolated cores) are not used by the general kernel balancing,"},{"line_number":93,"context_line":"  interrupt handling and scheduling algorithms. The isolated cores shall be"},{"line_number":94,"context_line":"  used for guest VMs."}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_86e20900","line":91,"range":{"start_line":91,"start_character":2,"end_line":91,"end_character":51},"in_reply_to":"7aa08908_3be7c3e5","updated":"2016-06-15 15:26:38.000000000","message":"yes, https://bugs.launchpad.net/tripleo/+bug/1589929","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":21626,"name":"Ricardo","email":"rnoriega@redhat.com","username":"rnoriega"},"change_message_id":"7505f9209326412b3e68536c3c2155939d77f53c","unresolved":false,"context_lines":[{"line_number":88,"context_line":"  Compute+SR-IOV node, based on the CPU type detected during introspection."},{"line_number":89,"context_line":"  We shall use virt-customize or libguestfs to do it."},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"* The cores for host processes needs to be reserved, so that the remaining"},{"line_number":92,"context_line":"  cores (isolated cores) are not used by the general kernel balancing,"},{"line_number":93,"context_line":"  interrupt handling and scheduling algorithms. The isolated cores shall be"},{"line_number":94,"context_line":"  used for guest VMs."}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_3be7c3e5","line":91,"range":{"start_line":91,"start_character":2,"end_line":91,"end_character":51},"in_reply_to":"7aa08908_607dfdb0","updated":"2016-06-10 11:36:22.000000000","message":"Does a separate bug take Hugepages out of the scope of this spec?","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":88,"context_line":"  Compute+SR-IOV node, based on the CPU type detected during introspection."},{"line_number":89,"context_line":"  We shall use virt-customize or libguestfs to do it."},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"* The cores for host processes needs to be reserved, so that the remaining"},{"line_number":92,"context_line":"  cores (isolated cores) are not used by the general kernel balancing,"},{"line_number":93,"context_line":"  interrupt handling and scheduling algorithms. The isolated cores shall be"},{"line_number":94,"context_line":"  used for guest VMs."}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_e6182d21","line":91,"range":{"start_line":91,"start_character":2,"end_line":91,"end_character":51},"in_reply_to":"7aa08908_ec13e35a","updated":"2016-06-15 15:26:38.000000000","message":"Done","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":18904,"name":"Karthik S","email":"ksundara@redhat.com","username":"karthiks"},"change_message_id":"83936ffa0ebc414585eff862c0f1c2b1c5d54b98","unresolved":false,"context_lines":[{"line_number":88,"context_line":"  Compute+SR-IOV node, based on the CPU type detected during introspection."},{"line_number":89,"context_line":"  We shall use virt-customize or libguestfs to do it."},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"* The cores for host processes needs to be reserved, so that the remaining"},{"line_number":92,"context_line":"  cores (isolated cores) are not used by the general kernel balancing,"},{"line_number":93,"context_line":"  interrupt handling and scheduling algorithms. The isolated cores shall be"},{"line_number":94,"context_line":"  used for guest VMs."}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_607dfdb0","line":91,"range":{"start_line":91,"start_character":2,"end_line":91,"end_character":51},"in_reply_to":"7aa08908_ec13e35a","updated":"2016-06-07 10:47:30.000000000","message":"as said above, we will create a seperate bug","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"749881600485ad6f28945fd9e015e774addd3fc4","unresolved":false,"context_lines":[{"line_number":102,"context_line":"  The default case shall use core “ZERO” and its sibling hyperthread (if hyper-"},{"line_number":103,"context_line":"  threading is activated)."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"  For example, if core “ZERO” needs to be reserved for host processes on a node"},{"line_number":106,"context_line":"  with 8 cores, without hyperthreading, then the boot parameters shall have “"},{"line_number":107,"context_line":"  isolcpus\u003d1-7 nohz_full\u003d1-7 rcu_nocs\u003d1-7”."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"* SR-IOV drivers shall be loaded during bootup via persistent module loading"},{"line_number":110,"context_line":"  scripts. These persistent module loading scripts shall be created by the"}],"source_content_type":"text/x-rst","patch_set":6,"id":"9abb7d3a_cecd09b9","line":107,"range":{"start_line":105,"start_character":0,"end_line":107,"end_character":43},"updated":"2016-05-30 12:10:29.000000000","message":"Does it imply that we might end up with several customized overcloud images if we have nodes with different number of CPUs? And then we\u0027ll have different flavors for them and will have to use profile matching to distinguish?\n\nWhat if instead we customize the grub kernel command line on first boot via cloud-init?","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":102,"context_line":"  The default case shall use core “ZERO” and its sibling hyperthread (if hyper-"},{"line_number":103,"context_line":"  threading is activated)."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"  For example, if core “ZERO” needs to be reserved for host processes on a node"},{"line_number":106,"context_line":"  with 8 cores, without hyperthreading, then the boot parameters shall have “"},{"line_number":107,"context_line":"  isolcpus\u003d1-7 nohz_full\u003d1-7 rcu_nocs\u003d1-7”."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"* SR-IOV drivers shall be loaded during bootup via persistent module loading"},{"line_number":110,"context_line":"  scripts. These persistent module loading scripts shall be created by the"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_a693c55b","line":107,"range":{"start_line":105,"start_character":0,"end_line":107,"end_character":43},"in_reply_to":"7aa08908_4c3157a2","updated":"2016-06-15 15:26:38.000000000","message":"Done","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":102,"context_line":"  The default case shall use core “ZERO” and its sibling hyperthread (if hyper-"},{"line_number":103,"context_line":"  threading is activated)."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"  For example, if core “ZERO” needs to be reserved for host processes on a node"},{"line_number":106,"context_line":"  with 8 cores, without hyperthreading, then the boot parameters shall have “"},{"line_number":107,"context_line":"  isolcpus\u003d1-7 nohz_full\u003d1-7 rcu_nocs\u003d1-7”."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"* SR-IOV drivers shall be loaded during bootup via persistent module loading"},{"line_number":110,"context_line":"  scripts. These persistent module loading scripts shall be created by the"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_6680bdf8","line":107,"range":{"start_line":105,"start_character":0,"end_line":107,"end_character":43},"in_reply_to":"7aa08908_8b6ff4fa","updated":"2016-06-15 15:26:38.000000000","message":"Done","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":102,"context_line":"  The default case shall use core “ZERO” and its sibling hyperthread (if hyper-"},{"line_number":103,"context_line":"  threading is activated)."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"  For example, if core “ZERO” needs to be reserved for host processes on a node"},{"line_number":106,"context_line":"  with 8 cores, without hyperthreading, then the boot parameters shall have “"},{"line_number":107,"context_line":"  isolcpus\u003d1-7 nohz_full\u003d1-7 rcu_nocs\u003d1-7”."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"* SR-IOV drivers shall be loaded during bootup via persistent module loading"},{"line_number":110,"context_line":"  scripts. These persistent module loading scripts shall be created by the"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_c69a516e","line":107,"range":{"start_line":105,"start_character":0,"end_line":107,"end_character":43},"in_reply_to":"7aa08908_c042e30f","updated":"2016-06-15 15:26:38.000000000","message":"Done","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":17280,"name":"Tim Rozet","email":"trozet@redhat.com","username":"trozet"},"change_message_id":"2b6eb63d4a1ed89ccbb96baea0685e335e1a92ea","unresolved":false,"context_lines":[{"line_number":102,"context_line":"  The default case shall use core “ZERO” and its sibling hyperthread (if hyper-"},{"line_number":103,"context_line":"  threading is activated)."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"  For example, if core “ZERO” needs to be reserved for host processes on a node"},{"line_number":106,"context_line":"  with 8 cores, without hyperthreading, then the boot parameters shall have “"},{"line_number":107,"context_line":"  isolcpus\u003d1-7 nohz_full\u003d1-7 rcu_nocs\u003d1-7”."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"* SR-IOV drivers shall be loaded during bootup via persistent module loading"},{"line_number":110,"context_line":"  scripts. These persistent module loading scripts shall be created by the"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_8b6ff4fa","line":107,"range":{"start_line":105,"start_character":0,"end_line":107,"end_character":43},"in_reply_to":"7aa08908_c042e30f","updated":"2016-06-08 16:40:19.000000000","message":"I think to fix this properly, patches to ironic-python-agent should be committed.  In OPNFV we are able to set kernel args with this hack: https://github.com/trozet/ironic-python-agent/blob/opnfv_kernel/ironic_python_agent/extensions/image.py#L129","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":21908,"name":"Frank Zdarsky","email":"fzdarsky@redhat.com","username":"fzdarsky"},"change_message_id":"41ee749be2b101097cb90cc14d6365813ad7d044","unresolved":false,"context_lines":[{"line_number":102,"context_line":"  The default case shall use core “ZERO” and its sibling hyperthread (if hyper-"},{"line_number":103,"context_line":"  threading is activated)."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"  For example, if core “ZERO” needs to be reserved for host processes on a node"},{"line_number":106,"context_line":"  with 8 cores, without hyperthreading, then the boot parameters shall have “"},{"line_number":107,"context_line":"  isolcpus\u003d1-7 nohz_full\u003d1-7 rcu_nocs\u003d1-7”."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"* SR-IOV drivers shall be loaded during bootup via persistent module loading"},{"line_number":110,"context_line":"  scripts. These persistent module loading scripts shall be created by the"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_4c3157a2","line":107,"range":{"start_line":105,"start_character":0,"end_line":107,"end_character":43},"in_reply_to":"9abb7d3a_cecd09b9","updated":"2016-06-06 10:16:39.000000000","message":"+1. It\u0027d be good to avoid manipulating images and creating a different image for each combination of HW and configuration.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":18904,"name":"Karthik S","email":"ksundara@redhat.com","username":"karthiks"},"change_message_id":"83936ffa0ebc414585eff862c0f1c2b1c5d54b98","unresolved":false,"context_lines":[{"line_number":102,"context_line":"  The default case shall use core “ZERO” and its sibling hyperthread (if hyper-"},{"line_number":103,"context_line":"  threading is activated)."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"  For example, if core “ZERO” needs to be reserved for host processes on a node"},{"line_number":106,"context_line":"  with 8 cores, without hyperthreading, then the boot parameters shall have “"},{"line_number":107,"context_line":"  isolcpus\u003d1-7 nohz_full\u003d1-7 rcu_nocs\u003d1-7”."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"* SR-IOV drivers shall be loaded during bootup via persistent module loading"},{"line_number":110,"context_line":"  scripts. These persistent module loading scripts shall be created by the"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_c042e30f","line":107,"range":{"start_line":105,"start_character":0,"end_line":107,"end_character":43},"in_reply_to":"9abb7d3a_cecd09b9","updated":"2016-06-07 10:47:30.000000000","message":"Thanks for suggesting cloud-init. We think, its possible  to provide one more THT template for cloud-init, where the operator can override the template. The template shall specify the number of CPU\u0027s to be reserved. During the deploy of compute nodes, the cloud-config shall by default call a first boot script which will discover the number of CPU\u0027s and configure the grub.  This approach would require a reboot of compute nodes.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":102,"context_line":"  The default case shall use core “ZERO” and its sibling hyperthread (if hyper-"},{"line_number":103,"context_line":"  threading is activated)."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"  For example, if core “ZERO” needs to be reserved for host processes on a node"},{"line_number":106,"context_line":"  with 8 cores, without hyperthreading, then the boot parameters shall have “"},{"line_number":107,"context_line":"  isolcpus\u003d1-7 nohz_full\u003d1-7 rcu_nocs\u003d1-7”."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"* SR-IOV drivers shall be loaded during bootup via persistent module loading"},{"line_number":110,"context_line":"  scripts. These persistent module loading scripts shall be created by the"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_e6c66d67","line":107,"range":{"start_line":105,"start_character":0,"end_line":107,"end_character":43},"in_reply_to":"9abb7d3a_cecd09b9","updated":"2016-06-15 15:26:38.000000000","message":"Yes agreed, this led to a RFE - https://bugs.launchpad.net/ironic/+bug/1592329 which would eventually be a spec file","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":12398,"name":"Dan Sneddon","email":"dsneddon@redhat.com","username":"dsneddon"},"change_message_id":"644f9cc4fa048c2ab5c991e084a05a6305c78723","unresolved":false,"context_lines":[{"line_number":110,"context_line":"  scripts. These persistent module loading scripts shall be created by the"},{"line_number":111,"context_line":"  puppet manifests."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"* T-H-T shall provide the below details"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"  * max number of VF\u0027s supported, Product ID, Vendor ID of  SR-IOV NICs"},{"line_number":116,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"9abb7d3a_31cc2c35","line":113,"range":{"start_line":113,"start_character":2,"end_line":113,"end_character":39},"updated":"2016-05-27 17:50:48.000000000","message":"Perhaps you should mention how T-H-T knows these details. Is this entered manually into Heat environment files? Is there an automated process that collects these details through introspection?","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":110,"context_line":"  scripts. These persistent module loading scripts shall be created by the"},{"line_number":111,"context_line":"  puppet manifests."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"* T-H-T shall provide the below details"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"  * max number of VF\u0027s supported, Product ID, Vendor ID of  SR-IOV NICs"},{"line_number":116,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_e6f02d94","line":113,"range":{"start_line":113,"start_character":2,"end_line":113,"end_character":39},"in_reply_to":"7aa08908_4ca037f5","updated":"2016-06-15 15:26:38.000000000","message":"+1","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"749881600485ad6f28945fd9e015e774addd3fc4","unresolved":false,"context_lines":[{"line_number":110,"context_line":"  scripts. These persistent module loading scripts shall be created by the"},{"line_number":111,"context_line":"  puppet manifests."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"* T-H-T shall provide the below details"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"  * max number of VF\u0027s supported, Product ID, Vendor ID of  SR-IOV NICs"},{"line_number":116,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"9abb7d3a_6eba1d25","line":113,"range":{"start_line":113,"start_character":2,"end_line":113,"end_character":39},"in_reply_to":"9abb7d3a_31cc2c35","updated":"2016-05-30 12:10:29.000000000","message":"+1, it\u0027s not completely clear.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":110,"context_line":"  scripts. These persistent module loading scripts shall be created by the"},{"line_number":111,"context_line":"  puppet manifests."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"* T-H-T shall provide the below details"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"  * max number of VF\u0027s supported, Product ID, Vendor ID of  SR-IOV NICs"},{"line_number":116,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_0663b942","line":113,"range":{"start_line":113,"start_character":2,"end_line":113,"end_character":39},"in_reply_to":"9abb7d3a_31cc2c35","updated":"2016-06-15 15:26:38.000000000","message":"Done","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":18904,"name":"Karthik S","email":"ksundara@redhat.com","username":"karthiks"},"change_message_id":"83936ffa0ebc414585eff862c0f1c2b1c5d54b98","unresolved":false,"context_lines":[{"line_number":110,"context_line":"  scripts. These persistent module loading scripts shall be created by the"},{"line_number":111,"context_line":"  puppet manifests."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"* T-H-T shall provide the below details"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"  * max number of VF\u0027s supported, Product ID, Vendor ID of  SR-IOV NICs"},{"line_number":116,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_4ca037f5","line":113,"range":{"start_line":113,"start_character":2,"end_line":113,"end_character":39},"in_reply_to":"9abb7d3a_31cc2c35","updated":"2016-06-07 10:47:30.000000000","message":"Yes, these details shall be entered manually in the HEAT environment files","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":110,"context_line":"  scripts. These persistent module loading scripts shall be created by the"},{"line_number":111,"context_line":"  puppet manifests."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"* T-H-T shall provide the below details"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"  * max number of VF\u0027s supported, Product ID, Vendor ID of  SR-IOV NICs"},{"line_number":116,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_6658bd8b","line":113,"range":{"start_line":113,"start_character":2,"end_line":113,"end_character":39},"in_reply_to":"9abb7d3a_6eba1d25","updated":"2016-06-15 15:26:38.000000000","message":"Done","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":12398,"name":"Dan Sneddon","email":"dsneddon@redhat.com","username":"dsneddon"},"change_message_id":"644f9cc4fa048c2ab5c991e084a05a6305c78723","unresolved":false,"context_lines":[{"line_number":119,"context_line":""},{"line_number":120,"context_line":"  * The VLAN range for the network using SR-IOV"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"* In the network node, puppet shall"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"  * enable sriovnicswitch in the /etc/neutron/plugin.ini file"},{"line_number":125,"context_line":"    mechanism_drivers \u003d openvswitch, sriovnicswitch"}],"source_content_type":"text/x-rst","patch_set":6,"id":"9abb7d3a_d102003e","line":122,"range":{"start_line":122,"start_character":2,"end_line":122,"end_character":21},"updated":"2016-05-27 17:50:48.000000000","message":"This would be better phrased as \"On the nodes running the Neutron server\", since it may be more than one node and it may not be a node that is separate from the Controllers.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":18904,"name":"Karthik S","email":"ksundara@redhat.com","username":"karthiks"},"change_message_id":"83936ffa0ebc414585eff862c0f1c2b1c5d54b98","unresolved":false,"context_lines":[{"line_number":119,"context_line":""},{"line_number":120,"context_line":"  * The VLAN range for the network using SR-IOV"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"* In the network node, puppet shall"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"  * enable sriovnicswitch in the /etc/neutron/plugin.ini file"},{"line_number":125,"context_line":"    mechanism_drivers \u003d openvswitch, sriovnicswitch"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_acca7b9f","line":122,"range":{"start_line":122,"start_character":2,"end_line":122,"end_character":21},"in_reply_to":"9abb7d3a_d102003e","updated":"2016-06-07 10:47:30.000000000","message":"Will change it accordingly","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10910,"name":"Stig Telfer","email":"stig.openstack@telfer.org","username":"stigtelfer"},"change_message_id":"9533957b17d7aaa8c0d4bf7b2acf51f8d79afe5d","unresolved":false,"context_lines":[{"line_number":162,"context_line":"  * To reserve the memory for host processes"},{"line_number":163,"context_line":"    Reserved_host_memory_mb \u003d \u003cmemory reserved for host processes\u003e"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"  * Associate the available VFs with each physical network"},{"line_number":166,"context_line":"    Ex: pci_passthrough_whitelist\u003d{\"devname\": \"enp5s0f1\","},{"line_number":167,"context_line":"    \"physical_network\":\"fabric0\"}"},{"line_number":168,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_983e2fb6","line":165,"range":{"start_line":165,"start_character":4,"end_line":165,"end_character":31},"updated":"2016-06-14 13:01:39.000000000","message":"Two possible issues here.  Firstly there may be reasons why we might not want to instantiate all available VFs, for example if it leads to performance degradation.  Secondly, we may not want to pass all VFs through to Nova.  We have a use case in which one VF is retained within the host OS of the Nova compute node for storage traffic.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":162,"context_line":"  * To reserve the memory for host processes"},{"line_number":163,"context_line":"    Reserved_host_memory_mb \u003d \u003cmemory reserved for host processes\u003e"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"  * Associate the available VFs with each physical network"},{"line_number":166,"context_line":"    Ex: pci_passthrough_whitelist\u003d{\"devname\": \"enp5s0f1\","},{"line_number":167,"context_line":"    \"physical_network\":\"fabric0\"}"},{"line_number":168,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_39cd3ab8","line":165,"range":{"start_line":165,"start_character":4,"end_line":165,"end_character":31},"in_reply_to":"7aa08908_983e2fb6","updated":"2016-06-15 15:26:38.000000000","message":"thanks for asking - we can pass List of VF\u0027s needed to be excluded as [sriov_nic]/exclude_devices. THT should be able to configure this.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":12171,"name":"Moshe Levi","email":"moshele@nvidia.com","username":"moshele"},"change_message_id":"bd9732f11c6bdf8cb1e8e99e895ca6d40a636968","unresolved":false,"context_lines":[{"line_number":175,"context_line":""},{"line_number":176,"context_line":"* Puppet shall"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"  * Enable NoopFirewallDriver in the /etc/neutron/plugin.ini file."},{"line_number":179,"context_line":"    openstack-config --set /etc/neutron/plugin.ini securitygroup firewall_driver"},{"line_number":180,"context_line":"    neutron.agent.firewall.NoopFirewallDriver"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"  * Add mappings to the /etc/neutron/plugins/ml2/ml2_conf_sriov.ini file.  Ex:"},{"line_number":183,"context_line":"    physical_device_mappings \u003d fabric0:enp4s0f1"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_093528f6","line":180,"range":{"start_line":178,"start_character":4,"end_line":180,"end_character":45},"updated":"2016-06-07 14:49:46.000000000","message":"this should be only on the SR-IOV agent config, otherwise you will disable security groups for guest with normal ports","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":175,"context_line":""},{"line_number":176,"context_line":"* Puppet shall"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"  * Enable NoopFirewallDriver in the /etc/neutron/plugin.ini file."},{"line_number":179,"context_line":"    openstack-config --set /etc/neutron/plugin.ini securitygroup firewall_driver"},{"line_number":180,"context_line":"    neutron.agent.firewall.NoopFirewallDriver"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"  * Add mappings to the /etc/neutron/plugins/ml2/ml2_conf_sriov.ini file.  Ex:"},{"line_number":183,"context_line":"    physical_device_mappings \u003d fabric0:enp4s0f1"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_19d15e30","line":180,"range":{"start_line":178,"start_character":4,"end_line":180,"end_character":45},"in_reply_to":"7aa08908_093528f6","updated":"2016-06-15 15:26:38.000000000","message":"thanks for pointing, corrected.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":21626,"name":"Ricardo","email":"rnoriega@redhat.com","username":"rnoriega"},"change_message_id":"7505f9209326412b3e68536c3c2155939d77f53c","unresolved":false,"context_lines":[{"line_number":196,"context_line":"  * systemctl enable  neutron-sriov-nic-agent.service"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"  * systemctl start neutron-sriov-nic-agent.service"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":""},{"line_number":201,"context_line":"Alternatives"},{"line_number":202,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_cdb9a230","line":199,"updated":"2016-06-10 11:36:22.000000000","message":"Puppet shall configure the number of VFs defined per SR-IOV NIC with a service or a script located in rc.local. Example of systemd service would be (for one NIC):\n\nvi /usr/lib/systemd/system/enablevfs.service\n\n[Unit]\nDescription\u003dEnable SR-IOV virtual functions\n\n[Service]\nType\u003doneshot\nExecStart\u003d/bin/sh -c \"echo 8 \u003e /sys/bus/pci/devices/0000\\:01\\:00.1/sriov_numvfs\"\nRemainAfterExit\u003dyes\n\n[Install]\nWantedBy\u003dmulti-user.target","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":196,"context_line":"  * systemctl enable  neutron-sriov-nic-agent.service"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"  * systemctl start neutron-sriov-nic-agent.service"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":""},{"line_number":201,"context_line":"Alternatives"},{"line_number":202,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_390ffa89","line":199,"in_reply_to":"7aa08908_6d8463d2","updated":"2016-06-15 15:26:38.000000000","message":"+1","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":196,"context_line":"  * systemctl enable  neutron-sriov-nic-agent.service"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"  * systemctl start neutron-sriov-nic-agent.service"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":""},{"line_number":201,"context_line":"Alternatives"},{"line_number":202,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_b97c8ab6","line":199,"in_reply_to":"7aa08908_cdb9a230","updated":"2016-06-15 15:26:38.000000000","message":"I guess this is not yet the scope of the spec.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10910,"name":"Stig Telfer","email":"stig.openstack@telfer.org","username":"stigtelfer"},"change_message_id":"9533957b17d7aaa8c0d4bf7b2acf51f8d79afe5d","unresolved":false,"context_lines":[{"line_number":196,"context_line":"  * systemctl enable  neutron-sriov-nic-agent.service"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"  * systemctl start neutron-sriov-nic-agent.service"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":""},{"line_number":201,"context_line":"Alternatives"},{"line_number":202,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_6d8463d2","line":199,"in_reply_to":"7aa08908_cdb9a230","updated":"2016-06-14 13:01:39.000000000","message":"There are specific issues to be aware of with the ordering of startup events and the creation of SR-IOV VFs.  The Mellanox NIC driver can unload and reload during boot (triggered by openibd) if the loaded driver is found to be out of date.  For example, this can happen if OFED is installed on an overcloud image without creating an updated initrd.\n\nMellanox NIC firmware has an upper limit on the supported number of VFs.  That limit can extended up to the limits of the silicon by reprogramming firmware environment variables.  This requires a reset of the NIC for the change to take effect.\n\nConsideration is also needed about whether the SR-IOV VFs should be included in the mapping of enumerated NICs in the TripleO NIC config files.  We have a use case where one VF is not put into the Nova whitelist, but remains in the host OS and has configuration applied in the TripleO NIC config templates.  The VF needs to exist at the point where enumerated NICs are mapped to actual devices.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"749881600485ad6f28945fd9e015e774addd3fc4","unresolved":false,"context_lines":[{"line_number":203,"context_line":""},{"line_number":204,"context_line":"* The boot parameters could be configured via puppet (during overcloud"},{"line_number":205,"context_line":"  deployment) as well as virt-customize (after image building or downloading)."},{"line_number":206,"context_line":"  We\u0027ve selected the virt-customize option during image building, since"},{"line_number":207,"context_line":"  configuration via puppet would require a reboot."},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"Security impact"},{"line_number":210,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"9abb7d3a_ce5b49f5","line":207,"range":{"start_line":206,"start_character":0,"end_line":207,"end_character":50},"updated":"2016-05-30 12:10:29.000000000","message":"I\u0027m not convinced it\u0027s a compelling enough reason to start hacking on images, potentially producing many of them.","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"da7c333b44fd23dc0243c3f1c2428402e855e9c5","unresolved":false,"context_lines":[{"line_number":203,"context_line":""},{"line_number":204,"context_line":"* The boot parameters could be configured via puppet (during overcloud"},{"line_number":205,"context_line":"  deployment) as well as virt-customize (after image building or downloading)."},{"line_number":206,"context_line":"  We\u0027ve selected the virt-customize option during image building, since"},{"line_number":207,"context_line":"  configuration via puppet would require a reboot."},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"Security impact"},{"line_number":210,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_5910065a","line":207,"range":{"start_line":206,"start_character":0,"end_line":207,"end_character":50},"in_reply_to":"9abb7d3a_ce5b49f5","updated":"2016-06-15 15:26:38.000000000","message":"agreed, changed","commit_id":"39ca0d357273d1161e619be0b75e393878c33a7e"},{"author":{"_account_id":12171,"name":"Moshe Levi","email":"moshele@nvidia.com","username":"moshele"},"change_message_id":"da3a5b26c746867396a5a3de7bf5fc93fb5fe10c","unresolved":false,"context_lines":[{"line_number":123,"context_line":""},{"line_number":124,"context_line":"* Puppet shall"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"  * Enable NoopFirewallDriver in the"},{"line_number":127,"context_line":"    \u0027/etc/neutron/plugins/ml2/ml2_conf_sriov.ini\u0027 file."},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"    openstack-config --set /etc/neutron/plugins/ml2/ml2_conf_sriov.ini"},{"line_number":130,"context_line":"    securitygroup firewall_driver neutron.agent.firewall.NoopFirewallDriver"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"  * Add mappings to the /etc/neutron/plugins/ml2/ml2_conf_sriov.ini file.  Ex:"},{"line_number":133,"context_line":"    physical_device_mappings \u003d fabric0:enp4s0f1"},{"line_number":134,"context_line":"    In this example, fabric0 is the physical network, and enp4s0f1 is the"},{"line_number":135,"context_line":"    physical function"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"  * Configure neutron-sriov-nic-agent.service to use the ml2_conf_sriov.ini"},{"line_number":138,"context_line":"    file"},{"line_number":139,"context_line":"    ExecStart\u003d/usr/bin/neutron-sriov-nic-agent --config-file"},{"line_number":140,"context_line":"    /usr/share/neutron/neutron-dist.conf --config-file"},{"line_number":141,"context_line":"    /etc/neutron/neutron.conf --log-file /var/log/neutron/sriov-nic-agent.log"},{"line_number":142,"context_line":"    --config-file /etc/neutron/plugins/ml2/ml2_conf_sriov.ini"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"* Puppet shall start the SR-IOV agent"},{"line_number":145,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"3aaa91ec_a26c5f9d","line":142,"range":{"start_line":126,"start_character":0,"end_line":142,"end_character":61},"updated":"2016-06-21 19:49:27.000000000","message":"neutron config-generator put the agent configuration under\nsriov_agent.ini.\nhttps://github.com/openstack/neutron/blob/dd4f1253c951d78a5b497680dfb31317ba469a58/etc/oslo-config-generator/sriov_agent.ini#L2","commit_id":"610ca324056fd4fac3fbfa1cb6e79b1a11af8228"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"9ad38409d0e8d3c6fc891b016b7a2db27069244c","unresolved":false,"context_lines":[{"line_number":123,"context_line":""},{"line_number":124,"context_line":"* Puppet shall"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"  * Enable NoopFirewallDriver in the"},{"line_number":127,"context_line":"    \u0027/etc/neutron/plugins/ml2/ml2_conf_sriov.ini\u0027 file."},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"    openstack-config --set /etc/neutron/plugins/ml2/ml2_conf_sriov.ini"},{"line_number":130,"context_line":"    securitygroup firewall_driver neutron.agent.firewall.NoopFirewallDriver"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"  * Add mappings to the /etc/neutron/plugins/ml2/ml2_conf_sriov.ini file.  Ex:"},{"line_number":133,"context_line":"    physical_device_mappings \u003d fabric0:enp4s0f1"},{"line_number":134,"context_line":"    In this example, fabric0 is the physical network, and enp4s0f1 is the"},{"line_number":135,"context_line":"    physical function"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"  * Configure neutron-sriov-nic-agent.service to use the ml2_conf_sriov.ini"},{"line_number":138,"context_line":"    file"},{"line_number":139,"context_line":"    ExecStart\u003d/usr/bin/neutron-sriov-nic-agent --config-file"},{"line_number":140,"context_line":"    /usr/share/neutron/neutron-dist.conf --config-file"},{"line_number":141,"context_line":"    /etc/neutron/neutron.conf --log-file /var/log/neutron/sriov-nic-agent.log"},{"line_number":142,"context_line":"    --config-file /etc/neutron/plugins/ml2/ml2_conf_sriov.ini"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"* Puppet shall start the SR-IOV agent"},{"line_number":145,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"3aaa91ec_90cdbb5f","line":142,"range":{"start_line":126,"start_character":0,"end_line":142,"end_character":61},"in_reply_to":"3aaa91ec_a26c5f9d","updated":"2016-06-23 13:59:12.000000000","message":"Done","commit_id":"610ca324056fd4fac3fbfa1cb6e79b1a11af8228"},{"author":{"_account_id":17973,"name":"Ludovic Beliveau","email":"lbeliveau@gmail.com","username":"lbeliveau"},"change_message_id":"748cfd0ea619a02b2b9323840fdb31b100d2ce3c","unresolved":false,"context_lines":[{"line_number":126,"context_line":"* Puppet shall"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"  * Setup max no of VF\u0027s to be configured"},{"line_number":129,"context_line":"    echo max_vf \u003e /sys/bus/pci/devices/.../sriov_numvfs"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"  * Enable NoopFirewallDriver in the"},{"line_number":132,"context_line":"    \u0027/etc/neutron/plugins/ml2/sriov_agent.ini\u0027 file."}],"source_content_type":"text/x-rst","patch_set":11,"id":"3aaa91ec_924103ac","line":129,"updated":"2016-06-24 13:50:27.000000000","message":"I believe this is ok for now.  But some users might want to specify the number of vfs.  Since this is configurable in the driver I\u0027m guessing always having max vfs might have an impact on the vfs (performance for e.g.).  This would need to be validated.","commit_id":"d2acf2e5d28931e5f34b703c3fbd7ba22447dd3a"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"1fc93177c8ed604a581d698b83a92d1daeaf221d","unresolved":false,"context_lines":[{"line_number":126,"context_line":"* Puppet shall"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"  * Setup max no of VF\u0027s to be configured"},{"line_number":129,"context_line":"    echo max_vf \u003e /sys/bus/pci/devices/.../sriov_numvfs"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"  * Enable NoopFirewallDriver in the"},{"line_number":132,"context_line":"    \u0027/etc/neutron/plugins/ml2/sriov_agent.ini\u0027 file."}],"source_content_type":"text/x-rst","patch_set":11,"id":"3aaa91ec_9c508660","line":129,"in_reply_to":"3aaa91ec_924103ac","updated":"2016-06-28 06:27:22.000000000","message":"max_vfs is a value which is configurable by the operator via THT.","commit_id":"d2acf2e5d28931e5f34b703c3fbd7ba22447dd3a"},{"author":{"_account_id":4328,"name":"Steven Hardy","email":"steven.hardy@suse.com","username":"shardy"},"change_message_id":"840b880157ceace05c074a8fab45297f00e7d599","unresolved":false,"context_lines":[{"line_number":222,"context_line":""},{"line_number":223,"context_line":"* We are dependent on composable roles as SR-IOV specific changes is something"},{"line_number":224,"context_line":"  we would require on specific compute nodes and not generally on all the"},{"line_number":225,"context_line":"  nodes."},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"* We are dependent on nova and ironic support for passing grub parameters. IPA"},{"line_number":228,"context_line":"  (Ironic Python Agent) shall be writing the boot params in the boot loader."}],"source_content_type":"text/x-rst","patch_set":11,"id":"3aaa91ec_bf52cd10","line":225,"range":{"start_line":225,"start_character":7,"end_line":225,"end_character":8},"updated":"2016-06-27 09:17:31.000000000","message":"You might like to link the blueprint that tracks adding fully composable/custom roles:\n\nhttps://blueprints.launchpad.net/tripleo/+spec/custom-roles","commit_id":"d2acf2e5d28931e5f34b703c3fbd7ba22447dd3a"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"1fc93177c8ed604a581d698b83a92d1daeaf221d","unresolved":false,"context_lines":[{"line_number":222,"context_line":""},{"line_number":223,"context_line":"* We are dependent on composable roles as SR-IOV specific changes is something"},{"line_number":224,"context_line":"  we would require on specific compute nodes and not generally on all the"},{"line_number":225,"context_line":"  nodes."},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"* We are dependent on nova and ironic support for passing grub parameters. IPA"},{"line_number":228,"context_line":"  (Ironic Python Agent) shall be writing the boot params in the boot loader."}],"source_content_type":"text/x-rst","patch_set":11,"id":"3aaa91ec_7cd03aca","line":225,"range":{"start_line":225,"start_character":7,"end_line":225,"end_character":8},"in_reply_to":"3aaa91ec_bf52cd10","updated":"2016-06-28 06:27:22.000000000","message":"Thanks, added","commit_id":"d2acf2e5d28931e5f34b703c3fbd7ba22447dd3a"},{"author":{"_account_id":10910,"name":"Stig Telfer","email":"stig.openstack@telfer.org","username":"stigtelfer"},"change_message_id":"fd8cbe0ecc9a0a501777e19fc589ea4ea58385bb","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  swift blob -"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"  * SR-IOV capable NICs:"},{"line_number":51,"context_line":"    Shall read /sys/bus/pci/devices/.../sriov_totalvfs and check if its non"},{"line_number":52,"context_line":"    zero, inorder to identify if the NIC is SR-IOV capable"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"  * VT-d or IOMMU support in BIOS:"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3aaa91ec_cb2671cd","line":51,"range":{"start_line":51,"start_character":15,"end_line":51,"end_character":54},"updated":"2016-06-29 13:58:44.000000000","message":"Some NICs present SR-IOV capabilities only if you have a driver loaded that supports that capability.  It could cause difficult-to-diagnose issues with enabling SR-IOV if the test for it depends on the drivers and driver versions built in to the IPA ramdisk.  \n\nI suggest you add a parsing of the configuration space registers of each PCI device to look for an SR-IOV extended capability descriptor.  For example:\n\n# lspci -v -s 01:00.0\n01:00.0 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]\n\tSubsystem: Mellanox Technologies Device 0006\n\tFlags: bus master, fast devsel, latency 0\n\tMemory at 90000000 (64-bit, prefetchable) [size\u003d32M]\n\tExpansion ROM at 95000000 [disabled] [size\u003d1M]\n\tCapabilities: [60] Express Endpoint, MSI 00\n\tCapabilities: [48] Vital Product Data\n\tCapabilities: [9c] MSI-X: Enable+ Count\u003d64 Masked-\n\tCapabilities: [c0] Vendor Specific Information: Len\u003d18 \u003c?\u003e\n\tCapabilities: [40] Power Management version 3\n\tCapabilities: [100] Alternative Routing-ID Interpretation (ARI)\n\tCapabilities: [110] Advanced Error Reporting\n\tCapabilities: [180] Single Root I/O Virtualization (SR-IOV)\n\tCapabilities: [1c0] #19\n\tKernel driver in use: mlx5_core","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":10910,"name":"Stig Telfer","email":"stig.openstack@telfer.org","username":"stigtelfer"},"change_message_id":"8b71cdafabb2c924ff73741ed888707e355dffa4","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  swift blob -"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"  * SR-IOV capable NICs:"},{"line_number":51,"context_line":"    Shall read /sys/bus/pci/devices/.../sriov_totalvfs and check if its non"},{"line_number":52,"context_line":"    zero, inorder to identify if the NIC is SR-IOV capable"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"  * VT-d or IOMMU support in BIOS:"}],"source_content_type":"text/x-rst","patch_set":12,"id":"1aa78d24_4e38afd3","line":51,"range":{"start_line":51,"start_character":15,"end_line":51,"end_character":54},"in_reply_to":"1aa78d24_6f18121f","updated":"2016-07-12 09:33:56.000000000","message":"HI Sanjay, I think devices have to support this descriptor.  This is how they tell the BIOS/OS they have SR-IOV capabilities.  I\u0027d be surprised if there was an SR-IOV capable device out there that was not compliant in this way.\n\nThis data is from PCI configuration space, it only requires a kernel with PCI support (a given).  No hardware-specific drivers are needed.","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"5d5658e248818569827c1ab40888dd5a12a31e65","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  swift blob -"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"  * SR-IOV capable NICs:"},{"line_number":51,"context_line":"    Shall read /sys/bus/pci/devices/.../sriov_totalvfs and check if its non"},{"line_number":52,"context_line":"    zero, inorder to identify if the NIC is SR-IOV capable"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"  * VT-d or IOMMU support in BIOS:"}],"source_content_type":"text/x-rst","patch_set":12,"id":"1aa78d24_6f18121f","line":51,"range":{"start_line":51,"start_character":15,"end_line":51,"end_character":54},"in_reply_to":"3aaa91ec_cb2671cd","updated":"2016-07-12 08:59:09.000000000","message":"There are two contentions\n1. Whether all sr-iov nics support the extended capability descriptor.\n2. Does #1 require proper drivers in IPA.","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"5347d93ec97e2467f0656d7ca983cbd64ac46b45","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":"  * Max VF\u0027s to be configured for each SR-IOV nics."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"  * the physical network name, which shall be used for whitelisting the NICs"},{"line_number":78,"context_line":"    for SR-IOV"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"  * The VLAN range for the network using SR-IOV"}],"source_content_type":"text/x-rst","patch_set":12,"id":"1aa78d24_b908b12e","line":77,"updated":"2016-07-05 17:35:38.000000000","message":"You probably want to aim for multiple physical network to NIC mappings.","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"5d5658e248818569827c1ab40888dd5a12a31e65","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":"  * Max VF\u0027s to be configured for each SR-IOV nics."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"  * the physical network name, which shall be used for whitelisting the NICs"},{"line_number":78,"context_line":"    for SR-IOV"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"  * The VLAN range for the network using SR-IOV"}],"source_content_type":"text/x-rst","patch_set":12,"id":"1aa78d24_cfe946b9","line":77,"in_reply_to":"1aa78d24_b908b12e","updated":"2016-07-12 08:59:09.000000000","message":"THT for pci_passthrough_whitelist already handles this. We will rephrase the above.","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"5347d93ec97e2467f0656d7ca983cbd64ac46b45","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    “15b3:1004,8086:10ca” in /etc/neutron/plugins/ml2/ml2_conf_sriov.ini"},{"line_number":96,"context_line":"    supported_pci_vendor_devs \u003d 15b3:1004,8086:10ca,\u003cvendor-id:product-id\u003e"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"  * Configure neutron-server.service to use the ml2_conf_sriov.ini file"},{"line_number":99,"context_line":"    [Service] Type\u003dnotify User\u003dneutron ExecStart\u003d/usr/bin/neutron-server"},{"line_number":100,"context_line":"    --config-file /usr/share/neutron/neutron-dist.conf --config-file"},{"line_number":101,"context_line":"    /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini"}],"source_content_type":"text/x-rst","patch_set":12,"id":"1aa78d24_3c866f65","line":98,"updated":"2016-07-05 17:35:38.000000000","message":"We only need to drop the ml2_conf_sriov.ini file in the appropriate conf.d directory then we can skip modifying the service configuration.","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"5d5658e248818569827c1ab40888dd5a12a31e65","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    “15b3:1004,8086:10ca” in /etc/neutron/plugins/ml2/ml2_conf_sriov.ini"},{"line_number":96,"context_line":"    supported_pci_vendor_devs \u003d 15b3:1004,8086:10ca,\u003cvendor-id:product-id\u003e"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"  * Configure neutron-server.service to use the ml2_conf_sriov.ini file"},{"line_number":99,"context_line":"    [Service] Type\u003dnotify User\u003dneutron ExecStart\u003d/usr/bin/neutron-server"},{"line_number":100,"context_line":"    --config-file /usr/share/neutron/neutron-dist.conf --config-file"},{"line_number":101,"context_line":"    /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini"}],"source_content_type":"text/x-rst","patch_set":12,"id":"1aa78d24_6fd93222","line":98,"in_reply_to":"1aa78d24_3c866f65","updated":"2016-07-12 08:59:09.000000000","message":"Done","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":10910,"name":"Stig Telfer","email":"stig.openstack@telfer.org","username":"stigtelfer"},"change_message_id":"fd8cbe0ecc9a0a501777e19fc589ea4ea58385bb","unresolved":false,"context_lines":[{"line_number":110,"context_line":"* On each COMPUTE+SRIOV node, puppet shall configure /etc/nova/nova.conf"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"  * Associate the available VFs with each physical network"},{"line_number":113,"context_line":"    Ex: pci_passthrough_whitelist\u003d{\"devname\": \"enp5s0f1\","},{"line_number":114,"context_line":"    \"physical_network\":\"fabric0\"}"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"    PCI passthrough whitelist entries use the following syntax: [\"device_id\":"},{"line_number":117,"context_line":"    \"\u003cid\u003e\",] [\"product_id\": \"\u003cid\u003e\",] [\"address\":"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3aaa91ec_3632f8a7","line":114,"range":{"start_line":113,"start_character":1,"end_line":114,"end_character":33},"updated":"2016-06-29 13:58:44.000000000","message":"Have the network interface names for SR-IOV VFs for passthrough been defined anywhere in the configuration?  There\u0027s a potential portability issue with distribution interface naming conventions.  It\u0027s still more user-friendly than using PCI slot \u0026 function.  Would the nic1-style enumerated names used in NIC templates be available here?","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":12398,"name":"Dan Sneddon","email":"dsneddon@redhat.com","username":"dsneddon"},"change_message_id":"4b576195731d46c5ffec8945b1f4143f9a9ddb35","unresolved":false,"context_lines":[{"line_number":110,"context_line":"* On each COMPUTE+SRIOV node, puppet shall configure /etc/nova/nova.conf"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"  * Associate the available VFs with each physical network"},{"line_number":113,"context_line":"    Ex: pci_passthrough_whitelist\u003d{\"devname\": \"enp5s0f1\","},{"line_number":114,"context_line":"    \"physical_network\":\"fabric0\"}"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"    PCI passthrough whitelist entries use the following syntax: [\"device_id\":"},{"line_number":117,"context_line":"    \"\u003cid\u003e\",] [\"product_id\": \"\u003cid\u003e\",] [\"address\":"}],"source_content_type":"text/x-rst","patch_set":12,"id":"1aa78d24_b3cd6a5f","line":114,"range":{"start_line":113,"start_character":1,"end_line":114,"end_character":33},"in_reply_to":"3aaa91ec_3632f8a7","updated":"2016-07-05 18:34:19.000000000","message":"Since the nic1-style enumerations are done entirely inside of os-net-config, the answer is no, they would not be available here. However, os-net-config has a --persist-mapping function which will permanently rename the nics. We might be able to utilize that to normalize the NIC names.","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"5347d93ec97e2467f0656d7ca983cbd64ac46b45","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"* Puppet shall"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"  * Setup max no of VF\u0027s to be configured by the operator"},{"line_number":129,"context_line":"    echo required_max_vfs \u003e /sys/bus/pci/devices/.../sriov_numvfs"},{"line_number":130,"context_line":"    Puppet will also validate the required_max_vfs, so that it does not go"},{"line_number":131,"context_line":"    beyond the supported max on the device."}],"source_content_type":"text/x-rst","patch_set":12,"id":"1aa78d24_bcc6df46","line":128,"updated":"2016-07-05 17:35:38.000000000","message":"nit no-\u003enumber - I know what you mean though :)","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"5d5658e248818569827c1ab40888dd5a12a31e65","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"* Puppet shall"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"  * Setup max no of VF\u0027s to be configured by the operator"},{"line_number":129,"context_line":"    echo required_max_vfs \u003e /sys/bus/pci/devices/.../sriov_numvfs"},{"line_number":130,"context_line":"    Puppet will also validate the required_max_vfs, so that it does not go"},{"line_number":131,"context_line":"    beyond the supported max on the device."}],"source_content_type":"text/x-rst","patch_set":12,"id":"1aa78d24_0ff7ce8b","line":128,"in_reply_to":"1aa78d24_bcc6df46","updated":"2016-07-12 08:59:09.000000000","message":"Done","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":10910,"name":"Stig Telfer","email":"stig.openstack@telfer.org","username":"stigtelfer"},"change_message_id":"fd8cbe0ecc9a0a501777e19fc589ea4ea58385bb","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"* Puppet shall"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"  * Setup max no of VF\u0027s to be configured by the operator"},{"line_number":129,"context_line":"    echo required_max_vfs \u003e /sys/bus/pci/devices/.../sriov_numvfs"},{"line_number":130,"context_line":"    Puppet will also validate the required_max_vfs, so that it does not go"},{"line_number":131,"context_line":"    beyond the supported max on the device."},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"  * Enable NoopFirewallDriver in the"},{"line_number":134,"context_line":"    \u0027/etc/neutron/plugins/ml2/sriov_agent.ini\u0027 file."}],"source_content_type":"text/x-rst","patch_set":12,"id":"3aaa91ec_769be066","line":131,"range":{"start_line":128,"start_character":0,"end_line":131,"end_character":43},"updated":"2016-06-29 13:58:44.000000000","message":"This needs to be done in a way that means it gets reapplied for example when a network driver is unloaded and reloaded on a running system.  I don\u0027t think it can be done just at boot time.\n\nAnother complicating factor: Also some vendors set an upper limit in NIC firmware which must be reprogrammed to raise above factory defaults (which are low).  After reprogramming the NIC must be reset and sometimes that also requires a host reset.","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"5347d93ec97e2467f0656d7ca983cbd64ac46b45","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"* Puppet shall"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"  * Setup max no of VF\u0027s to be configured by the operator"},{"line_number":129,"context_line":"    echo required_max_vfs \u003e /sys/bus/pci/devices/.../sriov_numvfs"},{"line_number":130,"context_line":"    Puppet will also validate the required_max_vfs, so that it does not go"},{"line_number":131,"context_line":"    beyond the supported max on the device."},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"  * Enable NoopFirewallDriver in the"},{"line_number":134,"context_line":"    \u0027/etc/neutron/plugins/ml2/sriov_agent.ini\u0027 file."}],"source_content_type":"text/x-rst","patch_set":12,"id":"1aa78d24_1c9573dd","line":131,"range":{"start_line":128,"start_character":0,"end_line":131,"end_character":43},"in_reply_to":"3aaa91ec_769be066","updated":"2016-07-05 17:35:38.000000000","message":"How is puppet going to know that? If it is the PCI info block, is it consistent across NIC types?","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"5347d93ec97e2467f0656d7ca983cbd64ac46b45","unresolved":false,"context_lines":[{"line_number":133,"context_line":"  * Enable NoopFirewallDriver in the"},{"line_number":134,"context_line":"    \u0027/etc/neutron/plugins/ml2/sriov_agent.ini\u0027 file."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"    openstack-config --set /etc/neutron/plugins/ml2/sriov_agent.ini"},{"line_number":137,"context_line":"    securitygroup firewall_driver neutron.agent.firewall.NoopFirewallDriver"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"  * Add mappings to the /etc/neutron/plugins/ml2/sriov_agent.ini file.  Ex:"}],"source_content_type":"text/x-rst","patch_set":12,"id":"1aa78d24_1f1f2560","line":136,"updated":"2016-07-05 17:35:38.000000000","message":"In a manner of speaking, sure. Puppet handles ini file updating so you don\u0027t *really* need to mention a command line equivalent here. It is nice from a reference point of view though I suppose, so it\u0027s really just a nit :)","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"5347d93ec97e2467f0656d7ca983cbd64ac46b45","unresolved":false,"context_lines":[{"line_number":141,"context_line":"    In this example, fabric0 is the physical network, and enp4s0f1 is the"},{"line_number":142,"context_line":"    physical function"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"  * Configure neutron-sriov-nic-agent.service to use the sriov_agent.ini"},{"line_number":145,"context_line":"    file"},{"line_number":146,"context_line":"    ExecStart\u003d/usr/bin/neutron-sriov-nic-agent --config-file"},{"line_number":147,"context_line":"    /usr/share/neutron/neutron-dist.conf --config-file"}],"source_content_type":"text/x-rst","patch_set":12,"id":"1aa78d24_9fe95583","line":144,"updated":"2016-07-05 17:35:38.000000000","message":"Similar to the neutron server, you should be able to just drop this into the appropriate subdirectory under /etc/neutron/conf.d.","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"5d5658e248818569827c1ab40888dd5a12a31e65","unresolved":false,"context_lines":[{"line_number":141,"context_line":"    In this example, fabric0 is the physical network, and enp4s0f1 is the"},{"line_number":142,"context_line":"    physical function"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"  * Configure neutron-sriov-nic-agent.service to use the sriov_agent.ini"},{"line_number":145,"context_line":"    file"},{"line_number":146,"context_line":"    ExecStart\u003d/usr/bin/neutron-sriov-nic-agent --config-file"},{"line_number":147,"context_line":"    /usr/share/neutron/neutron-dist.conf --config-file"}],"source_content_type":"text/x-rst","patch_set":12,"id":"1aa78d24_af615a3b","line":144,"in_reply_to":"1aa78d24_9fe95583","updated":"2016-07-12 08:59:09.000000000","message":"We will not need this change as the changes are taken care by the package. We will remove this step.","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"5347d93ec97e2467f0656d7ca983cbd64ac46b45","unresolved":false,"context_lines":[{"line_number":165,"context_line":"---------------"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"* We have no firewall drivers which support SR-IOV at present."},{"line_number":168,"context_line":"  Security groups will be disabled in compute hosts which uses SR-IOV ports."},{"line_number":169,"context_line":""},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"Other End User Impact"}],"source_content_type":"text/x-rst","patch_set":12,"id":"1aa78d24_dfb11d91","line":168,"updated":"2016-07-05 17:35:38.000000000","message":"But only for the sriov ports, right? OVS agents running on those compute nodes will report their ability to support security groups and should function fine.","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"5d5658e248818569827c1ab40888dd5a12a31e65","unresolved":false,"context_lines":[{"line_number":165,"context_line":"---------------"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"* We have no firewall drivers which support SR-IOV at present."},{"line_number":168,"context_line":"  Security groups will be disabled in compute hosts which uses SR-IOV ports."},{"line_number":169,"context_line":""},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"Other End User Impact"}],"source_content_type":"text/x-rst","patch_set":12,"id":"1aa78d24_cfa14648","line":168,"in_reply_to":"1aa78d24_dfb11d91","updated":"2016-07-12 08:59:09.000000000","message":"Done, we will check and update this.","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"5347d93ec97e2467f0656d7ca983cbd64ac46b45","unresolved":false,"context_lines":[{"line_number":177,"context_line":"------------------"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"* SR-IOV provides near native I/O performance for each virtual machine on a"},{"line_number":180,"context_line":"  physical server. Refer - http://goo.gl/HxZvXX"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"Other Deployer Impact"}],"source_content_type":"text/x-rst","patch_set":12,"id":"1aa78d24_62005202","line":180,"updated":"2016-07-05 17:35:38.000000000","message":"Another possible performance nit might be on the discovery stage for sr-iov equipped nodes. Maybe someone with more IPA/discovery savvy could refute that.","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"5347d93ec97e2467f0656d7ca983cbd64ac46b45","unresolved":false,"context_lines":[{"line_number":194,"context_line":"  * Create the VM with the required flavor and SR-IOV port id"},{"line_number":195,"context_line":"    Ex: nova boot --flavor m1.small --image \u003cimage id\u003e --nic port-id\u003d\u003cport id\u003e"},{"line_number":196,"context_line":"    vnf0"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"Developer Impact"},{"line_number":199,"context_line":"----------------"},{"line_number":200,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"1aa78d24_42ba76c1","line":197,"updated":"2016-07-05 17:35:38.000000000","message":"Something to think about - and again not something to hold this up for: you\u0027ve covered the IPA\u0027s role - of which it can tag the node\u0027s profile in the presence of the SR-IOV, but there\u0027s nothing about flavors in the undercloud nor NOT using nodes that have sr-iov devices for controllers, etc.","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":4328,"name":"Steven Hardy","email":"steven.hardy@suse.com","username":"shardy"},"change_message_id":"126573d40424ceb8594f3222addb78be8b135dcb","unresolved":false,"context_lines":[{"line_number":224,"context_line":""},{"line_number":225,"context_line":"* We are dependent on composable roles as SR-IOV specific changes is something"},{"line_number":226,"context_line":"  we would require on specific compute nodes and not generally on all the"},{"line_number":227,"context_line":"  nodes. Blueprint - https://goo.gl/FY9dW3"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"* We are dependent on nova and ironic support for passing grub parameters. IPA"},{"line_number":230,"context_line":"  (Ironic Python Agent) shall be writing the boot params in the boot loader."}],"source_content_type":"text/x-rst","patch_set":12,"id":"3aaa91ec_b60d9a39","line":227,"range":{"start_line":227,"start_character":33,"end_line":227,"end_character":35},"updated":"2016-06-28 08:02:17.000000000","message":"Personally I\u0027d just use the normal URL as it\u0027s clearer and more consistent with the rest of the links in the document.","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"04085048c0a8d111d150ecb01a5f3bea8150b678","unresolved":false,"context_lines":[{"line_number":224,"context_line":""},{"line_number":225,"context_line":"* We are dependent on composable roles as SR-IOV specific changes is something"},{"line_number":226,"context_line":"  we would require on specific compute nodes and not generally on all the"},{"line_number":227,"context_line":"  nodes. Blueprint - https://goo.gl/FY9dW3"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"* We are dependent on nova and ironic support for passing grub parameters. IPA"},{"line_number":230,"context_line":"  (Ironic Python Agent) shall be writing the boot params in the boot loader."}],"source_content_type":"text/x-rst","patch_set":12,"id":"3aaa91ec_b1164453","line":227,"range":{"start_line":227,"start_character":33,"end_line":227,"end_character":35},"in_reply_to":"3aaa91ec_b60d9a39","updated":"2016-06-28 08:36:21.000000000","message":"I took the short url as the original url was more than 80 chars.","commit_id":"d3503bb892e670a287b58ff1da44fa61a589bbb9"},{"author":{"_account_id":10910,"name":"Stig Telfer","email":"stig.openstack@telfer.org","username":"stigtelfer"},"change_message_id":"83cfe0a253440fef39cb66ade660a6db4e24e751","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  swift blob -"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"  * SR-IOV capable NICs:"},{"line_number":51,"context_line":"    Shall read /sys/bus/pci/devices/.../sriov_totalvfs and check if its non"},{"line_number":52,"context_line":"    zero, inorder to identify if the NIC is SR-IOV capable"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"  * VT-d or IOMMU support in BIOS:"},{"line_number":55,"context_line":"    The CPU flags shall be read to identify the support."}],"source_content_type":"text/x-rst","patch_set":13,"id":"1aa78d24_39064b1c","line":52,"range":{"start_line":51,"start_character":0,"end_line":52,"end_character":58},"updated":"2016-07-12 10:03:42.000000000","message":"According to this http://lxr.free-electrons.com/source/Documentation/ABI/testing/sysfs-bus-pci#L230 this data is extracted from the PCI configuration space header discussed in patch set 12. LGTM!","commit_id":"1bc81337655ad4932443b515c9f1a5f3db8dda98"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"96d3904ba522021ae5015d6965051930cbc0eccd","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  swift blob -"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"  * SR-IOV capable NICs:"},{"line_number":51,"context_line":"    Shall read /sys/bus/pci/devices/.../sriov_totalvfs and check if its non"},{"line_number":52,"context_line":"    zero, inorder to identify if the NIC is SR-IOV capable"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"  * VT-d or IOMMU support in BIOS:"},{"line_number":55,"context_line":"    The CPU flags shall be read to identify the support."}],"source_content_type":"text/x-rst","patch_set":13,"id":"bacf61ea_26df966a","line":52,"range":{"start_line":51,"start_character":0,"end_line":52,"end_character":58},"in_reply_to":"1aa78d24_39064b1c","updated":"2016-07-29 06:02:52.000000000","message":"Done","commit_id":"1bc81337655ad4932443b515c9f1a5f3db8dda98"},{"author":{"_account_id":10910,"name":"Stig Telfer","email":"stig.openstack@telfer.org","username":"stigtelfer"},"change_message_id":"83cfe0a253440fef39cb66ade660a6db4e24e751","unresolved":false,"context_lines":[{"line_number":109,"context_line":"* On each COMPUTE+SRIOV node, puppet shall configure /etc/nova/nova.conf"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"  * Associate the available VFs with each physical network"},{"line_number":112,"context_line":"    Ex: pci_passthrough_whitelist\u003d{\"devname\": \"enp5s0f1\","},{"line_number":113,"context_line":"    \"physical_network\":\"fabric0\"}"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"    PCI passthrough whitelist entries use the following syntax: [\"device_id\":"},{"line_number":116,"context_line":"    \"\u003cid\u003e\",] [\"product_id\": \"\u003cid\u003e\",] [\"address\":"}],"source_content_type":"text/x-rst","patch_set":13,"id":"1aa78d24_b974fbfd","line":113,"range":{"start_line":112,"start_character":0,"end_line":113,"end_character":33},"updated":"2016-07-12 10:03:42.000000000","message":"I have recently learned that the whitelist for SR-IOV NICs should not refer to the NICs by their network interface names, as these interfaces disappear from the hypervisor when they are mapped into an instance.\n\nAccording to the recently updated text at https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking#Nova only the PF can be referred to by interface name in the Nova whitelist","commit_id":"1bc81337655ad4932443b515c9f1a5f3db8dda98"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"96d3904ba522021ae5015d6965051930cbc0eccd","unresolved":false,"context_lines":[{"line_number":109,"context_line":"* On each COMPUTE+SRIOV node, puppet shall configure /etc/nova/nova.conf"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"  * Associate the available VFs with each physical network"},{"line_number":112,"context_line":"    Ex: pci_passthrough_whitelist\u003d{\"devname\": \"enp5s0f1\","},{"line_number":113,"context_line":"    \"physical_network\":\"fabric0\"}"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"    PCI passthrough whitelist entries use the following syntax: [\"device_id\":"},{"line_number":116,"context_line":"    \"\u003cid\u003e\",] [\"product_id\": \"\u003cid\u003e\",] [\"address\":"}],"source_content_type":"text/x-rst","patch_set":13,"id":"bacf61ea_061d320f","line":113,"range":{"start_line":112,"start_character":0,"end_line":113,"end_character":33},"in_reply_to":"1aa78d24_b974fbfd","updated":"2016-07-29 06:02:52.000000000","message":"Which parameter is being talked about ? devname or physical_network.\n\nFrom the same link, we understand - \"if the device defined by the address or devname corresponds to a SR-IOV PF, all VFs under the PF will match the entry.\"","commit_id":"1bc81337655ad4932443b515c9f1a5f3db8dda98"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"9824eed01eca862c7ccc2857f10f1b420dd5bf9c","unresolved":false,"context_lines":[{"line_number":145,"context_line":"  * systemctl enable  neutron-sriov-nic-agent.service"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"  * systemctl start neutron-sriov-nic-agent.service"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Alternatives"},{"line_number":151,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":13,"id":"bacf61ea_03e29d03","line":148,"updated":"2016-07-27 17:31:58.000000000","message":"I think these bits about the sriov agent should be explicit in that they are referring to compute nodes.","commit_id":"1bc81337655ad4932443b515c9f1a5f3db8dda98"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"96d3904ba522021ae5015d6965051930cbc0eccd","unresolved":false,"context_lines":[{"line_number":145,"context_line":"  * systemctl enable  neutron-sriov-nic-agent.service"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"  * systemctl start neutron-sriov-nic-agent.service"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Alternatives"},{"line_number":151,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":13,"id":"bacf61ea_a6d42620","line":148,"in_reply_to":"bacf61ea_03e29d03","updated":"2016-07-29 06:02:52.000000000","message":"Done","commit_id":"1bc81337655ad4932443b515c9f1a5f3db8dda98"},{"author":{"_account_id":10910,"name":"Stig Telfer","email":"stig.openstack@telfer.org","username":"stigtelfer"},"change_message_id":"ba12c63a29aa146a24b86267d13d484a3102d09c","unresolved":false,"context_lines":[{"line_number":61,"context_line":""},{"line_number":62,"context_line":"* IOMMU needs to be enabled in the Compute+SR-IOV nodes. Boot parameters"},{"line_number":63,"context_line":"  (intel_iommu\u003don or  amd_iommu\u003dpt) shall be added in the grub.conf."},{"line_number":64,"context_line":"  RFE exists for getting this done -"},{"line_number":65,"context_line":"  https://bugs.launchpad.net/ironic/+bug/1592329"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"* SR-IOV drivers shall be loaded during bootup via persistent module loading"},{"line_number":68,"context_line":"  scripts. These persistent module loading scripts shall be created by the"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3ac371cc_30ab968b","line":65,"range":{"start_line":64,"start_character":0,"end_line":65,"end_character":48},"updated":"2016-08-15 08:25:53.000000000","message":"This RFE has been abandoned, does that change the strategy used by this spec?","commit_id":"930853f63afc179da86869c4af8182b3e25afdf7"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"b213f76936d5064d5a39b9c670092a32725b1ea6","unresolved":false,"context_lines":[{"line_number":61,"context_line":""},{"line_number":62,"context_line":"* IOMMU needs to be enabled in the Compute+SR-IOV nodes. Boot parameters"},{"line_number":63,"context_line":"  (intel_iommu\u003don or  amd_iommu\u003dpt) shall be added in the grub.conf."},{"line_number":64,"context_line":"  RFE exists for getting this done -"},{"line_number":65,"context_line":"  https://bugs.launchpad.net/ironic/+bug/1592329"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"* SR-IOV drivers shall be loaded during bootup via persistent module loading"},{"line_number":68,"context_line":"  scripts. These persistent module loading scripts shall be created by the"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3ac371cc_4f543efe","line":65,"range":{"start_line":64,"start_character":0,"end_line":65,"end_character":48},"in_reply_to":"3ac371cc_30ab968b","updated":"2016-08-17 06:30:26.000000000","message":"Done","commit_id":"930853f63afc179da86869c4af8182b3e25afdf7"},{"author":{"_account_id":11968,"name":"Aviram Bar-Haim","email":"avirambh@gmail.com","username":"aviramb"},"change_message_id":"e4150fd4450c5df6fb732fea2716057553e9058d","unresolved":false,"context_lines":[{"line_number":124,"context_line":""},{"line_number":125,"context_line":"* Puppet shall"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"  * Setup max number of VF\u0027s to be configured by the operator"},{"line_number":128,"context_line":"    echo required_max_vfs \u003e /sys/bus/pci/devices/.../sriov_numvfs"},{"line_number":129,"context_line":"    Puppet will also validate the required_max_vfs, so that it does not go"},{"line_number":130,"context_line":"    beyond the supported max on the device."}],"source_content_type":"text/x-rst","patch_set":15,"id":"bacf61ea_163e24da","line":127,"range":{"start_line":127,"start_character":24,"end_line":127,"end_character":28},"updated":"2016-08-03 13:31:39.000000000","message":"VFs","commit_id":"930853f63afc179da86869c4af8182b3e25afdf7"},{"author":{"_account_id":11968,"name":"Aviram Bar-Haim","email":"avirambh@gmail.com","username":"aviramb"},"change_message_id":"e4150fd4450c5df6fb732fea2716057553e9058d","unresolved":false,"context_lines":[{"line_number":125,"context_line":"* Puppet shall"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"  * Setup max number of VF\u0027s to be configured by the operator"},{"line_number":128,"context_line":"    echo required_max_vfs \u003e /sys/bus/pci/devices/.../sriov_numvfs"},{"line_number":129,"context_line":"    Puppet will also validate the required_max_vfs, so that it does not go"},{"line_number":130,"context_line":"    beyond the supported max on the device."},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"bacf61ea_b676383c","line":128,"range":{"start_line":128,"start_character":4,"end_line":128,"end_character":65},"updated":"2016-08-03 13:31:39.000000000","message":"1. Please note that this is a non-persistent configuration (might be gone after a driver restart / reboot).\n2. Can the user avoid this step with a configuration? some cards creates the VFs on the kernel module loading, with an extra parameter for number of VFs.","commit_id":"930853f63afc179da86869c4af8182b3e25afdf7"},{"author":{"_account_id":11968,"name":"Aviram Bar-Haim","email":"avirambh@gmail.com","username":"aviramb"},"change_message_id":"451d352560b4c62041e0a584279446f0413fdd14","unresolved":false,"context_lines":[{"line_number":125,"context_line":"* Puppet shall"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"  * Setup max number of VF\u0027s to be configured by the operator"},{"line_number":128,"context_line":"    echo required_max_vfs \u003e /sys/bus/pci/devices/.../sriov_numvfs"},{"line_number":129,"context_line":"    Puppet will also validate the required_max_vfs, so that it does not go"},{"line_number":130,"context_line":"    beyond the supported max on the device."},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"9ad45d7e_d0d737eb","line":128,"range":{"start_line":128,"start_character":4,"end_line":128,"end_character":65},"in_reply_to":"9ad45d7e_1a860e65","updated":"2016-08-10 09:19:37.000000000","message":"If the operator can skip this configuration during the SR-IOV configurations then yes. Thanks!","commit_id":"930853f63afc179da86869c4af8182b3e25afdf7"},{"author":{"_account_id":11968,"name":"Aviram Bar-Haim","email":"avirambh@gmail.com","username":"aviramb"},"change_message_id":"1cf9721fbc7bdc6c05be53d20e65b318b584fb4f","unresolved":false,"context_lines":[{"line_number":125,"context_line":"* Puppet shall"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"  * Setup max number of VF\u0027s to be configured by the operator"},{"line_number":128,"context_line":"    echo required_max_vfs \u003e /sys/bus/pci/devices/.../sriov_numvfs"},{"line_number":129,"context_line":"    Puppet will also validate the required_max_vfs, so that it does not go"},{"line_number":130,"context_line":"    beyond the supported max on the device."},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"bacf61ea_5bf527eb","line":128,"range":{"start_line":128,"start_character":4,"end_line":128,"end_character":65},"in_reply_to":"bacf61ea_4a5d5678","updated":"2016-08-04 13:06:01.000000000","message":"Thanks Brent for replying.\nRegarding 1., I agree. Regarding 2., You\u0027re right, but there are still some cards out there that doesn\u0027t support the dynamic approach of SR-IOV configuration.","commit_id":"930853f63afc179da86869c4af8182b3e25afdf7"},{"author":{"_account_id":18904,"name":"Karthik S","email":"ksundara@redhat.com","username":"karthiks"},"change_message_id":"2f8548b857048c83e87972f3e2b90e4e8a4f4f42","unresolved":false,"context_lines":[{"line_number":125,"context_line":"* Puppet shall"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"  * Setup max number of VF\u0027s to be configured by the operator"},{"line_number":128,"context_line":"    echo required_max_vfs \u003e /sys/bus/pci/devices/.../sriov_numvfs"},{"line_number":129,"context_line":"    Puppet will also validate the required_max_vfs, so that it does not go"},{"line_number":130,"context_line":"    beyond the supported max on the device."},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"9ad45d7e_1a860e65","line":128,"range":{"start_line":128,"start_character":4,"end_line":128,"end_character":65},"in_reply_to":"bacf61ea_5bf527eb","updated":"2016-08-10 08:34:07.000000000","message":"Regarding 2, the numvfs parameter to puppet-neutron is an optional one, so the operator can skip this configuration and do this part manually. I hope this answers your concern.","commit_id":"930853f63afc179da86869c4af8182b3e25afdf7"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"a9f18ca73bfecf279d054cd9856d54dae59b75fe","unresolved":false,"context_lines":[{"line_number":125,"context_line":"* Puppet shall"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"  * Setup max number of VF\u0027s to be configured by the operator"},{"line_number":128,"context_line":"    echo required_max_vfs \u003e /sys/bus/pci/devices/.../sriov_numvfs"},{"line_number":129,"context_line":"    Puppet will also validate the required_max_vfs, so that it does not go"},{"line_number":130,"context_line":"    beyond the supported max on the device."},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"bacf61ea_4a5d5678","line":128,"range":{"start_line":128,"start_character":4,"end_line":128,"end_character":65},"in_reply_to":"bacf61ea_b676383c","updated":"2016-08-04 12:40:23.000000000","message":"From conversations with the spec authors, they are a aware of the transient nature of this line. However, the precise details are not really appropriate for a spec. In a sense, it might have been better to remove the \"echo..\" example altogether and have the bullet item say something to the effect \"puppet shall validate and configure number of VFs on a compute node in a persistent way\". That being said, we could nit this to death. I\u0027d prefer to focus on the details in the code reviews.\n\nWith respect to 2., IIUC configuring via module parameters is deprecated and this is the preferred mechanism.","commit_id":"930853f63afc179da86869c4af8182b3e25afdf7"},{"author":{"_account_id":11968,"name":"Aviram Bar-Haim","email":"avirambh@gmail.com","username":"aviramb"},"change_message_id":"e4150fd4450c5df6fb732fea2716057553e9058d","unresolved":false,"context_lines":[{"line_number":127,"context_line":"  * Setup max number of VF\u0027s to be configured by the operator"},{"line_number":128,"context_line":"    echo required_max_vfs \u003e /sys/bus/pci/devices/.../sriov_numvfs"},{"line_number":129,"context_line":"    Puppet will also validate the required_max_vfs, so that it does not go"},{"line_number":130,"context_line":"    beyond the supported max on the device."},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"  * Enable NoopFirewallDriver in the"},{"line_number":133,"context_line":"    \u0027/etc/neutron/plugins/ml2/sriov_agent.ini\u0027 file."}],"source_content_type":"text/x-rst","patch_set":15,"id":"bacf61ea_70268817","line":130,"range":{"start_line":130,"start_character":15,"end_line":130,"end_character":42},"updated":"2016-08-03 13:31:39.000000000","message":"sriov_numvfs\u003c\u003dsriov_totalvfs?","commit_id":"930853f63afc179da86869c4af8182b3e25afdf7"},{"author":{"_account_id":18904,"name":"Karthik S","email":"ksundara@redhat.com","username":"karthiks"},"change_message_id":"2f8548b857048c83e87972f3e2b90e4e8a4f4f42","unresolved":false,"context_lines":[{"line_number":127,"context_line":"  * Setup max number of VF\u0027s to be configured by the operator"},{"line_number":128,"context_line":"    echo required_max_vfs \u003e /sys/bus/pci/devices/.../sriov_numvfs"},{"line_number":129,"context_line":"    Puppet will also validate the required_max_vfs, so that it does not go"},{"line_number":130,"context_line":"    beyond the supported max on the device."},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"  * Enable NoopFirewallDriver in the"},{"line_number":133,"context_line":"    \u0027/etc/neutron/plugins/ml2/sriov_agent.ini\u0027 file."}],"source_content_type":"text/x-rst","patch_set":15,"id":"9ad45d7e_1f3560f6","line":130,"range":{"start_line":130,"start_character":15,"end_line":130,"end_character":42},"in_reply_to":"bacf61ea_70268817","updated":"2016-08-10 08:34:07.000000000","message":"Yes.","commit_id":"930853f63afc179da86869c4af8182b3e25afdf7"},{"author":{"_account_id":10910,"name":"Stig Telfer","email":"stig.openstack@telfer.org","username":"stigtelfer"},"change_message_id":"ba12c63a29aa146a24b86267d13d484a3102d09c","unresolved":false,"context_lines":[{"line_number":150,"context_line":"Alternatives"},{"line_number":151,"context_line":"------------"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"* The boot parameters are now going to be addressed via separate RFE -"},{"line_number":154,"context_line":"  https://bugs.launchpad.net/ironic/+bug/1592329"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"Security impact"},{"line_number":157,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3ac371cc_30b0b6dd","line":154,"range":{"start_line":153,"start_character":0,"end_line":154,"end_character":48},"updated":"2016-08-15 08:25:53.000000000","message":"As above, this needs updating as the link points to an abandoned RFE.","commit_id":"930853f63afc179da86869c4af8182b3e25afdf7"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"b213f76936d5064d5a39b9c670092a32725b1ea6","unresolved":false,"context_lines":[{"line_number":150,"context_line":"Alternatives"},{"line_number":151,"context_line":"------------"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"* The boot parameters are now going to be addressed via separate RFE -"},{"line_number":154,"context_line":"  https://bugs.launchpad.net/ironic/+bug/1592329"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"Security impact"},{"line_number":157,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3ac371cc_0f3086e7","line":154,"range":{"start_line":153,"start_character":0,"end_line":154,"end_character":48},"in_reply_to":"3ac371cc_30b0b6dd","updated":"2016-08-17 06:30:26.000000000","message":"Done","commit_id":"930853f63afc179da86869c4af8182b3e25afdf7"},{"author":{"_account_id":10910,"name":"Stig Telfer","email":"stig.openstack@telfer.org","username":"stigtelfer"},"change_message_id":"ba12c63a29aa146a24b86267d13d484a3102d09c","unresolved":false,"context_lines":[{"line_number":157,"context_line":"---------------"},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"* We have no firewall drivers which support SR-IOV at present."},{"line_number":160,"context_line":"  Security groups will be disabled in compute hosts which uses SR-IOV ports."},{"line_number":161,"context_line":""},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"Other End User Impact"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3ac371cc_706d0e32","line":160,"range":{"start_line":160,"start_character":0,"end_line":160,"end_character":76},"updated":"2016-08-15 08:25:53.000000000","message":"Can you clarify this statement.  Is it the case that security groups are (implicitly) disabled only for network ports with an SR-IOV binding - or will security groups be disabled for the compute host in its entirety?","commit_id":"930853f63afc179da86869c4af8182b3e25afdf7"},{"author":{"_account_id":10034,"name":"Sanjay Upadhyay","email":"supadhya@redhat.com","username":"saneax"},"change_message_id":"b213f76936d5064d5a39b9c670092a32725b1ea6","unresolved":false,"context_lines":[{"line_number":157,"context_line":"---------------"},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"* We have no firewall drivers which support SR-IOV at present."},{"line_number":160,"context_line":"  Security groups will be disabled in compute hosts which uses SR-IOV ports."},{"line_number":161,"context_line":""},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"Other End User Impact"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3ac371cc_0fb52630","line":160,"range":{"start_line":160,"start_character":0,"end_line":160,"end_character":76},"in_reply_to":"3ac371cc_706d0e32","updated":"2016-08-17 06:30:26.000000000","message":"Security groups will be disabled only for SR-IOV ports in compute hosts. On each compute node, we will define securitygroup in \u0027sriov_agent.ini\u0027 as -\n[securitygroup]\nfirewall_driver \u003d neutron.agent.firewall.NoopFirewallDriver","commit_id":"930853f63afc179da86869c4af8182b3e25afdf7"},{"author":{"_account_id":10910,"name":"Stig Telfer","email":"stig.openstack@telfer.org","username":"stigtelfer"},"change_message_id":"c290379a6f8d1aa2a505f4dc27de474a5acf1a25","unresolved":false,"context_lines":[{"line_number":104,"context_line":"* On each COMPUTE+SRIOV node, puppet shall configure /etc/nova/nova.conf"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"  * Associate the available VFs with each physical network"},{"line_number":107,"context_line":"    Ex: pci_passthrough_whitelist\u003d{\"devname\": \"enp5s0f1\","},{"line_number":108,"context_line":"    \"physical_network\":\"fabric0\"}"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"    PCI passthrough whitelist entries use the following syntax: [\"device_id\":"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3ac371cc_a0e00e2a","line":107,"updated":"2016-08-18 10:19:27.000000000","message":"You can’t use the VF network interface name to define PCI passthrough devices.  We started off using this but found it causes problems when the network interface disappears from the hypervisor on pass-through.\n\nGiven this is just an example, it’s not an issue - but do not implement it this way.","commit_id":"799b49e32695dd3f2037e0d58e7254caaf123965"}]}
