Bug #15158
closedCannot update custom certs with capsule-certs-generate --certs-update-server
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:
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello-installer/pull/341 added
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 86
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release changed from 86 to 144
Updated by Anonymous over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello-installer|83f11669c8d9f9dac2fe7434831f94f2851e8146.