Closed labbott closed 9 months ago
I'm looking at this again and can't remember what I thought was wrong here...
That's a relief because I was pretty confused.
My understanding of this is (taking one of the disks as an example), please correct me if I'm wrong!
dca68c14-ced2-498c-99cc-8313155d0099
was created out of image 3475ce54-251b-4f18-bacd-51dc17a671f9
dca68c14-ced2-498c-99cc-8313155d0099
3475ce54-251b-4f18-bacd-51dc17a671f9
Now, hopefully I have this right, because you said:
I can also create an image out of one of the deleted images.
which would definitely be a bug. If there was a delete request for that image, but that image was eithere not deleted, or un-deleted, then that's another type of bug that I should definitely follow up on.
The fact that you see disks that you previously deleted now show up as Faulted
is expected after omicron#4547, though I agree with your chat comment that this could have been better communicated to the user and is confusing. I'm not sure about the best was to communicate this though - maybe appending to the description?
-description: "Disk of hubris-build-gimlet-c-dev"
+description: "Disk of hubris-build-gimlet-c-dev (:ghost:)"
Deleting the disk should not delete the image, nor the contents of the image, as long as the image is still around. Likewise, deleting an image should not delete a disk or the contents of a disk that has that image as a source. Nexus should be accurately reference counting for the underlying Crucible resources and not deleting any of those unless the ref counts have gone to zero. If that's not true, then we have another type of bug on our hands.
Yeah I'm pretty sure this is a user error where I forgot that I deleted snapshots, disks, but not images and wasn't reading correctly.
3475ce54-251b-4f18-bacd-51dc17a671f9
and1d83a6c1-d64c-4eff-8933-5c3e5a60cb70
should be deleted but they are showing up as imagesI can also create an image out of one of the deleted images. This may just be a side effect of how deletion works but it's pretty confusing for me as an end user.