)]}'
{"specs/queens/pci-passthrough.rst":[{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"8c4024d93c97db985ced551075655bf1423f35a7","unresolved":false,"context_lines":[{"line_number":57,"context_line":"  with a negligible additional learning curve."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Proposed change"},{"line_number":61,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"See Implementation."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Alternatives"},{"line_number":67,"context_line":"------------"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"None."},{"line_number":70,"context_line":""},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"Security impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9f436f4f_a7a4b0ba","line":69,"range":{"start_line":60,"start_character":0,"end_line":69,"end_character":5},"updated":"2017-08-18 01:36:34.000000000","message":"we need to flesh this out, but all in good time. This is a great start!","commit_id":"1d0cd1397426441ec9b2c0216afd15343336273d"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"2f2e002add1f76b612c4e08ec0736252801f859d","unresolved":false,"context_lines":[{"line_number":57,"context_line":"  with a negligible additional learning curve."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Proposed change"},{"line_number":61,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"See Implementation."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Alternatives"},{"line_number":67,"context_line":"------------"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"None."},{"line_number":70,"context_line":""},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"Security impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9f436f4f_da81b5c5","line":69,"range":{"start_line":60,"start_character":0,"end_line":69,"end_character":5},"in_reply_to":"9f436f4f_1fc60f18","updated":"2017-08-18 13:48:56.000000000","message":"I guess we could say \"See Work Items\". I think \"Proposed change\" would typically be more of a description of what we\u0027re doing, and workitems is more a bulletted list of how that\u0027s broken down.\n\nAs for alternatives... Should we be looking at any alternatives involving nova changes?","commit_id":"1d0cd1397426441ec9b2c0216afd15343336273d"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"07b28f03265c949d713dd809c617248a0b1abacd","unresolved":false,"context_lines":[{"line_number":57,"context_line":"  with a negligible additional learning curve."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Proposed change"},{"line_number":61,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"See Implementation."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Alternatives"},{"line_number":67,"context_line":"------------"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"None."},{"line_number":70,"context_line":""},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"Security impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9f436f4f_1fc60f18","line":69,"range":{"start_line":60,"start_character":0,"end_line":69,"end_character":5},"in_reply_to":"9f436f4f_a7a4b0ba","updated":"2017-08-18 13:17:33.000000000","message":"Yeah, I would appreciate some guidance here.\n\nI really don\u0027t understand what the difference is supposed to be between Implementation and Work Items.  I mean, semantically I get it, but in reality if I did both sections, they would have like a 90% overlap in content, possibly with some differences in organization.  That seems redundant.\n\nAs for alternatives, there really are none.  Other than the obvious \"Don\u0027t implement this\".  Or again, maybe I\u0027m misunderstanding what\u0027s called for here.","commit_id":"1d0cd1397426441ec9b2c0216afd15343336273d"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"8c4024d93c97db985ced551075655bf1423f35a7","unresolved":false,"context_lines":[{"line_number":84,"context_line":"The End User can now attach PCI devices to VMs."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"Performance Impact"},{"line_number":88,"context_line":"------------------"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"Discovery of available (unassigned) PCI devices requires checking the Managed"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9f436f4f_84440a76","line":87,"updated":"2017-08-18 01:36:34.000000000","message":"We should make it clear where this impact will be seen.","commit_id":"1d0cd1397426441ec9b2c0216afd15343336273d"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"2f2e002add1f76b612c4e08ec0736252801f859d","unresolved":false,"context_lines":[{"line_number":84,"context_line":"The End User can now attach PCI devices to VMs."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"Performance Impact"},{"line_number":88,"context_line":"------------------"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"Discovery of available (unassigned) PCI devices requires checking the Managed"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9f436f4f_ba871110","line":87,"in_reply_to":"9f436f4f_1f304f07","updated":"2017-08-18 13:48:56.000000000","message":"if that\u0027s already been an issue, we\u0027ll have to be really careful about making it worse...","commit_id":"1d0cd1397426441ec9b2c0216afd15343336273d"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"07b28f03265c949d713dd809c617248a0b1abacd","unresolved":false,"context_lines":[{"line_number":84,"context_line":"The End User can now attach PCI devices to VMs."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"Performance Impact"},{"line_number":88,"context_line":"------------------"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"Discovery of available (unassigned) PCI devices requires checking the Managed"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9f436f4f_1f304f07","line":87,"in_reply_to":"9f436f4f_84440a76","updated":"2017-08-18 13:17:33.000000000","message":"Will do.\n\n(It would be in the periodic task to update_available_resources in the compute driver.  I think we\u0027ve actually seen situations where those back up and choke because they take longer than the periodic task interval.)","commit_id":"1d0cd1397426441ec9b2c0216afd15343336273d"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"8c4024d93c97db985ced551075655bf1423f35a7","unresolved":false,"context_lines":[{"line_number":91,"context_line":"System *and* all of the partitions (LPARs and VIOSes) thereon.  This may have"},{"line_number":92,"context_line":"a nontrivial impact on the response time.  However, at implementation time, we"},{"line_number":93,"context_line":"will consider the relative merits of caching at least the PCI data if possible"},{"line_number":94,"context_line":"(can PCI devices be hot-swapped?).  We should also consider whether it is"},{"line_number":95,"context_line":"necessary for ``get_available_resource`` to return only *unassigned* devices,"},{"line_number":96,"context_line":"versus letting placement decide which are in use.  (If we need not restrict to"},{"line_number":97,"context_line":"unassigned devices, we can get everything we need from the Managed System"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9f436f4f_a44f0e91","line":94,"range":{"start_line":94,"start_character":1,"end_line":94,"end_character":32},"updated":"2017-08-18 01:36:34.000000000","message":"sometimes, yes","commit_id":"1d0cd1397426441ec9b2c0216afd15343336273d"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"2f2e002add1f76b612c4e08ec0736252801f859d","unresolved":false,"context_lines":[{"line_number":91,"context_line":"System *and* all of the partitions (LPARs and VIOSes) thereon.  This may have"},{"line_number":92,"context_line":"a nontrivial impact on the response time.  However, at implementation time, we"},{"line_number":93,"context_line":"will consider the relative merits of caching at least the PCI data if possible"},{"line_number":94,"context_line":"(can PCI devices be hot-swapped?).  We should also consider whether it is"},{"line_number":95,"context_line":"necessary for ``get_available_resource`` to return only *unassigned* devices,"},{"line_number":96,"context_line":"versus letting placement decide which are in use.  (If we need not restrict to"},{"line_number":97,"context_line":"unassigned devices, we can get everything we need from the Managed System"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9f436f4f_ba9cb15d","line":94,"range":{"start_line":94,"start_character":1,"end_line":94,"end_character":32},"in_reply_to":"9f436f4f_9f231fbf","updated":"2017-08-18 13:48:56.000000000","message":"you can find some info on hotswap here: https://www.ibm.com/support/knowledgecenter/en/5148-22L/p8hak/p8hak_83x_8rx_kickoff.htm","commit_id":"1d0cd1397426441ec9b2c0216afd15343336273d"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"07b28f03265c949d713dd809c617248a0b1abacd","unresolved":false,"context_lines":[{"line_number":91,"context_line":"System *and* all of the partitions (LPARs and VIOSes) thereon.  This may have"},{"line_number":92,"context_line":"a nontrivial impact on the response time.  However, at implementation time, we"},{"line_number":93,"context_line":"will consider the relative merits of caching at least the PCI data if possible"},{"line_number":94,"context_line":"(can PCI devices be hot-swapped?).  We should also consider whether it is"},{"line_number":95,"context_line":"necessary for ``get_available_resource`` to return only *unassigned* devices,"},{"line_number":96,"context_line":"versus letting placement decide which are in use.  (If we need not restrict to"},{"line_number":97,"context_line":"unassigned devices, we can get everything we need from the Managed System"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9f436f4f_9f231fbf","line":94,"range":{"start_line":94,"start_character":1,"end_line":94,"end_character":32},"in_reply_to":"9f436f4f_a44f0e91","updated":"2017-08-18 13:17:33.000000000","message":"Okay, then we\u0027ll have to handle it.  If we can get some kind of Event when that happens, caching is still an option.  Otherwise, not.\n\nFor that matter, perhaps there\u0027s an Event we can consume whenever a slot is assigned.  So we can add to our event handler and only get the whole magilla the first time (or on CACHE_CLEARED events).","commit_id":"1d0cd1397426441ec9b2c0216afd15343336273d"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"abc0a4046b384816d37007e844bda6369e078620","unresolved":false,"context_lines":[{"line_number":93,"context_line":"will consider the relative merits of caching at least the PCI data if possible"},{"line_number":94,"context_line":"(can PCI devices be hot-swapped?).  We should also consider whether it is"},{"line_number":95,"context_line":"necessary for ``get_available_resource`` to return only *unassigned* devices,"},{"line_number":96,"context_line":"versus letting placement decide which are in use.  (If we need not restrict to"},{"line_number":97,"context_line":"unassigned devices, we can get everything we need from the Managed System"},{"line_number":98,"context_line":"object, which we already have - and the performance impact is nil.)"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"Deployer impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9f436f4f_04f25a9b","line":98,"range":{"start_line":96,"start_character":51,"end_line":98,"end_character":67},"updated":"2017-08-18 00:46:29.000000000","message":"Well, also how do you determine devices that are in use by a VIOS or by the NovaLink to provide I/O services.","commit_id":"1d0cd1397426441ec9b2c0216afd15343336273d"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"07b28f03265c949d713dd809c617248a0b1abacd","unresolved":false,"context_lines":[{"line_number":93,"context_line":"will consider the relative merits of caching at least the PCI data if possible"},{"line_number":94,"context_line":"(can PCI devices be hot-swapped?).  We should also consider whether it is"},{"line_number":95,"context_line":"necessary for ``get_available_resource`` to return only *unassigned* devices,"},{"line_number":96,"context_line":"versus letting placement decide which are in use.  (If we need not restrict to"},{"line_number":97,"context_line":"unassigned devices, we can get everything we need from the Managed System"},{"line_number":98,"context_line":"object, which we already have - and the performance impact is nil.)"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"Deployer impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9f436f4f_9fb0bf8d","line":98,"range":{"start_line":96,"start_character":51,"end_line":98,"end_character":67},"in_reply_to":"9f436f4f_04f25a9b","updated":"2017-08-18 13:17:33.000000000","message":"As opposed to what?  I don\u0027t think it matters if they\u0027re \"in use\" - if they\u0027re assigned to a partition, we can\u0027t use \u0027em for passthrough via OpenStack.\n\nBut the venn diagram gets a little complicated there.  Devices assigned to the nvl, VIOSes, and non-OS partitions are unusable in any case.  But if we detect devices assigned to OS instances, we\u0027re supposed to *include* those in the list we report - the resource tracker is responsible for filtering out the ones it knows about as having been assigned to OS instances.\n\nSo we actually have to solve this in one of two ways: either we have to figure out a way for the operator to whitelist by \"address\"; or we do have to filter them out from get_available_resource.  Due to the fact that addresses will be totally spoofed, I would rather not expose them to the user at all; so I would prefer the latter approach.\n\nWhich means we have to build that venn diagram, and only return the OS-available (including OS-assigned) devices.  In order to do that, we need the VIOS \u0026 LPAR feeds, cause the MS doesn\u0027t show which slots are assigned, or where.  Though I suppose we could request that from the REST team...","commit_id":"1d0cd1397426441ec9b2c0216afd15343336273d"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"2f2e002add1f76b612c4e08ec0736252801f859d","unresolved":false,"context_lines":[{"line_number":93,"context_line":"will consider the relative merits of caching at least the PCI data if possible"},{"line_number":94,"context_line":"(can PCI devices be hot-swapped?).  We should also consider whether it is"},{"line_number":95,"context_line":"necessary for ``get_available_resource`` to return only *unassigned* devices,"},{"line_number":96,"context_line":"versus letting placement decide which are in use.  (If we need not restrict to"},{"line_number":97,"context_line":"unassigned devices, we can get everything we need from the Managed System"},{"line_number":98,"context_line":"object, which we already have - and the performance impact is nil.)"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"Deployer impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9f436f4f_fa659946","line":98,"range":{"start_line":96,"start_character":51,"end_line":98,"end_character":67},"in_reply_to":"9f436f4f_9fb0bf8d","updated":"2017-08-18 13:48:56.000000000","message":"I like where this is going...","commit_id":"1d0cd1397426441ec9b2c0216afd15343336273d"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"8c4024d93c97db985ced551075655bf1423f35a7","unresolved":false,"context_lines":[{"line_number":143,"context_line":"  correlate those claims with the indicated devices, and attach those devices"},{"line_number":144,"context_line":"  to the VM being built."},{"line_number":145,"context_line":"* Enhance the ``destroy`` flow to detach all PCI devices."},{"line_number":146,"context_line":""},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"Dependencies"},{"line_number":149,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9f436f4f_27d8c07d","line":146,"updated":"2017-08-18 01:36:34.000000000","message":"We could also look at attaching to / detaching from an existing VM... but maybe we save that for later.","commit_id":"1d0cd1397426441ec9b2c0216afd15343336273d"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"07b28f03265c949d713dd809c617248a0b1abacd","unresolved":false,"context_lines":[{"line_number":143,"context_line":"  correlate those claims with the indicated devices, and attach those devices"},{"line_number":144,"context_line":"  to the VM being built."},{"line_number":145,"context_line":"* Enhance the ``destroy`` flow to detach all PCI devices."},{"line_number":146,"context_line":""},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"Dependencies"},{"line_number":149,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9f436f4f_fa023909","line":146,"in_reply_to":"9f436f4f_27d8c07d","updated":"2017-08-18 13:17:33.000000000","message":"I mentioned that question below under Testing.  I think Resize is how you would do that.  Needs investigation, will add a note here.","commit_id":"1d0cd1397426441ec9b2c0216afd15343336273d"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"2f2e002add1f76b612c4e08ec0736252801f859d","unresolved":false,"context_lines":[{"line_number":143,"context_line":"  correlate those claims with the indicated devices, and attach those devices"},{"line_number":144,"context_line":"  to the VM being built."},{"line_number":145,"context_line":"* Enhance the ``destroy`` flow to detach all PCI devices."},{"line_number":146,"context_line":""},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"Dependencies"},{"line_number":149,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9f436f4f_ba5f1171","line":146,"in_reply_to":"9f436f4f_fa023909","updated":"2017-08-18 13:48:56.000000000","message":"yep, resize. There may be os-level complications with adding/removing while the OS is running, so we might need to restrict to cold resize.","commit_id":"1d0cd1397426441ec9b2c0216afd15343336273d"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"8c4024d93c97db985ced551075655bf1423f35a7","unresolved":false,"context_lines":[{"line_number":217,"context_line":"* The compute log shows that the PCI claim was the cause of the build failure."},{"line_number":218,"context_line":"* The resource tracker in the compute log shows that no resource counts were"},{"line_number":219,"context_line":"  affected."},{"line_number":220,"context_line":"* ``pvmctl``"},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"* Assign a device with an alias not defined in the config."},{"line_number":223,"context_line":"* Assign a device with a configured alias, but which is absent from the system"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9f436f4f_4772a47e","line":220,"updated":"2017-08-18 01:36:34.000000000","message":"partial thought","commit_id":"1d0cd1397426441ec9b2c0216afd15343336273d"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"07b28f03265c949d713dd809c617248a0b1abacd","unresolved":false,"context_lines":[{"line_number":217,"context_line":"* The compute log shows that the PCI claim was the cause of the build failure."},{"line_number":218,"context_line":"* The resource tracker in the compute log shows that no resource counts were"},{"line_number":219,"context_line":"  affected."},{"line_number":220,"context_line":"* ``pvmctl``"},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"* Assign a device with an alias not defined in the config."},{"line_number":223,"context_line":"* Assign a device with a configured alias, but which is absent from the system"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9f436f4f_ba0cb13b","line":220,"in_reply_to":"9f436f4f_4772a47e","updated":"2017-08-18 13:17:33.000000000","message":"It\u0027s hell to get old.","commit_id":"1d0cd1397426441ec9b2c0216afd15343336273d"}]}
