Bug 2338654 - ganglia: ganaglia-web: Unable to expand metrics group when clicking on button
Summary: ganglia: ganaglia-web: Unable to expand metrics group when clicking on button
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: ganglia
Version: epel9
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Nick
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-17 20:05 UTC by Fernando
Modified: 2025-04-15 19:20 UTC (History)
2 users (show)

Fixed In Version: ganglia-3.7.2-58.fc42 ganglia-3.7.2-58.el8 ganglia-3.7.2-58.fc41 ganglia-3.7.2-58.el9 ganglia-3.7.2-58.fc40
Clone Of:
Environment:
Last Closed: 2025-04-15 17:59:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Fernando 2025-01-17 20:05:19 UTC
Description of problem:
When browsing Ganglia Web if one goes to a host or group and tries to expand a metrics group to toggle on the graphs, it silently fails to do so. 

Version-Release number of selected component (if applicable):
3.7.6

How reproducible:
Always.

Steps to Reproduce:
1. Browse on Ganglia Web to a desired host.
2. Click on any group metrics button.

Actual results:
Nothing happens.

Expected results:
Button expands and shows underneath showing the graphs for the metrics group.

Additional info:
The following error is noted in the php-fpm error logs:

PHP Parse error:  syntax error, unexpected string content "", expecting "-" or identifier or variable or number in /usr/share/ganglia/metric_group_view.php on line 108

The line in question looks as follow:
 . "&js=$jobstart&st=$cluster['LOCALTIME']";

To fix the issue replace:
$cluster['LOCALTIME']

with:
$cluster[LOCALTIME]

The problem here is that this line is enclosed in double quotes, and therefore the single quotes to reference the element in the array should not be there. Seems like a quirk of PHP.

I have checked the other files in the source and I did not find this issue anywhere else.

Comment 1 Terje Rosten 2025-04-05 16:35:40 UTC
Thanks for report and fix

Comment 2 Fedora Update System 2025-04-05 19:57:32 UTC
FEDORA-2025-757fe3d575 (ganglia-3.7.2-58.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-757fe3d575

Comment 3 Fedora Update System 2025-04-05 19:57:33 UTC
FEDORA-EPEL-2025-550175f160 (ganglia-3.7.2-58.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-550175f160

Comment 4 Fedora Update System 2025-04-05 19:57:34 UTC
FEDORA-2025-93cb4fb1de (ganglia-3.7.2-58.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-93cb4fb1de

Comment 5 Fedora Update System 2025-04-05 19:57:34 UTC
FEDORA-2025-aa8fb330b9 (ganglia-3.7.2-58.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-aa8fb330b9

Comment 6 Fedora Update System 2025-04-05 19:57:35 UTC
FEDORA-EPEL-2025-5a938f85bf (ganglia-3.7.2-58.el8) has been submitted as an update to Fedora EPEL 8.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-5a938f85bf

Comment 7 Fedora Update System 2025-04-06 01:22:19 UTC
FEDORA-EPEL-2025-5a938f85bf has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-5a938f85bf

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2025-04-06 02:16:41 UTC
FEDORA-2025-93cb4fb1de has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-93cb4fb1de`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-93cb4fb1de

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2025-04-06 02:27:19 UTC
FEDORA-EPEL-2025-550175f160 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-550175f160

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2025-04-06 02:45:40 UTC
FEDORA-2025-aa8fb330b9 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-aa8fb330b9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-aa8fb330b9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2025-04-06 03:00:15 UTC
FEDORA-2025-757fe3d575 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-757fe3d575`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-757fe3d575

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2025-04-15 17:59:07 UTC
FEDORA-2025-aa8fb330b9 (ganglia-3.7.2-58.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2025-04-15 18:24:09 UTC
FEDORA-EPEL-2025-5a938f85bf (ganglia-3.7.2-58.el8) has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2025-04-15 18:34:22 UTC
FEDORA-2025-93cb4fb1de (ganglia-3.7.2-58.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2025-04-15 18:45:42 UTC
FEDORA-EPEL-2025-550175f160 (ganglia-3.7.2-58.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2025-04-15 19:20:21 UTC
FEDORA-2025-757fe3d575 (ganglia-3.7.2-58.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


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