On Tue, Mar 5, 2019 at 5:54 PM Clint Boggio <cboggio@inlinenetworks.com> wrote:
Greetings oVirt Users;

Environment:

oVirt 4.2.0.2-1
1 Dedicated Engine
6 Hypervisor Nodes
iSCSI Storage
All running CentOS 7.5

I have a VM with the illegal snapshot error. After doing some research
on the condition i have found some methods for fixing the problem by
connecting to the database and repairing the fault. I am unable to
connect to the engine database from the engine command line with the
password in 10-setup-database.conf for whatever reason. (likely user
error)

I don't really need the disk that is attached to this VM that is at
fault as it is a disk that is being utilized by the VM to perform local
backups and that function has been moved to an offsite backup solution.

If I shut down the afflicted VM, then delete the un-needed disk, will
the snapshots be deleteed and thus the problem alleviated ?
If a snapshot is in illegal state, retrying to delete the snapshot should be
successful. If not, please file a bug.

If you don't need the entire vm or the disk attached to the vm, you should be
able to remove the vm or detach the disk and remove the disk. If this does
not work please file a bug.

Or will the system not delete the un-needed disk because of the fault
and then not reboot because if the illegal statu of the snapshot ?

What do yo mean by "not reboot"?

I have tried to delete the snapshots, and the system refuses to do so.

Can you share engine and vdsm logs showing what happens when you try
to delete the snapshot?

I may need some guidance regarding connecting to my engine database if
i cannot delete the un-needed disk.

Modifying the database directly is not recommended. This should be last resort
if nothing else works.

Nir