)]}'
{"specs/pike/approved/deprecate-os-hosts.rst":[{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"11a2cc220d5ff3eb3a61406c402c9725ee348a88","unresolved":false,"context_lines":[{"line_number":11,"context_line":"`\u003chttps://blueprints.launchpad.net/nova/+spec/deprecate-os-hosts\u003e`_"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Much of the ``os-hosts`` API is duplicated with the ``os-services`` and"},{"line_number":14,"context_line":"``os-hypervisors`` APIs. Other parts are not implemented for all backends, or"},{"line_number":15,"context_line":"even a good idea for Nova to have in the compute API. Other parts are not even"},{"line_number":16,"context_line":"implemented for any backend anywhere. This spec proposes to deprecate the API"},{"line_number":17,"context_line":"altogether."}],"source_content_type":"text/x-rst","patch_set":1,"id":"bff0334d_2dda0177","line":14,"range":{"start_line":14,"start_character":25,"end_line":14,"end_character":36},"updated":"2017-04-12 09:28:07.000000000","message":"Other APIs","commit_id":"677abb58d76814d1dd3030348539b5bc19fa3daf"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"f5a150dac3cbe4ff988997a4e5418bb493d5e751","unresolved":false,"context_lines":[{"line_number":11,"context_line":"`\u003chttps://blueprints.launchpad.net/nova/+spec/deprecate-os-hosts\u003e`_"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Much of the ``os-hosts`` API is duplicated with the ``os-services`` and"},{"line_number":14,"context_line":"``os-hypervisors`` APIs. Other parts are not implemented for all backends, or"},{"line_number":15,"context_line":"even a good idea for Nova to have in the compute API. Other parts are not even"},{"line_number":16,"context_line":"implemented for any backend anywhere. This spec proposes to deprecate the API"},{"line_number":17,"context_line":"altogether."}],"source_content_type":"text/x-rst","patch_set":1,"id":"bff0334d_811f916a","line":14,"range":{"start_line":14,"start_character":25,"end_line":14,"end_character":36},"in_reply_to":"bff0334d_2dda0177","updated":"2017-04-12 12:36:32.000000000","message":"\"Some of the API is not implemented for all backends\" might be better.","commit_id":"677abb58d76814d1dd3030348539b5bc19fa3daf"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"8c4904af8b28ad0e21013fe2f8010afd7a8305cf","unresolved":false,"context_lines":[{"line_number":11,"context_line":"`\u003chttps://blueprints.launchpad.net/nova/+spec/deprecate-os-hosts\u003e`_"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Much of the ``os-hosts`` API is duplicated with the ``os-services`` and"},{"line_number":14,"context_line":"``os-hypervisors`` APIs. Other parts are not implemented for all backends, or"},{"line_number":15,"context_line":"even a good idea for Nova to have in the compute API. Other parts are not even"},{"line_number":16,"context_line":"implemented for any backend anywhere. This spec proposes to deprecate the API"},{"line_number":17,"context_line":"altogether."}],"source_content_type":"text/x-rst","patch_set":1,"id":"bff0334d_61e80d7b","line":14,"range":{"start_line":14,"start_character":25,"end_line":14,"end_character":36},"in_reply_to":"bff0334d_2dda0177","updated":"2017-04-12 12:36:35.000000000","message":"I think \u0027Other parts\u0027 is correct here, assuming he means parts of the \u0027os-hosts\u0027 API","commit_id":"677abb58d76814d1dd3030348539b5bc19fa3daf"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"11a2cc220d5ff3eb3a61406c402c9725ee348a88","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Much of the ``os-hosts`` API is duplicated with the ``os-services`` and"},{"line_number":14,"context_line":"``os-hypervisors`` APIs. Other parts are not implemented for all backends, or"},{"line_number":15,"context_line":"even a good idea for Nova to have in the compute API. Other parts are not even"},{"line_number":16,"context_line":"implemented for any backend anywhere. This spec proposes to deprecate the API"},{"line_number":17,"context_line":"altogether."},{"line_number":18,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"bff0334d_add7314b","line":15,"range":{"start_line":15,"start_character":54,"end_line":15,"end_character":65},"updated":"2017-04-12 09:28:07.000000000","message":"Some APIs","commit_id":"677abb58d76814d1dd3030348539b5bc19fa3daf"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"8c4904af8b28ad0e21013fe2f8010afd7a8305cf","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Much of the ``os-hosts`` API is duplicated with the ``os-services`` and"},{"line_number":14,"context_line":"``os-hypervisors`` APIs. Other parts are not implemented for all backends, or"},{"line_number":15,"context_line":"even a good idea for Nova to have in the compute API. Other parts are not even"},{"line_number":16,"context_line":"implemented for any backend anywhere. This spec proposes to deprecate the API"},{"line_number":17,"context_line":"altogether."},{"line_number":18,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"bff0334d_01014138","line":15,"range":{"start_line":15,"start_character":54,"end_line":15,"end_character":65},"in_reply_to":"bff0334d_add7314b","updated":"2017-04-12 12:36:35.000000000","message":"Ditto","commit_id":"677abb58d76814d1dd3030348539b5bc19fa3daf"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"e05278c655ea85c5a6f133f4529538cf827fd634","unresolved":false,"context_lines":[{"line_number":65,"context_line":"   call from nova-api to nova-compute, you will at least get a 501 error"},{"line_number":66,"context_line":"   response indicating it is not supported or implemented (even though 501 is"},{"line_number":67,"context_line":"   the wrong response for something like this)."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"Use Cases"},{"line_number":70,"context_line":"---------"},{"line_number":71,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"bff0334d_51894572","line":68,"updated":"2017-04-12 20:31:22.000000000","message":"AFAIK, it\u0027s even more terrible than that. While os-hypervisors provides you the compute nodes, and while os-services provides you the services, os-hosts just returns the hosts, not the nodes.\n\nIs that a problem ? Yup, because for example Ironic has a relationship being 1:N (host, node) which means this API could be not good for Ironic too.","commit_id":"677abb58d76814d1dd3030348539b5bc19fa3daf"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"11a2cc220d5ff3eb3a61406c402c9725ee348a88","unresolved":false,"context_lines":[{"line_number":113,"context_line":"* ``GET /os-hosts/{host_name}/shutdown`` - shutdown host"},{"line_number":114,"context_line":"* ``GET /os-hosts/{host_name}/startup`` - start host"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"Also, yes, those GETs on the power action APIs are not a mistake, they are"},{"line_number":117,"context_line":"actually implemented as GETs."},{"line_number":118,"context_line":""},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"Security impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bff0334d_4d24255e","line":117,"range":{"start_line":116,"start_character":0,"end_line":117,"end_character":29},"updated":"2017-04-12 09:28:07.000000000","message":"yea those are bad","commit_id":"677abb58d76814d1dd3030348539b5bc19fa3daf"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"04e77916a94167cfea1bbbc2a7da210e32242faf","unresolved":false,"context_lines":[{"line_number":169,"context_line":"  Matt Riedemann (mriedem)"},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"Other contributors:"},{"line_number":172,"context_line":"  None"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"Work Items"},{"line_number":175,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bff0334d_4de9c5e3","line":172,"range":{"start_line":172,"start_character":2,"end_line":172,"end_character":6},"updated":"2017-04-12 09:21:10.000000000","message":"I can help to work on it as I proposed some host related API changes and it can be abandoned due to this spec","commit_id":"677abb58d76814d1dd3030348539b5bc19fa3daf"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"f5a150dac3cbe4ff988997a4e5418bb493d5e751","unresolved":false,"context_lines":[{"line_number":169,"context_line":"  Matt Riedemann (mriedem)"},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"Other contributors:"},{"line_number":172,"context_line":"  None"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"Work Items"},{"line_number":175,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bff0334d_c17919c5","line":172,"range":{"start_line":172,"start_character":2,"end_line":172,"end_character":6},"in_reply_to":"bff0334d_4de9c5e3","updated":"2017-04-12 12:36:32.000000000","message":"OK if I respin I\u0027ll add you here.","commit_id":"677abb58d76814d1dd3030348539b5bc19fa3daf"}]}
