Project

General

Profile

Actions

Bug #4967

closed

Katello Kickstart Default uses https for installing the bootstrap rpm

Added by Ivan Necas almost 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
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'

Actions #1

Updated by Ivan Necas almost 10 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 %>

Actions #2

Updated by Ivan Necas almost 10 years ago

  • Status changed from New to Assigned
Actions #3

Updated by Ivan Necas almost 10 years ago

  • Status changed from Assigned to New
Actions #4

Updated by Ivan Necas almost 10 years ago

  • Status changed from New to Assigned
Actions #6

Updated by Ivan Necas almost 10 years ago

  • Status changed from Assigned to Ready For Testing
Actions #7

Updated by Ivan Necas almost 10 years ago

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

Applied in changeset katello|commit:a8814534594083ec870c4c54200c9ec200b0c8d5.

Actions #8

Updated by Eric Helms almost 10 years ago

  • Triaged changed from No to Yes
Actions #9

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF