#1225 Adding a centos-release-autosd package to autosd9s-packages-main-candidate
Closed: Fixed a year ago by dkirwan. Opened a year ago by pingou.

Good Morning,

I must be missing something obvious, yet, I can't figure it out.
I'm trying to add the package centos-release-autosd to the tag autosd9s-packages-main-candidate, but this fails:

$ cbs add-pkg --owner=pingou  autosd9s-packages-main-candidate centos-release-autosd
Adding 1 packages to tag autosd9s-packages-main-candidate
2023-07-24 09:16:42,699 [ERROR] koji: ActionNotAllowed: policy violation (package_list)

Is that something that is expected that I cannot do?

If someone else need to do it, could you do it for the different autosd9s tags?

Thanks!


Metadata Update from @dkirwan:
- Issue assigned to dkirwan

a year ago

Metadata Update from @dkirwan:
- Issue tagged with: cbs, low-trouble, medium-gain

a year ago

I've added this:

koji add-pkg --owner=pingou  autosd9s-packages-main-candidate centos-release-autosd
Adding 1 packages to tag autosd9s-packages-main-candidate

can you provide a list of the other tags that this needs to be added to also?

koji add-pkg --owner=pingou autosd9s-packages-main-candidate centos-release-autosd Adding 1 packages to tag autosd9s-packages-main-candidate

koji? Not cbs? Or if your koji cli pointing to cbs.centos.org?

can you provide a list of the other tags that this needs to be added to also?

Here they are:
automotive9s-packages-main-testing
automotive9s-packages-main-release
automotive9s-packages-main-el9s
automotive9s-packages-main-el9s-build
IIRC one of the last two isn't really needed, but I never know which one, so I
try both and one of them fails :]

Yup this koji-cli is pointing at cbs! :D

cheers, adding centos-release-autosd all to:
- automotive9s-packages-main-testing
- automotive9s-packages-main-release
- automotive9s-packages-main-el9s
- automotive9s-packages-main-el9s-build

Ok done:

koji add-pkg --owner=pingou automotive9s-packages-main-testing centos-release-autosd
Adding 1 packages to tag automotive9s-packages-main-testing

koji add-pkg --owner=pingou automotive9s-packages-main-release centos-release-autosd
Adding 1 packages to tag automotive9s-packages-main-release

koji add-pkg --owner=pingou automotive9s-packages-main-el9s centos-release-autosd
No such tag: automotive9s-packages-main-el9s

koji add-pkg --owner=pingou automotive9s-packages-main-el9s-build centos-release-autosd
Adding 1 packages to tag automotive9s-packages-main-el9s-build

Metadata Update from @dkirwan:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

a year ago

just reviewed the policy for autosd tags in the package_list section and there was a typo for the build permission , which is now fixed and pushed back to git for cbs (so should work next time)

just reviewed the policy for autosd tags in the package_list section and there was a typo for the build permission , which is now fixed and pushed back to git for cbs (so should work next time)

Thanks!

Log in to comment on this ticket.

Metadata