)]}'
{"specs/newton/persist-error-message.rst":[{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"fefd89287c6e1549827ecc5836d6c88e639fbd5d","unresolved":false,"context_lines":[{"line_number":69,"context_line":"Database"},{"line_number":70,"context_line":"--------"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"A new table (instance_faults) will be added to the Trove schema:"},{"line_number":73,"context_line":""},{"line_number":74,"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\u003d"},{"line_number":75,"context_line":"    Column             Type          Allow Nulls  Description"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_b2bab908","line":72,"updated":"2016-05-08 11:13:44.000000000","message":"when will this table be cleaned out, what are the constraints in the database to ensure that this gets cleaned at some point?","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"848f67a37aa86d84b14c03e9771520d0b3dd7f6c","unresolved":false,"context_lines":[{"line_number":69,"context_line":"Database"},{"line_number":70,"context_line":"--------"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"A new table (instance_faults) will be added to the Trove schema:"},{"line_number":73,"context_line":""},{"line_number":74,"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\u003d"},{"line_number":75,"context_line":"    Column             Type          Allow Nulls  Description"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_735caeed","line":72,"in_reply_to":"dab17558_332a267f","updated":"2016-05-09 19:41:34.000000000","message":"ok, a constraint would be good in that case; delete from instance table will cause this to be deleted (cascade)?","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"7cf03b2223ecc43f115dc630e5b6d41356246ea5","unresolved":false,"context_lines":[{"line_number":69,"context_line":"Database"},{"line_number":70,"context_line":"--------"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"A new table (instance_faults) will be added to the Trove schema:"},{"line_number":73,"context_line":""},{"line_number":74,"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\u003d"},{"line_number":75,"context_line":"    Column             Type          Allow Nulls  Description"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_4339a6d6","line":72,"in_reply_to":"dab17558_735caeed","updated":"2016-05-10 14:54:30.000000000","message":"This is handled by the sqlalchemy stuff (I believe).  Here\u0027s what the constraint actually looks like:\n\n  CONSTRAINT `instance_faults_ibfk_1` FOREIGN KEY (`instance_id`) REFERENCES `instances` (`id`) ON DELETE CASCADE ON UPDATE CASCADE","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"c8b568206281e2da6e0c0719ee9375a2de2ffff9","unresolved":false,"context_lines":[{"line_number":69,"context_line":"Database"},{"line_number":70,"context_line":"--------"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"A new table (instance_faults) will be added to the Trove schema:"},{"line_number":73,"context_line":""},{"line_number":74,"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\u003d"},{"line_number":75,"context_line":"    Column             Type          Allow Nulls  Description"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_332a267f","line":72,"in_reply_to":"dab17558_b2bab908","updated":"2016-05-09 19:34:40.000000000","message":"Right now, just like the instances, the fault entries are only marked deleted.  They remain forever.  It would be up to the cloud operator to clean these up (archive them?) just like they would with old instance records.","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"fefd89287c6e1549827ecc5836d6c88e639fbd5d","unresolved":false,"context_lines":[{"line_number":78,"context_line":"    tenant_id          varchar(64)   No           ID of instance that the fault"},{"line_number":79,"context_line":"                                                  occurred on"},{"line_number":80,"context_line":"    message            varchar(255)  No           Error message of the fault"},{"line_number":81,"context_line":"    details            text(65535)   No           Extra details (i.e. stack"},{"line_number":82,"context_line":"                                                  trace)"},{"line_number":83,"context_line":"    created            DateTime      No           Created date"},{"line_number":84,"context_line":"    updated            DateTime      No           Updated date"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_1238e59f","line":81,"updated":"2016-05-08 11:13:44.000000000","message":"this appears to be asking for trouble.","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"c8b568206281e2da6e0c0719ee9375a2de2ffff9","unresolved":false,"context_lines":[{"line_number":78,"context_line":"    tenant_id          varchar(64)   No           ID of instance that the fault"},{"line_number":79,"context_line":"                                                  occurred on"},{"line_number":80,"context_line":"    message            varchar(255)  No           Error message of the fault"},{"line_number":81,"context_line":"    details            text(65535)   No           Extra details (i.e. stack"},{"line_number":82,"context_line":"                                                  trace)"},{"line_number":83,"context_line":"    created            DateTime      No           Created date"},{"line_number":84,"context_line":"    updated            DateTime      No           Updated date"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_d33bdacf","line":81,"in_reply_to":"dab17558_1238e59f","updated":"2016-05-09 19:34:40.000000000","message":"In what way? Do you think 64k is not enough for a log trace?","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"7cf03b2223ecc43f115dc630e5b6d41356246ea5","unresolved":false,"context_lines":[{"line_number":78,"context_line":"    tenant_id          varchar(64)   No           ID of instance that the fault"},{"line_number":79,"context_line":"                                                  occurred on"},{"line_number":80,"context_line":"    message            varchar(255)  No           Error message of the fault"},{"line_number":81,"context_line":"    details            text(65535)   No           Extra details (i.e. stack"},{"line_number":82,"context_line":"                                                  trace)"},{"line_number":83,"context_line":"    created            DateTime      No           Created date"},{"line_number":84,"context_line":"    updated            DateTime      No           Updated date"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_03cddeb6","line":81,"in_reply_to":"dab17558_9342f20e","updated":"2016-05-10 14:54:30.000000000","message":"Setting it to this creates a mediumtext in mysql, which gives up to 16M of storage (although 64K is still probably enough for a stack trace ;) ).","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"848f67a37aa86d84b14c03e9771520d0b3dd7f6c","unresolved":false,"context_lines":[{"line_number":78,"context_line":"    tenant_id          varchar(64)   No           ID of instance that the fault"},{"line_number":79,"context_line":"                                                  occurred on"},{"line_number":80,"context_line":"    message            varchar(255)  No           Error message of the fault"},{"line_number":81,"context_line":"    details            text(65535)   No           Extra details (i.e. stack"},{"line_number":82,"context_line":"                                                  trace)"},{"line_number":83,"context_line":"    created            DateTime      No           Created date"},{"line_number":84,"context_line":"    updated            DateTime      No           Updated date"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_9342f20e","line":81,"in_reply_to":"dab17558_d33bdacf","updated":"2016-05-09 19:41:34.000000000","message":"yes, 64k is small and one of the text types?","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"0352237c34211c1b2978b25affef9daefe7f65b8","unresolved":false,"context_lines":[{"line_number":90,"context_line":"----------"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"The only change to the public API will be the addition of a \u0027fault\u0027 data"},{"line_number":93,"context_line":"structure that *may* be returned when requesting instance details. This will"},{"line_number":94,"context_line":"look like:"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":".. code-block:: python"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_1d0e89e4","line":93,"updated":"2016-05-11 23:30:25.000000000","message":"Can we always return it? Even if with an empty dict? Consistency across responses is valuable, even for internal APIs.","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"13bf8d8d03b4e0a5e7fe975c7fd344d437fbabb0","unresolved":false,"context_lines":[{"line_number":90,"context_line":"----------"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"The only change to the public API will be the addition of a \u0027fault\u0027 data"},{"line_number":93,"context_line":"structure that *may* be returned when requesting instance details. This will"},{"line_number":94,"context_line":"look like:"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":".. code-block:: python"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9abb7d3a_8f7b837a","line":93,"in_reply_to":"9abb7d3a_37aac019","updated":"2016-06-01 13:49:26.000000000","message":"Nova does *not* return the value if a fault is not present:\n\n    DEBUG (connectionpool:395) \"GET /v2.1/servers/6aa4b4c0-0d9e-4a10-9cb5-0f0123981416 HTTP/1.1\" 200 1605\n    DEBUG (session:286) RESP: [200] Content-Length: 1605 Content-Type: application/json Openstack-Api-Version: compute 2.25 X-Openstack-Nova-Api-Version: 2.25 Vary: OpenStack\n    -API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-4cd30b00-70fa-4d3b-b63c-a8be6f29360a Date: Wed, 01 Jun 2016 13:45:16 GMT Connection: keep-alive\n    RESP BODY: {\"server\": {\"status\": \"ACTIVE\", \"updated\": \"2016-05-31T21:30:24Z\", \"hostId\": \"bcad63670783a032b68bac3894addee25139fba61c8e063c5fe6df39\", \"addresses\": {\"private\n    \": [{\"OS-EXT-IPS-MAC:mac_addr\": \"fa:16:3e:be:6e:3b\", \"version\": 4, \"addr\": \"10.64.27.108\", \"OS-EXT-IPS:type\": \"fixed\"}]}, \"links\": [{\"href\": \"http://10.240.64.27:8774/v2.\n    1/servers/6aa4b4c0-0d9e-4a10-9cb5-0f0123981416\", \"rel\": \"self\"}, {\"href\": \"http://10.240.64.27:8774/servers/6aa4b4c0-0d9e-4a10-9cb5-0f0123981416\", \"rel\": \"bookmark\"}], \"k\n    ey_name\": null, \"image\": {\"id\": \"a92fa78c-f58f-46d2-857d-994d1419b8a7\", \"links\": [{\"href\": \"http://10.240.64.27:8774/images/a92fa78c-f58f-46d2-857d-994d1419b8a7\", \"rel\":\n    \"bookmark\"}]}, \"OS-EXT-STS:task_state\": null, \"OS-EXT-STS:vm_state\": \"active\", \"OS-SRV-USG:launched_at\": \"2016-05-31T21:30:24.000000\", \"locked\": false, \"flavor\": {\"id\": \"\n    15\", \"links\": [{\"href\": \"http://10.240.64.27:8774/flavors/15\", \"rel\": \"bookmark\"}]}, \"id\": \"6aa4b4c0-0d9e-4a10-9cb5-0f0123981416\", \"security_groups\": [{\"name\": \"SecGroup_\n    00048180-5d8e-40c3-ad82-db0145e7db90\"}], \"description\": \"TEST_2016-05-31_21:30:12\", \"OS-EXT-AZ:availability_zone\": \"nova\", \"user_id\": \"6e7ce50a8bd64b80a343d19acf8b925e\",\n    \"name\": \"TEST_2016-05-31_21:30:12\", \"created\": \"2016-05-31T21:30:18Z\", \"tenant_id\": \"90ee2429d780482881cc38683ae48da9\", \"OS-DCF:diskConfig\": \"MANUAL\", \"os-extended-volume\n    s:volumes_attached\": [{\"id\": \"f5766d33-7dbf-4297-aa2d-06aea856335b\", \"delete_on_termination\": true}], \"accessIPv4\": \"\", \"accessIPv6\": \"\", \"progress\": 0, \"OS-EXT-STS:power\n    _state\": 1, \"config_drive\": \"True\", \"OS-SRV-USG:terminated_at\": null, \"metadata\": {}}}","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":5293,"name":"Nikhil","email":"SlickNik@gmail.com","username":"slicknik"},"change_message_id":"176f3ed8b09f14776ca275444555772087b13227","unresolved":false,"context_lines":[{"line_number":90,"context_line":"----------"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"The only change to the public API will be the addition of a \u0027fault\u0027 data"},{"line_number":93,"context_line":"structure that *may* be returned when requesting instance details. This will"},{"line_number":94,"context_line":"look like:"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":".. code-block:: python"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9abb7d3a_37aac019","line":93,"in_reply_to":"dab17558_1d0e89e4","updated":"2016-06-01 09:17:59.000000000","message":"+1 on this. Would be curious to see what nova does here as well.","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"fefd89287c6e1549827ecc5836d6c88e639fbd5d","unresolved":false,"context_lines":[{"line_number":95,"context_line":""},{"line_number":96,"context_line":".. code-block:: python"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"    \u0027fault\u0027 :"},{"line_number":99,"context_line":"    {"},{"line_number":100,"context_line":"        \u0027created\u0027: \u003cdate\u003e,"},{"line_number":101,"context_line":"        \u0027message\u0027: \u0027error message\u0027,"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_32f7e9f6","line":98,"updated":"2016-05-08 11:13:44.000000000","message":"is this a single fault object or can you get multiple messages, multiple fault objects?","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"c8b568206281e2da6e0c0719ee9375a2de2ffff9","unresolved":false,"context_lines":[{"line_number":95,"context_line":""},{"line_number":96,"context_line":".. code-block:: python"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"    \u0027fault\u0027 :"},{"line_number":99,"context_line":"    {"},{"line_number":100,"context_line":"        \u0027created\u0027: \u003cdate\u003e,"},{"line_number":101,"context_line":"        \u0027message\u0027: \u0027error message\u0027,"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_93483389","line":98,"in_reply_to":"dab17558_32f7e9f6","updated":"2016-05-09 19:34:40.000000000","message":"Right now, the spec is based on just having the last fault saved.","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"fefd89287c6e1549827ecc5836d6c88e639fbd5d","unresolved":false,"context_lines":[{"line_number":97,"context_line":""},{"line_number":98,"context_line":"    \u0027fault\u0027 :"},{"line_number":99,"context_line":"    {"},{"line_number":100,"context_line":"        \u0027created\u0027: \u003cdate\u003e,"},{"line_number":101,"context_line":"        \u0027message\u0027: \u0027error message\u0027,"},{"line_number":102,"context_line":"        \u0027details\u0027: \u0027potential stack trace\u0027,"},{"line_number":103,"context_line":"    },"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_d2bf7df9","line":100,"updated":"2016-05-08 11:13:44.000000000","message":"so, one thing that I\u0027ve had trouble with recently is to relate some such message to a log file. In a multi-node trove controller setup, you also need to know which taskmanager or API service (for example) has the error. Is there some way in which you can point a user to a log file here? And by logfile, I mean a machine and a logfile. This is not a comment on the spec as much as it is an idea that you may or may not believe is doable as part of this project.","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"c8b568206281e2da6e0c0719ee9375a2de2ffff9","unresolved":false,"context_lines":[{"line_number":97,"context_line":""},{"line_number":98,"context_line":"    \u0027fault\u0027 :"},{"line_number":99,"context_line":"    {"},{"line_number":100,"context_line":"        \u0027created\u0027: \u003cdate\u003e,"},{"line_number":101,"context_line":"        \u0027message\u0027: \u0027error message\u0027,"},{"line_number":102,"context_line":"        \u0027details\u0027: \u0027potential stack trace\u0027,"},{"line_number":103,"context_line":"    },"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_33318706","line":100,"in_reply_to":"dab17558_d2bf7df9","updated":"2016-05-09 19:34:40.000000000","message":"Since most (if not all) of the messages will be pulled off the notification queue it might be possible to at least include which server the message is going to (or coming from - I\u0027ll have to check the code).  There would be no guarantee that the server in question actually logged the message, but most of our are so it might not be an issue.  I\u0027ll see if it\u0027s feasible to add that to the code, but I\u0027m not sure I want to add it to the spec since I\u0027m not sure it\u0027s possible. ;)","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"fefd89287c6e1549827ecc5836d6c88e639fbd5d","unresolved":false,"context_lines":[{"line_number":106,"context_line":"Public API Security"},{"line_number":107,"context_line":"-------------------"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"No security issues are anticipated. This makes the assumption that no sensitive"},{"line_number":110,"context_line":"information is currently being transmitted by notifications."},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"Python API"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_b2e3d932","line":109,"updated":"2016-05-08 11:13:44.000000000","message":"We should find a way to scrub out information that may be sensitive including the use of things like mask_password. But, in addition we should also suppress information here that relates to the configuration of the cloud that is outside the end users control, like IP addresses of things on the control plane.","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"c8b568206281e2da6e0c0719ee9375a2de2ffff9","unresolved":false,"context_lines":[{"line_number":106,"context_line":"Public API Security"},{"line_number":107,"context_line":"-------------------"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"No security issues are anticipated. This makes the assumption that no sensitive"},{"line_number":110,"context_line":"information is currently being transmitted by notifications."},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"Python API"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_93167353","line":109,"in_reply_to":"dab17558_b2e3d932","updated":"2016-05-09 19:34:40.000000000","message":"All the messages written to the db will go through a single point, so if we find the need to scrub them it should be relatively simple to do.","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"0352237c34211c1b2978b25affef9daefe7f65b8","unresolved":false,"context_lines":[{"line_number":107,"context_line":"-------------------"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"No security issues are anticipated. This makes the assumption that no sensitive"},{"line_number":110,"context_line":"information is currently being transmitted by notifications."},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"Python API"},{"line_number":113,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_fd10e501","line":110,"updated":"2016-05-11 23:30:25.000000000","message":"mmh, I\u0027m a bit concerned about this assumption, TBH. Assuming it\u0027s true now, it might not be true in the future. Either on porpouse or not, other services might send sensitive data in the notification messages, which will make Trove leak this information.\n\nIn addition to the above, I\u0027ve had feedback from OPs as far as showing tracebacks to end users go. Some operators simply don\u0027t want users to see this kind of information.\n\nI guess my question now is: Should we really do this? If yes, should we provide a way to turn this off for end users?","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"5d553fefc50a9190da7067da2d06193d820e67a4","unresolved":false,"context_lines":[{"line_number":107,"context_line":"-------------------"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"No security issues are anticipated. This makes the assumption that no sensitive"},{"line_number":110,"context_line":"information is currently being transmitted by notifications."},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"Python API"},{"line_number":113,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_2c8fac24","line":110,"in_reply_to":"dab17558_fd10e501","updated":"2016-05-18 15:49:40.000000000","message":"This information is already being sent over the wire. This proposal is just to log it in the database so that it can be accessed easier.  If there are security issues, it should be fixed in the context of notifications, not the error logging.  As for not displaying the trace message, if people are opposed to that we can add a conf setting for it (but it will probably reduce the usefulness to operators).  Maybe have the conf setting in horizon, or only display the details for admin users?","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"0352237c34211c1b2978b25affef9daefe7f65b8","unresolved":false,"context_lines":[{"line_number":159,"context_line":"Alternatives"},{"line_number":160,"context_line":"------------"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"None"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"Dashboard Impact (UX)"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_5dfc91b7","line":162,"updated":"2016-05-11 23:30:25.000000000","message":"Exploring other solutions sounds good, although I\u0027d honestly be against having this in Swift.\n\nperhaps we should get feedback from someone in the Nova team?","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"fefd89287c6e1549827ecc5836d6c88e639fbd5d","unresolved":false,"context_lines":[{"line_number":159,"context_line":"Alternatives"},{"line_number":160,"context_line":"------------"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"None"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"Dashboard Impact (UX)"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_12d10558","line":162,"updated":"2016-05-08 11:13:44.000000000","message":"I would like it if you were to describe the solution that is used by Nova somewhere in this spec. Not as an alternative but maybe as a point of reference.\n\nAs I read your spec, one thing that I am concerned about is the impact of having this stuff persisted into the database.\n\nDoes it make sense to persist this to swift instead? Or are we not interested in making that a hard dependency? Make it part of cinder, maybe?\n\ni.e. are there alternatives to the database that you considered?","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"c8b568206281e2da6e0c0719ee9375a2de2ffff9","unresolved":false,"context_lines":[{"line_number":159,"context_line":"Alternatives"},{"line_number":160,"context_line":"------------"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"None"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"Dashboard Impact (UX)"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_734b0f88","line":162,"in_reply_to":"dab17558_12d10558","updated":"2016-05-09 19:34:40.000000000","message":"I don\u0027t know how Nova does this, with the exception that they do store the fault in the db (the \u0027instance_fault\u0027 table is modeled after theirs).  They also seem to only store the latest fault, but I might be mistaken about that.","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"5d553fefc50a9190da7067da2d06193d820e67a4","unresolved":false,"context_lines":[{"line_number":159,"context_line":"Alternatives"},{"line_number":160,"context_line":"------------"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"None"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"Dashboard Impact (UX)"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_4c7310b2","line":162,"in_reply_to":"dab17558_5dfc91b7","updated":"2016-05-18 15:49:40.000000000","message":"Please suggest any alternatives.  This is a feature that people have been asking for for almost 3 years.  If there\u0027s a better way to do it, I\u0027m all ears.","commit_id":"f2e60104ab08c87e14efa3061fa32b3e450f5306"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"7b4a8aaa48e40268f4a2f48a1a4300b5513062b2","unresolved":false,"context_lines":[{"line_number":75,"context_line":"    Column             Type          Allow Nulls  Description"},{"line_number":76,"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\u003d"},{"line_number":77,"context_line":"    id                 varchar(64)   No           ID of fault (autogenerated)"},{"line_number":78,"context_line":"    tenant_id          varchar(64)   No           ID of instance that the fault"},{"line_number":79,"context_line":"                                                  occurred on"},{"line_number":80,"context_line":"    message            varchar(255)  No           Error message of the fault"},{"line_number":81,"context_line":"    details            text(65535)   No           Extra details (i.e. stack"},{"line_number":82,"context_line":"                                                  trace)"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bab6814e_0bca436d","line":79,"range":{"start_line":78,"start_character":1,"end_line":79,"end_character":61},"updated":"2016-05-19 19:36:27.000000000","message":"this column should be tenant_id","commit_id":"20d2437f1a374e63f7da1d0caad49cc4689956a7"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"df099d926f23ed87bdb95202ab1b5d9f61faa188","unresolved":false,"context_lines":[{"line_number":75,"context_line":"    Column             Type          Allow Nulls  Description"},{"line_number":76,"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\u003d"},{"line_number":77,"context_line":"    id                 varchar(64)   No           ID of fault (autogenerated)"},{"line_number":78,"context_line":"    tenant_id          varchar(64)   No           ID of instance that the fault"},{"line_number":79,"context_line":"                                                  occurred on"},{"line_number":80,"context_line":"    message            varchar(255)  No           Error message of the fault"},{"line_number":81,"context_line":"    details            text(65535)   No           Extra details (i.e. stack"},{"line_number":82,"context_line":"                                                  trace)"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bab6814e_22c80122","line":79,"range":{"start_line":78,"start_character":1,"end_line":79,"end_character":61},"in_reply_to":"bab6814e_0bca436d","updated":"2016-05-19 22:20:14.000000000","message":"I think you mean instance_id  ;) - Done","commit_id":"20d2437f1a374e63f7da1d0caad49cc4689956a7"}]}
