Bugfix: Failed to build local DB on Centos 47/46547/4
authorxudan <xudan16@huawei.com>
Thu, 2 Nov 2017 06:17:10 +0000 (02:17 -0400)
committerLeo wang <grakiss.wanglei@huawei.com>
Mon, 6 Nov 2017 01:28:29 +0000 (01:28 +0000)
commit2866e0b3a9f028eee262b65db1e377b50b3f9594
tree16b8f79511b85493203bc88951798b5b2d79ec6e
parent0df52c2b1fe801b0f282c4f44aed7891a389d833
Bugfix: Failed to build local DB on Centos

1. The scripts for building local DB and testapi service just work on Ubuntu.
2. For Centos, they fails to do that.
3. This is mainly because of that Centos can't use the IP of the JumpHost
   to connect the DB and testapi. It needs to use the internal IPs of the
   DB container and the testapi container.
4. Change the IPs in the scripts to be the containers' internal IPs.

JIRA: DOVETAIL-548

Change-Id: I71aed82cb620b58bcd43ace61497db65c5bd7ecc
Signed-off-by: xudan <xudan16@huawei.com>
dovetail/utils/local_db/init_db.py
dovetail/utils/local_db/launch_db.sh