Project

General

Profile

Actions

Bug #18403

closed

capsule sync not working after hostname change

Added by John Mitsch about 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When one changes the hostname using katello-change-hostname, syncing and registering a capsule fails. The ueber cert is generated using the old CA and isn't changed, so its still using the old hostname

curl: (35) Peer does not recognize and trust the CA that issued your certificate.


Related issues 1 (0 open1 closed)

Related to Katello - Tracker #18273: hostname change issuesClosedJohn Mitsch01/26/2017

Actions
Actions #1

Updated by John Mitsch about 7 years ago

Actions #2

Updated by John Mitsch about 7 years ago

This is actually related to https://bugzilla.redhat.com/show_bug.cgi?id=1418376 Once this is fixed an in our daily build we can use a rake task that runs something like "::Katello::Resources::Candlepin::Consumer.get({}).select{|c| c['type']['label'] == 'uebercert' }.each{|c| ::Katello::Resources::Candlepin::Consumer.destroy(c['uuid']) }" to fix it.

Actions #3

Updated by John Mitsch about 7 years ago

workaround for the aforementioned candlepin bug: https://gist.github.com/johnpmitsch/af158851ddf1403a42343472a5b1d273

Actions #4

Updated by Eric Helms about 7 years ago

  • Project changed from Packaging to Katello
Actions #5

Updated by John Mitsch about 7 years ago

  • Target version set to 178
Actions #6

Updated by The Foreman Bot about 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6680 added
Actions #7

Updated by John Mitsch about 7 years ago

  • Project changed from Katello to Packaging
Actions #8

Updated by John Mitsch about 7 years ago

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

Updated by John Mitsch about 7 years ago

  • Pull request https://github.com/Katello/katello-packaging/pull/397 added
Actions #10

Updated by John Mitsch about 7 years ago

  • translation missing: en.field_release set to 209
Actions #11

Updated by John Mitsch about 7 years ago

  • Bugzilla link set to 924383
Actions #12

Updated by Eric Helms almost 7 years ago

  • Project changed from Packaging to Katello
  • Pull request deleted (https://github.com/Katello/katello-packaging/pull/397, https://github.com/Katello/katello/pull/6680)
Actions

Also available in: Atom PDF