I have upgraded to Fangtooth 25.04.0. Which I not realise in hindsight might not have been the greatest idea… but that’s been covered in other posts.
So my issue: In Electric Eel (24.10) I had an Ubuntu 22.04 LTS running GitLab. running as a VM.
Post upgrade to Fangtooth, my VM’s didn’t appear in Instances… not unexpected.
I created a new instance of the VM and specified the required CPU/RAM and my GitLab dataset (gitlab-wxyz
) to be mounted as a boot disk for the Instance. An oversight on my part, it would appear you can’t specify a dataset to be bootable!
Once started, I obviously had no access via network. (Still not resolved). Then I started reading that you need to update the Grub environment on the dataset. So I thought, I’ll remove the Disk from the Instance, start the VM with a default boot disk, try and re-mount dataset somehow (gitlab-wxyz
) and update grub configuration to make it bootable.
My real problems started there. It would appear that when you try to change a DISK connected to an Instance, your options are either Edit or Delete. As I wanted to remove the disk from the instance, I selected Delete. It then proceeded to delete the actual dataset from the file system.
For example My path to my DataSet was: POOL/virtualmachines/gitlab-wxyz
However the gitlab-wxyz
dataset has now gone from POOL/virtualmachines
.
I have a snapshot I can revert to… but it does not reappear in the correct location… so I now have two issues.
1 . A missing dataset (gitlab of all things to potentially loose).
2. A VM which, when I did have the dataset attached, wouldn’t boot correctly with the following message:
Your user does not have sudo privileges so /usr/bin/incus command will run on you behalf.
So, whilst I appreciate the sentiment that incus is experimental, I should have taken more notice of the release notes etc… I read from ‘experimental’ that you can make it work… this is why I am posting.
Ignoring how I got here, is there anyway to get the recover my dataset… I have found what might be the reverted snapshot in the following location:
POOL/.ix-virt/custom/default_gitlab-wxyz
Once I have that back, how can I mount the dataset as a bootable disk in an Instance?
All/any help very much appreciated.
Thanks,
Simon