Bug 2166865 - metalsmith list taking more than ~150s at scale
Summary: metalsmith list taking more than ~150s at scale
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-metalsmith
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ga
: 17.1
Assignee: Harald Jensås
QA Contact: James E. LaBarre
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-03 09:37 UTC by Asma Syed Hameed
Modified: 2023-08-16 01:14 UTC (History)
5 users (show)

Fixed In Version: python-metalsmith-1.4.4-1.20230515184003.5e7461e.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-16 01:13:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 872963 0 None master: MERGED metalsmith: Use a network cache in Instance (I99a2d8ecab657c8e4c852c73e816a5a8f2856471) 2023-05-03 14:01:39 UTC
OpenStack gerrit 872966 0 None master: MERGED metalsmith: Get ports by 'binding:host_id' query filter (I1d85f3341e04ddf969027a6f6839f4a807666258) 2023-05-03 14:02:07 UTC
OpenStack gerrit 873048 0 None master: MERGED metalsmith: list_instances - cache allocations (Ic4cef61e338fb57bea5de4f96eb3584386cc5152) 2023-05-03 14:02:50 UTC
Red Hat Issue Tracker OSP-22024 0 None None None 2023-02-03 09:39:15 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:14:03 UTC

Description Asma Syed Hameed 2023-02-03 09:37:55 UTC
Description of problem:

We have 3 controllers, 224 computes and 5 ceph storage nodes, the metalsmith list is taking ~150 seconds to list the overcloud nodes which is quite slower

Version-Release number of selected component (if applicable):
RHOS-17.1-RHEL-9-20221130.n.1

How reproducible:
100%

Steps to Reproduce:
1. deploy OSP 17.1 with ~250 nodes
2. run metalsmith list

Actual results:
taking  ~150 second

Expected results:
Improve the response time for metalsmith list

Comment 14 James E. LaBarre 2023-07-18 17:05:02 UTC
I can verify some of the changes are in the RHOS-17.1-RHEL-9-20230712.n.1 compose, but not the metalsmith/test/* files.  Were packages brought in from elsewhere for this test?

Comment 15 Julia Kreger 2023-07-18 17:16:28 UTC
Tests may be excluded from packaging, since realistically they are not something an end user can execute. The test, itself, would have just been a execution of the command, not specific tests.

Comment 16 James E. LaBarre 2023-07-18 19:51:42 UTC
Verified by Scale/Performance. 

Part of this has merged already, the remainder will be in z1

Comment 23 errata-xmlrpc 2023-08-16 01:13:41 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.