Project

General

Profile

Actions

Bug #33540

closed

Run 'subscription-manager clean' when force=true

Added by Leos Stejskal about 2 years ago. Updated about 2 years ago.

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

Description

Description of problem:
Registration of CentOS 8 & RHEL 8 hosts that are already subscribed to another instance (or to cloud) fails with following error:
```
Unregistering from: satellite.example.com
Unable to verify server's identity: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:897)
```

Version-Release number of selected component (if applicable):
6.10

How reproducible:
  • CentOS 8 and RHEL 8 only that are already subscribed somewhere else

Steps to Reproduce:
1. Try to register already subscribed CentOS 8 / RHEL 8 machine

Actual results:
Registration fails with error:
```
Unregistering from: satellite.example.com
Unable to verify server's identity: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:897)
```

Expected results:
Machine successfully registered.

Additional info:
Registration template should run `subscription-manager clean` command when `--force` parameter is `true`

Actions #1

Updated by Leos Stejskal about 2 years ago

  • Subject changed from b"Run 'subscription-manager clean' when force=true" to Run 'subscription-manager clean' when force=true
  • Description updated (diff)
  • Category set to Host registration
  • Assignee set to Leos Stejskal
Actions #2

Updated by The Foreman Bot about 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8789 added
Actions #3

Updated by The Foreman Bot about 2 years ago

  • Fixed in Releases 3.1.0 added
Actions #4

Updated by Anonymous about 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF