)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":22448,"name":"Alexander Bashmakov","email":"abashmak@yahoo.com","username":"abashmak"},"change_message_id":"b1b2562744107fd807bc53e8dd7a31c5752927f0","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Introduce Glance Taskflow stopfile feature"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Add lite-spec for a stopfile feature to prevent task processing"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I1ee3904a37adbbc700eecbbe131e53694eb17903"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9a30ddce_04036c0e","line":9,"updated":"2017-03-08 03:53:28.000000000","message":"The commit message seems truncated. Did you mean to add more detail?","commit_id":"751333cdb48bbf043d3496077b4f89caef48c721"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"bc9948906e14a12d8caaec0ebe99f537cb179ff7","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Introduce Glance Taskflow stopfile feature"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Add lite-spec for a stopfile feature to prevent task processing"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I1ee3904a37adbbc700eecbbe131e53694eb17903"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9a30ddce_1ef47084","line":9,"in_reply_to":"9a30ddce_04036c0e","updated":"2017-03-09 00:44:33.000000000","message":"no?","commit_id":"751333cdb48bbf043d3496077b4f89caef48c721"}],"specs/pike/approved/glance/lite-specs.rst":[{"author":{"_account_id":22448,"name":"Alexander Bashmakov","email":"abashmak@yahoo.com","username":"abashmak"},"change_message_id":"b1b2562744107fd807bc53e8dd7a31c5752927f0","unresolved":false,"context_lines":[{"line_number":142,"context_line":"          using the disable_by_file_path feature in the oslo healthcheck"},{"line_number":143,"context_line":"          middleware or a feature within a network load balancer directly. The"},{"line_number":144,"context_line":"          Taskflow engine does not have a similar capability, and so taking a"},{"line_number":145,"context_line":"          node out of Taskflow processing risks a race condition where that"},{"line_number":146,"context_line":"          node picking up a job just before the service is terminated which"},{"line_number":147,"context_line":"          could cause the Task processing to fail."},{"line_number":148,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a30ddce_042a8c7e","line":145,"range":{"start_line":145,"start_character":65,"end_line":145,"end_character":70},"updated":"2017-03-08 03:53:28.000000000","message":"s/where/with/","commit_id":"751333cdb48bbf043d3496077b4f89caef48c721"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"bc9948906e14a12d8caaec0ebe99f537cb179ff7","unresolved":false,"context_lines":[{"line_number":142,"context_line":"          using the disable_by_file_path feature in the oslo healthcheck"},{"line_number":143,"context_line":"          middleware or a feature within a network load balancer directly. The"},{"line_number":144,"context_line":"          Taskflow engine does not have a similar capability, and so taking a"},{"line_number":145,"context_line":"          node out of Taskflow processing risks a race condition where that"},{"line_number":146,"context_line":"          node picking up a job just before the service is terminated which"},{"line_number":147,"context_line":"          could cause the Task processing to fail."},{"line_number":148,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a30ddce_bed524ba","line":145,"range":{"start_line":145,"start_character":65,"end_line":145,"end_character":70},"in_reply_to":"9a30ddce_042a8c7e","updated":"2017-03-09 00:44:33.000000000","message":"Done","commit_id":"751333cdb48bbf043d3496077b4f89caef48c721"},{"author":{"_account_id":22448,"name":"Alexander Bashmakov","email":"abashmak@yahoo.com","username":"abashmak"},"change_message_id":"b1b2562744107fd807bc53e8dd7a31c5752927f0","unresolved":false,"context_lines":[{"line_number":148,"context_line":""},{"line_number":149,"context_line":":solution: Introduce a disable_by_file_path feature to Glance Taskflow which"},{"line_number":150,"context_line":"           will prevent the node from picking up new jobs. This allows an"},{"line_number":151,"context_line":"           operator or automation engine to ``touch`` the appropriate file "},{"line_number":152,"context_line":"           before terminating the service."},{"line_number":153,"context_line":""},{"line_number":154,"context_line":":impacts: Introduces a new configuration option"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a30ddce_24cb10a7","line":151,"updated":"2017-03-08 03:53:28.000000000","message":"s/ //","commit_id":"751333cdb48bbf043d3496077b4f89caef48c721"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"bc9948906e14a12d8caaec0ebe99f537cb179ff7","unresolved":false,"context_lines":[{"line_number":148,"context_line":""},{"line_number":149,"context_line":":solution: Introduce a disable_by_file_path feature to Glance Taskflow which"},{"line_number":150,"context_line":"           will prevent the node from picking up new jobs. This allows an"},{"line_number":151,"context_line":"           operator or automation engine to ``touch`` the appropriate file "},{"line_number":152,"context_line":"           before terminating the service."},{"line_number":153,"context_line":""},{"line_number":154,"context_line":":impacts: Introduces a new configuration option"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a30ddce_dedc98e6","line":151,"in_reply_to":"9a30ddce_24cb10a7","updated":"2017-03-09 00:44:33.000000000","message":"Done","commit_id":"751333cdb48bbf043d3496077b4f89caef48c721"},{"author":{"_account_id":21722,"name":"Dharini Chandrasekar","email":"dharini.chandrasekar@intel.com","username":"dharinic"},"change_message_id":"d9ca8fecaf339e9184a82f1faa8a12c719c64978","unresolved":false,"context_lines":[{"line_number":141,"context_line":"          allowing new operations to begin. With glance-api this can be done"},{"line_number":142,"context_line":"          using the disable_by_file_path feature similar to the oslo"},{"line_number":143,"context_line":"          healthcheck middleware or a feature within a network load balancer"},{"line_number":144,"context_line":"          directly. The Taskflow engine does not have a similar capability,"},{"line_number":145,"context_line":"          and so taking a node out of Taskflow processing risks a race"},{"line_number":146,"context_line":"          condition with that node picking up a job just before the service"},{"line_number":147,"context_line":"          is terminated which could cause the Task processing to fail."}],"source_content_type":"text/x-rst","patch_set":2,"id":"ffe62b97_1cba2ac0","line":144,"range":{"start_line":144,"start_character":20,"end_line":144,"end_character":74},"updated":"2017-03-28 01:27:28.000000000","message":"This gives and impression that TaskFlow does not have the capability to allow workers to complete long running operations before accepting new tasks from the executor.","commit_id":"8686cae9ce5dbb1c81a2fa3d7931c812290a6007"},{"author":{"_account_id":21722,"name":"Dharini Chandrasekar","email":"dharini.chandrasekar@intel.com","username":"dharinic"},"change_message_id":"17f8b1e84991859d8a0b5b50d3607f6f091336ba","unresolved":false,"context_lines":[{"line_number":141,"context_line":"          allowing new operations to begin. With glance-api this can be done"},{"line_number":142,"context_line":"          using the disable_by_file_path feature similar to the oslo"},{"line_number":143,"context_line":"          healthcheck middleware or a feature within a network load balancer"},{"line_number":144,"context_line":"          directly. The Taskflow engine does not have a similar capability,"},{"line_number":145,"context_line":"          and so taking a node out of Taskflow processing risks a race"},{"line_number":146,"context_line":"          condition with that node picking up a job just before the service"},{"line_number":147,"context_line":"          is terminated which could cause the Task processing to fail."}],"source_content_type":"text/x-rst","patch_set":2,"id":"bff0334d_60cb47a5","line":144,"range":{"start_line":144,"start_character":20,"end_line":144,"end_character":74},"in_reply_to":"dfeb2761_69e290a2","updated":"2017-04-05 16:47:30.000000000","message":"Thanks Steve. It is clearer now in PS 5.","commit_id":"8686cae9ce5dbb1c81a2fa3d7931c812290a6007"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"1a4369ed7e26de97f9c747152c042d09118ce3ea","unresolved":false,"context_lines":[{"line_number":141,"context_line":"          allowing new operations to begin. With glance-api this can be done"},{"line_number":142,"context_line":"          using the disable_by_file_path feature similar to the oslo"},{"line_number":143,"context_line":"          healthcheck middleware or a feature within a network load balancer"},{"line_number":144,"context_line":"          directly. The Taskflow engine does not have a similar capability,"},{"line_number":145,"context_line":"          and so taking a node out of Taskflow processing risks a race"},{"line_number":146,"context_line":"          condition with that node picking up a job just before the service"},{"line_number":147,"context_line":"          is terminated which could cause the Task processing to fail."}],"source_content_type":"text/x-rst","patch_set":2,"id":"dfeb2761_69e290a2","line":144,"range":{"start_line":144,"start_character":20,"end_line":144,"end_character":74},"in_reply_to":"ffe62b97_1cba2ac0","updated":"2017-04-04 17:39:36.000000000","message":"I don\u0027t see that at all. I\u0027ll try to reword this but \"without allowing allowing new operations to begin\" seems pretty clear to me and your impression says something totally different. I will try to rework this to focus on the statement of the problem and see if that clears things up.","commit_id":"8686cae9ce5dbb1c81a2fa3d7931c812290a6007"},{"author":{"_account_id":21722,"name":"Dharini Chandrasekar","email":"dharini.chandrasekar@intel.com","username":"dharinic"},"change_message_id":"d9ca8fecaf339e9184a82f1faa8a12c719c64978","unresolved":false,"context_lines":[{"line_number":143,"context_line":"          healthcheck middleware or a feature within a network load balancer"},{"line_number":144,"context_line":"          directly. The Taskflow engine does not have a similar capability,"},{"line_number":145,"context_line":"          and so taking a node out of Taskflow processing risks a race"},{"line_number":146,"context_line":"          condition with that node picking up a job just before the service"},{"line_number":147,"context_line":"          is terminated which could cause the Task processing to fail."},{"line_number":148,"context_line":""},{"line_number":149,"context_line":":solution: Introduce a disable_by_file_path feature to Glance Taskflow which"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ffe62b97_9cd19a26","line":146,"range":{"start_line":146,"start_character":30,"end_line":146,"end_character":34},"updated":"2017-03-28 01:27:28.000000000","message":"s/node/worker?","commit_id":"8686cae9ce5dbb1c81a2fa3d7931c812290a6007"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"1a4369ed7e26de97f9c747152c042d09118ce3ea","unresolved":false,"context_lines":[{"line_number":143,"context_line":"          healthcheck middleware or a feature within a network load balancer"},{"line_number":144,"context_line":"          directly. The Taskflow engine does not have a similar capability,"},{"line_number":145,"context_line":"          and so taking a node out of Taskflow processing risks a race"},{"line_number":146,"context_line":"          condition with that node picking up a job just before the service"},{"line_number":147,"context_line":"          is terminated which could cause the Task processing to fail."},{"line_number":148,"context_line":""},{"line_number":149,"context_line":":solution: Introduce a disable_by_file_path feature to Glance Taskflow which"}],"source_content_type":"text/x-rst","patch_set":2,"id":"dfeb2761_8902743c","line":146,"range":{"start_line":146,"start_character":30,"end_line":146,"end_character":34},"in_reply_to":"ffe62b97_9cd19a26","updated":"2017-04-04 17:39:36.000000000","message":"workers are threads in the taskflow system, so node is more correct.","commit_id":"8686cae9ce5dbb1c81a2fa3d7931c812290a6007"},{"author":{"_account_id":21722,"name":"Dharini Chandrasekar","email":"dharini.chandrasekar@intel.com","username":"dharinic"},"change_message_id":"d9ca8fecaf339e9184a82f1faa8a12c719c64978","unresolved":false,"context_lines":[{"line_number":147,"context_line":"          is terminated which could cause the Task processing to fail."},{"line_number":148,"context_line":""},{"line_number":149,"context_line":":solution: Introduce a disable_by_file_path feature to Glance Taskflow which"},{"line_number":150,"context_line":"           will prevent the node from picking up new jobs. This allows an"},{"line_number":151,"context_line":"           operator or automation engine to ``touch`` the appropriate file"},{"line_number":152,"context_line":"           before terminating the service."},{"line_number":153,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"ffe62b97_1cc90a25","line":150,"range":{"start_line":150,"start_character":58,"end_line":150,"end_character":59},"updated":"2017-03-28 01:27:28.000000000","message":"Maybe we can add a line about how the worker and executor will communicate when the config option is set?","commit_id":"8686cae9ce5dbb1c81a2fa3d7931c812290a6007"},{"author":{"_account_id":21722,"name":"Dharini Chandrasekar","email":"dharini.chandrasekar@intel.com","username":"dharinic"},"change_message_id":"17f8b1e84991859d8a0b5b50d3607f6f091336ba","unresolved":false,"context_lines":[{"line_number":147,"context_line":"          is terminated which could cause the Task processing to fail."},{"line_number":148,"context_line":""},{"line_number":149,"context_line":":solution: Introduce a disable_by_file_path feature to Glance Taskflow which"},{"line_number":150,"context_line":"           will prevent the node from picking up new jobs. This allows an"},{"line_number":151,"context_line":"           operator or automation engine to ``touch`` the appropriate file"},{"line_number":152,"context_line":"           before terminating the service."},{"line_number":153,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"bff0334d_8093eb4f","line":150,"range":{"start_line":150,"start_character":58,"end_line":150,"end_character":59},"in_reply_to":"dfeb2761_895ef441","updated":"2017-04-05 16:47:30.000000000","message":"I am not sure of a simpler way either Steve. I was hoping to get some more information on the implementation detail within the scope of this lite-spec.","commit_id":"8686cae9ce5dbb1c81a2fa3d7931c812290a6007"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"1a4369ed7e26de97f9c747152c042d09118ce3ea","unresolved":false,"context_lines":[{"line_number":147,"context_line":"          is terminated which could cause the Task processing to fail."},{"line_number":148,"context_line":""},{"line_number":149,"context_line":":solution: Introduce a disable_by_file_path feature to Glance Taskflow which"},{"line_number":150,"context_line":"           will prevent the node from picking up new jobs. This allows an"},{"line_number":151,"context_line":"           operator or automation engine to ``touch`` the appropriate file"},{"line_number":152,"context_line":"           before terminating the service."},{"line_number":153,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"dfeb2761_895ef441","line":150,"range":{"start_line":150,"start_character":58,"end_line":150,"end_character":59},"in_reply_to":"ffe62b97_1cc90a25","updated":"2017-04-04 17:39:36.000000000","message":"That is an implementation detail we don\u0027t have any consensus on yet.\n\nIs there a simpler way to implement this, perhaps at the point where the task list is generated?","commit_id":"8686cae9ce5dbb1c81a2fa3d7931c812290a6007"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"ae98ada0ba43f0d0ff2c3136497513d37e4be69e","unresolved":false,"context_lines":[{"line_number":146,"context_line":"          processing to fail."},{"line_number":147,"context_line":""},{"line_number":148,"context_line":":solution: Introduce a disable_by_file_path feature to Glance Taskflow which"},{"line_number":149,"context_line":"           will prevent the node from picking up new jobs. This allows an"},{"line_number":150,"context_line":"           operator or automation engine to ``touch`` the appropriate file"},{"line_number":151,"context_line":"           before terminating the service. This feature should be similar to"},{"line_number":152,"context_line":"           the behavior of the oslo healthcheck middleware."}],"source_content_type":"text/x-rst","patch_set":5,"id":"dfeb2761_4ef8e947","line":149,"range":{"start_line":149,"start_character":16,"end_line":149,"end_character":57},"updated":"2017-04-04 21:13:33.000000000","message":"one potential cut point for this would be a new TaskRepoProxy that is included in executors but not wired into the API. That proxy can check for the existence of a stopfile and return an empty list of tasks.\n\n(see gateway.get_task_executor_factory)\n\nWhat alternatives exist?","commit_id":"73b42179aa4c49437bdfbc88259198217e5a94a2"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"3105424d5e8eb5ad06eacd1e19710bbad0f0e4cc","unresolved":false,"context_lines":[{"line_number":146,"context_line":"          processing to fail."},{"line_number":147,"context_line":""},{"line_number":148,"context_line":":solution: Introduce a disable_by_file_path feature to Glance Taskflow which"},{"line_number":149,"context_line":"           will prevent the node from picking up new jobs. This allows an"},{"line_number":150,"context_line":"           operator or automation engine to ``touch`` the appropriate file"},{"line_number":151,"context_line":"           before terminating the service. This feature should be similar to"},{"line_number":152,"context_line":"           the behavior of the oslo healthcheck middleware."}],"source_content_type":"text/x-rst","patch_set":5,"id":"bff0334d_db720412","line":149,"range":{"start_line":149,"start_character":16,"end_line":149,"end_character":57},"in_reply_to":"bff0334d_fb6268d8","updated":"2017-04-05 16:51:09.000000000","message":"Thanks. I didn\u0027t want to presume too much about the implementation details for this work (or the other lite-specs I submitted), hoping that we could put many brains on the question and get a better answer.","commit_id":"73b42179aa4c49437bdfbc88259198217e5a94a2"},{"author":{"_account_id":21722,"name":"Dharini Chandrasekar","email":"dharini.chandrasekar@intel.com","username":"dharinic"},"change_message_id":"4e7783b356fe389abfab403d5fb4d86f3066f0bc","unresolved":false,"context_lines":[{"line_number":146,"context_line":"          processing to fail."},{"line_number":147,"context_line":""},{"line_number":148,"context_line":":solution: Introduce a disable_by_file_path feature to Glance Taskflow which"},{"line_number":149,"context_line":"           will prevent the node from picking up new jobs. This allows an"},{"line_number":150,"context_line":"           operator or automation engine to ``touch`` the appropriate file"},{"line_number":151,"context_line":"           before terminating the service. This feature should be similar to"},{"line_number":152,"context_line":"           the behavior of the oslo healthcheck middleware."}],"source_content_type":"text/x-rst","patch_set":5,"id":"bff0334d_fb6268d8","line":149,"range":{"start_line":149,"start_character":16,"end_line":149,"end_character":57},"in_reply_to":"dfeb2761_4ef8e947","updated":"2017-04-05 16:47:40.000000000","message":"Hmmm. This idea sounds good to me.\nWill dig in some more to look for some alternatives.","commit_id":"73b42179aa4c49437bdfbc88259198217e5a94a2"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"588b0da8c449eff51cf8c06ccc4989051fe06cd2","unresolved":false,"context_lines":[{"line_number":151,"context_line":"           before terminating the service. This feature should be similar to"},{"line_number":152,"context_line":"           the behavior of the oslo healthcheck middleware."},{"line_number":153,"context_line":""},{"line_number":154,"context_line":":impacts: Introduces a new configuration option"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":":timeline: Expected to have a fix merged in the Pike cycle before milestone 2."},{"line_number":157,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"bff0334d_73714d0c","line":154,"range":{"start_line":154,"start_character":11,"end_line":154,"end_character":47},"updated":"2017-04-10 15:46:01.000000000","message":"I do not like this. We already have one stopfile coming from health check to indicate that the node is not available for new calls due to maintenance, we should tap into that instead.","commit_id":"73b42179aa4c49437bdfbc88259198217e5a94a2"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"fb612b93cbd8eee1c82bff2b7d4ac8b15a1a1849","unresolved":false,"context_lines":[{"line_number":151,"context_line":"           before terminating the service. This feature should be similar to"},{"line_number":152,"context_line":"           the behavior of the oslo healthcheck middleware."},{"line_number":153,"context_line":""},{"line_number":154,"context_line":":impacts: Introduces a new configuration option"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":":timeline: Expected to have a fix merged in the Pike cycle before milestone 2."},{"line_number":157,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"bff0334d_3dd5ab44","line":154,"range":{"start_line":154,"start_character":11,"end_line":154,"end_character":47},"in_reply_to":"bff0334d_73714d0c","updated":"2017-04-11 15:42:36.000000000","message":"Revised the solution text accordingly.","commit_id":"73b42179aa4c49437bdfbc88259198217e5a94a2"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"de7c865bf69039adc721090a56d88abc6323afe3","unresolved":false,"context_lines":[{"line_number":150,"context_line":"           operator or automation engine to ``touch`` the appropriate file"},{"line_number":151,"context_line":"           before terminating the service. This feature should depend on the"},{"line_number":152,"context_line":"           oslo healthcheck middleware configuration to disable the taskflow"},{"line_number":153,"context_line":"           engine. As an additional impact, this work will require Glance to"},{"line_number":154,"context_line":"           instantiate a single taskflow engine as a singleton and reuse that"},{"line_number":155,"context_line":"           engine instance on all subsequent taskflow operations."},{"line_number":156,"context_line":""},{"line_number":157,"context_line":":impacts: None"},{"line_number":158,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"bff0334d_0bfb93c0","line":155,"range":{"start_line":153,"start_character":19,"end_line":155,"end_character":65},"updated":"2017-04-12 17:44:15.000000000","message":"This seems like a good change to make in any case, thanks for calling it out.","commit_id":"c0a5dd0edaecbb8f046971cb112cdc09fd348b3c"}]}
