)]}'
{"nova_powervm/virt/powervm/driver.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"e5ce1113d12a244e0ac18bfd4803c403147b006f","unresolved":false,"context_lines":[{"line_number":769,"context_line":"                      encryption\u003dNone):"},{"line_number":770,"context_line":"        \"\"\"Detach the volume attached to the instance.\"\"\""},{"line_number":771,"context_line":"        self._log_operation(\u0027detach_volume\u0027, instance)"},{"line_number":772,"context_line":""},{"line_number":773,"context_line":"        # Define the flow"},{"line_number":774,"context_line":"        flow \u003d tf_lf.Flow(\"detach_volume\")"},{"line_number":775,"context_line":""},{"line_number":776,"context_line":"        # Get a volume adapter for this volume"},{"line_number":777,"context_line":"        vol_drv \u003d vol_attach.build_volume_driver("}],"source_content_type":"text/x-python","patch_set":3,"id":"5f7c97a3_a0f40f56","line":774,"range":{"start_line":772,"start_character":0,"end_line":774,"end_character":42},"updated":"2018-06-25 19:22:44.000000000","message":"why did this move?","commit_id":"5ab9a130c5861de1a76e04fa947364d8ffdaf619"},{"author":{"_account_id":16710,"name":"Eric Berglund","email":"esberglu@us.ibm.com","username":"esberglu"},"change_message_id":"130dd34d738f359c8fef7218772314e0beff3582","unresolved":false,"context_lines":[{"line_number":769,"context_line":"                      encryption\u003dNone):"},{"line_number":770,"context_line":"        \"\"\"Detach the volume attached to the instance.\"\"\""},{"line_number":771,"context_line":"        self._log_operation(\u0027detach_volume\u0027, instance)"},{"line_number":772,"context_line":""},{"line_number":773,"context_line":"        # Define the flow"},{"line_number":774,"context_line":"        flow \u003d tf_lf.Flow(\"detach_volume\")"},{"line_number":775,"context_line":""},{"line_number":776,"context_line":"        # Get a volume adapter for this volume"},{"line_number":777,"context_line":"        vol_drv \u003d vol_attach.build_volume_driver("}],"source_content_type":"text/x-python","patch_set":3,"id":"5f7c97a3_fb6b9ab5","line":774,"range":{"start_line":772,"start_character":0,"end_line":774,"end_character":42},"in_reply_to":"5f7c97a3_a0f40f56","updated":"2018-06-25 19:30:13.000000000","message":"To follow the same order as attach_volume()\n\nhttps://review.openstack.org/#/c/526094/15/nova/virt/powervm/driver.py@431","commit_id":"5ab9a130c5861de1a76e04fa947364d8ffdaf619"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"24d8a6f6e3f817d5ebb3b544c46bc5a09deafc1b","unresolved":false,"context_lines":[{"line_number":769,"context_line":"                      encryption\u003dNone):"},{"line_number":770,"context_line":"        \"\"\"Detach the volume attached to the instance.\"\"\""},{"line_number":771,"context_line":"        self._log_operation(\u0027detach_volume\u0027, instance)"},{"line_number":772,"context_line":""},{"line_number":773,"context_line":"        # Define the flow"},{"line_number":774,"context_line":"        flow \u003d tf_lf.Flow(\"detach_volume\")"},{"line_number":775,"context_line":""},{"line_number":776,"context_line":"        # Get a volume adapter for this volume"},{"line_number":777,"context_line":"        vol_drv \u003d vol_attach.build_volume_driver("}],"source_content_type":"text/x-python","patch_set":3,"id":"5f7c97a3_3ee7bf11","line":774,"range":{"start_line":772,"start_character":0,"end_line":774,"end_character":42},"in_reply_to":"5f7c97a3_fb6b9ab5","updated":"2018-06-25 21:27:07.000000000","message":"Meh.  Part of me would prefer to do it the other way - i.e. define the flow right before we use it.  But it\u0027s cheap, so doesn\u0027t really matter.","commit_id":"5ab9a130c5861de1a76e04fa947364d8ffdaf619"}],"nova_powervm/virt/powervm/volume/volume.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"e5ce1113d12a244e0ac18bfd4803c403147b006f","unresolved":false,"context_lines":[{"line_number":43,"context_line":"    vSCSI to host the volume to the VM."},{"line_number":44,"context_line":"    \"\"\""},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def _connect_volume(self, slot_mgr):"},{"line_number":47,"context_line":"        \"\"\"Connects the volume."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"        :param connect_volume_to_vio: Function to connect a volume to the vio."}],"source_content_type":"text/x-python","patch_set":3,"id":"5f7c97a3_20455f6f","line":46,"range":{"start_line":46,"start_character":9,"end_line":46,"end_character":16},"updated":"2018-06-25 19:22:44.000000000","message":"attach?","commit_id":"5ab9a130c5861de1a76e04fa947364d8ffdaf619"},{"author":{"_account_id":16710,"name":"Eric Berglund","email":"esberglu@us.ibm.com","username":"esberglu"},"change_message_id":"130dd34d738f359c8fef7218772314e0beff3582","unresolved":false,"context_lines":[{"line_number":43,"context_line":"    vSCSI to host the volume to the VM."},{"line_number":44,"context_line":"    \"\"\""},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def _connect_volume(self, slot_mgr):"},{"line_number":47,"context_line":"        \"\"\"Connects the volume."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"        :param connect_volume_to_vio: Function to connect a volume to the vio."}],"source_content_type":"text/x-python","patch_set":3,"id":"5f7c97a3_bb976290","line":46,"range":{"start_line":46,"start_character":9,"end_line":46,"end_character":16},"in_reply_to":"5f7c97a3_20455f6f","updated":"2018-06-25 19:30:13.000000000","message":"I\u0027m not targeting the switch from connect/disconnect to attach/detach in this changeset. It involves changes throughout the volume code, not just in vSCSI. There\u0027s a TODO in the OOT page for this.","commit_id":"5ab9a130c5861de1a76e04fa947364d8ffdaf619"}],"nova_powervm/virt/powervm/volume/vscsi.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"e5ce1113d12a244e0ac18bfd4803c403147b006f","unresolved":false,"context_lines":[{"line_number":207,"context_line":""},{"line_number":208,"context_line":"        return status, device_name, udid"},{"line_number":209,"context_line":""},{"line_number":210,"context_line":"    def _connect_volume_to_vio(self, vios_w, slot_mgr):"},{"line_number":211,"context_line":"        \"\"\"Attempts to connect a volume to a given VIO."},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"        :param vios_w: The Virtual I/O Server wrapper to connect to."}],"source_content_type":"text/x-python","patch_set":3,"id":"5f7c97a3_e0ac4736","line":210,"range":{"start_line":210,"start_character":9,"end_line":210,"end_character":16},"updated":"2018-06-25 19:22:44.000000000","message":"This is \"attach\" in-tree.  Did we want to change that here?","commit_id":"5ab9a130c5861de1a76e04fa947364d8ffdaf619"},{"author":{"_account_id":16710,"name":"Eric Berglund","email":"esberglu@us.ibm.com","username":"esberglu"},"change_message_id":"130dd34d738f359c8fef7218772314e0beff3582","unresolved":false,"context_lines":[{"line_number":207,"context_line":""},{"line_number":208,"context_line":"        return status, device_name, udid"},{"line_number":209,"context_line":""},{"line_number":210,"context_line":"    def _connect_volume_to_vio(self, vios_w, slot_mgr):"},{"line_number":211,"context_line":"        \"\"\"Attempts to connect a volume to a given VIO."},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"        :param vios_w: The Virtual I/O Server wrapper to connect to."}],"source_content_type":"text/x-python","patch_set":3,"id":"5f7c97a3_1bf21606","line":210,"range":{"start_line":210,"start_character":9,"end_line":210,"end_character":16},"in_reply_to":"5f7c97a3_e0ac4736","updated":"2018-06-25 19:30:13.000000000","message":"See other comment","commit_id":"5ab9a130c5861de1a76e04fa947364d8ffdaf619"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"e5ce1113d12a244e0ac18bfd4803c403147b006f","unresolved":false,"context_lines":[{"line_number":253,"context_line":""},{"line_number":254,"context_line":"        return False"},{"line_number":255,"context_line":""},{"line_number":256,"context_line":"    def _disconnect_volume(self, slot_mgr):"},{"line_number":257,"context_line":"        \"\"\"Disconnect the volume."},{"line_number":258,"context_line":""},{"line_number":259,"context_line":"        :param slot_mgr: A NovaSlotManager.  Used to delete the client slots"}],"source_content_type":"text/x-python","patch_set":3,"id":"5f7c97a3_6066f72b","line":256,"range":{"start_line":256,"start_character":9,"end_line":256,"end_character":19},"updated":"2018-06-25 19:22:44.000000000","message":"likewise, this is \"detach\" in tree.","commit_id":"5ab9a130c5861de1a76e04fa947364d8ffdaf619"},{"author":{"_account_id":16710,"name":"Eric Berglund","email":"esberglu@us.ibm.com","username":"esberglu"},"change_message_id":"130dd34d738f359c8fef7218772314e0beff3582","unresolved":false,"context_lines":[{"line_number":253,"context_line":""},{"line_number":254,"context_line":"        return False"},{"line_number":255,"context_line":""},{"line_number":256,"context_line":"    def _disconnect_volume(self, slot_mgr):"},{"line_number":257,"context_line":"        \"\"\"Disconnect the volume."},{"line_number":258,"context_line":""},{"line_number":259,"context_line":"        :param slot_mgr: A NovaSlotManager.  Used to delete the client slots"}],"source_content_type":"text/x-python","patch_set":3,"id":"5f7c97a3_fbee3a1f","line":256,"range":{"start_line":256,"start_character":9,"end_line":256,"end_character":19},"in_reply_to":"5f7c97a3_6066f72b","updated":"2018-06-25 19:30:13.000000000","message":"See other comment","commit_id":"5ab9a130c5861de1a76e04fa947364d8ffdaf619"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"6e6c30b07372e78665e4cf3b89158a5eadfb768a","unresolved":false,"context_lines":[{"line_number":269,"context_line":"            LOG.debug(\"Disconnect volume %(vol)s from vios uuid %(uuid)s\","},{"line_number":270,"context_line":"                      dict(vol\u003dself.volume_id, uuid\u003dvios_w.uuid),"},{"line_number":271,"context_line":"                      instance\u003dself.instance)"},{"line_number":272,"context_line":"            device_name \u003d None, None"},{"line_number":273,"context_line":"            udid \u003d self._get_udid()"},{"line_number":274,"context_line":"            try:"},{"line_number":275,"context_line":"                if udid:"}],"source_content_type":"text/x-python","patch_set":3,"id":"5f7c97a3_84b467f2","line":272,"updated":"2018-06-26 21:53:41.000000000","message":"need to remove one of these \"None\"s","commit_id":"5ab9a130c5861de1a76e04fa947364d8ffdaf619"},{"author":{"_account_id":16710,"name":"Eric Berglund","email":"esberglu@us.ibm.com","username":"esberglu"},"change_message_id":"06eb2cbb2a352791f66ca3b9d7e62c99dac72143","unresolved":false,"context_lines":[{"line_number":269,"context_line":"            LOG.debug(\"Disconnect volume %(vol)s from vios uuid %(uuid)s\","},{"line_number":270,"context_line":"                      dict(vol\u003dself.volume_id, uuid\u003dvios_w.uuid),"},{"line_number":271,"context_line":"                      instance\u003dself.instance)"},{"line_number":272,"context_line":"            device_name \u003d None, None"},{"line_number":273,"context_line":"            udid \u003d self._get_udid()"},{"line_number":274,"context_line":"            try:"},{"line_number":275,"context_line":"                if udid:"}],"source_content_type":"text/x-python","patch_set":3,"id":"5f7c97a3_ff87e659","line":272,"in_reply_to":"5f7c97a3_84b467f2","updated":"2018-06-26 22:32:30.000000000","message":"Done","commit_id":"5ab9a130c5861de1a76e04fa947364d8ffdaf619"}]}
