)]}'
{"api-ref/source/v2/volumes-v2-volumes-actions.inc":[{"author":{"_account_id":2243,"name":"John Griffith","email":"john.griffith8@gmail.com","username":"john-griffith"},"change_message_id":"a741ebafa346a4fa42e22dd1f59d11b92ac5cf34","unresolved":false,"context_lines":[{"line_number":312,"context_line":""},{"line_number":313,"context_line":"Change type of existing volume. Specify the ``os-retype`` action in the request body."},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"Change the volume type of existing volume, Cinder may migrate the volume to"},{"line_number":316,"context_line":"proper volume host according to the new volume type."},{"line_number":317,"context_line":""},{"line_number":318,"context_line":"Policy defaults enable only users with the administrative role or the owner of"},{"line_number":319,"context_line":"the volume to perform this operation. Cloud providers can change these"}],"source_content_type":"text/x-c++src","patch_set":1,"id":"7f231b9d_b2345e94","line":316,"range":{"start_line":315,"start_character":0,"end_line":316,"end_character":52},"updated":"2017-06-15 22:31:49.000000000","message":"Maybe add that if a migration is required then there\u0027s also the dependency on the migration policy entry?","commit_id":"622a0ff4249ba11bc25a74880d282325d75a3201"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"2db9938b2265100c91c394074653ec9f6ffb2ac8","unresolved":false,"context_lines":[{"line_number":312,"context_line":""},{"line_number":313,"context_line":"Change type of existing volume. Specify the ``os-retype`` action in the request body."},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"Change the volume type of existing volume, Cinder may migrate the volume to"},{"line_number":316,"context_line":"proper volume host according to the new volume type."},{"line_number":317,"context_line":""},{"line_number":318,"context_line":"Policy defaults enable only users with the administrative role or the owner of"},{"line_number":319,"context_line":"the volume to perform this operation. Cloud providers can change these"}],"source_content_type":"text/x-c++src","patch_set":1,"id":"7f231b9d_2df8ef78","line":316,"range":{"start_line":315,"start_character":0,"end_line":316,"end_character":52},"in_reply_to":"7f231b9d_124672c1","updated":"2017-06-16 00:08:33.000000000","message":"How does a volume owner that\u0027s not an admin know if a migration is required?","commit_id":"622a0ff4249ba11bc25a74880d282325d75a3201"},{"author":{"_account_id":2243,"name":"John Griffith","email":"john.griffith8@gmail.com","username":"john-griffith"},"change_message_id":"24b8df457a69eb7c1b0db7dac7a90a8f226ba27d","unresolved":false,"context_lines":[{"line_number":312,"context_line":""},{"line_number":313,"context_line":"Change type of existing volume. Specify the ``os-retype`` action in the request body."},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"Change the volume type of existing volume, Cinder may migrate the volume to"},{"line_number":316,"context_line":"proper volume host according to the new volume type."},{"line_number":317,"context_line":""},{"line_number":318,"context_line":"Policy defaults enable only users with the administrative role or the owner of"},{"line_number":319,"context_line":"the volume to perform this operation. Cloud providers can change these"}],"source_content_type":"text/x-c++src","patch_set":1,"id":"7f231b9d_957f09df","line":316,"range":{"start_line":315,"start_character":0,"end_line":316,"end_character":52},"in_reply_to":"7f231b9d_2df8ef78","updated":"2017-06-16 02:50:58.000000000","message":"That\u0027s the ugly thing, a user doesn\u0027t/shouldn\u0027t.  Maybe if we add a special error response that explicitly states that it failed due to migration policy (in the actual response).  \n\nIt\u0027s poor usability because on the one hand we don\u0027t want to leak the abstraction, but on the other we threw this into retype.","commit_id":"622a0ff4249ba11bc25a74880d282325d75a3201"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"cab9a2e66aee59ef5b12113cc6e7ea2aafb039d9","unresolved":false,"context_lines":[{"line_number":312,"context_line":""},{"line_number":313,"context_line":"Change type of existing volume. Specify the ``os-retype`` action in the request body."},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"Change the volume type of existing volume, Cinder may migrate the volume to"},{"line_number":316,"context_line":"proper volume host according to the new volume type."},{"line_number":317,"context_line":""},{"line_number":318,"context_line":"Policy defaults enable only users with the administrative role or the owner of"},{"line_number":319,"context_line":"the volume to perform this operation. Cloud providers can change these"}],"source_content_type":"text/x-c++src","patch_set":1,"id":"7f231b9d_cb8b92c0","line":316,"range":{"start_line":315,"start_character":0,"end_line":316,"end_character":52},"in_reply_to":"7f231b9d_957f09df","updated":"2017-06-16 14:08:35.000000000","message":"Doesn\u0027t the failure happen after it\u0027s already cast to the volume manager or scheduler though?\n\nhttps://github.com/openstack/cinder/blob/master/cinder/volume/rpcapi.py#L262\n\nIf the cinder-api has RPC cast to another service, then we can\u0027t return an error message to the user from the API, unless you add some validation to the API, but I thought that is maybe backend-dependent?\n\nI\u0027m thinking of this case:\n\nhttps://github.com/openstack/cinder/blob/master/cinder/volume/manager.py#L2490\n\nDoes cinder record faults associated with the volume like nova has for instances? Non-admins can\u0027t see fault details by default since they contain internals and a stacktrace, but it\u0027s good for debugging if the admin gets a ticket. I thought cinder had something similar like messages or something.","commit_id":"622a0ff4249ba11bc25a74880d282325d75a3201"},{"author":{"_account_id":7173,"name":"Scott DAngelo","email":"scott.dangelo@gmail.com","username":"scottda"},"change_message_id":"7d0a65fc4710c50af09722d96437f93865470ca1","unresolved":false,"context_lines":[{"line_number":312,"context_line":""},{"line_number":313,"context_line":"Change type of existing volume. Specify the ``os-retype`` action in the request body."},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"Change the volume type of existing volume, Cinder may migrate the volume to"},{"line_number":316,"context_line":"proper volume host according to the new volume type."},{"line_number":317,"context_line":""},{"line_number":318,"context_line":"Policy defaults enable only users with the administrative role or the owner of"},{"line_number":319,"context_line":"the volume to perform this operation. Cloud providers can change these"}],"source_content_type":"text/x-c++src","patch_set":1,"id":"7f231b9d_124672c1","line":316,"range":{"start_line":315,"start_character":0,"end_line":316,"end_character":52},"in_reply_to":"7f231b9d_b2345e94","updated":"2017-06-15 22:49:10.000000000","message":"Yeah, I think it\u0027s a good idea to make this explicit.","commit_id":"622a0ff4249ba11bc25a74880d282325d75a3201"}],"api-ref/source/v3/volumes-v3-volumes-actions.inc":[{"author":{"_account_id":2243,"name":"John Griffith","email":"john.griffith8@gmail.com","username":"john-griffith"},"change_message_id":"a741ebafa346a4fa42e22dd1f59d11b92ac5cf34","unresolved":false,"context_lines":[{"line_number":309,"context_line":""},{"line_number":310,"context_line":"Change type of existing volume. Specify the ``os-retype`` action in the request body."},{"line_number":311,"context_line":""},{"line_number":312,"context_line":"Change the volume type of existing volume, Cinder may migrate the volume to"},{"line_number":313,"context_line":"proper volume host according to the new volume type."},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"Policy defaults enable only users with the administrative role or the owner of"},{"line_number":316,"context_line":"the volume to perform this operation. Cloud providers can change these"}],"source_content_type":"text/x-c++src","patch_set":1,"id":"7f231b9d_5223ca56","line":313,"range":{"start_line":312,"start_character":0,"end_line":313,"end_character":52},"updated":"2017-06-15 22:31:49.000000000","message":"dejavous","commit_id":"622a0ff4249ba11bc25a74880d282325d75a3201"}]}
