Bug 1497169
Summary: | ems_refresh time increases when tries to update inventory for OpenStack10 provider with multiple tenants | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Sachin <sacpatil> |
Component: | Providers | Assignee: | Marek Aufart <maufart> |
Status: | CLOSED NOTABUG | QA Contact: | Ola Pavlenko <opavlenk> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.7.0 | CC: | gblomqui, igortiunov, jfrey, jhardy, obarenbo, sacpatil, tzumainn |
Target Milestone: | GA | ||
Target Release: | cfme-future | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-11-02 03:31:40 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | Bug | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | Openstack | Target Upstream Version: | |
Embargoed: |
Description
Sachin
2017-09-29 11:05:22 UTC
Ah, I see! I think this may be related to this other BZ then: https://bugzilla.redhat.com/show_bug.cgi?id=1460977. The fix for that BZ creates a config option that allows the refresh code to query all tenants at once for each query. This only works if the user is the 'admin' user. Would that fix your issue? (In reply to Tzu-Mainn Chen from comment #4) > Ah, I see! I think this may be related to this other BZ then: > https://bugzilla.redhat.com/show_bug.cgi?id=1460977. The fix for that BZ > creates a config option that allows the refresh code to query all tenants at > once for each query. This only works if the user is the 'admin' user. Would > that fix your issue? Currently these ems settings is available only in CFME 5.8 and work if user is domain admin. I decided to upgrade 5.7 to 5.8 because I have no time to wait of backport for this bug. For 'admin' user from default domain the collection of Cinder cloud volumes from another domains does not work. Do not forget that customers can use not only default domain but the domain with external authentication (like Active Directory). For this reason I create admin project in my custom domain and configure related advanced settings: ~~~~~~~~~~~~~~~~~~~~ :ems: :ems_openstack: :excon: :omit_default_port: true :read_timeout: 600 :refresh: :is_admin: true <----- Need to support fast refresh by one api call :heat: :is_global_admin: true <----- Need to support fast refresh by one api call ~~~~~~~~~~~~~~~~~~~~ Currently the refresh timing in acceptable range - 1,5 to 3 minutes for CFME 5.8.1 Yes. Closing BZ as the fix is available in 5.8 |