こんにちは、鯨井貴博@opensourcetechです。
2018/5/31に開催されたTungsten Fabric もくもく会に参加してきました。
場所は、Juniper Networksさんの初台オフィス(東京オペラシティ 45F)。
45Fに上がると、ペッパー君が迎えてくれます。
とりあえず、もくもくインストールすることにした
Tungsten Fabric(LF移管前のOpenContrailも含めて)自体、SDNコントローラということは知ってはいるが、構築したことがなかったのでインストールを行ってみました。
手順は、以下を参考にしました。
構築環境
上記手順では、AWSのEC2インスタンス (t2.large)2台をmasterノード・slaveノードとして使おうとあるのですが(スペックとしては、vCPU2 & memory8GB)、
そんな環境持ち合わせていなかったので、
PC上のVM(vCPU2 & memory4GB)1台のmasterノードのみの構成で、
やってみました。
インストール作業
使用したOSは、CentOS7.5 minimalパッケージ。
http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1804.iso
必要パッケージのインストール
[root@localhost ~]# yum -y install epel-release git ansible net-tools
読み込んだプラグイン:fastestmirror
Determining fastest mirrors
* base: ftp.jaist.ac.jp
* extras: ftp.jaist.ac.jp
* updates: ftp.jaist.ac.jp
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
(2/4): base/7/x86_64/prima 0% [ ] 0.0 B/s | 0 B --:-- ETA
(1/4): base/7/x86_64/group_gz | 166 kB 00:00
(2/4): extras/7/x86_64/primary_db | 147 kB 00:00
(4/4): updates/7/x86_64/pr 19% [=== ] 0.0 B/s | 1.6 MB --:-- ETA
(4/4): updates/7/x86_64/pr 55% [========- ] 4.7 MB/s | 4.5 MB 00:00 ETA
(3/4): base/7/x86_64/primary_db | 5.9 MB 00:01
(4/4): updates/7/x86_64/p 100% [================] 5.1 MB/s | 8.2 MB 00:00 ETA
(4/4): updates/7/x86_64/primary_db | 2.0 MB 00:01
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ ansible.noarch 0:2.4.2.0-2.el7 を インストール
--> 依存性の処理をしています: sshpass のパッケージ: ansible-2.4.2.0-2.el7.noarch
--> 依存性の処理をしています: python2-jmespath のパッケージ: ansible-2.4.2.0-2.el7.noarch
--> 依存性の処理をしています: python-six のパッケージ: ansible-2.4.2.0-2.el7.noarch
--> 依存性の処理をしています: python-setuptools のパッケージ: ansible-2.4.2.0-2.el7.noarch
--> 依存性の処理をしています: python-passlib のパッケージ: ansible-2.4.2.0-2.el7.noarch
--> 依存性の処理をしています: python-paramiko のパッケージ: ansible-2.4.2.0-2.el7.noarch
--> 依存性の処理をしています: python-jinja2 のパッケージ: ansible-2.4.2.0-2.el7.noarch
--> 依存性の処理をしています: python-httplib2 のパッケージ: ansible-2.4.2.0-2.el7.noarch
--> 依存性の処理をしています: python-cryptography のパッケージ: ansible-2.4.2.0-2.el7.noarch
--> 依存性の処理をしています: PyYAML のパッケージ: ansible-2.4.2.0-2.el7.noarch
---> パッケージ epel-release.noarch 0:7-11 を インストール
---> パッケージ git.x86_64 0:1.8.3.1-13.el7 を インストール
--> 依存性の処理をしています: perl-Git = 1.8.3.1-13.el7 のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: perl >= 5.008 のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: rsync のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: perl(warnings) のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: perl(vars) のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: perl(strict) のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: perl(lib) のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: perl(Term::ReadKey) のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: perl(Git) のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: perl(Getopt::Long) のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: perl(File::stat) のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: perl(File::Temp) のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: perl(File::Spec) のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: perl(File::Path) のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: perl(File::Find) のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: perl(File::Copy) のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: perl(File::Basename) のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: perl(Exporter) のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: perl(Error) のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: /usr/bin/perl のパッケージ: git-1.8.3.1-13.el7.x86_64
--> 依存性の処理をしています: libgnome-keyring.so.0()(64bit) のパッケージ: git-1.8.3.1-13.el7.x86_64
---> パッケージ net-tools.x86_64 0:2.0-0.22.20131004git.el7 を インストール
--> トランザクションの確認を実行しています。
---> パッケージ PyYAML.x86_64 0:3.10-11.el7 を インストール
--> 依存性の処理をしています: libyaml-0.so.2()(64bit) のパッケージ: PyYAML-3.10-11.el7.x86_64
---> パッケージ libgnome-keyring.x86_64 0:3.12.0-1.el7 を インストール
---> パッケージ perl.x86_64 4:5.16.3-292.el7 を インストール
--> 依存性の処理をしています: perl-libs = 4:5.16.3-292.el7 のパッケージ: 4:perl-5.16.3-292.el7.x86_64
--> 依存性の処理をしています: perl(Socket) >= 1.3 のパッケージ: 4:perl-5.16.3-292.el7.x86_64
--> 依存性の処理をしています: perl(Scalar::Util) >= 1.10 のパッケージ: 4:perl-5.16.3-292.el7.x86_64
--> 依存性の処理をしています: perl-macros のパッケージ: 4:perl-5.16.3-292.el7.x86_64
--> 依存性の処理をしています: perl-libs のパッケージ: 4:perl-5.16.3-292.el7.x86_64
--> 依存性の処理をしています: perl(threads::shared) のパッケージ: 4:perl-5.16.3-292.el7.x86_64
--> 依存性の処理をしています: perl(threads) のパッケージ: 4:perl-5.16.3-292.el7.x86_64
--> 依存性の処理をしています: perl(constant) のパッケージ: 4:perl-5.16.3-292.el7.x86_64
--> 依存性の処理をしています: perl(Time::Local) のパッケージ: 4:perl-5.16.3-292.el7.x86_64
--> 依存性の処理をしています: perl(Time::HiRes) のパッケージ: 4:perl-5.16.3-292.el7.x86_64
--> 依存性の処理をしています: perl(Storable) のパッケージ: 4:perl-5.16.3-292.el7.x86_64
--> 依存性の処理をしています: perl(Socket) のパッケージ: 4:perl-5.16.3-292.el7.x86_64
--> 依存性の処理をしています: perl(Scalar::Util) のパッケージ: 4:perl-5.16.3-292.el7.x86_64
--> 依存性の処理をしています: perl(Pod::Simple::XHTML) のパッケージ: 4:perl-5.16.3-292.el7.x86_64
--> 依存性の処理をしています: perl(Pod::Simple::Search) のパッケージ: 4:perl-5.16.3-292.el7.x86_64
--> 依存性の処理をしています: perl(Filter::Util::Call) のパッケージ: 4:perl-5.16.3-292.el7.x86_64
--> 依存性の処理をしています: perl(Carp) のパッケージ: 4:perl-5.16.3-292.el7.x86_64
--> 依存性の処理をしています: libperl.so()(64bit) のパッケージ: 4:perl-5.16.3-292.el7.x86_64
---> パッケージ perl-Error.noarch 1:0.17020-2.el7 を インストール
---> パッケージ perl-Exporter.noarch 0:5.68-3.el7 を インストール
---> パッケージ perl-File-Path.noarch 0:2.09-2.el7 を インストール
---> パッケージ perl-File-Temp.noarch 0:0.23.01-3.el7 を インストール
---> パッケージ perl-Getopt-Long.noarch 0:2.40-3.el7 を インストール
--> 依存性の処理をしています: perl(Pod::Usage) >= 1.14 のパッケージ: perl-Getopt-Long-2.40-3.el7.noarch
--> 依存性の処理をしています: perl(Text::ParseWords) のパッケージ: perl-Getopt-Long-2.40-3.el7.noarch
---> パッケージ perl-Git.noarch 0:1.8.3.1-13.el7 を インストール
---> パッケージ perl-PathTools.x86_64 0:3.40-5.el7 を インストール
---> パッケージ perl-TermReadKey.x86_64 0:2.30-20.el7 を インストール
---> パッケージ python-httplib2.noarch 0:0.9.2-1.el7 を インストール
---> パッケージ python-jinja2.noarch 0:2.7.2-2.el7 を インストール
--> 依存性の処理をしています: python-babel >= 0.8 のパッケージ: python-jinja2-2.7.2-2.el7.noarch
--> 依存性の処理をしています: python-markupsafe のパッケージ: python-jinja2-2.7.2-2.el7.noarch
---> パッケージ python-paramiko.noarch 0:2.1.1-4.el7 を インストール
--> 依存性の処理をしています: python2-pyasn1 のパッケージ: python-paramiko-2.1.1-4.el7.noarch
---> パッケージ python-passlib.noarch 0:1.6.5-2.el7 を インストール
---> パッケージ python-setuptools.noarch 0:0.9.8-7.el7 を インストール
--> 依存性の処理をしています: python-backports-ssl_match_hostname のパッケージ: python-setuptools-0.9.8-7.el7.noarch
---> パッケージ python-six.noarch 0:1.9.0-2.el7 を インストール
---> パッケージ python2-cryptography.x86_64 0:1.7.2-2.el7 を インストール
--> 依存性の処理をしています: python-idna >= 2.0 のパッケージ: python2-cryptography-1.7.2-2.el7.x86_64
--> 依存性の処理をしています: python-cffi >= 1.4.1 のパッケージ: python2-cryptography-1.7.2-2.el7.x86_64
--> 依存性の処理をしています: python-ipaddress のパッケージ: python2-cryptography-1.7.2-2.el7.x86_64
--> 依存性の処理をしています: python-enum34 のパッケージ: python2-cryptography-1.7.2-2.el7.x86_64
---> パッケージ python2-jmespath.noarch 0:0.9.0-3.el7 を インストール
---> パッケージ rsync.x86_64 0:3.1.2-4.el7 を インストール
---> パッケージ sshpass.x86_64 0:1.06-2.el7 を インストール
--> トランザクションの確認を実行しています。
---> パッケージ libyaml.x86_64 0:0.1.4-11.el7_0 を インストール
---> パッケージ perl-Carp.noarch 0:1.26-244.el7 を インストール
---> パッケージ perl-Filter.x86_64 0:1.49-3.el7 を インストール
---> パッケージ perl-Pod-Simple.noarch 1:3.28-4.el7 を インストール
--> 依存性の処理をしています: perl(Pod::Escapes) >= 1.04 のパッケージ: 1:perl-Pod-Simple-3.28-4.el7.noarch
--> 依存性の処理をしています: perl(Encode) のパッケージ: 1:perl-Pod-Simple-3.28-4.el7.noarch
---> パッケージ perl-Pod-Usage.noarch 0:1.63-3.el7 を インストール
--> 依存性の処理をしています: perl(Pod::Text) >= 3.15 のパッケージ: perl-Pod-Usage-1.63-3.el7.noarch
--> 依存性の処理をしています: perl-Pod-Perldoc のパッケージ: perl-Pod-Usage-1.63-3.el7.noarch
---> パッケージ perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 を インストール
---> パッケージ perl-Socket.x86_64 0:2.010-4.el7 を インストール
---> パッケージ perl-Storable.x86_64 0:2.45-3.el7 を インストール
---> パッケージ perl-Text-ParseWords.noarch 0:3.29-4.el7 を インストール
---> パッケージ perl-Time-HiRes.x86_64 4:1.9725-3.el7 を インストール
---> パッケージ perl-Time-Local.noarch 0:1.2300-2.el7 を インストール
---> パッケージ perl-constant.noarch 0:1.27-2.el7 を インストール
---> パッケージ perl-libs.x86_64 4:5.16.3-292.el7 を インストール
---> パッケージ perl-macros.x86_64 4:5.16.3-292.el7 を インストール
---> パッケージ perl-threads.x86_64 0:1.87-4.el7 を インストール
---> パッケージ perl-threads-shared.x86_64 0:1.43-6.el7 を インストール
---> パッケージ python-babel.noarch 0:0.9.6-8.el7 を インストール
---> パッケージ python-backports-ssl_match_hostname.noarch 0:3.5.0.1-1.el7 を インストール
--> 依存性の処理をしています: python-backports のパッケージ: python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch
---> パッケージ python-cffi.x86_64 0:1.6.0-5.el7 を インストール
--> 依存性の処理をしています: python-pycparser のパッケージ: python-cffi-1.6.0-5.el7.x86_64
---> パッケージ python-enum34.noarch 0:1.0.4-1.el7 を インストール
---> パッケージ python-idna.noarch 0:2.4-1.el7 を インストール
---> パッケージ python-ipaddress.noarch 0:1.0.16-2.el7 を インストール
---> パッケージ python-markupsafe.x86_64 0:0.11-10.el7 を インストール
---> パッケージ python2-pyasn1.noarch 0:0.1.9-7.el7 を インストール
--> トランザクションの確認を実行しています。
---> パッケージ perl-Encode.x86_64 0:2.51-7.el7 を インストール
---> パッケージ perl-Pod-Escapes.noarch 1:1.04-292.el7 を インストール
---> パッケージ perl-Pod-Perldoc.noarch 0:3.20-4.el7 を インストール
--> 依存性の処理をしています: perl(parent) のパッケージ: perl-Pod-Perldoc-3.20-4.el7.noarch
--> 依存性の処理をしています: perl(HTTP::Tiny) のパッケージ: perl-Pod-Perldoc-3.20-4.el7.noarch
---> パッケージ perl-podlators.noarch 0:2.5.1-3.el7 を インストール
---> パッケージ python-backports.x86_64 0:1.0-8.el7 を インストール
---> パッケージ python-pycparser.noarch 0:2.14-1.el7 を インストール
--> 依存性の処理をしています: python-ply のパッケージ: python-pycparser-2.14-1.el7.noarch
--> トランザクションの確認を実行しています。
---> パッケージ perl-HTTP-Tiny.noarch 0:0.033-3.el7 を インストール
---> パッケージ perl-parent.noarch 1:0.225-244.el7 を インストール
---> パッケージ python-ply.noarch 0:3.4-11.el7 を インストール
--> 依存性解決を終了しました。
依存性を解決しました
================================================================================
Package アーキテクチャー
バージョン リポジトリー
容量
================================================================================
インストール中:
ansible noarch 2.4.2.0-2.el7 extras 7.6 M
epel-release noarch 7-11 extras 15 k
git x86_64 1.8.3.1-13.el7 base 4.4 M
net-tools x86_64 2.0-0.22.20131004git.el7 base 305 k
依存性関連でのインストールをします:
PyYAML x86_64 3.10-11.el7 base 153 k
libgnome-keyring x86_64 3.12.0-1.el7 base 109 k
libyaml x86_64 0.1.4-11.el7_0 base 55 k
perl x86_64 4:5.16.3-292.el7 base 8.0 M
perl-Carp noarch 1.26-244.el7 base 19 k
perl-Encode x86_64 2.51-7.el7 base 1.5 M
perl-Error noarch 1:0.17020-2.el7 base 32 k
perl-Exporter noarch 5.68-3.el7 base 28 k
perl-File-Path noarch 2.09-2.el7 base 26 k
perl-File-Temp noarch 0.23.01-3.el7 base 56 k
perl-Filter x86_64 1.49-3.el7 base 76 k
perl-Getopt-Long noarch 2.40-3.el7 base 56 k
perl-Git noarch 1.8.3.1-13.el7 base 54 k
perl-HTTP-Tiny noarch 0.033-3.el7 base 38 k
perl-PathTools x86_64 3.40-5.el7 base 82 k
perl-Pod-Escapes noarch 1:1.04-292.el7 base 51 k
perl-Pod-Perldoc noarch 3.20-4.el7 base 87 k
perl-Pod-Simple noarch 1:3.28-4.el7 base 216 k
perl-Pod-Usage noarch 1.63-3.el7 base 27 k
perl-Scalar-List-Utils x86_64 1.27-248.el7 base 36 k
perl-Socket x86_64 2.010-4.el7 base 49 k
perl-Storable x86_64 2.45-3.el7 base 77 k
perl-TermReadKey x86_64 2.30-20.el7 base 31 k
perl-Text-ParseWords noarch 3.29-4.el7 base 14 k
perl-Time-HiRes x86_64 4:1.9725-3.el7 base 45 k
perl-Time-Local noarch 1.2300-2.el7 base 24 k
perl-constant noarch 1.27-2.el7 base 19 k
perl-libs x86_64 4:5.16.3-292.el7 base 688 k
perl-macros x86_64 4:5.16.3-292.el7 base 43 k
perl-parent noarch 1:0.225-244.el7 base 12 k
perl-podlators noarch 2.5.1-3.el7 base 112 k
perl-threads x86_64 1.87-4.el7 base 49 k
perl-threads-shared x86_64 1.43-6.el7 base 39 k
python-babel noarch 0.9.6-8.el7 base 1.4 M
python-backports x86_64 1.0-8.el7 base 5.8 k
python-backports-ssl_match_hostname
noarch 3.5.0.1-1.el7 base 13 k
python-cffi x86_64 1.6.0-5.el7 base 218 k
python-enum34 noarch 1.0.4-1.el7 base 52 k
python-httplib2 noarch 0.9.2-1.el7 extras 115 k
python-idna noarch 2.4-1.el7 base 94 k
python-ipaddress noarch 1.0.16-2.el7 base 34 k
python-jinja2 noarch 2.7.2-2.el7 base 515 k
python-markupsafe x86_64 0.11-10.el7 base 25 k
python-paramiko noarch 2.1.1-4.el7 extras 268 k
python-passlib noarch 1.6.5-2.el7 extras 488 k
python-ply noarch 3.4-11.el7 base 123 k
python-pycparser noarch 2.14-1.el7 base 104 k
python-setuptools noarch 0.9.8-7.el7 base 397 k
python-six noarch 1.9.0-2.el7 base 29 k
python2-cryptography x86_64 1.7.2-2.el7 base 502 k
python2-jmespath noarch 0.9.0-3.el7 extras 39 k
python2-pyasn1 noarch 0.1.9-7.el7 base 100 k
rsync x86_64 3.1.2-4.el7 base 403 k
sshpass x86_64 1.06-2.el7 extras 21 k
トランザクションの要約
================================================================================
インストール 4 パッケージ (+54 個の依存関係のパッケージ)
総ダウンロード容量: 29 M
インストール容量: 120 M
Downloading packages:
警告: /var/cache/yum/x86_64/7/extras/packages/epel-release-7-11.noarch.rpm: ヘッダー V3 RSA/SHA256 Signature、鍵 ID f4a80eb5: NOKEY
epel-release-7-11.noarch.rpm の公開鍵がインストールされていません
(1/58): epel-release-7-11.noarch.rpm | 15 kB 00:00
PyYAML-3.10-11.el7.x86_64.rpm の公開鍵がインストールされていません
(2/58): PyYAML-3.10-11.el7.x86_64.rpm | 153 kB 00:00
(3/58): libyaml-0.1.4-11.el7_0.x86_64.rpm | 55 kB 00:00
(4/58): net-tools-2.0-0.22.20131004git.el7.x86_64.rpm | 305 kB 00:00
(5/58): libgnome-keyring-3.12.0-1.el7.x86_64.rpm | 109 kB 00:00
(7/58): git-1.8.3.1-13.el7 9% [=- ] 0.0 B/s | 2.7 MB --:-- ETA
(6/58): git-1.8.3.1-13.el7.x86_64.rpm | 4.4 MB 00:00
(7/58): perl-Carp-1.26-244.el7.noarch.rpm | 19 kB 00:00
(8/58): perl-Error-0.17020-2.el7.noarch.rpm | 32 kB 00:00
(10/58): perl-5.16.3-292.e 38% [====== ] 8.9 MB/s | 11 MB 00:01 ETA
(9/58): perl-Exporter-5.68-3.el7.noarch.rpm | 28 kB 00:00
(10/58): perl-File-Path-2.09-2.el7.noarch.rpm | 26 kB 00:00
(11/58): perl-File-Temp-0.23.01-3.el7.noarch.rpm | 56 kB 00:00
(12/58): perl-Filter-1.49-3.el7.x86_64.rpm | 76 kB 00:00
(13/58): perl-Getopt-Long-2.40-3.el7.noarch.rpm | 56 kB 00:00
(14/58): perl-Git-1.8.3.1-13.el7.noarch.rpm | 54 kB 00:00
(15/58): perl-HTTP-Tiny-0.033-3.el7.noarch.rpm | 38 kB 00:00
(16/58): perl-PathTools-3.40-5.el7.x86_64.rpm | 82 kB 00:00
(17/58): perl-Pod-Escapes-1.04-292.el7.noarch.rpm | 51 kB 00:00
(18/58): perl-Pod-Perldoc-3.20-4.el7.noarch.rpm | 87 kB 00:00
(19/58): perl-Pod-Simple-3.28-4.el7.noarch.rpm | 216 kB 00:00
(20/58): perl-Pod-Usage-1.63-3.el7.noarch.rpm | 27 kB 00:00
(22/58): perl-5.16.3-292.e 52% [======== ] 9.1 MB/s | 15 MB 00:01 ETA
(21/58): perl-Scalar-List-Utils-1.27-248.el7.x86_64.rpm | 36 kB 00:00
(22/58): perl-Socket-2.010-4.el7.x86_64.rpm | 49 kB 00:00
(23/58): perl-Storable-2.45-3.el7.x86_64.rpm | 77 kB 00:00
(24/58): perl-TermReadKey-2.30-20.el7.x86_64.rpm | 31 kB 00:00
(25/58): perl-Text-ParseWords-3.29-4.el7.noarch.rpm | 14 kB 00:00
(26/58): perl-Time-HiRes-1.9725-3.el7.x86_64.rpm | 45 kB 00:00
(27/58): perl-Time-Local-1.2300-2.el7.noarch.rpm | 24 kB 00:00
(28/58): perl-constant-1.27-2.el7.noarch.rpm | 19 kB 00:00
(29/58): ansible-2.4.2.0-2.el7.noarch.rpm | 7.6 MB 00:01
(30/58): perl-libs-5.16.3-292.el7.x86_64.rpm | 688 kB 00:00
(31/58): perl-macros-5.16.3-292.el7.x86_64.rpm | 43 kB 00:00
(34/58): perl-parent-0.225 74% [===========- ] 9.8 MB/s | 21 MB 00:00 ETA
(32/58): perl-parent-0.225-244.el7.noarch.rpm | 12 kB 00:00
(33/58): perl-podlators-2.5.1-3.el7.noarch.rpm | 112 kB 00:00
(34/58): perl-threads-1.87-4.el7.x86_64.rpm | 49 kB 00:00
(35/58): perl-threads-shared-1.43-6.el7.x86_64.rpm | 39 kB 00:00
(36/58): perl-Encode-2.51-7.el7.x86_64.rpm | 1.5 MB 00:00
(37/58): python-babel-0.9.6-8.el7.noarch.rpm | 1.4 MB 00:00
(38/58): perl-5.16.3-292.el7.x86_64.rpm | 8.0 MB 00:01
(39/58): python-backports-1.0-8.el7.x86_64.rpm | 5.8 kB 00:00
(40/58): python-backports-ssl_match_hostname-3.5.0.1-1.el7 | 13 kB 00:00
(41/58): python-enum34-1.0.4-1.el7.noarch.rpm | 52 kB 00:00
(42/58): python-ipaddress-1.0.16-2.el7.noarch.rpm | 34 kB 00:00
(43/58): python-cffi-1.6.0-5.el7.x86_64.rpm | 218 kB 00:00
(44/58): python-idna-2.4-1.el7.noarch.rpm | 94 kB 00:00
(45/58): python-markupsafe-0.11-10.el7.x86_64.rpm | 25 kB 00:00
(46/58): python-jinja2-2.7.2-2.el7.noarch.rpm | 515 kB 00:00
(47/58): python-ply-3.4-11.el7.noarch.rpm | 123 kB 00:00
(48/58): python-pycparser-2.14-1.el7.noarch.rpm | 104 kB 00:00
(49/58): python-six-1.9.0-2.el7.noarch.rpm | 29 kB 00:00
(50/58): python-httplib2-0.9.2-1.el7.noarch.rpm | 115 kB 00:00
(51/58): python2-jmespath-0.9.0-3.el7.noarch.rpm | 39 kB 00:00
(52/58): python-paramiko-2.1.1-4.el7.noarch.rpm | 268 kB 00:00
(53/58): python2-cryptography-1.7.2-2.el7.x86_64.rpm | 502 kB 00:00
(54/58): python-passlib-1.6.5-2.el7.noarch.rpm | 488 kB 00:00
(55/58): python-setuptools-0.9.8-7.el7.noarch.rpm | 397 kB 00:00
(56/58): rsync-3.1.2-4.el7.x86_64.rpm | 403 kB 00:00
(57/58): sshpass-1.06-2.el7.x86_64.rpm | 21 kB 00:00
(58/58): python2-pyasn1-0.1.9-7.el7.noarch.rpm | 100 kB 00:00
--------------------------------------------------------------------------------
合計 11 MB/s | 29 MB 00:02
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 から鍵を取得中です。
Importing GPG key 0xF4A80EB5:
Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
Package : centos-release-7-5.1804.el7.centos.x86_64 (@anaconda)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
インストール中 : python2-pyasn1-0.1.9-7.el7.noarch 1/58
インストール中 : python-ipaddress-1.0.16-2.el7.noarch 2/58
インストール中 : python-six-1.9.0-2.el7.noarch 3/58
インストール中 : 1:perl-parent-0.225-244.el7.noarch 4/58
インストール中 : perl-HTTP-Tiny-0.033-3.el7.noarch 5/58
インストール中 : perl-podlators-2.5.1-3.el7.noarch 6/58
インストール中 : perl-Pod-Perldoc-3.20-4.el7.noarch 7/58
インストール中 : perl-Encode-2.51-7.el7.x86_64 8/58
インストール中 : perl-Text-ParseWords-3.29-4.el7.noarch 9/58
インストール中 : 1:perl-Pod-Escapes-1.04-292.el7.noarch 10/58
インストール中 : perl-Pod-Usage-1.63-3.el7.noarch 11/58
インストール中 : 4:perl-macros-5.16.3-292.el7.x86_64 12/58
インストール中 : 4:perl-Time-HiRes-1.9725-3.el7.x86_64 13/58
インストール中 : perl-Exporter-5.68-3.el7.noarch 14/58
インストール中 : perl-constant-1.27-2.el7.noarch 15/58
インストール中 : perl-Carp-1.26-244.el7.noarch 16/58
インストール中 : perl-Time-Local-1.2300-2.el7.noarch 17/58
インストール中 : 4:perl-libs-5.16.3-292.el7.x86_64 18/58
インストール中 : perl-Socket-2.010-4.el7.x86_64 19/58
インストール中 : perl-Storable-2.45-3.el7.x86_64 20/58
インストール中 : perl-PathTools-3.40-5.el7.x86_64 21/58
インストール中 : perl-Scalar-List-Utils-1.27-248.el7.x86_64 22/58
インストール中 : 1:perl-Pod-Simple-3.28-4.el7.noarch 23/58
インストール中 : perl-File-Temp-0.23.01-3.el7.noarch 24/58
インストール中 : perl-File-Path-2.09-2.el7.noarch 25/58
インストール中 : perl-threads-shared-1.43-6.el7.x86_64 26/58
インストール中 : perl-threads-1.87-4.el7.x86_64 27/58
インストール中 : perl-Filter-1.49-3.el7.x86_64 28/58
インストール中 : perl-Getopt-Long-2.40-3.el7.noarch 29/58
インストール中 : 4:perl-5.16.3-292.el7.x86_64 30/58
インストール中 : 1:perl-Error-0.17020-2.el7.noarch 31/58
インストール中 : perl-TermReadKey-2.30-20.el7.x86_64 32/58
インストール中 : python-httplib2-0.9.2-1.el7.noarch 33/58
インストール中 : libyaml-0.1.4-11.el7_0.x86_64 34/58
インストール中 : PyYAML-3.10-11.el7.x86_64 35/58
インストール中 : python-enum34-1.0.4-1.el7.noarch 36/58
インストール中 : rsync-3.1.2-4.el7.x86_64 37/58
インストール中 : python-backports-1.0-8.el7.x86_64 38/58
インストール中 : python-backports-ssl_match_hostname-3.5.0.1 39/58
インストール中 : python-setuptools-0.9.8-7.el7.noarch 40/58
インストール中 : python-babel-0.9.6-8.el7.noarch 41/58
インストール中 : python-passlib-1.6.5-2.el7.noarch 42/58
インストール中 : python-ply-3.4-11.el7.noarch 43/58
インストール中 : python-pycparser-2.14-1.el7.noarch 44/58
インストール中 : python-cffi-1.6.0-5.el7.x86_64 45/58
インストール中 : python-markupsafe-0.11-10.el7.x86_64 46/58
インストール中 : python-jinja2-2.7.2-2.el7.noarch 47/58
インストール中 : python-idna-2.4-1.el7.noarch 48/58
インストール中 : python2-cryptography-1.7.2-2.el7.x86_64 49/58
インストール中 : python-paramiko-2.1.1-4.el7.noarch 50/58
インストール中 : sshpass-1.06-2.el7.x86_64 51/58
インストール中 : python2-jmespath-0.9.0-3.el7.noarch 52/58
インストール中 : libgnome-keyring-3.12.0-1.el7.x86_64 53/58
インストール中 : perl-Git-1.8.3.1-13.el7.noarch 54/58
インストール中 : git-1.8.3.1-13.el7.x86_64 55/58
インストール中 : ansible-2.4.2.0-2.el7.noarch 56/58
インストール中 : epel-release-7-11.noarch 57/58
インストール中 : net-tools-2.0-0.22.20131004git.el7.x86_64 58/58
検証中 : perl-HTTP-Tiny-0.033-3.el7.noarch 1/58
検証中 : python-jinja2-2.7.2-2.el7.noarch 2/58
検証中 : libgnome-keyring-3.12.0-1.el7.x86_64 3/58
検証中 : python-backports-ssl_match_hostname-3.5.0.1 4/58
検証中 : python2-jmespath-0.9.0-3.el7.noarch 5/58
検証中 : net-tools-2.0-0.22.20131004git.el7.x86_64 6/58
検証中 : perl-threads-shared-1.43-6.el7.x86_64 7/58
検証中 : 4:perl-Time-HiRes-1.9725-3.el7.x86_64 8/58
検証中 : perl-Exporter-5.68-3.el7.noarch 9/58
検証中 : perl-constant-1.27-2.el7.noarch 10/58
検証中 : perl-PathTools-3.40-5.el7.x86_64 11/58
検証中 : sshpass-1.06-2.el7.x86_64 12/58
検証中 : 4:perl-macros-5.16.3-292.el7.x86_64 13/58
検証中 : perl-Git-1.8.3.1-13.el7.noarch 14/58
検証中 : perl-Carp-1.26-244.el7.noarch 15/58
検証中 : python-setuptools-0.9.8-7.el7.noarch 16/58
検証中 : 1:perl-parent-0.225-244.el7.noarch 17/58
検証中 : epel-release-7-11.noarch 18/58
検証中 : perl-TermReadKey-2.30-20.el7.x86_64 19/58
検証中 : perl-Encode-2.51-7.el7.x86_64 20/58
検証中 : perl-File-Temp-0.23.01-3.el7.noarch 21/58
検証中 : 1:perl-Pod-Simple-3.28-4.el7.noarch 22/58
検証中 : perl-Time-Local-1.2300-2.el7.noarch 23/58
検証中 : 4:perl-libs-5.16.3-292.el7.x86_64 24/58
検証中 : perl-Text-ParseWords-3.29-4.el7.noarch 25/58
検証中 : python-six-1.9.0-2.el7.noarch 26/58
検証中 : perl-Socket-2.010-4.el7.x86_64 27/58
検証中 : python-idna-2.4-1.el7.noarch 28/58
検証中 : python-markupsafe-0.11-10.el7.x86_64 29/58
検証中 : python-ply-3.4-11.el7.noarch 30/58
検証中 : python-passlib-1.6.5-2.el7.noarch 31/58
検証中 : python-babel-0.9.6-8.el7.noarch 32/58
検証中 : 1:perl-Error-0.17020-2.el7.noarch 33/58
検証中 : python-paramiko-2.1.1-4.el7.noarch 34/58
検証中 : python-backports-1.0-8.el7.x86_64 35/58
検証中 : perl-Storable-2.45-3.el7.x86_64 36/58
検証中 : perl-Scalar-List-Utils-1.27-248.el7.x86_64 37/58
検証中 : 1:perl-Pod-Escapes-1.04-292.el7.noarch 38/58
検証中 : rsync-3.1.2-4.el7.x86_64 39/58
検証中 : python-cffi-1.6.0-5.el7.x86_64 40/58
検証中 : perl-Pod-Usage-1.63-3.el7.noarch 41/58
検証中 : 4:perl-5.16.3-292.el7.x86_64 42/58
検証中 : python-enum34-1.0.4-1.el7.noarch 43/58
検証中 : libyaml-0.1.4-11.el7_0.x86_64 44/58
検証中 : perl-Pod-Perldoc-3.20-4.el7.noarch 45/58
検証中 : perl-podlators-2.5.1-3.el7.noarch 46/58
検証中 : perl-File-Path-2.09-2.el7.noarch 47/58
検証中 : ansible-2.4.2.0-2.el7.noarch 48/58
検証中 : perl-threads-1.87-4.el7.x86_64 49/58
検証中 : python-ipaddress-1.0.16-2.el7.noarch 50/58
検証中 : perl-Filter-1.49-3.el7.x86_64 51/58
検証中 : perl-Getopt-Long-2.40-3.el7.noarch 52/58
検証中 : python-httplib2-0.9.2-1.el7.noarch 53/58
検証中 : python2-pyasn1-0.1.9-7.el7.noarch 54/58
検証中 : PyYAML-3.10-11.el7.x86_64 55/58
検証中 : python-pycparser-2.14-1.el7.noarch 56/58
検証中 : python2-cryptography-1.7.2-2.el7.x86_64 57/58
検証中 : git-1.8.3.1-13.el7.x86_64 58/58
インストール:
ansible.noarch 0:2.4.2.0-2.el7 epel-release.noarch 0:7-11
git.x86_64 0:1.8.3.1-13.el7 net-tools.x86_64 0:2.0-0.22.20131004git.el7
依存性関連をインストールしました:
PyYAML.x86_64 0:3.10-11.el7
libgnome-keyring.x86_64 0:3.12.0-1.el7
libyaml.x86_64 0:0.1.4-11.el7_0
perl.x86_64 4:5.16.3-292.el7
perl-Carp.noarch 0:1.26-244.el7
perl-Encode.x86_64 0:2.51-7.el7
perl-Error.noarch 1:0.17020-2.el7
perl-Exporter.noarch 0:5.68-3.el7
perl-File-Path.noarch 0:2.09-2.el7
perl-File-Temp.noarch 0:0.23.01-3.el7
perl-Filter.x86_64 0:1.49-3.el7
perl-Getopt-Long.noarch 0:2.40-3.el7
perl-Git.noarch 0:1.8.3.1-13.el7
perl-HTTP-Tiny.noarch 0:0.033-3.el7
perl-PathTools.x86_64 0:3.40-5.el7
perl-Pod-Escapes.noarch 1:1.04-292.el7
perl-Pod-Perldoc.noarch 0:3.20-4.el7
perl-Pod-Simple.noarch 1:3.28-4.el7
perl-Pod-Usage.noarch 0:1.63-3.el7
perl-Scalar-List-Utils.x86_64 0:1.27-248.el7
perl-Socket.x86_64 0:2.010-4.el7
perl-Storable.x86_64 0:2.45-3.el7
perl-TermReadKey.x86_64 0:2.30-20.el7
perl-Text-ParseWords.noarch 0:3.29-4.el7
perl-Time-HiRes.x86_64 4:1.9725-3.el7
perl-Time-Local.noarch 0:1.2300-2.el7
perl-constant.noarch 0:1.27-2.el7
perl-libs.x86_64 4:5.16.3-292.el7
perl-macros.x86_64 4:5.16.3-292.el7
perl-parent.noarch 1:0.225-244.el7
perl-podlators.noarch 0:2.5.1-3.el7
perl-threads.x86_64 0:1.87-4.el7
perl-threads-shared.x86_64 0:1.43-6.el7
python-babel.noarch 0:0.9.6-8.el7
python-backports.x86_64 0:1.0-8.el7
python-backports-ssl_match_hostname.noarch 0:3.5.0.1-1.el7
python-cffi.x86_64 0:1.6.0-5.el7
python-enum34.noarch 0:1.0.4-1.el7
python-httplib2.noarch 0:0.9.2-1.el7
python-idna.noarch 0:2.4-1.el7
python-ipaddress.noarch 0:1.0.16-2.el7
python-jinja2.noarch 0:2.7.2-2.el7
python-markupsafe.x86_64 0:0.11-10.el7
python-paramiko.noarch 0:2.1.1-4.el7
python-passlib.noarch 0:1.6.5-2.el7
python-ply.noarch 0:3.4-11.el7
python-pycparser.noarch 0:2.14-1.el7
python-setuptools.noarch 0:0.9.8-7.el7
python-six.noarch 0:1.9.0-2.el7
python2-cryptography.x86_64 0:1.7.2-2.el7
python2-jmespath.noarch 0:0.9.0-3.el7
python2-pyasn1.noarch 0:0.1.9-7.el7
rsync.x86_64 0:3.1.2-4.el7
sshpass.x86_64 0:1.06-2.el7
完了しました!
sshキーペアの生成と、コピー。
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Created directory '/root/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:Fej2kNm7noZgItNH6eGVRb8OcWnFI35gk51QviRgTmE root@localhost.localdomain
The key's randomart image is:
+---[RSA 2048]----+
| oE..*o. |
| .=.+*+= |
| o *+o*+o. |
| + O..+.+.. |
| . + +So..... |
| o o * oo |
| o + . . .. |
| . o. |
| oo |
+----[SHA256]-----+
[root@localhost .ssh]# cp -p id_rsa.pub authorized_keys
ntpdのインストール & 起動
[root@localhost ~]# yum -y install ntp
読み込んだプラグイン:fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 6.5 kB 00:00
* base: ftp.jaist.ac.jp
* epel: ftp.jaist.ac.jp
* extras: ftp.jaist.ac.jp
* updates: ftp.jaist.ac.jp
epel | 4.7 kB 00:00
(1/3): epel/x86_64/group_gz | 88 kB 00:00
(2/3): epel/x86_64/updateinfo | 928 kB 00:00
(3/3): epel/x86_64/primary 45% [======= ] 0.0 B/s | 3.3 MB --:-- ETA
(3/3): epel/x86_64/primary 74% [===========- ] 2.3 MB/s | 5.5 MB 00:00 ETA
(3/3): epel/x86_64/primary_db | 6.4 MB 00:00
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ ntp.x86_64 0:4.2.6p5-28.el7.centos を インストール
--> 依存性の処理をしています: ntpdate = 4.2.6p5-28.el7.centos のパッケージ: ntp-4.2.6p5-28.el7.centos.x86_64
--> 依存性の処理をしています: libopts.so.25()(64bit) のパッケージ: ntp-4.2.6p5-28.el7.centos.x86_64
--> トランザクションの確認を実行しています。
---> パッケージ autogen-libopts.x86_64 0:5.18-5.el7 を インストール
---> パッケージ ntpdate.x86_64 0:4.2.6p5-28.el7.centos を インストール
--> 依存性解決を終了しました。
依存性を解決しました
================================================================================
Package アーキテクチャー
バージョン リポジトリー
容量
================================================================================
インストール中:
ntp x86_64 4.2.6p5-28.el7.centos base 549 k
依存性関連でのインストールをします:
autogen-libopts x86_64 5.18-5.el7 base 66 k
ntpdate x86_64 4.2.6p5-28.el7.centos base 86 k
トランザクションの要約
================================================================================
インストール 1 パッケージ (+2 個の依存関係のパッケージ)
総ダウンロード容量: 701 k
インストール容量: 1.6 M
Downloading packages:
(1/3): autogen-libopts-5.18-5.el7.x86_64.rpm | 66 kB 00:00
(2/3): ntp-4.2.6p5-28.el7.centos.x86_64.rpm | 549 kB 00:00
(3/3): ntpdate-4.2.6p5-28.el7.centos.x86_64.rpm | 86 kB 00:00
--------------------------------------------------------------------------------
合計 2.2 MB/s | 701 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
インストール中 : autogen-libopts-5.18-5.el7.x86_64 1/3
インストール中 : ntpdate-4.2.6p5-28.el7.centos.x86_64 2/3
インストール中 : ntp-4.2.6p5-28.el7.centos.x86_64 3/3
検証中 : ntpdate-4.2.6p5-28.el7.centos.x86_64 1/3
検証中 : autogen-libopts-5.18-5.el7.x86_64 2/3
検証中 : ntp-4.2.6p5-28.el7.centos.x86_64 3/3
インストール:
ntp.x86_64 0:4.2.6p5-28.el7.centos
依存性関連をインストールしました:
autogen-libopts.x86_64 0:5.18-5.el7 ntpdate.x86_64 0:4.2.6p5-28.el7.centos
完了しました!
[root@localhost ~]# systemctl start ntpd
[root@localhost ~]# systemctl status ntpd
[1;32m●[0m ntpd.service - Network Time Service
Loaded: loaded (/usr/lib/systemd/system/ntpd.service; disabled; vendor preset: disabled)
Active: [1;32mactive (running)[0m since 木 2018-05-31 19:12:43 JST; 5h 8min ago
Process: 10760 ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 10761 (ntpd)
CGroup: /system.slice/ntpd.service
└─10761 /usr/sbin/ntpd -u ntp:ntp -g
5月 31 19:12:43 localhost.localdomain ntpd[10761]: Listen normally on 3 ens...
5月 31 19:12:43 localhost.localdomain ntpd[10761]: Listen normally on 4 lo ...
5月 31 19:12:43 localhost.localdomain ntpd[10761]: Listen normally on 5 ens...
5月 31 19:12:43 localhost.localdomain ntpd[10761]: Listening on routing soc...
5月 31 19:12:44 localhost.localdomain ntpd[10761]: 0.0.0.0 c016 06 restart
5月 31 19:12:44 localhost.localdomain ntpd[10761]: 0.0.0.0 c012 02 freq_set...
5月 31 19:12:44 localhost.localdomain ntpd[10761]: 0.0.0.0 c011 01 freq_not...
5月 31 19:12:50 localhost.localdomain ntpd[10761]: 0.0.0.0 c61c 0c clock_st...
5月 31 19:21:19 localhost.localdomain ntpd[10761]: 0.0.0.0 c614 04 freq_mode
5月 31 19:21:20 localhost.localdomain ntpd[10761]: 0.0.0.0 c618 08 no_sys_peer
Hint: Some lines were ellipsized, use -l to show in full.
]0;root@localhost:~[root@localhost ~]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
+nipper.paina.ne 131.113.192.40 2 u 2 64 1 3.729 -0.051 0.282
*y.ns.gin.ntt.ne 249.224.99.213 2 u 1 64 1 4.945 0.415 1.086
jiro.paina.net 131.113.192.40 2 u 10 64 0 0.000 0.000 0.000
+cbr-jp-1.dn42.e 133.243.238.163 2 u 1 64 1 6.189 0.133 1.209
デプロイ用のデータをGitからのクローンし、instances.yamlを編集
er.git
Cloning into 'contrail-ansible-deployer'...
remote: Counting objects: 3677, done.
remote: Compressing objects: 100% (156/156), done.
Receiving objects: 100% (3677/3677), 582.01 KiB | 600.00 KiB/s, done.
Resolving deltas: 100% (2339/2339), done.
[root@localhost ~]# cd contrail-ansible-deployer/
[root@localhost ~]# vi config/instances.yaml
[root@localhost ~]# cat config/instances.yaml
provider_config:
bms:
ssh_user: root
ssh_public_key: /root/.ssh/id_rsa.pub
ssh_private_key: /root/.ssh/id_rsa
domainsuffix: local
instances:
bms1:
provider: bms
roles:
config_database:
config:
control:
analytics_database:
analytics:
webui:
k8s_master:
kubemanager:
vrouter:
k8s_node:
ip: 172.16.49.146 # masterノードのip
contrail_configuration:
CONTAINER_REGISTRY: opencontrailnightly
CONTRAIL_VERSION: latest
KUBERNETES_CLUSTER_PROJECT: {}
Ansible playbookからインストール
[root@localhost contrail-ansible-deployer]# ansible-playbook -i inventory/ playb ooks/configure_instances.yml
[1;35m [WARNING]: Found both group and host with same name: localhost[0m
[1;35m[0m
[0;35m[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use [0m
[0;35m'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions.[0m
[0;35m This feature will be removed in a future release. Deprecation warnings can be [0m
[0;35mdisabled by setting deprecation_warnings=False in ansible.cfg.[0m
[0;35m[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is[0m
[0;35m discouraged. The module documentation details page may explain more about this[0m
[0;35m rationale.. This feature will be removed in a future release. Deprecation [0m
[0;35mwarnings can be disabled by setting deprecation_warnings=False in ansible.cfg.[0m
PLAY [Create container host group] *********************************************
TASK [Gathering Facts] *********************************************************
[0;32mok: [localhost][0m
TASK [Set orchestrator if not passed] ******************************************
[0;32mok: [localhost][0m
TASK [Expose instances] ********************************************************
[0;32mok: [localhost][0m
TASK [create_container_host_group : add kvm container hosts] *******************
[0;36mskipping: [localhost] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
TASK [create_container_host_group : add kvm container hosts] *******************
[0;36mskipping: [localhost] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
TASK [create_container_host_group : add bms container hosts] *******************
[0;36mskipping: [localhost] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
TASK [create_container_host_group : add bms container hosts] *******************
[0;36mskipping: [localhost] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
TASK [create_container_host_group : add bms container hosts without user/pwd/key] ***
[0;33mchanged: [localhost] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'})[0m
TASK [create_container_host_group : add gce container hosts] *******************
[0;36mskipping: [localhost] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
TASK [create_container_host_group : add aws container hosts] *******************
[0;36mskipping: [localhost] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
TASK [create_kolla_playbooks : Check openstack repo is present] ****************
[0;32mok: [localhost][0m
TASK [create_kolla_playbooks : Clone openstack git repo] ***********************
[0;36mskipping: [localhost][0m
TASK [create_kolla_playbooks : Revert kolla to given commit] *******************
[0;36mskipping: [localhost][0m
TASK [create_kolla_playbooks : Create configs customization dir] ***************
TASK [create_kolla_playbooks : Upload configs custimization] *******************
TASK [install_kolla_dependencies : install epel] *******************************
[0;32mok: [localhost][0m
TASK [install_kolla_dependencies : install epel on RedHat distribution] ********
[0;36mskipping: [localhost][0m
TASK [install_kolla_dependencies : install RedHat/CentOS packages required by kolla playbooks] ***
[0;32mok: [localhost] => (item=[u'python-devel', u'gcc'])[0m
TASK [install_kolla_dependencies : install common packages required by kolla playbooks] ***
[0;32mok: [localhost] => (item=python-pip)[0m
TASK [install_kolla_dependencies : install right version of jinja2 for kolla] ***
[0;32mok: [localhost][0m
TASK [install_kolla_dependencies : install packages used to generate passwords] ***
[0;32mok: [localhost] => (item=pycrypto)[0m
[0;32mok: [localhost] => (item=oslo.config)[0m
[0;32mok: [localhost] => (item=oslo.utils)[0m
TASK [generate_root_ca : install pyopenssl tools] ******************************
[0;36mskipping: [localhost][0m
TASK [generate_root_ca : install openssl tools] ********************************
[0;36mskipping: [localhost][0m
TASK [generate_root_ca : set default ssl dir path] *****************************
[0;36mskipping: [localhost][0m
TASK [generate_root_ca : set ssl dir path if defined] **************************
[0;36mskipping: [localhost][0m
TASK [generate_root_ca : set certs & key dir paths] ****************************
[0;36mskipping: [localhost][0m
TASK [generate_root_ca : set certs & key dir paths] ****************************
[0;36mskipping: [localhost][0m
TASK [generate_root_ca : default root CA & Key paths] **************************
[0;36mskipping: [localhost][0m
TASK [generate_root_ca : root CA path if defined] ******************************
[0;36mskipping: [localhost][0m
TASK [generate_root_ca : root CA Key path if defined] **************************
[0;36mskipping: [localhost][0m
TASK [generate_root_ca : root ca path stat] ************************************
[0;36mskipping: [localhost][0m
TASK [generate_root_ca : root ca key path stat] ********************************
[0;36mskipping: [localhost][0m
TASK [generate_root_ca : create certs directories] *****************************
[0;36mskipping: [localhost][0m
TASK [generate_root_ca : set openssl config file path] *************************
[0;36mskipping: [localhost][0m
TASK [generate_root_ca : create contrail openssl config file] ******************
[0;36mskipping: [localhost][0m
TASK [generate_root_ca : prepare working files for cert generation] ************
[0;36mskipping: [localhost][0m
TASK [generate_root_ca : generate CA private key] ******************************
[0;36mskipping: [localhost][0m
TASK [generate_root_ca : generate CA] ******************************************
[0;36mskipping: [localhost][0m
PLAY [Configure instance(s)] ***************************************************
TASK [Gathering Facts] *********************************************************
[0;32mok: [172.16.49.146][0m
TASK [docker : include] ********************************************************
[0;36mincluded: /root/contrail-ansible-deployer/playbooks/roles/docker/tasks/RedHat.yml for 172.16.49.146[0m
TASK [docker : create docker repo] *********************************************
[0;32mok: [172.16.49.146][0m
TASK [docker : install docker selinux] *****************************************
[0;32mok: [172.16.49.146][0m
TASK [docker : install docker] *************************************************
[0;32mok: [172.16.49.146][0m
TASK [docker : register /etc/docker/daemon.json] *******************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : create /etc/docker directory] ***********************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : create emtpy /etc/docker/daemon.json is it doesn't exis] ********
[0;36mskipping: [172.16.49.146][0m
TASK [docker : set registry string if it is the first one] *********************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : add 1st registry entry to file] *********************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : read /etc/docker/daemon.json if it exists] **********************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : set entries to json] ********************************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : check if registry is already in] ********************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : add registry to list] *******************************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : create new registry string] *************************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : empty existing file *danger danger*] ****************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : write to /etc/docker/daemon.json] *******************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : reload systemd] *************************************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : start docker daemon] ********************************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : register /etc/docker/daemon.json] *******************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : create /etc/docker directory] ***********************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : create emtpy /etc/docker/daemon.json is it doesn't exis] ********
[0;36mskipping: [172.16.49.146][0m
TASK [docker : set registry string if it is the first one] *********************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : add 1st registry entry to file] *********************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : read /etc/docker/daemon.json if it exists] **********************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : set entries to json] ********************************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : check if registry is already in] ********************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : add registry to list] *******************************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : create new registry string] *************************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : empty existing file *danger danger*] ****************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : write to /etc/docker/daemon.json] *******************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : reload systemd] *************************************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : start docker daemon] ********************************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : get registry name] **********************************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : get fqdn] *******************************************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : create docker cert directory] ***********************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : copy cert to docker cert directory] *****************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : copy cert to trust directory] ***********************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : update ca trust] ************************************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : start docker daemon] ********************************************
[0;32mok: [172.16.49.146][0m
TASK [docker : activate docker login] ******************************************
[0;36mskipping: [172.16.49.146][0m
TASK [docker : activate docker login] ******************************************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : set contrail configuration to empty if absent] *****
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : set instance data] *********************************
[0;32mok: [172.16.49.146][0m
TASK [configure_instances : set vrouter data] **********************************
[0;32mok: [172.16.49.146][0m
TASK [configure_instances : set provider data] *********************************
[0;32mok: [172.16.49.146][0m
TASK [configure_instances : set k8s version for RedHat if not defined] *********
[0;32mok: [172.16.49.146][0m
TASK [configure_instances : set k8s version for RedHat if defined] *************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : set k8s version for Debian if not defined] *********
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : set k8s version for Debian if defined] *************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : turn off swap] *************************************
[0;33mchanged: [172.16.49.146][0m
TASK [configure_instances : disable cloud init] ********************************
[0;31mfailed: [172.16.49.146] (item=cloud-config) => {"changed": false, "item": "cloud-config", "msg": "Could not find the requested service cloud-config: host"}[0m
[0;31mfailed: [172.16.49.146] (item=cloud-final) => {"changed": false, "item": "cloud-final", "msg": "Could not find the requested service cloud-final: host"}[0m
[0;31mfailed: [172.16.49.146] (item=cloud-init-local) => {"changed": false, "item": "cloud-init-local", "msg": "Could not find the requested service cloud-init-local: host"}[0m
[0;31mfailed: [172.16.49.146] (item=cloud-init) => {"changed": false, "item": "cloud-init", "msg": "Could not find the requested service cloud-init: host"}[0m
[0;31mfailed: [172.16.49.146] (item=cloud-config) => {"changed": false, "item": "cloud-config", "msg": "Could not find the requested service cloud-config: host"}[0m
[0;32mok: [172.16.49.146] => (item=NetworkManager)[0m
[0;36m...ignoring[0m
TASK [configure_instances : OS specific package install] ***********************
[0;36mincluded: /root/contrail-ansible-deployer/playbooks/roles/configure_instances/tasks/RedHat.yml for 172.16.49.146[0m
TASK [configure_instances : remove interfaces from Network Manager] ************
[0;32mok: [172.16.49.146] => (item=lo)[0m
[0;31mfailed: [172.16.49.146] (item=docker0) => {"changed": false, "item": "docker0", "msg": "Destination /etc/sysconfig/network-scripts/ifcfg-docker0 does not exist !", "rc": 257}[0m
[0;32mok: [172.16.49.146] => (item=ens33)[0m
[0;36m...ignoring[0m
TASK [configure_instances : restart network service] ***************************
[0;33mchanged: [172.16.49.146][0m
TASK [configure_instances : install epel] **************************************
[0;32mok: [172.16.49.146][0m
TASK [configure_instances : install epel on RedHat distribution] ***************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : create k8s repo centos] ****************************
[0;32mok: [172.16.49.146][0m
TASK [configure_instances : make cache to import gpg keys] *********************
[1;35m [WARNING]: Consider using yum module rather than running yum[0m
[1;35m[0m
[0;33mchanged: [172.16.49.146][0m
TASK [configure_instances : set selinux to permissive] *************************
[0;32mok: [172.16.49.146][0m
TASK [configure_instances : Install common pre-requisites] *********************
[0;32mok: [172.16.49.146] => (item=python-pip)[0m
TASK [configure_instances : install rsyslogd] **********************************
[0;32mok: [172.16.49.146][0m
TASK [configure_instances : install ntpd] **************************************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : set ntp service name] ******************************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : set ntp server] ************************************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : initial time sync] *********************************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : start ntp service] *********************************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : disable service chronyd] ***************************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : Install k8s packages if defined] *******************
[0;32mok: [172.16.49.146] => (item=kubectl)[0m
[0;32mok: [172.16.49.146] => (item=kubelet)[0m
[0;32mok: [172.16.49.146] => (item=kubeadm)[0m
TASK [configure_instances : OS specific kernel install, grub midifications, reboot] ***
[0;36mincluded: /root/contrail-ansible-deployer/playbooks/roles/configure_instances/tasks/RedHat_kernel.yml for 172.16.49.146[0m
TASK [configure_instances : install latest kernel] *****************************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : set grub file name.] *******************************
[0;32mok: [172.16.49.146][0m
TASK [configure_instances : set SRIOV data] ************************************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : set VFIO-DPDK data] ********************************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : Remove the SRIOV/VFIO config if present - to fix limiation in lineinfile] ***
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : Modify grub to include iommu for SRIOV and VFIO-DPDK] ***
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : Add iommu for grub for SRIOV and VFIO-DPDK] ********
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : execute update-grub/sys] ***************************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : restart server] ************************************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : wait for server to come back online] ***************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : install python compose] ****************************
[0;32mok: [172.16.49.146][0m
TASK [configure_instances : Build hosts file with domain suffix when provided] ***
[0;36mskipping: [172.16.49.146] => (item=172.16.49.146) [0m
TASK [configure_instances : Build hosts file with domain suffix] ***************
[0;32mok: [172.16.49.146] => (item=172.16.49.146)[0m
TASK [configure_instances : Build hosts file without domain suffix when not provided (bad bad)] ***
[0;36mskipping: [172.16.49.146] => (item=172.16.49.146) [0m
TASK [configure_instances : Build hosts file with domain suffix when provided] ***
[0;36mskipping: [172.16.49.146] => (item=172.16.49.146) [0m
TASK [configure_instances : Build hosts file wit domain suffix when not provided (bad bad)] ***
[0;36mskipping: [172.16.49.146] => (item=172.16.49.146) [0m
TASK [configure_instances : Build hosts file without domain suffix when not provided (bad bad)] ***
[0;36mskipping: [172.16.49.146] => (item=172.16.49.146) [0m
TASK [configure_instances : Build hosts file for aws instances] ****************
[0;36mskipping: [172.16.49.146] => (item=172.16.49.146) [0m
TASK [configure_instances : create log file directory] *************************
[0;32mok: [172.16.49.146][0m
TASK [configure_instances : sysctl -w net.bridge.bridge-nf-call-iptables=1] ****
[0;33mchanged: [172.16.49.146][0m
TASK [configure_instances : sysctl -w net.bridge.bridge-nf-call-ip6tables=1] ***
[0;33mchanged: [172.16.49.146][0m
TASK [configure_instances : configure tcp_keepalive_time] **********************
[0;32mok: [172.16.49.146][0m
TASK [configure_instances : configure tcp_keepalive_intvl] *********************
[0;32mok: [172.16.49.146][0m
TASK [configure_instances : configure tcp_keepalive_probes] ********************
[0;32mok: [172.16.49.146][0m
TASK [configure_instances : set firewall service name] *************************
[0;32mok: [172.16.49.146][0m
TASK [configure_instances : stop and disable firewall service] *****************
[0;32mok: [172.16.49.146][0m
TASK [configure_instances : flush iptables] ************************************
[0;33mchanged: [172.16.49.146][0m
TASK [configure_instances : accept input] **************************************
[0;33mchanged: [172.16.49.146][0m
TASK [configure_instances : accept forward] ************************************
[0;33mchanged: [172.16.49.146][0m
TASK [configure_instances : set default ca & ca_key paths] *********************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : set ca path if set] ********************************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : set ca key path if set] ****************************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : set default ssl dir path] **************************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : set ssl dir path if defined] ***********************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : set certs & key dir paths] *************************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : set certs & key dir paths] *************************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : default root CA & Key paths] ***********************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : root CA path if defined] ***************************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : root CA Key path if defined] ***********************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : create certs directories on host] ******************
[0;36mskipping: [172.16.49.146][0m
TASK [configure_instances : copy root ca to host] ******************************
[0;36mskipping: [172.16.49.146][0m
PLAY RECAP *********************************************************************
[0;33m172.16.49.146[0m : [0;32mok=37 [0m [0;33mchanged=8 [0m unreachable=0 failed=0 ・・・・とりあえずfailedはない
[0;33mlocalhost[0m : [0;32mok=10 [0m [0;33mchanged=1 [0m unreachable=0 failed=0・・・・とりあえずfailedはない
[root@localhost contrail-ansible-deployer]# ansible-playbook -e orchestrator=kubernetes -i inventory/ playbooks/install_contrail.yml
[1;35m [WARNING]: Found both group and host with same name: localhost[0m
[1;35m[0m
[0;35m[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use [0m
[0;35m'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions.[0m
[0;35m This feature will be removed in a future release. Deprecation warnings can be [0m
[0;35mdisabled by setting deprecation_warnings=False in ansible.cfg.[0m
[0;35m[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is[0m
[0;35m discouraged. The module documentation details page may explain more about this[0m
[0;35m rationale.. This feature will be removed in a future release. Deprecation [0m
[0;35mwarnings can be disabled by setting deprecation_warnings=False in ansible.cfg.[0m
[1;35m [WARNING]: While constructing a mapping from /root/contrail-ansible-[0m
[1;35mdeployer/playbooks/roles/install_contrail/tasks/main.yml, line 212, column 3,[0m
[1;35mfound a duplicate dict key (no_log). Using last defined value only.[0m
[1;35m[0m
PLAY [Create container host group for Contrail] ********************************
TASK [Expose instances] ********************************************************
[0;32mok: [localhost][0m
TASK [create_container_host_group : add kvm container hosts] *******************
[0;36mskipping: [localhost] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
TASK [create_container_host_group : add kvm container hosts] *******************
[0;36mskipping: [localhost] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
TASK [create_container_host_group : add bms container hosts] *******************
[0;36mskipping: [localhost] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
TASK [create_container_host_group : add bms container hosts] *******************
[0;36mskipping: [localhost] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
TASK [create_container_host_group : add bms container hosts without user/pwd/key] ***
[0;33mchanged: [localhost] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'})[0m
TASK [create_container_host_group : add gce container hosts] *******************
[0;36mskipping: [localhost] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
TASK [create_container_host_group : add aws container hosts] *******************
[0;36mskipping: [localhost] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
PLAY [Install Contrail] ********************************************************
TASK [Gathering Facts] *********************************************************
[0;32mok: [172.16.49.146][0m
TASK [build_node_lists : set_fact] *********************************************
[0;32mok: [172.16.49.146][0m
TASK [build_node_lists : add config nodes to the list] *************************
[0;32mok: [172.16.49.146] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'})[0m
TASK [build_node_lists : set_fact] *********************************************
[0;32mok: [172.16.49.146][0m
TASK [build_node_lists : add control nodes to the list] ************************
[0;32mok: [172.16.49.146] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'})[0m
TASK [build_node_lists : set_fact] *********************************************
[0;32mok: [172.16.49.146][0m
TASK [build_node_lists : add configdb nodes to the list] ***********************
[0;36mskipping: [172.16.49.146] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
TASK [build_node_lists : set_fact] *********************************************
[0;32mok: [172.16.49.146][0m
TASK [build_node_lists : add analytics nodes to the list] **********************
[0;32mok: [172.16.49.146] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'})[0m
TASK [build_node_lists : set_fact] *********************************************
[0;32mok: [172.16.49.146][0m
TASK [build_node_lists : add analyticsdb nodes to the list] ********************
[0;32mok: [172.16.49.146] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'})[0m
TASK [build_node_lists : set_fact] *********************************************
[0;32mok: [172.16.49.146][0m
TASK [build_node_lists : add webui nodes to the list] **************************
[0;32mok: [172.16.49.146] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'})[0m
TASK [build_node_lists : set_fact] *********************************************
[0;32mok: [172.16.49.146][0m
TASK [build_node_lists : add k8s_master nodes to the list] *********************
[0;32mok: [172.16.49.146] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'})[0m
TASK [build_node_lists : set_fact] *********************************************
[0;32mok: [172.16.49.146][0m
TASK [build_node_lists : add k8s_node nodes to the list] ***********************
[0;32mok: [172.16.49.146] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'})[0m
TASK [build_node_lists : set_fact] *********************************************
[0;32mok: [172.16.49.146][0m
TASK [build_node_lists : add openstack nodes to the list] **********************
[0;36mskipping: [172.16.49.146] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
TASK [build_node_lists : set_fact] *********************************************
[0;32mok: [172.16.49.146][0m
TASK [build_node_lists : add vcenter_plugin nodes to the list] *****************
[0;36mskipping: [172.16.49.146] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
TASK [build_node_lists : set_fact] *********************************************
[0;32mok: [172.16.49.146][0m
TASK [build_node_lists : add vcenter_manager nodes to the list] ****************
[0;36mskipping: [172.16.49.146] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
TASK [build_node_lists : set_fact] *********************************************
[0;32mok: [172.16.49.146][0m
TASK [build_node_lists : add TSN nodes to the list] ****************************
[0;36mskipping: [172.16.49.146] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
TASK [install_contrail : set instance data] ************************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : set instance name] ************************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : set contrail configuration param] *********************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set orchestrator param] *******************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : set KEYSTONE_AUTH_ADMIN_PASSWORD] *********************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set container tag contrail version to master if not defined] ***
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set container tag contrail version if defined] ********
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : add openstack version tag if defined] *****************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : add linux distr tag if defined] ***********************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set registry to opencontrailnightly if undefined] *****
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : set registry if defined] ******************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : activate docker login] ********************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set stdin_open to true if it's not defined] ***********
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : set tty to true if it's not defined] ******************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : set_fact] *********************************************
[0;36mskipping: [172.16.49.146] => (item=[u'analytics', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'analytics_database', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'config', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'config_database', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'control', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'vrouter', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'webui', None]) [0m
TASK [install_contrail : set_fact] *********************************************
[0;32mok: [172.16.49.146] => (item=[u'analytics', None])[0m
[0;32mok: [172.16.49.146] => (item=[u'analytics_database', None])[0m
[0;32mok: [172.16.49.146] => (item=[u'config', None])[0m
[0;32mok: [172.16.49.146] => (item=[u'config_database', None])[0m
[0;32mok: [172.16.49.146] => (item=[u'control', None])[0m
[0;32mok: [172.16.49.146] => (item=[u'k8s_master', None])[0m
[0;32mok: [172.16.49.146] => (item=[u'k8s_node', None])[0m
[0;32mok: [172.16.49.146] => (item=[u'kubemanager', None])[0m
[0;32mok: [172.16.49.146] => (item=[u'vrouter', None])[0m
[0;32mok: [172.16.49.146] => (item=[u'webui', None])[0m
TASK [install_contrail : set_fact] *********************************************
[0;36mskipping: [172.16.49.146] => (item=[u'analytics', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'analytics_database', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'config', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'config_database', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'control', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'vrouter', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'webui', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'openstack', None]) [0m
TASK [install_contrail : set_fact] *********************************************
[0;36mskipping: [172.16.49.146] => (item=[u'analytics', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'analytics_database', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'config', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'config_database', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'control', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'vrouter', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'webui', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'vcenter_plugin', None]) [0m
[0;36mskipping: [172.16.49.146] => (item=[u'vcenter_manager', None]) [0m
TASK [install_contrail : set_fact] *********************************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : add roles if not defined] *****************************
[0;36mskipping: [172.16.49.146] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'kubemanager': None, u'k8s_master': None, u'k8s_node': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config': None, u'config_datadase': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
TASK [install_contrail : add roles if defined] *********************************
[0;32mok: [172.16.49.146] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'kubemanager': None, u'k8s_master': None, u'k8s_node': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config': None, u'config_datadase': None}, u'provider': u'bms'}, 'key': u'bms1'})[0m
TASK [install_contrail : debug] ************************************************
[0;32mok: [172.16.49.146] => {[0m
[0;32m "msg": "default_roles {u'bms1': {u'control': None, u'kubemanager': None, u'k8s_master': None, u'k8s_node': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config': None, u'config_datadase': None}}"[0m
[0;32m}[0m
TASK [install_contrail : set roles if not defined] *****************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : add nodes to contrail_configuration] ******************
[0;32mok: [172.16.49.146] => (item={u'nodes': [u'172.16.49.146'], u'name': u'CONFIG_NODES'})[0m
[0;32mok: [172.16.49.146] => (item={u'nodes': [u'172.16.49.146'], u'name': u'CONTROL_NODES'})[0m
[0;32mok: [172.16.49.146] => (item={u'nodes': [u'172.16.49.146'], u'name': u'CONTROLLER_NODES'})[0m
[0;36mskipping: [172.16.49.146] => (item={u'nodes': , u'name': u'CONFIGDB_NODES'}) [0m
[0;32mok: [172.16.49.146] => (item={u'nodes': [u'172.16.49.146'], u'name': u'ANALYTICS_NODES'})[0m
[0;32mok: [172.16.49.146] => (item={u'nodes': [u'172.16.49.146'], u'name': u'ANALYTICSDB_NODES'})[0m
[0;32mok: [172.16.49.146] => (item={u'nodes': [u'172.16.49.146'], u'name': u'WEBUI_NODES'})[0m
[0;36mskipping: [172.16.49.146] => (item={u'nodes': , u'name': u'TSN_NODES'}) [0m
TASK [install_contrail : get the final kolla configurations] *******************
[0;36mskipping: [172.16.49.146] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
TASK [install_contrail : set OpenStack endpoints from derived kolla parameters] ***
[0;36mskipping: [172.16.49.146] => (item={u'name': u'KEYSTONE_AUTH_HOST', u'is_not_defined': True}) [0m
[0;36mskipping: [172.16.49.146] => (item={u'name': u'IPFABRIC_SERVICE_HOST', u'is_not_defined': True}) [0m
[0;36mskipping: [172.16.49.146] => (item={u'name': u'computeManager_ip', u'is_not_defined': True}) [0m
[0;36mskipping: [172.16.49.146] => (item={u'name': u'imageManager_ip', u'is_not_defined': True}) [0m
[0;36mskipping: [172.16.49.146] => (item={u'name': u'networkManager_ip', u'is_not_defined': True}) [0m
TASK [install_contrail : set OpenStack endpoints from kolla_config.kolla_globals] ***
[0;36mskipping: [172.16.49.146] => (item={u'name': u'KEYSTONE_AUTH_HOST', u'is_not_defined': True}) [0m
[0;36mskipping: [172.16.49.146] => (item={u'name': u'IPFABRIC_SERVICE_HOST', u'is_not_defined': True}) [0m
[0;36mskipping: [172.16.49.146] => (item={u'name': u'computeManager_ip', u'is_not_defined': True}) [0m
[0;36mskipping: [172.16.49.146] => (item={u'name': u'imageManager_ip', u'is_not_defined': True}) [0m
[0;36mskipping: [172.16.49.146] => (item={u'name': u'networkManager_ip', u'is_not_defined': True}) [0m
TASK [install_contrail : init master_ip list] **********************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : init master_name list] ********************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : fill master lists] ************************************
[0;32mok: [172.16.49.146] => (item=172.16.49.146)[0m
TASK [install_contrail : show master_ip list] **********************************
[0;32mok: [172.16.49.146] => {[0m
[0;32m "msg": [[0m
[0;32m "172.16.49.146"[0m
[0;32m ][0m
[0;32m}[0m
TASK [install_contrail : show master_name list] ********************************
[0;32mok: [172.16.49.146] => {[0m
[0;32m "msg": [[0m
[0;32m "172.16.49.146"[0m
[0;32m ][0m
[0;32m}[0m
TASK [install_contrail : set master_ip as first item of master_ip list] ********
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : set master_name as first item of master_name list] ****
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : create contrail_configuration.KUBERNETES_API_SERVER for nodes] ***
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : create /var/log/contrail] *****************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/compose] *************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : get /etc/contrail/common.env stat] ********************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : delete /etc/contrail/common.env if exists] ************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/common.env] **********************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : populate common.env] **********************************
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
TASK [install_contrail : create /etc/contrail/redis] ***************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : create redis compose file] ****************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : start redis] ******************************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/config_database] *****************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set cassandra seeds to CONFIGDB_NODES if defined] *****
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set cassandra seeds to CONTROLLER_NODES if CONFIGDB_NODES not defined] ***
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set zookeeper nodes to CONFIGDB_NODES if defined] *****
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set zookeeper nodes to CONTROLLER_NODES if CONFIGDB_NODES not defined] ***
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set rabbit nodes to CONFIGDB_NODES if defined] ********
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set rabbit nodes to CONTROLLER_NODES if CONFIGDB_NODES not defined] ***
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : update image] *****************************************
[0;36mskipping: [172.16.49.146] => (item=contrail-external-cassandra) [0m
[0;36mskipping: [172.16.49.146] => (item=contrail-external-zookeeper) [0m
[0;36mskipping: [172.16.49.146] => (item=contrail-external-rabbitmq) [0m
TASK [install_contrail : create contrail config database compose file] *********
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : start contrail config database] ***********************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/config] **************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : get /etc/contrail/common_config.env stat] *************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : delete /etc/contrail/common_config.env if exists] *****
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/common_config.env] ***************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : populate global common_config.env] ********************
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
TASK [install_contrail : populate instance specific common_config.env] *********
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : populate pod specific common_config.env] **************
[0;31mfatal: [172.16.49.146]: FAILED! => {"msg": "with_dict expects a dict"}[0m
[0;36m...ignoring[0m
TASK [install_contrail : update image] *****************************************
[0;33mchanged: [172.16.49.146] => (item=contrail-node-init)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-nodemgr)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-controller-config-api)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-controller-config-svcmonitor)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-controller-config-schema)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-controller-config-devicemgr)[0m
TASK [install_contrail : create contrail config compose file] ******************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : start contrail config] ********************************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/webui] ***************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : get /etc/contrail/common_webui.env stat] **************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : delete /etc/contrail/common_webui.env if exists] ******
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/common_webui.env] ****************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : populate cluster wide common_webui.env] ***************
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
TASK [install_contrail : populate instance specific common_webui.env] **********
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : populate pod specific common_webui.env] ***************
[0;31mfatal: [172.16.49.146]: FAILED! => {"msg": "with_dict expects a dict"}[0m
[0;36m...ignoring[0m
TASK [install_contrail : update image] *****************************************
[0;33mchanged: [172.16.49.146] => (item=contrail-controller-webui-web)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-controller-webui-job)[0m
TASK [install_contrail : create contrail webui compose file] *******************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : start contrail webui] *********************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/control] *************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : get /etc/contrail/common_control.env stat] ************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : delete /etc/contrail/common_control.env if exists] ****
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/common_control.env] **************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : set location if defined] ******************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : init location control peers list if location is defined] ***
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : add peer control nodes to the list] *******************
[0;36mskipping: [172.16.49.146] => (item={'value': {u'control': None, u'kubemanager': None, u'k8s_master': None, u'k8s_node': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config': None, u'config_datadase': None}, 'key': u'bms1'}) [0m
TASK [install_contrail : create controller host list if not defined] ***********
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : create contrail_configuration.CONTROL_NODES] **********
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : populate global common_control.env] *******************
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
TASK [install_contrail : populate instance specific common_control.env] ********
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : populate pod specific common_control.env] *************
[0;31mfatal: [172.16.49.146]: FAILED! => {"msg": "with_dict expects a dict"}[0m
[0;36m...ignoring[0m
TASK [install_contrail : add BGP_ASN if location is defined] *******************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : add SUBCLUSTER name if location is defined and subcluster name is defined] ***
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : add SUBCLUSTER name if location is defined and subcluster name is undefined] ***
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set BGP_AUTO_MESH to false if location is enabled] ****
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : update image] *****************************************
[0;33mchanged: [172.16.49.146] => (item=contrail-node-init)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-nodemgr)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-controller-control-control)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-controller-control-named)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-controller-control-dns)[0m
TASK [install_contrail : create contrail control compose file] *****************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : start contrail control] *******************************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : call control only] ************************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/analytics_database] **************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : set cassandra seeds to ANALYTICSDB_NODES if defined] ***
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : set cassandra seeds to CONTROLLER_NODES if ANALYTICSDB_NODES not defined] ***
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set zookeeper nodes to ANALYTICSDB_NODES if defined] ***
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : set zookeeper nodes to CONTROLLER_NODES if ANALYTICSDB_NODES not defined] ***
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set kafka nodes to ANALYTICSDB_NODES if defined] ******
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : set kafka nodes to CONTROLLER_NODES if ANALYTICSDB_NODES not defined] ***
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : update image] *****************************************
[0;33mchanged: [172.16.49.146] => (item=contrail-node-init)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-nodemgr)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-external-kafka)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-external-cassandra)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-external-zookeeper)[0m
TASK [install_contrail : create contrail analytics database compose file] ******
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : start contrail analyticsdb] ***************************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/analytics] ***********************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : get /etc/contrail/common_analytics.env stat] **********
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : delete /etc/contrail/common_analytics.env if exists] ***
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/common_analytics.env] ************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : populate global common_analytics.env] *****************
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
TASK [install_contrail : populate instance specific common_analytics.env] ******
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : populate pod specific common_analytics.env] ***********
[0;31mfatal: [172.16.49.146]: FAILED! => {"msg": "with_dict expects a dict"}[0m
[0;36m...ignoring[0m
TASK [install_contrail : update image] *****************************************
[0;33mchanged: [172.16.49.146] => (item=contrail-node-init)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-nodemgr)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-analytics-api)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-analytics-collector)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-analytics-query-engine)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-analytics-alarm-gen)[0m
TASK [install_contrail : create contrail analytics file] ***********************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : start contrail analytics] *****************************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/cni] *****************************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : get /etc/contrail/common_cni.env stat] ****************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : delete /etc/contrail/common_cni.env if exists] ********
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/common_cni.env] ******************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : populate cluster wide common_cni.env] *****************
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
TASK [install_contrail : populate instance specific common_cni.env] ************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : populate pod specific common_cni.env] *****************
[0;31mfatal: [172.16.49.146]: FAILED! => {"msg": "with_dict expects a dict"}[0m
[0;36m...ignoring[0m
TASK [install_contrail : create /var/lib/contrail] *****************************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : create /etc/cni] **************************************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : create /opt/cni/bin] **********************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : create /var/log/contrail/cni] *************************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : update image] *****************************************
[0;33mchanged: [172.16.49.146] => (item=contrail-kubernetes-cni-init)[0m
TASK [install_contrail : create contrail cni compose file] *********************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : start contrail cni] ***********************************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : check if master is already running] *******************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : set master_running state to true if master is running] ***
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : set master_running state to false if master is not running] ***
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : docker info for getting cgroup driver] ****************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : get cgroup driver] ************************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : set cgroup driver to cgroupfs] ************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : enable kubelet service] *******************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set k8s version to default] ***************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : set k8s version if not defined] ***********************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : debug] ************************************************
[0;32mok: [172.16.49.146] => {[0m
[0;32m "msg": [[0m
[0;32m "172.17.0.1", [0m
[0;32m "172.16.49.146"[0m
[0;32m ][0m
[0;32m}[0m
TASK [install_contrail : get controller ip from all ips] ***********************
[0;36mskipping: [172.16.49.146] => (item=[u'172.17.0.1', u'172.16.49.146']) [0m
[0;32mok: [172.16.49.146] => (item=[u'172.16.49.146', u'172.16.49.146'])[0m
TASK [install_contrail : initialize k8s master with listen ip] *****************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : initialize k8s master without listen ip] **************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : get master token] *************************************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : set master token] *************************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail] *********************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : create contrail kubemanager serviceaccount yaml] ******
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : excute contrail kubemanager serviceaccount yaml] ******
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : get kubemanager token name from serviceaccount] *******
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : get kubemanager token] ********************************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : set kubemanager token] ********************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : debug] ************************************************
[0;32mok: [172.16.49.146] => {[0m
[0;32m "msg": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJjb250cmFpbCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJjb250cmFpbC1rdWJlbWFuYWdlci10b2tlbi1jam56ayIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJjb250cmFpbC1rdWJlbWFuYWdlciIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50LnVpZCI6IjI5YmE5ZTBjLTY0YzItMTFlOC1iNmNlLTAwMGMyOTUzNzU3MyIsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDpjb250cmFpbDpjb250cmFpbC1rdWJlbWFuYWdlciJ9.qdR556e9_N1_0gRZlbbZf_2DUBtXAOXQynzrV2Dk8lVVAJJIQ24VYryRMFrv1GWnWqFj-WXVMRsFXQN1R5yWpWp71-LFvzwrz0O9uHkzGOR8rSxowemT9yZDzq2cAs2p3K2-jq25_9xAJsk-3drOGW_YLFJjK_SQKzMy-0izyoPJk9a6I8ogpJAJ2is9F0InVy60HlWo29w6LzQAYbyaxcQER1hdDx6J_bw1wKaJEg4S53bXSwnhvuq9KDGy48ai3KuzAfwVGlY0Bczhnf9kd8VtdE7iGRNA38TV36IWXvBrOZDCN8SDTwg2klyJq-hWktv578Nbp59nXco_nkJ-jQ"[0m
[0;32m}[0m
TASK [install_contrail : get nodes] ********************************************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : set node list] ****************************************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/vrouter] *************************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : get /etc/contrail/common_vrouter.env stat] ************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : delete /etc/contrail/common_vrouter.env if exists] ****
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/common_vrouter.env] **************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : get pop] **********************************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : init pop control peer list] ***************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : add pop control nodes to list] ************************
[0;36mskipping: [172.16.49.146] => (item={'value': {u'control': None, u'kubemanager': None, u'k8s_master': None, u'k8s_node': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config': None, u'config_datadase': None}, 'key': u'bms1'}) [0m
TASK [install_contrail : create controler host list if not defined] ************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : create contrail_configuration.CONTROL_NODES] **********
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set DNS servers if location is defined] ***************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : populate cluster wide common_vrouter.env] *************
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
TASK [install_contrail : populate instance specific common_vrouter.env] ********
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : populate pod specific common_vrouter.env] *************
[0;31mfatal: [172.16.49.146]: FAILED! => {"msg": "with_dict expects a dict"}[0m
[0;36m...ignoring[0m
TASK [install_contrail : populate pop settings] ********************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : add kubemanager token to common_vrouter.env] **********
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : add SUBCLUSTER name if location is defined and subcluster name is defined] ***
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : add SUBCLUSTER name if location is defined and subcluster name is undefined] ***
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set vrouter kernel init image name] *******************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set vrouter kernel init image name] *******************
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : update image] *****************************************
[0;33mchanged: [172.16.49.146] => (item=contrail-nodemgr)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-vrouter-kernel-init)[0m
[0;33mchanged: [172.16.49.146] => (item=contrail-vrouter-agent)[0m
TASK [install_contrail : create contrail vrouter compose file] *****************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : start contrail vrouter] *******************************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : update image for dpdk vrouter] ************************
[0;36mskipping: [172.16.49.146] => (item=contrail-node-init) [0m
[0;36mskipping: [172.16.49.146] => (item=contrail-nodemgr) [0m
[0;36mskipping: [172.16.49.146] => (item=contrail-vrouter-kernel-init-dpdk) [0m
[0;36mskipping: [172.16.49.146] => (item=contrail-vrouter-agent-dpdk) [0m
[0;36mskipping: [172.16.49.146] => (item=contrail-vrouter-agent) [0m
TASK [install_contrail : create contrail dpdk vrouter compose file] ************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : start contrail dpdk vrouter] **************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : Restart nova-compute] *********************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : create /var/log/contrail/lbaas] ***********************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : configure rsyslogd] ***********************************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : restart rsyslogd] *************************************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : initialize node_exists with false] ********************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : check if node already exists] *************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : docker info for getting cgroup driver] ****************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : get cgroup driver] ************************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set cgroup driver to cgroupfs] ************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : enable kubelet service] *******************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : debug join] *******************************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : join k8s cluster] *************************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : create k8s dashboard manifest] ************************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : start k8s dashboard] **********************************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : look for a privileged token for full k8s dashboard access] ***
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : store privileged token for full k8s dashboard access] ***
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/kubemanager] *********************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : get /etc/contrail/common_kubemanager.env stat] ********
[0;32mok: [172.16.49.146][0m
TASK [install_contrail : delete /etc/contrail/common_kubemanager.env if exists] ***
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/common_kubemanager.env] **********
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : populate global common_kubemanager.env] ***************
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
[0;32mok: [172.16.49.146] => (item=None)[0m
TASK [install_contrail : populate instance specific common_kubemanager.env] ****
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : populate pod specific common_kubemanager.env] *********
[0;31mfatal: [172.16.49.146]: FAILED! => {"msg": "with_dict expects a dict"}[0m
[0;36m...ignoring[0m
TASK [install_contrail : update image] *****************************************
[0;33mchanged: [172.16.49.146] => (item=contrail-kubernetes-kube-manager)[0m
TASK [install_contrail : create contrail kubemanager compose file] *************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : start contrail kubemanager] ***************************
[0;33mchanged: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/vcenter_plugin] ******************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set vcenter url if defined] ***************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set vcenter username if defined] **********************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set vcenter password if defined] **********************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set vcenter datacenter if defined] ********************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set vcenter dvswitch if defined] **********************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set vcenter wsdl path if defined] *********************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set vcenter auth protocol if defined] *****************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : get /etc/contrail/common_vcplugin.env stat] ***********
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : delete /etc/contrail/common_vcplugin.env if exists] ***
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/common_vcplugin.env] *************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : populate cluster wide common_vcplugin.env] ************
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
TASK [install_contrail : populate pod specific common_vcplugin.env] ************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : update image] *****************************************
[0;36mskipping: [172.16.49.146] => (item=contrail-vcenter-plugin) [0m
TASK [install_contrail : create contrail vcenter-plugin file] ******************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : create ESXiToVRouterIp.map file] **********************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : update computeVM map file] ****************************
[0;36mskipping: [172.16.49.146] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'kubemanager': None, u'k8s_master': None, u'k8s_node': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config': None, u'config_datadase': None}, u'provider': u'bms'}, 'key': u'bms1'}) [0m
TASK [install_contrail : start contrail vcenter-plugin] ************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/vcenter_manager] *****************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set vcenter url if defined] ***************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set vcenter port if defined] **************************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set vcenter username if defined] **********************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set vcenter password if defined] **********************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set vcenter datacenter if defined] ********************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : set esxi datacenter if defined] ***********************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : get /etc/contrail/common_vcmanager.env stat] **********
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : delete /etc/contrail/common_vcmanager.env if exists] ***
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : create /etc/contrail/common_vcmanager.env] ************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : populate cluster wide common_vcmanager.env] ***********
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
[0;36mskipping: [172.16.49.146] => (item=None) [0m
TASK [install_contrail : populate pod specific common_vcmanager.env] ***********
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : update image] *****************************************
[0;36mskipping: [172.16.49.146] => (item=contrail-vcenter-manager) [0m
TASK [install_contrail : create contrail vcenter-manager file] *****************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : start contrail vcenter-manager] ***********************
[0;36mskipping: [172.16.49.146][0m
TASK [install_contrail : untaint node] *****************************************
[0;33mchanged: [172.16.49.146] => (item={'value': {u'ip': u'172.16.49.146', u'roles': {u'control': None, u'k8s_node': None, u'k8s_master': None, u'analytics': None, u'webui': None, u'vrouter': None, u'analytics_database': None, u'config_datadase': None, u'config': None, u'kubemanager': None}, u'provider': u'bms'}, 'key': u'bms1'})[0m
PLAY RECAP *********************************************************************
[0;33m172.16.49.146[0m : [0;32mok=150 [0m [0;33mchanged=61 [0m unreachable=0 failed=0 ・・・・とりあえずfailedはない
[0;33mlocalhost[0m : [0;32mok=2 [0m [0;33mchanged=1 [0m unreachable=0 failed=0・・・・とりあえずfailedはない
動作確認
[root@localhost contrail-ansible-deployer]# contrail-status
Unable to find image 'opencontrailnightly/contrail-status:latest' locally
latest: Pulling from opencontrailnightly/contrail-status
[1A[2K
469cfcc7a4b3: Already exists
[1B
[1A[2K
77584a616cc1: Already exists
[1B
[1A[2K
9eb012b57c3c: Already exists
[1B
[1A[2K
0ea95e226290: Already exists
[1B
[1A[2K
e640bcfed05f: Already exists
[1B
[1A[2K
a0e025ef3738: Already exists
[1B
[1A[2K
a3d3fc7d30fe: Pulling fs layer
[1B
[1A[2K
f9541d7597d7: Pulling fs layer
[1B
[1A[2K
965319d3ad12: Pulling fs layer
[1B[3A[2K
a3d3fc7d30fe: Downloading 63.47 kB/6.139 MB
[3B[1A[2K
965319d3ad12: Downloading 135 B/135 B
[1B[1A[2K
965319d3ad12: Verifying Checksum
[1B[1A[2K
965319d3ad12: Download complete
[1B[3A[2K
a3d3fc7d30fe: Downloading 457.7 kB/6.139 MB
[3B[3A[2K
a3d3fc7d30fe: Downloading 928.6 kB/6.139 MB
[3B[3A[2K
a3d3fc7d30fe: Downloading 1.191 MB/6.139 MB
[3B[3A[2K
a3d3fc7d30fe: Downloading 1.584 MB/6.139 MB
[3B[3A[2K
a3d3fc7d30fe: Downloading 1.977 MB/6.139 MB
[3B[3A[2K
a3d3fc7d30fe: Downloading 2.252 MB/6.139 MB
[3B[2A[2K
f9541d7597d7: Downloading 3.606 kB/4.413 kB
[2B[2A[2K
f9541d7597d7: Downloading 4.413 kB/4.413 kB
[2B[2A[2K
f9541d7597d7: Verifying Checksum
[2B[2A[2K
f9541d7597d7: Download complete
[2B[3A[2K
a3d3fc7d30fe: Downloading 2.784 MB/6.139 MB
[3B[3A[2K
a3d3fc7d30fe: Downloading 3.308 MB/6.139 MB
[3B[3A[2K
a3d3fc7d30fe: Downloading 4.033 MB/6.139 MB
[3B[3A[2K
a3d3fc7d30fe: Downloading 4.496 MB/6.139 MB
[3B[3A[2K
a3d3fc7d30fe: Downloading 5.156 MB/6.139 MB
[3B[3A[2K
a3d3fc7d30fe: Downloading 5.68 MB/6.139 MB
[3B[3A[2K
a3d3fc7d30fe: Downloading 6.139 MB/6.139 MB
[3B[3A[2K
a3d3fc7d30fe: Download complete
[3B[3A[2K
a3d3fc7d30fe: Extracting 65.54 kB/6.139 MB
[3B[3A[2K
a3d3fc7d30fe: Extracting 786.4 kB/6.139 MB
[3B[3A[2K
a3d3fc7d30fe: Extracting 2.032 MB/6.139 MB
[3B[3A[2K
a3d3fc7d30fe: Extracting 3.408 MB/6.139 MB
[3B[3A[2K
a3d3fc7d30fe: Extracting 4.719 MB/6.139 MB
[3B[3A[2K
a3d3fc7d30fe: Extracting 5.898 MB/6.139 MB
[3B[3A[2K
a3d3fc7d30fe: Extracting 6.139 MB/6.139 MB
[3B[3A[2K
a3d3fc7d30fe: Pull complete
[3B[2A[2K
f9541d7597d7: Extracting 4.413 kB/4.413 kB
[2B[2A[2K
f9541d7597d7: Extracting 4.413 kB/4.413 kB
[2B[2A[2K
f9541d7597d7: Pull complete
[2B[1A[2K
965319d3ad12: Extracting 135 B/135 B
[1B[1A[2K
965319d3ad12: Extracting 135 B/135 B
[1B[1A[2K
965319d3ad12: Pull complete
[1BDigest: sha256:4ef71ea13cd87c5806de33b778087b276b0e98bf89fa21919117ebfb9a070dcd
Status: Downloaded newer image for opencontrailnightly/contrail-status:latest
Pod Service Original Name State Status
analytics alarm-gen contrail-analytics-alarm-gen running Up 17 minutes
analytics api contrail-analytics-api running Up 17 minutes
analytics collector contrail-analytics-collector running Up 17 minutes
analytics nodemgr contrail-nodemgr running Up About a minute
analytics query-engine contrail-analytics-query-engine running Up 17 minutes
config api contrail-controller-config-api running Up 20 minutes
config device-manager contrail-controller-config-devicemgr running Up 20 minutes
config nodemgr contrail-nodemgr running Up About a minute
config schema contrail-controller-config-schema running Up 20 minutes
config svc-monitor contrail-controller-config-svcmonitor running Up 20 minutes
control control contrail-controller-control-control running Up 19 minutes
control dns contrail-controller-control-dns running Up 19 minutes
control named contrail-controller-control-named running Up 19 minutes
control nodemgr contrail-nodemgr running Up 7 seconds
database cassandra contrail-external-cassandra running Up 16 minutes
database kafka contrail-external-kafka running Up 16 minutes
database nodemgr contrail-nodemgr running Up About a minute
database zookeeper contrail-external-zookeeper running Up 18 minutes
kubernetes kube-manager contrail-kubernetes-kube-manager running Up 41 seconds
vrouter agent contrail-vrouter-agent restarting Restarting (1) Less than a second ago
vrouter nodemgr contrail-nodemgr running Up 48 seconds
webui job contrail-controller-webui-job running Up 19 minutes
webui web contrail-controller-webui-web running Up 19 minutes
vrouter driver is not PRESENT but agent pod is present
== Contrail control ==
control: initializing (Number of connections:2, Expected:3 Missing: Database:Cassandra)
nodemgr: initializing
named: active
dns: active
== Contrail kubernetes ==
kube-manager: backup
== Contrail database ==
kafka: active
nodemgr: initializing
zookeeper: active
cassandra: active
== Contrail analytics ==
nodemgr: initializing
api: initializing
collector: timeout
query-engine: timeout
alarm-gen: initializing
== Contrail webui ==
web: active
job: active
== Contrail vrouter ==
nodemgr: initializing
agent: inactive・・・・・・・この辺りにかなり inactiveなどが出ています。
== Contrail config ==
api: initializing (Zookeeper:Zookeeper[] connection down)
zookeeper: inactive
svc-monitor: backup
nodemgr: initializing
device-manager: backup
cassandra: inactive
rabbitmq: inactive
schema: backup
インストール結果
上記のinactiveなどは構築基盤に関係している可能性が高そうとの事。
※masterノードのみ、memory 4GBでは少なく、いくつか起動できないサービスがある。
特に、cassandraが重たい為、メモリーを増やし、slaveノードも用意すればいけるかもとの事でした。
残念ながら、インストール完了とはなりませんでしたが、
またトライしたいと思います。