Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 879298

Summary: bad error message when removing snapshot
Product: Red Hat Enterprise MRG Reporter: Lubos Trilety <ltrilety>
Component: wallaby-utilsAssignee: grid-maint-list <grid-maint-list>
Status: CLOSED WONTFIX QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: low Docs Contact:
Priority: low    
Version: DevelopmentCC: matt, willb
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-26 20:20:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 801632    

Description Lubos Trilety 2012-11-22 14:53:13 UTC
Description of problem:
When remove-snapshot is called on not existing snapshot it ends with fatal error.

# wallaby remove-snapshot noexist
Console Connection Established...
fatal:  ERROR: undefined method `delete' for nil:NilClass

there should be warning message as for other objects, e.g.

# wallaby remove-subsystem noexist
Console Connection Established...
warning:  subsystem noexist does not exist

Version-Release number of selected component (if applicable):
wallaby-0.16.1-2

How reproducible:
100%

Steps to Reproduce:
1. run 'wallaby remove-snapshot noexist'
  
Actual results:
fatal error message

Expected results:
warning message

Additional info:

Comment 1 Anne-Louise Tangring 2016-05-26 20:20:25 UTC
MRG-Grid is in maintenance and only customer escalations will be considered. This issue can be reopened if a customer escalation associated with it occurs.