Bug 1554914 - Refresh is broken for ec2 when get_public_images is set to true
Summary: Refresh is broken for ec2 when get_public_images is set to true
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.10.0
Assignee: Tomas Coufal
QA Contact: Matouš Mojžíš
URL:
Whiteboard: ec2:refresh
Depends On:
Blocks: 1560703
TreeView+ depends on / blocked
 
Reported: 2018-03-13 14:50 UTC by Matouš Mojžíš
Modified: 2019-02-11 14:07 UTC (History)
9 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1560703 (view as bug list)
Environment:
Last Closed: 2019-02-11 14:07:21 UTC
Category: ---
Cloudforms Team: AWS
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
evm.log stacktrace (13.79 KB, text/plain)
2018-03-13 14:50 UTC, Matouš Mojžíš
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.