You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by fr...@apache.org on 2017/06/16 15:13:52 UTC

[1/4] incubator-trafficcontrol git commit: remove stray backup file

Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/2.0.x b64848e38 -> 85d14ebe2


remove stray backup file


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/595d8c21
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/595d8c21
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/595d8c21

Branch: refs/heads/2.0.x
Commit: 595d8c21751c0e247e1fa21828131a8cb5932d3d
Parents: 62af97a
Author: Dan Kirkwood <da...@gmail.com>
Authored: Fri Jun 16 09:09:22 2017 -0600
Committer: Eric Friedrich <fr...@apache.org>
Committed: Fri Jun 16 11:13:26 2017 -0400

----------------------------------------------------------------------
 traffic_router/shared/.#pom.xml | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/595d8c21/traffic_router/shared/.#pom.xml
----------------------------------------------------------------------
diff --git a/traffic_router/shared/.#pom.xml b/traffic_router/shared/.#pom.xml
deleted file mode 120000
index a5333a4..0000000
--- a/traffic_router/shared/.#pom.xml
+++ /dev/null
@@ -1 +0,0 @@
-efriedri@EFRIEDRI-M-G06Q.26450
\ No newline at end of file


[4/4] incubator-trafficcontrol git commit: This closes #690

Posted by fr...@apache.org.
This closes #690


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/85d14ebe
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/85d14ebe
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/85d14ebe

Branch: refs/heads/2.0.x
Commit: 85d14ebe2a4ac71236f86f70349481d2b3dc784b
Parents: 595d8c2
Author: Eric Friedrich <fr...@apache.org>
Authored: Fri Jun 16 11:13:27 2017 -0400
Committer: Eric Friedrich <fr...@apache.org>
Committed: Fri Jun 16 11:13:27 2017 -0400

----------------------------------------------------------------------

----------------------------------------------------------------------



[2/4] incubator-trafficcontrol git commit: remove ref to rpms on apache build

Posted by fr...@apache.org.
remove ref to rpms on apache build

(cherry picked from commit 1dfacaf500ece5ec2d5fe59dfccf64e527fd2b6b)


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/62af97af
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/62af97af
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/62af97af

Branch: refs/heads/2.0.x
Commit: 62af97af3bcef3ff65681f3008eaf8cd0ac4ae29
Parents: 9037571
Author: Dan Kirkwood <da...@gmail.com>
Authored: Thu Jun 15 16:18:02 2017 -0600
Committer: Eric Friedrich <fr...@apache.org>
Committed: Fri Jun 16 11:13:26 2017 -0400

----------------------------------------------------------------------
 docs/source/admin/traffic_ops/installation.rst | 52 ++++++++++-----------
 1 file changed, 26 insertions(+), 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/62af97af/docs/source/admin/traffic_ops/installation.rst
----------------------------------------------------------------------
diff --git a/docs/source/admin/traffic_ops/installation.rst b/docs/source/admin/traffic_ops/installation.rst
index d6d9b9c..d2bd2bf 100644
--- a/docs/source/admin/traffic_ops/installation.rst
+++ b/docs/source/admin/traffic_ops/installation.rst
@@ -1,21 +1,21 @@
-.. 
-.. 
+..
+..
 .. Licensed under the Apache License, Version 2.0 (the "License");
 .. you may not use this file except in compliance with the License.
 .. You may obtain a copy of the License at
-.. 
+..
 ..     http://www.apache.org/licenses/LICENSE-2.0
-.. 
+..
 .. Unless required by applicable law or agreed to in writing, software
 .. distributed under the License is distributed on an "AS IS" BASIS,
 .. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 .. See the License for the specific language governing permissions and
 .. limitations under the License.
-.. 
+..
 
 .. index::
-  Traffic Ops - Installing 
-  
+  Traffic Ops - Installing
+
 .. _rl-to-install:
 
 Traffic Ops - Installing
@@ -67,36 +67,36 @@ To begin the install:
    Build a Traffic Ops rpm using the instructions under the :ref:`dev-building` page.
 
 
-3. Install Postgresql 
+3. Install Postgresql
+
+  Install the postgresql 9.6 yum repository access. ::
 
-  Install the postgresql 9.6 dev libraries. ::
-  
     to-$ sudo su -
-    to-# yum update
     to-# yum -y install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm
