But how to apply the patches?
Is some docs can guide me how to apply?
Thanks.
From: Aviv Litman <alitman@redhat.com>
Sent: Sunday, October 3, 2021 10:08 PM
To: Tommy Sway <sz_cuitao@163.com>
Subject: Re: Some errors on the grafana dashboard
Important note: do not to change the minimal version part in dwh ovirt-engine-dwh.spec.in file.
On Sun, Oct 3, 2021 at 4:50 PM Aviv Litman <alitman@redhat.com> wrote:
Hi Tommy,
You can try to implement the patches I shared manually by changing the relevant files in engine and dwh and run engine-setup.
Let me know if you have any questions.
Thanks,
Aviv
On Sun, Sep 19, 2021 at 4:56 PM Tommy Sway <sz_cuitao@163.com> wrote:
Thank you!
From: Aviv Litman <alitman@redhat.com>
Sent: Sunday, September 19, 2021 3:04 PM
To: Tommy Sway <sz_cuitao@163.com>
Subject: Re: Some errors on the grafana dashboard
Hi Tommy,
There was a bug in the way we calculate hosts CPU: we didn't consider the count_threads_as_cores option in the calculation.
The count_threads_as_cores column is available only from ovirt-engine 4.4.6.7 version, and ovirt-dwh 4.4.7.Patches:
So you have to update the version to 4.4.7.
I will also add a note in the Blog.
Feel free to contact me if you have more questions.
Best,
Aviv
On Tue, Sep 14, 2021 at 11:38 AM Tommy Sway <sz_cuitao@163.com> wrote:
Hello!
I used the JSON file you provided and imported grafana. Before importing, I replaced the version, because the version of my system is 4.3.
$ find . -type f -name "*dashboard.json" -exec sed -i -e 's/v4_4_/v4_3_/g' {} \;
However, most of the reports are normal, but some reports have similar errors:
pq: column "count_threads_as_cores" does not exist
Object
status:400
statusText:"Bad Request"
data:Object
results:Object
message:"pq: column "count_threads_as_cores" does not exist"
message:"pq: column "count_threads_as_cores" does not exist"
Many of the other reports worked fine, with only a few similar errors.
Is this caused by version incompatibility?
After all, 4.4 in the original document was replaced with 4.3 before the import.
Thank you!