[
https://issues.apache.org/jira/browse/TC-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15967666#comment-15967666
]
ASF GitHub Bot commented on TC-228:
-----------------------------------
GitHub user dangogh opened a pull request:
https://github.com/apache/incubator-trafficcontrol/pull/466
[TC-228] collective changes to postinstall to support postgres
this is a collection of all the changes to postinstall and related
utilities to support postgres setup and to provide a non-interactive means to
invoke postinstall.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dangogh/incubator-trafficcontrol
postinstall-2.0
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafficcontrol/pull/466.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #466
----
commit 0092660ea16d516c38b3c0f4af458e47a5167c24
Author: PeterRyder <[email protected]>
Date: 2017-02-06T15:51:43Z
Removed openssl file and now pass data directly to GenerateCert
(cherry picked from commit 9729d23677c3b8d2d4431d6e2e1335ff72fda7ff)
commit c9a0ca020591aa80badc1ad13a72073607dea56e
Author: PeterRyder <[email protected]>
Date: 2017-02-06T22:06:13Z
Check connection to database
(cherry picked from commit 6316bb33586b7b5e240bfc86ee307c076aec5023)
commit 06a1ccf62edec7e18e144a9f24eb9b3aa8b5e120
Author: PeterRyder <[email protected]>
Date: 2017-02-06T22:13:07Z
changed database driver to Pg
(cherry picked from commit bd79a22f45555bcdf37ca202b643a20b7a502c32)
commit 6de0e4603dfb043df1d692feca70fac192f3a73d
Author: PeterRyder <[email protected]>
Date: 2017-02-07T16:14:23Z
Corrected database connection and removed hardcoded getDbDriver function
(cherry picked from commit 72f5b25bf81a4f3756b3763568cd091fbec0e696)
commit 4a3daa216ec58978ef8738216b14b24ccb369bc1
Author: PeterRyder <[email protected]>
Date: 2017-02-07T16:20:59Z
Changed default port to 5432, the postgres default
(cherry picked from commit 5fd9f4c56d0911a8f4ca12472f2ae0e0612a2e7e)
commit 1e8386cdedf67e46c3ef48db28bf18940b6dd558
Author: PeterRyder <[email protected]>
Date: 2017-02-07T18:44:00Z
Fixed yml file for admin.pl with correct inputs for psql
(cherry picked from commit e086d1f7613776bbe73498409f73a46f3d158ab1)
commit 57cfaf396e6c0f96fa657ecbe1eb0af204998365
Author: Jeff Martin <[email protected]>
Date: 2017-04-07T17:31:52Z
Term::ReadPassword fix: TC-185
(cherry picked from commit 290e4bc082df416a727490dfc4a8210b3ff5d778)
commit 9b76d6758c5ad5f7c1d4d28812de0fa6d0672ca0
Author: Jeff Martin <[email protected]>
Date: 2017-04-11T19:06:55Z
[TC-228] postinstall and INSTALL.md updates
INSTALL.md
- Changed manual installation approach for non-containered postgres
postinstall
- Set reconfigure to 1, always init database
- Set debug to 1, always output so the end user sees what is
happening
- set the goose needed driver to "postgres" instead of "Pg"
- changed question default: "Database server root (admin) user"
name from "root" to "postgres"
- set PGUSER and PGPASSWORD in env to login to the postgres
superuser account
- update traffic_ops database table with the "admin" user name
and password provided by user (after initdb)
(cherry picked from commit f08a1c2a20266d67ed1a0c778180b6da99426096)
commit f8f30bf584b992a52d655ec65945a689c6f868fe
Author: Jeff Martin <[email protected]>
Date: 2017-04-11T20:18:06Z
[TC-228] global dec fix
Global symbol "%dbconf" requires explicit package name at
/opt/traffic_ops/install/bin/postinstall line 569.
Global symbol "%dbconf" requires explicit package name at
/opt/traffic_ops/install/bin/postinstall line 570.
(cherry picked from commit 5cf6fae56e05eb467b3fb2e6be885d3975f7632e)
commit 1850cda251dfbb0c8dfe0ae68da42960d5e91c8e
Author: Jeff Martin <[email protected]>
Date: 2017-04-11T20:58:39Z
[TC-228] - bin and lib file updates
- remove install/bin/build_trafficops_perl_library
- remove mysql perl deps in install/lib/BuildPerlDeps.pm
(cherry picked from commit 7180ab5884e5b42663a073dd4750f67c8f89779c)
commit bef71f8dbd77d75e3248069137ca6c45627bbd89
Author: Dan Kirkwood <[email protected]>
Date: 2017-04-12T22:21:08Z
set perl5lib for sub-processes
(cherry picked from commit 670bb30f2f982d79ba90e9e6e7e8216a27ff7f7c)
commit a1eb80ec2a04c77be28f45c0d92dc2156f2601db
Author: Dan Kirkwood <[email protected]>
Date: 2017-04-12T23:51:55Z
chdir immediately before download_web_deps
(cherry picked from commit 65d1de01c6a9a25146e88540c7bb49ffc2d2ab5b)
commit 571633bb4bfcb1cea1e6a9d00407baecc4efb91b
Author: Dan Kirkwood <[email protected]>
Date: 2017-04-13T00:33:03Z
ensure permissions set on all installed parts
(cherry picked from commit f22826e88270a23f910cbcc337492f991df9b9ee)
----
> TO: postinstall changes needed for postgres
> -------------------------------------------
>
> Key: TC-228
> URL: https://issues.apache.org/jira/browse/TC-228
> Project: Traffic Control
> Issue Type: Bug
> Components: Traffic Ops
> Affects Versions: 2.0.0
> Reporter: Dan Kirkwood
> Fix For: 2.0.0
>
>
> more changes needed to get postinstall working correctly for a postgres
> installation.
> This is needed for 2.0.x release.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)