rawlinp commented on a change in pull request #5283:
URL: https://github.com/apache/trafficcontrol/pull/5283#discussion_r525369241



##########
File path: infrastructure/cdn-in-a-box/variables.env
##########
@@ -122,3 +122,5 @@ AUTO_SNAPQUEUE_ENABLED=true
 
AUTO_SNAPQUEUE_SERVERS=trafficops,trafficops-perl,trafficmonitor,trafficrouter,trafficvault,edge,mid-01,mid-02
 AUTO_SNAPQUEUE_POLL_INTERVAL=2
 AUTO_SNAPQUEUE_ACTION_WAIT=2
+LOAD_TRAFFIC_OPS_DATA=${LOAD_TRAFFIC_OPS_DATA:-true}

Review comment:
       I added an echo statement to the trafficops-init.sh script: 
   ```
   echo "LOAD_TRAFFIC_OPS_DATA = $LOAD_TRAFFIC_OPS_DATA. Skipping loading of 
traffic ops data."
   ```
   output:
   ```
   + echo 'LOAD_TRAFFIC_OPS_DATA = ${LOAD_TRAFFIC_OPS_DATA:-true}. Skipping 
loading of traffic ops data.'
   LOAD_TRAFFIC_OPS_DATA = ${LOAD_TRAFFIC_OPS_DATA:-true}. Skipping loading of 
traffic ops data.
   ```
   
   When I run that command you pasted, I don't see any output. Maybe a 
difference in docker-compose versions? 
   ```
   $ docker-compose version
   docker-compose version 1.18.0, build 8dd22a9
   docker-py version: 2.6.1
   CPython version: 3.6.8
   OpenSSL version: OpenSSL 1.0.2k-fips  26 Jan 2017
   
   $ docker version
   Client:
    Version:           18.06.3-ce
    API version:       1.38
    Go version:        go1.10.3
    Git commit:        d7080c1
    Built:             Wed Feb 20 02:26:51 2019
    OS/Arch:           linux/amd64
    Experimental:      false
   
   Server:
    Engine:
     Version:          18.06.3-ce
     API version:      1.38 (minimum version 1.12)
     Go version:       go1.10.3
     Git commit:       d7080c1
     Built:            Wed Feb 20 02:28:17 2019
     OS/Arch:          linux/amd64
     Experimental:     false
   
   $ cat /etc/centos-release
   CentOS Linux release 7.4.1708 (Core)
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to