Bug 2168551 - Ansible inventory from neutron inefficiency in large scale deployments
Summary: Ansible inventory from neutron inefficiency in large scale deployments
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ga
: 17.1
Assignee: Harald Jensås
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-09 11:30 UTC by Harald Jensås
Modified: 2023-08-16 01:14 UTC (History)
5 users (show)

Fixed In Version: openstack-tripleo-common-15.4.1-1.20230518211050.cbb03c0.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-16 01:13:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 873158 0 None ABANDONED Inventory: Track seen nets, add/get new nets only 2023-04-27 14:46:20 UTC
Red Hat Issue Tracker OSP-22208 0 None None None 2023-02-09 11:33:20 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:14:11 UTC

Description Harald Jensås 2023-02-09 11:30:40 UTC
Description of problem:

The code currently calls the network service for network and subnet information once for every port. This generates a very high number of calls that retrieves identical data.

This change[1] improves the situation substantially:

Results in 250 node test environment for comparison
----------------------------------------------------------------------
OLD: Generate ansible inventory | localhost | 0:09:35.990553 | 124.56s
NEW: Generate ansible inventory | localhost | 0:07:27.473631 |   2.57s
----------------------------------------------------------------------


https://review.opendev.org/c/openstack/tripleo-common/+/873158

Comment 9 James E. LaBarre 2023-07-18 16:34:06 UTC
Verified change in place on compose RHOS-17.1-RHEL-9-20230712.n.1 (downstream only, upstream tripleo master not maintained)

Comment 15 errata-xmlrpc 2023-08-16 01:13:48 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 (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), 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://access.redhat.com/errata/RHEA-2023:4577


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