)]}'
{"doc/source/support-matrix.ini":[{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"16f5b1c8decd82e5faf0ffbabae174bec1fc8770","unresolved":false,"context_lines":[{"line_number":467,"context_line":"  support the alteration of all relevant config settings for a"},{"line_number":468,"context_line":"  running instance. Therefore this operation is considered"},{"line_number":469,"context_line":"  optional to support in drivers."},{"line_number":470,"context_line":"  Currently, resize to same host is only supported in vmware"},{"line_number":471,"context_line":"  driver which means for other hypervisors user can\u0027t resize to"},{"line_number":472,"context_line":"  same host."},{"line_number":473,"context_line":"cli\u003dnova resize \u003cserver\u003e \u003cflavor\u003e"},{"line_number":474,"context_line":"driver-impl-xenserver\u003dcomplete"},{"line_number":475,"context_line":"driver-impl-libvirt-kvm-x86\u003dcomplete"}],"source_content_type":"text/x-properties","patch_set":1,"id":"1f1a1f67_f81daebd","line":472,"range":{"start_line":470,"start_character":0,"end_line":472,"end_character":12},"updated":"2017-07-12 22:41:31.000000000","message":"I think this is invalid because the check of supports_migrate_to_same_host works only when the migration with the same flavor, not resize.\n\nnova/compute/manager.py\n 3779         # if the flavor IDs match, it\u0027s migrate; otherwise resize\n 3780         if same_host and instance_type.id \u003d\u003d instance[\u0027instance_type_id\u0027]:\n 3781             # check driver whether support migrate to same host\n 3782             if not self.driver.capabilities[\u0027supports_migrate_to_same_host\u0027]:\n 3783                 raise exception.UnableToMigrateToSelf(\n 3784                     instance_id\u003dinstance.uuid, host\u003dself.host)","commit_id":"fed3e75fa53ded45e19651a165c9f831e9929705"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"02486baec0a940b93f0cff8dfa9aae285b237964","unresolved":false,"context_lines":[{"line_number":467,"context_line":"  support the alteration of all relevant config settings for a"},{"line_number":468,"context_line":"  running instance. Therefore this operation is considered"},{"line_number":469,"context_line":"  optional to support in drivers."},{"line_number":470,"context_line":"  Currently, resize to same host is only supported in vmware"},{"line_number":471,"context_line":"  driver which means for other hypervisors user can\u0027t resize to"},{"line_number":472,"context_line":"  same host."},{"line_number":473,"context_line":"cli\u003dnova resize \u003cserver\u003e \u003cflavor\u003e"},{"line_number":474,"context_line":"driver-impl-xenserver\u003dcomplete"},{"line_number":475,"context_line":"driver-impl-libvirt-kvm-x86\u003dcomplete"}],"source_content_type":"text/x-properties","patch_set":1,"id":"1f1a1f67_2c63e31c","line":472,"range":{"start_line":470,"start_character":0,"end_line":472,"end_character":12},"in_reply_to":"1f1a1f67_f81daebd","updated":"2017-07-13 05:52:08.000000000","message":"actually, we can document the migrate here as well\n\ne.g live-migrate also documented here...","commit_id":"fed3e75fa53ded45e19651a165c9f831e9929705"},{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"d7015ddcb1fd7ab29e7aa1d63a0ce41e7e1493f1","unresolved":false,"context_lines":[{"line_number":492,"context_line":"  general it is technically challenging for a hypervisor to"},{"line_number":493,"context_line":"  support the alteration of all relevant config settings for a"},{"line_number":494,"context_line":"  running instance. Therefore this operation is considered"},{"line_number":495,"context_line":"  optional to support in drivers. In addition, if the flavor"},{"line_number":496,"context_line":"  is identical nova will take it as cold migrate operation,"},{"line_number":497,"context_line":"  and migrate to same host is only supported in vmware"},{"line_number":498,"context_line":"  driver which means for other hypervisors user can\u0027t migrate to"},{"line_number":499,"context_line":"  same host."}],"source_content_type":"text/x-properties","patch_set":3,"id":"1f1a1f67_8c5da97a","line":496,"range":{"start_line":495,"start_character":34,"end_line":496,"end_character":14},"updated":"2017-07-19 02:18:22.000000000","message":"Sorry if I misunderstand here.. but this \"identical\" is different from the main purpose of \"resize\" which mentions \"different flavor\" at line 489.. I could not get why we should mention this here.","commit_id":"a4c3013c3e67f90cc743314c159ba85fd641e53e"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"f99e026e03652935a82be94f151b98c63b1af81d","unresolved":false,"context_lines":[{"line_number":492,"context_line":"  general it is technically challenging for a hypervisor to"},{"line_number":493,"context_line":"  support the alteration of all relevant config settings for a"},{"line_number":494,"context_line":"  running instance. Therefore this operation is considered"},{"line_number":495,"context_line":"  optional to support in drivers. In addition, if the flavor"},{"line_number":496,"context_line":"  is identical nova will take it as cold migrate operation,"},{"line_number":497,"context_line":"  and migrate to same host is only supported in vmware"},{"line_number":498,"context_line":"  driver which means for other hypervisors user can\u0027t migrate to"},{"line_number":499,"context_line":"  same host."}],"source_content_type":"text/x-properties","patch_set":3,"id":"9f436f4f_08b812c6","line":496,"range":{"start_line":495,"start_character":34,"end_line":496,"end_character":14},"in_reply_to":"1f1a1f67_8c5da97a","updated":"2017-08-09 09:08:45.000000000","message":"I added more info about it, thanks~","commit_id":"a4c3013c3e67f90cc743314c159ba85fd641e53e"}],"doc/source/user/support-matrix.ini":[{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"5f7d99109562903cf795fbcf5ab7a001d957130b","unresolved":false,"context_lines":[{"line_number":487,"context_line":"status\u003doptional"},{"line_number":488,"context_line":"notes\u003dThe resize operation allows the user to change a running"},{"line_number":489,"context_line":"  instance to match the size of a different flavor from the one"},{"line_number":490,"context_line":"  it was initially launched with or migrate the instance to another"},{"line_number":491,"context_line":"  host with identical flavor it launched from. There are many different"},{"line_number":492,"context_line":"  flavor attributes that potentially need to be updated. In"},{"line_number":493,"context_line":"  general it is technically challenging for a hypervisor to"},{"line_number":494,"context_line":"  support the alteration of all relevant config settings for a"}],"source_content_type":"text/x-properties","patch_set":4,"id":"7f287b81_a6212cfe","line":491,"range":{"start_line":490,"start_character":33,"end_line":491,"end_character":28},"updated":"2017-08-23 16:55:53.000000000","message":"\"or migrate the instance to another host with identical flavor\"\n\nNo, this is not true. If operating resize with the same flavor, the API returns an exception like\n\nhttps://github.com/openstack/nova/blob/master/nova/compute/api.py#L3159","commit_id":"ef5a21cd3891d75c782328652624c0d405571d37"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"9ec77ed8de621714329289582b672b4760865fbe","unresolved":false,"context_lines":[{"line_number":487,"context_line":"status\u003doptional"},{"line_number":488,"context_line":"notes\u003dThe resize operation allows the user to change a running"},{"line_number":489,"context_line":"  instance to match the size of a different flavor from the one"},{"line_number":490,"context_line":"  it was initially launched with or migrate the instance to another"},{"line_number":491,"context_line":"  host with identical flavor it launched from. There are many different"},{"line_number":492,"context_line":"  flavor attributes that potentially need to be updated. In"},{"line_number":493,"context_line":"  general it is technically challenging for a hypervisor to"},{"line_number":494,"context_line":"  support the alteration of all relevant config settings for a"},{"line_number":495,"context_line":"  running instance. Therefore this operation is considered"},{"line_number":496,"context_line":"  optional to support in drivers. If the flavor"},{"line_number":497,"context_line":"  is identical nova will take it as cold migrate operation,"},{"line_number":498,"context_line":"  and migrate to same host is only supported in vmware"},{"line_number":499,"context_line":"  driver which means for other hypervisors user can\u0027t migrate to"},{"line_number":500,"context_line":"  same host."},{"line_number":501,"context_line":"cli\u003dnova resize \u003cserver\u003e \u003cflavor\u003e"},{"line_number":502,"context_line":"driver-impl-xenserver\u003dcomplete"},{"line_number":503,"context_line":"driver-impl-libvirt-kvm-x86\u003dcomplete"}],"source_content_type":"text/x-properties","patch_set":4,"id":"9f436f4f_3c14134e","line":500,"range":{"start_line":490,"start_character":32,"end_line":500,"end_character":12},"updated":"2017-08-10 12:07:25.000000000","message":"I think we are mixing the information about resize and migration here. From user point of view resize and migration are 2 different operation. Its our compute API code which call the same function resize on both case.\n\nIf its same flavor then its not resize and it will be 400.\n\nWe should add migrate info and \u0027migrate to same host\u0027 info separately in different section \u0027migration\u0027 or \u0027cold miration\u0027","commit_id":"ef5a21cd3891d75c782328652624c0d405571d37"}]}
