Bug #38651
closedMultiple content view environments for activation keys do not follow prioritization rules
Description
In the documentation, it says that the prioritization of the CVEs follows the order in which they are specified.
Steps to Reproduce:
1. Install hammer with hammer-cli-katello extension
2. Execute `hammer activation-key create --name MULTI_CV_UBUNTU_AC --organization-id 1 --content-view-environments="test/CV_Ubuntu,development/CV_Ubuntu"`
*Actual results: *
The order of the CVEs is turned around:
[root@test-deploy-master ~]# hammer activation-key list --organization-id 1
---|------------------------|----------------|----------------------------------------------------|-------------------------------
ID | NAME | HOST LIMIT | CONTENT VIEW ENVIRONMENTS | MULTI CONTENT VIEW ENVIRONMENT
---|------------------------|----------------|----------------------------------------------------|-------------------------------
42 | MULTI_CV_UBUNTU_AC | 0 of Unlimited | development/CV_Ubuntu,test/CV_Ubuntu | yes
*Expected results: *
The order of the CVEs stays the same as given in the hammer command.
Updated by Nadja Heitmann 8 months ago
- Category set to Activation Key
- Fixed in Releases Katello 4.19.0 added
- Found in Releases Katello 4.16.2 added
Updated by Nofar Kirshon 8 months ago
- Triaged changed from No to Yes
- Fixed in Releases Katello 4.20.0 added
- Fixed in Releases deleted (
Katello 4.19.0)
Updated by Jeremy Lenz 6 months ago
unable to reproduce as of 3 Nov 2025, marking resolved