Project

General

Profile

Actions

Bug #15775

closed

katello-certs-check should print absolute paths to certificates

Added by Jake Callahan over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Installer
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

Description of problem:
The script currently outputs installer suggestions. However, it will use whatever relative path the user passes in as an argument. This caused an error during an upgrade from 6.1.9 to 6.2.
"rhsm-qe-3.rhq.lab.eng.bos.redhat.com.crt" is not an absolute path. at /usr/share/katello-installer-base/modules/certs/manifests/init.pp:115 on node rhsm-qe-3.rhq.lab.eng.bos.redhat.com

How reproducible:
Always

Steps to Reproduce:
1. run the katello-certs-check script while passing in relative paths to the cert files.

Actual results:
katello-installer --certs-server-cert "rhsm-qe-3.rhq.lab.eng.bos.redhat.com.crt"\
--certs-server-cert-req "rhsm-qe-3.rhq.lab.eng.bos.redhat.com.crt.req"\
--certs-server-key "rhsm-qe-3.rhq.lab.eng.bos.redhat.com.key"\
--certs-server-ca-cert "cacert.crt"\
--certs-update-server --certs-update-server-ca

Expected results:
satellite-installer --scenario satellite\
--certs-server-cert "/root/sat_cert/rhsm-qe-3.rhq.lab.eng.bos.redhat.com.crt"\
--certs-server-cert-req "/root/sat_cert/rhsm-qe-3.rhq.lab.eng.bos.redhat.com.crt.req"\
--certs-server-key "/root/sat_cert/rhsm-qe-3.rhq.lab.eng.bos.redhat.com.key"\
--certs-server-ca-cert "/root/sat_cert/cacert.crt"

Actions #1

Updated by Brad Buckingham over 7 years ago

  • Bugzilla link set to 1358935
Actions #2

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-installer/pull/379 added
Actions #3

Updated by Jacob Callahan over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Justin Sherrill over 7 years ago

  • translation missing: en.field_release set to 171
  • Difficulty set to easy
Actions #5

Updated by Eric Helms over 7 years ago

  • translation missing: en.field_release changed from 171 to 162
Actions

Also available in: Atom PDF