Actions
Bug #26188
closedkatello-ssl-tool fails on nightly
Difficulty:
Triaged:
Yes
Description
[[31mERROR[0m [34m2019-02-28T10:51:34[0m [36mverbose[0m] Execution of '/bin/katello-ssl-tool --gen-ca -p file:/etc/pki/katello/private/katello-default-ca.pwd --force --ca-cert-dir /etc/pki/katello-certs-tools/certs --set-common-name pipeline-luna-nightly-centos7.kangae.example.com --ca-cert katello-default-ca.crt --ca-key katello-default-ca.key --ca-cert-rpm katello-default-ca --set-country US --set-state North Carolina --set-city Raleigh --set-org Katello --set-org-unit SomeOrgUnit --set-email --cert-expiration 36500' returned 2: Unknown option: - [[31mERROR[0m [34m2019-02-28T10:51:34[0m [36mverbose[0m] usage: /usr/bin/python2 [option] ... [-c cmd | -m mod | file | -] [arg] ... [[31mERROR[0m [34m2019-02-28T10:51:34[0m [36mverbose[0m] Try `python -h' for more information.
That's with katello-certs-tools-2.5.0-1.el7.noarch
Updated by Evgeni Golov over 5 years ago
The issue is it generated a wrong shebang:
#!/usr/bin/python2 -s -s
The second -s is too much.
Updated by Evgeni Golov over 5 years ago
from the koji log:
+ pathfix.py -pni '/usr/bin/python2 -s' . katello-ssl-tool … + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s'
this seems to generate the doubled -s
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-packaging/pull/3477 added
Updated by Evgeni Golov over 5 years ago
- Status changed from Ready For Testing to Closed
Updated by John Mitsch over 5 years ago
- Category set to Installer
- Target version set to Katello 3.12.0
- Triaged changed from No to Yes
Actions