Bug 1829833 - Metering has significant performance issues when using Ansible 2.9.6 and above.
Summary: Metering has significant performance issues when using Ansible 2.9.6 and above.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Metering Operator
Version: 4.4
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.4.z
Assignee: tflannag
QA Contact: Peter Ruan
URL:
Whiteboard:
Depends On: 1829836
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-30 13:01 UTC by tflannag
Modified: 2020-05-20 19:54 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1829836 (view as bug list)
Environment:
Last Closed: 2020-05-18 13:35:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kube-reporting metering-operator pull 1201 0 None closed Bug 1829833: Replace all instances of the depreciated k8s_facts module with k8s_info. 2020-10-05 16:18:53 UTC
Github kube-reporting metering-operator pull 1209 0 None closed Bug 1829833: Fix performance issues when deploying Metering on Ansible 2.9.6+ versions. 2020-10-05 16:18:52 UTC
Red Hat Product Errata RHBA-2020:2133 0 None None None 2020-05-18 13:35:19 UTC

Comment 1 Ben Parees 2020-04-30 13:58:21 UTC
moving to urgent, we need this to land in the first z-stream after 4.4.0GA.  Ping me if you run into patch manager approval questions.

Comment 5 Peter Ruan 2020-05-11 16:39:46 UTC
Verified with build 4.4.0-0.nightly-2020-05-08-224132.  Which has version metering-operator.4.4.0-202005081957. Metering installation was successful and reports can be generated.  

sh-4.2$ ansible --version
ansible 2.9.7
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/usr/share/ansible/openshift']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, Sep 26 2019, 13:23:47) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
sh-4.2$ 

pruan@MacBook-Pro ~/workspace/v3-testfiles/metering/rollup_reports (master●)$ oc get installplan
NAME            CSV                                    APPROVAL    APPROVED
install-ntfxv   metering-operator.4.4.0-202005081957   Automatic   true

pruan@MacBook-Pro ~/workspace/v3-testfiles/metering/rollup_reports (master●)$ oc get reports
NAME                              QUERY                         SCHEDULE   RUNNING    FAILED   LAST REPORT TIME       AGE
namespace-memory-usage-now        namespace-memory-usage                   Finished            2020-12-30T23:59:59Z   29m
persistentvolumeclaim-usage-now   persistentvolumeclaim-usage              Finished            2020-12-30T23:59:59Z   10s

Comment 6 Peter Ruan 2020-05-11 16:58:40 UTC
The ansible installation has added benefit of quicker execution time.  The following output shows time delta

pruan@MacBook-Pro ~/workspace/gocode/src/github.com/operator-framework/operator-metering (master●)$ oc get pods
NAME                                  READY   STATUS    RESTARTS   AGE
hive-metastore-0                      2/2     Running   0          2m38s
hive-server-0                         3/3     Running   0          2m39s
metering-operator-7688c5cd5f-bp6df    2/2     Running   0          4m54s
presto-coordinator-0                  2/2     Running   0          2m19s
reporting-operator-67b74bbf57-ww8tc   2/2     Running   0          117s

Comment 8 errata-xmlrpc 2020-05-18 13:35:03 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://access.redhat.com/errata/RHBA-2020:2133


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