Project

General

Profile

Actions

Bug #26188

closed

katello-ssl-tool fails on nightly

Added by Evgeni Golov over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Installer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Actions #1

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.

Actions #2

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

Actions #3

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
Actions #4

Updated by Evgeni Golov over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

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

Also available in: Atom PDF