)]}'
{"specs/pike/approved/glance/lite-specs.rst":[{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"bbcf3312cdbe5f38f6f1a922e98d9136e22efc4f","unresolved":false,"context_lines":[{"line_number":165,"context_line":"Instrument Glance Running Tasks"},{"line_number":166,"context_line":"-------------------------------"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":":problem: When preparing to upgrade a Glance node is it necessary to allow"},{"line_number":169,"context_line":"          long-running Tasks to complete without interruption which would"},{"line_number":170,"context_line":"          result in failure. Operators cannot reliably and conveniently check"},{"line_number":171,"context_line":"          to see if a Task is running on a given node. "}],"source_content_type":"text/x-rst","patch_set":1,"id":"dfeb2761_b27ac085","line":168,"range":{"start_line":168,"start_character":50,"end_line":168,"end_character":55},"updated":"2017-03-31 03:24:55.000000000","message":"\"it is\"","commit_id":"734a727ae357d74d5757788d9884f0f9655ac519"},{"author":{"_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},"change_message_id":"73238787125928ac99c72027c2ddddac86a920e0","unresolved":false,"context_lines":[{"line_number":162,"context_line":"End of `Introduce Glance Taskflow stopfile feature`"},{"line_number":163,"context_line":"+++++++++++++++++++++++++++++++++++++++++++++++++++"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"Instrument Glance Running Tasks"},{"line_number":166,"context_line":"-------------------------------"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":":problem: When preparing to upgrade a Glance node it is necessary to allow"}],"source_content_type":"text/x-rst","patch_set":5,"id":"bff0334d_fd79402f","line":165,"range":{"start_line":165,"start_character":0,"end_line":165,"end_character":31},"updated":"2017-04-05 16:15:54.000000000","message":"I like this idea however, I\u0027m wondering if you need to worry about the system underneath to make it happen.\n\nI guess we need to make sure 2 things here:-\n\n  - document which platforms/OSes we want this to support\n  - either 1) provide a mechanism for seamless use or 2) document how an op should use this during the 0-downtime upgrade","commit_id":"a575dc7109b02793b8bc7d90d99fe434385192cc"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"cb70534a7bb69d5c8a607865f1b14dcbd01ad168","unresolved":false,"context_lines":[{"line_number":162,"context_line":"End of `Introduce Glance Taskflow stopfile feature`"},{"line_number":163,"context_line":"+++++++++++++++++++++++++++++++++++++++++++++++++++"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"Instrument Glance Running Tasks"},{"line_number":166,"context_line":"-------------------------------"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":":problem: When preparing to upgrade a Glance node it is necessary to allow"}],"source_content_type":"text/x-rst","patch_set":5,"id":"bff0334d_413ff024","line":165,"range":{"start_line":165,"start_character":0,"end_line":165,"end_character":31},"in_reply_to":"bff0334d_fd79402f","updated":"2017-04-06 19:42:24.000000000","message":"I expect to add some minimal documentation for operators to consume this, but with the implementation idea proposed consuming this instrumentation point is as easy as \n\n  $ cat /path/to/named-pipe\n\nfurthermore, using O_TRUNC should mean the file contains no more than one line of content (representing the most recent updated), so standard unix tools and shell operations are sufficient to add monitoring support. \n\nThis is all based on what I expect to happen, since I haven\u0027t done this before, and haven\u0027t started a PoC yet.","commit_id":"a575dc7109b02793b8bc7d90d99fe434385192cc"},{"author":{"_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},"change_message_id":"73238787125928ac99c72027c2ddddac86a920e0","unresolved":false,"context_lines":[{"line_number":176,"context_line":"           will be able to set the stopfile and monitor this instrumentation"},{"line_number":177,"context_line":"           point, waiting until the Tasks running reports 0 tasks running with"},{"line_number":178,"context_line":"           a timestamp later than the stopfile. At this point the operator can"},{"line_number":179,"context_line":"           be sure that there are not Tasks running on the node, and the node"},{"line_number":180,"context_line":"           can safely be upgraded without disrupting user operations."},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"           The instrumentation point should not run with or require elevated"}],"source_content_type":"text/x-rst","patch_set":5,"id":"bff0334d_4aee2489","line":179,"range":{"start_line":179,"start_character":34,"end_line":179,"end_character":37},"updated":"2017-04-05 16:15:54.000000000","message":"no","commit_id":"a575dc7109b02793b8bc7d90d99fe434385192cc"},{"author":{"_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},"change_message_id":"73238787125928ac99c72027c2ddddac86a920e0","unresolved":false,"context_lines":[{"line_number":181,"context_line":""},{"line_number":182,"context_line":"           The instrumentation point should not run with or require elevated"},{"line_number":183,"context_line":"           privileges, and it should not complicate service installation steps."},{"line_number":184,"context_line":"           Instrumentation should allow an operator to map the instrumentation"},{"line_number":185,"context_line":"           to a specific python process on the host to ensure multiple"},{"line_number":186,"context_line":"           Taskflow processes can be run on a single host."},{"line_number":187,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"bff0334d_4aa3c450","line":184,"range":{"start_line":184,"start_character":59,"end_line":184,"end_character":78},"updated":"2017-04-05 16:15:54.000000000","message":"it","commit_id":"a575dc7109b02793b8bc7d90d99fe434385192cc"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"ef8155b8ffed9e465703791b4c20351bd934f4df","unresolved":false,"context_lines":[{"line_number":185,"context_line":"           to a specific python process on the host to ensure multiple"},{"line_number":186,"context_line":"           Taskflow processes can be run on a single host."},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"           With each of these considerations in mind, a named pipe is a strong"},{"line_number":189,"context_line":"           choice for implementation. The named pipe should probably reopen the"},{"line_number":190,"context_line":"           file on each emit with a mode including O_TRUNC to ensure a low"},{"line_number":191,"context_line":"           impact over time and each emit should include a timestamp and an"},{"line_number":192,"context_line":"           integer representing the number of running tasks. The named pipe"}],"source_content_type":"text/x-rst","patch_set":5,"id":"bff0334d_1df9847f","line":189,"range":{"start_line":188,"start_character":54,"end_line":189,"end_character":36},"updated":"2017-04-05 16:18:59.000000000","message":"I guess we could use os.mkfifo() for this?  I believe that would be platform independent, but I\u0027m not 100% sure.  Maybe you were already thinking of that.  I haven\u0027t used this before so I\u0027m not sure how much functionality the os module exposes for this.","commit_id":"a575dc7109b02793b8bc7d90d99fe434385192cc"}]}
