Bug 1471297
| Summary: | Tag with Key 'Name' and a nil Value Breaks Refresh for AWS | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | myoder | |
| Component: | Providers | Assignee: | Daniel Berger <dberger> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Matouš Mojžíš <mmojzis> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 5.7.0 | CC: | agrare, gblomqui, jfrey, jhardy, mmojzis, obarenbo, rspagnol, simaishi | |
| Target Milestone: | GA | Keywords: | TestOnly | |
| Target Release: | 5.10.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ec2:cloud:refresh | |||
| Fixed In Version: | 5.10.0.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1471315 1478557 1514156 (view as bug list) | Environment: | ||
| Last Closed: | 2018-06-21 20:55:49 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | Bug | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | AWS | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1471315, 1478557, 1514156 | |||
|
Description
myoder
2017-07-14 23:03:03 UTC
New commit detected on ManageIQ/manageiq-providers-amazon/master: https://github.com/ManageIQ/manageiq-providers-amazon/commit/8bb113757dda2fd25accd2f3ca2f3e454a43be7c commit 8bb113757dda2fd25accd2f3ca2f3e454a43be7c Author: Adam Grare <agrare> AuthorDate: Fri Jul 14 18:49:49 2017 -0400 Commit: Adam Grare <agrare> CommitDate: Fri Jul 14 19:07:30 2017 -0400 Handle empty string in image tags It is possible for the name coming from a tag to be an empty string, this was bypassing the ||= check but failing the validation on the VmOrTemplate model causing the refresh to fail. https://bugzilla.redhat.com/show_bug.cgi?id=1471297 .../manageiq/providers/amazon/cloud_manager/refresh_parser.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) *** Bug 1496549 has been marked as a duplicate of this bug. *** Still can reproduce on 5.9.0.1 with AMI with tag Name without value is refresh broken. Matous can you provide the backtrace and evm.log? Thanks Matous, looks like the same fix needs to be applied to the inventory/parser for when inventory_object_refresh is used. Bronagh sending this over to your team. |