Project

General

Profile

Bug #4967

Katello Kickstart Default uses https for installing the bootstrap rpm

Added by Ivan Necas over 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

But it fails on certs verification, as the ca cert is not there yet: either install
the the provisioned system and use http as output of 'subscription_manager_configuration_url'

Associated revisions

Revision a8814534 (diff)
Added by Ivan Necas over 6 years ago

Fixes #4967 - use http instead of https for bootstrap rpm in kickstart

We don't have the certificate installed yet, so the verification fails.

Revision ef7e02e5
Added by Ivan Necas over 6 years ago

Merge pull request #3944 from iNecas/fix-bootstrap-url

Fixes #4967 - use http instead of https for bootstrap rpm in kickstart

History

#1 Updated by Ivan Necas over 6 years ago

The workaround is to specify the http url explicitly in the subscription_manager_registration snippet (this also contains a workaround for http://projects.theforeman.org/issues/4974) :

<% if @host.params['kt_org'] and @host.params['kt_activation_keys'] %>
# add subscription manager
yum -t -y -e 0 install subscription-manager
rpm -ivh http://your-host.example.com/pub/katello-ca-consumer-latest.noarch.rpm

echo "Registering the System" 
subscription-manager register --org=<%= @host.params['kt_org']%> --name=<%= @host.name %> --activationkey=<%= @host.params['kt_activation_keys'] %>
<% end %>
<% if @host.puppetmaster && !@host.puppetmaster.empty? %>
subscription-manager config --rhsm.baseurl=https://<%= @host.puppetmaster %>/pulp/repos
<% end %>

#2 Updated by Ivan Necas over 6 years ago

  • Status changed from New to Assigned

#3 Updated by Ivan Necas over 6 years ago

  • Status changed from Assigned to New

#4 Updated by Ivan Necas over 6 years ago

  • Status changed from New to Assigned

#6 Updated by Ivan Necas over 6 years ago

  • Status changed from Assigned to Ready For Testing

#7 Updated by Ivan Necas over 6 years ago

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

Applied in changeset katello|commit:a8814534594083ec870c4c54200c9ec200b0c8d5.

#8 Updated by Eric Helms over 6 years ago

  • Triaged changed from No to Yes

#9 Updated by Eric Helms about 6 years ago

  • Legacy Backlogs Release (now unused) set to 13

Also available in: Atom PDF