blank volume snapshots list
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 1.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 32
Description
### problem
After deleting a VM I noticed that there was still a volume snapshot of the deleted VM so I tried to delete the volume snapshot too but it failed.
Now when I click on "Volume Snapshots" the following error is displayed:
> Cannot invoke "com.cloud.storage.VolumeVO.getRemoved()" because "volumeVO" is null
and no snapshots are displayed in the list.
### versions
CloudStack 4.22.1.0 on Rocky Linux 10.
Ceph storage.
### The steps to reproduce the bug
1. I think the error was triggered forcing the deletion of a VM which had a volume snapshot
2. delete the volume snapshot of the deleted VM
3.
...
### What to do about it?
_No response_
Contributor guide
Research direction
No file or test is named. Start by reproducing the failure using the listed steps on CloudStack 4.22.1.0 with Ceph, then trace the Volume Snapshots listing from the reported null VolumeVO exception. Done means the list loads without the error and handles snapshots whose VM or volume was deleted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100