Bug 1384506
Summary: | provisioning instance fail: FATAL -- : Error caught: [NoMethodError] undefined method `[]' for nil:NilClass | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Ronnie Rasouli <rrasouli> | ||||
Component: | Provisioning | Assignee: | Brandon Dunne <bdunne> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Omri Hochman <ohochman> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 5.6.0 | CC: | aarapov, cpelland, dclarizi, hkataria, jhardy, mpovolny, obarenbo, rrasouli, simaishi | ||||
Target Milestone: | GA | Keywords: | TestOnly, ZStream | ||||
Target Release: | 5.8.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | openstack | ||||||
Fixed In Version: | 5.8.0.0 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1404431 1404433 (view as bug list) | Environment: | |||||
Last Closed: | 2017-06-12 17:46:35 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | Openstack | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1355895, 1365560, 1404431, 1404433 | ||||||
Attachments: |
|
Description
Ronnie Rasouli
2016-10-13 12:35:25 UTC
Ronnie, Can you provide an access to your appliance for me to be able to recreate the issue, additionally can you upload logs that will be helpful in troubleshooting the issue. Thanks, ~Harpreet Created attachment 1215515 [details]
fog.log and evm.log production.log when reproducing the issue
Brandon - Please take a look, appears to be failing in the `allowed_instance_types` logic. The error "[ArgumentError] comparison of Fixnum with nil failed" would be raised if the first array element is nil and the second is an integer. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/c26854d475abf105a8e3b1715950c779b3c65fc4 commit c26854d475abf105a8e3b1715950c779b3c65fc4 Author: Brandon Dunne <bdunne> AuthorDate: Mon Nov 28 17:29:19 2016 -0500 Commit: Brandon Dunne <bdunne> CommitDate: Mon Nov 28 17:32:26 2016 -0500 Add test for source hardware with no size_on_disk Tests: [ArgumentError] comparison of Fixnum with nil failed https://bugzilla.redhat.com/show_bug.cgi?id=1384506 .../cloud_manager/provision_workflow_spec.rb | 29 ++++++++++++++++------ 1 file changed, 22 insertions(+), 7 deletions(-) New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/7c67083097e21030b7fc117cbccf80d368432eeb commit 7c67083097e21030b7fc117cbccf80d368432eeb Author: Brandon Dunne <bdunne> AuthorDate: Mon Nov 21 16:59:57 2016 -0500 Commit: Brandon Dunne <bdunne> CommitDate: Mon Nov 28 17:32:34 2016 -0500 Ensure size_on_disk is an integer Fixes: [ArgumentError] comparison of Fixnum with nil failed https://bugzilla.redhat.com/show_bug.cgi?id=1384506 .../manageiq/providers/openstack/cloud_manager/provision_workflow.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) verified on 5.8.0.3 |