)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"6a2af8c8e357af51fdc6c9c98e76d8cabd623c50","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I0b8bf23a4373c6b81c3e25956f039d7e8cf36249"},{"line_number":12,"context_line":"Implements: blueprint nova-api-force-stop-server"},{"line_number":13,"context_line":"APIImpact: New parameter to os-stop api"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"ba8a016a_30b97d2f","line":13,"updated":"2015-11-16 12:47:08.000000000","message":"do we have \u0027os-stop\u0027 api?where is it ?","commit_id":"06257b3236fafb5931e0277dfd688fcb6cacb168"}],"specs/mitaka/approved/force-stop-server.rst":[{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"7f8b858af521a91c57deee9ed5ae31b9e092bc30","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":"The method:"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"\"/v2.1/​{tenant_id}​/servers/​action\"​"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"With the method type POST."},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a1a9d01_56027770","line":50,"range":{"start_line":50,"start_character":7,"end_line":50,"end_character":8},"updated":"2015-09-28 17:45:00.000000000","message":"Looks like you have some sort of weird spacing in here? Gerrit is identifying something...","commit_id":"901f167543dcaf67cdb48af1e523950cd80fd694"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"7f8b858af521a91c57deee9ed5ae31b9e092bc30","unresolved":false,"context_lines":[{"line_number":65,"context_line":"              \u0027type\u0027: [\u0027object\u0027, \u0027null\u0027],"},{"line_number":66,"context_line":"              \u0027properties\u0027: {"},{"line_number":67,"context_line":"                  \u0027type\u0027: {"},{"line_number":68,"context_line":"                      \u0027enum\u0027: [\u0027HARD\u0027, \u0027Hard\u0027, \u0027hard\u0027, \u0027SOFT\u0027, \u0027Soft\u0027, \u0027soft\u0027]"},{"line_number":69,"context_line":"                  }"},{"line_number":70,"context_line":"              },"},{"line_number":71,"context_line":"              \u0027additionalProperties\u0027: False"}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a1a9d01_f66e2b2e","line":68,"updated":"2015-09-28 17:45:00.000000000","message":"I see no reason to allow this ambiguity. Let\u0027s just make this either \"hard\" or \"soft\" okay?","commit_id":"901f167543dcaf67cdb48af1e523950cd80fd694"},{"author":{"_account_id":7461,"name":"Paul Murray","email":"pmurray@hpe.com","username":"ptm"},"change_message_id":"6bdf9fc9e4812d0ceb184622f66dbb42d70f5b27","unresolved":false,"context_lines":[{"line_number":20,"context_line":"Use Cases"},{"line_number":21,"context_line":"----------"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"1. User wants to force stop a server."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Project Priority"},{"line_number":26,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_3f9ca2bf","line":23,"updated":"2015-10-14 15:44:38.000000000","message":"Could you explain why? The current behavior does do a force stop if a clean shutdown does not work. So I would like to see why the user explicitly does not want to attempt a clean shutdown at all.","commit_id":"2d768e2fd2b42bf8cf66c6038ea988f8d4392f76"},{"author":{"_account_id":16910,"name":"junxu","email":"xujun@cmss.chinamobile.com","username":"xujun-1"},"change_message_id":"050e360d537ebe27836a441117b4d405c21ee2af","unresolved":false,"context_lines":[{"line_number":20,"context_line":"Use Cases"},{"line_number":21,"context_line":"----------"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"1. User wants to force stop a server."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Project Priority"},{"line_number":26,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa80f949_17b07689","line":23,"in_reply_to":"5a2ca52d_3f9ca2bf","updated":"2015-11-06 05:12:15.000000000","message":"For some cases, VM may hang, then we may need to force stop it.","commit_id":"2d768e2fd2b42bf8cf66c6038ea988f8d4392f76"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"bbcac629b7708d36f949524f31345c4b9d397bd3","unresolved":false,"context_lines":[{"line_number":20,"context_line":"Use Cases"},{"line_number":21,"context_line":"----------"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"1. User wants to force stop a server."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Project Priority"},{"line_number":26,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3a29b11f_8e39b3d9","line":23,"in_reply_to":"5a2ca52d_3f9ca2bf","updated":"2015-10-21 13:43:38.000000000","message":"Right, I think the reasons for this need much more explanation. What scenario gets you here?","commit_id":"2d768e2fd2b42bf8cf66c6038ea988f8d4392f76"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"6a2af8c8e357af51fdc6c9c98e76d8cabd623c50","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/nova/+spec/nova-api-force-stop-server"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Current nova API does not support to force stop a server."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Problem description"},{"line_number":16,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_ad9e7a05","line":13,"updated":"2015-11-16 12:47:08.000000000","message":"a server \u003d a virtual machine ,right? \nseems instance will be better?","commit_id":"06257b3236fafb5931e0277dfd688fcb6cacb168"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"6a2af8c8e357af51fdc6c9c98e76d8cabd623c50","unresolved":false,"context_lines":[{"line_number":21,"context_line":"----------"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"1. Sometimes for a hanging server, we may want to force stop it."},{"line_number":24,"context_line":"2. Sometimes for testing, we may need it to stop server immediately."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Project Priority"},{"line_number":27,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_30341ddd","line":24,"updated":"2015-11-16 12:47:08.000000000","message":"I really think we should talk about what\u0027s the difference between hard and soft stop, even if it\u0027s hyper-v only...","commit_id":"06257b3236fafb5931e0277dfd688fcb6cacb168"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"007c65c1c7e88373f09b9c557505096dc37ba3fe","unresolved":false,"context_lines":[{"line_number":21,"context_line":"----------"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"1. Sometimes for a hanging server, we may want to force stop it."},{"line_number":24,"context_line":"2. Sometimes for testing, we may need it to stop server immediately."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Project Priority"},{"line_number":27,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_df4b675e","line":24,"in_reply_to":"ba8a016a_30341ddd","updated":"2015-11-20 11:45:32.000000000","message":"I need a lot more background about which backends, under which conditions are not served by existing features. Why stop vs. delete? Why is existing stop no good?","commit_id":"06257b3236fafb5931e0277dfd688fcb6cacb168"},{"author":{"_account_id":5441,"name":"Andrew Laski","email":"andrew@lascii.com","username":"alaski"},"change_message_id":"12499aaa9da7a912c853840498217b8470d37551","unresolved":false,"context_lines":[{"line_number":21,"context_line":"----------"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"1. Sometimes for a hanging server, we may want to force stop it."},{"line_number":24,"context_line":"2. Sometimes for testing, we may need it to stop server immediately."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Project Priority"},{"line_number":27,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"9a8ffd7b_93e7caab","line":24,"in_reply_to":"ba8a016a_df4b675e","updated":"2015-12-01 17:53:08.000000000","message":"I found a bit of history for this in https://blueprints.launchpad.net/nova/+spec/user-defined-shutdown.  It seems that originally the default was to hard stop an instance and then libvirt was modified to soft stop it with a new parameter added to use the old behavior if necessary.  API support was never added for the force stop parameter.\n\nThe existing stop will do different things depending on the hypervisor, but for libvirt will wait 60s for an instance to stop before forcing the shutdown(configurable with shutdown_timeout).  I agree with Sean that there needs to be more information explaining why that\u0027s not good enough.\n\nI do see value in modifying the virt drivers to have consistent stop behavior.  But that would be in another spec/blueprint.","commit_id":"06257b3236fafb5931e0277dfd688fcb6cacb168"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"6a2af8c8e357af51fdc6c9c98e76d8cabd623c50","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"The method:"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"\"/v2.1/tenant_id}/servers/action\""},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"With the method type POST."},{"line_number":54,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_adb51a7f","line":51,"updated":"2015-11-16 12:47:08.000000000","message":"nit : missing a {","commit_id":"06257b3236fafb5931e0277dfd688fcb6cacb168"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"6a2af8c8e357af51fdc6c9c98e76d8cabd623c50","unresolved":false,"context_lines":[{"line_number":62,"context_line":"  stop \u003d {"},{"line_number":63,"context_line":"      \u0027type\u0027: \u0027object\u0027,"},{"line_number":64,"context_line":"      \u0027properties\u0027: {"},{"line_number":65,"context_line":"          \u0027os-stop\u0027: {"},{"line_number":66,"context_line":"              \u0027type\u0027: [\u0027object\u0027, \u0027null\u0027],"},{"line_number":67,"context_line":"              \u0027properties\u0027: {"},{"line_number":68,"context_line":"                  \u0027type\u0027: {"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_8d093634","line":65,"updated":"2015-11-16 12:47:08.000000000","message":"why os- ?","commit_id":"06257b3236fafb5931e0277dfd688fcb6cacb168"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"6a2af8c8e357af51fdc6c9c98e76d8cabd623c50","unresolved":false,"context_lines":[{"line_number":120,"context_line":""},{"line_number":121,"context_line":"* Add a new microversion"},{"line_number":122,"context_line":"* python-novaclient support"},{"line_number":123,"context_line":"* Hyper-V driver support"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"Dependencies"},{"line_number":126,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_903e29b7","line":123,"updated":"2015-11-16 12:47:08.000000000","message":"what about other drivers? not implemented?\nor this is a general compute layer stuff?","commit_id":"06257b3236fafb5931e0277dfd688fcb6cacb168"},{"author":{"_account_id":5441,"name":"Andrew Laski","email":"andrew@lascii.com","username":"alaski"},"change_message_id":"12499aaa9da7a912c853840498217b8470d37551","unresolved":false,"context_lines":[{"line_number":120,"context_line":""},{"line_number":121,"context_line":"* Add a new microversion"},{"line_number":122,"context_line":"* python-novaclient support"},{"line_number":123,"context_line":"* Hyper-V driver support"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"Dependencies"},{"line_number":126,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"9a8ffd7b_b343ee12","line":123,"in_reply_to":"ba8a016a_4ffbb479","updated":"2015-12-01 17:53:08.000000000","message":"I think adding support in drivers is a different body of work than adding API support for a force stop.  This spec should focus on just the API support and then open a new spec/blueprint for adding support to various drivers.","commit_id":"06257b3236fafb5931e0277dfd688fcb6cacb168"},{"author":{"_account_id":7461,"name":"Paul Murray","email":"pmurray@hpe.com","username":"ptm"},"change_message_id":"f6e29f96e52ce9300cc7905bb48f9fa882b1e133","unresolved":false,"context_lines":[{"line_number":120,"context_line":""},{"line_number":121,"context_line":"* Add a new microversion"},{"line_number":122,"context_line":"* python-novaclient support"},{"line_number":123,"context_line":"* Hyper-V driver support"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"Dependencies"},{"line_number":126,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_4ffbb479","line":123,"in_reply_to":"ba8a016a_903e29b7","updated":"2015-11-18 17:27:22.000000000","message":"I think the only driver that doesn\u0027t do hard stop as the default behaviour is libvirt, so why not just libvirt?","commit_id":"06257b3236fafb5931e0277dfd688fcb6cacb168"}]}
