Bug 1227909

Summary: CF ems refresh doesn't find all instances in OSP !>1000
Product: Red Hat CloudForms Management Engine Reporter: Greg Blomquist <gblomqui>
Component: ProvidersAssignee: Joe Vlcek <jvlcek>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: high Docs Contact:
Priority: high    
Version: 5.3.0CC: cpelland, dajohnso, gblomqui, jfrey, jhardy, jocarter, jprause, jvlcek, lsmola, mfeifer, nachandr, obarenbo, spurrier, ssainkar
Target Milestone: GAKeywords: ZStream
Target Release: 5.4.1   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.4.1.0 Doc Type: Bug Fix
Doc Text:
Previously, due to OpenStack servers pagination issue, CloudForms EMS refresh did not find all instances in OpenStack when it exceeded 1000 instances. With this update, the pagination issue has been resolved by fixing the limit and marker API parameters in nova's API for getting servers and flavors. The CloudForms EMS refresh now finds all instances correctly.
Story Points: ---
Clone Of: 1223536 Environment:
Last Closed: 2015-07-30 13:11:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1223536    
Bug Blocks:    

Comment 1 Greg Blomquist 2015-06-03 19:56:15 UTC
Changing from 5.4 to 5.4.z and removing blocker.

Comment 2 CFME Bot 2015-06-22 15:30:06 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=9c0bdfde2f1b54a0dfacb4c43da1c48f70d6fea2

commit 9c0bdfde2f1b54a0dfacb4c43da1c48f70d6fea2
Merge: 11cac25 53ac992
Author:     Greg Blomquist <gblomqui>
AuthorDate: Mon Jun 22 09:23:51 2015 -0400
Commit:     Greg Blomquist <gblomqui>
CommitDate: Mon Jun 22 09:23:51 2015 -0400

    Merge branch 'BZ1223536' into '5.4.z'
    
    cherry-pick of BZ-1223536 Fix Openstack servers pagination issue
    
    This MR is for a cherry-pick of BZ-1223536
        Fix Openstack servers pagination issue
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1227909
    
    See merge request !112

 .../models/ems_refresh/parsers/openstack_infra.rb  |  117 +-
 .../openstack_infra_refresher_rhos_juno_spec.rb    |   60 +-
 .../openstack_infra_refresher_rhos_juno.yml        | 3431 ++++++++++++--------
 3 files changed, 2116 insertions(+), 1492 deletions(-)

Comment 4 Nandini Chandra 2015-07-22 10:03:14 UTC
Verified in 5.4.1.0

Comment 6 errata-xmlrpc 2015-07-30 13:11:04 UTC
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.

https://rhn.redhat.com/errata/RHBA-2015-1511.html