title: Oracle Cloud: attach boot volume
body: <p>There was a need to restore SSH access to an instance (Ubuntu 22) so using a guide provided by Oracle the boot volume has been detached and connected as a block storage to another instance. Once a new ssh key was added to the authorized_keys file, the disk was unmount and detached form the temporary instance. So now, I'm trying to re-attache the boot volume to the initial instance; it's successfully starting the process, but than &quot;Attaching&quot; status changes to &quot;Detaching&quot; and at the end the volume is still detached. I'm new at Oracle Cloude and have no idea how to debug any infrastructure operations (where to find an event log).
  Here are some screenshots:
  <a href="https://i.stack.imgur.com/cmufg.png" rel="nofollow noreferrer">Attach volume</a>-&gt;<a href="https://i.stack.imgur.com/5uKvy.png" rel="nofollow noreferrer">Attaching</a>-&gt;<a href="https://i.stack.imgur.com/DG7Aa.png" rel="nofollow noreferrer">Detaching</a>-&gt;<a href="https://i.stack.imgur.com/fROeu.png" rel="nofollow noreferrer">Detached</a></p>