Project

General

Profile

Actions

Bug #22940

closed

foreman-installer does not create /usr/share/foreman/.postgresql/root.crt

Added by Ales Dujicek about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Foreman modules
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

foreman-installer does not create /usr/share/foreman/.postgresql/root.crt when --foreman-db-manage false is set

how to reproduce:
  1. foreman-installer --scenario katello --foreman-db-manage false --foreman-db-host remote-db-host.redhat.com --foreman-db-root-cert /usr/share/foreman/root.crt
    [ WARN 2018-03-19T10:24:21 main] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/returns: ActiveRecord::NoDatabaseError: root certificate file "/usr/share/foreman/.postgresql/root.crt" does not exist
  2. ls /usr/share/foreman/.postgresql/root.crt
    ls: cannot access /usr/share/foreman/.postgresql/root.crt: No such file or directory

version
foreman-installer-1.18.0-0.develop.201803160331giteb46741.el7.noarch


Related issues 1 (0 open1 closed)

Related to Installer - Bug #20079: Foreman does not verify CA on postgres DB connections with SSLClosedMartin Bacovsky06/21/2017Actions
Actions

Also available in: Atom PDF