Thanks, Harry.
I’m going through the doc.
I failed in the deploy.sh (“launch_compass failed”) - the output is below, but here is a recap of things I noticed along the way.

First, I cloned stable/euphrates - “git clone -b stable/euphrates https://git.opnfv.org/compass4nfv
…is that correct or should I have gotten mainline?

In the build, I saw a lot of references on stdout about “…amd64…”, but perhaps that’s just downloading things that are not used.
Also, I had to interrupt the build due to moving my laptop, so I re-launched it and it seemed to finish fine, but in a lot less time.  For now, I assume that’s because the build is restartable.

The deploy.sh script failed, on the following:
TASK [compass : create compass db tables] ***********************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "sleep 3; docker exec compass-deck bash -c \"/opt/compass/bin/manage_db.py createdb\"", "delta": "0:00:03.054202", "end": "2018-02-26 01:51:26.269133", "failed": true, "rc": 1, "start": "2018-02-26 01:51:23.214931", "stderr": "Error response from daemon: Container 9fe956fb302d6619afae44ec455b5739c851eefc875d71558ba1e6826e267e17 is not running", "stderr_lines": ["Error response from daemon: Container 9fe956fb302d6619afae44ec455b5739c851eefc875d71558ba1e6826e267e17 is not running"], "stdout": "", "stdout_lines": []}
to retry, use: --limit @/compass/compass4nfv/work/deploy/installer/compass-docker-compose/bring_up_compass.retry

PLAY RECAP ******************************************************************************************************************************************************************************************************************************
localhost                  : ok=15   changed=13   unreachable=0    failed=1   

+ log_error 'launch_compass failed'
+ echo -e 'launch_compass failed'
launch_compass failed
+ exit 1

Here are the docker images on my jump server:
root@localhost:/compass/compass4nfv# docker images
REPOSITORY                            TAG                 IMAGE ID            CREATED             SIZE
opnfv/yardstick                       latest              2b0b0cf1b408        2 days ago          2.03 GB
compass4nfv/compass-tasks-k8s         latest              0c3e6eccf875        2 weeks ago         960 MB
tacker                                latest              c793eeab6c73        6 weeks ago         695 MB
blsaws/models-tacker                  latest              2e3a4283c077        7 weeks ago         790 MB
ubuntu                                xenial              292966ec354d        2 months ago        103 MB
compass4nfv/compass-repo-osa-ubuntu   euphrates           56ae3b524413        2 months ago        1.72 GB
compass4nfv/compass-db                latest              a91315525c98        3 months ago        318 MB
compass4nfv/compass-tasks-osa         euphrates           f077d8eedf6e        4 months ago        1.79 GB
compass4nfv/compass-cobbler           latest              c9293d807096        8 months ago        612 MB
compass4nfv/compass-deck              latest              a748a5fb7492        8 months ago        703 MB
compass4nfv/compass-mq                latest              8cc5f4e7fb90        10 months ago       179 MB

I’ll attach the complete st-out from the deploy.sh.
root@localhost:/compass/compass4nfv# DEPLOY_COMPASS='true' 
DHA=${PWD}/deploy/conf/vm_environment/k8-nosdn-nofeature-noha.yml 
NETWORK=${PWD}/deploy/conf/vm_environment/network.yml ./deploy.sh
Hit:1 http://us.ports.ubuntu.com/ubuntu-ports xenial InRelease
Get:2 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates InRelease [102 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease [102 kB]
Get:5 http://us.ports.ubuntu.com/ubuntu-ports xenial-backports InRelease [102 
kB]
Hit:6 https://apt.dockerproject.org/repo ubuntu-xenial InRelease
Hit:7 http://linux.enea.com/mcp-repos/ocata/xenial ocata InRelease
Get:8 http://linux.enea.com/apt-mk/xenial nightly InRelease [23.2 kB]
Get:9 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 
Packages [597 kB]
Hit:3 https://packages.cloud.google.com/apt kubernetes-xenial InRelease
Get:10 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/main 
Translation-en [305 kB]
Get:11 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/universe arm64 
Packages [520 kB]
Get:12 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/universe 
Translation-en [239 kB]
Err:7 http://linux.enea.com/mcp-repos/ocata/xenial ocata InRelease
  The following signatures were invalid: KEYEXPIRED 1516399034
Err:8 http://linux.enea.com/apt-mk/xenial nightly InRelease
  The following signatures were invalid: KEYEXPIRED 1516399034
Fetched 1,991 kB in 1s (1,068 kB/s)
Reading package lists...
W: An error occurred during the signature verification. The repository is not 
updated and the previous index files will be used. GPG error: 
http://linux.enea.com/mcp-repos/ocata/xenial ocata InRelease: The following 
signatures were invalid: KEYEXPIRED 1516399034
W: An error occurred during the signature verification. The repository is not 
updated and the previous index files will be used. GPG error: 
http://linux.enea.com/apt-mk/xenial nightly InRelease: The following signatures 
were invalid: KEYEXPIRED 1516399034
W: Failed to fetch 
http://linux.enea.com/mcp-repos/ocata/xenial/dists/ocata/InRelease  The 
following signatures were invalid: KEYEXPIRED 1516399034
W: Failed to fetch http://linux.enea.com/apt-mk/xenial/dists/nightly/InRelease  
The following signatures were invalid: KEYEXPIRED 1516399034
W: Some index files failed to download. They have been ignored, or old ones 
used instead.
Reading package lists...
Building dependency tree...
Reading state information...
genisoimage is already the newest version (9:1.1.11-3ubuntu1).
curl is already the newest version (7.47.0-1ubuntu2.6).
ipmitool is already the newest version (1.8.16-3ubuntu0.1).
The following packages were automatically installed and are no longer required:
  libxen-dev linux-headers-4.4.0-101 linux-headers-4.4.0-101-generic
  linux-headers-4.4.0-103 linux-headers-4.4.0-103-generic
  linux-headers-4.4.0-104 linux-headers-4.4.0-104-generic
  linux-headers-4.4.0-108 linux-headers-4.4.0-108-generic
  linux-headers-4.4.0-109 linux-headers-4.4.0-109-generic
  linux-headers-4.4.0-112 linux-headers-4.4.0-112-generic
  linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic
  linux-image-4.4.0-101-generic linux-image-4.4.0-103-generic
  linux-image-4.4.0-104-generic linux-image-4.4.0-108-generic
  linux-image-4.4.0-109-generic linux-image-4.4.0-112-generic
  linux-image-4.4.0-31-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  openvswitch-common
The following NEW packages will be installed:
  bc openvswitch-common openvswitch-switch
0 upgraded, 3 newly installed, 0 to remove and 84 not upgraded.
Need to get 1,789 kB of archives.
After this operation, 7,990 kB of additional disk space will be used.
Get:1 http://us.ports.ubuntu.com/ubuntu-ports xenial/main arm64 bc arm64 
1.06.95-9build1 [77.9 kB]
Get:2 http://linux.enea.com/mcp-repos/ocata/xenial ocata/main arm64 
openvswitch-common arm64 2.6.1-0+amos1~u16.04+mcp2 [606 kB]
Get:3 http://linux.enea.com/mcp-repos/ocata/xenial ocata/main arm64 
openvswitch-switch arm64 2.6.1-0+amos1~u16.04+mcp2 [1,105 kB]
Fetched 1,789 kB in 1s (1,505 kB/s)
                                   Selecting previously unselected package bc.
(Reading database ... 362018 files and directories currently installed.)
Preparing to unpack .../bc_1.06.95-9build1_arm64.deb ...
Unpacking bc (1.06.95-9build1) ...
Selecting previously unselected package openvswitch-common.
Preparing to unpack .../openvswitch-common_2.6.1-0+amos1~u16.04+mcp2_arm64.deb 
...
Unpacking openvswitch-common (2.6.1-0+amos1~u16.04+mcp2) ...
Selecting previously unselected package openvswitch-switch.
Preparing to unpack .../openvswitch-switch_2.6.1-0+amos1~u16.04+mcp2_arm64.deb 
...
Unpacking openvswitch-switch (2.6.1-0+amos1~u16.04+mcp2) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu21.1) ...
Setting up bc (1.06.95-9build1) ...
Setting up openvswitch-common (2.6.1-0+amos1~u16.04+mcp2) ...
Setting up openvswitch-switch (2.6.1-0+amos1~u16.04+mcp2) ...
update-alternatives: using /usr/lib/openvswitch-switch/ovs-vswitchd to provide 
/usr/sbin/ovs-vswitchd (ovs-vswitchd) in auto mode
openvswitch-nonetwork.service is a disabled or a static unit, not starting it.
Processing triggers for systemd (229-4ubuntu21.1) ...
Processing triggers for ureadahead (0.100.0-19) ...
W: --force-yes is deprecated, use one of the options starting with --allow 
instead.
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.7.4-0ubuntu1.3).
python-pip is already the newest version (8.1.1-2ubuntu0.4).
The following packages were automatically installed and are no longer required:
  libxen-dev linux-headers-4.4.0-101 linux-headers-4.4.0-101-generic
  linux-headers-4.4.0-103 linux-headers-4.4.0-103-generic
  linux-headers-4.4.0-104 linux-headers-4.4.0-104-generic
  linux-headers-4.4.0-108 linux-headers-4.4.0-108-generic
  linux-headers-4.4.0-109 linux-headers-4.4.0-109-generic
  linux-headers-4.4.0-112 linux-headers-4.4.0-112-generic
  linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic
  linux-image-4.4.0-101-generic linux-image-4.4.0-103-generic
  linux-image-4.4.0-104-generic linux-image-4.4.0-108-generic
  linux-image-4.4.0-109-generic linux-image-4.4.0-112-generic
  linux-image-4.4.0-31-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libpython-all-dev libpython-dev libpython-stdlib python python-all
  python-all-dev python-minimal
Suggested packages:
  python-doc python-tk
The following NEW packages will be installed:
  figlet sshpass
The following packages will be upgraded:
  libpython-all-dev libpython-dev libpython-stdlib python python-all
  python-all-dev python-dev python-minimal
