Bug 2226731 - Current koji client doesnt work with the rpmfusion instance: koji: GenericError: Invalid method: getKojiVersion
Summary: Current koji client doesnt work with the rpmfusion instance: koji: GenericErr...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: koji
Version: 37
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Mike McLean
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-26 11:08 UTC by Jaroslav Škarvada
Modified: 2023-07-28 21:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jaroslav Škarvada 2023-07-26 11:08:25 UTC
Current koji client doesn't work with rpmfusion koji instance.

Reproducible: Always

Steps to Reproduce:
1. koji -p koji-rpmfusion cancel $TASKID
or manually:
koji -s https://koji.rpmfusion.org/kojihub --cert=~/.rpmfusion.cert --authtype=ssl cancel $TASKID

Actual Results:  
2023-07-25 19:21:27,435 [ERROR] koji: GenericError: Invalid method: getKojiVersion



Expected Results:  
No error, task canceled.

It works OK with:
koji-1.21.0-2.fc30.noarch

Comment 1 Jaroslav Škarvada 2023-07-26 11:09:01 UTC
Reproduced with:
koji-1.33.0-1.fc37.noarch

Comment 2 Kevin Fenzi 2023-07-28 18:52:12 UTC
I'm not sure what version rpmfusion is running (it's old enough that it doesn't report that on the api page). 

I don't think koji claims interoperability between clients that are very far apart.

Adding kwizart here for comment on the rpmfusion instance, perhaps it could be upgraded?

If not, we probibly should move this upstream and see if there's anything to do to make it more compatible to older versions.

Comment 3 Nicolas Chauvet (kwizart) 2023-07-28 21:10:28 UTC
Right, I think that's a recent change that made any recent client start to fail with older el7 based koji.
We might backport the getKojiVersion method in the el7 branch or to fix the client to assume older koji if the getKojiversion cannot be found.

For now the workaround is to use el7 koji client for cancel tasks.


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