Project

General

Profile

Actions

Bug #15158

closed

Cannot update custom certs with capsule-certs-generate --certs-update-server

Added by Stephen Benjamin almost 8 years ago. Updated almost 6 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1330566
Description of problem:
Build: snap 9.1

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Set up satellite 6 with custom certificate following install guide
2. Set up External capsule with custom certificate
3. try to update the certs on capsule , by using capsule-certs-generate and --certs-update-server option.
Actual results:

Expected results:
The certs should be updated and new capsule-certs.tar should be created

Actual result:

capsule-certs-generate --capsule-fqdn "sjagtap-capsule.satellite.lab.eng.rdu2.redhat.com" --certs-tar /root/certscap/sjagtap-capsule.satellite.lab.eng.rdu2.redhat.com.tar --server-cert /root/certscap/sjagtap-capsule.satellite.lab.eng.rdu2.redhat.com.crt --server-cert-req /root/certscap/sjagtap-capsule.satellite.lab.eng.rdu2.redhat.com.crt.req --server-key /root/certscap/sjagtap-capsule.satellite.lab.eng.rdu2.redhat.com.key --server-ca-cert /root/certscap/cacert.crt --certs-update-server
Marking certificate /root/ssl-build/sjagtap-capsule.satellite.lab.eng.rdu2.redhat.com/sjagtap-capsule.satellite.lab.eng.rdu2.redhat.com-apache for update
Marking certificate /root/ssl-build/sjagtap-capsule.satellite.lab.eng.rdu2.redhat.com/sjagtap-capsule.satellite.lab.eng.rdu2.redhat.com-foreman-proxy for update
Command '/usr/share/katello-installer-base/bin/katello-certs-check -c "/root/certscap/sjagtap-capsule.satellite.lab.eng.rdu2.redhat.com.crt" -r "/root/certscap/sjagtap-capsule.satellite.lab.eng.rdu2.redhat.com.crt.req" -k "/root/certscap/sjagtap-capsule.satellite.lab.eng.rdu2.redhat.com.key" -b "/root/certscap/cacert.crt"' exited with 127:
sh: /usr/share/katello-installer-base/bin/katello-certs-check: No such file or directory
/usr/share/gems/gems/kafo-0.7.3/lib/kafo/hook_context.rb:71:in `exit': private method `exit' called for #<Kafo::KafoConfigure:0x000000029fb1e8> (NoMethodError)
from /usr/share/katello-installer-base/hooks/pre/20-certs_update.rb:9:in `error'
from /usr/share/katello-installer-base/hooks/pre/20-certs_update.rb:62:in `block (4 levels) in load'
from /usr/share/gems/gems/kafo-0.7.3/lib/kafo/hooking.rb:34:in `instance_eval'
from /usr/share/gems/gems/kafo-0.7.3/lib/kafo/hooking.rb:34:in `block (4 levels) in load'
from /usr/share/gems/gems/kafo-0.7.3/lib/kafo/hook_context.rb:13:in `instance_exec'
from /usr/share/gems/gems/kafo-0.7.3/lib/kafo/hook_context.rb:13:in `execute'
from /usr/share/gems/gems/kafo-0.7.3/lib/kafo/hooking.rb:51:in `block in execute'
from /usr/share/gems/gems/kafo-0.7.3/lib/kafo/hooking.rb:49:in `each'
from /usr/share/gems/gems/kafo-0.7.3/lib/kafo/hooking.rb:49:in `execute'
from /usr/share/gems/gems/kafo-0.7.3/lib/kafo/kafo_configure.rb:373:in `run_installation'
from /usr/share/gems/gems/kafo-0.7.3/lib/kafo/kafo_configure.rb:149:in `execute'
from /usr/share/gems/gems/clamp-0.6.2/lib/clamp/command.rb:67:in `run'
from /usr/share/gems/gems/clamp-0.6.2/lib/clamp/command.rb:125:in `run'
from /usr/share/gems/gems/kafo-0.7.3/lib/kafo/kafo_configure.rb:156:in `run'
from /usr/sbin/capsule-certs-generate:49:in `<main>'

Additional info:

Actions #1

Updated by The Foreman Bot almost 8 years ago

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

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release set to 86
Actions #3

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release changed from 86 to 144
Actions #4

Updated by Anonymous almost 8 years ago

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

Also available in: Atom PDF