| Summary: | aeolus-image delete -> ERROR: Unknown Error => undefined method `[]' for nil:NilClass | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] CloudForms Cloud Engine | Reporter: | James Laska <jlaska> | ||||||
| Component: | rubygem-aeolus-cli | Assignee: | Martyn Taylor <mtaylor> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Aziza Karol <akarol> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 1.0.0 | CC: | akarol, jturner, mtaylor, slinaber | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-08-30 17:13:34 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
Created attachment 550959 [details]
/var/log/imagefactory.log
commit 7220d88c99672f1374b6af3ecaec46f1a55a5a70
Author: Martyn Taylor <mtaylor>
Date: Fri Jan 6 14:05:55 2012 +0000
BZ#772006 Fixed Delete with no provider content
*** Bug 767074 has been marked as a duplicate of this bug. *** in rubygem-aeolus-cli-0.3.0-2 removing verified on-qa from tracker No error displayed. Image delete successful. # aeolus-image build --target=ec2 --template rhel6-configserver-Stage-export.xml Target Image Target Status Image Build ------------------------------------ ------ -------- ------------------------------------ ------------------------------------ 6e9c6d2a-c4c8-4957-af10-3192d1e216a4 ec2 BUILDING bacd956f-3220-4d86-be71-b541590ab4a0 a646a80b-2d01-474a-8504-74cf395ff2c9 # aeolus-image status --targetimage 6e9c6d2a-c4c8-4957-af10-3192d1e216a4 Build Status: COMPLETE # aeolus-image delete --image bacd956f-3220-4d86-be71-b541590ab4a0 Image: bacd956f-3220-4d86-be71-b541590ab4a0 Deleted Successfully verified on: # rpm -qa | grep aeolus aeolus-conductor-doc-0.8.0-6.el6.noarch rubygem-aeolus-image-0.3.0-2.el6.noarch rubygem-aeolus-cli-0.3.0-3.el6.noarch aeolus-all-0.8.0-6.el6.noarch aeolus-conductor-0.8.0-6.el6.noarch aeolus-configure-2.5.0-4.el6.noarch aeolus-conductor-daemons-0.8.0-6.el6.noarch |
Created attachment 550958 [details] Template used Description of problem: Attempting to delete a previously built image emits a traceback and ERROR. Re-running 'aeolus-image list' Version-Release number of selected component (if applicable): * aeolus-all-0.8.0-0.20111222233342gitd98cb57.el6.src.rpm * aeolus-conductor-0.8.0-0.20111222233342gitd98cb57.el6.src.rpm * aeolus-configure-2.5.0-0.20120104154940git196b80d.el6.src.rpm * rubygem-aeolus-cli-0.3.0-0.20111222173356git3cd6277.el6.src.rpm * rubygem-aeolus-image-0.3.0-0.20111222173411gitc13b654.el6.src.rpm Steps to Reproduce: 1. Build an image using a valid system template 2. Attempt to delete the created image Actual results: # aeolus-image build --target=ec2 --template rhel6-configserver-Stage-export.xml Target Image Target Status Image Build ------------------------------------ ------ -------- ------------------------------------ ------------------------------------ 3e18a9a9-4d17-48a9-bd12-2bb5fe0f8c94 ec2 BUILDING f8200e4e-fc32-4991-b9c7-c1db8435523d cbd3d5fc-6b6b-47e7-8b09-5802e7b68836 # aeolus-image delete --image f8200e4e-fc32-4991-b9c7-c1db8435523d Image: f8200e4e-fc32-4991-b9c7-c1db8435523d Deleted Successfully ERROR: Unknown Error => undefined method `[]' for nil:NilClass /usr/lib/ruby/gems/1.8/gems/aeolus-cli-0.3.0/lib/aeolus_cli/command/delete_command.rb:111:in `calculate_widths' /usr/lib/ruby/gems/1.8/gems/aeolus-cli-0.3.0/lib/aeolus_cli/command/delete_command.rb:110:in `each' /usr/lib/ruby/gems/1.8/gems/aeolus-cli-0.3.0/lib/aeolus_cli/command/delete_command.rb:110:in `calculate_widths' /usr/lib/ruby/gems/1.8/gems/aeolus-cli-0.3.0/lib/aeolus_cli/command/delete_command.rb:84:in `print_provider_content' /usr/lib/ruby/gems/1.8/gems/aeolus-cli-0.3.0/lib/aeolus_cli/command/delete_command.rb:70:in `image' /usr/lib/ruby/gems/1.8/gems/aeolus-cli-0.3.0/lib/aeolus_cli/command/config_parser.rb:275:in `send' /usr/lib/ruby/gems/1.8/gems/aeolus-cli-0.3.0/lib/aeolus_cli/command/config_parser.rb:275:in `delete' /usr/lib/ruby/gems/1.8/gems/aeolus-cli-0.3.0/lib/aeolus_cli/command/config_parser.rb:38:in `send' /usr/lib/ruby/gems/1.8/gems/aeolus-cli-0.3.0/lib/aeolus_cli/command/config_parser.rb:38:in `process' /usr/lib/ruby/gems/1.8/gems/aeolus-cli-0.3.0/bin/aeolus-image:20 /usr/bin/aeolus-image:19:in `load' /usr/bin/aeolus-image:19 Expected results: No traceback Additional info: