Bug 1067344 - TryBackToAllSnapshotsOfVm threw NullPointerException during snapshot-preview because of random disk attached to VM
Summary: TryBackToAllSnapshotsOfVm threw NullPointerException during snapshot-preview ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.2.0
Hardware: All
OS: Linux
urgent
high
Target Milestone: ---
: 3.2.6
Assignee: Liron Aravot
QA Contact: Aharon Canan
URL:
Whiteboard: storage
Depends On: 1032807
Blocks: 3.3snap4
TreeView+ depends on / blocked
 
Reported: 2014-02-20 09:51 UTC by Allon Mureinik
Modified: 2019-04-28 09:26 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously the snapshot manager attempted to remove disks that are not part of a snapshot. Now, if the device is not a disk known by the engine, it is not removed, similar to the behavior of non-snapshot disks.
Clone Of: 1032807
Environment:
Last Closed: 2014-03-05 14:17:33 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0251 0 normal SHIPPED_LIVE rhevm 3.2.6 bug fix update 2014-03-05 19:16:14 UTC
oVirt gerrit 21654 0 None None None Never

Comment 2 Allon Mureinik 2014-02-24 19:04:19 UTC
Jodi, we need the same doctext as bug 1032807 for 3.2.6's release note:

"Previously the snapshot manager attempted to remove disks that are not part of a snapshot. Now, if the device is not a disk known by the engine, it is not removed, similar to the behavior of non-snapshot disks."

Is the required-doc-text flag enough, or do we need something else for the doc team's process?

Thanks!

Comment 4 Jodi Biddle 2014-02-25 23:24:49 UTC
(In reply to Allon Mureinik from comment #2)
> Jodi, we need the same doctext as bug 1032807 for 3.2.6's release note:
> 
> "Previously the snapshot manager attempted to remove disks that are not part
> of a snapshot. Now, if the device is not a disk known by the engine, it is
> not removed, similar to the behavior of non-snapshot disks."
> 
> Is the required-doc-text flag enough, or do we need something else for the
> doc team's process?
> 
> Thanks!

Copying the doc text and setting the flag is enough for errata, but if you want this to go into manager release notes you need to make sure the doc text field is appropriately set to "release note" so that our filters catch it. Thanks for double-checking :)

Comment 5 Leonid Natapov 2014-03-03 13:36:58 UTC
tested on 3.2.6-0.50.el6ev.

VM with IDE disk created. Hook before_vm_start  adds disk that is not managed by RHEVM. Snapshot created with and without hook. Can be previewed without errors.

Comment 7 errata-xmlrpc 2014-03-05 14:17:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0251.html


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