{"body":"\t=======================\n\tcompute/manager.py\n\tattach_volume()\n\ttry:\n\t volume_api.smart_attach +---> Check and Set DB to attaching atomically\n\t\t\t\t\t\t   ---OR---\n\t\t\t\t\t      Return VolumeIsBusy\n\n\t\t\t\t\t      create_export target\n\t\t\t\t\t      gather connection_info\n\t\t\t\t      set DB to attached, deal w/ multi-attach\n\t\t\t\t <----------  return connector\n\n\texcept: #fail or retry\n\n\t--------------------\n\t================   -\n\tvirt/driver.py  <---\n\t(do actual connection of\n\t  volume to instance\n\t   --or fail/exception--\n\t(return to manager)...\n\t================\n\tcompute/manager.py\n\tif failed to connect to instance:\n\t volume_api.smart_detach  +-----------> see smart_detach below\n","name":"","extension":"txt","url":"https://www.irccloud.com/pastebin/1L3KWe0j","modified":1459977673,"id":"1L3KWe0j","size":670,"lines":26,"own_paste":false,"theme":"","date":1459977673}