Bug 2268551 - Customized grafana-cli script does not support the new CLI in grafana 10
Summary: Customized grafana-cli script does not support the new CLI in grafana 10
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: grafana
Version: 40
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: sfeifer
QA Contact: Fedora Extras Quality Assurance
URL: https://artifacts.dev.testing-farm.io...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-03-08 08:04 UTC by Jan Kurik
Modified: 2024-03-23 00:36 UTC (History)
7 users (show)

Fixed In Version: grafana-10.2.3-2.fc40
Clone Of:
Environment:
Last Closed: 2024-03-23 00:36:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan Kurik 2024-03-08 08:04:14 UTC
Grafana's CLI has been reworked in Grafana-10 and the customized grafana-cli script does not reflect this change.

Reproducible: Always

Steps to Reproduce:
1. Install grafana >= 10 (i.e.grafana-10.2.3-1.fc40)
2. Run grafana-cli
# grafana-cli plugins ls
Actual Results:  
Deprecation warning: The standalone 'grafana-cli' program is deprecated and will be removed in the future. Please update all uses of 'grafana-cli' to 'grafana cli'
grafana: 'cli' is not a grafana command. See 'grafana --help'.

Expected Results:  
The grafana-cli shows the deprecation warning and then lists available plugins.

Comment 1 Fedora Update System 2024-03-13 20:46:42 UTC
FEDORA-2024-634bf5b30c (grafana-10.2.3-2.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-634bf5b30c

Comment 2 Fedora Update System 2024-03-14 01:04:46 UTC
FEDORA-2024-634bf5b30c 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-2024-634bf5b30c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-634bf5b30c

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

Comment 3 Fedora Update System 2024-03-23 00:36:30 UTC
FEDORA-2024-634bf5b30c (grafana-10.2.3-2.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.