)]}'
{"specs/mitaka/approved/disallow-query-deleted-flavor-from-api.rst":[{"author":{"_account_id":12898,"name":"Tony Breeds","email":"tony@bakeyournoodle.com","username":"tonyb"},"change_message_id":"fcad9ae5e4daeef48033917c52f9b2be2c4271c0","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\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":8,"context_line":"disallow-query-deleted-flavor-from-api"},{"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\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"When a flavor is deleted, it can be queried internally but"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_a1f05992","line":8,"updated":"2015-10-21 05:18:25.000000000","message":"nit: please change this to something like: \"API: Disallow querying deleted flavors\"\n\nThis gets used as the title for the spec at: http://specs.openstack.org/openstack/nova-specs/specs/mitaka/index.html","commit_id":"a1a940d62c55bfe0acc95350512081174c23aad1"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"a06a7676fa901c21faff60cae6b2d18c1442baf2","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\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":8,"context_line":"disallow-query-deleted-flavor-from-api"},{"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\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"When a flavor is deleted, it can be queried internally but"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_6461a8a8","line":8,"in_reply_to":"3a29b11f_a1f05992","updated":"2015-10-22 13:04:58.000000000","message":"Done","commit_id":"a1a940d62c55bfe0acc95350512081174c23aad1"},{"author":{"_account_id":12898,"name":"Tony Breeds","email":"tony@bakeyournoodle.com","username":"tonyb"},"change_message_id":"fcad9ae5e4daeef48033917c52f9b2be2c4271c0","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"line_number":18,"context_line":"When a flavor is deleted, it should not be queried by API layer;"},{"line_number":19,"context_line":"But currently nova will return the info even if it\u0027s deleted."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"jichen@devstack:~$ nova flavor-list"},{"line_number":22,"context_line":"+-----+-----------+-----------+------+-----------+------+-------+"},{"line_number":23,"context_line":"| ID  | Name      | Memory_MB | Disk | Ephemeral | Swap | VCPUs |"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_6e39d0a3","line":20,"updated":"2015-10-21 05:18:25.000000000","message":"All the db dumps below need to be in a code block to render correctly","commit_id":"a1a940d62c55bfe0acc95350512081174c23aad1"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"a06a7676fa901c21faff60cae6b2d18c1442baf2","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"line_number":18,"context_line":"When a flavor is deleted, it should not be queried by API layer;"},{"line_number":19,"context_line":"But currently nova will return the info even if it\u0027s deleted."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"jichen@devstack:~$ nova flavor-list"},{"line_number":22,"context_line":"+-----+-----------+-----------+------+-----------+------+-------+"},{"line_number":23,"context_line":"| ID  | Name      | Memory_MB | Disk | Ephemeral | Swap | VCPUs |"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_e475b863","line":20,"in_reply_to":"3a29b11f_6e39d0a3","updated":"2015-10-22 13:04:58.000000000","message":"yes, that\u0027s right","commit_id":"a1a940d62c55bfe0acc95350512081174c23aad1"},{"author":{"_account_id":12898,"name":"Tony Breeds","email":"tony@bakeyournoodle.com","username":"tonyb"},"change_message_id":"fcad9ae5e4daeef48033917c52f9b2be2c4271c0","unresolved":false,"context_lines":[{"line_number":18,"context_line":"When a flavor is deleted, it should not be queried by API layer;"},{"line_number":19,"context_line":"But currently nova will return the info even if it\u0027s deleted."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"jichen@devstack:~$ nova flavor-list"},{"line_number":22,"context_line":"+-----+-----------+-----------+------+-----------+------+-------+"},{"line_number":23,"context_line":"| ID  | Name      | Memory_MB | Disk | Ephemeral | Swap | VCPUs |"},{"line_number":24,"context_line":"+-----+-----------+-----------+------+-----------+------+-------+"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_4e44141a","line":21,"updated":"2015-10-21 05:18:25.000000000","message":"remove \u0027jichen@devstack:~\u0027 here and the other prompts","commit_id":"a1a940d62c55bfe0acc95350512081174c23aad1"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"a06a7676fa901c21faff60cae6b2d18c1442baf2","unresolved":false,"context_lines":[{"line_number":18,"context_line":"When a flavor is deleted, it should not be queried by API layer;"},{"line_number":19,"context_line":"But currently nova will return the info even if it\u0027s deleted."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"jichen@devstack:~$ nova flavor-list"},{"line_number":22,"context_line":"+-----+-----------+-----------+------+-----------+------+-------+"},{"line_number":23,"context_line":"| ID  | Name      | Memory_MB | Disk | Ephemeral | Swap | VCPUs |"},{"line_number":24,"context_line":"+-----+-----------+-----------+------+-----------+------+-------+"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_0471d475","line":21,"in_reply_to":"3a29b11f_4e44141a","updated":"2015-10-22 13:04:58.000000000","message":"thx, done","commit_id":"a1a940d62c55bfe0acc95350512081174c23aad1"},{"author":{"_account_id":12898,"name":"Tony Breeds","email":"tony@bakeyournoodle.com","username":"tonyb"},"change_message_id":"fcad9ae5e4daeef48033917c52f9b2be2c4271c0","unresolved":false,"context_lines":[{"line_number":56,"context_line":""},{"line_number":57,"context_line":"Authorized user or admin may create flavor then delete it."},{"line_number":58,"context_line":"After the flavor is deleted, user might query it by accident"},{"line_number":59,"context_line":"and will be confused about the \u0027deleted\u0027 one still be shown."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"Project Priority"},{"line_number":62,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_01a34d9e","line":59,"updated":"2015-10-21 05:18:25.000000000","message":"Here I\u0027m confused:\n\n $ nova flavor-delete 23\n +----+------+-----------+------+-----------+------+-------+-------------+-----------+\n | ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |\n +----+------+-----------+------+-----------+------+-------+-------------+-----------+\n | 23 | test | 4096      | 60   | 20        | 16   | 8     | 1.0         | True      |\n +----+------+-----------+------+-----------+------+-------+-------------+-----------+\n $ nova flavor-show 69\n ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n \u003cclass \u0027webob.exc.HTTPNotFound\u0027\u003e (HTTP 500) (Request-ID: req-2c54eff9-cb0c-462c-938a-33d8b10a7dca)\n\nin n-api logs:\n\n 2015-10-21 16:02:14.671 TRACE nova.api.openstack.extensions HTTPNotFound: Flavor 23 could not be found.\n\n\nWhere is the user seeing the deleted flavor?","commit_id":"a1a940d62c55bfe0acc95350512081174c23aad1"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"a06a7676fa901c21faff60cae6b2d18c1442baf2","unresolved":false,"context_lines":[{"line_number":56,"context_line":""},{"line_number":57,"context_line":"Authorized user or admin may create flavor then delete it."},{"line_number":58,"context_line":"After the flavor is deleted, user might query it by accident"},{"line_number":59,"context_line":"and will be confused about the \u0027deleted\u0027 one still be shown."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"Project Priority"},{"line_number":62,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_240e50e5","line":59,"in_reply_to":"3a29b11f_01a34d9e","updated":"2015-10-22 13:04:58.000000000","message":"um... this is different to my thought, anyway,\nI changed the topic based on other comments ...","commit_id":"a1a940d62c55bfe0acc95350512081174c23aad1"},{"author":{"_account_id":12898,"name":"Tony Breeds","email":"tony@bakeyournoodle.com","username":"tonyb"},"change_message_id":"fcad9ae5e4daeef48033917c52f9b2be2c4271c0","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"::"},{"line_number":89,"context_line":"  By giving the executions after \u0027Problem description\u0027, REST API"},{"line_number":90,"context_line":"  -X GET http://x.x.x.x:8774/v2/xxxxx/flavors/23?deleted\u003dtrue"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"  will get reponse like:"},{"line_number":93,"context_line":"  {"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_a1c29932","line":90,"updated":"2015-10-21 05:18:25.000000000","message":"Okay so you want to change the API to allow reading deleted flavors","commit_id":"a1a940d62c55bfe0acc95350512081174c23aad1"}]}
