Bug 1436194
| Summary: | the amazon best fit method sometimes attempts to select networks that aren't available to the region in use | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Felix Dewaleyne <fdewaley> | |
| Component: | Provisioning | Assignee: | Lucy Fu <lufu> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Matouš Mojžíš <mmojzis> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.6.0 | CC: | fdewaley, gmccullo, jhardy, mmojzis, obarenbo, simaishi | |
| Target Milestone: | GA | Keywords: | TestOnly | |
| Target Release: | 5.9.0 | |||
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | ||||
| Fixed In Version: | 5.9.0.1 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1443571 1443572 1443573 (view as bug list) | Environment: | ||
| Last Closed: | 2018-03-06 14:49:31 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: | 1443571, 1443572, 1443573 | |||
|
Description
Felix Dewaleyne
2017-03-27 12:23:44 UTC
Lucy - I looked into this before and we are handling the nil subnet_mask here: https://github.com/ManageIQ/manageiq/blob/36199523979022ba75aeba2732c1808d7a8e7536/app/models/miq_provision/pxe.rb#L38 but we are failing at some point after that. I am not saying the nil subnet_mask and the cause of the error are related, but pointing out what I found. Still need to try to track that down. Brandon might be able to help here as well. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/fbf87f1fbc20fe3871f5e802eddb757a6be9033b commit fbf87f1fbc20fe3871f5e802eddb757a6be9033b Author: Lucy Fu <lufu> AuthorDate: Tue Apr 18 16:10:33 2017 -0400 Commit: Lucy Fu <lufu> CommitDate: Tue Apr 18 16:11:06 2017 -0400 Use fetch_path to handle the case where :ws_values is nil. When :ws_values is nil, CustomizationTemplate.substitute_erb throws out [NoMethodError]: undefined method `[]' for nil:NilClass. https://bugzilla.redhat.com/show_bug.cgi?id=1436194 db/fixtures/customization_templates.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Verified in 5.9.0.13. I was able to provision an instance with SSH key addition template without errors. |