Bug 1554914

Summary: Refresh is broken for ec2 when get_public_images is set to true
Product: Red Hat CloudForms Management Engine Reporter: Matouš Mojžíš <mmojzis>
Component: ProvidersAssignee: Tomas Coufal <tcoufal>
Status: CLOSED CURRENTRELEASE QA Contact: Matouš Mojžíš <mmojzis>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: bsorota, cpelland, dluong, gblomqui, jfrey, jhardy, mmojzis, obarenbo, simaishi
Target Milestone: GAKeywords: Regression, TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ec2:refresh
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1560703 (view as bug list) Environment:
Last Closed: 2019-02-11 14:07:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: AWS Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1560703    
Attachments:
Description Flags
evm.log stacktrace none

Description Matouš Mojžíš 2018-03-13 14:50:42 UTC
Created attachment 1407581 [details]
evm.log stacktrace

Description of problem:
This issue starts with 5.9.0.19 and can't be reproduced in 5.8.3.4

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

How reproducible:
Always

Steps to Reproduce:
1. Set :get_public_images: true in Advanced Settings for ec2
2. Add ec2 provider
3.

Actual results:


Expected results:


Additional info:

Comment 3 Greg Blomquist 2018-03-14 13:39:20 UTC
Matous, are you able to filter public images?  

https://access.redhat.com/documentation/en-us/red_hat_cloudforms/4.6/html/managing_providers/cloud_providers#enabling_public_amis_from_amazon_ecs2

Or, any attempt to collect public images fails?

Just wondering if it has anything to do with the number of public images.

Comment 4 Matouš Mojžíš 2018-03-14 16:37:22 UTC
Greg,
I tried it with image-owner and platform to reduce number of images and still same problem so I assume any attempt to collect public images fails.

Comment 5 Tomas Coufal 2018-03-23 15:40:00 UTC
Fix is on its way: https://github.com/ManageIQ/manageiq-providers-amazon/pull/425

Comment 6 Tomas Coufal 2018-03-26 15:01:44 UTC
Merged! ;) Waiting for backport.

Comment 8 Matouš Mojžíš 2018-08-01 14:01:22 UTC
Verified in 5.10.0.6. 
Public images were refreshed correctly.