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

Bug 644282

Summary: Clicking on Instance Management shows :undefined method `name' for nil:NilClass
Product: [Retired] CloudForms Cloud Engine Reporter: Shveta <ssachdev>
Component: aeolus-conductorAssignee: Jan Provaznik <jprovazn>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: low    
Version: 0.3.1CC: cpelland, deltacloud-maint, jprovazn, sseago
Target Milestone: alpha   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-14 15:54:48 UTC Type: ---
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: 651514    

Description Shveta 2010-10-19 10:36:40 UTC
Description of problem: 


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


How reproducible:


Steps to Reproduce:
1. Instance Management
2. Click on Pool and launch an instance.
3. Click on Deployables and delete two templates 
4. Click on Instance Management.
  
Actual results:


Expected results:


Additional info: 
Not Sure if it is related to deletion of templates but this is what i did :

I clicked on Instance management several times and it worked fine.
Then i deleted two templates and clicked on Instance Management and it started showing  " undefined method `name' for nil:NilClass "

Comment 1 Scott Seago 2010-10-19 12:47:06 UTC
Yes, I definitely think this is related to template deletion. Every instance has a reference to the template that it's based on, so if the template is deleted there's now a required reference that's set to null.

For now I think the solution would be to disallow template deletion for templates that reference instances.

Comment 3 wes hayutin 2011-06-14 15:54:48 UTC
closing out old bugs that dev has not addressed :(

Comment 4 wes hayutin 2011-12-08 14:17:14 UTC
perm close