You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/12/03 23:41:04 UTC

[GitHub] dangogh opened a new pull request #3082: CIAB: fix race issue where server not avail when server assignment done

dangogh opened a new pull request #3082: CIAB: fix race issue where server not avail when server assignment done
URL: https://github.com/apache/trafficcontrol/pull/3082
 
 
   
   #### What does this PR do?
   on fresh cdn-in-a-box,  default dataset assigns the deliveryservice to the single edge server.  That server is not registered with traffic_ops at the time the assignment is done.
   
   This is a stopgap measure until we improve synchronization between containers.
   
   #### Which TC components are affected by this PR?
   
   - [ ] Documentation
   - [ ] Grove
   - [ ] Traffic Analytics
   - [ ] Traffic Monitor
   - [ ] Traffic Ops
   - [ ] Traffic Ops ORT
   - [ ] Traffic Portal
   - [ ] Traffic Router
   - [ ] Traffic Stats
   - [ ] Traffic Vault
   - [x] Other cdn-in-a-box
   
   #### What is the best way to verify this PR?
   Build cdn-in-a-box from scratch:
   ```
   cd infrastructure/cdn-in-a-box
   docker-compose build
   docker-compose up -d
   
   set up access to traffic_ops:
   ```
   . traffic_ops/to-access.sh
   export TO_URL=https://localhost:6443 TO_USER=... TO_PASSWORD=...
   to-get api/1.4/deliveryservices/1/servers | jq -S .response[].hostName
   ```
   
   The hostName printed here should be "edge"..
   
   #### Check all that apply
   
   - [ ] This PR includes tests
   - [ ] This PR includes documentation updates
   - [ ] This PR includes an update to CHANGELOG.md
   - [ ] This PR includes all required license headers
   - [ ] This PR includes a database migration (ensure that migration sequence is correct)
   - [ ] This PR fixes a serious security flaw. Read more: [www.apache.org/security](http://www.apache.org/security/)
   
   <!--
       Licensed to the Apache Software Foundation (ASF) under one
       or more contributor license agreements.  See the NOTICE file
       distributed with this work for additional information
       regarding copyright ownership.  The ASF licenses this file
       to you 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.
   -->
   
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services