Hide Forgot
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:
Created redmine issue http://projects.theforeman.org/issues/15158 from this bug
Moving to POST since upstream bug http://projects.theforeman.org/issues/15158 has been closed
*** Bug 1339205 has been marked as a duplicate of this bug. ***
build : Satellite 6.2 snap 15.2 capsule-certs-generate --capsule-fqdn "xyz.com" --certs-tar /root/certscap/xyz.com.tar --server-cert /root/certscap/xyz.com.crt --server-cert-req /root/certscap/xyz.com.crt.req --server-key /root/certscap/xyz.com.key --server-ca-cert /root/cacertcap.crt --certs-update-server Marking certificate /root/ssl-build/xyz.com/xyz.com-apache for update Marking certificate /root/ssl-build/xyz.com/xyz.com-foreman-proxy for update Installing Done [100%] [..................................................................................] Success! To finish the installation, follow these steps: ... ....
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1501
Ran into this issue with capsule 6.6 I just had to 'mkdir /root/ssl-build/; mkdir /root/ssl-build/$(hostname -f)'