Project

General

Profile

Bug #33540

Run 'subscription-manager clean' when force=true

Added by Leos Stejskal 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host registration
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
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`

Associated revisions

Revision 7d12d02e (diff)
Added by Stejskal Leos 11 months ago

Fixes #33540 - Run 'subscription-manager clean' when force=true

History

#1 Updated by Leos Stejskal 11 months ago

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

#2 Updated by The Foreman Bot 11 months ago

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

#3 Updated by The Foreman Bot 11 months ago

  • Fixed in Releases 3.1.0 added

#4 Updated by Anonymous 11 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF