)]}'
{"specs/mitaka/summarymessage.rst":[{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"04bfa9d57f8fdb2123e85167ffd0bcdf085bef53","unresolved":false,"context_lines":[{"line_number":5,"context_line":" http://creativecommons.org/licenses/by/3.0/legalcode"},{"line_number":6,"context_line":""},{"line_number":7,"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"},{"line_number":8,"context_line":"\"Failure Summary\" Messages"},{"line_number":9,"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"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Include the URL of your launchpad blueprint:"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1af94dfe_574ccf9d","line":8,"updated":"2016-03-17 14:04:40.000000000","message":"I don\u0027t think \"summary messages\" etc is really an appropriate title for this, there\u0027s a lot more going on here than summaries.","commit_id":"99088657f15d6d183ad326f8256fe398293464d6"},{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"4db9bae28b1bceaf635a3e760dd3ac4cf1dcd635","unresolved":false,"context_lines":[{"line_number":27,"context_line":"In some case it is worse than this."},{"line_number":28,"context_line":"For ex,"},{"line_number":29,"context_line":"1. In case rabbitmq is inactive and user tries to create volume,"},{"line_number":30,"context_line":"Horizon hangs on waiting response from API forever."},{"line_number":31,"context_line":"2. In case rabbitmq is active but recipient service is not running"},{"line_number":32,"context_line":"and user tries to create volume, API hangs on waiting response from"},{"line_number":33,"context_line":"rabbitMQ forever."}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_e07cfbb6","line":30,"updated":"2016-01-29 14:16:58.000000000","message":"Here is a fix for this issue: https://review.openstack.org/#/c/273505/","commit_id":"99088657f15d6d183ad326f8256fe398293464d6"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"282163932e647fdb3588201dc7217d41186bf45b","unresolved":false,"context_lines":[{"line_number":27,"context_line":"In some case it is worse than this."},{"line_number":28,"context_line":"For ex,"},{"line_number":29,"context_line":"1. In case rabbitmq is inactive and user tries to create volume,"},{"line_number":30,"context_line":"Horizon hangs on waiting response from API forever."},{"line_number":31,"context_line":"2. In case rabbitmq is active but recipient service is not running"},{"line_number":32,"context_line":"and user tries to create volume, API hangs on waiting response from"},{"line_number":33,"context_line":"rabbitMQ forever."}],"source_content_type":"text/x-rst","patch_set":1,"id":"dae33548_f0a3ee4d","line":30,"in_reply_to":"7a5de9d1_a7c93228","updated":"2016-02-14 07:57:38.000000000","message":"For now I am keeping same in BP as fix is still not merged.\nPlease bear with it, I will remove this from BP accordingly as and when required.","commit_id":"99088657f15d6d183ad326f8256fe398293464d6"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"b68cbde095d2188aa06a865467c337820e8a4ec1","unresolved":false,"context_lines":[{"line_number":27,"context_line":"In some case it is worse than this."},{"line_number":28,"context_line":"For ex,"},{"line_number":29,"context_line":"1. In case rabbitmq is inactive and user tries to create volume,"},{"line_number":30,"context_line":"Horizon hangs on waiting response from API forever."},{"line_number":31,"context_line":"2. In case rabbitmq is active but recipient service is not running"},{"line_number":32,"context_line":"and user tries to create volume, API hangs on waiting response from"},{"line_number":33,"context_line":"rabbitMQ forever."}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_a7c93228","line":30,"in_reply_to":"7a5de9d1_e07cfbb6","updated":"2016-01-29 16:39:04.000000000","message":"its great.. it was not there till last week,quite quick..\n\nplease leave something for me :) \njk..","commit_id":"99088657f15d6d183ad326f8256fe398293464d6"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"b1e38c1ca57bd4ef8d56f4bd7bf72a89311d7b3b","unresolved":false,"context_lines":[{"line_number":53,"context_line":"1. Push Notification:"},{"line_number":54,"context_line":"During user operations, notifications wil be pushed to database"},{"line_number":55,"context_line":"using component specific notifications."},{"line_number":56,"context_line":"This is same as existing usage notifications used in cinder."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"These notifications will be pushed by component for operation start"},{"line_number":59,"context_line":"(already exists in most of the operations),"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_7314679f","line":56,"updated":"2016-01-29 14:31:40.000000000","message":"The existing notifications are not necessarily suitable for a user-facing notification. It was discussed at the midcycle having a file of constants that for the user facing messages, so that during review it is clear they are user facing, and so that a suitably paranoid deployer can edit the messages if desired","commit_id":"99088657f15d6d183ad326f8256fe398293464d6"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"282163932e647fdb3588201dc7217d41186bf45b","unresolved":false,"context_lines":[{"line_number":53,"context_line":"1. Push Notification:"},{"line_number":54,"context_line":"During user operations, notifications wil be pushed to database"},{"line_number":55,"context_line":"using component specific notifications."},{"line_number":56,"context_line":"This is same as existing usage notifications used in cinder."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"These notifications will be pushed by component for operation start"},{"line_number":59,"context_line":"(already exists in most of the operations),"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dae33548_50dbbaed","line":56,"in_reply_to":"7a5de9d1_0af84d48","updated":"2016-02-14 07:57:38.000000000","message":"sure.","commit_id":"99088657f15d6d183ad326f8256fe398293464d6"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"0c8f2d46add39993da0d4120a2cb672814d49816","unresolved":false,"context_lines":[{"line_number":53,"context_line":"1. Push Notification:"},{"line_number":54,"context_line":"During user operations, notifications wil be pushed to database"},{"line_number":55,"context_line":"using component specific notifications."},{"line_number":56,"context_line":"This is same as existing usage notifications used in cinder."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"These notifications will be pushed by component for operation start"},{"line_number":59,"context_line":"(already exists in most of the operations),"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_0af84d48","line":56,"in_reply_to":"7a5de9d1_47771ed3","updated":"2016-01-29 16:49:17.000000000","message":"Yes, please mention it explicitly","commit_id":"99088657f15d6d183ad326f8256fe398293464d6"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"b68cbde095d2188aa06a865467c337820e8a4ec1","unresolved":false,"context_lines":[{"line_number":53,"context_line":"1. Push Notification:"},{"line_number":54,"context_line":"During user operations, notifications wil be pushed to database"},{"line_number":55,"context_line":"using component specific notifications."},{"line_number":56,"context_line":"This is same as existing usage notifications used in cinder."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"These notifications will be pushed by component for operation start"},{"line_number":59,"context_line":"(already exists in most of the operations),"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_47771ed3","line":56,"in_reply_to":"7a5de9d1_7314679f","updated":"2016-01-29 16:39:04.000000000","message":"Yes, that\u0027s just for depicting what kind of notification i am planning for implement...there would be more enough for detailing...\n\nI am also thinking of implementing same thing by keeping separate event levels(constant file and all)..\nmay be kind of error mapping for event levels and what to show to user..\n\nShould I mention this specifically this in spec?","commit_id":"99088657f15d6d183ad326f8256fe398293464d6"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"b1e38c1ca57bd4ef8d56f4bd7bf72a89311d7b3b","unresolved":false,"context_lines":[{"line_number":66,"context_line":"Results may be shown in tabular way as shown below"},{"line_number":67,"context_line":"+-------------------------------------------------------------------+"},{"line_number":68,"context_line":"| TenantID||Node Name|| ID || Operation|| Operation Status|| Summary|"},{"line_number":69,"context_line":"+-------------------------------------------------------------------+"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"Roles:"},{"line_number":72,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_33aeef81","line":69,"updated":"2016-01-29 14:31:40.000000000","message":"This should be tied to request_id","commit_id":"99088657f15d6d183ad326f8256fe398293464d6"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"282163932e647fdb3588201dc7217d41186bf45b","unresolved":false,"context_lines":[{"line_number":66,"context_line":"Results may be shown in tabular way as shown below"},{"line_number":67,"context_line":"+-------------------------------------------------------------------+"},{"line_number":68,"context_line":"| TenantID||Node Name|| ID || Operation|| Operation Status|| Summary|"},{"line_number":69,"context_line":"+-------------------------------------------------------------------+"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"Roles:"},{"line_number":72,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"dae33548_f0d5aeb9","line":69,"in_reply_to":"7a5de9d1_2a574959","updated":"2016-02-14 07:57:38.000000000","message":"ok.","commit_id":"99088657f15d6d183ad326f8256fe398293464d6"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"b68cbde095d2188aa06a865467c337820e8a4ec1","unresolved":false,"context_lines":[{"line_number":66,"context_line":"Results may be shown in tabular way as shown below"},{"line_number":67,"context_line":"+-------------------------------------------------------------------+"},{"line_number":68,"context_line":"| TenantID||Node Name|| ID || Operation|| Operation Status|| Summary|"},{"line_number":69,"context_line":"+-------------------------------------------------------------------+"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"Roles:"},{"line_number":72,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_873e76d8","line":69,"in_reply_to":"7a5de9d1_33aeef81","updated":"2016-01-29 16:39:04.000000000","message":"Sorry, but could not understand this point.","commit_id":"99088657f15d6d183ad326f8256fe398293464d6"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"0c8f2d46add39993da0d4120a2cb672814d49816","unresolved":false,"context_lines":[{"line_number":66,"context_line":"Results may be shown in tabular way as shown below"},{"line_number":67,"context_line":"+-------------------------------------------------------------------+"},{"line_number":68,"context_line":"| TenantID||Node Name|| ID || Operation|| Operation Status|| Summary|"},{"line_number":69,"context_line":"+-------------------------------------------------------------------+"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"Roles:"},{"line_number":72,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_2a574959","line":69,"in_reply_to":"7a5de9d1_873e76d8","updated":"2016-01-29 16:49:17.000000000","message":"Every \u0027operation\u0027 initiated by the user has a request id returned as an HTTP header and available in the cinder code in the context. This is the only sane to programatically map a request to what happened in cinder (currently only available in the logs, but should definitely be used here too)","commit_id":"99088657f15d6d183ad326f8256fe398293464d6"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"04bfa9d57f8fdb2123e85167ffd0bcdf085bef53","unresolved":false,"context_lines":[{"line_number":128,"context_line":""},{"line_number":129,"context_line":"Alternatives"},{"line_number":130,"context_line":"------------"},{"line_number":131,"context_line":"- rsyslog"},{"line_number":132,"context_line":"- \"messages only\" for failure reasons."},{"line_number":133,"context_line":"this can be valid for short run but for long run we need proper"},{"line_number":134,"context_line":"mechanism to facilitate user about operaiton status with proper details)"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1af94dfe_172ec7a4","line":131,"updated":"2016-03-17 14:04:40.000000000","message":"rsyslog is not user-accessible so it\u0027s not an interesting alternative.","commit_id":"99088657f15d6d183ad326f8256fe398293464d6"},{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"09f0d26d647013dc33718de8486625db8e78c50c","unresolved":false,"context_lines":[{"line_number":132,"context_line":"- \"messages only\" for failure reasons."},{"line_number":133,"context_line":"this can be valid for short run but for long run we need proper"},{"line_number":134,"context_line":"mechanism to facilitate user about operaiton status with proper details)"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"Implementation"},{"line_number":138,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_d31bdbc8","line":135,"updated":"2016-01-29 14:31:42.000000000","message":"Make the same as we\u0027ve got for backups: https://review.openstack.org/237578","commit_id":"99088657f15d6d183ad326f8256fe398293464d6"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"0c8f2d46add39993da0d4120a2cb672814d49816","unresolved":false,"context_lines":[{"line_number":132,"context_line":"- \"messages only\" for failure reasons."},{"line_number":133,"context_line":"this can be valid for short run but for long run we need proper"},{"line_number":134,"context_line":"mechanism to facilitate user about operaiton status with proper details)"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"Implementation"},{"line_number":138,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_eafa9142","line":135,"in_reply_to":"7a5de9d1_aa9d79bd","updated":"2016-01-29 16:49:17.000000000","message":"I agree with Eric\u0027s comments on that spec. The backup fail reason comment is flawed, it was just the best we couold manage at the time and really we needed something since backups take so long. Per operation status is a much better way forward","commit_id":"99088657f15d6d183ad326f8256fe398293464d6"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"b68cbde095d2188aa06a865467c337820e8a4ec1","unresolved":false,"context_lines":[{"line_number":132,"context_line":"- \"messages only\" for failure reasons."},{"line_number":133,"context_line":"this can be valid for short run but for long run we need proper"},{"line_number":134,"context_line":"mechanism to facilitate user about operaiton status with proper details)"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"Implementation"},{"line_number":138,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a5de9d1_aa9d79bd","line":135,"in_reply_to":"7a5de9d1_d31bdbc8","updated":"2016-01-29 16:39:04.000000000","message":"hmmm..yes this is good...\nI will update...","commit_id":"99088657f15d6d183ad326f8256fe398293464d6"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"282163932e647fdb3588201dc7217d41186bf45b","unresolved":false,"context_lines":[{"line_number":132,"context_line":"- \"messages only\" for failure reasons."},{"line_number":133,"context_line":"this can be valid for short run but for long run we need proper"},{"line_number":134,"context_line":"mechanism to facilitate user about operaiton status with proper details)"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"Implementation"},{"line_number":138,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dae33548_704b5eb1","line":135,"in_reply_to":"7a5de9d1_eafa9142","updated":"2016-02-14 07:57:38.000000000","message":"Ok, I will use request id mapping.","commit_id":"99088657f15d6d183ad326f8256fe398293464d6"}],"specs/newton/summarymessage.rst":[{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"0caa27f5856ca6f7f956d53f260a20101ada12c1","unresolved":false,"context_lines":[{"line_number":13,"context_line":"the operator, but the user that is interacting with the API)."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"If user performs some operation and operation fails or goes in"},{"line_number":16,"context_line":"hang state, then their must be some interface for user to see reason"},{"line_number":17,"context_line":"for this behavior."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"So, this is basically regarding facilitating user to see error messages"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da0c15f0_8ceea520","line":16,"range":{"start_line":16,"start_character":17,"end_line":16,"end_character":22},"updated":"2016-03-25 16:59:02.000000000","message":"there","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"8768f2ec76a79f00e3611443e8331b84be695de2","unresolved":false,"context_lines":[{"line_number":13,"context_line":"the operator, but the user that is interacting with the API)."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"If user performs some operation and operation fails or goes in"},{"line_number":16,"context_line":"hang state, then their must be some interface for user to see reason"},{"line_number":17,"context_line":"for this behavior."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"So, this is basically regarding facilitating user to see error messages"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da0c15f0_78094b95","line":16,"range":{"start_line":16,"start_character":17,"end_line":16,"end_character":22},"in_reply_to":"da0c15f0_8ceea520","updated":"2016-03-25 18:28:54.000000000","message":"I will update.","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"0caa27f5856ca6f7f956d53f260a20101ada12c1","unresolved":false,"context_lines":[{"line_number":31,"context_line":""},{"line_number":32,"context_line":"If operations like create volume, create snapshot etc fails, user gets"},{"line_number":33,"context_line":"no detailed information in case operation fails."},{"line_number":34,"context_line":"Sometime only operation status is updated to error, failed etc wihtout"},{"line_number":35,"context_line":"any update to user."},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"In some case it is worse than this."}],"source_content_type":"text/x-rst","patch_set":5,"id":"da0c15f0_eccac1a0","line":34,"range":{"start_line":34,"start_character":0,"end_line":34,"end_character":8},"updated":"2016-03-25 16:59:02.000000000","message":"Sometimes","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"8768f2ec76a79f00e3611443e8331b84be695de2","unresolved":false,"context_lines":[{"line_number":31,"context_line":""},{"line_number":32,"context_line":"If operations like create volume, create snapshot etc fails, user gets"},{"line_number":33,"context_line":"no detailed information in case operation fails."},{"line_number":34,"context_line":"Sometime only operation status is updated to error, failed etc wihtout"},{"line_number":35,"context_line":"any update to user."},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"In some case it is worse than this."}],"source_content_type":"text/x-rst","patch_set":5,"id":"da0c15f0_d8fe976a","line":34,"range":{"start_line":34,"start_character":0,"end_line":34,"end_character":8},"in_reply_to":"da0c15f0_eccac1a0","updated":"2016-03-25 18:28:54.000000000","message":"I will update","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"0caa27f5856ca6f7f956d53f260a20101ada12c1","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Motivation for this Blue Print:"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"1. To help admin in debugging failed operations without"},{"line_number":58,"context_line":"   less log filtering."},{"line_number":59,"context_line":"2. To notify admin to start services which failed due to"},{"line_number":60,"context_line":"   some abnormal conditions."},{"line_number":61,"context_line":"3. To inform user about failure in case operation fails."}],"source_content_type":"text/x-rst","patch_set":5,"id":"da0c15f0_6cc99178","line":58,"range":{"start_line":57,"start_character":0,"end_line":58,"end_character":22},"updated":"2016-03-25 16:59:02.000000000","message":"I don\u0027t understand this use case?  Do you mean \"To help admin in debugging failed operations without more log filtering.\"  ?  It should also help the admin as the uses will have more information to provide the admin when a failure happens.","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"8768f2ec76a79f00e3611443e8331b84be695de2","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Motivation for this Blue Print:"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"1. To help admin in debugging failed operations without"},{"line_number":58,"context_line":"   less log filtering."},{"line_number":59,"context_line":"2. To notify admin to start services which failed due to"},{"line_number":60,"context_line":"   some abnormal conditions."},{"line_number":61,"context_line":"3. To inform user about failure in case operation fails."}],"source_content_type":"text/x-rst","patch_set":5,"id":"da0c15f0_58f3a79e","line":58,"range":{"start_line":57,"start_character":0,"end_line":58,"end_character":22},"in_reply_to":"da0c15f0_6cc99178","updated":"2016-03-25 18:28:54.000000000","message":"you catch it right, this is typo.\nIt was \"..with less log filtering.\"\nI will udpate.","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":20105,"name":"Cao ShuFeng","email":"caosf.fnst@cn.fujitsu.com","username":"caosf.fnst"},"change_message_id":"7a1940bc36b80dcfed87cb3ab0cec1f6a154c6b8","unresolved":false,"context_lines":[{"line_number":87,"context_line":"   using component specific notifications."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"   These messages will be generated and pushed to database by"},{"line_number":90,"context_line":"   component for operation start, operation completion or operation"},{"line_number":91,"context_line":"   failure."},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"   Message generation will be based on eventID to eventMessage"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba0121b8_051723a4","line":90,"range":{"start_line":90,"start_character":17,"end_line":90,"end_character":54},"updated":"2016-03-29 07:17:47.000000000","message":"\"operation start\" and \"operation completion\" event has been send to message queue by openstack notification.\nThis seems to be a duplicate function.\nI suggest add a \"message_level\" in config, let the admin decide which kind of\nevent should be stored.","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"7ce1b974e47d5cf47797151caf05deebb0b2def3","unresolved":false,"context_lines":[{"line_number":87,"context_line":"   using component specific notifications."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"   These messages will be generated and pushed to database by"},{"line_number":90,"context_line":"   component for operation start, operation completion or operation"},{"line_number":91,"context_line":"   failure."},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"   Message generation will be based on eventID to eventMessage"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba0121b8_094735bc","line":90,"range":{"start_line":90,"start_character":17,"end_line":90,"end_character":54},"in_reply_to":"ba0121b8_051723a4","updated":"2016-03-29 10:47:35.000000000","message":"We are targeting only failure messages, spec updated.","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"0caa27f5856ca6f7f956d53f260a20101ada12c1","unresolved":false,"context_lines":[{"line_number":111,"context_line":"+--------+---------+----------+-------+-------+-----------+------+-----------+"},{"line_number":112,"context_line":"| BCorp  | BAK123  | BS-cind2 | {...} | Info  | createBak | {..} | Started   |"},{"line_number":113,"context_line":"+--------+---------+----------+-------+-------+-----------+------+-----------+"},{"line_number":114,"context_line":"| BCorp  | BAK456  | BS-cind2 | {...} | Info  | createBak | {..} | Completed |"},{"line_number":115,"context_line":"+--------+---------+----------+-------+-------+-----------+------+-----------+"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"Every \u0027operation\u0027 initiated by the user has a request ID returned as"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da0c15f0_ac1289b2","line":114,"range":{"start_line":114,"start_character":11,"end_line":114,"end_character":18},"updated":"2016-03-25 16:59:02.000000000","message":"How will the user be able to see what this EventID means?  Will there be a way to get more detailed information?","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"7ce1b974e47d5cf47797151caf05deebb0b2def3","unresolved":false,"context_lines":[{"line_number":111,"context_line":"+--------+---------+----------+-------+-------+-----------+------+-----------+"},{"line_number":112,"context_line":"| BCorp  | BAK123  | BS-cind2 | {...} | Info  | createBak | {..} | Started   |"},{"line_number":113,"context_line":"+--------+---------+----------+-------+-------+-----------+------+-----------+"},{"line_number":114,"context_line":"| BCorp  | BAK456  | BS-cind2 | {...} | Info  | createBak | {..} | Completed |"},{"line_number":115,"context_line":"+--------+---------+----------+-------+-------+-----------+------+-----------+"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"Every \u0027operation\u0027 initiated by the user has a request ID returned as"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba0121b8_ae83afcb","line":114,"range":{"start_line":114,"start_character":11,"end_line":114,"end_character":18},"in_reply_to":"da0c15f0_0b9cff67","updated":"2016-03-29 10:47:35.000000000","message":"This is already done\n1. schema : cinder/db/sqlalchemy/models.py\n2. messages : cinder/message/message_config.py\n   Its easy to map eventID with messages which could be updated by deployer as per requirement.","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"8768f2ec76a79f00e3611443e8331b84be695de2","unresolved":false,"context_lines":[{"line_number":111,"context_line":"+--------+---------+----------+-------+-------+-----------+------+-----------+"},{"line_number":112,"context_line":"| BCorp  | BAK123  | BS-cind2 | {...} | Info  | createBak | {..} | Started   |"},{"line_number":113,"context_line":"+--------+---------+----------+-------+-------+-----------+------+-----------+"},{"line_number":114,"context_line":"| BCorp  | BAK456  | BS-cind2 | {...} | Info  | createBak | {..} | Completed |"},{"line_number":115,"context_line":"+--------+---------+----------+-------+-------+-----------+------+-----------+"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"Every \u0027operation\u0027 initiated by the user has a request ID returned as"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da0c15f0_b8b5a3ce","line":114,"range":{"start_line":114,"start_character":11,"end_line":114,"end_character":18},"in_reply_to":"da0c15f0_ac1289b2","updated":"2016-03-25 18:28:54.000000000","message":"This could be used by user to report issues to admin.\nfor ex, xyz123 event id has caused the issue(backup failure). Admin would be having some idea when this event ID occurs(eventID will be linked to failure and operation type, even deployer will be able to map failure events and corresponding messages to be shown to user).","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":177,"name":"Alex Meade","email":"mr.alex.meade@gmail.com","username":"alex-meade"},"change_message_id":"ec175e4f816b3b7612c9ab3a7368547e28a004c9","unresolved":false,"context_lines":[{"line_number":111,"context_line":"+--------+---------+----------+-------+-------+-----------+------+-----------+"},{"line_number":112,"context_line":"| BCorp  | BAK123  | BS-cind2 | {...} | Info  | createBak | {..} | Started   |"},{"line_number":113,"context_line":"+--------+---------+----------+-------+-------+-----------+------+-----------+"},{"line_number":114,"context_line":"| BCorp  | BAK456  | BS-cind2 | {...} | Info  | createBak | {..} | Completed |"},{"line_number":115,"context_line":"+--------+---------+----------+-------+-------+-----------+------+-----------+"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"Every \u0027operation\u0027 initiated by the user has a request ID returned as"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da0c15f0_0b9cff67","line":114,"range":{"start_line":114,"start_character":11,"end_line":114,"end_character":18},"in_reply_to":"da0c15f0_b8b5a3ce","updated":"2016-03-28 14:43:47.000000000","message":"We need to add event_id to the schema.  The usecase for this makes sense, I suppose we will assign these shortname values where we define the actual messages.","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":177,"name":"Alex Meade","email":"mr.alex.meade@gmail.com","username":"alex-meade"},"change_message_id":"ec175e4f816b3b7612c9ab3a7368547e28a004c9","unresolved":false,"context_lines":[{"line_number":120,"context_line":"(This request ID will be used for mapping a request to what happened in cinder"},{"line_number":121,"context_line":"for that operation.)"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"Summary message will contain operation specific detailed summary message."},{"line_number":124,"context_line":"For ex,"},{"line_number":125,"context_line":"\"Volume create operation started\"/"},{"line_number":126,"context_line":"\"Volume create operation failed - {Reason of failure}\""}],"source_content_type":"text/x-rst","patch_set":5,"id":"da0c15f0_eb40aba7","line":123,"updated":"2016-03-28 14:43:47.000000000","message":"Lets stick to failures as Eric mentioned.","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"7ce1b974e47d5cf47797151caf05deebb0b2def3","unresolved":false,"context_lines":[{"line_number":120,"context_line":"(This request ID will be used for mapping a request to what happened in cinder"},{"line_number":121,"context_line":"for that operation.)"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"Summary message will contain operation specific detailed summary message."},{"line_number":124,"context_line":"For ex,"},{"line_number":125,"context_line":"\"Volume create operation started\"/"},{"line_number":126,"context_line":"\"Volume create operation failed - {Reason of failure}\""}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba0121b8_ceff0333","line":123,"in_reply_to":"da0c15f0_eb40aba7","updated":"2016-03-29 10:47:35.000000000","message":"yes, good to start with.\nRefer next comment for details on how things will proceed for other messages.","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"0caa27f5856ca6f7f956d53f260a20101ada12c1","unresolved":false,"context_lines":[{"line_number":127,"context_line":""},{"line_number":128,"context_line":"Roles:"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"a. Admin - can see \"Summay Message\" for all user related operations"},{"line_number":131,"context_line":"   depending upon filter \"TenantID\"."},{"line_number":132,"context_line":"b. User - can see \"Summay Message\" for self ID."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Filters:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da0c15f0_ec83e1ca","line":131,"range":{"start_line":130,"start_character":0,"end_line":131,"end_character":36},"updated":"2016-03-25 16:59:02.000000000","message":"Could the admin also be able to see a running list of all messages happening on the system.  Seems like that could also be very useful.","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"8768f2ec76a79f00e3611443e8331b84be695de2","unresolved":false,"context_lines":[{"line_number":127,"context_line":""},{"line_number":128,"context_line":"Roles:"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"a. Admin - can see \"Summay Message\" for all user related operations"},{"line_number":131,"context_line":"   depending upon filter \"TenantID\"."},{"line_number":132,"context_line":"b. User - can see \"Summay Message\" for self ID."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Filters:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da0c15f0_f8cefb58","line":131,"range":{"start_line":130,"start_character":0,"end_line":131,"end_character":36},"in_reply_to":"da0c15f0_ec83e1ca","updated":"2016-03-25 18:28:54.000000000","message":"This is devided in 3 phases...first I am targeting only failed messages.\nIn later phases, I will add for success, failure and ongoing operations. Then admin will be able to see running list of operations in system with starting time.","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":20105,"name":"Cao ShuFeng","email":"caosf.fnst@cn.fujitsu.com","username":"caosf.fnst"},"change_message_id":"7a1940bc36b80dcfed87cb3ab0cec1f6a154c6b8","unresolved":false,"context_lines":[{"line_number":129,"context_line":""},{"line_number":130,"context_line":"a. Admin - can see \"Summay Message\" for all user related operations"},{"line_number":131,"context_line":"   depending upon filter \"TenantID\"."},{"line_number":132,"context_line":"b. User - can see \"Summay Message\" for self ID."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Filters:"},{"line_number":135,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba0121b8_009a7114","line":132,"range":{"start_line":132,"start_character":39,"end_line":132,"end_character":43},"updated":"2016-03-29 07:17:47.000000000","message":"Which id is this?\nUserID or tenantID?","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"7ce1b974e47d5cf47797151caf05deebb0b2def3","unresolved":false,"context_lines":[{"line_number":129,"context_line":""},{"line_number":130,"context_line":"a. Admin - can see \"Summay Message\" for all user related operations"},{"line_number":131,"context_line":"   depending upon filter \"TenantID\"."},{"line_number":132,"context_line":"b. User - can see \"Summay Message\" for self ID."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Filters:"},{"line_number":135,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba0121b8_ae6d6f06","line":132,"range":{"start_line":132,"start_character":39,"end_line":132,"end_character":43},"in_reply_to":"ba0121b8_009a7114","updated":"2016-03-29 10:47:35.000000000","message":"UserID.","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":177,"name":"Alex Meade","email":"mr.alex.meade@gmail.com","username":"alex-meade"},"change_message_id":"ec175e4f816b3b7612c9ab3a7368547e28a004c9","unresolved":false,"context_lines":[{"line_number":136,"context_line":"Results can be filtered depending upon TenantID, NodeName,"},{"line_number":137,"context_line":"Operation Outcome/Result(Fail/Pass) etc."},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"Type of Notification Messages:"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"1. API Events : Messages for operations start, stop or error."},{"line_number":142,"context_line":"2. Service Logs: information for failed services either stopped by user"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da0c15f0_4b643748","line":139,"updated":"2016-03-28 14:43:47.000000000","message":"I\u0027d like to not mix in the word \u0027notification\u0027 as that is confusing since they are separate. perhaps we just refer to these as \u0027user messages\u0027","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":177,"name":"Alex Meade","email":"mr.alex.meade@gmail.com","username":"alex-meade"},"change_message_id":"ec175e4f816b3b7612c9ab3a7368547e28a004c9","unresolved":false,"context_lines":[{"line_number":139,"context_line":"Type of Notification Messages:"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"1. API Events : Messages for operations start, stop or error."},{"line_number":142,"context_line":"2. Service Logs: information for failed services either stopped by user"},{"line_number":143,"context_line":"   or stopped due to any abnormal conditions."},{"line_number":144,"context_line":"3. System Logs: any other logs than API and service logs."},{"line_number":145,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"da0c15f0_eb6eeb2d","line":142,"updated":"2016-03-28 14:43:47.000000000","message":"Users besides admins should not see this information. There are already \u0027notifications\u0027 that are generated that could be used for this purpose.","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"7ce1b974e47d5cf47797151caf05deebb0b2def3","unresolved":false,"context_lines":[{"line_number":139,"context_line":"Type of Notification Messages:"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"1. API Events : Messages for operations start, stop or error."},{"line_number":142,"context_line":"2. Service Logs: information for failed services either stopped by user"},{"line_number":143,"context_line":"   or stopped due to any abnormal conditions."},{"line_number":144,"context_line":"3. System Logs: any other logs than API and service logs."},{"line_number":145,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba0121b8_c937fde1","line":142,"in_reply_to":"da0c15f0_eb6eeb2d","updated":"2016-03-29 10:47:35.000000000","message":"ok.","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"7d9f14e075308e9644f3ae3409443d8dc87325b0","unresolved":false,"context_lines":[{"line_number":315,"context_line":""},{"line_number":316,"context_line":"* cinder:"},{"line_number":317,"context_line":"  Implementation to generate notification messages at the time of start,"},{"line_number":318,"context_line":"  end or failure for all existing operations."},{"line_number":319,"context_line":""},{"line_number":320,"context_line":"* cinder:"},{"line_number":321,"context_line":"  notification listener is required which will serve as"}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa0719c6_53c54c3a","line":318,"updated":"2016-03-23 17:15:50.000000000","message":"I would suggest focusing on failures first.","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":177,"name":"Alex Meade","email":"mr.alex.meade@gmail.com","username":"alex-meade"},"change_message_id":"ec175e4f816b3b7612c9ab3a7368547e28a004c9","unresolved":false,"context_lines":[{"line_number":315,"context_line":""},{"line_number":316,"context_line":"* cinder:"},{"line_number":317,"context_line":"  Implementation to generate notification messages at the time of start,"},{"line_number":318,"context_line":"  end or failure for all existing operations."},{"line_number":319,"context_line":""},{"line_number":320,"context_line":"* cinder:"},{"line_number":321,"context_line":"  notification listener is required which will serve as"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da0c15f0_2b4d836c","line":318,"in_reply_to":"da0c15f0_26217a4e","updated":"2016-03-28 14:43:47.000000000","message":"+1","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"a808f7dca384f0cf9d95c5a632414afeae4f0c53","unresolved":false,"context_lines":[{"line_number":315,"context_line":""},{"line_number":316,"context_line":"* cinder:"},{"line_number":317,"context_line":"  Implementation to generate notification messages at the time of start,"},{"line_number":318,"context_line":"  end or failure for all existing operations."},{"line_number":319,"context_line":""},{"line_number":320,"context_line":"* cinder:"},{"line_number":321,"context_line":"  notification listener is required which will serve as"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da0c15f0_26217a4e","line":318,"in_reply_to":"fa0719c6_53c54c3a","updated":"2016-03-25 16:02:47.000000000","message":"Sure, I will update accordingly..","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"7d9f14e075308e9644f3ae3409443d8dc87325b0","unresolved":false,"context_lines":[{"line_number":372,"context_line":"into database with \"/messages\" exposed to view notification messages."},{"line_number":373,"context_line":""},{"line_number":374,"context_line":"Phase 2. Implementation for facilitating admin to configure notification"},{"line_number":375,"context_line":"storage like db or zaqar or both."},{"line_number":376,"context_line":"If both RPC/DB are configured by admin, notification message would be"},{"line_number":377,"context_line":"stored in zaqar along with storing information to database."},{"line_number":378,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa0719c6_83a71dbc","line":375,"updated":"2016-03-23 17:15:50.000000000","message":"I think this needs to be clarified, because it should be stored in the db in all cases, then fed out to other destinations like zaqar optionally.","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"7ce1b974e47d5cf47797151caf05deebb0b2def3","unresolved":false,"context_lines":[{"line_number":372,"context_line":"into database with \"/messages\" exposed to view notification messages."},{"line_number":373,"context_line":""},{"line_number":374,"context_line":"Phase 2. Implementation for facilitating admin to configure notification"},{"line_number":375,"context_line":"storage like db or zaqar or both."},{"line_number":376,"context_line":"If both RPC/DB are configured by admin, notification message would be"},{"line_number":377,"context_line":"stored in zaqar along with storing information to database."},{"line_number":378,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba0121b8_1ee2c6d5","line":375,"in_reply_to":"ba0121b8_e98921cc","updated":"2016-03-29 10:47:35.000000000","message":"Ok, I have updated that this spec targets first phase 1 and then will follow up with other phases after getting acceptance.","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"ad6daa1e3a8ae06bbbb55832b1efe18adf3ad1a5","unresolved":false,"context_lines":[{"line_number":372,"context_line":"into database with \"/messages\" exposed to view notification messages."},{"line_number":373,"context_line":""},{"line_number":374,"context_line":"Phase 2. Implementation for facilitating admin to configure notification"},{"line_number":375,"context_line":"storage like db or zaqar or both."},{"line_number":376,"context_line":"If both RPC/DB are configured by admin, notification message would be"},{"line_number":377,"context_line":"stored in zaqar along with storing information to database."},{"line_number":378,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba0121b8_e98921cc","line":375,"in_reply_to":"da0c15f0_6677f23a","updated":"2016-03-29 10:08:35.000000000","message":"When we discussed this at the midcycle, there was a strong desire to avoid over-design or feature creep. We decided to look at a db-only solution first, and then, based on how that worked and what user feedback was, investigate other additions.\n\nThis first spec should focus on a db-only solution, and leave zaqar for future work (add a future work section to this document if you wish)","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"a808f7dca384f0cf9d95c5a632414afeae4f0c53","unresolved":false,"context_lines":[{"line_number":372,"context_line":"into database with \"/messages\" exposed to view notification messages."},{"line_number":373,"context_line":""},{"line_number":374,"context_line":"Phase 2. Implementation for facilitating admin to configure notification"},{"line_number":375,"context_line":"storage like db or zaqar or both."},{"line_number":376,"context_line":"If both RPC/DB are configured by admin, notification message would be"},{"line_number":377,"context_line":"stored in zaqar along with storing information to database."},{"line_number":378,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"da0c15f0_6677f23a","line":375,"in_reply_to":"fa0719c6_83a71dbc","updated":"2016-03-25 16:02:47.000000000","message":"But in case we want this to be configurable on user end to choose db or zaqar, then it required to be directly fed to zaqar when user chooses zaqar as target.\n\nKindly refer https://review.openstack.org/#/c/271475 for further reference.\n\nPlease suggest in case you want some twist in this.","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":177,"name":"Alex Meade","email":"mr.alex.meade@gmail.com","username":"alex-meade"},"change_message_id":"ec175e4f816b3b7612c9ab3a7368547e28a004c9","unresolved":false,"context_lines":[{"line_number":390,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":391,"context_line":"API Microversions"},{"line_number":392,"context_line":"  https://blueprints.launchpad.net/cinder/+spec/cinder-api-microversions"},{"line_number":393,"context_line":"Experimental API"},{"line_number":394,"context_line":"  https://review.openstack.org/#/c/273086"},{"line_number":395,"context_line":""},{"line_number":396,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"da0c15f0_2bbbc328","line":393,"range":{"start_line":393,"start_character":0,"end_line":393,"end_character":12},"updated":"2016-03-28 14:43:47.000000000","message":"I think it was decided this is no longer a dependency","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"7ce1b974e47d5cf47797151caf05deebb0b2def3","unresolved":false,"context_lines":[{"line_number":390,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":391,"context_line":"API Microversions"},{"line_number":392,"context_line":"  https://blueprints.launchpad.net/cinder/+spec/cinder-api-microversions"},{"line_number":393,"context_line":"Experimental API"},{"line_number":394,"context_line":"  https://review.openstack.org/#/c/273086"},{"line_number":395,"context_line":""},{"line_number":396,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba0121b8_89cfc5af","line":393,"range":{"start_line":393,"start_character":0,"end_line":393,"end_character":12},"in_reply_to":"da0c15f0_2bbbc328","updated":"2016-03-29 10:47:35.000000000","message":"Yes, neither experimental APIs nor API Micro-versions as API micro-versions are already merged.","commit_id":"e09b371e1a866b4b75d3a467f648c2f87302c17a"},{"author":{"_account_id":7173,"name":"Scott DAngelo","email":"scott.dangelo@gmail.com","username":"scottda"},"change_message_id":"e5f5e3d3122df92415571836ed47c101386e63d3","unresolved":false,"context_lines":[{"line_number":13,"context_line":"the operator, but the user that is interacting with the API)."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"If user performs some operation and operation fails or goes in"},{"line_number":16,"context_line":"hang state, then there must be some interface for user to see reason"},{"line_number":17,"context_line":"for this behavior."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"So, this is basically regarding facilitating user to see error messages"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_a5790532","line":16,"updated":"2016-03-29 12:33:19.000000000","message":"I\u0027m not sure that an operation that is hung will ever have a notification, unless you plan some monitor that can time out?","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"e7b8bacdbd91422bf3bcdc3d21e4e744470f3cc1","unresolved":false,"context_lines":[{"line_number":13,"context_line":"the operator, but the user that is interacting with the API)."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"If user performs some operation and operation fails or goes in"},{"line_number":16,"context_line":"hang state, then there must be some interface for user to see reason"},{"line_number":17,"context_line":"for this behavior."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"So, this is basically regarding facilitating user to see error messages"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_26697cbf","line":16,"in_reply_to":"ba0121b8_a5790532","updated":"2016-03-29 12:52:50.000000000","message":"Actually for this we are planning to handle service behavior in later phases of this spec..\n\nThis will be like raising messages if any service is down or stopped abnormally.\n\nSo, this spec will provide that interface to see messages in horizon tab or cli or raw API output..","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":7173,"name":"Scott DAngelo","email":"scott.dangelo@gmail.com","username":"scottda"},"change_message_id":"e5f5e3d3122df92415571836ed47c101386e63d3","unresolved":false,"context_lines":[{"line_number":44,"context_line":"to end users for asynchronous operations and those that do are inconsistent"},{"line_number":45,"context_line":"with each other."},{"line_number":46,"context_line":"In addition to a mechanism to enable error reporting in a"},{"line_number":47,"context_line":"consistent way across OpenStack, the solution must also be able to"},{"line_number":48,"context_line":"accommodate a deployment of Cinder that contains no other OpenStack service."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Use Cases"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_4504697d","line":47,"updated":"2016-03-29 12:33:19.000000000","message":"So, are you proposing this implementation will be consistent across OpenStack? That would seem to imply that this should be a cross-project spec.","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"e7b8bacdbd91422bf3bcdc3d21e4e744470f3cc1","unresolved":false,"context_lines":[{"line_number":44,"context_line":"to end users for asynchronous operations and those that do are inconsistent"},{"line_number":45,"context_line":"with each other."},{"line_number":46,"context_line":"In addition to a mechanism to enable error reporting in a"},{"line_number":47,"context_line":"consistent way across OpenStack, the solution must also be able to"},{"line_number":48,"context_line":"accommodate a deployment of Cinder that contains no other OpenStack service."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Use Cases"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_e6cae4a0","line":47,"in_reply_to":"ba0121b8_4504697d","updated":"2016-03-29 12:52:50.000000000","message":"This would be cross project but for now we want to get this implemented in cinder and then will follow up with others as well...\nThis will be raised as cross project once this is accepted in cinder(this is going to work as WIP copy for cross project repo)","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":177,"name":"Alex Meade","email":"mr.alex.meade@gmail.com","username":"alex-meade"},"change_message_id":"c993fc47f120dc779b9e3f277b5845e0bccc06b6","unresolved":false,"context_lines":[{"line_number":44,"context_line":"to end users for asynchronous operations and those that do are inconsistent"},{"line_number":45,"context_line":"with each other."},{"line_number":46,"context_line":"In addition to a mechanism to enable error reporting in a"},{"line_number":47,"context_line":"consistent way across OpenStack, the solution must also be able to"},{"line_number":48,"context_line":"accommodate a deployment of Cinder that contains no other OpenStack service."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Use Cases"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_750f822e","line":47,"in_reply_to":"ba0121b8_e6cae4a0","updated":"2016-03-29 19:02:56.000000000","message":"Hey Scott, i\u0027ve brought this up a few times cross-project at past summits. Manila is on board with this approach. I think bottom up is the only way this will get implemented however.","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":7173,"name":"Scott DAngelo","email":"scott.dangelo@gmail.com","username":"scottda"},"change_message_id":"e5f5e3d3122df92415571836ed47c101386e63d3","unresolved":false,"context_lines":[{"line_number":59,"context_line":"3. To inform user about failure in case operation fails."},{"line_number":60,"context_line":"4. To provide enough information to user about failure."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"General Use Cases:"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"* Cinder volume/snapshot creation goes to ERROR status due"},{"line_number":65,"context_line":"  to lack of capacity. (Scheduling error)"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_a523c504","line":62,"updated":"2016-03-29 12:33:19.000000000","message":"These seem like good use cases, but light on detail. Can you please give examples of what would be reported for each use case with the changes you propose?","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"e7b8bacdbd91422bf3bcdc3d21e4e744470f3cc1","unresolved":false,"context_lines":[{"line_number":59,"context_line":"3. To inform user about failure in case operation fails."},{"line_number":60,"context_line":"4. To provide enough information to user about failure."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"General Use Cases:"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"* Cinder volume/snapshot creation goes to ERROR status due"},{"line_number":65,"context_line":"  to lack of capacity. (Scheduling error)"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_e60f84df","line":62,"in_reply_to":"ba0121b8_a523c504","updated":"2016-03-29 12:52:50.000000000","message":"I will share details in WIP for sure...","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"5d84e78ae5dd7c4aabecea9eabb47c160998cb10","unresolved":false,"context_lines":[{"line_number":59,"context_line":"3. To inform user about failure in case operation fails."},{"line_number":60,"context_line":"4. To provide enough information to user about failure."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"General Use Cases:"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"* Cinder volume/snapshot creation goes to ERROR status due"},{"line_number":65,"context_line":"  to lack of capacity. (Scheduling error)"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_87781ef4","line":62,"in_reply_to":"ba0121b8_e60f84df","updated":"2016-03-30 03:42:05.000000000","message":"The messages will be kept configurable.\nYou can refer \"https://review.openstack.org/#/c/298052/7/cinder/message/message_config.py\" for details how we are planning to report errors to user.","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":7173,"name":"Scott DAngelo","email":"scott.dangelo@gmail.com","username":"scottda"},"change_message_id":"e5f5e3d3122df92415571836ed47c101386e63d3","unresolved":false,"context_lines":[{"line_number":192,"context_line":"REST API impact"},{"line_number":193,"context_line":"---------------"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"New experimental APIs:"},{"line_number":196,"context_line":"* GET /v3/\u003ctenant\u003e/messages"},{"line_number":197,"context_line":"With filters by attribute. Ex: GET /v3/\u003ctenant\u003e/messages?resource_type\u003dvolume"},{"line_number":198,"context_line":"* GET /v3/\u003ctenant\u003e/messages/\u003cmessage-id\u003e"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_e57e5dad","line":195,"updated":"2016-03-29 12:33:19.000000000","message":"Will this be an experimental API? If so, it should have a dependency on that implementation (I can and will implement that in Newton).","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"ee98022b2d1d47c9e1596362fd0baaf163c51923","unresolved":false,"context_lines":[{"line_number":192,"context_line":"REST API impact"},{"line_number":193,"context_line":"---------------"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"New experimental APIs:"},{"line_number":196,"context_line":"* GET /v3/\u003ctenant\u003e/messages"},{"line_number":197,"context_line":"With filters by attribute. Ex: GET /v3/\u003ctenant\u003e/messages?resource_type\u003dvolume"},{"line_number":198,"context_line":"* GET /v3/\u003ctenant\u003e/messages/\u003cmessage-id\u003e"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_e682e4ff","line":195,"in_reply_to":"ba0121b8_e57e5dad","updated":"2016-03-29 12:53:15.000000000","message":"I think this is just an API - we\u0027re pretty damn sure we need it, and the first pass is a very simple one.","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"e7b8bacdbd91422bf3bcdc3d21e4e744470f3cc1","unresolved":false,"context_lines":[{"line_number":192,"context_line":"REST API impact"},{"line_number":193,"context_line":"---------------"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"New experimental APIs:"},{"line_number":196,"context_line":"* GET /v3/\u003ctenant\u003e/messages"},{"line_number":197,"context_line":"With filters by attribute. Ex: GET /v3/\u003ctenant\u003e/messages?resource_type\u003dvolume"},{"line_number":198,"context_line":"* GET /v3/\u003ctenant\u003e/messages/\u003cmessage-id\u003e"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_661b741c","line":195,"in_reply_to":"ba0121b8_e57e5dad","updated":"2016-03-29 12:52:50.000000000","message":"nopes, will update it..","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"ee98022b2d1d47c9e1596362fd0baaf163c51923","unresolved":false,"context_lines":[{"line_number":213,"context_line":"    - expires_at"},{"line_number":214,"context_line":"    properties:"},{"line_number":215,"context_line":"      id:"},{"line_number":216,"context_line":"        type: string"},{"line_number":217,"context_line":"      message_level:"},{"line_number":218,"context_line":"        type: string"},{"line_number":219,"context_line":"        enum:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_c0b0678e","line":216,"range":{"start_line":216,"start_character":14,"end_line":216,"end_character":20},"updated":"2016-03-29 12:53:15.000000000","message":"A UUID I assume?","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"d993f6e47f0c7e3b914d9a62814f5a53728222e0","unresolved":false,"context_lines":[{"line_number":213,"context_line":"    - expires_at"},{"line_number":214,"context_line":"    properties:"},{"line_number":215,"context_line":"      id:"},{"line_number":216,"context_line":"        type: string"},{"line_number":217,"context_line":"      message_level:"},{"line_number":218,"context_line":"        type: string"},{"line_number":219,"context_line":"        enum:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_c6d6c0c4","line":216,"range":{"start_line":216,"start_character":14,"end_line":216,"end_character":20},"in_reply_to":"ba0121b8_c0b0678e","updated":"2016-03-29 13:04:09.000000000","message":"you are absolutely right.\nI will update..","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"ee98022b2d1d47c9e1596362fd0baaf163c51923","unresolved":false,"context_lines":[{"line_number":223,"context_line":"      user_message:"},{"line_number":224,"context_line":"        type: string"},{"line_number":225,"context_line":"      event_id:"},{"line_number":226,"context_line":"        type: string"},{"line_number":227,"context_line":"      resource_uuid:"},{"line_number":228,"context_line":"        type: string"},{"line_number":229,"context_line":"        description: The uuid of the offending resource."}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_209a0315","line":226,"range":{"start_line":226,"start_character":14,"end_line":226,"end_character":20},"updated":"2016-03-29 12:53:15.000000000","message":"What is the event ID exactly? Might be worth giving an example message, just to clear up any ambiguities a bit","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"d993f6e47f0c7e3b914d9a62814f5a53728222e0","unresolved":false,"context_lines":[{"line_number":223,"context_line":"      user_message:"},{"line_number":224,"context_line":"        type: string"},{"line_number":225,"context_line":"      event_id:"},{"line_number":226,"context_line":"        type: string"},{"line_number":227,"context_line":"      resource_uuid:"},{"line_number":228,"context_line":"        type: string"},{"line_number":229,"context_line":"        description: The uuid of the offending resource."}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_26b17c90","line":226,"range":{"start_line":226,"start_character":14,"end_line":226,"end_character":20},"in_reply_to":"ba0121b8_209a0315","updated":"2016-03-29 13:04:09.000000000","message":"ok, I will add details.\nThis is to specify different operation failure types.\nIn case user gets some failure and he/she wants to report to admin, static eventID will be enough as we would be aware where exactly this eventID is generated..\nAlso, this would be useful for easy debugging by searching eventID directly..","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":177,"name":"Alex Meade","email":"mr.alex.meade@gmail.com","username":"alex-meade"},"change_message_id":"c993fc47f120dc779b9e3f277b5845e0bccc06b6","unresolved":false,"context_lines":[{"line_number":223,"context_line":"      user_message:"},{"line_number":224,"context_line":"        type: string"},{"line_number":225,"context_line":"      event_id:"},{"line_number":226,"context_line":"        type: string"},{"line_number":227,"context_line":"      resource_uuid:"},{"line_number":228,"context_line":"        type: string"},{"line_number":229,"context_line":"        description: The uuid of the offending resource."}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_b5475a4a","line":226,"range":{"start_line":226,"start_character":14,"end_line":226,"end_character":20},"in_reply_to":"ba0121b8_26b17c90","updated":"2016-03-29 19:02:56.000000000","message":"I\u0027d note that another advantage of event id is that is allows us to change the message text for a certain situation but never change the event id.","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"e2e54b8e5d6557775fa215a22c5b78234f722367","unresolved":false,"context_lines":[{"line_number":223,"context_line":"      user_message:"},{"line_number":224,"context_line":"        type: string"},{"line_number":225,"context_line":"      event_id:"},{"line_number":226,"context_line":"        type: string"},{"line_number":227,"context_line":"      resource_uuid:"},{"line_number":228,"context_line":"        type: string"},{"line_number":229,"context_line":"        description: The uuid of the offending resource."}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_87777e39","line":226,"range":{"start_line":226,"start_character":14,"end_line":226,"end_character":20},"in_reply_to":"ba0121b8_b5475a4a","updated":"2016-03-30 03:33:49.000000000","message":"yes, as we doing in message_config.","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"ee98022b2d1d47c9e1596362fd0baaf163c51923","unresolved":false,"context_lines":[{"line_number":229,"context_line":"        description: The uuid of the offending resource."},{"line_number":230,"context_line":"      resource_type:"},{"line_number":231,"context_line":"        type: string"},{"line_number":232,"context_line":"        description: The type of resource this message pertains to."},{"line_number":233,"context_line":"      request_id:"},{"line_number":234,"context_line":"        type: string"},{"line_number":235,"context_line":"      created_at:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_e0900bef","line":232,"range":{"start_line":232,"start_character":33,"end_line":232,"end_character":41},"updated":"2016-03-29 12:53:15.000000000","message":"volume| snapshot | backup | ...","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":177,"name":"Alex Meade","email":"mr.alex.meade@gmail.com","username":"alex-meade"},"change_message_id":"c993fc47f120dc779b9e3f277b5845e0bccc06b6","unresolved":false,"context_lines":[{"line_number":229,"context_line":"        description: The uuid of the offending resource."},{"line_number":230,"context_line":"      resource_type:"},{"line_number":231,"context_line":"        type: string"},{"line_number":232,"context_line":"        description: The type of resource this message pertains to."},{"line_number":233,"context_line":"      request_id:"},{"line_number":234,"context_line":"        type: string"},{"line_number":235,"context_line":"      created_at:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_f577129d","line":232,"range":{"start_line":232,"start_character":33,"end_line":232,"end_character":41},"in_reply_to":"ba0121b8_c67240e5","updated":"2016-03-29 19:02:56.000000000","message":"We can put it as type enum","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"d993f6e47f0c7e3b914d9a62814f5a53728222e0","unresolved":false,"context_lines":[{"line_number":229,"context_line":"        description: The uuid of the offending resource."},{"line_number":230,"context_line":"      resource_type:"},{"line_number":231,"context_line":"        type: string"},{"line_number":232,"context_line":"        description: The type of resource this message pertains to."},{"line_number":233,"context_line":"      request_id:"},{"line_number":234,"context_line":"        type: string"},{"line_number":235,"context_line":"      created_at:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_c67240e5","line":232,"range":{"start_line":232,"start_character":33,"end_line":232,"end_character":41},"in_reply_to":"ba0121b8_e0900bef","updated":"2016-03-29 13:04:09.000000000","message":"Yes, will update.","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":7173,"name":"Scott DAngelo","email":"scott.dangelo@gmail.com","username":"scottda"},"change_message_id":"e5f5e3d3122df92415571836ed47c101386e63d3","unresolved":false,"context_lines":[{"line_number":269,"context_line":""},{"line_number":270,"context_line":"None"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"Other deployer impact"},{"line_number":273,"context_line":"---------------------"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"* New configuration option ``message_ttl`` that will dictate the number of"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_80582ffc","line":272,"updated":"2016-03-29 12:33:19.000000000","message":"This seems like it would have a significant performance impact. Will there be any granularity that can be configured by the Depolyer, I.e. Error-only, Warning and above, Everything?","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":177,"name":"Alex Meade","email":"mr.alex.meade@gmail.com","username":"alex-meade"},"change_message_id":"c993fc47f120dc779b9e3f277b5845e0bccc06b6","unresolved":false,"context_lines":[{"line_number":269,"context_line":""},{"line_number":270,"context_line":"None"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"Other deployer impact"},{"line_number":273,"context_line":"---------------------"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"* New configuration option ``message_ttl`` that will dictate the number of"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_b5b59a32","line":272,"in_reply_to":"ba0121b8_063f18b5","updated":"2016-03-29 19:02:56.000000000","message":"My concern beyond errors is generating them too frequently. I do think there should be some deployer choices when we get to that.","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"ee98022b2d1d47c9e1596362fd0baaf163c51923","unresolved":false,"context_lines":[{"line_number":269,"context_line":""},{"line_number":270,"context_line":"None"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"Other deployer impact"},{"line_number":273,"context_line":"---------------------"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"* New configuration option ``message_ttl`` that will dictate the number of"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_063f18b5","line":272,"in_reply_to":"ba0121b8_80582ffc","updated":"2016-03-29 12:53:15.000000000","message":"Initial version is error only, that is mentioned in this spec.\n\nWhy would the performance impact be significant? We\u0027re doing one extra uncontested db insert on error cases, that\u0027s it, plus a simple API to do a trivially indexed query. \n\nI guess the two performance drains might be a) users polling to frequently, which is an issue today too and best fixed with rate limiting at the API level, and b) The reaper causing the db strain, which can be reduced/mitigated by good design (batches, random noise on sleep times to keep them out of lockstep, small batch probe queries)","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"e7b8bacdbd91422bf3bcdc3d21e4e744470f3cc1","unresolved":false,"context_lines":[{"line_number":269,"context_line":""},{"line_number":270,"context_line":"None"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"Other deployer impact"},{"line_number":273,"context_line":"---------------------"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"* New configuration option ``message_ttl`` that will dictate the number of"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_26cfbc80","line":272,"in_reply_to":"ba0121b8_80582ffc","updated":"2016-03-29 12:52:50.000000000","message":"We are providing support for Error-only for now.\nIn later phases this will be configurable.","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"e2e54b8e5d6557775fa215a22c5b78234f722367","unresolved":false,"context_lines":[{"line_number":269,"context_line":""},{"line_number":270,"context_line":"None"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"Other deployer impact"},{"line_number":273,"context_line":"---------------------"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"* New configuration option ``message_ttl`` that will dictate the number of"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_87a01ea1","line":272,"in_reply_to":"ba0121b8_b5b59a32","updated":"2016-03-30 03:33:49.000000000","message":"Yep, I will keep it configurable in later phases.\nJust like we do for logs, debug \u003d True etc.. we can keep msg_gen_type\u003dError/Info/Warning/All/None.","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":7173,"name":"Scott DAngelo","email":"scott.dangelo@gmail.com","username":"scottda"},"change_message_id":"e5f5e3d3122df92415571836ed47c101386e63d3","unresolved":false,"context_lines":[{"line_number":312,"context_line":"Work Items"},{"line_number":313,"context_line":"----------"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"This whole implementation depends upon message gemeration, transport,"},{"line_number":316,"context_line":"collection, storage and analytics of different failure messages."},{"line_number":317,"context_line":""},{"line_number":318,"context_line":"* cinder:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_402617bb","line":315,"updated":"2016-03-29 12:33:19.000000000","message":"generation","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"e7b8bacdbd91422bf3bcdc3d21e4e744470f3cc1","unresolved":false,"context_lines":[{"line_number":312,"context_line":"Work Items"},{"line_number":313,"context_line":"----------"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"This whole implementation depends upon message gemeration, transport,"},{"line_number":316,"context_line":"collection, storage and analytics of different failure messages."},{"line_number":317,"context_line":""},{"line_number":318,"context_line":"* cinder:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_46c63068","line":315,"in_reply_to":"ba0121b8_402617bb","updated":"2016-03-29 12:52:50.000000000","message":"ok, will update it.","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":7173,"name":"Scott DAngelo","email":"scott.dangelo@gmail.com","username":"scottda"},"change_message_id":"e5f5e3d3122df92415571836ed47c101386e63d3","unresolved":false,"context_lines":[{"line_number":346,"context_line":"* cinder:"},{"line_number":347,"context_line":"  Database schema preparation to store notification messages."},{"line_number":348,"context_line":"  Futuristic approach is to keep seperate tables for each"},{"line_number":349,"context_line":"  component(cinder,nova etc) to limit performance issues during"},{"line_number":350,"context_line":"  storing/fetching messages to/from database."},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"* cinder:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_605cfb25","line":349,"updated":"2016-03-29 12:33:19.000000000","message":"How is Nova involved? Any need for Nova changes and/or spec should be called out, even if that is out of scope for this.","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"e7b8bacdbd91422bf3bcdc3d21e4e744470f3cc1","unresolved":false,"context_lines":[{"line_number":346,"context_line":"* cinder:"},{"line_number":347,"context_line":"  Database schema preparation to store notification messages."},{"line_number":348,"context_line":"  Futuristic approach is to keep seperate tables for each"},{"line_number":349,"context_line":"  component(cinder,nova etc) to limit performance issues during"},{"line_number":350,"context_line":"  storing/fetching messages to/from database."},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"* cinder:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_469d9064","line":349,"in_reply_to":"ba0121b8_605cfb25","updated":"2016-03-29 12:52:50.000000000","message":"will update it.","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"ee98022b2d1d47c9e1596362fd0baaf163c51923","unresolved":false,"context_lines":[{"line_number":350,"context_line":"  storing/fetching messages to/from database."},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"* cinder:"},{"line_number":353,"context_line":"  Need to implement \"history limits\" from database perspective."},{"line_number":354,"context_line":"  For ex, if user has set limit to 7 days, then all messages"},{"line_number":355,"context_line":"  older than 7 days will be purged from database."},{"line_number":356,"context_line":""},{"line_number":357,"context_line":"* horizon:"},{"line_number":358,"context_line":"  Separate tab for cinder to display event messages."}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_66e89411","line":355,"range":{"start_line":353,"start_character":2,"end_line":355,"end_character":49},"updated":"2016-03-29 12:53:15.000000000","message":"Unclear exactly what this means, please clarify \u0027history_limits\u0027 - the expiry time is a system config value, not a per-user setting","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"d993f6e47f0c7e3b914d9a62814f5a53728222e0","unresolved":false,"context_lines":[{"line_number":350,"context_line":"  storing/fetching messages to/from database."},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"* cinder:"},{"line_number":353,"context_line":"  Need to implement \"history limits\" from database perspective."},{"line_number":354,"context_line":"  For ex, if user has set limit to 7 days, then all messages"},{"line_number":355,"context_line":"  older than 7 days will be purged from database."},{"line_number":356,"context_line":""},{"line_number":357,"context_line":"* horizon:"},{"line_number":358,"context_line":"  Separate tab for cinder to display event messages."}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_29694fbf","line":355,"range":{"start_line":353,"start_character":2,"end_line":355,"end_character":49},"in_reply_to":"ba0121b8_66e89411","updated":"2016-03-29 13:04:09.000000000","message":"I will update.","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"ee98022b2d1d47c9e1596362fd0baaf163c51923","unresolved":false,"context_lines":[{"line_number":403,"context_line":"be created unless there is an error, which may be difficult to trigger."},{"line_number":404,"context_line":"However, some operations are easy to trigger failure with unlimited quotas."},{"line_number":405,"context_line":"One example is creating a thick provisioned volume too big to be stored on the"},{"line_number":406,"context_line":"backend."},{"line_number":407,"context_line":""},{"line_number":408,"context_line":"Example Test Cases"},{"line_number":409,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_863168a5","line":406,"range":{"start_line":406,"start_character":7,"end_line":406,"end_character":8},"updated":"2016-03-29 12:53:15.000000000","message":"Another option is to build a fake backend that can be configured to cause certain faults, e.g. based on tenant metadata passed at create time, or set afterwards.\n\nThis is not needed for the first pass, but would be useful/interesting to have - it could also be used to test scheduler retries and the like too","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"d993f6e47f0c7e3b914d9a62814f5a53728222e0","unresolved":false,"context_lines":[{"line_number":403,"context_line":"be created unless there is an error, which may be difficult to trigger."},{"line_number":404,"context_line":"However, some operations are easy to trigger failure with unlimited quotas."},{"line_number":405,"context_line":"One example is creating a thick provisioned volume too big to be stored on the"},{"line_number":406,"context_line":"backend."},{"line_number":407,"context_line":""},{"line_number":408,"context_line":"Example Test Cases"},{"line_number":409,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba0121b8_498e4379","line":406,"range":{"start_line":406,"start_character":7,"end_line":406,"end_character":8},"in_reply_to":"ba0121b8_863168a5","updated":"2016-03-29 13:04:09.000000000","message":"ok.","commit_id":"af985cd7218fe26f13285e666bbc18ade0ad9569"},{"author":{"_account_id":7173,"name":"Scott DAngelo","email":"scott.dangelo@gmail.com","username":"scottda"},"change_message_id":"54a358f05f230879506224bc78033443d61a4c18","unresolved":false,"context_lines":[{"line_number":103,"context_line":"+--------+---------+----------+-------+-------+-----------+------+-----------+"},{"line_number":104,"context_line":"| Tenant | EventID | NodeName | ReqID | Level | Operation | Time | Summary   |"},{"line_number":105,"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\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":106,"context_line":"| ACorp  | Vol123  | BS-cind1 | {...} | Info  | createVol | {..} | Started   |"},{"line_number":107,"context_line":"+--------+---------+----------+-------+-------+-----------+------+-----------+"},{"line_number":108,"context_line":"| ACorp  | Vol456  | BS-cind1 | {...} | Error | createVol | {..} | Failed    |"},{"line_number":109,"context_line":"+--------+---------+----------+-------+-------+-----------+------+-----------+"}],"source_content_type":"text/x-rst","patch_set":7,"id":"ba0121b8_73fd2cb0","line":106,"updated":"2016-04-01 15:44:27.000000000","message":"This table implies that you are logging events like \"Info createVol\" in the Database.","commit_id":"54ecabdd6cf9daaf89db0d951367b3952d75e12e"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"3003207c3d669545c51625bc63318e2ba64878ec","unresolved":false,"context_lines":[{"line_number":103,"context_line":"+--------+---------+----------+-------+-------+-----------+------+-----------+"},{"line_number":104,"context_line":"| Tenant | EventID | NodeName | ReqID | Level | Operation | Time | Summary   |"},{"line_number":105,"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\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":106,"context_line":"| ACorp  | Vol123  | BS-cind1 | {...} | Info  | createVol | {..} | Started   |"},{"line_number":107,"context_line":"+--------+---------+----------+-------+-------+-----------+------+-----------+"},{"line_number":108,"context_line":"| ACorp  | Vol456  | BS-cind1 | {...} | Error | createVol | {..} | Failed    |"},{"line_number":109,"context_line":"+--------+---------+----------+-------+-------+-----------+------+-----------+"}],"source_content_type":"text/x-rst","patch_set":7,"id":"ba0121b8_337574ca","line":106,"in_reply_to":"ba0121b8_73fd2cb0","updated":"2016-04-01 15:45:50.000000000","message":"Sure, I will update this table.\nThanks!!","commit_id":"54ecabdd6cf9daaf89db0d951367b3952d75e12e"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"a11e9c724b1ba98871a546395e48bba0841a91ba","unresolved":false,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"If operations like create volume, create snapshot etc fails, user gets"},{"line_number":31,"context_line":"no detailed information in case operation fails."},{"line_number":32,"context_line":"Sometime only operation status is updated to error, failed etc wihtout"},{"line_number":33,"context_line":"any update to user."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"In some case it is worse than this."}],"source_content_type":"text/x-rst","patch_set":8,"id":"9a061dce_9ee1c79d","line":32,"range":{"start_line":32,"start_character":63,"end_line":32,"end_character":70},"updated":"2016-04-08 13:57:11.000000000","message":"nit: /wihtout/without/","commit_id":"180d22d83cf6ac31fdb497ffdf67ebe7a7391d12"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"10767e32c5c8d967b29ec3c7e6779526bcaaa744","unresolved":false,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"If operations like create volume, create snapshot etc fails, user gets"},{"line_number":31,"context_line":"no detailed information in case operation fails."},{"line_number":32,"context_line":"Sometime only operation status is updated to error, failed etc wihtout"},{"line_number":33,"context_line":"any update to user."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"In some case it is worse than this."}],"source_content_type":"text/x-rst","patch_set":8,"id":"9a061dce_ffcff7b0","line":32,"range":{"start_line":32,"start_character":63,"end_line":32,"end_character":70},"in_reply_to":"9a061dce_9ee1c79d","updated":"2016-04-10 10:21:10.000000000","message":"Done","commit_id":"180d22d83cf6ac31fdb497ffdf67ebe7a7391d12"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"a11e9c724b1ba98871a546395e48bba0841a91ba","unresolved":false,"context_lines":[{"line_number":248,"context_line":"order to avoid any sensitive data from being shown. This will be mitigated by"},{"line_number":249,"context_line":"having all user visible messages defined in a single module. The messaging"},{"line_number":250,"context_line":"mechanism will assert that any message it will create comes from the sanctioned"},{"line_number":251,"context_line":"location."},{"line_number":252,"context_line":""},{"line_number":253,"context_line":"Notifications impact"},{"line_number":254,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"9a061dce_92925b9e","line":251,"updated":"2016-04-08 13:57:11.000000000","message":"Thanks for this!","commit_id":"180d22d83cf6ac31fdb497ffdf67ebe7a7391d12"}]}
