Bug #22940
foreman-installer does not create /usr/share/foreman/.postgresql/root.crt
Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
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:- 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 - 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
Associated revisions
History
#1
Updated by Ales Dujicek almost 3 years ago
- Related to Bug #20079: Foreman does not verify CA on postgres DB connections with SSL added
#2
Updated by Ales Dujicek over 2 years ago
- Bugzilla link set to 1592681
#3
Updated by Ales Dujicek over 2 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
#4
Updated by Ivan Necas over 2 years ago
- Category set to Foreman modules
- Project changed from Foreman to Installer
#5
Updated by The Foreman Bot over 2 years ago
- Assignee set to Ewoud Kohl van Wijngaarden
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/puppet-foreman/pull/650 added
#6
Updated by Ewoud Kohl van Wijngaarden over 2 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset puppet-foreman|b937165001aac788fbafef0422984a59edaeba87.
#7
Updated by Ewoud Kohl van Wijngaarden over 2 years ago
- Triaged set to No
- Target version set to 1.18.0
#8
Updated by Ewoud Kohl van Wijngaarden over 2 years ago
- Fixed in Releases 1.18.0 added
Fixes #22940 - Ensure the PG root cert is installed
When a remote database is used the postgres server is not managed. This
meant that the certificate was not placed. It's moved to the config
since it's a client config that always needs to happen.