)]}'
{"specs/approved/oneview-drivers-dynamic-allocation.rst":[{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"fd664738d3f1f681a79b1dfadc42ecb2fc04e719","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":"When following this approach, a Server Profile is no longer required to"},{"line_number":79,"context_line":"validate a node. The `validate` methods of the `Power` and `Management`"},{"line_number":80,"context_line":"interfaces must be changed."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"In the proposed model, if a node is not free for Ironic (i.e., it is being"},{"line_number":83,"context_line":"used by OneView) the validation will fail. However, as we expect nodes that"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bae84128_67cb9273","line":80,"range":{"start_line":80,"start_character":11,"end_line":80,"end_character":27},"updated":"2016-02-19 15:36:29.000000000","message":"I think it would be good to indicate that this is intended to be changes in the driver.","commit_id":"e1732657a5363b01dceeb5297b99e954f32bbc11"},{"author":{"_account_id":14891,"name":"Lilia Sampaio","email":"liliars@lsd.ufcg.edu.br","username":"liliars"},"change_message_id":"bd5701c9cdf9ba3ffaf93ba37947fdfe79ceda78","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":"When following this approach, a Server Profile is no longer required to"},{"line_number":79,"context_line":"validate a node. The `validate` methods of the `Power` and `Management`"},{"line_number":80,"context_line":"interfaces must be changed."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"In the proposed model, if a node is not free for Ironic (i.e., it is being"},{"line_number":83,"context_line":"used by OneView) the validation will fail. However, as we expect nodes that"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bae84128_cb109d51","line":80,"range":{"start_line":80,"start_character":11,"end_line":80,"end_character":27},"in_reply_to":"bae84128_67cb9273","updated":"2016-02-19 19:57:36.000000000","message":"Yes, I\u0027ll make it more explicit.","commit_id":"e1732657a5363b01dceeb5297b99e954f32bbc11"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"51c6908fb99a2449ef85348394d92611340b9f9d","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":"When following this approach, a Server Profile is no longer required to"},{"line_number":79,"context_line":"validate a node. The `validate` methods of the `Power` and `Management`"},{"line_number":80,"context_line":"interfaces must be changed."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"In the proposed model, if a node is not free for Ironic (i.e., it is being"},{"line_number":83,"context_line":"used by OneView) the validation will fail. However, as we expect nodes that"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bae84128_a0d52bba","line":80,"range":{"start_line":80,"start_character":11,"end_line":80,"end_character":27},"in_reply_to":"bae84128_cb109d51","updated":"2016-02-22 14:14:55.000000000","message":"Awesome, Thank you.","commit_id":"e1732657a5363b01dceeb5297b99e954f32bbc11"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"fd664738d3f1f681a79b1dfadc42ecb2fc04e719","unresolved":false,"context_lines":[{"line_number":85,"context_line":"made available again in Ironic, if the `target_provision_state` of a node is"},{"line_number":86,"context_line":"`manageable`, then this check will be skipped."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"A node free for Ironic can be claimed by a OneView user at any moment. In that"},{"line_number":89,"context_line":"case, the node will still appear to be `available` in Ironic. If such node is"},{"line_number":90,"context_line":"scheduled for deployment, it will go to the `deploy failed` state and the Nova"},{"line_number":91,"context_line":"scheduler will be able to pick a different node. Afterwards, during the"},{"line_number":92,"context_line":"cleaning, an exception will be raised and the node will go to the"},{"line_number":93,"context_line":"`clean failed` state. The operator is expected to move such node back to"},{"line_number":94,"context_line":"`manageable` state and put it in maintenance mode."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Some changes in the cleaning process must also be considered. In order to"},{"line_number":97,"context_line":"clean a node, a Server Profile needs to be assigned to it. Considering that,"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bae84128_4735ae44","line":94,"range":{"start_line":88,"start_character":0,"end_line":94,"end_character":50},"updated":"2016-02-19 15:36:29.000000000","message":"It seems like this could be automatic since we already know the current lifecycle status of the machine in oneview, and in an environment with a great deal of churn I could see this leading to an exhaustion of available nodes.","commit_id":"e1732657a5363b01dceeb5297b99e954f32bbc11"},{"author":{"_account_id":14891,"name":"Lilia Sampaio","email":"liliars@lsd.ufcg.edu.br","username":"liliars"},"change_message_id":"bd5701c9cdf9ba3ffaf93ba37947fdfe79ceda78","unresolved":false,"context_lines":[{"line_number":85,"context_line":"made available again in Ironic, if the `target_provision_state` of a node is"},{"line_number":86,"context_line":"`manageable`, then this check will be skipped."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"A node free for Ironic can be claimed by a OneView user at any moment. In that"},{"line_number":89,"context_line":"case, the node will still appear to be `available` in Ironic. If such node is"},{"line_number":90,"context_line":"scheduled for deployment, it will go to the `deploy failed` state and the Nova"},{"line_number":91,"context_line":"scheduler will be able to pick a different node. Afterwards, during the"},{"line_number":92,"context_line":"cleaning, an exception will be raised and the node will go to the"},{"line_number":93,"context_line":"`clean failed` state. The operator is expected to move such node back to"},{"line_number":94,"context_line":"`manageable` state and put it in maintenance mode."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Some changes in the cleaning process must also be considered. In order to"},{"line_number":97,"context_line":"clean a node, a Server Profile needs to be assigned to it. Considering that,"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bae84128_4be2cdd6","line":94,"range":{"start_line":88,"start_character":0,"end_line":94,"end_character":50},"in_reply_to":"bae84128_4735ae44","updated":"2016-02-19 19:57:36.000000000","message":"That\u0027s something we have thought about too. The solution we came up with includes a thirdy-party service/daemon (oneviewd) that will be monitoring Ironic\u0027s and Oneview\u0027s pool of resources and putting nodes already in use by OneView in manageable/maintenance mode. In most cases oneviewd will be the first to know when a node becomes unavailable for Ironic because of OneView\u0027s event bus feature. We already have a version of this daemon working so it looks promising. Wdyt? Is it enough to ease this process?","commit_id":"e1732657a5363b01dceeb5297b99e954f32bbc11"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"51c6908fb99a2449ef85348394d92611340b9f9d","unresolved":false,"context_lines":[{"line_number":85,"context_line":"made available again in Ironic, if the `target_provision_state` of a node is"},{"line_number":86,"context_line":"`manageable`, then this check will be skipped."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"A node free for Ironic can be claimed by a OneView user at any moment. In that"},{"line_number":89,"context_line":"case, the node will still appear to be `available` in Ironic. If such node is"},{"line_number":90,"context_line":"scheduled for deployment, it will go to the `deploy failed` state and the Nova"},{"line_number":91,"context_line":"scheduler will be able to pick a different node. Afterwards, during the"},{"line_number":92,"context_line":"cleaning, an exception will be raised and the node will go to the"},{"line_number":93,"context_line":"`clean failed` state. The operator is expected to move such node back to"},{"line_number":94,"context_line":"`manageable` state and put it in maintenance mode."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Some changes in the cleaning process must also be considered. In order to"},{"line_number":97,"context_line":"clean a node, a Server Profile needs to be assigned to it. Considering that,"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bae84128_a0a9abe1","line":94,"range":{"start_line":88,"start_character":0,"end_line":94,"end_character":50},"in_reply_to":"bae84128_4be2cdd6","updated":"2016-02-22 14:14:55.000000000","message":"I think that may be the only way although not knowing how OneView\u0027s event bus feature works, I would be concerned about something directly plugging into it.  I think the best thing might be a daemon that polls both apis periodically and reconciles as appropriate.\n\nFor what its worth, it would be worth noting the possibility and intended solution in a future update of the specification, more as a contextual \"Hey, this can happen, here is how we think we can address this\"","commit_id":"e1732657a5363b01dceeb5297b99e954f32bbc11"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"cfd681cdec49e619996dce6ab878755aaeaf93fc","unresolved":false,"context_lines":[{"line_number":85,"context_line":"made available again in Ironic, if the `target_provision_state` of a node is"},{"line_number":86,"context_line":"`manageable`, then this check will be skipped."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"A node free for Ironic can be claimed by a OneView user at any moment. In that"},{"line_number":89,"context_line":"case, the node will still appear to be `available` in Ironic. If such node is"},{"line_number":90,"context_line":"scheduled for deployment, it will go to the `deploy failed` state and the Nova"},{"line_number":91,"context_line":"scheduler will be able to pick a different node. Afterwards, during the"},{"line_number":92,"context_line":"cleaning, an exception will be raised and the node will go to the"},{"line_number":93,"context_line":"`clean failed` state. The operator is expected to move such node back to"},{"line_number":94,"context_line":"`manageable` state and put it in maintenance mode."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Some changes in the cleaning process must also be considered. In order to"},{"line_number":97,"context_line":"clean a node, a Server Profile needs to be assigned to it. Considering that,"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bae84128_a4aecae3","line":94,"range":{"start_line":88,"start_character":0,"end_line":94,"end_character":50},"in_reply_to":"bae84128_8cb821e7","updated":"2016-02-22 20:49:17.000000000","message":"Awesome, Thank you! :)","commit_id":"e1732657a5363b01dceeb5297b99e954f32bbc11"},{"author":{"_account_id":14891,"name":"Lilia Sampaio","email":"liliars@lsd.ufcg.edu.br","username":"liliars"},"change_message_id":"194783bb386482b014c147f2998e688e2297588c","unresolved":false,"context_lines":[{"line_number":85,"context_line":"made available again in Ironic, if the `target_provision_state` of a node is"},{"line_number":86,"context_line":"`manageable`, then this check will be skipped."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"A node free for Ironic can be claimed by a OneView user at any moment. In that"},{"line_number":89,"context_line":"case, the node will still appear to be `available` in Ironic. If such node is"},{"line_number":90,"context_line":"scheduled for deployment, it will go to the `deploy failed` state and the Nova"},{"line_number":91,"context_line":"scheduler will be able to pick a different node. Afterwards, during the"},{"line_number":92,"context_line":"cleaning, an exception will be raised and the node will go to the"},{"line_number":93,"context_line":"`clean failed` state. The operator is expected to move such node back to"},{"line_number":94,"context_line":"`manageable` state and put it in maintenance mode."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Some changes in the cleaning process must also be considered. In order to"},{"line_number":97,"context_line":"clean a node, a Server Profile needs to be assigned to it. Considering that,"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bae84128_8cb821e7","line":94,"range":{"start_line":88,"start_character":0,"end_line":94,"end_character":50},"in_reply_to":"bae84128_a0a9abe1","updated":"2016-02-22 17:35:13.000000000","message":"First approach would include listening to OneView\u0027s event bus *and* polling periodically (user-defined time spacing) to guarantee consistency, especially if messages are lost or something. But cool, we can think about both approaches, thanks for the suggestions :) Will update the spec to mention this solution as an option.","commit_id":"e1732657a5363b01dceeb5297b99e954f32bbc11"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"fd664738d3f1f681a79b1dfadc42ecb2fc04e719","unresolved":false,"context_lines":[{"line_number":132,"context_line":"  - Server Profile will be removed from the Server Hardware the node"},{"line_number":133,"context_line":"    represents;"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"- `prepare`:"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"If the node is in use by OneView, an exception will be raised and the node"},{"line_number":138,"context_line":"goes to a `deploy failed` state. Otherwise, additional actions will be taken"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bae84128_c72ffe9f","line":135,"range":{"start_line":135,"start_character":0,"end_line":135,"end_character":12},"updated":"2016-02-19 15:36:29.000000000","message":"what about during conductor take_over?","commit_id":"e1732657a5363b01dceeb5297b99e954f32bbc11"},{"author":{"_account_id":14891,"name":"Lilia Sampaio","email":"liliars@lsd.ufcg.edu.br","username":"liliars"},"change_message_id":"194783bb386482b014c147f2998e688e2297588c","unresolved":false,"context_lines":[{"line_number":132,"context_line":"  - Server Profile will be removed from the Server Hardware the node"},{"line_number":133,"context_line":"    represents;"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"- `prepare`:"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"If the node is in use by OneView, an exception will be raised and the node"},{"line_number":138,"context_line":"goes to a `deploy failed` state. Otherwise, additional actions will be taken"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bae84128_ace9a582","line":135,"range":{"start_line":135,"start_character":0,"end_line":135,"end_character":12},"in_reply_to":"bae84128_4603980d","updated":"2016-02-22 17:35:13.000000000","message":"Yes, and thanks for that info, tbh we were not aware of it. Applying a server profile is the case we do not want to have happening periodically as part of this call. Possible solution is \"if target_provision_state/provision_state is x do this\", so we can guarantee profiles will be applied only at boot time. I\u0027ll not mention it here as I think this can be addressed in the code implementation, is this ok?","commit_id":"e1732657a5363b01dceeb5297b99e954f32bbc11"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"51c6908fb99a2449ef85348394d92611340b9f9d","unresolved":false,"context_lines":[{"line_number":132,"context_line":"  - Server Profile will be removed from the Server Hardware the node"},{"line_number":133,"context_line":"    represents;"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"- `prepare`:"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"If the node is in use by OneView, an exception will be raised and the node"},{"line_number":138,"context_line":"goes to a `deploy failed` state. Otherwise, additional actions will be taken"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bae84128_4603980d","line":135,"range":{"start_line":135,"start_character":0,"end_line":135,"end_character":12},"in_reply_to":"bae84128_56bf10d0","updated":"2016-02-22 14:14:55.000000000","message":"I\u0027m more so raising the question as task.driver.deploy.prepare() is called as part of _do_takeover process, and that any code in your prepare should handle this possibility accordingly.","commit_id":"e1732657a5363b01dceeb5297b99e954f32bbc11"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"cfd681cdec49e619996dce6ab878755aaeaf93fc","unresolved":false,"context_lines":[{"line_number":132,"context_line":"  - Server Profile will be removed from the Server Hardware the node"},{"line_number":133,"context_line":"    represents;"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"- `prepare`:"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"If the node is in use by OneView, an exception will be raised and the node"},{"line_number":138,"context_line":"goes to a `deploy failed` state. Otherwise, additional actions will be taken"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bae84128_e45d7216","line":135,"range":{"start_line":135,"start_character":0,"end_line":135,"end_character":12},"in_reply_to":"bae84128_ace9a582","updated":"2016-02-22 20:49:17.000000000","message":"Perfectly fine, I just wanted to raise the question to make sure some thought had gone into it, which should hopefully reduce the number of patch iterations required.  :)","commit_id":"e1732657a5363b01dceeb5297b99e954f32bbc11"},{"author":{"_account_id":14891,"name":"Lilia Sampaio","email":"liliars@lsd.ufcg.edu.br","username":"liliars"},"change_message_id":"bd5701c9cdf9ba3ffaf93ba37947fdfe79ceda78","unresolved":false,"context_lines":[{"line_number":132,"context_line":"  - Server Profile will be removed from the Server Hardware the node"},{"line_number":133,"context_line":"    represents;"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"- `prepare`:"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"If the node is in use by OneView, an exception will be raised and the node"},{"line_number":138,"context_line":"goes to a `deploy failed` state. Otherwise, additional actions will be taken"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bae84128_56bf10d0","line":135,"range":{"start_line":135,"start_character":0,"end_line":135,"end_character":12},"in_reply_to":"bae84128_c72ffe9f","updated":"2016-02-19 19:57:36.000000000","message":"Just looked this method workflow and afaik it goes from _sync_local_state -\u003e _do_takeover -\u003e deploy.take_over(). In _sync_local_state, _do_takeover is only called given some conditions, which from the top of my head might not be interesting for the cases when we have to apply a server profile. Do you mean put only the validation \"is this a OneView node?\" inside this take_over method, or the whole thing we propose in prepare()?","commit_id":"e1732657a5363b01dceeb5297b99e954f32bbc11"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"fd664738d3f1f681a79b1dfadc42ecb2fc04e719","unresolved":false,"context_lines":[{"line_number":258,"context_line":"Dependencies"},{"line_number":259,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"- python-oneviewclient version will be bumped;"},{"line_number":262,"context_line":""},{"line_number":263,"context_line":"Testing"},{"line_number":264,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bae84128_79a5f602","line":261,"range":{"start_line":261,"start_character":45,"end_line":261,"end_character":46},"updated":"2016-02-19 15:36:29.000000000","message":"nit: un-necessary ;","commit_id":"e1732657a5363b01dceeb5297b99e954f32bbc11"},{"author":{"_account_id":14891,"name":"Lilia Sampaio","email":"liliars@lsd.ufcg.edu.br","username":"liliars"},"change_message_id":"bd5701c9cdf9ba3ffaf93ba37947fdfe79ceda78","unresolved":false,"context_lines":[{"line_number":258,"context_line":"Dependencies"},{"line_number":259,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"- python-oneviewclient version will be bumped;"},{"line_number":262,"context_line":""},{"line_number":263,"context_line":"Testing"},{"line_number":264,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bae84128_2b35c9d9","line":261,"range":{"start_line":261,"start_character":45,"end_line":261,"end_character":46},"in_reply_to":"bae84128_79a5f602","updated":"2016-02-19 19:57:36.000000000","message":"Done","commit_id":"e1732657a5363b01dceeb5297b99e954f32bbc11"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"fd664738d3f1f681a79b1dfadc42ecb2fc04e719","unresolved":false,"context_lines":[{"line_number":276,"context_line":"    - Driver defaults to pre-allocation in case the flag is missing;"},{"line_number":277,"context_line":"    - Script provided to ease migration process;"},{"line_number":278,"context_line":"- Newton"},{"line_number":279,"context_line":"    - Only dynamic allocation will be supported;"},{"line_number":280,"context_line":"    - Flag ignored;"},{"line_number":281,"context_line":""},{"line_number":282,"context_line":"Documentation Impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bae84128_394a4e84","line":279,"range":{"start_line":279,"start_character":0,"end_line":279,"end_character":48},"updated":"2016-02-19 15:36:29.000000000","message":"Please review https://governance.openstack.org/reference/tags/assert_follows-standard-deprecation.html as this might not be acceptable to the community at large.","commit_id":"e1732657a5363b01dceeb5297b99e954f32bbc11"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"51c6908fb99a2449ef85348394d92611340b9f9d","unresolved":false,"context_lines":[{"line_number":276,"context_line":"    - Driver defaults to pre-allocation in case the flag is missing;"},{"line_number":277,"context_line":"    - Script provided to ease migration process;"},{"line_number":278,"context_line":"- Newton"},{"line_number":279,"context_line":"    - Only dynamic allocation will be supported;"},{"line_number":280,"context_line":"    - Flag ignored;"},{"line_number":281,"context_line":""},{"line_number":282,"context_line":"Documentation Impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bae84128_e0d9f384","line":279,"range":{"start_line":279,"start_character":0,"end_line":279,"end_character":48},"in_reply_to":"bae84128_164748bc","updated":"2016-02-22 14:14:55.000000000","message":"Awesome, let us know!","commit_id":"e1732657a5363b01dceeb5297b99e954f32bbc11"},{"author":{"_account_id":14891,"name":"Lilia Sampaio","email":"liliars@lsd.ufcg.edu.br","username":"liliars"},"change_message_id":"bd5701c9cdf9ba3ffaf93ba37947fdfe79ceda78","unresolved":false,"context_lines":[{"line_number":276,"context_line":"    - Driver defaults to pre-allocation in case the flag is missing;"},{"line_number":277,"context_line":"    - Script provided to ease migration process;"},{"line_number":278,"context_line":"- Newton"},{"line_number":279,"context_line":"    - Only dynamic allocation will be supported;"},{"line_number":280,"context_line":"    - Flag ignored;"},{"line_number":281,"context_line":""},{"line_number":282,"context_line":"Documentation Impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bae84128_164748bc","line":279,"range":{"start_line":279,"start_character":0,"end_line":279,"end_character":48},"in_reply_to":"bae84128_394a4e84","updated":"2016-02-19 19:57:36.000000000","message":"Thanks for the link! Just dig some more info and I think we are good with deprecation in two cycles (in this case O). Will update.","commit_id":"e1732657a5363b01dceeb5297b99e954f32bbc11"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"18a2e9e14ceb72990d2c4658be3bc00dd30cee44","unresolved":false,"context_lines":[{"line_number":95,"context_line":""},{"line_number":96,"context_line":"In order to ease this process, an external daemon called `oneviewd` that"},{"line_number":97,"context_line":"monitors both, Ironic and OneView, will be responsible for identifying such"},{"line_number":98,"context_line":"nodes that are already in use by OneView and take the expected actions. Thus,"},{"line_number":99,"context_line":"users will not have to manually perform such tasks, which are time consuming"},{"line_number":100,"context_line":"when considering a big poll of resources. And updated version of `oneviewd`"},{"line_number":101,"context_line":"will be available for installation in PyPI after this work is complete."}],"source_content_type":"text/x-rst","patch_set":2,"id":"bae84128_f3d6a44d","line":98,"updated":"2016-02-23 17:45:01.000000000","message":"What about having a driver periodic task [0] for this instead of a daemon ? If we can go with the periodic task it would be easier for one to deploy ironic with the OneView driver. Plus, if the daemon is meant to talk to the Ironic API to perform some actions on it (e.g moving the node from \"available\" to \"manageable\") it will require having admin creds (Ironic is an admin API by default) which is not ideal IMHO.\n\nAlso, what are the expected actions? A suggestion would be to the periodic task (or daemon) to use the maintenance mode instead of moving it to manageable to available, the only reason being that when setting you maintenance mode you can give Ironic a reason why you are doing it. I think that would be more user-friendly if you had a field in the api saying \"this node is in mainteance because the machine is being used by another OneView user outside Ironic\" (or something along those lines)\n\n[0] http://docs.openstack.org/developer/ironic/dev/architecture.html?highlight\u003ddriver%20periodic%20task#driver-specific-periodic-tasks","commit_id":"646101dced782f39b6de600703203b2af6cfec31"},{"author":{"_account_id":14891,"name":"Lilia Sampaio","email":"liliars@lsd.ufcg.edu.br","username":"liliars"},"change_message_id":"1388f4d73825f3f655e6a173a931cb814eb1a362","unresolved":false,"context_lines":[{"line_number":95,"context_line":""},{"line_number":96,"context_line":"In order to ease this process, an external daemon called `oneviewd` that"},{"line_number":97,"context_line":"monitors both, Ironic and OneView, will be responsible for identifying such"},{"line_number":98,"context_line":"nodes that are already in use by OneView and take the expected actions. Thus,"},{"line_number":99,"context_line":"users will not have to manually perform such tasks, which are time consuming"},{"line_number":100,"context_line":"when considering a big poll of resources. And updated version of `oneviewd`"},{"line_number":101,"context_line":"will be available for installation in PyPI after this work is complete."}],"source_content_type":"text/x-rst","patch_set":2,"id":"bae84128_7b56ea5c","line":98,"in_reply_to":"bae84128_f3d6a44d","updated":"2016-02-23 18:54:16.000000000","message":"Can we discuss this in the channel? I think we can both benefit more from the dicussion this way :)","commit_id":"646101dced782f39b6de600703203b2af6cfec31"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"4d2198a370d3646aeec023224c2a8278c471859c","unresolved":false,"context_lines":[{"line_number":97,"context_line":"monitors both, Ironic and OneView, will be responsible for identifying such"},{"line_number":98,"context_line":"nodes that are already in use by OneView and take the expected actions. Thus,"},{"line_number":99,"context_line":"users will not have to manually perform such tasks, which are time consuming"},{"line_number":100,"context_line":"when considering a big poll of resources. And updated version of `oneviewd`"},{"line_number":101,"context_line":"will be available for installation in PyPI after this work is complete."},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"Some changes in the cleaning process must also be considered. In order to"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bae84128_44a37eb2","line":100,"range":{"start_line":100,"start_character":66,"end_line":100,"end_character":74},"updated":"2016-02-22 21:03:52.000000000","message":"s/oneviewd/ironic-oneviewd/","commit_id":"646101dced782f39b6de600703203b2af6cfec31"},{"author":{"_account_id":14891,"name":"Lilia Sampaio","email":"liliars@lsd.ufcg.edu.br","username":"liliars"},"change_message_id":"1388f4d73825f3f655e6a173a931cb814eb1a362","unresolved":false,"context_lines":[{"line_number":97,"context_line":"monitors both, Ironic and OneView, will be responsible for identifying such"},{"line_number":98,"context_line":"nodes that are already in use by OneView and take the expected actions. Thus,"},{"line_number":99,"context_line":"users will not have to manually perform such tasks, which are time consuming"},{"line_number":100,"context_line":"when considering a big poll of resources. And updated version of `oneviewd`"},{"line_number":101,"context_line":"will be available for installation in PyPI after this work is complete."},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"Some changes in the cleaning process must also be considered. In order to"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bae84128_be5340e1","line":100,"range":{"start_line":100,"start_character":66,"end_line":100,"end_character":74},"in_reply_to":"bae84128_44a37eb2","updated":"2016-02-23 18:54:16.000000000","message":"Done","commit_id":"646101dced782f39b6de600703203b2af6cfec31"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"4d2198a370d3646aeec023224c2a8278c471859c","unresolved":false,"context_lines":[{"line_number":98,"context_line":"nodes that are already in use by OneView and take the expected actions. Thus,"},{"line_number":99,"context_line":"users will not have to manually perform such tasks, which are time consuming"},{"line_number":100,"context_line":"when considering a big poll of resources. And updated version of `oneviewd`"},{"line_number":101,"context_line":"will be available for installation in PyPI after this work is complete."},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"Some changes in the cleaning process must also be considered. In order to"},{"line_number":104,"context_line":"clean a node, a Server Profile needs to be assigned to it. Considering that,"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bae84128_a4252a0a","line":101,"range":{"start_line":101,"start_character":43,"end_line":101,"end_character":48},"updated":"2016-02-22 21:03:52.000000000","message":"Just a thought, but wouldn\u0027t you potentially want this available prior to the work in ironic being completed?  Pity it is not in gerrit since dependency interactions could prove very useful there.","commit_id":"646101dced782f39b6de600703203b2af6cfec31"},{"author":{"_account_id":14891,"name":"Lilia Sampaio","email":"liliars@lsd.ufcg.edu.br","username":"liliars"},"change_message_id":"1388f4d73825f3f655e6a173a931cb814eb1a362","unresolved":false,"context_lines":[{"line_number":98,"context_line":"nodes that are already in use by OneView and take the expected actions. Thus,"},{"line_number":99,"context_line":"users will not have to manually perform such tasks, which are time consuming"},{"line_number":100,"context_line":"when considering a big poll of resources. And updated version of `oneviewd`"},{"line_number":101,"context_line":"will be available for installation in PyPI after this work is complete."},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"Some changes in the cleaning process must also be considered. In order to"},{"line_number":104,"context_line":"clean a node, a Server Profile needs to be assigned to it. Considering that,"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bae84128_5e4af426","line":101,"range":{"start_line":101,"start_character":43,"end_line":101,"end_character":48},"in_reply_to":"bae84128_a4252a0a","updated":"2016-02-23 18:54:16.000000000","message":"We actually talked about moving the ironic-oneviewd code to gerrit a while ago. Might be the time to have another conversation in this direction :) Regarding releases, we are working on both codes (driver and daemon) right now, so they should be really close anyway.","commit_id":"646101dced782f39b6de600703203b2af6cfec31"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"18a2e9e14ceb72990d2c4658be3bc00dd30cee44","unresolved":false,"context_lines":[{"line_number":196,"context_line":""},{"line_number":197,"context_line":"Security impact"},{"line_number":198,"context_line":"---------------"},{"line_number":199,"context_line":"None"},{"line_number":200,"context_line":""},{"line_number":201,"context_line":"Other end user impact"},{"line_number":202,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bae84128_059dbfbb","line":199,"updated":"2016-02-23 17:45:01.000000000","message":"What happens with the node after the OneView user (not via Ironic) releases the node?\n\nDoes one view also erase the disks on that machine? If not, we may have a case where the data from the previous user of OneView will be available for the Ironic user (once the node is released)","commit_id":"646101dced782f39b6de600703203b2af6cfec31"},{"author":{"_account_id":14891,"name":"Lilia Sampaio","email":"liliars@lsd.ufcg.edu.br","username":"liliars"},"change_message_id":"1388f4d73825f3f655e6a173a931cb814eb1a362","unresolved":false,"context_lines":[{"line_number":196,"context_line":""},{"line_number":197,"context_line":"Security impact"},{"line_number":198,"context_line":"---------------"},{"line_number":199,"context_line":"None"},{"line_number":200,"context_line":""},{"line_number":201,"context_line":"Other end user impact"},{"line_number":202,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bae84128_3be582db","line":199,"in_reply_to":"bae84128_059dbfbb","updated":"2016-02-23 18:54:16.000000000","message":"OneView doesn\u0027t erase the disks on a given machine after releasing a node. We are counting on the cleaning that happens before the node goes to available again to clean such  data that might stay in the disk. OneView users can also manually erase the disk before releasing the hardware. Do you think it is worth to mention it here? It is not a security impact in the driver itself, *I think*. Documenting it to make OneView users aware of this fact might be a better approach. Wdyt?","commit_id":"646101dced782f39b6de600703203b2af6cfec31"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"18a2e9e14ceb72990d2c4658be3bc00dd30cee44","unresolved":false,"context_lines":[{"line_number":230,"context_line":""},{"line_number":231,"context_line":"In order to ease this process, a migration script will be provided to"},{"line_number":232,"context_line":"deployers that currently have a previous version of the drivers running."},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"Developer impact"},{"line_number":235,"context_line":"----------------"},{"line_number":236,"context_line":"None"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bae84128_05849f5b","line":233,"updated":"2016-02-23 17:45:01.000000000","message":"With the propose as-is, deployers will also have to deploy the \"oneviewd\" daemon and probably have a watchdog for it and so on","commit_id":"646101dced782f39b6de600703203b2af6cfec31"},{"author":{"_account_id":14891,"name":"Lilia Sampaio","email":"liliars@lsd.ufcg.edu.br","username":"liliars"},"change_message_id":"1388f4d73825f3f655e6a173a931cb814eb1a362","unresolved":false,"context_lines":[{"line_number":230,"context_line":""},{"line_number":231,"context_line":"In order to ease this process, a migration script will be provided to"},{"line_number":232,"context_line":"deployers that currently have a previous version of the drivers running."},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"Developer impact"},{"line_number":235,"context_line":"----------------"},{"line_number":236,"context_line":"None"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bae84128_5b6cc634","line":233,"in_reply_to":"bae84128_05849f5b","updated":"2016-02-23 18:54:16.000000000","message":"We don\u0027t see ironic-oneviewd as a dependency. It is up to the operator to use it or not. In short words, ironic-oneviewd simply does what an operator would manually do if not using this daemon. In this case, I don\u0027t think it is an impact. Wdyt?","commit_id":"646101dced782f39b6de600703203b2af6cfec31"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"6d0f347d5e7bddd865008eb0954e585788091eef","unresolved":false,"context_lines":[{"line_number":93,"context_line":"`clean failed` state. The operator is expected to move such node back to"},{"line_number":94,"context_line":"`manageable` state and put it in maintenance mode."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"In order to ease this process, an external daemon called `ironic-oneviewd`"},{"line_number":97,"context_line":"that monitors both, Ironic and OneView, will be responsible for identifying"},{"line_number":98,"context_line":"such nodes that are already in use by OneView and take the expected actions."},{"line_number":99,"context_line":"Thus, users will not have to manually perform such tasks, which are time"},{"line_number":100,"context_line":"consuming when considering a big poll of resources. An updated version of"},{"line_number":101,"context_line":"`ironic-oneviewd` will be available for installation in PyPI after this work"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afc51ec_3f4dbc6c","line":98,"range":{"start_line":96,"start_character":0,"end_line":98,"end_character":75},"updated":"2016-03-14 17:01:19.000000000","message":"Not a blocker to approving more just a question for my understanding:  Will this external daemon also work in the stand alone use case, IE. Bifrost?","commit_id":"266573d3bdeddd2723def54d65b3658d46b0f4fb"},{"author":{"_account_id":14891,"name":"Lilia Sampaio","email":"liliars@lsd.ufcg.edu.br","username":"liliars"},"change_message_id":"dbe4fd7437711bcf43b2d170ce12805327211a14","unresolved":false,"context_lines":[{"line_number":93,"context_line":"`clean failed` state. The operator is expected to move such node back to"},{"line_number":94,"context_line":"`manageable` state and put it in maintenance mode."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"In order to ease this process, an external daemon called `ironic-oneviewd`"},{"line_number":97,"context_line":"that monitors both, Ironic and OneView, will be responsible for identifying"},{"line_number":98,"context_line":"such nodes that are already in use by OneView and take the expected actions."},{"line_number":99,"context_line":"Thus, users will not have to manually perform such tasks, which are time"},{"line_number":100,"context_line":"consuming when considering a big poll of resources. An updated version of"},{"line_number":101,"context_line":"`ironic-oneviewd` will be available for installation in PyPI after this work"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afc51ec_15e41f39","line":98,"range":{"start_line":96,"start_character":0,"end_line":98,"end_character":75},"in_reply_to":"3afc51ec_3f4dbc6c","updated":"2016-03-14 17:33:29.000000000","message":"I believe yes. Although we have not actually tested this yet (which is a nice thing to do, will make a note on that), the current daemon\u0027s workflows/tasks don\u0027t seem to clash with stand alone use cases.","commit_id":"266573d3bdeddd2723def54d65b3658d46b0f4fb"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"a5ebf78a3d37d618f8b4593290500e28e5a30523","unresolved":false,"context_lines":[{"line_number":203,"context_line":"This means that once such node is released, some remaining data from its"},{"line_number":204,"context_line":"previous user can be available for Ironic. As an alternative to prevent this"},{"line_number":205,"context_line":"from happening, OneView users can manually erase such disks prior to releasing"},{"line_number":206,"context_line":"the hardware. Otherwise, Ironic will take care of the cleaning in its standard"},{"line_number":207,"context_line":"workflow."},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"Other end user impact"},{"line_number":210,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"5aef4532_a943e1ad","line":207,"range":{"start_line":206,"start_character":14,"end_line":207,"end_character":8},"updated":"2016-03-10 15:38:46.000000000","message":"There\u0027s still a case where the OneView user release the node and then it get\u0027s immediately take by another OneView user prior to the overviewd daemon change the provision state in Ironic right? It may be rare but it seems that this window of time does exist and can be hit.","commit_id":"266573d3bdeddd2723def54d65b3658d46b0f4fb"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"cf7732af7731a7a79f4ae44eb284f93c91c1b80f","unresolved":false,"context_lines":[{"line_number":203,"context_line":"This means that once such node is released, some remaining data from its"},{"line_number":204,"context_line":"previous user can be available for Ironic. As an alternative to prevent this"},{"line_number":205,"context_line":"from happening, OneView users can manually erase such disks prior to releasing"},{"line_number":206,"context_line":"the hardware. Otherwise, Ironic will take care of the cleaning in its standard"},{"line_number":207,"context_line":"workflow."},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"Other end user impact"},{"line_number":210,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1af94dfe_a84d2d9b","line":207,"range":{"start_line":206,"start_character":14,"end_line":207,"end_character":8},"in_reply_to":"5aef4532_a943e1ad","updated":"2016-03-16 15:52:07.000000000","message":"Agreed, but I think in that case it is out of our realm of control.  It might be good for a discussion between the oneview driver team and the oneview product folks because I can see this as a totally valid operator concern.","commit_id":"266573d3bdeddd2723def54d65b3658d46b0f4fb"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"6d0f347d5e7bddd865008eb0954e585788091eef","unresolved":false,"context_lines":[{"line_number":239,"context_line":"In order to ease this process, a migration script will be provided to"},{"line_number":240,"context_line":"deployers that currently have a previous version of the drivers running."},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"As previously presented in this spec, an updated version of `ironic-oneviewd`"},{"line_number":243,"context_line":"will soon be available for intallation in PyPI. After this work is complete,"},{"line_number":244,"context_line":"we consider moving some of its features inside Ironic, by using periodic tasks"},{"line_number":245,"context_line":"and the futurist library to implement parallel node handling and"},{"line_number":246,"context_line":"synchronization between Ironic and OneView."},{"line_number":247,"context_line":""},{"line_number":248,"context_line":"Developer impact"},{"line_number":249,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afc51ec_4d55851b","line":246,"range":{"start_line":242,"start_character":0,"end_line":246,"end_character":43},"updated":"2016-03-14 17:01:19.000000000","message":"Just Noting that I want to be sure that complete documentation on setting up the external daemon will be provided.","commit_id":"266573d3bdeddd2723def54d65b3658d46b0f4fb"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"cf7732af7731a7a79f4ae44eb284f93c91c1b80f","unresolved":false,"context_lines":[{"line_number":239,"context_line":"In order to ease this process, a migration script will be provided to"},{"line_number":240,"context_line":"deployers that currently have a previous version of the drivers running."},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"As previously presented in this spec, an updated version of `ironic-oneviewd`"},{"line_number":243,"context_line":"will soon be available for intallation in PyPI. After this work is complete,"},{"line_number":244,"context_line":"we consider moving some of its features inside Ironic, by using periodic tasks"},{"line_number":245,"context_line":"and the futurist library to implement parallel node handling and"},{"line_number":246,"context_line":"synchronization between Ironic and OneView."},{"line_number":247,"context_line":""},{"line_number":248,"context_line":"Developer impact"},{"line_number":249,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1af94dfe_2b0f572f","line":246,"range":{"start_line":242,"start_character":0,"end_line":246,"end_character":43},"in_reply_to":"3afc51ec_42926f9f","updated":"2016-03-16 15:52:07.000000000","message":"I hate to be that person, but can we get that as an explicit task in a follow-up update to the specification?  I am just worried that if we don\u0027t explicitly call out the documentation expectations, then we risk forgetting things some of the things that are important to document.","commit_id":"266573d3bdeddd2723def54d65b3658d46b0f4fb"},{"author":{"_account_id":14891,"name":"Lilia Sampaio","email":"liliars@lsd.ufcg.edu.br","username":"liliars"},"change_message_id":"dbe4fd7437711bcf43b2d170ce12805327211a14","unresolved":false,"context_lines":[{"line_number":239,"context_line":"In order to ease this process, a migration script will be provided to"},{"line_number":240,"context_line":"deployers that currently have a previous version of the drivers running."},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"As previously presented in this spec, an updated version of `ironic-oneviewd`"},{"line_number":243,"context_line":"will soon be available for intallation in PyPI. After this work is complete,"},{"line_number":244,"context_line":"we consider moving some of its features inside Ironic, by using periodic tasks"},{"line_number":245,"context_line":"and the futurist library to implement parallel node handling and"},{"line_number":246,"context_line":"synchronization between Ironic and OneView."},{"line_number":247,"context_line":""},{"line_number":248,"context_line":"Developer impact"},{"line_number":249,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afc51ec_42926f9f","line":246,"range":{"start_line":242,"start_character":0,"end_line":246,"end_character":43},"in_reply_to":"3afc51ec_4d55851b","updated":"2016-03-14 17:33:29.000000000","message":"Yes, documentation will be available at PyPI, and linked in our driver docs.","commit_id":"266573d3bdeddd2723def54d65b3658d46b0f4fb"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"dc21a68500e32d0e3f2bf2699a7fcbd0bab6d363","unresolved":false,"context_lines":[{"line_number":96,"context_line":""},{"line_number":97,"context_line":"If such node is scheduled for deployment prior"},{"line_number":98,"context_line":"to the execution of the periodic task, it will go to the `deploy failed` state"},{"line_number":99,"context_line":"and enter the cleaning process, that should fail since the node is in use by a"},{"line_number":100,"context_line":"OneView user. Nova scheduler will be able to pick a different node. A third"},{"line_number":101,"context_line":"periodic task will then be responsible to detect such failures and handle the "},{"line_number":102,"context_line":"node back to `manageable` state and maintenance mode until freed. "}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba0121b8_030fa637","line":99,"updated":"2016-03-30 21:57:28.000000000","message":"Note I don\u0027t know a lot about OneView, so pardon the ignorance there. Just see a couple of major operability issues I wanted to point out.\n\nI\u0027d really love for some better resolution than deploy fail -\u003e clean fail for this case, given it\u0027s going to be a \"normal\" occurrence for users sharing nodes.\n\nOtherwise operators of this driver will end up collecting \"cruft\" of clean fail nodes that are actually fine, and will have to coordinate cleaning them up with OneView, that seems painful.\n\nThe ideal case, IMO, would be deploy failed -\u003e cleaning -\u003e manageable, with cleaning being a noop for a node in use by oneview in this case. The node being in manageable in the end would be consistent for the operator and force the node to clean before it was available to Ironic again.\n\nI\u0027m not sure (in fact, I suspect this doesn\u0027t fit) if this fits in well with the state model; but I think we should find a way to massage this failure case into the right states.\n\n\nThere\u0027s also a potential second problem here: Ironic will step on whatever OneView is trying to do. Imagine you use up a node in OneView while Ironic starts a deployment, whatever OneView is doing will be significantly disrupted by Ironic performing power state actions against the node (perhaps, in a future Ironic, even doing network swaps).\n\n\nBoth of these problems make me want a reservation style model, where OneView would reserve the node, but have to wait until Ironic knew it was maintenanced and in a reasonable state before using it. I have no idea if this is feasable with OneView, but it would resolve both failure cases in a sane way.","commit_id":"ae599b8fb8649751d0ce7f353899ddf92ec5ab5d"},{"author":{"_account_id":10697,"name":"Thiago Paiva Brito","email":"thiagop@lsd.ufcg.edu.br","username":"thiagop","inactive":true},"change_message_id":"d3a585e0e338270cabb88a58417db17983835263","unresolved":false,"context_lines":[{"line_number":96,"context_line":""},{"line_number":97,"context_line":"If such node is scheduled for deployment prior"},{"line_number":98,"context_line":"to the execution of the periodic task, it will go to the `deploy failed` state"},{"line_number":99,"context_line":"and enter the cleaning process, that should fail since the node is in use by a"},{"line_number":100,"context_line":"OneView user. Nova scheduler will be able to pick a different node. A third"},{"line_number":101,"context_line":"periodic task will then be responsible to detect such failures and handle the "},{"line_number":102,"context_line":"node back to `manageable` state and maintenance mode until freed. "}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba0121b8_29760b06","line":99,"in_reply_to":"ba0121b8_030fa637","updated":"2016-03-30 22:30:48.000000000","message":"In fact, I think it\u0027s more an edge case than a normal occurrence. Correct me if I\u0027m wrong, but I noted that clean fail is a consequence of the way the state machine works (it\u0027ll always get to \u0027cleaning\u0027 getting out of \u0027deleting\u0027) since our validation methods will fail for taken nodes. From there, the second periodic task can move the node to \u0027manageable\u0027 without passing on \u0027clean\u0027 again (and without intervention of the operator). Do you think it\u0027s feasible or is it very far from what is expected of the manipulation of the state machine?\n\nAbout the second concern, the intention is that the driver will not allow Ironic to do anything with a node that isn\u0027t free (therefore passing validation on both power and management interfaces). So OneView users are protected. The reverse is another problem since OneView doesn\u0027t ensure a Server Profile applied by Ironic will not be removed, but the \"contract\" with OneView users is that no Server Profile that was created with a given naming pattern indicating it was created by Ironic shall be touched.\n\nBTW, cool idea with the reservation model. I don\u0027t think it\u0027s feasible with the version we\u0027re working right now since it\u0027s a market product, but I can suggest it for future versions. :)","commit_id":"ae599b8fb8649751d0ce7f353899ddf92ec5ab5d"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"dc21a68500e32d0e3f2bf2699a7fcbd0bab6d363","unresolved":false,"context_lines":[{"line_number":152,"context_line":"    inside the `properties/capabilities` namespace of the node."},{"line_number":153,"context_line":"  - `applied_server_profile_uri` field will be added to the"},{"line_number":154,"context_line":"    `driver_info` namespace of the node;"},{"line_number":155,"context_line":"    "},{"line_number":156,"context_line":"The interfaces will also implement three new driver periodic tasks:"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"- `_periodic_check_nodes_taken_by_oneview`:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba0121b8_2302aa0b","line":155,"updated":"2016-03-30 21:57:28.000000000","message":"nit: dangling whitespace","commit_id":"ae599b8fb8649751d0ce7f353899ddf92ec5ab5d"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"dc21a68500e32d0e3f2bf2699a7fcbd0bab6d363","unresolved":false,"context_lines":[{"line_number":229,"context_line":"previous user can be available for Ironic. As an alternative to prevent this"},{"line_number":230,"context_line":"from happening, OneView users can manually erase such disks prior to releasing"},{"line_number":231,"context_line":"the hardware. Otherwise, the driver will handle these machines to `manageable`"},{"line_number":232,"context_line":"state through its periodic tasks, from where Ironic can take care of the"},{"line_number":233,"context_line":"cleaning in its standard cleaning workflow."},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"Other end user impact"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba0121b8_2ee61144","line":232,"updated":"2016-03-30 21:57:28.000000000","message":"+1 your driver should force nodes into Manageable (then to Available, if desired), to prevent the node from being in a bad state from a previous usage. I don\u0027t think this should be an option left to the operator (except, obviously, for the existing option to turn cleaning on/off entirely; but either way this driver should put the server in the right states and let that option decide if cleaning is a noop).","commit_id":"ae599b8fb8649751d0ce7f353899ddf92ec5ab5d"},{"author":{"_account_id":10697,"name":"Thiago Paiva Brito","email":"thiagop@lsd.ufcg.edu.br","username":"thiagop","inactive":true},"change_message_id":"d3a585e0e338270cabb88a58417db17983835263","unresolved":false,"context_lines":[{"line_number":229,"context_line":"previous user can be available for Ironic. As an alternative to prevent this"},{"line_number":230,"context_line":"from happening, OneView users can manually erase such disks prior to releasing"},{"line_number":231,"context_line":"the hardware. Otherwise, the driver will handle these machines to `manageable`"},{"line_number":232,"context_line":"state through its periodic tasks, from where Ironic can take care of the"},{"line_number":233,"context_line":"cleaning in its standard cleaning workflow."},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"Other end user impact"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba0121b8_6e4c899e","line":232,"in_reply_to":"ba0121b8_2ee61144","updated":"2016-03-30 22:30:48.000000000","message":"That\u0027s the intention. The driver shall take care of this if the OneView user did not clean his mess. Do you think we should remove this chunk about what we expect from the OneView user from the spec for the sake of clarity? Since we\u0027ll do cleaning anyway, seems that it\u0027s not an important piece of information.","commit_id":"ae599b8fb8649751d0ce7f353899ddf92ec5ab5d"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"08c8bd8c9d4247071a97582bcc25df2b1a95e568","unresolved":false,"context_lines":[{"line_number":99,"context_line":"and enter the cleaning process, that should fail since the node is in use by a"},{"line_number":100,"context_line":"OneView user. Nova scheduler will be able to pick a different node. A third"},{"line_number":101,"context_line":"periodic task will then be responsible to detect such failures and handle the"},{"line_number":102,"context_line":"node back to `manageable` state and maintenance mode until freed."},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"Some changes in the cleaning process must also be considered. In order to"},{"line_number":105,"context_line":"clean a node, a Server Profile needs to be assigned to it. Considering that,"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_f4d34602","line":102,"updated":"2016-03-30 22:55:44.000000000","message":"+1 this is a big improvement, to not leave the mess around for operators.","commit_id":"dc22515f2f44d21200da3dc2bf2bfbedb1b635a1"},{"author":{"_account_id":10697,"name":"Thiago Paiva Brito","email":"thiagop@lsd.ufcg.edu.br","username":"thiagop","inactive":true},"change_message_id":"7e3460ebffd93507534d0571481c5ad200df1fc4","unresolved":false,"context_lines":[{"line_number":99,"context_line":"and enter the cleaning process, that should fail since the node is in use by a"},{"line_number":100,"context_line":"OneView user. Nova scheduler will be able to pick a different node. A third"},{"line_number":101,"context_line":"periodic task will then be responsible to detect such failures and handle the"},{"line_number":102,"context_line":"node back to `manageable` state and maintenance mode until freed."},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"Some changes in the cleaning process must also be considered. In order to"},{"line_number":105,"context_line":"clean a node, a Server Profile needs to be assigned to it. Considering that,"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_78deb2dd","line":102,"in_reply_to":"ba0121b8_f4d34602","updated":"2016-04-01 13:40:53.000000000","message":";)","commit_id":"dc22515f2f44d21200da3dc2bf2bfbedb1b635a1"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"08c8bd8c9d4247071a97582bcc25df2b1a95e568","unresolved":false,"context_lines":[{"line_number":229,"context_line":"previous user can be available for Ironic. As an alternative to prevent this"},{"line_number":230,"context_line":"from happening, OneView users can manually erase such disks prior to releasing"},{"line_number":231,"context_line":"the hardware. Otherwise, the driver will handle these machines to `manageable`"},{"line_number":232,"context_line":"state through its periodic tasks, from where Ironic can take care of the"},{"line_number":233,"context_line":"cleaning in its standard cleaning workflow."},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"Other end user impact"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_74061687","line":232,"updated":"2016-03-30 22:55:44.000000000","message":"Yeah, I\u0027d update this to only mention that Oneview users need to cleanup IF automated cleaning is disabled.","commit_id":"dc22515f2f44d21200da3dc2bf2bfbedb1b635a1"},{"author":{"_account_id":10697,"name":"Thiago Paiva Brito","email":"thiagop@lsd.ufcg.edu.br","username":"thiagop","inactive":true},"change_message_id":"7e3460ebffd93507534d0571481c5ad200df1fc4","unresolved":false,"context_lines":[{"line_number":229,"context_line":"previous user can be available for Ironic. As an alternative to prevent this"},{"line_number":230,"context_line":"from happening, OneView users can manually erase such disks prior to releasing"},{"line_number":231,"context_line":"the hardware. Otherwise, the driver will handle these machines to `manageable`"},{"line_number":232,"context_line":"state through its periodic tasks, from where Ironic can take care of the"},{"line_number":233,"context_line":"cleaning in its standard cleaning workflow."},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"Other end user impact"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_b8768a03","line":232,"in_reply_to":"ba0121b8_74061687","updated":"2016-04-01 13:40:53.000000000","message":"Done","commit_id":"dc22515f2f44d21200da3dc2bf2bfbedb1b635a1"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"bb4d48fdaf927189fbbef9e1f5170e162112ea13","unresolved":false,"context_lines":[{"line_number":157,"context_line":""},{"line_number":158,"context_line":"- `_periodic_check_nodes_taken_by_oneview`:"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"This driver periodic task will check for nodes that were taken by OneView users"},{"line_number":161,"context_line":"while the node is in active state and set the node to maintenance mode with an"},{"line_number":162,"context_line":"appropriate maintenance reason message and move the node to `manageable` state."},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"- `_periodic_check_nodes_freed_by_oneview`:"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9a061dce_f2811791","line":161,"range":{"start_line":160,"start_character":57,"end_line":161,"end_character":33},"updated":"2016-04-04 15:18:47.000000000","message":"Nodes in active state should not be taken as this would mean they are in use by Ironic. do you mean available state?","commit_id":"3959c71c728b0a3de016ff2ed343b0e74ad16475"},{"author":{"_account_id":10697,"name":"Thiago Paiva Brito","email":"thiagop@lsd.ufcg.edu.br","username":"thiagop","inactive":true},"change_message_id":"62db0a643c4c4f7ffb99db3b7b6344cf4347196e","unresolved":false,"context_lines":[{"line_number":157,"context_line":""},{"line_number":158,"context_line":"- `_periodic_check_nodes_taken_by_oneview`:"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"This driver periodic task will check for nodes that were taken by OneView users"},{"line_number":161,"context_line":"while the node is in active state and set the node to maintenance mode with an"},{"line_number":162,"context_line":"appropriate maintenance reason message and move the node to `manageable` state."},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"- `_periodic_check_nodes_freed_by_oneview`:"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9a061dce_55a42d56","line":161,"range":{"start_line":160,"start_character":57,"end_line":161,"end_character":33},"in_reply_to":"9a061dce_f2811791","updated":"2016-04-04 15:24:04.000000000","message":"Damn, I always confuse that. Maybe because it begins with A. :)","commit_id":"3959c71c728b0a3de016ff2ed343b0e74ad16475"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"bb4d48fdaf927189fbbef9e1f5170e162112ea13","unresolved":false,"context_lines":[{"line_number":241,"context_line":"------------------"},{"line_number":242,"context_line":"None"},{"line_number":243,"context_line":""},{"line_number":244,"context_line":"Performance Impact"},{"line_number":245,"context_line":"------------------"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"In most cases, applying a Server Profile in OneView takes less than 2"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9a061dce_f5c8e176","line":244,"range":{"start_line":244,"start_character":0,"end_line":244,"end_character":18},"updated":"2016-04-04 15:18:47.000000000","message":"will the new periodic tasks impact performance.?","commit_id":"3959c71c728b0a3de016ff2ed343b0e74ad16475"},{"author":{"_account_id":10697,"name":"Thiago Paiva Brito","email":"thiagop@lsd.ufcg.edu.br","username":"thiagop","inactive":true},"change_message_id":"62db0a643c4c4f7ffb99db3b7b6344cf4347196e","unresolved":false,"context_lines":[{"line_number":241,"context_line":"------------------"},{"line_number":242,"context_line":"None"},{"line_number":243,"context_line":""},{"line_number":244,"context_line":"Performance Impact"},{"line_number":245,"context_line":"------------------"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"In most cases, applying a Server Profile in OneView takes less than 2"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9a061dce_9509a534","line":244,"range":{"start_line":244,"start_character":0,"end_line":244,"end_character":18},"in_reply_to":"9a061dce_f5c8e176","updated":"2016-04-04 15:24:04.000000000","message":"Yes, I think it will. But I\u0027m unable to quantify how much it\u0027ll impact. Do you think I should mention just how it\u0027ll impact even without a clear quantification?","commit_id":"3959c71c728b0a3de016ff2ed343b0e74ad16475"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"bb4d48fdaf927189fbbef9e1f5170e162112ea13","unresolved":false,"context_lines":[{"line_number":310,"context_line":"- The OneView third party CI will be used to provide a suitable test"},{"line_number":311,"context_line":"  environment for tests involving a OneView appliance and specific hardware;"},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":314,"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"},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"- Newton:"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9a061dce_55038d73","line":313,"range":{"start_line":313,"start_character":0,"end_line":313,"end_character":8},"updated":"2016-04-04 15:18:47.000000000","message":"With the new tasks will users upgrading need to make changes to their periodic_max_workers setting in the conf file.","commit_id":"3959c71c728b0a3de016ff2ed343b0e74ad16475"},{"author":{"_account_id":10697,"name":"Thiago Paiva Brito","email":"thiagop@lsd.ufcg.edu.br","username":"thiagop","inactive":true},"change_message_id":"edc27717c291d38a1f419a0f08538f3ba786ab63","unresolved":false,"context_lines":[{"line_number":310,"context_line":"- The OneView third party CI will be used to provide a suitable test"},{"line_number":311,"context_line":"  environment for tests involving a OneView appliance and specific hardware;"},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":314,"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"},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"- Newton:"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9a061dce_333c2c93","line":313,"range":{"start_line":313,"start_character":0,"end_line":313,"end_character":8},"in_reply_to":"9a061dce_55038d73","updated":"2016-04-04 20:21:02.000000000","message":"This is a good question, I don\u0027t really know how to answer it. I think the default should be sufficient since nodes will have to be locked only if I need to remove/put them back on the allocation pool (and set_provision_state already does that). I don\u0027t think we\u0027ll need to lock them during the call to oneview_client. Wdyt?","commit_id":"3959c71c728b0a3de016ff2ed343b0e74ad16475"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"174b60fd27a7d32e1f9b62768c6e6c585c5afd7d","unresolved":false,"context_lines":[{"line_number":98,"context_line":"task, it will go to the `deploy failed` state and enter the cleaning process,"},{"line_number":99,"context_line":"that should fail since the node is in use by a OneView user. Nova scheduler"},{"line_number":100,"context_line":"will be able to pick a different node. A third periodic task will then be"},{"line_number":101,"context_line":"responsible to detect such failures and handle the node back to `manageable`"},{"line_number":102,"context_line":"state and maintenance mode until freed."},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"Some changes in the cleaning process must also be considered. In order to"}],"source_content_type":"text/x-rst","patch_set":9,"id":"9a061dce_37c9efac","line":101,"range":{"start_line":101,"start_character":40,"end_line":101,"end_character":46},"updated":"2016-04-07 18:54:26.000000000","message":"nit: maybe use \"move\" here.","commit_id":"58bceea754f1c546d14055e139f24abecc2569a3"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"174b60fd27a7d32e1f9b62768c6e6c585c5afd7d","unresolved":false,"context_lines":[{"line_number":99,"context_line":"that should fail since the node is in use by a OneView user. Nova scheduler"},{"line_number":100,"context_line":"will be able to pick a different node. A third periodic task will then be"},{"line_number":101,"context_line":"responsible to detect such failures and handle the node back to `manageable`"},{"line_number":102,"context_line":"state and maintenance mode until freed."},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"Some changes in the cleaning process must also be considered. In order to"},{"line_number":105,"context_line":"clean a node, a Server Profile needs to be assigned to it. Considering that,"}],"source_content_type":"text/x-rst","patch_set":9,"id":"9a061dce_3740cf06","line":102,"range":{"start_line":102,"start_character":9,"end_line":102,"end_character":10},"updated":"2016-04-07 18:54:26.000000000","message":"nit: maybe add \"set\" here.","commit_id":"58bceea754f1c546d14055e139f24abecc2569a3"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"174b60fd27a7d32e1f9b62768c6e6c585c5afd7d","unresolved":false,"context_lines":[{"line_number":103,"context_line":""},{"line_number":104,"context_line":"Some changes in the cleaning process must also be considered. In order to"},{"line_number":105,"context_line":"clean a node, a Server Profile needs to be assigned to it. Considering that,"},{"line_number":106,"context_line":"if a node has no Server Profile applied to it, a new one will be created based"},{"line_number":107,"context_line":"on the Server Profile Template of this node, and applied to such hardware for"},{"line_number":108,"context_line":"cleaning purposes. If there is a Server Profile already applied to the node,"},{"line_number":109,"context_line":"it will be reused. After the cleaning is complete, in both cases, such Server"}],"source_content_type":"text/x-rst","patch_set":9,"id":"9a061dce_97143be9","line":106,"range":{"start_line":106,"start_character":52,"end_line":106,"end_character":53},"updated":"2016-04-07 18:54:26.000000000","message":"nit: maybe add \"temporary\" here","commit_id":"58bceea754f1c546d14055e139f24abecc2569a3"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"174b60fd27a7d32e1f9b62768c6e6c585c5afd7d","unresolved":false,"context_lines":[{"line_number":236,"context_line":"are not erased in the process since OneView does not perform such cleaning"},{"line_number":237,"context_line":"tasks. This means that once a node is released, some remaining data from its"},{"line_number":238,"context_line":"previous user can be available for Ironic. To workaround that from happening,"},{"line_number":239,"context_line":"the driver will handle these machines to `manageable` state through its"},{"line_number":240,"context_line":"periodic tasks, from where Ironic can take care of the cleaning in its standard"},{"line_number":241,"context_line":"cleaning workflow. Note that if the cleaning feature is disabled in Ironic,"},{"line_number":242,"context_line":"OneView users are responsible for manually erase such disks prior to releasing"}],"source_content_type":"text/x-rst","patch_set":9,"id":"9a061dce_57d903f2","line":239,"range":{"start_line":239,"start_character":16,"end_line":239,"end_character":22},"updated":"2016-04-07 18:54:26.000000000","message":"nit: again maybe \"move\" is better here","commit_id":"58bceea754f1c546d14055e139f24abecc2569a3"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"174b60fd27a7d32e1f9b62768c6e6c585c5afd7d","unresolved":false,"context_lines":[{"line_number":274,"context_line":"After this change is merged, the way the OneView drivers allocate nodes"},{"line_number":275,"context_line":"will be different. Deployers should be aware that:"},{"line_number":276,"context_line":""},{"line_number":277,"context_line":"- For existing nodes hosting instances, the `applied_server_profile_uri`"},{"line_number":278,"context_line":"  field must be added to the `driver_info` namespace of the node."},{"line_number":279,"context_line":"- Nodes that had a Server Profile assigned to them but were not actually"},{"line_number":280,"context_line":"  in use (according to the `pre-allocation` model), can have their Server"},{"line_number":281,"context_line":"  Profiles removed and still be available in Ironic."}],"source_content_type":"text/x-rst","patch_set":9,"id":"9a061dce_1714ab4a","line":278,"range":{"start_line":277,"start_character":2,"end_line":278,"end_character":65},"updated":"2016-04-07 18:54:26.000000000","message":"I think this needs to mentioned in the Upgrades and Backwards Compatibility as it appears to a action that must me taken by an existing user of the OneView Driver.","commit_id":"58bceea754f1c546d14055e139f24abecc2569a3"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"174b60fd27a7d32e1f9b62768c6e6c585c5afd7d","unresolved":false,"context_lines":[{"line_number":280,"context_line":"  in use (according to the `pre-allocation` model), can have their Server"},{"line_number":281,"context_line":"  Profiles removed and still be available in Ironic."},{"line_number":282,"context_line":""},{"line_number":283,"context_line":"In order to ease this process, a migration script will be provided to deployers"},{"line_number":284,"context_line":"that currently have a previous version of the drivers running and properly"},{"line_number":285,"context_line":"referenced in the driver\u0027s documentation."},{"line_number":286,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"9a061dce_aa1c766a","line":283,"range":{"start_line":283,"start_character":31,"end_line":283,"end_character":66},"updated":"2016-04-07 18:54:26.000000000","message":"running of this script may cover my comment above but it should be noted in the Upgrades and Backwards Compatibility section.","commit_id":"58bceea754f1c546d14055e139f24abecc2569a3"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"174b60fd27a7d32e1f9b62768c6e6c585c5afd7d","unresolved":false,"context_lines":[{"line_number":328,"context_line":"- The OneView third party CI will be used to provide a suitable test"},{"line_number":329,"context_line":"  environment for tests involving a OneView appliance and specific hardware;"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":332,"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"},{"line_number":333,"context_line":""},{"line_number":334,"context_line":"Operators might have to increase the value of `workers_pool_size` and"}],"source_content_type":"text/x-rst","patch_set":9,"id":"9a061dce_aa33d6f4","line":331,"range":{"start_line":331,"start_character":0,"end_line":331,"end_character":36},"updated":"2016-04-07 18:54:26.000000000","message":"see comments in Other deployer impact section","commit_id":"58bceea754f1c546d14055e139f24abecc2569a3"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"7a056e2a69fb90665f4c5189110a2a867d28681e","unresolved":false,"context_lines":[{"line_number":238,"context_line":"previous user can be available for Ironic. To workaround that from happening,"},{"line_number":239,"context_line":"the driver will move these machines to `manageable` state through its"},{"line_number":240,"context_line":"periodic tasks, from where Ironic can take care of the cleaning in its standard"},{"line_number":241,"context_line":"cleaning workflow. Note that if the cleaning feature is disabled in Ironic,"},{"line_number":242,"context_line":"OneView users are responsible for manually erase such disks prior to releasing"},{"line_number":243,"context_line":"the hardware."},{"line_number":244,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"9a061dce_718d2ad2","line":241,"updated":"2016-04-07 23:34:10.000000000","message":"You should add an extra phrase to clarify, i.e. replacing the sentence starting with \"To workaround\" with something like this:\n\nTo prevent this leftover data from being exposed to the next user, this driver will move these machines to `manageable` state through its periodic tasks, where Ironic will require them to go through cleaning before being made `available` again.","commit_id":"0e9f1af05325c88fb99ae65cbf675b0df21baef0"},{"author":{"_account_id":10697,"name":"Thiago Paiva Brito","email":"thiagop@lsd.ufcg.edu.br","username":"thiagop","inactive":true},"change_message_id":"f51865132bfade537e553a31314bbe90c69c653b","unresolved":false,"context_lines":[{"line_number":238,"context_line":"previous user can be available for Ironic. To workaround that from happening,"},{"line_number":239,"context_line":"the driver will move these machines to `manageable` state through its"},{"line_number":240,"context_line":"periodic tasks, from where Ironic can take care of the cleaning in its standard"},{"line_number":241,"context_line":"cleaning workflow. Note that if the cleaning feature is disabled in Ironic,"},{"line_number":242,"context_line":"OneView users are responsible for manually erase such disks prior to releasing"},{"line_number":243,"context_line":"the hardware."},{"line_number":244,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"9a061dce_720ea7e6","line":241,"in_reply_to":"9a061dce_718d2ad2","updated":"2016-04-08 13:57:50.000000000","message":"Done. Thank you for rephrasing that.","commit_id":"0e9f1af05325c88fb99ae65cbf675b0df21baef0"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"09b9dce42e76ac7677a0446f73b5a925cc946e48","unresolved":false,"context_lines":[{"line_number":260,"context_line":"must configure timeouts accordingly. Documentation will be provided on how"},{"line_number":261,"context_line":"to do it."},{"line_number":262,"context_line":""},{"line_number":263,"context_line":"The performance impact of the periodic tasks on Ironic conductor will be"},{"line_number":264,"context_line":"proportional to the number of nodes being managed since they\u0027ll poll nodes in"},{"line_number":265,"context_line":"OneView to check if nodes were taken/returned by OneView users. We\u0027ll minimize"},{"line_number":266,"context_line":"that impact by polling only nodes on specific known states as said previously"},{"line_number":267,"context_line":"on this spec. Yet, the `periodic_check_interval` can be adjusted according to"}],"source_content_type":"text/x-rst","patch_set":11,"id":"9a061dce_16f2b69a","line":264,"range":{"start_line":263,"start_character":16,"end_line":264,"end_character":74},"updated":"2016-04-08 16:25:59.000000000","message":"I can\u0027t help but wonder if resulting database queries from polling will be such, on both OneView and Ironic sides, that indexes should/may need to be modified for enhanced/ideal performance, but naturally that would entirely depend on the number of nodes and the actual implementation code.\n\nI guess it is just something to keep in mind.","commit_id":"ec3b9071b1fa90bf7fbf0dfacc7317795810b80e"}]}
