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 #1

Updated by Ales Dujicek about 6 years ago

  • Related to Bug #20079: Foreman does not verify CA on postgres DB connections with SSL added
Actions #2

Updated by Ales Dujicek almost 6 years ago

  • Bugzilla link set to 1592681
Actions #3

Updated by Ales Dujicek almost 6 years ago

  • Subject changed from foreman-installer does create /usr/share/foreman/.postgresql/root.crt to foreman-installer does not create /usr/share/foreman/.postgresql/root.crt
Actions #4

Updated by Ivan Necas almost 6 years ago

  • Project changed from Foreman to Installer
  • Category set to Foreman modules
Actions #5

Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ewoud Kohl van Wijngaarden
  • Pull request https://github.com/theforeman/puppet-foreman/pull/650 added
Actions #6

Updated by Ewoud Kohl van Wijngaarden almost 6 years ago

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

Updated by Ewoud Kohl van Wijngaarden almost 6 years ago

  • Target version set to 1.18.0
  • Triaged set to No
Actions #8

Updated by Ewoud Kohl van Wijngaarden almost 6 years ago

  • Fixed in Releases 1.18.0 added
Actions

Also available in: Atom PDF