Bug 1072529 - [engine-backend] [RO-disk] [Single-disk-snapshot] NullPointerException for TryBackToAllSnapshotsOfVm when custom previewing a single RO disk snapshot
Summary: [engine-backend] [RO-disk] [Single-disk-snapshot] NullPointerException for Tr...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.4.0
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.4.0
Assignee: Daniel Erez
QA Contact: Aharon Canan
URL:
Whiteboard: storage
Depends On:
Blocks: rhev3.4snapshot2
TreeView+ depends on / blocked
 
Reported: 2014-03-04 17:30 UTC by Elad
Modified: 2016-02-10 17:55 UTC (History)
8 users (show)

Fixed In Version: av5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-12 14:04:08 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:
amureini: Triaged+


Attachments (Terms of Use)
sosreport (8.07 MB, application/x-gzip)
2014-03-04 17:30 UTC, Elad
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 25914 0 None MERGED core: allow snapshots for read-only disks 2020-10-16 10:18:24 UTC

Description Elad 2014-03-04 17:30:59 UTC
Created attachment 870553 [details]
sosreport

Description of problem:
Snapshot custom preview for snapshot that includes RO disk fails on engine with NullPointerException. This failure happens only when previewing a snapshot using the 'custom' option 


Version-Release number of selected component (if applicable):
rhevm-3.4.0-0.3.master.el6ev.noarch

How reproducible:
Always

Steps to Reproduce:
ON shared DC:
1. Create a VM with a read-only disk attached
2. Create a snapshot to the VM
3. Preview the snapshot from 'custom' button 

Actual results:
Engine fails on TryBackToAllSnapshotsOfVm with a NullPointerException:

2014-03-04 19:11:22,111 ERROR [org.ovirt.engine.core.bll.CommandAsyncTask] (org.ovirt.thread.pool-4-thread-47) [within thread]: endAction for action type TryBackToAllSnapshotsOfVm threw an exception.: javax.ejb.EJBException: java.lang.NullPointerException

VM and disks objects gets stuck in 'LOCKED' state.

Expected results:
Snapshot preview should succeed from when using custom preview

Additional info: sosreport

Comment 1 Aharon Canan 2014-03-30 11:11:49 UTC
verified using av5

Comment 2 Itamar Heim 2014-06-12 14:04:08 UTC
Closing as part of 3.4.0


Note You need to log in before you can comment on or make changes to this bug.