#6245 koji untagging permission problems
Closed: Fixed None Opened 8 years ago by ellert.

In the new bodhi web interface buildroot overrides created using the old web interface are not shown. This means that in order to remove buildroot overrides created with the old interface, the cli tools must be used. This however doesn't work for me:

{{{
$ koji list-tagged f22-override globus-gridftp-server
Build Tag Built by


globus-gridftp-server-8.1-1.fc22 f22-override ellert
globus-gridftp-server-8.7-1.fc22 f22-override ellert
$ koji untag-build f22-override globus-gridftp-server-8.1-1.fc22
ActionNotAllowed: tag requires fedora-override permission
}}}

Why am I not allowed to untag overrides I created myself?


Why am I not allowed to untag overrides I created myself?

The permissions aren't that granular, They're only based on the tags "user X can do Y against tag Z" no user X tagged to this so they can untag X too.

You should use the bodhi interface to expire the override just like you added it:

{{{
koji list-history --build=globus-gridftp-server-8.1-1.fc22
Thu Aug 6 11:22:43 2015 globus-gridftp-server-8.1-1.fc22 tagged into f22-updates-candidate by ellert
Thu Aug 6 12:26:59 2015 globus-gridftp-server-8.1-1.fc22 tagged into f22-override by bodhi [still active]
Thu Aug 6 14:12:49 2015 globus-gridftp-server-8.1-1.fc22 tagged into f22-updates-testing-pending by bodhi
Fri Aug 7 00:50:43 2015 globus-gridftp-server-8.1-1.fc22 untagged from f22-updates-candidate by bodhi
Fri Aug 7 00:50:43 2015 globus-gridftp-server-8.1-1.fc22 tagged into f22-updates-testing by bodhi
Fri Aug 7 00:57:08 2015 globus-gridftp-server-8.1-1.fc22 untagged from f22-updates-testing-pending by bodhi
Wed Aug 19 09:46:26 2015 globus-gridftp-server-8.1-1.fc22 tagged into f22-updates-pending by bodhi
Thu Aug 20 20:49:35 2015 globus-gridftp-server-8.1-1.fc22 untagged from f22-updates-testing by bodhi
Thu Aug 20 20:49:35 2015 globus-gridftp-server-8.1-1.fc22 tagged into f22-updates by bodhi [still active]
Thu Aug 20 20:49:53 2015 globus-gridftp-server-8.1-1.fc22 untagged from f22-updates-pending by bodhi
}}}

As I explained in the original complaint - the new bodhi 2 inteface does not allow expiring buildroot overrides created using the bodhi 1 interface. The suggested workaround in the issue filed for this problem (https://github.com/fedora-infra/bodhi/issues/416) is to use the cli tools.

If this workaround is not supposed to work, could rel-eng please suggest to the bodhi developers to prioritize fixing the broken bodhi web interface?

As it is a transitional issue you will have to file a releng ticket to have a koji admin untag the build for you. I have untagged the build for you.

Thank you.

However, the one build mentioned in the ticket was an example and not the complete set.
Please also untag:
{{{
globus-gridftp-server-8.1-1.el7 epel7-override
globus-gridftp-server-8.1-1.el6 dist-6E-epel-override
globus-gridftp-server-8.1-1.el5 dist-5E-epel-override
globus-gridftp-server-8.1-1.fc21 f21-override
}}}

the f21 override needs to be untagged by someone else, it does not work for me:

{{{
$ koji untag-build f21-override globus-gridftp-server-8.1-1.fc21
ActionNotAllowed: tag requires fedora-override permission
}}}

The EPEL overrides are removed.

I have removed the f21 overrides also

Metadata Update from @ellert:
- Issue set to the milestone: Fedora 22 Final

7 years ago

Login to comment on this ticket.

Metadata