Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1915346 - foreman-proxy-certs-generate fails with custom certificates
Summary: foreman-proxy-certs-generate fails with custom certificates
Keywords:
Status: CLOSED DUPLICATE of bug 1915347
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Eric Helms
QA Contact: Devendra Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-12 13:40 UTC by Eric Helms
Modified: 2021-01-14 15:16 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-14 15:16:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 31611 0 Normal Closed foreman-proxy-certs-generate fails with custom certificates 2021-01-25 16:27:13 UTC

Description Eric Helms 2021-01-12 13:40:05 UTC
See report https://community.theforeman.org/t/foreman-proxy-certs-generate-error-with-katello-3-18-1/21943

<pre>
[root@foreman ~]# foreman-proxy-certs-generate --foreman-proxy-fqdn "foreman-proxy.example.com"         --certs-tar  "~/foreman-proxy.example.com-certs.tar"         --server-cert "/root/foreman-proxy.crt"         --server-key "/root/foreman-proxy.key"         --server-ca-cert "/etc/pki/tls/certs/example-bundle-g2.crt"         --certs-update-all
Traceback (most recent call last):
	13: from /sbin/foreman-proxy-certs-generate:31:in `<main>'
	12: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/kafo_configure.rb:50:in `run'
	11: from /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in `run'
	10: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/kafo_configure.rb:169:in `run'
	 9: from /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run'
	 8: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/kafo_configure.rb:199:in `execute'
	 7: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/hooking.rb:51:in `execute'
	 6: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/hooking.rb:51:in `each'
	 5: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/hooking.rb:53:in `block in execute'
	 4: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/hook_context.rb:19:in `execute'
	 3: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/hook_context.rb:19:in `instance_eval'
	 2: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/hooking.rb:35:in `block (4 levels) in load'
	 1: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.2/lib/kafo/hooking.rb:35:in `instance_eval'
/usr/share/foreman-installer/katello-certs/hooks/pre_commit/20-certs_update.rb:17:in `block (4 levels) in load': undefined method `execute!' for #<Kafo::HookContext:0x0000000002d94278> (NoMethodError)
</pre>

Comment 1 Eric Helms 2021-01-12 13:40:09 UTC
Created from redmine issue https://projects.theforeman.org/issues/31611

Comment 2 Bryan Kearney 2021-01-13 13:30:43 UTC
Upstream bug assigned to ehelms

Comment 3 Bryan Kearney 2021-01-13 13:30:45 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/31611 has been resolved.

Comment 4 Brad Buckingham 2021-01-14 15:16:54 UTC

*** This bug has been marked as a duplicate of bug 1915347 ***


Note You need to log in before you can comment on or make changes to this bug.