Refresh don't want work

Hello,
Sorry i can’t find why my all my providers are not refreshed
Status
Default Credentials Valid
Last Refresh
Success - About 17 Hours Ago
Last Refresh Date 2020-07-29T16:15:26.475+02:00


Status
Default Credentials Valid
Last Refresh
Success - About 17 Hours Ago
Last Refresh Date 2020-07-29T16:15:26.475+02:00


i can’t find where to set the time i would , i suppose it’s in the advanced menu ?
I got this event for AWS/AZURE/Openstack
by the past all worked fine, i did somes change in the setup file in advanced
i have 3 MIQ server and it’s the same issue
Any idea ?
Thanks
Bruno

You can sometimes get an idea of how often refresh is running, and how long it takes by looking at the logs. If your MIQ appliances have Internet access, try the following script:

git clone https://github.com/RHsyseng/cfme-log-parsing
cd cfme-log-parsing
ruby ems_refresh_timings.rb

(if you have several appliances in one region, run this on the appliance with the active inventory collector)

It should show you if and when any refreshes are taking place, and if they are timing out.

Hope this helps,
pemcg

Thanks
Sadly nothing wrong
Worker PID: 6445
Message ID: 930959
Message fetch time: 2020-07-31T11:48:40.770319
Message time in queue: 0.941937518 seconds
Provider: Amazon::StorageManager::Ebs
EMS Name: fbf449c4-775d-4e77-8991-f78b1f571486 EBS Storage Manager
Refresh type: full
Refresh start time: 2020-07-31T11:48:40.772047
Refresh timings:
collect_inventory_for_targets: 0.032642 seconds
parse_targeted_inventory: 0.218074 seconds
save_inventory: 0.037078 seconds
manager_refresh_post_processing: 0.000003 seconds
ems_refresh: 0.288175 seconds
Refresh end time: 2020-07-31T11:48:41.060384
Message delivered time: 2020-07-31T11:48:41.073129
Message state: ok
Message delivered in: 0.302703199 seconds

but before a manual refresh the last success was 23Hours :frowning:
that meen when a user creat an instance on the provider MIQ don’t see it before a long time :frowning:

another question does it possible to schedule a refresh can’t find how worker work :frowning:
Bruno

It sounds like you might not be getting the Amazon events that can trigger individual refreshes. Did you set up the SNS AWSConfig_topic topic as described here

pemcg

Thanks !! by the past i used only SNS and SQS so after configured Cloudtrail and CloudWatch all is ok
Thanks !!!
Bruno