Project

General

Profile

Bug #16934

katello-installer: set --certs-update-* options by default to true if --certs-server-* used

Added by Stephen Benjamin over 2 years ago. Updated 12 months ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Category:
Installer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1162690
Description of problem:
Currently, when one (re)installs Sat6 with --certs-server-* options but forgets to add --certs-update-* options, installation fails. Please set default values of --certs-update-* parameters according to (non)presence of --certs-server-* parameters.

In particular:
- default value of --certs-update-* is false/nil
- if --certs-server-* parameters set, use default value of --certs-update-* as true/yes
- an explicit setting of either --certs-update-* parameter overrides whatever of above default setting

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

How reproducible:
100%

Steps to Reproduce:
1. katello-installer
2. katello-installer --certs-server-cert <file> --certs-server-cert-req <file> --certs-server-key <file> --certs-server-ca-cert <file>

Actual results:
2nd installer fails with "422 unprocessable entity error", as --certs-update-* are false.

Expected results:
2nd installer succeeds as --certs-update-* is automatically set to true

Additional info:
Once this BZ is fixed, Will be "Procedure 2.3. Setting a Custom Server Certificate after running katello-installer" in installation still relevant or obsoleted?

History

#1 Updated by Justin Sherrill over 2 years ago

  • Subject changed from katello-installer: set --certs-update-* options by default to true if --certs-server-* used to katello-installer: set --certs-update-* options by default to true if --certs-server-* used
  • Legacy Backlogs Release (now unused) set to 114

#2 Updated by Chris Roberts over 2 years ago

  • Status changed from New to Rejected

Also available in: Atom PDF