-    to-# yum install  postgresql96-devel
-    to-# wget -q https://builds.apache.org/view/S-Z/view/TrafficControl/job/incubator-trafficcontrol-master-build/lastSuccessfulBuild/artifact/dist/traffic_ops-2.1.0-6388.20de6ae2.el7.x86_64.rpm
-    to-# yum -y install traffic_ops-2.0.0-5608.afd8fd30.el7.x86_64.rpm 
+
+4. Install the rpm built in step 2. ::
+
+    to-# yum -y install ./dist/traffic_ops-2.0.0-xxxx.yyyyyyy.el7.x86_64.rpm
 
 
-  Install some additional packages that it depends on that were not installed as dependecies in the previous step (these are for the 2.1 dev install, this may change, but the pre-installs won't hurt): ::
+  Install some additional packages that it depends on that were not installed as dependecies in the previous step (these are for the 2.0.0 install, this may change, but the pre-installs won't hurt): ::
 
     to-# yum -y install git
     to-# wget -q https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz
-    to-# tar -C /usr/local -xzf go1.8.3.linux-amd64.tar.gz 
-    to-# PATH=$PATH:/usr/local/go/bin             # go bins are needed in the path for postinstall 
+    to-# tar -C /usr/local -xzf go1.8.3.linux-amd64.tar.gz
+    to-# PATH=$PATH:/usr/local/go/bin             # go bins are needed in the path for postinstall
     to-# go get bitbucket.org/liamstask/goose/cmd/goose
 
-  At this point you should be able to login to the database from the ``to`` host to the ``pg`` host like: :: 
+  At this point you should be able to login to the database from the ``to`` host to the ``pg`` host like: ::
 
     to-# psql -h 99.33.99.1 -U postgres
-    Password for user postgres: 
+    Password for user postgres:
     psql (9.6.3)
     Type "help" for help.
-    
-    postgres=# 
 
-  Use this connectivity to create the user and database. In  this example, we use user: ``traffic_ops``, password: ``tcr0cks``, database: ``traffic_ops``: :: 
+    postgres=#
+
+  Use this connectivity to create the user and database. In  this example, we use user: ``traffic_ops``, password: ``tcr0cks``, database: ``traffic_ops``: ::
 
     to-# psql -U postgres -h 99.33.99.1 -c "CREATE USER traffic_ops  WITH ENCRYPTED PASSWORD 'tcr0cks';"
     Password for user postgres:
@@ -109,9 +109,9 @@ To begin the install:
   Now, run the following command as root: ``/opt/traffic_ops/install/bin/postinstall``
 
   The postinstall will first get all packages needed from CPAN. This may take a while, expect up to 30 minutes on the first install.
-  If there are any prompts in this phase, please just answer with the defaults (some CPAN installs can prompt for install questions). 
+  If there are any prompts in this phase, please just answer with the defaults (some CPAN installs can prompt for install questions).
 
-  When this phase is complete, you will see:: 
+  When this phase is complete, you will see::
 
       Complete! Modules were installed into /opt/traffic_ops/app/local
 
@@ -177,13 +177,13 @@ To begin the install:
       Resolving geolite.maxmind.com (geolite.maxmind.com)... 2400:cb00:2048:1::6810:262f, 2400:cb00:2048:1::6810:252f, 104.16.38.47, ...
       Connecting to geolite.maxmind.com (geolite.maxmind.com)|2400:cb00:2048:1::6810:262f|:80... connected.
 
-      ... much SQL output skipped 
+      ... much SQL output skipped
 
       Starting Traffic Ops
       Restarting traffic_ops (via systemctl):                    [  OK  ]
       Waiting for Traffic Ops to restart
       Success! Postinstall complete.
-      
+
       to-# ifconfig
 
 


[3/4] incubator-trafficcontrol git commit: Update _postinstall (cherry picked from commit c26d0489cb115d108a25f880e0d5874cbff2243c)

Posted by fr...@apache.org.
Update _postinstall
(cherry picked from commit c26d0489cb115d108a25f880e0d5874cbff2243c)


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/90375718
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/90375718
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/90375718

Branch: refs/heads/2.0.x
Commit: 903757189a4e20935e705fd30746e6b66be6b1b7
Parents: b64848e
Author: David Neuman <ne...@apache.org>
Authored: Wed Jun 7 14:14:55 2017 -0600
Committer: Eric Friedrich <fr...@apache.org>
Committed: Fri Jun 16 11:13:26 2017 -0400

----------------------------------------------------------------------
 traffic_ops/install/bin/_postinstall | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/90375718/traffic_ops/install/bin/_postinstall
----------------------------------------------------------------------
diff --git a/traffic_ops/install/bin/_postinstall b/traffic_ops/install/bin/_postinstall
index 812a04e..37eeac4 100755
--- a/traffic_ops/install/bin/_postinstall
+++ b/traffic_ops/install/bin/_postinstall
@@ -882,7 +882,7 @@ sub main {
 
     my $dbh = Database::connect($databaseConfFile, $todbconf);
     if (!$dbh) {
-        InstallUtils::logger("Can't connect to the database.  Use the script `/opt/traffic_ops/install/bin/db_bootstrap.sh` on the db server to create it and run `postinstall` again.", "error");
+        InstallUtils::logger("Can't connect to the database.  Use the script `/opt/traffic_ops/install/bin/todb_bootstrap.sh` on the db server to create it and run `postinstall` again.", "error");
         exit(-1);
     }