Bug 1473379 - Storage profiles causing refresh to exceed 30+ minutes
Storage profiles causing refresh to exceed 30+ minutes
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers (Show other bugs)
Unspecified Unspecified
high Severity high
: GA
: 5.9.0
Assigned To: Adam Grare
Alex Newman
: Reopened, ZStream
Depends On:
Blocks: 1593914
  Show dependency treegraph
Reported: 2017-07-20 12:08 EDT by Jared Deubel
Modified: 2018-06-21 16:06 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1593914 (view as bug list)
Last Closed: 2018-06-21 11:36:13 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core

Attachments (Terms of Use)

  None (edit)
Description Jared Deubel 2017-07-20 12:08:45 EDT
Description of problem:
When doing an EMS refresh we are seeing storage profiles taking 30+ minutes [1] to collect. Because other workers are relying on the refresh to finish they timeout exceeding the 3600 second timeout. 


PostgreSQLAdapter#log_after_checkout, connection_pool: size: 5, connections: 1, in use: 1, waiting_in_queue: 0
=> nil

Version-Release number of selected component (if applicable):
Comment 5 CFME Bot 2017-07-27 12:55:11 EDT
New commit detected on ManageIQ/manageiq-providers-vmware/master:

commit 5758db5b70dcd67a9c9e692ed3e3fa8186472372
Author:     Adam Grare <agrare@redhat.com>
AuthorDate: Thu Jul 20 12:04:06 2017 -0400
Commit:     Adam Grare <agrare@redhat.com>
CommitDate: Thu Jul 20 12:24:14 2017 -0400

    Add benchmark and logging around storage profiles
    Collection of storage profiles were not reflected it their own benchmark
    timings and were not logged making it difficult to diagnose when their
    collection is slow

 .../providers/vmware/infra_manager/refresher.rb    | 34 ++++++++++++++++++----
 1 file changed, 29 insertions(+), 5 deletions(-)
Comment 6 CFME Bot 2017-08-08 10:33:49 EDT
New commit detected on ManageIQ/manageiq-providers-vmware/master:

commit 9c6163198970f467e03b14a6009d4824e7856360
Author:     Adam Grare <agrare@redhat.com>
AuthorDate: Thu Jul 20 12:31:14 2017 -0400
Commit:     Adam Grare <agrare@redhat.com>
CommitDate: Thu Jul 27 12:46:53 2017 -0400

    Collect storage profiles only on full refresh
    The collection of storage profiles can take a long time and cannot be
    filtered by target causing targeted refreshes to take significantly
    longer under certain circumstances.

 .../manageiq/providers/vmware/infra_manager/refresher.rb      | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
Comment 9 errata-xmlrpc 2018-03-01 08:15:21 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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