Project

General

Profile

Actions

Bug #21138

closed

capsule-certs-generate throws NoMethodError post migration to 6.3

Added by Martin Bacovsky over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
High
Category:
Installer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1495847

Description of problem:
After upgrading satellite 6.2 to 6.3, generating capsule cert using 'capsule-certs-generate' is broken.
It throws NoMethodError:
------------------------------------------------------------
  1. capsule-certs-generate -v --foreman-proxy-fqdn <capsule_fqdn> --certs-tar <capsule_fqdn>_certs.tar

/usr/sbin/capsule-certs-generate:87:in `ensure in <main>': undefined method `cleanup' for nil:NilClass (NoMethodError)
from /usr/sbin/capsule-certs-generate:87:in `<main>'
------------------------------------------------------------

Version-Release number of selected component (if applicable):
Satellite 6.3 snap 17

How reproducible:
Always

Steps to Reproduce:
1. Satellite and Capsule on 6.2
2. Upgrade Satellite
3. To upgrade capsule, generate latest capsule cert tar on upgrade satellite

Actual results:
capsule-certs-generate fails with NoMethodError:


  1. capsule-certs-generate -v --foreman-proxy-fqdn <capsule_fqdn> --certs-tar <capsule_fqdn>_certs.tar

/usr/sbin/capsule-certs-generate:87:in `ensure in <main>': undefined method `cleanup' for nil:NilClass (NoMethodError)
from /usr/sbin/capsule-certs-generate:87:in `<main>'
------------------------------------------------------------

Expected results:
capsule-certs-generate should be migrated properly, should be functional and shouldn't throw any incorrect errors.

Actions #1

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Martin Bacovsky
  • Pull request https://github.com/Katello/katello-installer/pull/543 added
Actions #2

Updated by Justin Sherrill over 6 years ago

  • translation missing: en.field_release set to 250
Actions #3

Updated by Martin Bacovsky over 6 years ago

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

Also available in: Atom PDF