Bug #12266
closedkatello-ca-consumer-latest.noarch.rpm is not linked to latest katello-ca-consumer.noarch.rpm
Description
If there is more than 9x runs of "katello-installer [..] --certs-update-server-ca
" then katello-ca-consumer-latest.noarch.rpm
will become linked to katello-ca-consumer-katello.tld-1.0-9.src.rpm
but not to latest ca-consumer rpm.
Hope that this listing will be enough to understand root cause:# ls -l /var/www/html/pub/
[..]
lrwxrwxrwx. 1 root root 74 Oct 22 18:31 katello-ca-consumer-latest.noarch.rpm -> /var/www/html/pub/katello-ca-consumer-katello.tld-1.0-9.noarch.rpm
-rw-r--r--. 1 root root 10267 Oct 22 18:31 katello-ca-consumer-katello.tld-1.0-10.noarch.rpm
-rw-r--r--. 1 root root 10734 Oct 22 18:31 katello-ca-consumer-katello.tld-1.0-10.src.rpm
-rw-r--r--. 1 root root 7745 Feb 27 2015 katello-ca-consumer-katello.tld-1.0-1.noarch.rpm
-rw-r--r--. 1 root root 8378 Feb 27 2015 katello-ca-consumer-katello.tld-1.0-1.src.rpm
-rw-r--r--. 1 root root 7542 May 27 16:55 katello-ca-consumer-katello.tld-1.0-2.noarch.rpm
-rw-r--r--. 1 root root 8261 May 27 16:55 katello-ca-consumer-katello.tld-1.0-2.src.rpm
-rw-r--r--. 1 root root 10267 Oct 19 16:35 katello-ca-consumer-katello.tld-1.0-3.noarch.rpm
-rw-r--r--. 1 root root 10733 Oct 19 16:35 katello-ca-consumer-katello.tld-1.0-3.src.rpm
-rw-r--r--. 1 root root 10267 Oct 22 14:43 katello-ca-consumer-katello.tld-1.0-4.noarch.rpm
-rw-r--r--. 1 root root 10735 Oct 22 14:43 katello-ca-consumer-katello.tld-1.0-4.src.rpm
-rw-r--r--. 1 root root 10266 Oct 22 15:42 katello-ca-consumer-katello.tld-1.0-5.noarch.rpm
-rw-r--r--. 1 root root 10742 Oct 22 15:42 katello-ca-consumer-katello.tld-1.0-5.src.rpm
-rw-r--r--. 1 root root 10267 Oct 22 15:55 katello-ca-consumer-katello.tld-1.0-6.noarch.rpm
-rw-r--r--. 1 root root 10743 Oct 22 15:55 katello-ca-consumer-katello.tld-1.0-6.src.rpm
-rw-r--r--. 1 root root 10267 Oct 22 16:00 katello-ca-consumer-katello.tld-1.0-7.noarch.rpm
-rw-r--r--. 1 root root 10745 Oct 22 16:00 katello-ca-consumer-katello.tld-1.0-7.src.rpm
-rw-r--r--. 1 root root 10267 Oct 22 16:05 katello-ca-consumer-katello.tld-1.0-8.noarch.rpm
-rw-r--r--. 1 root root 10743 Oct 22 16:05 katello-ca-consumer-katello.tld-1.0-8.src.rpm
-rw-r--r--. 1 root root 10267 Oct 22 16:23 katello-ca-consumer-katello.tld-1.0-9.noarch.rpm
-rw-r--r--. 1 root root 10749 Oct 22 16:23 katello-ca-consumer-katello.tld-1.0-9.src.rpm
-rw-r--r--. 1 apache apache 5402 Feb 27 2015 katello-default-ca.crt
-rw-r--r--. 1 root root 3326 Oct 22 17:18 katello-server-ca.crt
Probably bad sorting method used to detect latest ca consumer.
Updated by Vladimir Stackov about 9 years ago
Packages:
rubygem-hammer_cli_katello-0.0.17-2.el7.noarch
katello-selinux-2.2.1-1.el7.noarch
katello-default-ca-1.0-1.noarch
katello-service-2.3.0-6.el7.noarch
katello-2.3.0-6.el7.noarch
katello-certs-tools-2.3.0-4.el7.noarch
katello-installer-2.3.1-6.el7.noarch
katello-common-2.3.0-6.el7.noarch
katello-server-ca-1.0-15.noarch
katello-agent-2.3.1-4.el7.noarch
katello-installer-base-2.3.1-6.el7.noarch
ruby193-rubygem-katello-2.3.1-2.el7.noarch
pulp-katello-0.4-2.el7.noarch
katello-debug-2.3.0-6.el7.noarch
Updated by Eric Helms about 9 years ago
- Translation missing: en.field_release set to 70
- Triaged changed from No to Yes
Updated by Justin Sherrill about 9 years ago
- Translation missing: en.field_release changed from 70 to 86
Updated by Eric Helms over 8 years ago
- Status changed from New to Closed
- Pull request https://github.com/Katello/puppet-certs/pull/86, https://github.com/Katello/puppet-certs/pull/87 added
Updated by Eric Helms over 8 years ago
- Pull request https://github.com/Katello/puppet-certs/pull/83, https://github.com/Katello/puppet-certs/pull/84 added
- Pull request deleted (
https://github.com/Katello/puppet-certs/pull/87)