)]}'
{"doc/source/specs/ussuri/blazar-preemptible-instances.rst":[{"author":{"_account_id":25625,"name":"Tetsuro Nakamura","email":"tetsuro.nakamura.bc@hco.ntt.co.jp","username":"tetsuro0907"},"change_message_id":"5c67014b6e12d8b9fba761f6c1846d26f040026e","unresolved":false,"context_lines":[{"line_number":48,"context_line":"modifications to the code."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"First, the custom Nova scheduler filter, BlazarFilter, would allow instances"},{"line_number":51,"context_line":"considered as preemptibles to be launched on hosts in the freepool, and only on"},{"line_number":52,"context_line":"these hosts: we do not want preemptibles running on hosts not managed by Blazar"},{"line_number":53,"context_line":"or hosts part of a reservation."},{"line_number":54,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"3fa7e38b_06ac1386","line":51,"range":{"start_line":51,"start_character":0,"end_line":51,"end_character":27},"updated":"2020-01-08 05:12:46.000000000","message":"Okay, so now there are three kinds of VMs in this aspect; preemptibles, non-reserved, and reserved instances. How does BlazarFilter distinguish among those VMs?","commit_id":"c84aaae5fa6fab5ea5e36df1887a97c1a98bedd7"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"f5d1b30b105d84cb3629ce37011452f33e8f72be","unresolved":false,"context_lines":[{"line_number":48,"context_line":"modifications to the code."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"First, the custom Nova scheduler filter, BlazarFilter, would allow instances"},{"line_number":51,"context_line":"considered as preemptibles to be launched on hosts in the freepool, and only on"},{"line_number":52,"context_line":"these hosts: we do not want preemptibles running on hosts not managed by Blazar"},{"line_number":53,"context_line":"or hosts part of a reservation."},{"line_number":54,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"3fa7e38b_fd28b2ed","line":51,"range":{"start_line":51,"start_character":0,"end_line":51,"end_character":27},"in_reply_to":"3fa7e38b_06ac1386","updated":"2020-01-20 21:32:36.000000000","message":"Done","commit_id":"c84aaae5fa6fab5ea5e36df1887a97c1a98bedd7"},{"author":{"_account_id":25625,"name":"Tetsuro Nakamura","email":"tetsuro.nakamura.bc@hco.ntt.co.jp","username":"tetsuro0907"},"change_message_id":"5c67014b6e12d8b9fba761f6c1846d26f040026e","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Second, on_start() methods in Blazar compute plugins implementing instance"},{"line_number":56,"context_line":"reservation and host reservation would terminate any instance running on"},{"line_number":57,"context_line":"allocated hosts, as these instances can only be preemptible. To allow"},{"line_number":58,"context_line":"preemptible instances to terminate their workload cleanly, a soft shutdown"},{"line_number":59,"context_line":"operation could first be triggered, followed by a hard shutdown (instance"},{"line_number":60,"context_line":"deletion)."}],"source_content_type":"text/x-rst","patch_set":2,"id":"3fa7e38b_062f33f5","line":57,"range":{"start_line":57,"start_character":16,"end_line":57,"end_character":59},"updated":"2020-01-08 05:12:46.000000000","message":"I don\u0027t think so.\n\nIf the starting reservation is host reservation, yes any instance on that host must be preemptible, but if the starting reservation is instance reservation, (some of) the autochthon instances can be reserved instances i.e. non-preemtible. \n\nI think we need a logic here like;\n\n  if host_reservation:\n      terminate_all_the_instances_on_the_host()\n  else:\n      terminate_preemptible_instances()\n\nIt might be an implementation matter whether we terminate all the *preemptible* instances in terminate_preemptible_instances() or just terminate only ones that can release enough resources for starting reservation.","commit_id":"c84aaae5fa6fab5ea5e36df1887a97c1a98bedd7"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"f5d1b30b105d84cb3629ce37011452f33e8f72be","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Second, on_start() methods in Blazar compute plugins implementing instance"},{"line_number":56,"context_line":"reservation and host reservation would terminate any instance running on"},{"line_number":57,"context_line":"allocated hosts, as these instances can only be preemptible. To allow"},{"line_number":58,"context_line":"preemptible instances to terminate their workload cleanly, a soft shutdown"},{"line_number":59,"context_line":"operation could first be triggered, followed by a hard shutdown (instance"},{"line_number":60,"context_line":"deletion)."}],"source_content_type":"text/x-rst","patch_set":2,"id":"3fa7e38b_bd323a5c","line":57,"range":{"start_line":57,"start_character":16,"end_line":57,"end_character":59},"in_reply_to":"3fa7e38b_062f33f5","updated":"2020-01-20 21:32:36.000000000","message":"Done","commit_id":"c84aaae5fa6fab5ea5e36df1887a97c1a98bedd7"},{"author":{"_account_id":25625,"name":"Tetsuro Nakamura","email":"tetsuro.nakamura.bc@hco.ntt.co.jp","username":"tetsuro0907"},"change_message_id":"5c67014b6e12d8b9fba761f6c1846d26f040026e","unresolved":false,"context_lines":[{"line_number":55,"context_line":"Second, on_start() methods in Blazar compute plugins implementing instance"},{"line_number":56,"context_line":"reservation and host reservation would terminate any instance running on"},{"line_number":57,"context_line":"allocated hosts, as these instances can only be preemptible. To allow"},{"line_number":58,"context_line":"preemptible instances to terminate their workload cleanly, a soft shutdown"},{"line_number":59,"context_line":"operation could first be triggered, followed by a hard shutdown (instance"},{"line_number":60,"context_line":"deletion)."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"Alternatives"},{"line_number":63,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3fa7e38b_c63cbb31","line":60,"range":{"start_line":58,"start_character":59,"end_line":60,"end_character":10},"updated":"2020-01-08 05:12:46.000000000","message":"Ideally, we might want to do this not in on_start() but before on_start().  Do we need a new event like \"before_start_lease\"?","commit_id":"c84aaae5fa6fab5ea5e36df1887a97c1a98bedd7"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"f5d1b30b105d84cb3629ce37011452f33e8f72be","unresolved":false,"context_lines":[{"line_number":55,"context_line":"Second, on_start() methods in Blazar compute plugins implementing instance"},{"line_number":56,"context_line":"reservation and host reservation would terminate any instance running on"},{"line_number":57,"context_line":"allocated hosts, as these instances can only be preemptible. To allow"},{"line_number":58,"context_line":"preemptible instances to terminate their workload cleanly, a soft shutdown"},{"line_number":59,"context_line":"operation could first be triggered, followed by a hard shutdown (instance"},{"line_number":60,"context_line":"deletion)."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"Alternatives"},{"line_number":63,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3fa7e38b_dd25b617","line":60,"range":{"start_line":58,"start_character":59,"end_line":60,"end_character":10},"in_reply_to":"3fa7e38b_c63cbb31","updated":"2020-01-20 21:32:36.000000000","message":"Done","commit_id":"c84aaae5fa6fab5ea5e36df1887a97c1a98bedd7"},{"author":{"_account_id":25625,"name":"Tetsuro Nakamura","email":"tetsuro.nakamura.bc@hco.ntt.co.jp","username":"tetsuro0907"},"change_message_id":"5c67014b6e12d8b9fba761f6c1846d26f040026e","unresolved":false,"context_lines":[{"line_number":94,"context_line":"---------------------"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Nova end users may use some mechanism to identify launch requests being for"},{"line_number":97,"context_line":"preemptible instances, possibly via scheduler hints or flavor extra specs."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"Performance Impact"},{"line_number":100,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3fa7e38b_99baa4b7","line":97,"updated":"2020-01-08 05:12:46.000000000","message":"Yeah, this should be better described in the design level i.e. in the spec. What kind of value do we specify in the extra specs?\n\nPlus, as said above, as long as we need to know which instance is preemptible later after instance is deployed, we need to use flavor rather than the hint, right?","commit_id":"c84aaae5fa6fab5ea5e36df1887a97c1a98bedd7"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"f5d1b30b105d84cb3629ce37011452f33e8f72be","unresolved":false,"context_lines":[{"line_number":94,"context_line":"---------------------"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Nova end users may use some mechanism to identify launch requests being for"},{"line_number":97,"context_line":"preemptible instances, possibly via scheduler hints or flavor extra specs."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"Performance Impact"},{"line_number":100,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3fa7e38b_3de96aaa","line":97,"in_reply_to":"3fa7e38b_99baa4b7","updated":"2020-01-20 21:32:36.000000000","message":"Done","commit_id":"c84aaae5fa6fab5ea5e36df1887a97c1a98bedd7"},{"author":{"_account_id":25625,"name":"Tetsuro Nakamura","email":"tetsuro.nakamura.bc@hco.ntt.co.jp","username":"tetsuro0907"},"change_message_id":"5c67014b6e12d8b9fba761f6c1846d26f040026e","unresolved":false,"context_lines":[{"line_number":100,"context_line":"------------------"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"Terminating preemptible instances during on_start() would make leases longer to"},{"line_number":103,"context_line":"start, particularly if a soft shutdown signal is sent to instances."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"Other deployer impact"},{"line_number":106,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3fa7e38b_19e474de","line":103,"updated":"2020-01-08 05:12:46.000000000","message":"The same comment on L58.","commit_id":"c84aaae5fa6fab5ea5e36df1887a97c1a98bedd7"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"f5d1b30b105d84cb3629ce37011452f33e8f72be","unresolved":false,"context_lines":[{"line_number":100,"context_line":"------------------"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"Terminating preemptible instances during on_start() would make leases longer to"},{"line_number":103,"context_line":"start, particularly if a soft shutdown signal is sent to instances."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"Other deployer impact"},{"line_number":106,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3fa7e38b_1deeeeb4","line":103,"in_reply_to":"3fa7e38b_19e474de","updated":"2020-01-20 21:32:36.000000000","message":"Done","commit_id":"c84aaae5fa6fab5ea5e36df1887a97c1a98bedd7"},{"author":{"_account_id":25625,"name":"Tetsuro Nakamura","email":"tetsuro.nakamura.bc@hco.ntt.co.jp","username":"tetsuro0907"},"change_message_id":"5c67014b6e12d8b9fba761f6c1846d26f040026e","unresolved":false,"context_lines":[{"line_number":107,"context_line":""},{"line_number":108,"context_line":"The following config options would be added to blazar.conf:"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"* preemptible_projects (section to be defined): list of projects allowed to run"},{"line_number":111,"context_line":"  preemptible instances. Defaults to an empty list."},{"line_number":112,"context_line":"* preemptible_wait_terminate (section to be defined): time to wait between a"},{"line_number":113,"context_line":"  soft shutdown request and a terminate request"},{"line_number":114,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"3fa7e38b_f9f95881","line":111,"range":{"start_line":110,"start_character":0,"end_line":111,"end_character":51},"updated":"2020-01-08 05:12:46.000000000","message":"Since in openstack projects can be created dynamically via REST API, I\u0027m not sure it is good to design this is a static config. Or can we just allow all the projects to run preemptible instances in the first step?","commit_id":"c84aaae5fa6fab5ea5e36df1887a97c1a98bedd7"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"f5d1b30b105d84cb3629ce37011452f33e8f72be","unresolved":false,"context_lines":[{"line_number":107,"context_line":""},{"line_number":108,"context_line":"The following config options would be added to blazar.conf:"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"* preemptible_projects (section to be defined): list of projects allowed to run"},{"line_number":111,"context_line":"  preemptible instances. Defaults to an empty list."},{"line_number":112,"context_line":"* preemptible_wait_terminate (section to be defined): time to wait between a"},{"line_number":113,"context_line":"  soft shutdown request and a terminate request"},{"line_number":114,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"3fa7e38b_7defe2b1","line":111,"range":{"start_line":110,"start_character":0,"end_line":111,"end_character":51},"in_reply_to":"3fa7e38b_f9f95881","updated":"2020-01-20 21:32:36.000000000","message":"I removed this option as my preference is now for the flavor-based approach.","commit_id":"c84aaae5fa6fab5ea5e36df1887a97c1a98bedd7"},{"author":{"_account_id":25625,"name":"Tetsuro Nakamura","email":"tetsuro.nakamura.bc@hco.ntt.co.jp","username":"tetsuro0907"},"change_message_id":"5c67014b6e12d8b9fba761f6c1846d26f040026e","unresolved":false,"context_lines":[{"line_number":154,"context_line":"Documentation Impact"},{"line_number":155,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"Operators and users launching preemptible insances are most affected by this"},{"line_number":158,"context_line":"change. The admin and user guides should be updated."},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"References"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3fa7e38b_99e864a7","line":157,"range":{"start_line":157,"start_character":42,"end_line":157,"end_character":50},"updated":"2020-01-08 05:12:46.000000000","message":"instances","commit_id":"c84aaae5fa6fab5ea5e36df1887a97c1a98bedd7"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"f5d1b30b105d84cb3629ce37011452f33e8f72be","unresolved":false,"context_lines":[{"line_number":154,"context_line":"Documentation Impact"},{"line_number":155,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"Operators and users launching preemptible insances are most affected by this"},{"line_number":158,"context_line":"change. The admin and user guides should be updated."},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"References"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3fa7e38b_fd03d273","line":157,"range":{"start_line":157,"start_character":42,"end_line":157,"end_character":50},"in_reply_to":"3fa7e38b_99e864a7","updated":"2020-01-20 21:32:36.000000000","message":"Done","commit_id":"c84aaae5fa6fab5ea5e36df1887a97c1a98bedd7"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"047ec1aec752d5309711817b5e722dc8533440dc","unresolved":false,"context_lines":[{"line_number":30,"context_line":"filling gaps between reservations."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"This feature would also provide an less intrusive implementation of preemptible"},{"line_number":33,"context_line":"instances for OpenStack, without introducing Nova modifications implementing a"},{"line_number":34,"context_line":"`pending state`_ which have proved difficult to be accepted."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Use Cases"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3fa7e38b_3a4d8c3b","line":33,"range":{"start_line":33,"start_character":25,"end_line":33,"end_character":63},"updated":"2020-01-28 09:45:52.000000000","message":"+1","commit_id":"503e91c3eaaf28300218c0dda2bb3b16cb78f299"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"2419adf4db0c8d08484373d91b480f1bdeb5f1bf","unresolved":false,"context_lines":[{"line_number":30,"context_line":"filling gaps between reservations."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"This feature would also provide an less intrusive implementation of preemptible"},{"line_number":33,"context_line":"instances for OpenStack, without introducing Nova modifications implementing a"},{"line_number":34,"context_line":"`pending state`_ which have proved difficult to be accepted."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Use Cases"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3fa7e38b_8fa18b3d","line":33,"range":{"start_line":33,"start_character":25,"end_line":33,"end_character":63},"in_reply_to":"3fa7e38b_3a4d8c3b","updated":"2020-02-03 20:00:11.000000000","message":"Thanks for highlighting, I noticed the wording didn\u0027t make much sense. I rewrote this part.","commit_id":"503e91c3eaaf28300218c0dda2bb3b16cb78f299"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"047ec1aec752d5309711817b5e722dc8533440dc","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Proposed change"},{"line_number":45,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Due to Blazar\u0027s design, preemptible instances can be supported with few"},{"line_number":48,"context_line":"modifications to the code. The following mechanisms are required:"},{"line_number":49,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3fa7e38b_9a192024","line":46,"updated":"2020-01-28 09:45:52.000000000","message":"If possible, it\u0027s better to mention Nova\u0027s Quota of instance number, vcpus, memory, and disk.  The preemptible instance is treated as a regular instances in Nova. It means the user can\u0027t provision a regular instance when the number of instances are exceeded by preemptible instances.","commit_id":"503e91c3eaaf28300218c0dda2bb3b16cb78f299"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"2419adf4db0c8d08484373d91b480f1bdeb5f1bf","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Proposed change"},{"line_number":45,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Due to Blazar\u0027s design, preemptible instances can be supported with few"},{"line_number":48,"context_line":"modifications to the code. The following mechanisms are required:"},{"line_number":49,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3fa7e38b_ef659f1d","line":46,"in_reply_to":"3fa7e38b_9a192024","updated":"2020-02-03 20:00:11.000000000","message":"Good point. I added a section named \"Interaction with quotas\".","commit_id":"503e91c3eaaf28300218c0dda2bb3b16cb78f299"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"047ec1aec752d5309711817b5e722dc8533440dc","unresolved":false,"context_lines":[{"line_number":66,"context_line":""},{"line_number":67,"context_line":"To identify an instance creation request as one for a preemptible instance,"},{"line_number":68,"context_line":"some possible methods are:"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"#. Operators would configure via Blazar static configuration or API call a list"},{"line_number":71,"context_line":"   of project IDs describes projects for which any instance creation request is"},{"line_number":72,"context_line":"   treated as one for preemptibles."}],"source_content_type":"text/x-rst","patch_set":4,"id":"3fa7e38b_3afb4cbf","line":69,"updated":"2020-01-28 09:45:52.000000000","message":"Which approach do you plan to take as first implementation?","commit_id":"503e91c3eaaf28300218c0dda2bb3b16cb78f299"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"2419adf4db0c8d08484373d91b480f1bdeb5f1bf","unresolved":false,"context_lines":[{"line_number":66,"context_line":""},{"line_number":67,"context_line":"To identify an instance creation request as one for a preemptible instance,"},{"line_number":68,"context_line":"some possible methods are:"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"#. Operators would configure via Blazar static configuration or API call a list"},{"line_number":71,"context_line":"   of project IDs describes projects for which any instance creation request is"},{"line_number":72,"context_line":"   treated as one for preemptibles."}],"source_content_type":"text/x-rst","patch_set":4,"id":"3fa7e38b_cf6c6307","line":69,"in_reply_to":"3fa7e38b_3afb4cbf","updated":"2020-02-03 20:00:11.000000000","message":"I am leaning towards flavor-based.","commit_id":"503e91c3eaaf28300218c0dda2bb3b16cb78f299"},{"author":{"_account_id":25625,"name":"Tetsuro Nakamura","email":"tetsuro.nakamura.bc@hco.ntt.co.jp","username":"tetsuro0907"},"change_message_id":"2106688df23ea50f1f2bcb94ca095ae3b9353504","unresolved":false,"context_lines":[{"line_number":92,"context_line":"   - Pros: flavor can be made public or shared only with specific projects;"},{"line_number":93,"context_line":"     easy to identify running preemptibles."},{"line_number":94,"context_line":"   - Cons: duplicates the number of flavors if all flavors can potentially be"},{"line_number":95,"context_line":"     preeemptible"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"Identification of running preemptible instances"},{"line_number":98,"context_line":"-----------------------------------------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3fa7e38b_a0306e55","line":95,"range":{"start_line":95,"start_character":5,"end_line":95,"end_character":17},"updated":"2020-01-28 11:16:55.000000000","message":"preemptible","commit_id":"503e91c3eaaf28300218c0dda2bb3b16cb78f299"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"2419adf4db0c8d08484373d91b480f1bdeb5f1bf","unresolved":false,"context_lines":[{"line_number":92,"context_line":"   - Pros: flavor can be made public or shared only with specific projects;"},{"line_number":93,"context_line":"     easy to identify running preemptibles."},{"line_number":94,"context_line":"   - Cons: duplicates the number of flavors if all flavors can potentially be"},{"line_number":95,"context_line":"     preeemptible"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"Identification of running preemptible instances"},{"line_number":98,"context_line":"-----------------------------------------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3fa7e38b_2f45f772","line":95,"range":{"start_line":95,"start_character":5,"end_line":95,"end_character":17},"in_reply_to":"3fa7e38b_a0306e55","updated":"2020-02-03 20:00:11.000000000","message":"Done","commit_id":"503e91c3eaaf28300218c0dda2bb3b16cb78f299"},{"author":{"_account_id":25625,"name":"Tetsuro Nakamura","email":"tetsuro.nakamura.bc@hco.ntt.co.jp","username":"tetsuro0907"},"change_message_id":"2106688df23ea50f1f2bcb94ca095ae3b9353504","unresolved":false,"context_lines":[{"line_number":93,"context_line":"     easy to identify running preemptibles."},{"line_number":94,"context_line":"   - Cons: duplicates the number of flavors if all flavors can potentially be"},{"line_number":95,"context_line":"     preeemptible"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"Identification of running preemptible instances"},{"line_number":98,"context_line":"-----------------------------------------------"},{"line_number":99,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3fa7e38b_6036f651","line":96,"updated":"2020-01-28 11:16:55.000000000","message":"Using image property metadata can be another alternative, isn\u0027t it?\n\n    openstack image set --property reservation\u003dpreemptible \u003cimage_uuid\u003e","commit_id":"503e91c3eaaf28300218c0dda2bb3b16cb78f299"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"2419adf4db0c8d08484373d91b480f1bdeb5f1bf","unresolved":false,"context_lines":[{"line_number":93,"context_line":"     easy to identify running preemptibles."},{"line_number":94,"context_line":"   - Cons: duplicates the number of flavors if all flavors can potentially be"},{"line_number":95,"context_line":"     preeemptible"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"Identification of running preemptible instances"},{"line_number":98,"context_line":"-----------------------------------------------"},{"line_number":99,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3fa7e38b_4f4ab382","line":96,"in_reply_to":"3fa7e38b_6036f651","updated":"2020-02-03 20:00:11.000000000","message":"I added this option as well.","commit_id":"503e91c3eaaf28300218c0dda2bb3b16cb78f299"},{"author":{"_account_id":25625,"name":"Tetsuro Nakamura","email":"tetsuro.nakamura.bc@hco.ntt.co.jp","username":"tetsuro0907"},"change_message_id":"2106688df23ea50f1f2bcb94ca095ae3b9353504","unresolved":false,"context_lines":[{"line_number":122,"context_line":"``before_end_lease`` event, which would terminate any preemptible instance"},{"line_number":123,"context_line":"prior to triggering the ``start_lease`` event."},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"However, we would also want to prevent any new preemptible from launching after"},{"line_number":126,"context_line":"having sent instance termination requests. If using the ``before_start_lease``"},{"line_number":127,"context_line":"approach, this could be difficult to implement from BlazarFilter which does not"},{"line_number":128,"context_line":"have access to the Blazar database, and thus cannot efficiently check the"},{"line_number":129,"context_line":"status of leases and events. API calls to Blazar may be too slow to process"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3fa7e38b_c091eaf8","line":126,"range":{"start_line":125,"start_character":9,"end_line":126,"end_character":42},"updated":"2020-01-28 11:16:55.000000000","message":"Ah, you are right, thank you for addressing.","commit_id":"503e91c3eaaf28300218c0dda2bb3b16cb78f299"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"2419adf4db0c8d08484373d91b480f1bdeb5f1bf","unresolved":false,"context_lines":[{"line_number":122,"context_line":"``before_end_lease`` event, which would terminate any preemptible instance"},{"line_number":123,"context_line":"prior to triggering the ``start_lease`` event."},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"However, we would also want to prevent any new preemptible from launching after"},{"line_number":126,"context_line":"having sent instance termination requests. If using the ``before_start_lease``"},{"line_number":127,"context_line":"approach, this could be difficult to implement from BlazarFilter which does not"},{"line_number":128,"context_line":"have access to the Blazar database, and thus cannot efficiently check the"},{"line_number":129,"context_line":"status of leases and events. API calls to Blazar may be too slow to process"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3fa7e38b_ef3effe1","line":126,"range":{"start_line":125,"start_character":9,"end_line":126,"end_character":42},"in_reply_to":"3fa7e38b_c091eaf8","updated":"2020-02-03 20:00:11.000000000","message":"Done","commit_id":"503e91c3eaaf28300218c0dda2bb3b16cb78f299"}]}