8 upgraded, 2 newly installed, 0 to remove and 76 not upgraded.
Need to get 375 kB of archives.
After this operation, 797 kB of additional disk space will be used.
Get:1 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 
python-all-dev arm64 2.7.12-1~16.04 [1,006 B]
Get:2 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 
python-dev arm64 2.7.12-1~16.04 [1,172 B]
Get:3 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 
python-all arm64 2.7.12-1~16.04 [984 B]
Get:4 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 
python-minimal arm64 2.7.12-1~16.04 [28.2 kB]
Get:5 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 python 
arm64 2.7.12-1~16.04 [137 kB]
Get:6 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 
libpython-all-dev arm64 2.7.12-1~16.04 [1,002 B]
Get:7 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 
libpython-dev arm64 2.7.12-1~16.04 [7,818 B]
Get:8 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 
libpython-stdlib arm64 2.7.12-1~16.04 [7,760 B]
Get:9 http://us.ports.ubuntu.com/ubuntu-ports xenial/universe arm64 figlet 
arm64 2.2.5-2 [180 kB]
Get:10 http://us.ports.ubuntu.com/ubuntu-ports xenial/universe arm64 sshpass 
arm64 1.05-1 [10.2 kB]
Fetched 375 kB in 0s (1,280 kB/s)
(Reading database ... 362131 files and directories currently installed.)
Preparing to unpack .../python-all-dev_2.7.12-1~16.04_arm64.deb ...
Unpacking python-all-dev (2.7.12-1~16.04) over (2.7.11-1) ...
Preparing to unpack .../python-dev_2.7.12-1~16.04_arm64.deb ...
Unpacking python-dev (2.7.12-1~16.04) over (2.7.11-1) ...
Preparing to unpack .../python-all_2.7.12-1~16.04_arm64.deb ...
Unpacking python-all (2.7.12-1~16.04) over (2.7.11-1) ...
Preparing to unpack .../python-minimal_2.7.12-1~16.04_arm64.deb ...
Unpacking python-minimal (2.7.12-1~16.04) over (2.7.11-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up python-minimal (2.7.12-1~16.04) ...
(Reading database ... 362131 files and directories currently installed.)
Preparing to unpack .../python_2.7.12-1~16.04_arm64.deb ...
Unpacking python (2.7.12-1~16.04) over (2.7.11-1) ...
Preparing to unpack .../libpython-all-dev_2.7.12-1~16.04_arm64.deb ...
Unpacking libpython-all-dev:arm64 (2.7.12-1~16.04) over (2.7.11-1) ...
Preparing to unpack .../libpython-dev_2.7.12-1~16.04_arm64.deb ...
Unpacking libpython-dev:arm64 (2.7.12-1~16.04) over (2.7.11-1) ...
Preparing to unpack .../libpython-stdlib_2.7.12-1~16.04_arm64.deb ...
Unpacking libpython-stdlib:arm64 (2.7.12-1~16.04) over (2.7.11-1) ...
Selecting previously unselected package figlet.
Preparing to unpack .../figlet_2.2.5-2_arm64.deb ...
Unpacking figlet (2.2.5-2) ...
Selecting previously unselected package sshpass.
Preparing to unpack .../sshpass_1.05-1_arm64.deb ...
Unpacking sshpass (1.05-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libpython-stdlib:arm64 (2.7.12-1~16.04) ...
Setting up python (2.7.12-1~16.04) ...
Setting up python-all (2.7.12-1~16.04) ...
Setting up libpython-dev:arm64 (2.7.12-1~16.04) ...
Setting up libpython-all-dev:arm64 (2.7.12-1~16.04) ...
Setting up python-dev (2.7.12-1~16.04) ...
Setting up python-all-dev (2.7.12-1~16.04) ...
Setting up figlet (2.2.5-2) ...
update-alternatives: using /usr/bin/figlet-figlet to provide /usr/bin/figlet 
(figlet) in auto mode
Setting up sshpass (1.05-1) ...
W: --force-yes is deprecated, use one of the options starting with --allow 
instead.
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.1ubuntu2).
build-essential set to manually installed.
libxml2-dev is already the newest version (2.9.3+dfsg1-1ubuntu0.5).
libxslt1-dev is already the newest version (1.1.28-2.1ubuntu0.1).
virtinst is already the newest version (1:1.3.2-3ubuntu1.16.04.4).
libvirt-bin is already the newest version (3.6.0-1+amos2~u16.04).
qemu-kvm is already the newest version (1:2.10+dfsg-0+amos1~u16.04).
qemu-utils is already the newest version (1:2.10+dfsg-0+amos1~u16.04).
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-101 linux-headers-4.4.0-101-generic
  linux-headers-4.4.0-103 linux-headers-4.4.0-103-generic
  linux-headers-4.4.0-104 linux-headers-4.4.0-104-generic
  linux-headers-4.4.0-108 linux-headers-4.4.0-108-generic
  linux-headers-4.4.0-109 linux-headers-4.4.0-109-generic
  linux-headers-4.4.0-112 linux-headers-4.4.0-112-generic
  linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic
  linux-image-4.4.0-101-generic linux-image-4.4.0-103-generic
  linux-image-4.4.0-104-generic linux-image-4.4.0-108-generic
  linux-image-4.4.0-109-generic linux-image-4.4.0-112-generic
  linux-image-4.4.0-31-generic
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  libaio-dev libmysqlclient-dev libmysqlclient20 libmysqld-dev libnuma-dev
  libvirt-dev mysql-common pkg-config
The following packages will be upgraded:
  libnuma1
1 upgraded, 8 newly installed, 0 to remove and 75 not upgraded.
Need to get 8,575 kB of archives.
After this operation, 62.9 MB of additional disk space will be used.
Get:1 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 
libnuma1 arm64 2.0.11-1ubuntu1.1 [18.0 kB]
Get:2 http://us.ports.ubuntu.com/ubuntu-ports xenial/main arm64 libaio-dev 
arm64 0.3.110-2 [12.7 kB]
Get:3 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 
mysql-common all 5.7.21-0ubuntu0.16.04.1 [15.7 kB]
Get:4 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 
libmysqlclient20 arm64 5.7.21-0ubuntu0.16.04.1 [758 kB]
Get:5 http://linux.enea.com/apt-mk/xenial nightly/ocata arm64 libvirt-dev arm64 
3.6.0-1+amos2~u16.04 [232 kB]
Get:6 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 
libmysqlclient-dev arm64 5.7.21-0ubuntu0.16.04.1 [1,110 kB]
Get:7 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 
libnuma-dev arm64 2.0.11-1ubuntu1.1 [30.3 kB]
Get:8 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 
libmysqld-dev arm64 5.7.21-0ubuntu0.16.04.1 [6,356 kB]
Get:9 http://us.ports.ubuntu.com/ubuntu-ports xenial/main arm64 pkg-config 
arm64 0.29.1-0ubuntu1 [42.9 kB]
Fetched 8,575 kB in 1s (5,959 kB/s)
(Reading database ... 362210 files and directories currently installed.)
Preparing to unpack .../libnuma1_2.0.11-1ubuntu1.1_arm64.deb ...
Unpacking libnuma1:arm64 (2.0.11-1ubuntu1.1) over (2.0.11-1ubuntu1) ...
Selecting previously unselected package libaio-dev.
Preparing to unpack .../libaio-dev_0.3.110-2_arm64.deb ...
Unpacking libaio-dev (0.3.110-2) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../mysql-common_5.7.21-0ubuntu0.16.04.1_all.deb ...
Unpacking mysql-common (5.7.21-0ubuntu0.16.04.1) ...
Selecting previously unselected package libmysqlclient20:arm64.
Preparing to unpack .../libmysqlclient20_5.7.21-0ubuntu0.16.04.1_arm64.deb ...
Unpacking libmysqlclient20:arm64 (5.7.21-0ubuntu0.16.04.1) ...
Selecting previously unselected package libmysqlclient-dev.
Preparing to unpack .../libmysqlclient-dev_5.7.21-0ubuntu0.16.04.1_arm64.deb ...
Unpacking libmysqlclient-dev (5.7.21-0ubuntu0.16.04.1) ...
Selecting previously unselected package libnuma-dev:arm64.
Preparing to unpack .../libnuma-dev_2.0.11-1ubuntu1.1_arm64.deb ...
Unpacking libnuma-dev:arm64 (2.0.11-1ubuntu1.1) ...
Selecting previously unselected package libmysqld-dev.
Preparing to unpack .../libmysqld-dev_5.7.21-0ubuntu0.16.04.1_arm64.deb ...
Unpacking libmysqld-dev (5.7.21-0ubuntu0.16.04.1) ...
Selecting previously unselected package libvirt-dev:arm64.
Preparing to unpack .../libvirt-dev_3.6.0-1+amos2~u16.04_arm64.deb ...
Unpacking libvirt-dev:arm64 (3.6.0-1+amos2~u16.04) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../pkg-config_0.29.1-0ubuntu1_arm64.deb ...
Unpacking pkg-config (0.29.1-0ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libnuma1:arm64 (2.0.11-1ubuntu1.1) ...
Setting up libaio-dev (0.3.110-2) ...
Setting up mysql-common (5.7.21-0ubuntu0.16.04.1) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide 
/etc/mysql/my.cnf (my.cnf) in auto mode
Setting up libmysqlclient20:arm64 (5.7.21-0ubuntu0.16.04.1) ...
Setting up libmysqlclient-dev (5.7.21-0ubuntu0.16.04.1) ...
Setting up libnuma-dev:arm64 (2.0.11-1ubuntu1.1) ...
Setting up libmysqld-dev (5.7.21-0ubuntu0.16.04.1) ...
Setting up libvirt-dev:arm64 (3.6.0-1+amos2~u16.04) ...
Setting up pkg-config (0.29.1-0ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
W: --force-yes is deprecated, use one of the options starting with --allow 
instead.
Reading package lists...
Building dependency tree...
Reading state information...
libffi-dev is already the newest version (3.2.1-4).
libssl-dev is already the newest version (1.0.2g-1ubuntu4.10).
libssl-dev set to manually installed.
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-101 linux-headers-4.4.0-101-generic
  linux-headers-4.4.0-103 linux-headers-4.4.0-103-generic
  linux-headers-4.4.0-104 linux-headers-4.4.0-104-generic
  linux-headers-4.4.0-108 linux-headers-4.4.0-108-generic
  linux-headers-4.4.0-109 linux-headers-4.4.0-109-generic
  linux-headers-4.4.0-112 linux-headers-4.4.0-112-generic
  linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic
  linux-image-4.4.0-101-generic linux-image-4.4.0-103-generic
  linux-image-4.4.0-104-generic linux-image-4.4.0-108-generic
  linux-image-4.4.0-109-generic linux-image-4.4.0-112-generic
  linux-image-4.4.0-31-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 75 not upgraded.
Requirement already up-to-date: virtualenv in 
/usr/local/lib/python2.7/dist-packages
New python executable in /compass/compass4nfv/work/deploy/venv/bin/python
Installing setuptools, pip, wheel...done.
Collecting cffi==1.10.0
  Downloading cffi-1.10.0.tar.gz (418kB)
Collecting pycparser (from cffi==1.10.0)
  Downloading pycparser-2.18.tar.gz (245kB)
Building wheels for collected packages: cffi, pycparser
  Running setup.py bdist_wheel for cffi: started
  Running setup.py bdist_wheel for cffi: finished with status 'done'
  Stored in directory: 
/root/.cache/pip/wheels/7c/c4/64/889d3d2de89188ed0fcb0b313106338f06127874911eeb4c96
  Running setup.py bdist_wheel for pycparser: started
  Running setup.py bdist_wheel for pycparser: finished with status 'done'
  Stored in directory: 
/root/.cache/pip/wheels/95/14/9a/5e7b9024459d2a6600aaa64e0ba485325aff7a9ac7489db1b6
Successfully built cffi pycparser
Installing collected packages: pycparser, cffi
Successfully installed cffi-1.10.0 pycparser-2.18
Collecting MarkupSafe==1.0
  Downloading MarkupSafe-1.0.tar.gz
Building wheels for collected packages: MarkupSafe
  Running setup.py bdist_wheel for MarkupSafe: started
  Running setup.py bdist_wheel for MarkupSafe: finished with status 'done'
  Stored in directory: 
/root/.cache/pip/wheels/88/a7/30/e39a54a87bcbe25308fa3ca64e8ddc75d9b3e5afa21ee32d57
Successfully built MarkupSafe
Installing collected packages: MarkupSafe
Successfully installed MarkupSafe-1.0
Requirement already satisfied: pip==9.0.1 in 
./work/deploy/venv/lib/python2.7/site-packages
Collecting cheetah==2.4.4
  Downloading Cheetah-2.4.4.tar.gz (190kB)
Collecting Markdown>=2.0.1 (from cheetah==2.4.4)
  Downloading Markdown-2.6.11-py2.py3-none-any.whl (78kB)
Building wheels for collected packages: cheetah
  Running setup.py bdist_wheel for cheetah: started
  Running setup.py bdist_wheel for cheetah: finished with status 'done'
  Stored in directory: 
/root/.cache/pip/wheels/e9/63/a7/e7eb3181fe51fef80412ed66869e8c6cff41cf531efb2b34fa
Successfully built cheetah
Installing collected packages: Markdown, cheetah
Successfully installed Markdown-2.6.11 cheetah-2.4.4
Collecting pyyaml==3.12
  Downloading PyYAML-3.12.tar.gz (253kB)
Building wheels for collected packages: pyyaml
  Running setup.py bdist_wheel for pyyaml: started
  Running setup.py bdist_wheel for pyyaml: finished with status 'done'
  Stored in directory: 
/root/.cache/pip/wheels/2c/f7/79/13f3a12cd723892437c0cfbde1230ab4d82947ff7b3839a4fc
Successfully built pyyaml
Installing collected packages: pyyaml
Successfully installed pyyaml-3.12
Collecting requests==2.18.1
  Downloading requests-2.18.1-py2.py3-none-any.whl (88kB)
Collecting certifi>=2017.4.17 (from requests==2.18.1)
  Downloading certifi-2018.1.18-py2.py3-none-any.whl (151kB)
Collecting chardet<3.1.0,>=3.0.2 (from requests==2.18.1)
  Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
Collecting urllib3<1.22,>=1.21.1 (from requests==2.18.1)
  Downloading urllib3-1.21.1-py2.py3-none-any.whl (131kB)
Collecting idna<2.6,>=2.5 (from requests==2.18.1)
  Downloading idna-2.5-py2.py3-none-any.whl (55kB)
Installing collected packages: certifi, chardet, urllib3, idna, requests
Successfully installed certifi-2018.1.18 chardet-3.0.4 idna-2.5 requests-2.18.1 
urllib3-1.21.1
Collecting netaddr==0.7.19
  Downloading netaddr-0.7.19-py2.py3-none-any.whl (1.6MB)
Installing collected packages: netaddr
Successfully installed netaddr-0.7.19
Collecting oslo.config==4.6.0
  Downloading oslo.config-4.6.0-py2.py3-none-any.whl (106kB)
Requirement already satisfied: netaddr!=0.7.16,>=0.7.13 in 
./work/deploy/venv/lib/python2.7/site-packages (from oslo.config==4.6.0)
Collecting six>=1.9.0 (from oslo.config==4.6.0)
  Downloading six-1.11.0-py2.py3-none-any.whl
Collecting debtcollector>=1.2.0 (from oslo.config==4.6.0)
  Downloading debtcollector-1.19.0-py2.py3-none-any.whl
Collecting stevedore>=1.20.0 (from oslo.config==4.6.0)
  Downloading stevedore-1.28.0-py2.py3-none-any.whl
Requirement already satisfied: PyYAML>=3.10.0 in 
./work/deploy/venv/lib/python2.7/site-packages (from oslo.config==4.6.0)
Collecting oslo.i18n!=3.15.2,>=2.1.0 (from oslo.config==4.6.0)
  Downloading oslo.i18n-3.19.0-py2.py3-none-any.whl (42kB)
Collecting rfc3986>=0.3.1 (from oslo.config==4.6.0)
  Downloading rfc3986-1.1.0-py2.py3-none-any.whl
Collecting pbr!=2.1.0,>=2.0.0 (from debtcollector>=1.2.0->oslo.config==4.6.0)
  Downloading pbr-3.1.1-py2.py3-none-any.whl (99kB)
Collecting funcsigs>=1.0.0; python_version == "2.7" or python_version == "2.6" 
(from debtcollector>=1.2.0->oslo.config==4.6.0)
  Downloading funcsigs-1.0.2-py2.py3-none-any.whl
Collecting wrapt>=1.7.0 (from debtcollector>=1.2.0->oslo.config==4.6.0)
  Downloading wrapt-1.10.11.tar.gz
Collecting Babel!=2.4.0,>=2.3.4 (from 
oslo.i18n!=3.15.2,>=2.1.0->oslo.config==4.6.0)
  Downloading Babel-2.5.3-py2.py3-none-any.whl (6.8MB)
Collecting pytz>=0a (from 
Babel!=2.4.0,>=2.3.4->oslo.i18n!=3.15.2,>=2.1.0->oslo.config==4.6.0)
  Downloading pytz-2018.3-py2.py3-none-any.whl (509kB)
Building wheels for collected packages: wrapt
  Running setup.py bdist_wheel for wrapt: started
  Running setup.py bdist_wheel for wrapt: finished with status 'done'
  Stored in directory: 
/root/.cache/pip/wheels/56/e1/0f/f7ccf1ed8ceaabccc2a93ce0481f73e589814cbbc439291345
Successfully built wrapt
Installing collected packages: six, pbr, funcsigs, wrapt, debtcollector, 
stevedore, pytz, Babel, oslo.i18n, rfc3986, oslo.config
Successfully installed Babel-2.5.3 debtcollector-1.19.0 funcsigs-1.0.2 
oslo.config-4.6.0 oslo.i18n-3.19.0 pbr-3.1.1 pytz-2018.3 rfc3986-1.1.0 
six-1.11.0 stevedore-1.28.0 wrapt-1.10.11
Collecting ansible==2.3.1.0
  Downloading ansible-2.3.1.0.tar.gz (4.3MB)
Collecting jinja2 (from ansible==2.3.1.0)
  Downloading Jinja2-2.10-py2.py3-none-any.whl (126kB)
Requirement already satisfied: PyYAML in 
./work/deploy/venv/lib/python2.7/site-packages (from ansible==2.3.1.0)
Collecting paramiko (from ansible==2.3.1.0)
  Downloading paramiko-2.4.0-py2.py3-none-any.whl (192kB)
Collecting pycrypto>=2.6 (from ansible==2.3.1.0)
  Downloading pycrypto-2.6.1.tar.gz (446kB)
Requirement already satisfied: setuptools in 
./work/deploy/venv/lib/python2.7/site-packages (from ansible==2.3.1.0)
Requirement already satisfied: MarkupSafe>=0.23 in 
./work/deploy/venv/lib/python2.7/site-packages (from jinja2->ansible==2.3.1.0)
Collecting pyasn1>=0.1.7 (from paramiko->ansible==2.3.1.0)
  Downloading pyasn1-0.4.2-py2.py3-none-any.whl (71kB)
Collecting bcrypt>=3.1.3 (from paramiko->ansible==2.3.1.0)
  Downloading bcrypt-3.1.4.tar.gz (42kB)
Collecting cryptography>=1.5 (from paramiko->ansible==2.3.1.0)
  Downloading cryptography-2.1.4.tar.gz (441kB)
Collecting pynacl>=1.0.1 (from paramiko->ansible==2.3.1.0)
  Downloading PyNaCl-1.2.1.tar.gz (3.3MB)
Requirement already satisfied: cffi>=1.1 in 
./work/deploy/venv/lib/python2.7/site-packages (from 
bcrypt>=3.1.3->paramiko->ansible==2.3.1.0)
Requirement already satisfied: six>=1.4.1 in 
./work/deploy/venv/lib/python2.7/site-packages (from 
bcrypt>=3.1.3->paramiko->ansible==2.3.1.0)
Requirement already satisfied: idna>=2.1 in 
./work/deploy/venv/lib/python2.7/site-packages (from 
cryptography>=1.5->paramiko->ansible==2.3.1.0)
Collecting asn1crypto>=0.21.0 (from 
cryptography>=1.5->paramiko->ansible==2.3.1.0)
  Downloading asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
Collecting enum34 (from cryptography>=1.5->paramiko->ansible==2.3.1.0)
  Downloading enum34-1.1.6-py2-none-any.whl
Collecting ipaddress (from cryptography>=1.5->paramiko->ansible==2.3.1.0)
  Downloading ipaddress-1.0.19.tar.gz
Requirement already satisfied: pycparser in 
./work/deploy/venv/lib/python2.7/site-packages (from 
cffi>=1.1->bcrypt>=3.1.3->paramiko->ansible==2.3.1.0)
Building wheels for collected packages: ansible, pycrypto, bcrypt, 
cryptography, pynacl, ipaddress
  Running setup.py bdist_wheel for ansible: started
  Running setup.py bdist_wheel for ansible: finished with status 'done'
  Stored in directory: 
/root/.cache/pip/wheels/db/42/8c/a00fdd1e70acccc3f3b27eb4265cbfcccb5f6a52a4b9195403
  Running setup.py bdist_wheel for pycrypto: started
  Running setup.py bdist_wheel for pycrypto: finished with status 'done'
  Stored in directory: 
/root/.cache/pip/wheels/80/1f/94/f76e9746864f198eb0e304aeec319159fa41b082f61281ffce
  Running setup.py bdist_wheel for bcrypt: started
  Running setup.py bdist_wheel for bcrypt: finished with status 'done'
  Stored in directory: 
/root/.cache/pip/wheels/3c/3a/46/aebf133d0746d742726bcc9b31c4f7c5827f51a12c1f1c5b4b
  Running setup.py bdist_wheel for cryptography: started
  Running setup.py bdist_wheel for cryptography: still running...
  Running setup.py bdist_wheel for cryptography: finished with status 'done'
  Stored in directory: 
/root/.cache/pip/wheels/e3/7b/98/e890b29317da1b29996aa27c5dcdd28104e09ffa2872408c13
  Running setup.py bdist_wheel for pynacl: started
  Running setup.py bdist_wheel for pynacl: still running...
  Running setup.py bdist_wheel for pynacl: still running...
  Running setup.py bdist_wheel for pynacl: still running...
  Running setup.py bdist_wheel for pynacl: still running...
  Running setup.py bdist_wheel for pynacl: finished with status 'done'
  Stored in directory: 
/root/.cache/pip/wheels/36/ac/a9/7ff5a2285116623b4ecafc12c42282956abe48f3f246a91faa
  Running setup.py bdist_wheel for ipaddress: started
  Running setup.py bdist_wheel for ipaddress: finished with status 'done'
  Stored in directory: 
/root/.cache/pip/wheels/d7/6b/69/666188e8101897abb2e115d408d139a372bdf6bfa7abb5aef5
Successfully built ansible pycrypto bcrypt cryptography pynacl ipaddress
Installing collected packages: jinja2, pyasn1, bcrypt, asn1crypto, enum34, 
ipaddress, cryptography, pynacl, paramiko, pycrypto, ansible
Successfully installed ansible-2.3.1.0 asn1crypto-0.24.0 bcrypt-3.1.4 
cryptography-2.1.4 enum34-1.1.6 ipaddress-1.0.19 jinja2-2.10 paramiko-2.4.0 
pyasn1-0.4.2 pycrypto-2.6.1 pynacl-1.2.1
Collecting docker-compose==1.14.0
  Downloading docker_compose-1.14.0-py2.py3-none-any.whl (97kB)
Collecting websocket-client<1.0,>=0.32.0 (from docker-compose==1.14.0)
  Downloading websocket_client-0.47.0-py2.py3-none-any.whl (200kB)
Collecting docker<3.0,>=2.3.0 (from docker-compose==1.14.0)
  Downloading docker-2.7.0-py2.py3-none-any.whl (119kB)
Requirement already satisfied: requests!=2.11.0,<2.12,>=2.6.1 in 
/usr/lib/python2.7/dist-packages (from docker-compose==1.14.0)
Requirement already satisfied: PyYAML<4,>=3.10 in 
/usr/lib/python2.7/dist-packages (from docker-compose==1.14.0)
Collecting colorama<0.4,>=0.3.7 (from docker-compose==1.14.0)
  Downloading colorama-0.3.9-py2.py3-none-any.whl
Requirement already satisfied: ipaddress>=1.0.16; python_version < "3.3" in 
/usr/lib/python2.7/dist-packages (from docker-compose==1.14.0)
Collecting docopt<0.7,>=0.6.1 (from docker-compose==1.14.0)
  Downloading docopt-0.6.2.tar.gz
Collecting dockerpty<0.5,>=0.4.1 (from docker-compose==1.14.0)
  Downloading dockerpty-0.4.1.tar.gz
Collecting backports.ssl-match-hostname>=3.5; python_version < "3.5" (from 
docker-compose==1.14.0)
  Downloading backports.ssl_match_hostname-3.5.0.1.tar.gz
Requirement already satisfied: enum34<2,>=1.0.4; python_version < "3.4" in 
/usr/lib/python2.7/dist-packages (from docker-compose==1.14.0)
Collecting texttable<0.9,>=0.8.1 (from docker-compose==1.14.0)
  Downloading texttable-0.8.8.tar.gz
Collecting cached-property<2,>=1.2.0 (from docker-compose==1.14.0)
  Downloading cached_property-1.4.0-py2.py3-none-any.whl
Requirement already satisfied: jsonschema<3,>=2.5.1 in 
/usr/lib/python2.7/dist-packages (from docker-compose==1.14.0)
Requirement already satisfied: six<2,>=1.3.0 in 
/usr/local/lib/python2.7/dist-packages (from docker-compose==1.14.0)
Collecting docker-pycreds>=0.2.1 (from 
docker<3.0,>=2.3.0->docker-compose==1.14.0)
  Downloading docker_pycreds-0.2.2-py2.py3-none-any.whl
Requirement already satisfied: functools32 in /usr/lib/python2.7/dist-packages 
(from jsonschema<3,>=2.5.1->docker-compose==1.14.0)
Building wheels for collected packages: docopt, dockerpty, 
backports.ssl-match-hostname, texttable
  Running setup.py bdist_wheel for docopt: started
  Running setup.py bdist_wheel for docopt: finished with status 'done'
  Stored in directory: 
/root/.cache/pip/wheels/b2/16/5f/c33a2bb5f2dce71205f8e65cbfd05647d79d441282be31fd82
  Running setup.py bdist_wheel for dockerpty: started
  Running setup.py bdist_wheel for dockerpty: finished with status 'done'
  Stored in directory: 
/root/.cache/pip/wheels/ae/d5/14/a25cbb003bd70ffefba0fdfbd5a5c4ea4d2a11bde7736f7482
  Running setup.py bdist_wheel for backports.ssl-match-hostname: started
  Running setup.py bdist_wheel for backports.ssl-match-hostname: finished with 
status 'done'
  Stored in directory: 
/root/.cache/pip/wheels/5d/72/36/b2a31507b613967b728edc33378a5ff2ada0f62855b93c5ae1
  Running setup.py bdist_wheel for texttable: started
  Running setup.py bdist_wheel for texttable: finished with status 'done'
  Stored in directory: 
/root/.cache/pip/wheels/63/d6/7c/2a14851751d06bbfa54b7339678df0939d123b26df88edd882
Successfully built docopt dockerpty backports.ssl-match-hostname texttable
Installing collected packages: websocket-client, backports.ssl-match-hostname, 
docker-pycreds, docker, colorama, docopt, dockerpty, texttable, 
cached-property, docker-compose
Successfully installed backports.ssl-match-hostname-3.5.0.1 
cached-property-1.4.0 colorama-0.3.9 docker-2.7.0 docker-compose-1.14.0 
docker-pycreds-0.2.2 dockerpty-0.4.1 docopt-0.6.2 texttable-0.8.8 
websocket-client-0.47.0
/compass/compass4nfv/work/deploy/venv/bin/python
++ process_input_para
+++ generate_input_env_file
+++ ofile=/compass/compass4nfv/work/deploy/script/deploy_input.sh
+++ echo '#input deployment  parameter'
++++ ls /compass/compass4nfv/deploy/conf/base.conf 
/compass/compass4nfv/deploy/conf/_.conf /compass/compass4nfv/deploy/conf/.conf 
/compass/compass4nfv/deploy/conf/.conf 
/compass/compass4nfv/deploy/conf/compass.conf
+++ cfg_file='/compass/compass4nfv/deploy/conf/base.conf
/compass/compass4nfv/deploy/conf/compass.conf'
++++ get_option_name_list '/compass/compass4nfv/deploy/conf/base.conf
/compass/compass4nfv/deploy/conf/compass.conf'
+++++ echo '/compass/compass4nfv/deploy/conf/base.conf
/compass/compass4nfv/deploy/conf/compass.conf'
+++++ xargs -n 1 grep -oP 'export .*?='
+++++ awk '{print $2}'
+++++ sort
+++++ uniq
+++++ sed -e 's/=$//g'
++++ echo CLUSTER_NAME COMPASS_COBBLER COMPASS_DB COMPASS_DECK 
COMPASS_DECK_PORT COMPASS_DNS1 COMPASS_DNS2 COMPASS_EXTERNAL_GW 
COMPASS_EXTERNAL_IP COMPASS_EXTERNAL_MASK COMPASS_MQ COMPASS_REPO 
COMPASS_REPO_PORT COMPASS_SERVER COMPASS_SERVER_URL COMPASS_TASKS 
COMPASS_USER_EMAIL COMPASS_USER_PASSWORD COMPASS_VIRT_CPUS COMPASS_VIRT_MEM 
CONSOLE_CREDENTIALS DASHBOARD_URL DHA DOMAIN ENABLE_FWAAS ENABLE_SECGROUP 
ENABLE_UBUNTU_THEME ENABLE_VPNAAS EXPANSION EXTERNAL_NIC EXT_NAT_GW 
EXT_NAT_IP_END EXT_NAT_IP_START EXT_NAT_MASK GATEWAY HTTP_SERVER_URL 
IGNORE_PROXY INSTALL_IP LANGUAGE LOCAL_REPO_URL MANAGEMENT_INTERFACE 
MANAGEMENT_IP_START MOON_CFG NAMESERVERS NETWORK NETWORK_MAPPING NEUTRON 
NTP_SERVER OFFLINE_DEPLOY OS_CONFIG_FILENAME PACKAGE_CONFIG_FILENAME PARTITIONS 
PROXY SEARCH_PATH SERVER_CREDENTIAL SERVICE_CREDENTIALS SUBNETS TAR_URL TIMEZONE
+++ option_name='CLUSTER_NAME COMPASS_COBBLER COMPASS_DB COMPASS_DECK 
COMPASS_DECK_PORT COMPASS_DNS1 COMPASS_DNS2 COMPASS_EXTERNAL_GW 
COMPASS_EXTERNAL_IP COMPASS_EXTERNAL_MASK COMPASS_MQ COMPASS_REPO 
COMPASS_REPO_PORT COMPASS_SERVER COMPASS_SERVER_URL COMPASS_TASKS 
COMPASS_USER_EMAIL COMPASS_USER_PASSWORD COMPASS_VIRT_CPUS COMPASS_VIRT_MEM 
CONSOLE_CREDENTIALS DASHBOARD_URL DHA DOMAIN ENABLE_FWAAS ENABLE_SECGROUP 
ENABLE_UBUNTU_THEME ENABLE_VPNAAS EXPANSION EXTERNAL_NIC EXT_NAT_GW 
EXT_NAT_IP_END EXT_NAT_IP_START EXT_NAT_MASK GATEWAY HTTP_SERVER_URL 
IGNORE_PROXY INSTALL_IP LANGUAGE LOCAL_REPO_URL MANAGEMENT_INTERFACE 
MANAGEMENT_IP_START MOON_CFG NAMESERVERS NETWORK NETWORK_MAPPING NEUTRON 
NTP_SERVER OFFLINE_DEPLOY OS_CONFIG_FILENAME PACKAGE_CONFIG_FILENAME PARTITIONS 
PROXY SEARCH_PATH SERVER_CREDENTIAL SERVICE_CREDENTIALS SUBNETS TAR_URL 
TIMEZONE'
++++ get_option_flag_list 'CLUSTER_NAME COMPASS_COBBLER COMPASS_DB COMPASS_DECK 
COMPASS_DECK_PORT COMPASS_DNS1 COMPASS_DNS2 COMPASS_EXTERNAL_GW 
COMPASS_EXTERNAL_IP COMPASS_EXTERNAL_MASK COMPASS_MQ COMPASS_REPO 
COMPASS_REPO_PORT COMPASS_SERVER COMPASS_SERVER_URL COMPASS_TASKS 
COMPASS_USER_EMAIL COMPASS_USER_PASSWORD COMPASS_VIRT_CPUS COMPASS_VIRT_MEM 
CONSOLE_CREDENTIALS DASHBOARD_URL DHA DOMAIN ENABLE_FWAAS ENABLE_SECGROUP 
ENABLE_UBUNTU_THEME ENABLE_VPNAAS EXPANSION EXTERNAL_NIC EXT_NAT_GW 
EXT_NAT_IP_END EXT_NAT_IP_START EXT_NAT_MASK GATEWAY HTTP_SERVER_URL 
IGNORE_PROXY INSTALL_IP LANGUAGE LOCAL_REPO_URL MANAGEMENT_INTERFACE 
MANAGEMENT_IP_START MOON_CFG NAMESERVERS NETWORK NETWORK_MAPPING NEUTRON 
NTP_SERVER OFFLINE_DEPLOY OS_CONFIG_FILENAME PACKAGE_CONFIG_FILENAME PARTITIONS 
PROXY SEARCH_PATH SERVER_CREDENTIAL SERVICE_CREDENTIALS SUBNETS TAR_URL 
TIMEZONE'
+++++ echo 'CLUSTER_NAME COMPASS_COBBLER COMPASS_DB COMPASS_DECK 
COMPASS_DECK_PORT COMPASS_DNS1 COMPASS_DNS2 COMPASS_EXTERNAL_GW 
COMPASS_EXTERNAL_IP COMPASS_EXTERNAL_MASK COMPASS_MQ COMPASS_REPO 
COMPASS_REPO_PORT COMPASS_SERVER COMPASS_SERVER_URL COMPASS_TASKS 
COMPASS_USER_EMAIL COMPASS_USER_PASSWORD COMPASS_VIRT_CPUS COMPASS_VIRT_MEM 
CONSOLE_CREDENTIALS DASHBOARD_URL DHA DOMAIN ENABLE_FWAAS ENABLE_SECGROUP 
ENABLE_UBUNTU_THEME ENABLE_VPNAAS EXPANSION EXTERNAL_NIC EXT_NAT_GW 
EXT_NAT_IP_END EXT_NAT_IP_START EXT_NAT_MASK GATEWAY HTTP_SERVER_URL 
IGNORE_PROXY INSTALL_IP LANGUAGE LOCAL_REPO_URL MANAGEMENT_INTERFACE 
MANAGEMENT_IP_START MOON_CFG NAMESERVERS NETWORK NETWORK_MAPPING NEUTRON 
NTP_SERVER OFFLINE_DEPLOY OS_CONFIG_FILENAME PACKAGE_CONFIG_FILENAME PARTITIONS 
PROXY SEARCH_PATH SERVER_CREDENTIAL SERVICE_CREDENTIALS SUBNETS TAR_URL 
TIMEZONE'
+++++ xargs
+++++ tr '[:upper:]' '[:lower:]'
+++++ sed -e 's/ /:,/g' -e s/_/-/g
++++ echo 
cluster-name:,compass-cobbler:,compass-db:,compass-deck:,compass-deck-port:,compass-dns1:,compass-dns2:,compass-external-gw:,compass-external-ip:,compass-external-mask:,compass-mq:,compass-repo:,compass-repo-port:,compass-server:,compass-server-url:,compass-tasks:,compass-user-email:,compass-user-password:,compass-virt-cpus:,compass-virt-mem:,console-credentials:,dashboard-url:,dha:,domain:,enable-fwaas:,enable-secgroup:,enable-ubuntu-theme:,enable-vpnaas:,expansion:,external-nic:,ext-nat-gw:,ext-nat-ip-end:,ext-nat-ip-start:,ext-nat-mask:,gateway:,http-server-url:,ignore-proxy:,install-ip:,language:,local-repo-url:,management-interface:,management-ip-start:,moon-cfg:,nameservers:,network:,network-mapping:,neutron:,ntp-server:,offline-deploy:,os-config-filename:,package-config-filename:,partitions:,proxy:,search-path:,server-credential:,service-credentials:,subnets:,tar-url:,timezone
+++ 
option_flag=cluster-name:,compass-cobbler:,compass-db:,compass-deck:,compass-deck-port:,compass-dns1:,compass-dns2:,compass-external-gw:,compass-external-ip:,compass-external-mask:,compass-mq:,compass-repo:,compass-repo-port:,compass-server:,compass-server-url:,compass-tasks:,compass-user-email:,compass-user-password:,compass-virt-cpus:,compass-virt-mem:,console-credentials:,dashboard-url:,dha:,domain:,enable-fwaas:,enable-secgroup:,enable-ubuntu-theme:,enable-vpnaas:,expansion:,external-nic:,ext-nat-gw:,ext-nat-ip-end:,ext-nat-ip-start:,ext-nat-mask:,gateway:,http-server-url:,ignore-proxy:,install-ip:,language:,local-repo-url:,management-interface:,management-ip-start:,moon-cfg:,nameservers:,network:,network-mapping:,neutron:,ntp-server:,offline-deploy:,os-config-filename:,package-config-filename:,partitions:,proxy:,search-path:,server-credential:,service-credentials:,subnets:,tar-url:,timezone
++++ getopt -o h -l 
dha:,network:,neutron:,conf-dir:,cluster-name:,compass-cobbler:,compass-db:,compass-deck:,compass-deck-port:,compass-dns1:,compass-dns2:,compass-external-gw:,compass-external-ip:,compass-external-mask:,compass-mq:,compass-repo:,compass-repo-port:,compass-server:,compass-server-url:,compass-tasks:,compass-user-email:,compass-user-password:,compass-virt-cpus:,compass-virt-mem:,console-credentials:,dashboard-url:,dha:,domain:,enable-fwaas:,enable-secgroup:,enable-ubuntu-theme:,enable-vpnaas:,expansion:,external-nic:,ext-nat-gw:,ext-nat-ip-end:,ext-nat-ip-start:,ext-nat-mask:,gateway:,http-server-url:,ignore-proxy:,install-ip:,language:,local-repo-url:,management-interface:,management-ip-start:,moon-cfg:,nameservers:,network:,network-mapping:,neutron:,ntp-server:,offline-deploy:,os-config-filename:,package-config-filename:,partitions:,proxy:,search-path:,server-credential:,service-credentials:,subnets:,tar-url:,timezone
 -n deploy_parameter.sh --
+++ TEMP=' --'
+++ '[' 0 '!=' 0 ']'
+++ eval set -- ' --'
++++ set -- --
+++ :
+++ [[ -- == \-\- ]]
+++ shift
+++ break
+++ echo /compass/compass4nfv/work/deploy/script/deploy_input.sh
++ input_file=/compass/compass4nfv/work/deploy/script/deploy_input.sh
++ echo /compass/compass4nfv/work/deploy/script/deploy_input.sh
+ source /compass/compass4nfv/work/deploy/script/deploy_input.sh
+ check_input_para
+ python /compass/compass4nfv/util/check_valid.py 
/compass/compass4nfv/deploy/conf/vm_environment/k8-nosdn-nofeature-noha.yml 
/compass/compass4nfv/deploy/conf/vm_environment/network.yml
+ '[' 0 -ne 0 ']'
++ process_default_para
++ [[ -z '' ]]
++ local set conf_dir=/compass/compass4nfv/deploy/conf
++ get_conf_name
++ [[ -n 
/compass/compass4nfv/deploy/conf/vm_environment/k8-nosdn-nofeature-noha.yml ]]
++ return
++ python /compass/compass4nfv/deploy/config_parse.py 
/compass/compass4nfv/deploy/conf/vm_environment/k8-nosdn-nofeature-noha.yml 
/compass/compass4nfv/deploy/conf/vm_environment/network.yml 
/compass/compass4nfv/deploy/template /compass/compass4nfv/work/deploy/script 
deploy_config.sh
++ echo /compass/compass4nfv/work/deploy/script/deploy_config.sh
+ source /compass/compass4nfv/work/deploy/script/deploy_config.sh
++ export HOSTNAMES=host1,host2
++ HOSTNAMES=host1,host2
++ export FLAVOR=cluster
++ FLAVOR=cluster
++ export TYPE=virtual
++ TYPE=virtual
++ export 'HOST_ROLES=host1=kube_master,etcd;host2=kube_node'
++ HOST_ROLES='host1=kube_master,etcd;host2=kube_node'
++ export 
DHA=/compass/compass4nfv/deploy/conf/vm_environment/k8-nosdn-nofeature-noha.yml
++ 
DHA=/compass/compass4nfv/deploy/conf/vm_environment/k8-nosdn-nofeature-noha.yml
++ export 'INSTALL_IP_RANGE=10.1.0.2 10.1.0.49'
++ INSTALL_IP_RANGE='10.1.0.2 10.1.0.49'
++ export INSTALL_GW=10.1.0.1
++ INSTALL_GW=10.1.0.1
++ export INSTALL_NETMASK=255.255.255.0
++ INSTALL_NETMASK=255.255.255.0
++ export INSTALL_CIDR=10.1.0.0/24
++ INSTALL_CIDR=10.1.0.0/24
++ export 
'HOST_NETWORKS=host1:eth0=10.1.0.50|is_mgmt;host2:eth0=10.1.0.51|is_mgmt'
++ HOST_NETWORKS='host1:eth0=10.1.0.50|is_mgmt;host2:eth0=10.1.0.51|is_mgmt'
+ source /compass/compass4nfv/deploy/conf/cluster.conf
++ export OS_VERSION=xenial
++ OS_VERSION=xenial
++ '[' xenial = xenial ']'
++ export 'ADAPTER_OS_PATTERN=(?i)ubuntu-16\.04'
++ ADAPTER_OS_PATTERN='(?i)ubuntu-16\.04'
++ export OPENSTACK_VERSION=ocata
++ OPENSTACK_VERSION=ocata
++ export 'ADAPTER_TARGET_SYSTEM_PATTERN=^openstack$'
++ ADAPTER_TARGET_SYSTEM_PATTERN='^openstack$'
++ '[' xenial = centos7 ']'
++ export REPO_NAME=xenial-ocata-ppa
++ REPO_NAME=xenial-ocata-ppa
++ export ADAPTER_NAME=openstack_ocata
++ ADAPTER_NAME=openstack_ocata
++ export ADAPTER_FLAVOR_PATTERN=HA-ansible-multinodes-ocata
++ ADAPTER_FLAVOR_PATTERN=HA-ansible-multinodes-ocata
++ [[ x != \x ]]
++ export DEFAULT_ROLES=
++ DEFAULT_ROLES=
++ export VIP=10.1.0.222
++ VIP=10.1.0.222
+ source /compass/compass4nfv/deploy/conf/virtual.conf
++ export VIRT_NUMBER=5
++ VIRT_NUMBER=5
++ export VIRT_CPUS=8
++ VIRT_CPUS=8
++ export VIRT_MEM=16384
++ VIRT_MEM=16384
++ export VIRT_DISK=200G
++ VIRT_DISK=200G
++ export SWITCH_IPS=1.1.1.1
++ SWITCH_IPS=1.1.1.1
++ export SWITCH_CREDENTIAL=version=2c,community=public
++ SWITCH_CREDENTIAL=version=2c,community=public
++ export DEPLOYMENT_TIMEOUT=300
++ DEPLOYMENT_TIMEOUT=300
++ export POLL_SWITCHES_FLAG=nopoll_switches
++ POLL_SWITCHES_FLAG=nopoll_switches
+ source /compass/compass4nfv/deploy/conf/base.conf
++ export 
DHA=/compass/compass4nfv/deploy/conf/vm_environment/k8-nosdn-nofeature-noha.yml
++ 
DHA=/compass/compass4nfv/deploy/conf/vm_environment/k8-nosdn-nofeature-noha.yml
++ export NEUTRON=/compass/compass4nfv/deploy/conf/neutron_cfg.yaml
++ NEUTRON=/compass/compass4nfv/deploy/conf/neutron_cfg.yaml
++ export NETWORK=/compass/compass4nfv/deploy/conf/vm_environment/network.yml
++ NETWORK=/compass/compass4nfv/deploy/conf/vm_environment/network.yml
+++ pwd
++ export TAR_URL=file:///compass/compass4nfv/work/building/compass.tar.gz
++ TAR_URL=file:///compass/compass4nfv/work/building/compass.tar.gz
++ export INSTALL_IP=10.1.0.1
++ INSTALL_IP=10.1.0.1
++ export EXT_NAT_MASK=255.255.252.0
++ EXT_NAT_MASK=255.255.252.0
++ export EXT_NAT_GW=192.16.1.1
++ EXT_NAT_GW=192.16.1.1
++ export EXT_NAT_IP_START=192.16.1.3
++ EXT_NAT_IP_START=192.16.1.3
++ export EXT_NAT_IP_END=192.16.1.254
++ EXT_NAT_IP_END=192.16.1.254
++ export EXTERNAL_NIC=eth0
++ EXTERNAL_NIC=eth0
++ export CLUSTER_NAME=opnfv2
++ CLUSTER_NAME=opnfv2
++ export DOMAIN=ods.com
++ DOMAIN=ods.com
++ export PARTITIONS=/=30%,/home=5%,/tmp=5%,/var=60%
++ PARTITIONS=/=30%,/home=5%,/tmp=5%,/var=60%
++ export SUBNETS=10.1.0.0/24,172.16.2.0/24,172.16.3.0/24,172.16.4.0/24
++ SUBNETS=10.1.0.0/24,172.16.2.0/24,172.16.3.0/24,172.16.4.0/24
++ export MANAGEMENT_IP_START=10.1.0.50
++ MANAGEMENT_IP_START=10.1.0.50
++ export MANAGEMENT_INTERFACE=eth0
++ MANAGEMENT_INTERFACE=eth0
++ export DASHBOARD_URL=
++ DASHBOARD_URL=
++ export ENABLE_SECGROUP=true
++ ENABLE_SECGROUP=true
++ export ENABLE_VPNAAS=false
++ ENABLE_VPNAAS=false
++ export ENABLE_FWAAS=false
++ ENABLE_FWAAS=false
++ export ENABLE_UBUNTU_THEME=true
++ ENABLE_UBUNTU_THEME=true
++ export EXPANSION=false
++ EXPANSION=false
++ export NETWORK_MAPPING=install=eth0
++ NETWORK_MAPPING=install=eth0
++ export PROXY=
++ PROXY=
++ export IGNORE_PROXY=
++ IGNORE_PROXY=
++ export SEARCH_PATH=ods.com
++ SEARCH_PATH=ods.com
++ export GATEWAY=10.1.0.1
++ GATEWAY=10.1.0.1
++ export SERVER_CREDENTIAL=root=root
++ SERVER_CREDENTIAL=root=root
++ export LOCAL_REPO_URL=
++ LOCAL_REPO_URL=
++ export OS_CONFIG_FILENAME=
++ OS_CONFIG_FILENAME=
++ export 
SERVICE_CREDENTIALS=image:service=service,compute:service=service,dashboard:service=service,identity:service=service,image:service=service,metering:service=service,network:service=service,rabbitmq:service=service,volume:service=service,mysql:service=service,heat:heat=heat_db_secret,alarming:aodh=aodh_db_secret,policy:congress=service
++ 
SERVICE_CREDENTIALS=image:service=service,compute:service=service,dashboard:service=service,identity:service=service,image:service=service,metering:service=service,network:service=service,rabbitmq:service=service,volume:service=service,mysql:service=service,heat:heat=heat_db_secret,alarming:aodh=aodh_db_secret,policy:congress=service
++ export 
CONSOLE_CREDENTIALS=admin:console=console,demo:console=console,compute:console=console,dashboard:console=console,identity:console=console,image:console=console,metering:console=console,network:console=console,object-store:console=console,volume:console=console,heat:heat=heat_secret,alarming:aodh=aodh_secret,policy:congress=console
++ 
CONSOLE_CREDENTIALS=admin:console=console,demo:console=console,compute:console=console,dashboard:console=console,identity:console=console,image:console=console,metering:console=console,network:console=console,object-store:console=console,volume:console=console,heat:heat=heat_secret,alarming:aodh=aodh_secret,policy:congress=console
++ export PACKAGE_CONFIG_FILENAME=
++ PACKAGE_CONFIG_FILENAME=
++ export 
MOON_CFG=master:flag=Disable,slave:flag=Disable,slave:name=slave1,slave:master_ip=master_ip
++ 
MOON_CFG=master:flag=Disable,slave:flag=Disable,slave:name=slave1,slave:master_ip=master_ip
+ source /compass/compass4nfv/deploy/conf/compass.conf
++ export COMPASS_VIRT_CPUS=4
++ COMPASS_VIRT_CPUS=4
++ export COMPASS_VIRT_MEM=4096
++ COMPASS_VIRT_MEM=4096
++ export COMPASS_SERVER=10.1.0.1
++ COMPASS_SERVER=10.1.0.1
++ export COMPASS_DECK_PORT=5050
++ COMPASS_DECK_PORT=5050
++ export COMPASS_SERVER_URL=http://10.1.0.1:5050/api
++ COMPASS_SERVER_URL=http://10.1.0.1:5050/api
++ export HTTP_SERVER_URL=http://10.1.0.1:5050/api
++ HTTP_SERVER_URL=http://10.1.0.1:5050/api
++ export [email protected]
++ [email protected]
++ export COMPASS_USER_PASSWORD=admin
++ COMPASS_USER_PASSWORD=admin
++ export COMPASS_DNS1=8.8.8.8
++ COMPASS_DNS1=8.8.8.8
++ export COMPASS_DNS2=
++ COMPASS_DNS2=
++ export COMPASS_EXTERNAL_IP=
++ COMPASS_EXTERNAL_IP=
++ export COMPASS_EXTERNAL_MASK=
++ COMPASS_EXTERNAL_MASK=
++ export COMPASS_EXTERNAL_GW=
++ COMPASS_EXTERNAL_GW=
++ export LANGUAGE=EN
++ LANGUAGE=EN
++ export TIMEZONE=America/Los_Angeles
++ TIMEZONE=America/Los_Angeles
++ export NTP_SERVER=10.1.0.1
++ NTP_SERVER=10.1.0.1
++ export NAMESERVERS=10.1.0.1
++ NAMESERVERS=10.1.0.1
++ export COMPASS_REPO_PORT=5151
++ COMPASS_REPO_PORT=5151
++ export OFFLINE_DEPLOY=Disable
++ OFFLINE_DEPLOY=Disable
++ export COMPASS_DECK=compass4nfv/compass-deck
++ COMPASS_DECK=compass4nfv/compass-deck
++ export COMPASS_TASKS=compass4nfv/compass-tasks-osa:euphrates
++ COMPASS_TASKS=compass4nfv/compass-tasks-osa:euphrates
++ [[ x != \x ]]
++ export COMPASS_COBBLER=compass4nfv/compass-cobbler
++ COMPASS_COBBLER=compass4nfv/compass-cobbler
++ export COMPASS_DB=compass4nfv/compass-db
++ COMPASS_DB=compass4nfv/compass-db
++ export COMPASS_MQ=compass4nfv/compass-mq
++ COMPASS_MQ=compass4nfv/compass-mq
++ export COMPASS_REPO=compass4nfv/compass-repo-osa-ubuntu:euphrates
++ COMPASS_REPO=compass4nfv/compass-repo-osa-ubuntu:euphrates
+ source /compass/compass4nfv/deploy/network.sh
+ source /compass/compass4nfv/deploy/host_virtual.sh
++ host_vm_dir=/compass/compass4nfv/work/deploy/vm
+ source /compass/compass4nfv/deploy/compass_vm.sh
++ compass_vm_dir=/compass/compass4nfv/work/deploy/vm/compass
++ rsa_file=/compass/compass4nfv/work/deploy/vm/compass/boot.rsa
++ ssh_args='-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i 
/compass/compass4nfv/work/deploy/vm/compass/boot.rsa'
+ source /compass/compass4nfv/deploy/deploy_host.sh
++ rsa_file=/compass/compass4nfv/work/deploy/vm/compass/boot.rsa
+ [[ false == \t\r\u\e ]]
+ [[ false == \f\a\l\s\e ]]
+ print_logo
+ figlet -ctf slant Compass Installer
                                                                           
______                                         ____           __        ____    
     
                                                                          / 
____/___  ____ ___  ____  ____ ___________   /  _/___  _____/ /_____ _/ / /__  
_____
                                                                         / /   
/ __ \/ __ `__ \/ __ \/ __ `/ ___/ ___/   / // __ \/ ___/ __/ __ `/ / / _ \/ 
___/
                                                                        / /___/ 
/_/ / / / / / / /_/ / /_/ (__  |__  )  _/ // / / (__  ) /_/ /_/ / / /  __/ /    
                                                                        
\____/\____/_/ /_/ /_/ .___/\__,_/____/____/  /___/_/ 
/_/____/\__/\__,_/_/_/\___/_/     
                                                                                
            /_/                                                                 
+ set +x
+ [[ ! -z 5 ]]
+ tear_down_machines
+ old_ifs='     
'
+ IFS=,
+ for i in '$HOSTNAMES'
+ sudo virsh destroy host1
error: failed to get domain 'host1'
error: Domain not found: no domain with matching name 'host1'

+ sudo virsh undefine host1
error: failed to get domain 'host1'
error: Domain not found: no domain with matching name 'host1'

+ rm -rf /compass/compass4nfv/work/deploy/vm/host1
+ for i in '$HOSTNAMES'
+ sudo virsh destroy host2
error: failed to get domain 'host2'
error: Domain not found: no domain with matching name 'host2'

+ sudo virsh undefine host2
error: failed to get domain 'host2'
error: Domain not found: no domain with matching name 'host2'

+ rm -rf /compass/compass4nfv/work/deploy/vm/host2
+ IFS='         
'
+ log_info '########## get host mac begin #############'
+ echo -e '########## get host mac begin #############'
########## get host mac begin #############
++ get_host_macs
++ local mac_generator=/compass/compass4nfv/deploy/mac_generator.sh
++ local machines=
++ [[ '' == \t\r\u\e ]]
++ [[ -z '' ]]
++ [[ false == \f\a\l\s\e ]]
++ chmod +x /compass/compass4nfv/deploy/mac_generator.sh
+++ /compass/compass4nfv/deploy/mac_generator.sh 5
++ mac_array=''\''00:00:2d:d8:a8:60'\'' '\''00:00:69:a4:39:51'\'' 
'\''00:00:28:28:12:34'\'' '\''00:00:a6:f3:5f:0c'\'' '\''00:00:4b:c6:b0:a9'\'''
++ echo ''\''00:00:2d:d8:a8:60'\''' ''\''00:00:69:a4:39:51'\''' 
''\''00:00:28:28:12:34'\''' ''\''00:00:a6:f3:5f:0c'\''' 
''\''00:00:4b:c6:b0:a9'\'''
+++ echo ''\''00:00:2d:d8:a8:60'\''' ''\''00:00:69:a4:39:51'\''' 
''\''00:00:28:28:12:34'\''' ''\''00:00:a6:f3:5f:0c'\''' 
''\''00:00:4b:c6:b0:a9'\'''
+++ sed 's/ /,/g'
++ 
machines=''\''00:00:2d:d8:a8:60'\'','\''00:00:69:a4:39:51'\'','\''00:00:28:28:12:34'\'','\''00:00:a6:f3:5f:0c'\'','\''00:00:4b:c6:b0:a9'\'''
++ echo 
''\''00:00:2d:d8:a8:60'\'','\''00:00:69:a4:39:51'\'','\''00:00:28:28:12:34'\'','\''00:00:a6:f3:5f:0c'\'','\''00:00:4b:c6:b0:a9'\'''
+ 
machines=''\''00:00:2d:d8:a8:60'\'','\''00:00:69:a4:39:51'\'','\''00:00:28:28:12:34'\'','\''00:00:a6:f3:5f:0c'\'','\''00:00:4b:c6:b0:a9'\'''
+ [[ -z 
'00:00:2d:d8:a8:60','00:00:69:a4:39:51','00:00:28:28:12:34','00:00:a6:f3:5f:0c','00:00:4b:c6:b0:a9'
 ]]
+ export machines
+ [[ true == \t\r\u\e ]]
+ prepare_env
+ sudo sed -i -e 's/^#user =.*/user = "root"/g' /etc/libvirt/qemu.conf
+ sudo sed -i -e 's/^#group =.*/group = "root"/g' /etc/libvirt/qemu.conf
+ sudo service libvirt-bin restart
+ sudo service openvswitch-switch status
+ grep stop
+ sudo rm -rf /compass/compass4nfv/work/deploy/installer 
/compass/compass4nfv/work/deploy/vm /compass/compass4nfv/work/deploy/network 
/compass/compass4nfv/work/deploy/iso /compass/compass4nfv/work/deploy/docker
+ mkdir -p /compass/compass4nfv/work/deploy/installer
+ mkdir -p /compass/compass4nfv/work/deploy/vm
+ mkdir -p /compass/compass4nfv/work/deploy/network
+ mkdir -p /compass/compass4nfv/work/deploy/iso
+ mkdir -p /compass/compass4nfv/work/deploy/cache
+ mkdir -p /compass/compass4nfv/work/deploy/docker
+ extract_tar
++ basename file:///compass/compass4nfv/work/building/compass.tar.gz
+ tar_name=compass.tar.gz
+ rm -f /compass/compass4nfv/work/deploy/cache/compass.tar.gz
+ curl --connect-timeout 10 -o 
/compass/compass4nfv/work/deploy/cache/compass.tar.gz 
file:///compass/compass4nfv/work/building/compass.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 5477M  100 5477M    0     0   143M      0  0:00:38  0:00:38 --:--:--  156M
+ tar -zxf /compass/compass4nfv/work/deploy/cache/compass.tar.gz -C 
/compass/compass4nfv/work/deploy/installer
+ chmod 755 /compass/compass4nfv/work/deploy -R
+ [[ ! -d /etc/libvirt/hooks ]]
+ sudo cp /compass/compass4nfv/deploy/qemu_hook.sh /etc/libvirt/hooks/qemu
+ log_info '########## set up network begin #############'
+ echo -e '########## set up network begin #############'
########## set up network begin #############
+ create_nets
+ setup_virtual_net
+ setup_nat_net install 10.1.0.1 255.255.255.0
+ net_name=install
+ gw=10.1.0.1
+ mask=255.255.255.0
+ ip_start=
+ ip_end=
+ sudo virsh net-destroy install
error: failed to get network 'install'
error: Network not found: no network with matching name 'install'

+ sudo virsh net-undefine install
error: failed to get network 'install'
error: Network not found: no network with matching name 'install'

+ sed -e s/REPLACE_BRIDGE/br_install/g -e s/REPLACE_NAME/install/g -e 
s/REPLACE_GATEWAY/10.1.0.1/g -e s/REPLACE_MASK/255.255.255.0/g -e 
s/REPLACE_START//g -e s/REPLACE_END//g 
/compass/compass4nfv/deploy/template/network/nat.xml
+ sudo virsh net-define /compass/compass4nfv/work/deploy/network/install.xml
Network install defined from 
/compass/compass4nfv/work/deploy/network/install.xml

+ sudo virsh net-start install
Network install started

+ setup_nat_net external_nat 192.16.1.1 255.255.252.0 192.16.1.3 192.16.1.254
+ net_name=external_nat
+ gw=192.16.1.1
+ mask=255.255.252.0
+ ip_start=192.16.1.3
+ ip_end=192.16.1.254
+ sudo virsh net-destroy external_nat
error: failed to get network 'external_nat'
error: Network not found: no network with matching name 'external_nat'

+ sudo virsh net-undefine external_nat
error: failed to get network 'external_nat'
error: Network not found: no network with matching name 'external_nat'

+ sed -e s/REPLACE_BRIDGE/br_external_nat/g -e s/REPLACE_NAME/external_nat/g -e 
s/REPLACE_GATEWAY/192.16.1.1/g -e s/REPLACE_MASK/255.255.252.0/g -e 
s/REPLACE_START/192.16.1.3/g -e s/REPLACE_END/192.16.1.254/g 
/compass/compass4nfv/deploy/template/network/nat.xml
+ sudo virsh net-define 
/compass/compass4nfv/work/deploy/network/external_nat.xml
Network external_nat defined from 
/compass/compass4nfv/work/deploy/network/external_nat.xml

+ sudo virsh net-start external_nat
Network external_nat started

+ clear_forward_rejct_rules
+ sudo iptables -nL FORWARD --line-number
+ grep -E 'REJECT +all +-- +0.0.0.0/0 +0.0.0.0/0 +reject-with 
icmp-port-unreachable'
+ head -1
+ awk '{print $1}'
+ xargs sudo iptables -D FORWARD
+ :
+ sudo iptables -nL FORWARD --line-number
+ grep -E 'REJECT +all +-- +0.0.0.0/0 +0.0.0.0/0 +reject-with 
icmp-port-unreachable'
+ head -1
+ awk '{print $1}'
+ xargs sudo iptables -D FORWARD
+ :
+ sudo iptables -nL FORWARD --line-number
+ grep -E 'REJECT +all +-- +0.0.0.0/0 +0.0.0.0/0 +reject-with 
icmp-port-unreachable'
+ head -1
+ awk '{print $1}'
+ xargs sudo iptables -D FORWARD
+ :
+ sudo iptables -nL FORWARD --line-number
+ grep -E 'REJECT +all +-- +0.0.0.0/0 +0.0.0.0/0 +reject-with 
icmp-port-unreachable'
+ head -1
+ awk '{print $1}'
+ xargs sudo iptables -D FORWARD
+ :
+ sudo iptables -nL FORWARD --line-number
+ grep -E 'REJECT +all +-- +0.0.0.0/0 +0.0.0.0/0 +reject-with 
icmp-port-unreachable'
+ head -1
+ awk '{print $1}'
+ xargs sudo iptables -D FORWARD
+ :
+ sudo iptables -nL FORWARD --line-number
+ grep -E 'REJECT +all +-- +0.0.0.0/0 +0.0.0.0/0 +reject-with 
icmp-port-unreachable'
+ head -1
+ awk '{print $1}'
+ xargs sudo iptables -D FORWARD
+ :
+ sudo iptables -nL FORWARD --line-number
+ grep -E 'REJECT +all +-- +0.0.0.0/0 +0.0.0.0/0 +reject-with 
icmp-port-unreachable'
+ head -1
+ awk '{print $1}'
+ xargs sudo iptables -D FORWARD
+ :
+ sudo iptables -nL FORWARD --line-number
+ grep -E 'REJECT +all +-- +0.0.0.0/0 +0.0.0.0/0 +reject-with 
icmp-port-unreachable'
+ head -1
+ awk '{print $1}'
+ xargs sudo iptables -D FORWARD
+ :
+ sudo iptables -nL FORWARD --line-number
+ grep -E 'REJECT +all +-- +0.0.0.0/0 +0.0.0.0/0 +reject-with 
icmp-port-unreachable'
+ head -1
+ awk '{print $1}'
+ xargs sudo iptables -D FORWARD
+ :
+ sudo iptables -nL FORWARD --line-number
+ grep -E 'REJECT +all +-- +0.0.0.0/0 +0.0.0.0/0 +reject-with 
icmp-port-unreachable'
+ head -1
+ awk '{print $1}'
+ xargs sudo iptables -D FORWARD
+ :
+ sudo iptables -nL FORWARD --line-number
+ grep -E 'REJECT +all +-- +0.0.0.0/0 +0.0.0.0/0 +reject-with 
icmp-port-unreachable'
+ head -1
+ awk '{print $1}'
+ xargs sudo iptables -D FORWARD
+ :
+ sudo iptables -nL FORWARD --line-number
+ grep -E 'REJECT +all +-- +0.0.0.0/0 +0.0.0.0/0 +reject-with 
icmp-port-unreachable'
+ head -1
+ awk '{print $1}'
+ xargs sudo iptables -D FORWARD
+ :
+ sudo iptables -nL FORWARD --line-number
+ grep -E 'REJECT +all +-- +0.0.0.0/0 +0.0.0.0/0 +reject-with 
icmp-port-unreachable'
+ head -1
+ awk '{print $1}'
+ xargs sudo iptables -D FORWARD
iptables: Bad rule (does a matching rule exist in that chain?).
+ setup_network_boot_scripts
+ sudo cp /compass/compass4nfv/deploy/network.sh /usr/sbin/network_setup
+ sudo chmod +777 /usr/sbin/network_setup
+ sudo cat
+ sudo chmod 755 /usr/sbin/network_setup
+ egrep -R '^/usr/sbin/network_setup' /etc/rc.local
+ [[ 1 != 0 ]]
+ sudo sed -i '/^exit 0/i\/usr\/sbin\/network_setup' /etc/rc.local
+ launch_compass
+ local 
group_vars=/compass/compass4nfv/work/deploy/installer/compass-docker-compose/group_vars/all
+ sed -i 's#^\(compass_dir:\).*#\1 /compass/compass4nfv#g' 
/compass/compass4nfv/work/deploy/installer/compass-docker-compose/group_vars/all
+ sed -i 's#^\(compass_deck:\).*#\1 compass4nfv/compass-deck#g' 
/compass/compass4nfv/work/deploy/installer/compass-docker-compose/group_vars/all
+ sed -i 's#^\(compass_tasks:\).*#\1 compass4nfv/compass-tasks-osa:euphrates#g' 
/compass/compass4nfv/work/deploy/installer/compass-docker-compose/group_vars/all
+ sed -i 's#^\(compass_cobbler:\).*#\1 compass4nfv/compass-cobbler#g' 
/compass/compass4nfv/work/deploy/installer/compass-docker-compose/group_vars/all
+ sed -i 's#^\(compass_db:\).*#\1 compass4nfv/compass-db#g' 
/compass/compass4nfv/work/deploy/installer/compass-docker-compose/group_vars/all
+ sed -i 's#^\(compass_mq:\).*#\1 compass4nfv/compass-mq#g' 
/compass/compass4nfv/work/deploy/installer/compass-docker-compose/group_vars/all
+ [[ Disable == \E\n\a\b\l\e ]]
+ sed -i 's/^\(compass_repo:.*\)/#\1/g' 
/compass/compass4nfv/work/deploy/installer/compass-docker-compose/group_vars/all
+ sed -i 's#^\(host_ip:\).*#\1 10.1.0.1#g' 
/compass/compass4nfv/work/deploy/installer/compass-docker-compose/group_vars/all
+ sed -i 's#^\(install_subnet:\).*#\1 10.1.0.0#g' 
/compass/compass4nfv/work/deploy/installer/compass-docker-compose/group_vars/all
+ sed -i 's#^\(install_prefix:\).*#\1 24#g' 
/compass/compass4nfv/work/deploy/installer/compass-docker-compose/group_vars/all
+ sed -i 's#^\(install_netmask:\).*#\1 255.255.255.0#g' 
/compass/compass4nfv/work/deploy/installer/compass-docker-compose/group_vars/all
+ sed -i 's#^\(install_ip_range:\).*#\1 10.1.0.2 10.1.0.49#g' 
/compass/compass4nfv/work/deploy/installer/compass-docker-compose/group_vars/all
+ sed -i 's#^\(deck_port:\).*#\1 5050#g' 
/compass/compass4nfv/work/deploy/installer/compass-docker-compose/group_vars/all
+ sed -i 's#^\(repo_port:\).*#\1 5151#g' 
/compass/compass4nfv/work/deploy/installer/compass-docker-compose/group_vars/all
+ ansible-playbook 
/compass/compass4nfv/work/deploy/installer/compass-docker-compose/bring_up_compass.yml
 [WARNING]: Host file not found: /etc/ansible/hosts
 [WARNING]: provided hosts list is empty, only localhost is available
[DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and 
make sure become_method is 'sudo' (default).
This feature will be removed in a future release. Deprecation warnings can be 
disabled by setting 
deprecation_warnings=False in ansible.cfg.

PLAY [Install Compass] 
******************************************************************************************************************************************************************************************************************

TASK [Gathering Facts] 
******************************************************************************************************************************************************************************************************************
ok: [localhost]

TASK [compass : get jumphost ip] 
********************************************************************************************************************************************************************************************************
changed: [localhost]

TASK [compass : fix name.service] 
*******************************************************************************************************************************************************************************************************
changed: [localhost]

TASK [compass : render docker-compose file] 
*********************************************************************************************************************************************************************************************
changed: [localhost]

TASK [compass : docker-compose down] 
****************************************************************************************************************************************************************************************************
changed: [localhost]

TASK [compass : load docker images] 
*****************************************************************************************************************************************************************************************************
changed: [localhost] => (item=compass4nfv/compass-deck)
changed: [localhost] => (item=compass4nfv/compass-tasks-osa:euphrates)
changed: [localhost] => (item=compass4nfv/compass-cobbler)
changed: [localhost] => (item=compass4nfv/compass-db)
changed: [localhost] => (item=compass4nfv/compass-mq)

TASK [compass : load offline repo] 
******************************************************************************************************************************************************************************************************
skipping: [localhost]

TASK [compass : load yardstick image] 
***************************************************************************************************************************************************************************************************
changed: [localhost]

TASK [compass : copy files] 
*************************************************************************************************************************************************************************************************************
changed: [localhost] => (item=/compass/compass4nfv/deploy/adapters/ansible)
changed: [localhost] => (item=/compass/compass4nfv/deploy/compass_conf)
changed: [localhost] => (item=/compass/compass4nfv/deploy/adapters/cobbler)

TASK [compass : retrieve plugins list] 
**************************************************************************************************************************************************************************************************
changed: [localhost]

TASK [compass : copy plugins roles] 
*****************************************************************************************************************************************************************************************************
changed: [localhost] => (item=barometer)
changed: [localhost] => (item=dpdk)
changed: [localhost] => (item=moon)
changed: [localhost] => (item=ntp)
changed: [localhost] => (item=odl_cluster)
changed: [localhost] => (item=odl_sfc)
changed: [localhost] => (item=rt_kvm)
skipping: [localhost] => (item=template) 

TASK [compass : chmod directory] 
********************************************************************************************************************************************************************************************************
ok: [localhost] => (item=/compass/compass4nfv/deploy/adapters/ansible)
ok: [localhost] => (item=/compass/compass4nfv/deploy/compass_conf)
ok: [localhost] => (item=/compass/compass4nfv/deploy/adapters/cobbler)

TASK [compass : copy ansible scripts into ansible folder] 
*******************************************************************************************************************************************************************************
changed: [localhost]

TASK [compass : create run dir] 
*********************************************************************************************************************************************************************************************************
changed: [localhost]

TASK [compass : render cobbler] 
*********************************************************************************************************************************************************************************************************
changed: [localhost] => (item=cobbler.conf)

TASK [compass : docker-compose up] 
******************************************************************************************************************************************************************************************************
changed: [localhost]

TASK [compass : create compass db tables] 
***********************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "sleep 3; docker exec 
compass-deck bash -c \"/opt/compass/bin/manage_db.py createdb\"", "delta": 
"0:00:03.054202", "end": "2018-02-26 01:51:26.269133", "failed": true, "rc": 1, 
"start": "2018-02-26 01:51:23.214931", "stderr": "Error response from daemon: 
Container 9fe956fb302d6619afae44ec455b5739c851eefc875d71558ba1e6826e267e17 is 
not running", "stderr_lines": ["Error response from daemon: Container 
9fe956fb302d6619afae44ec455b5739c851eefc875d71558ba1e6826e267e17 is not 
running"], "stdout": "", "stdout_lines": []}
        to retry, use: --limit 
@/compass/compass4nfv/work/deploy/installer/compass-docker-compose/bring_up_compass.retry

PLAY RECAP 
******************************************************************************************************************************************************************************************************************************
localhost                  : ok=15   changed=13   unreachable=0    failed=1   

+ log_error 'launch_compass failed'
+ echo -e 'launch_compass failed'
launch_compass failed
+ exit 1
root@localhost:/compass/compass4nfv# docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             
STATUS              PORTS               NAMES
root@localhost:/compass/compass4nfv# docker ls
docker: 'ls' is not a docker command.
See 'docker --help'
root@localhost:/compass/compass4nfv# docker images
REPOSITORY                            TAG                 IMAGE ID            
CREATED             SIZE
opnfv/yardstick                       latest              2b0b0cf1b408        2 
days ago          2.03 GB
compass4nfv/compass-tasks-k8s         latest              0c3e6eccf875        2 
weeks ago         960 MB
tacker                                latest              c793eeab6c73        6 
weeks ago         695 MB
blsaws/models-tacker                  latest              2e3a4283c077        7 
weeks ago         790 MB
ubuntu                                xenial              292966ec354d        2 
months ago        103 MB
compass4nfv/compass-repo-osa-ubuntu   euphrates           56ae3b524413        2 
months ago        1.72 GB
compass4nfv/compass-db                latest              a91315525c98        3 
months ago        318 MB
compass4nfv/compass-tasks-osa         euphrates           f077d8eedf6e        4 
months ago        1.79 GB
compass4nfv/compass-cobbler           latest              c9293d807096        8 
months ago        612 MB
compass4nfv/compass-deck              latest              a748a5fb7492        8 
months ago        703 MB
compass4nfv/compass-mq                latest              8cc5f4e7fb90        
10 months ago       179 MB
root@localhost:/compass/compass4nfv# 

Thanks,
Joe
On Feb 25, 2018, at 9:48 PM, huangxiangyu <[email protected]> wrote:

Joe
 
OpenStack is not involved here, just install kubernetes on baremetal server. Compass supports both CentOS and Ubuntu in other scenarios but this scenario for ARM is relatively new and only support centos7 for now. Another thing is some servers may require dedicated OS, there is a yaml file to specify which exact OS will be built into compass tar ball then used during deploy process.
 
Regards
Harry
 
发件人: Joe Kidder [mailto:[email protected]] 
发送时间: 2018224 19:49
收件人: huangxiangyu <[email protected]>
抄送: [email protected]; [email protected]; Tina Tsou <[email protected]>; [email protected]; [email protected]
主题: Re: [opnfv-tech-discuss] [Auto] Deploy kubernetes on ARM server using Compass4NFV
 
Thanks, Harry.  That sounds pretty cool.
 
Does this install open stack as well?  Or does it just install k8s on an open stack environment?
Also, I see something that says “OS_VERSION=centos7” - is that what hosts the k8s master and node?
 
Thanks,
Joe
 
On Feb 24, 2018, at 2:16 AM, huangxiangyu <[email protected]> wrote:
 
Hi team
 
Attachment is the guide of how to deploy kubernetes scenario on ARM server using compass installer. We have tested it in Huawei lab with a baremetal pod of six ARM servers.
 
Regards
Harry
<k8s-deploy-arm.rst>

_______________________________________________
opnfv-tech-discuss mailing list
[email protected]
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to