Bug 1469306 - OSP: when validating an account with access to many projects, it checks each, and times out
Summary: OSP: when validating an account with access to many projects, it checks each,...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.0
Assignee: Sam Lucidi
QA Contact: Ido Ovadia
URL:
Whiteboard: openstack
Depends On:
Blocks: 1470800 1476395
TreeView+ depends on / blocked
 
Reported: 2017-07-10 22:50 UTC by Jeff Warnica
Modified: 2020-09-10 10:53 UTC (History)
11 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1470800 1476395 (view as bug list)
Environment:
Last Closed: 2018-03-06 14:36:07 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jeff Warnica 2017-07-10 22:50:13 UTC
Per summary, if one adds a new OSP provider (or changes creds on an existing one), and the provided user has access to many Projects, CFME attempts to log in to each of them.

The low level doesn't seem to fail, but the UI times out. This makes the provider configuration page unable to save.

Comment 3 Tzu-Mainn Chen 2017-07-11 13:13:21 UTC
Can you give a sense of how many projects the OSP provider has?

Comment 4 Jeff Warnica 2017-07-11 13:24:44 UTC
Client reports 173.

Comment 5 Sam Lucidi 2017-07-11 19:19:02 UTC
I've put together a patch that cuts out the numerous excessive requests to all the projects. This dramatically speeds up verification and should prevent the UI timeout. https://github.com/ManageIQ/manageiq-providers-openstack/pull/60

Comment 6 Sam Lucidi 2017-07-12 14:46:03 UTC
We discovered a problem that makes the solution in https://github.com/ManageIQ/manageiq-providers-openstack/pull/60 unsuitable. Mainn's got a better solution in https://github.com/ManageIQ/manageiq-providers-openstack/pull/62

Comment 9 Ido Ovadia 2018-01-25 10:44:53 UTC
Verified
========
CFME 5.9.0.17 on RHOS 10


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