SuccessConsole Output

Started by upstream project "test_pull_request_origin_aggregated_logging" build number 88
originally caused by:
 Started by remote host 50.17.198.52
[EnvInject] - Loading node environment variables.
Building in workspace /var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties content 
OS_ROOT=/data/src/github.com/openshift/origin
INSTANCE_TYPE=c4.xlarge
GITHUB_REPO=openshift
OS=rhel7
TESTNAME=logging

[EnvInject] - Variables injected successfully.
[workspace] $ /bin/sh -xe /tmp/hudson6893331010724676588.sh
+ false
+ unset GOPATH
+ REPO_NAME=origin-aggregated-logging
+ rm -rf origin-aggregated-logging
+ vagrant origin-local-checkout --replace --repo origin-aggregated-logging -b master
You don't seem to have the GOPATH environment variable set on your system.
See: 'go help gopath' for more details about GOPATH.
Waiting for the cloning process to finish
Cloning origin-aggregated-logging ...
Submodule 'deployer/common' (https://github.com/openshift/origin-integration-common) registered for path 'deployer/common'
Submodule 'kibana-proxy' (https://github.com/fabric8io/openshift-auth-proxy.git) registered for path 'kibana-proxy'
Cloning into 'deployer/common'...
Submodule path 'deployer/common': checked out '45bf993212cdcbab5cbce3b3fab74a72b851402e'
Cloning into 'kibana-proxy'...
Submodule path 'kibana-proxy': checked out '118dfb40f7a8082d370ba7f4805255c9ec7c8178'
Origin repositories cloned into /var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace
+ pushd origin-aggregated-logging
~/jobs/test-origin-aggregated-logging/workspace/origin-aggregated-logging ~/jobs/test-origin-aggregated-logging/workspace
+ git checkout master
Already on 'master'
+ popd
~/jobs/test-origin-aggregated-logging/workspace
+ '[' -n '' ']'
+ vagrant origin-local-checkout --replace
You don't seem to have the GOPATH environment variable set on your system.
See: 'go help gopath' for more details about GOPATH.
Waiting for the cloning process to finish
Checking repo integrity for /var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace/origin
~/jobs/test-origin-aggregated-logging/workspace/origin ~/jobs/test-origin-aggregated-logging/workspace
# On branch master
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	artifacts/
nothing added to commit but untracked files present (use "git add" to track)
~/jobs/test-origin-aggregated-logging/workspace
Replacing: /var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace/origin
~/jobs/test-origin-aggregated-logging/workspace/origin ~/jobs/test-origin-aggregated-logging/workspace
From https://github.com/openshift/origin
   596d795..71efe29  master     -> origin/master
Already on 'master'
Your branch is behind 'origin/master' by 5 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
HEAD is now at 71efe29 bump(github.com/openshift/origin-web-console): 513fa446b1d6ed3dc02b2e746ec28fedda035790
Removing .vagrant-openshift.json
Removing .vagrant/
Removing artifacts/
fatal: branch name required
~/jobs/test-origin-aggregated-logging/workspace
Origin repositories cloned into /var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace
+ pushd origin
~/jobs/test-origin-aggregated-logging/workspace/origin ~/jobs/test-origin-aggregated-logging/workspace
+ INSTANCE_NAME=origin_logging-rhel7-1646
+ GIT_URL=https://github.com/openshift/origin-aggregated-logging
++ echo https://github.com/openshift/origin-aggregated-logging
++ sed s,https://,,
+ OAL_LOCAL_PATH=github.com/openshift/origin-aggregated-logging
+ OS_O_A_L_DIR=/data/src/github.com/openshift/origin-aggregated-logging
+ env
+ sort
_=/bin/env
BRANCH=master
BUILD_CAUSE=UPSTREAMTRIGGER
BUILD_CAUSE_UPSTREAMTRIGGER=true
BUILD_DISPLAY_NAME=#1646
BUILD_ID=1646
BUILD_NUMBER=1646
BUILD_TAG=jenkins-test-origin-aggregated-logging-1646
BUILD_URL=https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/1646/
EXECUTOR_NUMBER=34
GITHUB_REPO=openshift
HOME=/var/lib/jenkins
HUDSON_COOKIE=53ec50ac-2457-495f-8152-3a02dc492863
HUDSON_HOME=/var/lib/jenkins
HUDSON_SERVER_COOKIE=ec11f8b2841c966f
HUDSON_URL=https://ci.openshift.redhat.com/jenkins/
INSTANCE_TYPE=c4.xlarge
JENKINS_HOME=/var/lib/jenkins
JENKINS_SERVER_COOKIE=ec11f8b2841c966f
JENKINS_URL=https://ci.openshift.redhat.com/jenkins/
JOB_BASE_NAME=test-origin-aggregated-logging
JOB_DISPLAY_URL=https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/display/redirect
JOB_NAME=test-origin-aggregated-logging
JOB_URL=https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/
LANG=en_US.UTF-8
LOGNAME=jenkins
MERGE=false
MERGE_SEVERITY=none
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
NODE_LABELS=master
NODE_NAME=master
OLDPWD=/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace
OPENSHIFT_ANSIBLE_TARGET_BRANCH=master
ORIGIN_AGGREGATED_LOGGING_PULL_ID=461
ORIGIN_AGGREGATED_LOGGING_TARGET_BRANCH=master
OS_ANSIBLE_BRANCH=master
OS_ANSIBLE_REPO=https://github.com/openshift/openshift-ansible 
OS=rhel7
OS_ROOT=/data/src/github.com/openshift/origin
PATH=/sbin:/usr/sbin:/bin:/usr/bin
PWD=/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace/origin
ROOT_BUILD_CAUSE=REMOTECAUSE
ROOT_BUILD_CAUSE_REMOTECAUSE=true
RUN_CHANGES_DISPLAY_URL=https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/1646/display/redirect?page=changes
RUN_DISPLAY_URL=https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/1646/display/redirect
SHELL=/bin/bash
SHLVL=3
TESTNAME=logging
TEST_PERF=false
USER=jenkins
WORKSPACE=/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace
XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
+ vagrant origin-init --stage inst --os rhel7 --instance-type c4.xlarge origin_logging-rhel7-1646
Reading AWS credentials from /var/lib/jenkins/.awscred
Searching devenv-rhel7_* for latest base AMI (required_name_tag=)
Found: ami-83a1fc95 (devenv-rhel7_6323)
++ seq 0 2
+ for i in '$(seq 0 2)'
+ vagrant up --provider aws
Bringing machine 'openshiftdev' up with 'aws' provider...
==> openshiftdev: Warning! The AWS provider doesn't support any of the Vagrant
==> openshiftdev: high-level network configurations (`config.vm.network`). They
==> openshiftdev: will be silently ignored.
==> openshiftdev: Warning! You're launching this instance into a VPC without an
==> openshiftdev: elastic IP. Please verify you're properly connected to a VPN so
==> openshiftdev: you can access this machine, otherwise Vagrant will not be able
==> openshiftdev: to SSH into it.
==> openshiftdev: Launching an instance with the following settings...
==> openshiftdev:  -- Type: c4.xlarge
==> openshiftdev:  -- AMI: ami-83a1fc95
==> openshiftdev:  -- Region: us-east-1
==> openshiftdev:  -- Keypair: libra
==> openshiftdev:  -- Subnet ID: subnet-cf57c596
==> openshiftdev:  -- User Data: yes
==> openshiftdev:  -- User Data: 
==> openshiftdev: # cloud-config
==> openshiftdev: 
==> openshiftdev: growpart:
==> openshiftdev:   mode: auto
==> openshiftdev:   devices: ['/']
==> openshiftdev: runcmd:
==> openshiftdev: - [ sh, -xc, "sed -i s/^Defaults.*requiretty/#Defaults requiretty/g /etc/sudoers"]
==> openshiftdev:         
==> openshiftdev:  -- Block Device Mapping: [{"DeviceName"=>"/dev/sda1", "Ebs.VolumeSize"=>25, "Ebs.VolumeType"=>"gp2"}, {"DeviceName"=>"/dev/sdb", "Ebs.VolumeSize"=>35, "Ebs.VolumeType"=>"gp2"}]
==> openshiftdev:  -- Terminate On Shutdown: false
==> openshiftdev:  -- Monitoring: false
==> openshiftdev:  -- EBS optimized: false
==> openshiftdev:  -- Assigning a public IP address in a VPC: false
==> openshiftdev: Waiting for instance to become "ready"...
==> openshiftdev: Waiting for SSH to become available...
==> openshiftdev: Machine is booted and ready for use!
==> openshiftdev: Running provisioner: setup (shell)...
    openshiftdev: Running: /tmp/vagrant-shell20170608-28493-1l1281m.sh
==> openshiftdev: Host: ec2-54-175-251-87.compute-1.amazonaws.com
+ break
+ vagrant sync-origin-aggregated-logging -c -s
Running ssh/sudo command 'rm -rf /data/src/github.com/openshift/origin-aggregated-logging-bare; 
' with timeout 14400. Attempt #0
Running ssh/sudo command 'mkdir -p /ec2-user/.ssh;
mv /tmp/file20170608-29398-1bft3sv /ec2-user/.ssh/config &&
chown ec2-user:ec2-user /ec2-user/.ssh/config &&
chmod 0600 /ec2-user/.ssh/config' with timeout 14400. Attempt #0
Running ssh/sudo command 'mkdir -p /data/src/github.com/openshift/' with timeout 14400. Attempt #0
Running ssh/sudo command 'mkdir -p /data/src/github.com/openshift/builder && chown -R ec2-user:ec2-user /data/src/github.com/openshift/' with timeout 14400. Attempt #0
Running ssh/sudo command 'set -e
rm -fr /data/src/github.com/openshift/origin-aggregated-logging-bare;

if [ ! -d /data/src/github.com/openshift/origin-aggregated-logging-bare ]; then
git clone --quiet --bare https://github.com/openshift/origin-aggregated-logging.git /data/src/github.com/openshift/origin-aggregated-logging-bare >/dev/null
fi
' with timeout 14400. Attempt #0
Synchronizing local sources
Synchronizing [origin-aggregated-logging@master] from origin-aggregated-logging...
Warning: Permanently added '54.175.251.87' (ECDSA) to the list of known hosts.
Running ssh/sudo command 'set -e

if [ -d /data/src/github.com/openshift/origin-aggregated-logging-bare ]; then
rm -rf /data/src/github.com/openshift/origin-aggregated-logging
echo 'Cloning origin-aggregated-logging ...'
git clone --quiet --recurse-submodules /data/src/github.com/openshift/origin-aggregated-logging-bare /data/src/github.com/openshift/origin-aggregated-logging

else
MISSING_REPO+='origin-aggregated-logging-bare'
fi

if [ -n "$MISSING_REPO" ]; then
echo 'Missing required upstream repositories:'
echo $MISSING_REPO
echo 'To fix, execute command: vagrant clone-upstream-repos'
fi
' with timeout 14400. Attempt #0
Cloning origin-aggregated-logging ...
Submodule 'deployer/common' (https://github.com/openshift/origin-integration-common) registered for path 'deployer/common'
Submodule 'kibana-proxy' (https://github.com/fabric8io/openshift-auth-proxy.git) registered for path 'kibana-proxy'
Cloning into 'deployer/common'...
Submodule path 'deployer/common': checked out '45bf993212cdcbab5cbce3b3fab74a72b851402e'
Cloning into 'kibana-proxy'...
Submodule path 'kibana-proxy': checked out '118dfb40f7a8082d370ba7f4805255c9ec7c8178'
+ vagrant ssh -c 'if [ ! -d /tmp/openshift ] ; then mkdir /tmp/openshift ; fi ; sudo chmod 777 /tmp/openshift'
+ for image in openshift/base-centos7 centos:centos7 openshift/origin-logging-elasticsearch openshift/origin-logging-fluentd openshift/origin-logging-curator openshift/origin-logging-kibana
+ echo pulling image openshift/base-centos7 ...
pulling image openshift/base-centos7 ...
+ vagrant ssh -c 'docker pull openshift/base-centos7' -- -n
Using default tag: latest
Trying to pull repository docker.io/openshift/base-centos7 ... 
latest: Pulling from docker.io/openshift/base-centos7
45a2e645736c: Pulling fs layer
734fb161cf89: Pulling fs layer
78efc9e155c4: Pulling fs layer
8a3400b7e31a: Pulling fs layer
8a3400b7e31a: Waiting
734fb161cf89: Download complete
8a3400b7e31a: Verifying Checksum
8a3400b7e31a: Download complete
45a2e645736c: Verifying Checksum
45a2e645736c: Download complete
78efc9e155c4: Download complete
45a2e645736c: Pull complete
734fb161cf89: Pull complete
78efc9e155c4: Pull complete
8a3400b7e31a: Pull complete
Digest: sha256:aea292a3bddba020cde0ee83e6a45807931eb607c164ec6a3674f67039d8cd7c
+ echo done with openshift/base-centos7
done with openshift/base-centos7
+ for image in openshift/base-centos7 centos:centos7 openshift/origin-logging-elasticsearch openshift/origin-logging-fluentd openshift/origin-logging-curator openshift/origin-logging-kibana
+ echo pulling image centos:centos7 ...
pulling image centos:centos7 ...
+ vagrant ssh -c 'docker pull centos:centos7' -- -n
Trying to pull repository docker.io/library/centos ... 
centos7: Pulling from docker.io/library/centos
Digest: sha256:aebf12af704307dfa0079b3babdca8d7e8ff6564696882bcb5d11f1d461f9ee9
+ echo done with centos:centos7
done with centos:centos7
+ for image in openshift/base-centos7 centos:centos7 openshift/origin-logging-elasticsearch openshift/origin-logging-fluentd openshift/origin-logging-curator openshift/origin-logging-kibana
+ echo pulling image openshift/origin-logging-elasticsearch ...
pulling image openshift/origin-logging-elasticsearch ...
+ vagrant ssh -c 'docker pull openshift/origin-logging-elasticsearch' -- -n
Using default tag: latest
Trying to pull repository docker.io/openshift/origin-logging-elasticsearch ... 
latest: Pulling from docker.io/openshift/origin-logging-elasticsearch
d5e46245fe40: Already exists
ab4780386529: Pulling fs layer
80503ae3b0fe: Pulling fs layer
110d90898f8a: Pulling fs layer
b110708dfac6: Pulling fs layer
8f9ecbfd25ab: Pulling fs layer
29d7ed0baa52: Pulling fs layer
17ebbcb3d605: Pulling fs layer
d37a5fc9cbde: Pulling fs layer
060ad1853242: Pulling fs layer
eee851304b3a: Pulling fs layer
060ad1853242: Waiting
29d7ed0baa52: Waiting
17ebbcb3d605: Waiting
eee851304b3a: Waiting
d37a5fc9cbde: Waiting
b110708dfac6: Waiting
8f9ecbfd25ab: Waiting
110d90898f8a: Verifying Checksum
110d90898f8a: Download complete
ab4780386529: Verifying Checksum
ab4780386529: Download complete
b110708dfac6: Verifying Checksum
b110708dfac6: Download complete
8f9ecbfd25ab: Download complete
29d7ed0baa52: Verifying Checksum
29d7ed0baa52: Download complete
17ebbcb3d605: Verifying Checksum
17ebbcb3d605: Download complete
060ad1853242: Verifying Checksum
060ad1853242: Download complete
eee851304b3a: Verifying Checksum
eee851304b3a: Download complete
d37a5fc9cbde: Verifying Checksum
d37a5fc9cbde: Download complete
80503ae3b0fe: Download complete
ab4780386529: Pull complete
80503ae3b0fe: Pull complete
110d90898f8a: Pull complete
b110708dfac6: Pull complete
8f9ecbfd25ab: Pull complete
29d7ed0baa52: Pull complete
17ebbcb3d605: Pull complete
d37a5fc9cbde: Pull complete
060ad1853242: Pull complete
eee851304b3a: Pull complete
Digest: sha256:3a4d359a10d7655cdca2cfa3a89771d6825ffe1d50de4ac7bb570e79f862ccfb
+ echo done with openshift/origin-logging-elasticsearch
done with openshift/origin-logging-elasticsearch
+ for image in openshift/base-centos7 centos:centos7 openshift/origin-logging-elasticsearch openshift/origin-logging-fluentd openshift/origin-logging-curator openshift/origin-logging-kibana
+ echo pulling image openshift/origin-logging-fluentd ...
pulling image openshift/origin-logging-fluentd ...
+ vagrant ssh -c 'docker pull openshift/origin-logging-fluentd' -- -n
Using default tag: latest
Trying to pull repository docker.io/openshift/origin-logging-fluentd ... 
latest: Pulling from docker.io/openshift/origin-logging-fluentd
d5e46245fe40: Already exists
e0f9da45960a: Pulling fs layer
b7564a1b49c3: Pulling fs layer
1f0ac0ad59f6: Pulling fs layer
a036466e4202: Pulling fs layer
954e91cd4a3c: Pulling fs layer
a036466e4202: Waiting
954e91cd4a3c: Waiting
1f0ac0ad59f6: Download complete
a036466e4202: Verifying Checksum
a036466e4202: Download complete
954e91cd4a3c: Download complete
b7564a1b49c3: Verifying Checksum
b7564a1b49c3: Download complete
e0f9da45960a: Verifying Checksum
e0f9da45960a: Download complete
e0f9da45960a: Pull complete
b7564a1b49c3: Pull complete
1f0ac0ad59f6: Pull complete
a036466e4202: Pull complete
954e91cd4a3c: Pull complete
Digest: sha256:8e382dfb002d4f0788d8c5d30ec1baff8005c548bc49fa061fc24d9a0302d9e9
+ echo done with openshift/origin-logging-fluentd
done with openshift/origin-logging-fluentd
+ for image in openshift/base-centos7 centos:centos7 openshift/origin-logging-elasticsearch openshift/origin-logging-fluentd openshift/origin-logging-curator openshift/origin-logging-kibana
+ echo pulling image openshift/origin-logging-curator ...
pulling image openshift/origin-logging-curator ...
+ vagrant ssh -c 'docker pull openshift/origin-logging-curator' -- -n
Using default tag: latest
Trying to pull repository docker.io/openshift/origin-logging-curator ... 
latest: Pulling from docker.io/openshift/origin-logging-curator
d5e46245fe40: Already exists
45b57d2b5ea1: Pulling fs layer
a2722b2a33b6: Pulling fs layer
45b57d2b5ea1: Verifying Checksum
45b57d2b5ea1: Download complete
a2722b2a33b6: Verifying Checksum
a2722b2a33b6: Download complete
45b57d2b5ea1: Pull complete
a2722b2a33b6: Pull complete
Digest: sha256:ee6d3de66a3dac118b6c961786fc075276bda8c688f9bf8e24f6559b38f0fbeb
+ echo done with openshift/origin-logging-curator
done with openshift/origin-logging-curator
+ for image in openshift/base-centos7 centos:centos7 openshift/origin-logging-elasticsearch openshift/origin-logging-fluentd openshift/origin-logging-curator openshift/origin-logging-kibana
+ echo pulling image openshift/origin-logging-kibana ...
pulling image openshift/origin-logging-kibana ...
+ vagrant ssh -c 'docker pull openshift/origin-logging-kibana' -- -n
Using default tag: latest
Trying to pull repository docker.io/openshift/origin-logging-kibana ... 
latest: Pulling from docker.io/openshift/origin-logging-kibana
45a2e645736c: Already exists
734fb161cf89: Already exists
78efc9e155c4: Already exists
8a3400b7e31a: Already exists
6e4f505c5772: Pulling fs layer
a746d34fe6c3: Pulling fs layer
2e2d74c80385: Pulling fs layer
8f4b9444f21e: Pulling fs layer
9a5f7882bf53: Pulling fs layer
1a2586e469f9: Pulling fs layer
8f4b9444f21e: Waiting
9a5f7882bf53: Waiting
1a2586e469f9: Waiting
6e4f505c5772: Verifying Checksum
2e2d74c80385: Verifying Checksum
2e2d74c80385: Download complete
9a5f7882bf53: Download complete
6e4f505c5772: Pull complete
8f4b9444f21e: Verifying Checksum
8f4b9444f21e: Download complete
a746d34fe6c3: Verifying Checksum
a746d34fe6c3: Download complete
1a2586e469f9: Verifying Checksum
1a2586e469f9: Download complete
a746d34fe6c3: Pull complete
2e2d74c80385: Pull complete
8f4b9444f21e: Pull complete
9a5f7882bf53: Pull complete
1a2586e469f9: Pull complete
Digest: sha256:9e3e11edb1f14c744ecf9587a3212e7648934a8bb302513ba84a8c6b058a1229
+ echo done with openshift/origin-logging-kibana
done with openshift/origin-logging-kibana
+ vagrant test-origin-aggregated-logging -d --env GIT_URL=https://github.com/openshift/origin-aggregated-logging --env GIT_BRANCH=master --env O_A_L_DIR=/data/src/github.com/openshift/origin-aggregated-logging --env OS_ROOT=/data/src/github.com/openshift/origin --env ENABLE_OPS_CLUSTER=true --env USE_LOCAL_SOURCE=true --env TEST_PERF=false --env VERBOSE=1 --env OS_ANSIBLE_REPO=https://github.com/openshift/openshift-ansible --env OS_ANSIBLE_BRANCH=master
***************************************************
Running GIT_URL=https://github.com/openshift/origin-aggregated-logging GIT_BRANCH=master O_A_L_DIR=/data/src/github.com/openshift/origin-aggregated-logging OS_ROOT=/data/src/github.com/openshift/origin ENABLE_OPS_CLUSTER=true USE_LOCAL_SOURCE=true TEST_PERF=false VERBOSE=1 OS_ANSIBLE_REPO=https://github.com/openshift/openshift-ansible OS_ANSIBLE_BRANCH=master ./logging.sh...
/data/src/github.com/openshift/origin /data/src/github.com/openshift/origin-aggregated-logging/hack/testing
/data/src/github.com/openshift/origin-aggregated-logging/hack/testing
/data/src/github.com/openshift/origin-aggregated-logging /data/src/github.com/openshift/origin-aggregated-logging/hack/testing
/data/src/github.com/openshift/origin-aggregated-logging/hack/testing
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Metadata Cache Created
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Resolving Dependencies
--> Running transaction check
---> Package ansible.noarch 0:2.3.0.0-3.el7 will be installed
--> Processing Dependency: sshpass for package: ansible-2.3.0.0-3.el7.noarch
--> Processing Dependency: python-paramiko for package: ansible-2.3.0.0-3.el7.noarch
--> Processing Dependency: python-keyczar for package: ansible-2.3.0.0-3.el7.noarch
--> Processing Dependency: python-httplib2 for package: ansible-2.3.0.0-3.el7.noarch
--> Processing Dependency: python-crypto for package: ansible-2.3.0.0-3.el7.noarch
---> Package python2-pip.noarch 0:8.1.2-5.el7 will be installed
---> Package python2-ruamel-yaml.x86_64 0:0.12.14-9.el7 will be installed
--> Processing Dependency: python2-typing for package: python2-ruamel-yaml-0.12.14-9.el7.x86_64
--> Processing Dependency: python2-ruamel-ordereddict for package: python2-ruamel-yaml-0.12.14-9.el7.x86_64
--> Running transaction check
---> Package python-httplib2.noarch 0:0.9.1-2.el7aos will be installed
---> Package python-keyczar.noarch 0:0.71c-2.el7aos will be installed
--> Processing Dependency: python-pyasn1 for package: python-keyczar-0.71c-2.el7aos.noarch
---> Package python-paramiko.noarch 0:2.1.1-1.el7 will be installed
--> Processing Dependency: python-cryptography for package: python-paramiko-2.1.1-1.el7.noarch
---> Package python2-crypto.x86_64 0:2.6.1-13.el7 will be installed
--> Processing Dependency: libtomcrypt.so.0()(64bit) for package: python2-crypto-2.6.1-13.el7.x86_64
---> Package python2-ruamel-ordereddict.x86_64 0:0.4.9-3.el7 will be installed
---> Package python2-typing.noarch 0:3.5.2.2-3.el7 will be installed
---> Package sshpass.x86_64 0:1.06-1.el7 will be installed
--> Running transaction check
---> Package libtomcrypt.x86_64 0:1.17-23.el7 will be installed
--> Processing Dependency: libtommath >= 0.42.0 for package: libtomcrypt-1.17-23.el7.x86_64
--> Processing Dependency: libtommath.so.0()(64bit) for package: libtomcrypt-1.17-23.el7.x86_64
---> Package python2-cryptography.x86_64 0:1.3.1-3.el7 will be installed
--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.3.1-3.el7.x86_64
--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.3.1-3.el7.x86_64
--> Processing Dependency: python-ipaddress for package: python2-cryptography-1.3.1-3.el7.x86_64
--> Processing Dependency: python-enum34 for package: python2-cryptography-1.3.1-3.el7.x86_64
---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed
--> Running transaction check
---> Package libtommath.x86_64 0:0.42.0-4.el7 will be installed
---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed
--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64
---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed
---> Package python-idna.noarch 0:2.0-1.el7 will be installed
---> Package python-ipaddress.noarch 0:1.0.16-2.el7 will be installed
--> Running transaction check
---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed
--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch
--> Running transaction check
---> Package python-ply.noarch 0:3.4-10.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package              Arch   Version        Repository                     Size
================================================================================
Installing:
 ansible              noarch 2.3.0.0-3.el7  epel                          5.7 M
 python2-pip          noarch 8.1.2-5.el7    epel                          1.7 M
 python2-ruamel-yaml  x86_64 0.12.14-9.el7  li                            245 k
Installing for dependencies:
 libtomcrypt          x86_64 1.17-23.el7    epel                          224 k
 libtommath           x86_64 0.42.0-4.el7   epel                           35 k
 python-cffi          x86_64 1.6.0-5.el7    oso-rhui-rhel-server-releases 218 k
 python-enum34        noarch 1.0.4-1.el7    oso-rhui-rhel-server-releases  52 k
 python-httplib2      noarch 0.9.1-2.el7aos li                            115 k
 python-idna          noarch 2.0-1.el7      oso-rhui-rhel-server-releases  92 k
 python-ipaddress     noarch 1.0.16-2.el7   oso-rhui-rhel-server-releases  34 k
 python-keyczar       noarch 0.71c-2.el7aos rhel-7-server-ose-3.1-rpms    217 k
 python-paramiko      noarch 2.1.1-1.el7    rhel-7-server-ose-3.4-rpms    266 k
 python-ply           noarch 3.4-10.el7     oso-rhui-rhel-server-releases 123 k
 python-pycparser     noarch 2.14-1.el7     oso-rhui-rhel-server-releases 105 k
 python2-crypto       x86_64 2.6.1-13.el7   epel                          476 k
 python2-cryptography x86_64 1.3.1-3.el7    oso-rhui-rhel-server-releases 471 k
 python2-pyasn1       noarch 0.1.9-7.el7    oso-rhui-rhel-server-releases 100 k
 python2-ruamel-ordereddict
                      x86_64 0.4.9-3.el7    li                             38 k
 python2-typing       noarch 3.5.2.2-3.el7  epel                           39 k
 sshpass              x86_64 1.06-1.el7     epel                           21 k

Transaction Summary
================================================================================
Install  3 Packages (+17 Dependent packages)

Total download size: 10 M
Installed size: 47 M
Downloading packages:
--------------------------------------------------------------------------------
Total                                               13 MB/s |  10 MB  00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : python2-pyasn1-0.1.9-7.el7.noarch                           1/20 
  Installing : sshpass-1.06-1.el7.x86_64                                   2/20 
  Installing : libtommath-0.42.0-4.el7.x86_64                              3/20 
  Installing : libtomcrypt-1.17-23.el7.x86_64                              4/20 
  Installing : python2-crypto-2.6.1-13.el7.x86_64                          5/20 
  Installing : python-keyczar-0.71c-2.el7aos.noarch                        6/20 
  Installing : python-enum34-1.0.4-1.el7.noarch                            7/20 
  Installing : python-ply-3.4-10.el7.noarch                                8/20 
  Installing : python-pycparser-2.14-1.el7.noarch                          9/20 
  Installing : python-cffi-1.6.0-5.el7.x86_64                             10/20 
  Installing : python-httplib2-0.9.1-2.el7aos.noarch                      11/20 
  Installing : python-idna-2.0-1.el7.noarch                               12/20 
  Installing : python2-ruamel-ordereddict-0.4.9-3.el7.x86_64              13/20 
  Installing : python2-typing-3.5.2.2-3.el7.noarch                        14/20 
  Installing : python-ipaddress-1.0.16-2.el7.noarch                       15/20 
  Installing : python2-cryptography-1.3.1-3.el7.x86_64                    16/20 
  Installing : python-paramiko-2.1.1-1.el7.noarch                         17/20 
  Installing : ansible-2.3.0.0-3.el7.noarch                               18/20 
  Installing : python2-ruamel-yaml-0.12.14-9.el7.x86_64                   19/20 
  Installing : python2-pip-8.1.2-5.el7.noarch                             20/20 
  Verifying  : python-pycparser-2.14-1.el7.noarch                          1/20 
  Verifying  : python-ipaddress-1.0.16-2.el7.noarch                        2/20 
  Verifying  : ansible-2.3.0.0-3.el7.noarch                                3/20 
  Verifying  : python2-typing-3.5.2.2-3.el7.noarch                         4/20 
  Verifying  : python2-pip-8.1.2-5.el7.noarch                              5/20 
  Verifying  : python2-pyasn1-0.1.9-7.el7.noarch                           6/20 
  Verifying  : libtomcrypt-1.17-23.el7.x86_64                              7/20 
  Verifying  : python-cffi-1.6.0-5.el7.x86_64                              8/20 
  Verifying  : python2-ruamel-yaml-0.12.14-9.el7.x86_64                    9/20 
  Verifying  : python2-ruamel-ordereddict-0.4.9-3.el7.x86_64              10/20 
  Verifying  : python-idna-2.0-1.el7.noarch                               11/20 
  Verifying  : python-httplib2-0.9.1-2.el7aos.noarch                      12/20 
  Verifying  : python-ply-3.4-10.el7.noarch                               13/20 
  Verifying  : python-enum34-1.0.4-1.el7.noarch                           14/20 
  Verifying  : python-keyczar-0.71c-2.el7aos.noarch                       15/20 
  Verifying  : libtommath-0.42.0-4.el7.x86_64                             16/20 
  Verifying  : sshpass-1.06-1.el7.x86_64                                  17/20 
  Verifying  : python2-cryptography-1.3.1-3.el7.x86_64                    18/20 
  Verifying  : python-paramiko-2.1.1-1.el7.noarch                         19/20 
  Verifying  : python2-crypto-2.6.1-13.el7.x86_64                         20/20 

Installed:
  ansible.noarch 0:2.3.0.0-3.el7              python2-pip.noarch 0:8.1.2-5.el7 
  python2-ruamel-yaml.x86_64 0:0.12.14-9.el7 

Dependency Installed:
  libtomcrypt.x86_64 0:1.17-23.el7                                              
  libtommath.x86_64 0:0.42.0-4.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.1-2.el7aos                                       
  python-idna.noarch 0:2.0-1.el7                                                
  python-ipaddress.noarch 0:1.0.16-2.el7                                        
  python-keyczar.noarch 0:0.71c-2.el7aos                                        
  python-paramiko.noarch 0:2.1.1-1.el7                                          
  python-ply.noarch 0:3.4-10.el7                                                
  python-pycparser.noarch 0:2.14-1.el7                                          
  python2-crypto.x86_64 0:2.6.1-13.el7                                          
  python2-cryptography.x86_64 0:1.3.1-3.el7                                     
  python2-pyasn1.noarch 0:0.1.9-7.el7                                           
  python2-ruamel-ordereddict.x86_64 0:0.4.9-3.el7                               
  python2-typing.noarch 0:3.5.2.2-3.el7                                         
  sshpass.x86_64 0:1.06-1.el7                                                   

Complete!
Cloning into '/tmp/tmp.Nm00ZyJSXl/openhift-ansible'...
Copying oc from path to /usr/local/bin for use by openshift-ansible
Copying oc from path to /usr/bin for use by openshift-ansible
Copying oadm from path to /usr/local/bin for use by openshift-ansible
Copying oadm from path to /usr/bin for use by openshift-ansible
[INFO] Starting logging tests at Thu Jun  8 20:28:52 EDT 2017
Generated new key pair as /tmp/openshift/origin-aggregated-logging/openshift.local.config/master/serviceaccounts.public.key and /tmp/openshift/origin-aggregated-logging/openshift.local.config/master/serviceaccounts.private.key
Generating node credentials ...
Created node config for 172.18.10.53 in /tmp/openshift/origin-aggregated-logging/openshift.local.config/node-172.18.10.53
Wrote master config to: /tmp/openshift/origin-aggregated-logging/openshift.local.config/master/master-config.yaml
Running hack/lib/start.sh:352: executing 'oc get --raw /healthz --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting any result and text 'ok'; re-trying every 0.25s until completion or 80.000s...
SUCCESS after 22.869s: hack/lib/start.sh:352: executing 'oc get --raw /healthz --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting any result and text 'ok'; re-trying every 0.25s until completion or 80.000s
Standard output from the command:
ok
Standard error from the command:
The connection to the server 172.18.10.53:8443 was refused - did you specify the right host or port?
... repeated 43 times
Error from server (Forbidden): User "system:admin" cannot "get" on "/healthz"
... repeated 6 times
Running hack/lib/start.sh:353: executing 'oc get --raw https://172.18.10.53:10250/healthz --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting any result and text 'ok'; re-trying every 0.5s until completion or 120.000s...
SUCCESS after 0.300s: hack/lib/start.sh:353: executing 'oc get --raw https://172.18.10.53:10250/healthz --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting any result and text 'ok'; re-trying every 0.5s until completion or 120.000s
Standard output from the command:
ok
There was no error output from the command.
Running hack/lib/start.sh:354: executing 'oc get --raw /healthz/ready --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting any result and text 'ok'; re-trying every 0.25s until completion or 80.000s...
SUCCESS after 0.328s: hack/lib/start.sh:354: executing 'oc get --raw /healthz/ready --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting any result and text 'ok'; re-trying every 0.25s until completion or 80.000s
Standard output from the command:
ok
There was no error output from the command.
Running hack/lib/start.sh:355: executing 'oc get service kubernetes --namespace default --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting success; re-trying every 0.25s until completion or 160.000s...
SUCCESS after 0.454s: hack/lib/start.sh:355: executing 'oc get service kubernetes --namespace default --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting success; re-trying every 0.25s until completion or 160.000s
Standard output from the command:
NAME         CLUSTER-IP   EXTERNAL-IP   PORT(S)                 AGE
kubernetes   172.30.0.1   <none>        443/TCP,53/UDP,53/TCP   4s

There was no error output from the command.
Running hack/lib/start.sh:356: executing 'oc get --raw /api/v1/nodes/172.18.10.53 --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting success; re-trying every 0.25s until completion or 80.000s...
SUCCESS after 0.292s: hack/lib/start.sh:356: executing 'oc get --raw /api/v1/nodes/172.18.10.53 --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting success; re-trying every 0.25s until completion or 80.000s
Standard output from the command:
{"kind":"Node","apiVersion":"v1","metadata":{"name":"172.18.10.53","selfLink":"/api/v1/nodes/172.18.10.53","uid":"b964e6da-4caa-11e7-a03a-0e027bbb120e","resourceVersion":"288","creationTimestamp":"2017-06-09T00:29:39Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/os":"linux","kubernetes.io/hostname":"172.18.10.53"},"annotations":{"volumes.kubernetes.io/controller-managed-attach-detach":"true"}},"spec":{"externalID":"172.18.10.53","providerID":"aws:////i-01e4f7a1f27a8c5a8"},"status":{"capacity":{"cpu":"4","memory":"7231688Ki","pods":"40"},"allocatable":{"cpu":"4","memory":"7129288Ki","pods":"40"},"conditions":[{"type":"OutOfDisk","status":"False","lastHeartbeatTime":"2017-06-09T00:29:39Z","lastTransitionTime":"2017-06-09T00:29:39Z","reason":"KubeletHasSufficientDisk","message":"kubelet has sufficient disk space available"},{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2017-06-09T00:29:39Z","lastTransitionTime":"2017-06-09T00:29:39Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2017-06-09T00:29:39Z","lastTransitionTime":"2017-06-09T00:29:39Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"Ready","status":"True","lastHeartbeatTime":"2017-06-09T00:29:39Z","lastTransitionTime":"2017-06-09T00:29:39Z","reason":"KubeletReady","message":"kubelet is posting ready status"}],"addresses":[{"type":"LegacyHostIP","address":"172.18.10.53"},{"type":"InternalIP","address":"172.18.10.53"},{"type":"Hostname","address":"172.18.10.53"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"f9370ed252a14f73b014c1301a9b6d1b","systemUUID":"EC267156-9783-78C6-EEDC-C8C0F8FEE46D","bootID":"b2dbd105-bc61-42b6-b60d-52f9219521c5","kernelVersion":"3.10.0-327.22.2.el7.x86_64","osImage":"Red Hat Enterprise Linux Server 7.3 (Maipo)","containerRuntimeVersion":"docker://1.12.6","kubeletVersion":"v1.6.1+5115d708d7","kubeProxyVersion":"v1.6.1+5115d708d7","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["openshift/origin-federation:6acabdc","openshift/origin-federation:latest"],"sizeBytes":1205885664},{"names":["openshift/origin-docker-registry:6acabdc","openshift/origin-docker-registry:latest"],"sizeBytes":1100164272},{"names":["openshift/origin-gitserver:6acabdc","openshift/origin-gitserver:latest"],"sizeBytes":1086520226},{"names":["openshift/openvswitch:6acabdc","openshift/openvswitch:latest"],"sizeBytes":1053403667},{"names":["openshift/node:6acabdc","openshift/node:latest"],"sizeBytes":1051721928},{"names":["openshift/origin-keepalived-ipfailover:6acabdc","openshift/origin-keepalived-ipfailover:latest"],"sizeBytes":1028529711},{"names":["openshift/origin-haproxy-router:6acabdc","openshift/origin-haproxy-router:latest"],"sizeBytes":1022758742},{"names":["openshift/origin:6acabdc","openshift/origin:latest"],"sizeBytes":1001728427},{"names":["openshift/origin-f5-router:6acabdc","openshift/origin-f5-router:latest"],"sizeBytes":1001728427},{"names":["openshift/origin-sti-builder:6acabdc","openshift/origin-sti-builder:latest"],"sizeBytes":1001728427},{"names":["openshift/origin-recycler:6acabdc","openshift/origin-recycler:latest"],"sizeBytes":1001728427},{"names":["openshift/origin-deployer:6acabdc","openshift/origin-deployer:latest"],"sizeBytes":1001728427},{"names":["openshift/origin-docker-builder:6acabdc","openshift/origin-docker-builder:latest"],"sizeBytes":1001728427},{"names":["openshift/origin-cluster-capacity:6acabdc","openshift/origin-cluster-capacity:latest"],"sizeBytes":962455026},{"names":["rhel7.1:latest"],"sizeBytes":765301508},{"names":["openshift/dind-master:latest"],"sizeBytes":731456758},{"names":["openshift/dind-node:latest"],"sizeBytes":731453034},{"names":["\u003cnone\u003e@\u003cnone\u003e","\u003cnone\u003e:\u003cnone\u003e"],"sizeBytes":709532011},{"names":["docker.io/openshift/origin-logging-kibana@sha256:9e3e11edb1f14c744ecf9587a3212e7648934a8bb302513ba84a8c6b058a1229","docker.io/openshift/origin-logging-kibana:latest"],"sizeBytes":682851463},{"names":["openshift/dind:latest"],"sizeBytes":640650210},{"names":["docker.io/openshift/origin-logging-elasticsearch@sha256:3a4d359a10d7655cdca2cfa3a89771d6825ffe1d50de4ac7bb570e79f862ccfb","docker.io/openshift/origin-logging-elasticsearch:latest"],"sizeBytes":425433788},{"names":["docker.io/openshift/base-centos7@sha256:aea292a3bddba020cde0ee83e6a45807931eb607c164ec6a3674f67039d8cd7c","docker.io/openshift/base-centos7:latest"],"sizeBytes":383049978},{"names":["rhel7.2:latest"],"sizeBytes":377493597},{"names":["openshift/origin-egress-router:6acabdc","openshift/origin-egress-router:latest"],"sizeBytes":364745713},{"names":["openshift/origin-base:latest"],"sizeBytes":363070172},{"names":["\u003cnone\u003e@\u003cnone\u003e","\u003cnone\u003e:\u003cnone\u003e"],"sizeBytes":363024702},{"names":["docker.io/openshift/origin-logging-fluentd@sha256:8e382dfb002d4f0788d8c5d30ec1baff8005c548bc49fa061fc24d9a0302d9e9","docker.io/openshift/origin-logging-fluentd:latest"],"sizeBytes":359223094},{"names":["docker.io/fedora@sha256:69281ddd7b2600e5f2b17f1e12d7fba25207f459204fb2d15884f8432c479136","docker.io/fedora:25"],"sizeBytes":230864375},{"names":["docker.io/openshift/origin-logging-curator@sha256:ee6d3de66a3dac118b6c961786fc075276bda8c688f9bf8e24f6559b38f0fbeb","docker.io/openshift/origin-logging-curator:latest"],"sizeBytes":224977536},{"names":["rhel7.3:latest","rhel7:latest"],"sizeBytes":219121266},{"names":["openshift/origin-pod:6acabdc","openshift/origin-pod:latest"],"sizeBytes":213199843},{"names":["registry.access.redhat.com/rhel7.2@sha256:98e6ca5d226c26e31a95cd67716afe22833c943e1926a21daf1a030906a02249","registry.access.redhat.com/rhel7.2:latest"],"sizeBytes":201376319},{"names":["registry.access.redhat.com/rhel7.3@sha256:1e232401d8e0ba53b36b757b4712fbcbd1dab9c21db039c45a84871a74e89e68","registry.access.redhat.com/rhel7.3:latest"],"sizeBytes":192693772},{"names":["docker.io/centos@sha256:bba1de7c9d900a898e3cadbae040dfe8a633c06bc104a0df76ae24483e03c077"],"sizeBytes":192548999},{"names":["openshift/origin-source:latest"],"sizeBytes":192548894},{"names":["docker.io/centos@sha256:aebf12af704307dfa0079b3babdca8d7e8ff6564696882bcb5d11f1d461f9ee9","docker.io/centos:7","docker.io/centos:centos7"],"sizeBytes":192548537},{"names":["registry.access.redhat.com/rhel7.1@sha256:1bc5a4c43bbb29a5a96a61896ff696933be3502e2f5fdc4cde02d9e101731fdd","registry.access.redhat.com/rhel7.1:latest"],"sizeBytes":158229901},{"names":["openshift/hello-openshift:6acabdc","openshift/hello-openshift:latest"],"sizeBytes":5643318}]}}

There was no error output from the command.
serviceaccount "registry" created
clusterrolebinding "registry-registry-role" created
deploymentconfig "docker-registry" created
service "docker-registry" created
--> Creating router router ...
info: password for stats user admin has been set to Bgc7ZDUyGL
    serviceaccount "router" created
    clusterrolebinding "router-router-role" created
    deploymentconfig "router" created
    service "router" created
--> Success
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:162: executing 'oadm new-project logging --node-selector=''' expecting success...
SUCCESS after 0.468s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:162: executing 'oadm new-project logging --node-selector=''' expecting success
Standard output from the command:
Created project logging

There was no error output from the command.
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:163: executing 'oc project logging > /dev/null' expecting success...
SUCCESS after 0.293s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:163: executing 'oc project logging > /dev/null' expecting success
There was no output from the command.
There was no error output from the command.
apiVersion: v1
items:
- apiVersion: v1
  kind: ImageStream
  metadata:
    labels:
      build: logging-elasticsearch
      component: development
      logging-infra: development
      provider: openshift
    name: logging-elasticsearch
  spec: {}
- apiVersion: v1
  kind: ImageStream
  metadata:
    labels:
      build: logging-fluentd
      component: development
      logging-infra: development
      provider: openshift
    name: logging-fluentd
  spec: {}
- apiVersion: v1
  kind: ImageStream
  metadata:
    labels:
      build: logging-kibana
      component: development
      logging-infra: development
      provider: openshift
    name: logging-kibana
  spec: {}
- apiVersion: v1
  kind: ImageStream
  metadata:
    labels:
      build: logging-curator
      component: development
      logging-infra: development
      provider: openshift
    name: logging-curator
  spec: {}
- apiVersion: v1
  kind: ImageStream
  metadata:
    labels:
      build: logging-auth-proxy
      component: development
      logging-infra: development
      provider: openshift
    name: logging-auth-proxy
  spec: {}
- apiVersion: v1
  kind: ImageStream
  metadata:
    labels:
      build: logging-deployment
      component: development
      logging-infra: development
      provider: openshift
    name: origin
  spec:
    dockerImageRepository: openshift/origin
    tags:
    - from:
        kind: DockerImage
        name: openshift/origin:v1.5.0-alpha.2
      name: v1.5.0-alpha.2
- apiVersion: v1
  kind: BuildConfig
  metadata:
    labels:
      app: logging-elasticsearch
      component: development
      logging-infra: development
      provider: openshift
    name: logging-elasticsearch
  spec:
    output:
      to:
        kind: ImageStreamTag
        name: logging-elasticsearch:latest
    resources: {}
    source:
      contextDir: elasticsearch
      git:
        ref: master
        uri: https://github.com/openshift/origin-aggregated-logging
      type: Git
    strategy:
      dockerStrategy:
        from:
          kind: DockerImage
          name: openshift/base-centos7
      type: Docker
- apiVersion: v1
  kind: BuildConfig
  metadata:
    labels:
      build: logging-fluentd
      component: development
      logging-infra: development
      provider: openshift
    name: logging-fluentd
  spec:
    output:
      to:
        kind: ImageStreamTag
        name: logging-fluentd:latest
    resources: {}
    source:
      contextDir: fluentd
      git:
        ref: master
        uri: https://github.com/openshift/origin-aggregated-logging
      type: Git
    strategy:
      dockerStrategy:
        from:
          kind: DockerImage
          name: openshift/base-centos7
      type: Docker
- apiVersion: v1
  kind: BuildConfig
  metadata:
    labels:
      build: logging-kibana
      component: development
      logging-infra: development
      provider: openshift
    name: logging-kibana
  spec:
    output:
      to:
        kind: ImageStreamTag
        name: logging-kibana:latest
    resources: {}
    source:
      contextDir: kibana
      git:
        ref: master
        uri: https://github.com/openshift/origin-aggregated-logging
      type: Git
    strategy:
      dockerStrategy:
        from:
          kind: DockerImage
          name: openshift/base-centos7
      type: Docker
- apiVersion: v1
  kind: BuildConfig
  metadata:
    labels:
      build: logging-curator
      component: development
      logging-infra: development
      provider: openshift
    name: logging-curator
  spec:
    output:
      to:
        kind: ImageStreamTag
        name: logging-curator:latest
    resources: {}
    source:
      contextDir: curator
      git:
        ref: master
        uri: https://github.com/openshift/origin-aggregated-logging
      type: Git
    strategy:
      dockerStrategy:
        from:
          kind: DockerImage
          name: openshift/base-centos7
      type: Docker
- apiVersion: v1
  kind: BuildConfig
  metadata:
    labels:
      build: logging-auth-proxy
      component: development
      logging-infra: development
      provider: openshift
    name: logging-auth-proxy
  spec:
    output:
      to:
        kind: ImageStreamTag
        name: logging-auth-proxy:latest
    resources: {}
    source:
      contextDir: kibana-proxy
      git:
        ref: master
        uri: https://github.com/openshift/origin-aggregated-logging
      type: Git
    strategy:
      dockerStrategy:
        from:
          kind: DockerImage
          name: library/node:0.10.36
      type: Docker
kind: List
metadata: {}
Running hack/testing/build-images:31: executing 'oc process -o yaml    -f /data/src/github.com/openshift/origin-aggregated-logging/hack/templates/dev-builds-wo-deployer.yaml    -p LOGGING_FORK_URL=https://github.com/openshift/origin-aggregated-logging -p LOGGING_FORK_BRANCH=master    | build_filter | oc create -f -' expecting success...
SUCCESS after 0.451s: hack/testing/build-images:31: executing 'oc process -o yaml    -f /data/src/github.com/openshift/origin-aggregated-logging/hack/templates/dev-builds-wo-deployer.yaml    -p LOGGING_FORK_URL=https://github.com/openshift/origin-aggregated-logging -p LOGGING_FORK_BRANCH=master    | build_filter | oc create -f -' expecting success
Standard output from the command:
imagestream "logging-elasticsearch" created
imagestream "logging-fluentd" created
imagestream "logging-kibana" created
imagestream "logging-curator" created
imagestream "logging-auth-proxy" created
imagestream "origin" created
buildconfig "logging-elasticsearch" created
buildconfig "logging-fluentd" created
buildconfig "logging-kibana" created
buildconfig "logging-curator" created
buildconfig "logging-auth-proxy" created

There was no error output from the command.
Running hack/testing/build-images:9: executing 'oc get imagestreamtag origin:latest' expecting success; re-trying every 0.2s until completion or 60.000s...
SUCCESS after 1.028s: hack/testing/build-images:9: executing 'oc get imagestreamtag origin:latest' expecting success; re-trying every 0.2s until completion or 60.000s
Standard output from the command:
NAME            DOCKER REF                                                                                 UPDATED                  IMAGENAME
origin:latest   openshift/origin@sha256:93a1e9c29979188a64e5ec8cf28c62901db71d8932b33d7f9ff6853ab6e1beab   Less than a second ago   sha256:93a1e9c29979188a64e5ec8cf28c62901db71d8932b33d7f9ff6853ab6e1beab
Standard error from the command:
Error from server (NotFound): imagestreamtags.image.openshift.io "origin:latest" not found
... repeated 2 times
Uploading directory "/data/src/github.com/openshift/origin-aggregated-logging" as binary input for the build ...
build "logging-auth-proxy-1" started
Uploading directory "/data/src/github.com/openshift/origin-aggregated-logging" as binary input for the build ...
build "logging-curator-1" started
Uploading directory "/data/src/github.com/openshift/origin-aggregated-logging" as binary input for the build ...
build "logging-elasticsearch-1" started
Uploading directory "/data/src/github.com/openshift/origin-aggregated-logging" as binary input for the build ...
build "logging-fluentd-1" started
Uploading directory "/data/src/github.com/openshift/origin-aggregated-logging" as binary input for the build ...
build "logging-kibana-1" started
Running hack/testing/build-images:33: executing 'wait_for_builds_complete' expecting success...
SUCCESS after 60.626s: hack/testing/build-images:33: executing 'wait_for_builds_complete' expecting success
Standard output from the command:
Builds are complete

There was no error output from the command.
/tmp/tmp.Nm00ZyJSXl/openhift-ansible /data/src/github.com/openshift/origin-aggregated-logging
### Created host inventory file ###
[oo_first_master]
openshift

[oo_first_master:vars]
ansible_become=true
ansible_connection=local
containerized=true
docker_protect_installed_version=true
openshift_deployment_type=origin
deployment_type=origin
required_packages=[]


openshift_hosted_logging_hostname=kibana.127.0.0.1.xip.io
openshift_master_logging_public_url=https://kibana.127.0.0.1.xip.io
openshift_logging_master_public_url=https://172.18.10.53:8443

openshift_logging_image_prefix=172.30.176.187:5000/logging/
openshift_logging_use_ops=true

openshift_logging_fluentd_journal_read_from_head=False
openshift_logging_es_log_appenders=['console']
openshift_logging_use_mux=false
openshift_logging_mux_allow_external=false
openshift_logging_use_mux_client=false





###################################
Running hack/testing/init-log-stack:58: executing 'oc login -u system:admin' expecting success...
SUCCESS after 0.223s: hack/testing/init-log-stack:58: executing 'oc login -u system:admin' expecting success
Standard output from the command:
Logged into "https://172.18.10.53:8443" as "system:admin" using existing credentials.

You have access to the following projects and can switch between them with 'oc project <projectname>':

    default
    kube-public
    kube-system
  * logging
    openshift
    openshift-infra

Using project "logging".

There was no error output from the command.
Using /tmp/tmp.Nm00ZyJSXl/openhift-ansible/ansible.cfg as config file

PLAYBOOK: openshift-logging.yml ************************************************
4 plays in /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/byo/openshift-cluster/openshift-logging.yml

PLAY [Create initial host groups for localhost] ********************************
META: ran handlers

TASK [include_vars] ************************************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/byo/openshift-cluster/initialize_groups.yml:10
ok: [localhost] => {
    "ansible_facts": {
        "g_all_hosts": "{{ g_master_hosts | union(g_node_hosts) | union(g_etcd_hosts) | union(g_lb_hosts) | union(g_nfs_hosts) | union(g_new_node_hosts)| union(g_new_master_hosts) | default([]) }}", 
        "g_etcd_hosts": "{{ groups.etcd | default([]) }}", 
        "g_glusterfs_hosts": "{{ groups.glusterfs | default([]) }}", 
        "g_glusterfs_registry_hosts": "{{ groups.glusterfs_registry | default(g_glusterfs_hosts) }}", 
        "g_lb_hosts": "{{ groups.lb | default([]) }}", 
        "g_master_hosts": "{{ groups.masters | default([]) }}", 
        "g_new_master_hosts": "{{ groups.new_masters | default([]) }}", 
        "g_new_node_hosts": "{{ groups.new_nodes | default([]) }}", 
        "g_nfs_hosts": "{{ groups.nfs | default([]) }}", 
        "g_node_hosts": "{{ groups.nodes | default([]) }}"
    }, 
    "changed": false
}
META: ran handlers
META: ran handlers

PLAY [Populate config host groups] *********************************************
META: ran handlers

TASK [Evaluate groups - g_etcd_hosts required] *********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:8
skipping: [localhost] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [Evaluate groups - g_master_hosts or g_new_master_hosts required] *********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:13
skipping: [localhost] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [Evaluate groups - g_node_hosts or g_new_node_hosts required] *************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:18
skipping: [localhost] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [Evaluate groups - g_lb_hosts required] ***********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:23
skipping: [localhost] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [Evaluate groups - g_nfs_hosts required] **********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:28
skipping: [localhost] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [Evaluate groups - g_nfs_hosts is single host] ****************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:33
skipping: [localhost] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [Evaluate groups - g_glusterfs_hosts required] ****************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:38
skipping: [localhost] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [Evaluate oo_all_hosts] ***************************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:43

TASK [Evaluate oo_masters] *****************************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:52

TASK [Evaluate oo_first_master] ************************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:61
skipping: [localhost] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [Evaluate oo_masters_to_config] *******************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:70

TASK [Evaluate oo_etcd_to_config] **********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:79

TASK [Evaluate oo_first_etcd] **************************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:88
skipping: [localhost] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [Evaluate oo_etcd_hosts_to_upgrade] ***************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:100

TASK [Evaluate oo_etcd_hosts_to_backup] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:107
creating host via 'add_host': hostname=openshift
ok: [localhost] => (item=openshift) => {
    "add_host": {
        "groups": [
            "oo_etcd_hosts_to_backup"
        ], 
        "host_name": "openshift", 
        "host_vars": {}
    }, 
    "changed": false, 
    "item": "openshift"
}

TASK [Evaluate oo_nodes_to_config] *********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:114

TASK [Add master to oo_nodes_to_config] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:124

TASK [Evaluate oo_lb_to_config] ************************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:134

TASK [Evaluate oo_nfs_to_config] ***********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:143

TASK [Evaluate oo_glusterfs_to_config] *****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:152
META: ran handlers
META: ran handlers

PLAY [OpenShift Aggregated Logging] ********************************************

TASK [Gathering Facts] *********************************************************
ok: [openshift]
META: ran handlers

TASK [openshift_sanitize_inventory : Abort when conflicting deployment type variables are set] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_sanitize_inventory/tasks/main.yml:2
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_sanitize_inventory : Standardize on latest variable names] *****
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_sanitize_inventory/tasks/main.yml:15
ok: [openshift] => {
    "ansible_facts": {
        "deployment_type": "origin", 
        "openshift_deployment_type": "origin"
    }, 
    "changed": false
}

TASK [openshift_sanitize_inventory : Abort when deployment type is invalid] ****
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_sanitize_inventory/tasks/main.yml:23
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_sanitize_inventory : Normalize openshift_release] **************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_sanitize_inventory/tasks/main.yml:31
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_sanitize_inventory : Abort when openshift_release is invalid] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_sanitize_inventory/tasks/main.yml:41
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_facts : Detecting Operating System] ****************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_facts/tasks/main.yml:2
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_facts : set_fact] **********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_facts/tasks/main.yml:8
ok: [openshift] => {
    "ansible_facts": {
        "l_is_atomic": false
    }, 
    "changed": false
}

TASK [openshift_facts : set_fact] **********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_facts/tasks/main.yml:10
ok: [openshift] => {
    "ansible_facts": {
        "l_is_containerized": true, 
        "l_is_etcd_system_container": false, 
        "l_is_master_system_container": false, 
        "l_is_node_system_container": false, 
        "l_is_openvswitch_system_container": false
    }, 
    "changed": false
}

TASK [openshift_facts : set_fact] **********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_facts/tasks/main.yml:16
ok: [openshift] => {
    "ansible_facts": {
        "l_any_system_container": false
    }, 
    "changed": false
}

TASK [openshift_facts : set_fact] **********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_facts/tasks/main.yml:18
ok: [openshift] => {
    "ansible_facts": {
        "l_etcd_runtime": "docker"
    }, 
    "changed": false
}

TASK [openshift_facts : Validate python version] *******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_facts/tasks/main.yml:22
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_facts : Validate python version] *******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_facts/tasks/main.yml:29
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_facts : Determine Atomic Host Docker Version] ******************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_facts/tasks/main.yml:42
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_facts : assert] ************************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_facts/tasks/main.yml:46
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_facts : Load variables] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_facts/tasks/main.yml:53
ok: [openshift] => (item=/tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_facts/vars/default.yml) => {
    "ansible_facts": {
        "required_packages": [
            "iproute", 
            "python-dbus", 
            "PyYAML", 
            "yum-utils"
        ]
    }, 
    "item": "/tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_facts/vars/default.yml"
}

TASK [openshift_facts : Ensure various deps are installed] *********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_facts/tasks/main.yml:59
ok: [openshift] => (item=iproute) => {
    "changed": false, 
    "item": "iproute", 
    "rc": 0, 
    "results": [
        "iproute-3.10.0-74.el7.x86_64 providing iproute is already installed"
    ]
}
ok: [openshift] => (item=python-dbus) => {
    "changed": false, 
    "item": "python-dbus", 
    "rc": 0, 
    "results": [
        "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed"
    ]
}
ok: [openshift] => (item=PyYAML) => {
    "changed": false, 
    "item": "PyYAML", 
    "rc": 0, 
    "results": [
        "PyYAML-3.10-11.el7.x86_64 providing PyYAML is already installed"
    ]
}
ok: [openshift] => (item=yum-utils) => {
    "changed": false, 
    "item": "yum-utils", 
    "rc": 0, 
    "results": [
        "yum-utils-1.1.31-40.el7.noarch providing yum-utils is already installed"
    ]
}

TASK [openshift_facts : Ensure various deps for running system containers are installed] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_facts/tasks/main.yml:64
skipping: [openshift] => (item=atomic)  => {
    "changed": false, 
    "item": "atomic", 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}
skipping: [openshift] => (item=ostree)  => {
    "changed": false, 
    "item": "ostree", 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}
skipping: [openshift] => (item=runc)  => {
    "changed": false, 
    "item": "runc", 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_facts : Gather Cluster facts and set is_containerized if needed] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_facts/tasks/main.yml:71
changed: [openshift] => {
    "ansible_facts": {
        "openshift": {
            "common": {
                "admin_binary": "/usr/local/bin/oadm", 
                "all_hostnames": [
                    "ip-172-18-10-53.ec2.internal", 
                    "172.18.10.53", 
                    "54.175.251.87", 
                    "ec2-54-175-251-87.compute-1.amazonaws.com"
                ], 
                "cli_image": "openshift/origin", 
                "client_binary": "/usr/local/bin/oc", 
                "cluster_id": "default", 
                "config_base": "/etc/origin", 
                "data_dir": "/var/lib/origin", 
                "debug_level": "2", 
                "deployer_image": "openshift/origin-deployer", 
                "deployment_subtype": "basic", 
                "deployment_type": "origin", 
                "dns_domain": "cluster.local", 
                "etcd_runtime": "docker", 
                "examples_content_version": "v3.6", 
                "generate_no_proxy_hosts": true, 
                "hostname": "ip-172-18-10-53.ec2.internal", 
                "install_examples": true, 
                "internal_hostnames": [
                    "ip-172-18-10-53.ec2.internal", 
                    "172.18.10.53"
                ], 
                "ip": "172.18.10.53", 
                "is_atomic": false, 
                "is_containerized": true, 
                "is_etcd_system_container": false, 
                "is_master_system_container": false, 
                "is_node_system_container": false, 
                "is_openvswitch_system_container": false, 
                "kube_svc_ip": "172.30.0.1", 
                "pod_image": "openshift/origin-pod", 
                "portal_net": "172.30.0.0/16", 
                "public_hostname": "ec2-54-175-251-87.compute-1.amazonaws.com", 
                "public_ip": "54.175.251.87", 
                "registry_image": "openshift/origin-docker-registry", 
                "router_image": "openshift/origin-haproxy-router", 
                "sdn_network_plugin_name": "redhat/openshift-ovs-subnet", 
                "service_type": "origin", 
                "use_calico": false, 
                "use_contiv": false, 
                "use_dnsmasq": true, 
                "use_flannel": false, 
                "use_manageiq": true, 
                "use_nuage": false, 
                "use_openshift_sdn": true, 
                "version_gte_3_1_1_or_1_1_1": true, 
                "version_gte_3_1_or_1_1": true, 
                "version_gte_3_2_or_1_2": true, 
                "version_gte_3_3_or_1_3": true, 
                "version_gte_3_4_or_1_4": true, 
                "version_gte_3_5_or_1_5": true, 
                "version_gte_3_6": true
            }, 
            "current_config": {
                "roles": [
                    "node", 
                    "docker"
                ]
            }, 
            "docker": {
                "api_version": 1.24, 
                "disable_push_dockerhub": false, 
                "gte_1_10": true, 
                "options": "--log-driver=journald", 
                "service_name": "docker", 
                "version": "1.12.6"
            }, 
            "hosted": {
                "logging": {
                    "selector": null
                }, 
                "metrics": {
                    "selector": null
                }, 
                "registry": {
                    "selector": "region=infra"
                }, 
                "router": {
                    "selector": "region=infra"
                }
            }, 
            "node": {
                "annotations": {}, 
                "iptables_sync_period": "30s", 
                "kubelet_args": {
                    "node-labels": []
                }, 
                "labels": {}, 
                "local_quota_per_fsgroup": "", 
                "node_image": "openshift/node", 
                "node_system_image": "openshift/node", 
                "nodename": "ip-172-18-10-53.ec2.internal", 
                "ovs_image": "openshift/openvswitch", 
                "ovs_system_image": "openshift/openvswitch", 
                "registry_url": "openshift/origin-${component}:${version}", 
                "schedulable": true, 
                "sdn_mtu": "8951", 
                "set_node_ip": false, 
                "storage_plugin_deps": [
                    "ceph", 
                    "glusterfs", 
                    "iscsi"
                ]
            }, 
            "provider": {
                "metadata": {
                    "ami-id": "ami-83a1fc95", 
                    "ami-launch-index": "0", 
                    "ami-manifest-path": "(unknown)", 
                    "block-device-mapping": {
                        "ami": "/dev/sda1", 
                        "ebs17": "sdb", 
                        "root": "/dev/sda1"
                    }, 
                    "hostname": "ip-172-18-10-53.ec2.internal", 
                    "instance-action": "none", 
                    "instance-id": "i-01e4f7a1f27a8c5a8", 
                    "instance-type": "c4.xlarge", 
                    "local-hostname": "ip-172-18-10-53.ec2.internal", 
                    "local-ipv4": "172.18.10.53", 
                    "mac": "0e:02:7b:bb:12:0e", 
                    "metrics": {
                        "vhostmd": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
                    }, 
                    "network": {
                        "interfaces": {
                            "macs": {
                                "0e:02:7b:bb:12:0e": {
                                    "device-number": "0", 
                                    "interface-id": "eni-8ac3d350", 
                                    "ipv4-associations": {
                                        "54.175.251.87": "172.18.10.53"
                                    }, 
                                    "local-hostname": "ip-172-18-10-53.ec2.internal", 
                                    "local-ipv4s": "172.18.10.53", 
                                    "mac": "0e:02:7b:bb:12:0e", 
                                    "owner-id": "531415883065", 
                                    "public-hostname": "ec2-54-175-251-87.compute-1.amazonaws.com", 
                                    "public-ipv4s": "54.175.251.87", 
                                    "security-group-ids": "sg-7e73221a", 
                                    "security-groups": "default", 
                                    "subnet-id": "subnet-cf57c596", 
                                    "subnet-ipv4-cidr-block": "172.18.0.0/20", 
                                    "vpc-id": "vpc-69705d0c", 
                                    "vpc-ipv4-cidr-block": "172.18.0.0/16", 
                                    "vpc-ipv4-cidr-blocks": "172.18.0.0/16"
                                }
                            }
                        }
                    }, 
                    "placement": {
                        "availability-zone": "us-east-1d"
                    }, 
                    "profile": "default-hvm", 
                    "public-hostname": "ec2-54-175-251-87.compute-1.amazonaws.com", 
                    "public-ipv4": "54.175.251.87", 
                    "public-keys/": "0=libra", 
                    "reservation-id": "r-0ef97f709581ea78d", 
                    "security-groups": "default", 
                    "services": {
                        "domain": "amazonaws.com", 
                        "partition": "aws"
                    }
                }, 
                "name": "aws", 
                "network": {
                    "hostname": "ip-172-18-10-53.ec2.internal", 
                    "interfaces": [
                        {
                            "ips": [
                                "172.18.10.53"
                            ], 
                            "network_id": "subnet-cf57c596", 
                            "network_type": "vpc", 
                            "public_ips": [
                                "54.175.251.87"
                            ]
                        }
                    ], 
                    "ip": "172.18.10.53", 
                    "ipv6_enabled": false, 
                    "public_hostname": "ec2-54-175-251-87.compute-1.amazonaws.com", 
                    "public_ip": "54.175.251.87"
                }, 
                "zone": "us-east-1d"
            }
        }
    }, 
    "changed": true
}

TASK [openshift_facts : Set repoquery command] *********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_facts/tasks/main.yml:99
ok: [openshift] => {
    "ansible_facts": {
        "repoquery_cmd": "repoquery --plugins"
    }, 
    "changed": false
}

TASK [openshift_logging : fail] ************************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/main.yaml:2
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Set default image variables based on deployment_type] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/main.yaml:6
ok: [openshift] => (item=/tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/vars/default_images.yml) => {
    "ansible_facts": {
        "__openshift_logging_image_prefix": "{{ openshift_hosted_logging_deployer_prefix | default('docker.io/openshift/origin-') }}", 
        "__openshift_logging_image_version": "{{ openshift_hosted_logging_deployer_version | default('latest') }}"
    }, 
    "item": "/tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/vars/default_images.yml"
}

TASK [openshift_logging : Set logging image facts] *****************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/main.yaml:12
ok: [openshift] => {
    "ansible_facts": {
        "openshift_logging_image_prefix": "172.30.176.187:5000/logging/", 
        "openshift_logging_image_version": "latest"
    }, 
    "changed": false
}

TASK [openshift_logging : Create temp directory for doing work in] *************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/main.yaml:17
ok: [openshift] => {
    "changed": false, 
    "cmd": [
        "mktemp", 
        "-d", 
        "/tmp/openshift-logging-ansible-XXXXXX"
    ], 
    "delta": "0:00:00.002070", 
    "end": "2017-06-08 20:43:05.327152", 
    "rc": 0, 
    "start": "2017-06-08 20:43:05.325082"
}

STDOUT:

/tmp/openshift-logging-ansible-6iWabS

TASK [openshift_logging : debug] ***********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/main.yaml:24
ok: [openshift] => {
    "changed": false
}

MSG:

Created temp dir /tmp/openshift-logging-ansible-6iWabS

TASK [openshift_logging : Create local temp directory for doing work in] *******
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/main.yaml:26
ok: [openshift -> 127.0.0.1] => {
    "changed": false, 
    "cmd": [
        "mktemp", 
        "-d", 
        "/tmp/openshift-logging-ansible-XXXXXX"
    ], 
    "delta": "0:00:00.001923", 
    "end": "2017-06-08 20:43:05.481211", 
    "rc": 0, 
    "start": "2017-06-08 20:43:05.479288"
}

STDOUT:

/tmp/openshift-logging-ansible-rtwgLR

TASK [openshift_logging : include] *********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/main.yaml:33
included: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml for openshift

TASK [openshift_logging : Gather OpenShift Logging Facts] **********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:2
ok: [openshift] => {
    "ansible_facts": {
        "openshift_logging_facts": {
            "curator": {
                "clusterrolebindings": {}, 
                "configmaps": {}, 
                "daemonsets": {}, 
                "deploymentconfigs": {}, 
                "oauthclients": {}, 
                "pvcs": {}, 
                "rolebindings": {}, 
                "routes": {}, 
                "sccs": {}, 
                "secrets": {}, 
                "services": {}
            }, 
            "curator_ops": {
                "clusterrolebindings": {}, 
                "configmaps": {}, 
                "daemonsets": {}, 
                "deploymentconfigs": {}, 
                "oauthclients": {}, 
                "pvcs": {}, 
                "rolebindings": {}, 
                "routes": {}, 
                "sccs": {}, 
                "secrets": {}, 
                "services": {}
            }, 
            "elasticsearch": {
                "clusterrolebindings": {}, 
                "configmaps": {}, 
                "daemonsets": {}, 
                "deploymentconfigs": {}, 
                "oauthclients": {}, 
                "pvcs": {}, 
                "rolebindings": {}, 
                "routes": {}, 
                "sccs": {}, 
                "secrets": {}, 
                "services": {}
            }, 
            "elasticsearch_ops": {
                "clusterrolebindings": {}, 
                "configmaps": {}, 
                "daemonsets": {}, 
                "deploymentconfigs": {}, 
                "oauthclients": {}, 
                "pvcs": {}, 
                "rolebindings": {}, 
                "routes": {}, 
                "sccs": {}, 
                "secrets": {}, 
                "services": {}
            }, 
            "fluentd": {
                "clusterrolebindings": {}, 
                "configmaps": {}, 
                "daemonsets": {}, 
                "deploymentconfigs": {}, 
                "oauthclients": {}, 
                "pvcs": {}, 
                "rolebindings": {}, 
                "routes": {}, 
                "sccs": {}, 
                "secrets": {}, 
                "services": {}
            }, 
            "kibana": {
                "clusterrolebindings": {}, 
                "configmaps": {}, 
                "daemonsets": {}, 
                "deploymentconfigs": {}, 
                "oauthclients": {}, 
                "pvcs": {}, 
                "rolebindings": {}, 
                "routes": {}, 
                "sccs": {}, 
                "secrets": {}, 
                "services": {}
            }, 
            "kibana_ops": {
                "clusterrolebindings": {}, 
                "configmaps": {}, 
                "daemonsets": {}, 
                "deploymentconfigs": {}, 
                "oauthclients": {}, 
                "pvcs": {}, 
                "rolebindings": {}, 
                "routes": {}, 
                "sccs": {}, 
                "secrets": {}, 
                "services": {}
            }
        }
    }, 
    "changed": false
}

TASK [openshift_logging : Set logging project] *********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:7
ok: [openshift] => {
    "changed": false, 
    "results": {
        "cmd": "/bin/oc get namespace logging -o json", 
        "results": {
            "apiVersion": "v1", 
            "kind": "Namespace", 
            "metadata": {
                "annotations": {
                    "openshift.io/description": "", 
                    "openshift.io/display-name": "", 
                    "openshift.io/node-selector": "", 
                    "openshift.io/sa.scc.mcs": "s0:c7,c4", 
                    "openshift.io/sa.scc.supplemental-groups": "1000050000/10000", 
                    "openshift.io/sa.scc.uid-range": "1000050000/10000"
                }, 
                "creationTimestamp": "2017-06-09T00:29:42Z", 
                "name": "logging", 
                "resourceVersion": "741", 
                "selfLink": "/api/v1/namespaces/logging", 
                "uid": "bad5f82b-4caa-11e7-a03a-0e027bbb120e"
            }, 
            "spec": {
                "finalizers": [
                    "openshift.io/origin", 
                    "kubernetes"
                ]
            }, 
            "status": {
                "phase": "Active"
            }
        }, 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging : Labeling logging project] ****************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:13

TASK [openshift_logging : Labeling logging project] ****************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:26
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Create logging cert directory] ***********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:39
ok: [openshift] => {
    "changed": false, 
    "gid": 0, 
    "group": "root", 
    "mode": "0755", 
    "owner": "root", 
    "path": "/etc/origin/logging", 
    "secontext": "unconfined_u:object_r:etc_t:s0", 
    "size": 6, 
    "state": "directory", 
    "uid": 0
}

TASK [openshift_logging : include] *********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:47
included: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml for openshift

TASK [openshift_logging : Checking for ca.key] *********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:3
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Checking for ca.crt] *********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:8
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Checking for ca.serial.txt] **************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:13
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Generate certificates] *******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:18
changed: [openshift] => {
    "changed": true, 
    "cmd": [
        "/usr/local/bin/oc", 
        "adm", 
        "--config=/tmp/openshift-logging-ansible-6iWabS/admin.kubeconfig", 
        "ca", 
        "create-signer-cert", 
        "--key=/etc/origin/logging/ca.key", 
        "--cert=/etc/origin/logging/ca.crt", 
        "--serial=/etc/origin/logging/ca.serial.txt", 
        "--name=logging-signer-test"
    ], 
    "delta": "0:00:00.434037", 
    "end": "2017-06-08 20:43:09.835457", 
    "rc": 0, 
    "start": "2017-06-08 20:43:09.401420"
}

TASK [openshift_logging : Checking for signing.conf] ***************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:29
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : template] ********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:34
changed: [openshift] => {
    "changed": true, 
    "checksum": "a5a1bda430be44f982fa9097778b7d35d2e42780", 
    "dest": "/etc/origin/logging/signing.conf", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "449087446670073f2899aac33113350c", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "system_u:object_r:etc_t:s0", 
    "size": 4263, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496968990.0-47140943382157/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging : include] *********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:39
included: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml for openshift
included: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml for openshift
included: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml for openshift

TASK [openshift_logging : Checking for kibana.crt] *****************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:2
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Checking for kibana.key] *****************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:7
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Trying to discover server cert variable name for kibana] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:12
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Trying to discover the server key variable name for kibana] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:20
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Creating signed server cert and key for kibana] ******
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:28
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Copying server key for kibana to generated certs directory] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:40
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Copying Server cert for kibana to generated certs directory] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:50
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Checking for kibana-ops.crt] *************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:2
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Checking for kibana-ops.key] *************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:7
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Trying to discover server cert variable name for kibana-ops] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:12
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Trying to discover the server key variable name for kibana-ops] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:20
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Creating signed server cert and key for kibana-ops] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:28
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Copying server key for kibana-ops to generated certs directory] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:40
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Copying Server cert for kibana-ops to generated certs directory] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:50
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Checking for kibana-internal.crt] ********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:2
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Checking for kibana-internal.key] ********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:7
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Trying to discover server cert variable name for kibana-internal] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:12
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Trying to discover the server key variable name for kibana-internal] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:20
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Creating signed server cert and key for kibana-internal] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:28
changed: [openshift] => {
    "changed": true, 
    "cmd": [
        "/usr/local/bin/oc", 
        "adm", 
        "--config=/tmp/openshift-logging-ansible-6iWabS/admin.kubeconfig", 
        "ca", 
        "create-server-cert", 
        "--key=/etc/origin/logging/kibana-internal.key", 
        "--cert=/etc/origin/logging/kibana-internal.crt", 
        "--hostnames=kibana, kibana-ops, kibana.127.0.0.1.xip.io, kibana-ops.router.default.svc.cluster.local", 
        "--signer-cert=/etc/origin/logging/ca.crt", 
        "--signer-key=/etc/origin/logging/ca.key", 
        "--signer-serial=/etc/origin/logging/ca.serial.txt"
    ], 
    "delta": "0:00:00.347431", 
    "end": "2017-06-08 20:43:11.974325", 
    "rc": 0, 
    "start": "2017-06-08 20:43:11.626894"
}

TASK [openshift_logging : Copying server key for kibana-internal to generated certs directory] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:40
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Copying Server cert for kibana-internal to generated certs directory] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml:50
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : include] *********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:48
skipping: [openshift] => (item={u'procure_component': u'mux', u'hostnames': u'logging-mux, mux.router.default.svc.cluster.local'})  => {
    "cert_info": {
        "hostnames": "logging-mux, mux.router.default.svc.cluster.local", 
        "procure_component": "mux"
    }, 
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : include] *********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:56
skipping: [openshift] => (item={u'procure_component': u'mux'})  => {
    "changed": false, 
    "shared_key_info": {
        "procure_component": "mux"
    }, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : include] *********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:63
skipping: [openshift] => (item={u'procure_component': u'es', u'hostnames': u'es, es.router.default.svc.cluster.local'})  => {
    "cert_info": {
        "hostnames": "es, es.router.default.svc.cluster.local", 
        "procure_component": "es"
    }, 
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : include] *********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:71
skipping: [openshift] => (item={u'procure_component': u'es-ops', u'hostnames': u'es-ops, es-ops.router.default.svc.cluster.local'})  => {
    "cert_info": {
        "hostnames": "es-ops, es-ops.router.default.svc.cluster.local", 
        "procure_component": "es-ops"
    }, 
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Copy proxy TLS configuration file] *******************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:81
changed: [openshift] => {
    "changed": true, 
    "checksum": "36991681e03970736a99be9f084773521c44db06", 
    "dest": "/etc/origin/logging/server-tls.json", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "2a954195add2b2fdde4ed09ff5c8e1c5", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "system_u:object_r:etc_t:s0", 
    "size": 321, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496968992.41-4690810847989/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging : Copy proxy TLS configuration file] *******************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:86
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Checking for ca.db] **********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:91
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : copy] ************************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:96
changed: [openshift] => {
    "changed": true, 
    "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", 
    "dest": "/etc/origin/logging/ca.db", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "d41d8cd98f00b204e9800998ecf8427e", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "system_u:object_r:etc_t:s0", 
    "size": 0, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496968992.76-68028136565394/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging : Checking for ca.crt.srl] *****************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:101
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : copy] ************************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:106
changed: [openshift] => {
    "changed": true, 
    "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", 
    "dest": "/etc/origin/logging/ca.crt.srl", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "d41d8cd98f00b204e9800998ecf8427e", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "system_u:object_r:etc_t:s0", 
    "size": 0, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496968993.09-15148928691185/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging : Generate PEM certs] **********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:111
included: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml for openshift
included: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml for openshift
included: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml for openshift
included: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml for openshift

TASK [openshift_logging : Checking for system.logging.fluentd.key] *************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:2
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Checking for system.logging.fluentd.crt] *************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:7
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Creating cert req for system.logging.fluentd] ********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:12
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Creating cert req for system.logging.fluentd] ********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:22
changed: [openshift] => {
    "changed": true, 
    "cmd": [
        "openssl", 
        "req", 
        "-out", 
        "/etc/origin/logging/system.logging.fluentd.csr", 
        "-new", 
        "-newkey", 
        "rsa:2048", 
        "-keyout", 
        "/etc/origin/logging/system.logging.fluentd.key", 
        "-subj", 
        "/CN=system.logging.fluentd/OU=OpenShift/O=Logging", 
        "-days", 
        "712", 
        "-nodes"
    ], 
    "delta": "0:00:00.172409", 
    "end": "2017-06-08 20:43:14.037731", 
    "rc": 0, 
    "start": "2017-06-08 20:43:13.865322"
}

STDERR:

Generating a 2048 bit RSA private key
...............+++
........................+++
writing new private key to '/etc/origin/logging/system.logging.fluentd.key'
-----

TASK [openshift_logging : Sign cert request with CA for system.logging.fluentd] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:31
changed: [openshift] => {
    "changed": true, 
    "cmd": [
        "openssl", 
        "ca", 
        "-in", 
        "/etc/origin/logging/system.logging.fluentd.csr", 
        "-notext", 
        "-out", 
        "/etc/origin/logging/system.logging.fluentd.crt", 
        "-config", 
        "/etc/origin/logging/signing.conf", 
        "-extensions", 
        "v3_req", 
        "-batch", 
        "-extensions", 
        "server_ext"
    ], 
    "delta": "0:00:00.007512", 
    "end": "2017-06-08 20:43:14.164929", 
    "rc": 0, 
    "start": "2017-06-08 20:43:14.157417"
}

STDERR:

Using configuration from /etc/origin/logging/signing.conf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 2 (0x2)
        Validity
            Not Before: Jun  9 00:43:14 2017 GMT
            Not After : Jun  9 00:43:14 2019 GMT
        Subject:
            organizationName          = Logging
            organizationalUnitName    = OpenShift
            commonName                = system.logging.fluentd
        X509v3 extensions:
            X509v3 Key Usage: critical
                Digital Signature, Key Encipherment
            X509v3 Basic Constraints: 
                CA:FALSE
            X509v3 Extended Key Usage: 
                TLS Web Server Authentication, TLS Web Client Authentication
            X509v3 Subject Key Identifier: 
                FB:99:39:34:EF:42:4C:62:F5:D8:64:9D:FE:B8:F0:60:3B:1A:23:FD
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  9 00:43:14 2019 GMT (730 days)

Write out database with 1 new entries
Data Base Updated

TASK [openshift_logging : Checking for system.logging.kibana.key] **************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:2
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Checking for system.logging.kibana.crt] **************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:7
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Creating cert req for system.logging.kibana] *********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:12
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Creating cert req for system.logging.kibana] *********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:22
changed: [openshift] => {
    "changed": true, 
    "cmd": [
        "openssl", 
        "req", 
        "-out", 
        "/etc/origin/logging/system.logging.kibana.csr", 
        "-new", 
        "-newkey", 
        "rsa:2048", 
        "-keyout", 
        "/etc/origin/logging/system.logging.kibana.key", 
        "-subj", 
        "/CN=system.logging.kibana/OU=OpenShift/O=Logging", 
        "-days", 
        "712", 
        "-nodes"
    ], 
    "delta": "0:00:00.089519", 
    "end": "2017-06-08 20:43:14.627080", 
    "rc": 0, 
    "start": "2017-06-08 20:43:14.537561"
}

STDERR:

Generating a 2048 bit RSA private key
....................+++
........................................+++
writing new private key to '/etc/origin/logging/system.logging.kibana.key'
-----

TASK [openshift_logging : Sign cert request with CA for system.logging.kibana] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:31
changed: [openshift] => {
    "changed": true, 
    "cmd": [
        "openssl", 
        "ca", 
        "-in", 
        "/etc/origin/logging/system.logging.kibana.csr", 
        "-notext", 
        "-out", 
        "/etc/origin/logging/system.logging.kibana.crt", 
        "-config", 
        "/etc/origin/logging/signing.conf", 
        "-extensions", 
        "v3_req", 
        "-batch", 
        "-extensions", 
        "server_ext"
    ], 
    "delta": "0:00:00.008534", 
    "end": "2017-06-08 20:43:14.756459", 
    "rc": 0, 
    "start": "2017-06-08 20:43:14.747925"
}

STDERR:

Using configuration from /etc/origin/logging/signing.conf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 3 (0x3)
        Validity
            Not Before: Jun  9 00:43:14 2017 GMT
            Not After : Jun  9 00:43:14 2019 GMT
        Subject:
            organizationName          = Logging
            organizationalUnitName    = OpenShift
            commonName                = system.logging.kibana
        X509v3 extensions:
            X509v3 Key Usage: critical
                Digital Signature, Key Encipherment
            X509v3 Basic Constraints: 
                CA:FALSE
            X509v3 Extended Key Usage: 
                TLS Web Server Authentication, TLS Web Client Authentication
            X509v3 Subject Key Identifier: 
                A4:F6:99:68:17:0F:3E:FD:5B:63:F9:FF:3F:C3:B6:8D:D0:80:BC:CE
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  9 00:43:14 2019 GMT (730 days)

Write out database with 1 new entries
Data Base Updated

TASK [openshift_logging : Checking for system.logging.curator.key] *************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:2
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Checking for system.logging.curator.crt] *************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:7
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Creating cert req for system.logging.curator] ********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:12
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Creating cert req for system.logging.curator] ********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:22
changed: [openshift] => {
    "changed": true, 
    "cmd": [
        "openssl", 
        "req", 
        "-out", 
        "/etc/origin/logging/system.logging.curator.csr", 
        "-new", 
        "-newkey", 
        "rsa:2048", 
        "-keyout", 
        "/etc/origin/logging/system.logging.curator.key", 
        "-subj", 
        "/CN=system.logging.curator/OU=OpenShift/O=Logging", 
        "-days", 
        "712", 
        "-nodes"
    ], 
    "delta": "0:00:00.042401", 
    "end": "2017-06-08 20:43:15.176372", 
    "rc": 0, 
    "start": "2017-06-08 20:43:15.133971"
}

STDERR:

Generating a 2048 bit RSA private key
...+++
......................+++
writing new private key to '/etc/origin/logging/system.logging.curator.key'
-----

TASK [openshift_logging : Sign cert request with CA for system.logging.curator] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:31
changed: [openshift] => {
    "changed": true, 
    "cmd": [
        "openssl", 
        "ca", 
        "-in", 
        "/etc/origin/logging/system.logging.curator.csr", 
        "-notext", 
        "-out", 
        "/etc/origin/logging/system.logging.curator.crt", 
        "-config", 
        "/etc/origin/logging/signing.conf", 
        "-extensions", 
        "v3_req", 
        "-batch", 
        "-extensions", 
        "server_ext"
    ], 
    "delta": "0:00:00.007586", 
    "end": "2017-06-08 20:43:15.303134", 
    "rc": 0, 
    "start": "2017-06-08 20:43:15.295548"
}

STDERR:

Using configuration from /etc/origin/logging/signing.conf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 4 (0x4)
        Validity
            Not Before: Jun  9 00:43:15 2017 GMT
            Not After : Jun  9 00:43:15 2019 GMT
        Subject:
            organizationName          = Logging
            organizationalUnitName    = OpenShift
            commonName                = system.logging.curator
        X509v3 extensions:
            X509v3 Key Usage: critical
                Digital Signature, Key Encipherment
            X509v3 Basic Constraints: 
                CA:FALSE
            X509v3 Extended Key Usage: 
                TLS Web Server Authentication, TLS Web Client Authentication
            X509v3 Subject Key Identifier: 
                BD:18:E1:9F:2D:1B:74:97:67:01:09:8B:2F:78:73:58:72:FF:12:32
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  9 00:43:15 2019 GMT (730 days)

Write out database with 1 new entries
Data Base Updated

TASK [openshift_logging : Checking for system.admin.key] ***********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:2
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Checking for system.admin.crt] ***********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:7
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Creating cert req for system.admin] ******************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:12
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Creating cert req for system.admin] ******************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:22
changed: [openshift] => {
    "changed": true, 
    "cmd": [
        "openssl", 
        "req", 
        "-out", 
        "/etc/origin/logging/system.admin.csr", 
        "-new", 
        "-newkey", 
        "rsa:2048", 
        "-keyout", 
        "/etc/origin/logging/system.admin.key", 
        "-subj", 
        "/CN=system.admin/OU=OpenShift/O=Logging", 
        "-days", 
        "712", 
        "-nodes"
    ], 
    "delta": "0:00:00.155355", 
    "end": "2017-06-08 20:43:15.834723", 
    "rc": 0, 
    "start": "2017-06-08 20:43:15.679368"
}

STDERR:

Generating a 2048 bit RSA private key
......................................................................................+++
.......................+++
writing new private key to '/etc/origin/logging/system.admin.key'
-----

TASK [openshift_logging : Sign cert request with CA for system.admin] **********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml:31
changed: [openshift] => {
    "changed": true, 
    "cmd": [
        "openssl", 
        "ca", 
        "-in", 
        "/etc/origin/logging/system.admin.csr", 
        "-notext", 
        "-out", 
        "/etc/origin/logging/system.admin.crt", 
        "-config", 
        "/etc/origin/logging/signing.conf", 
        "-extensions", 
        "v3_req", 
        "-batch", 
        "-extensions", 
        "server_ext"
    ], 
    "delta": "0:00:00.007532", 
    "end": "2017-06-08 20:43:15.961506", 
    "rc": 0, 
    "start": "2017-06-08 20:43:15.953974"
}

STDERR:

Using configuration from /etc/origin/logging/signing.conf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 5 (0x5)
        Validity
            Not Before: Jun  9 00:43:15 2017 GMT
            Not After : Jun  9 00:43:15 2019 GMT
        Subject:
            organizationName          = Logging
            organizationalUnitName    = OpenShift
            commonName                = system.admin
        X509v3 extensions:
            X509v3 Key Usage: critical
                Digital Signature, Key Encipherment
            X509v3 Basic Constraints: 
                CA:FALSE
            X509v3 Extended Key Usage: 
                TLS Web Server Authentication, TLS Web Client Authentication
            X509v3 Subject Key Identifier: 
                9F:93:06:05:37:64:2E:39:64:2F:E1:76:48:60:79:19:46:25:55:B1
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  9 00:43:15 2019 GMT (730 days)

Write out database with 1 new entries
Data Base Updated

TASK [openshift_logging : Generate PEM cert for mux] ***************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:121
skipping: [openshift] => (item=system.logging.mux)  => {
    "changed": false, 
    "node_name": "system.logging.mux", 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Generate PEM cert for Elasticsearch external route] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:129
skipping: [openshift] => (item=system.logging.es)  => {
    "changed": false, 
    "node_name": "system.logging.es", 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Creating necessary JKS certs] ************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:137
included: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml for openshift

TASK [openshift_logging : Checking for elasticsearch.jks] **********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:3
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Checking for logging-es.jks] *************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:8
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Checking for system.admin.jks] ***********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:13
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Checking for truststore.jks] *************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:18
ok: [openshift] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [openshift_logging : Create placeholder for previously created JKS certs to prevent recreating...] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:23
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Create placeholder for previously created JKS certs to prevent recreating...] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:28
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Create placeholder for previously created JKS certs to prevent recreating...] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:33
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Create placeholder for previously created JKS certs to prevent recreating...] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:38
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : pulling down signing items from host] ****************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:43
changed: [openshift] => (item=ca.crt) => {
    "changed": true, 
    "checksum": "3e0c9e56c8dfdcdb04ad0175f2820baa0aa34d74", 
    "dest": "/tmp/openshift-logging-ansible-rtwgLR/ca.crt", 
    "item": "ca.crt", 
    "md5sum": "2fc638ddb0767898433321129073fcbf", 
    "remote_checksum": "3e0c9e56c8dfdcdb04ad0175f2820baa0aa34d74", 
    "remote_md5sum": null
}
changed: [openshift] => (item=ca.key) => {
    "changed": true, 
    "checksum": "d7700685eb4c3815db40836c2f72bc5ee9ff731e", 
    "dest": "/tmp/openshift-logging-ansible-rtwgLR/ca.key", 
    "item": "ca.key", 
    "md5sum": "f4d5464fbff07522a81ed3d5f5e2aecc", 
    "remote_checksum": "d7700685eb4c3815db40836c2f72bc5ee9ff731e", 
    "remote_md5sum": null
}
changed: [openshift] => (item=ca.serial.txt) => {
    "changed": true, 
    "checksum": "b649682b92a811746098e5c91e891e5142a41950", 
    "dest": "/tmp/openshift-logging-ansible-rtwgLR/ca.serial.txt", 
    "item": "ca.serial.txt", 
    "md5sum": "76b01ce73ac53fdac1c67d27ac040473", 
    "remote_checksum": "b649682b92a811746098e5c91e891e5142a41950", 
    "remote_md5sum": null
}
ok: [openshift] => (item=ca.crl.srl) => {
    "changed": false, 
    "file": "/etc/origin/logging/ca.crl.srl", 
    "item": "ca.crl.srl"
}

MSG:

the remote file does not exist, not transferring, ignored
changed: [openshift] => (item=ca.db) => {
    "changed": true, 
    "checksum": "16440da05050c469d35eae9ef0359c8d407e9866", 
    "dest": "/tmp/openshift-logging-ansible-rtwgLR/ca.db", 
    "item": "ca.db", 
    "md5sum": "2531bae3a1974bd24a13ad4e9f4ee0fd", 
    "remote_checksum": "16440da05050c469d35eae9ef0359c8d407e9866", 
    "remote_md5sum": null
}

TASK [openshift_logging : template] ********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:56
changed: [openshift -> 127.0.0.1] => {
    "changed": true, 
    "checksum": "dc009714c356fc44c722fd35f056874746b8ddcc", 
    "dest": "/tmp/openshift-logging-ansible-rtwgLR/signing.conf", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "740e35422c9700b908a72d4c3051057a", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 4281, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496968997.39-64230183729714/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging : Run JKS generation script] ***************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:61
changed: [openshift -> 127.0.0.1] => {
    "changed": true, 
    "rc": 0
}

STDOUT:

Generating keystore and certificate for node system.admin
Generating certificate signing request for node system.admin
Sign certificate request with CA
Import back to keystore (including CA chain)
All done for system.admin
Generating keystore and certificate for node elasticsearch
Generating certificate signing request for node elasticsearch
Sign certificate request with CA
Import back to keystore (including CA chain)
All done for elasticsearch
Generating keystore and certificate for node logging-es
Generating certificate signing request for node logging-es
Sign certificate request with CA
Import back to keystore (including CA chain)
All done for logging-es
Import CA to truststore for validating client certs



STDERR:

+ '[' 2 -lt 1 ']'
+ dir=/tmp/openshift-logging-ansible-rtwgLR
+ SCRATCH_DIR=/tmp/openshift-logging-ansible-rtwgLR
+ PROJECT=logging
+ [[ ! -f /tmp/openshift-logging-ansible-rtwgLR/system.admin.jks ]]
+ generate_JKS_client_cert system.admin
+ NODE_NAME=system.admin
+ ks_pass=kspass
+ ts_pass=tspass
+ dir=/tmp/openshift-logging-ansible-rtwgLR
+ echo Generating keystore and certificate for node system.admin
+ keytool -genkey -alias system.admin -keystore /tmp/openshift-logging-ansible-rtwgLR/system.admin.jks -keyalg RSA -keysize 2048 -validity 712 -keypass kspass -storepass kspass -dname 'CN=system.admin, OU=OpenShift, O=Logging'
+ echo Generating certificate signing request for node system.admin
+ keytool -certreq -alias system.admin -keystore /tmp/openshift-logging-ansible-rtwgLR/system.admin.jks -file /tmp/openshift-logging-ansible-rtwgLR/system.admin.jks.csr -keyalg rsa -keypass kspass -storepass kspass -dname 'CN=system.admin, OU=OpenShift, O=Logging'
+ echo Sign certificate request with CA
+ openssl ca -in /tmp/openshift-logging-ansible-rtwgLR/system.admin.jks.csr -notext -out /tmp/openshift-logging-ansible-rtwgLR/system.admin.jks.crt -config /tmp/openshift-logging-ansible-rtwgLR/signing.conf -extensions v3_req -batch -extensions server_ext
Using configuration from /tmp/openshift-logging-ansible-rtwgLR/signing.conf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 6 (0x6)
        Validity
            Not Before: Jun  9 00:43:28 2017 GMT
            Not After : Jun  9 00:43:28 2019 GMT
        Subject:
            organizationName          = Logging
            organizationalUnitName    = OpenShift
            commonName                = system.admin
        X509v3 extensions:
            X509v3 Key Usage: critical
                Digital Signature, Key Encipherment
            X509v3 Basic Constraints: 
                CA:FALSE
            X509v3 Extended Key Usage: 
                TLS Web Server Authentication, TLS Web Client Authentication
            X509v3 Subject Key Identifier: 
                0C:98:F4:4D:B1:D2:48:51:C3:9A:2F:3F:A5:C9:E8:3B:98:3E:3D:9C
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  9 00:43:28 2019 GMT (730 days)

Write out database with 1 new entries
Data Base Updated
+ echo 'Import back to keystore (including CA chain)'
+ keytool -import -file /tmp/openshift-logging-ansible-rtwgLR/ca.crt -keystore /tmp/openshift-logging-ansible-rtwgLR/system.admin.jks -storepass kspass -noprompt -alias sig-ca
Certificate was added to keystore
+ keytool -import -file /tmp/openshift-logging-ansible-rtwgLR/system.admin.jks.crt -keystore /tmp/openshift-logging-ansible-rtwgLR/system.admin.jks -storepass kspass -noprompt -alias system.admin
Certificate reply was installed in keystore
+ echo All done for system.admin
+ [[ ! -f /tmp/openshift-logging-ansible-rtwgLR/elasticsearch.jks ]]
++ join , logging-es logging-es-ops
++ local IFS=,
++ shift
++ echo logging-es,logging-es-ops
+ generate_JKS_chain true elasticsearch logging-es,logging-es-ops
+ dir=/tmp/openshift-logging-ansible-rtwgLR
+ ADD_OID=true
+ NODE_NAME=elasticsearch
+ CERT_NAMES=logging-es,logging-es-ops
+ ks_pass=kspass
+ ts_pass=tspass
+ rm -rf elasticsearch
+ extension_names=
+ for name in '${CERT_NAMES//,/ }'
+ extension_names=,dns:logging-es
+ for name in '${CERT_NAMES//,/ }'
+ extension_names=,dns:logging-es,dns:logging-es-ops
+ '[' true = true ']'
+ extension_names=,dns:logging-es,dns:logging-es-ops,oid:1.2.3.4.5.5
+ echo Generating keystore and certificate for node elasticsearch
+ keytool -genkey -alias elasticsearch -keystore /tmp/openshift-logging-ansible-rtwgLR/elasticsearch.jks -keypass kspass -storepass kspass -keyalg RSA -keysize 2048 -validity 712 -dname 'CN=elasticsearch, OU=OpenShift, O=Logging' -ext san=dns:localhost,ip:127.0.0.1,dns:logging-es,dns:logging-es-ops,oid:1.2.3.4.5.5
+ echo Generating certificate signing request for node elasticsearch
+ keytool -certreq -alias elasticsearch -keystore /tmp/openshift-logging-ansible-rtwgLR/elasticsearch.jks -storepass kspass -file /tmp/openshift-logging-ansible-rtwgLR/elasticsearch.csr -keyalg rsa -dname 'CN=elasticsearch, OU=OpenShift, O=Logging' -ext san=dns:localhost,ip:127.0.0.1,dns:logging-es,dns:logging-es-ops,oid:1.2.3.4.5.5
+ echo Sign certificate request with CA
+ openssl ca -in /tmp/openshift-logging-ansible-rtwgLR/elasticsearch.csr -notext -out /tmp/openshift-logging-ansible-rtwgLR/elasticsearch.crt -config /tmp/openshift-logging-ansible-rtwgLR/signing.conf -extensions v3_req -batch -extensions server_ext
Using configuration from /tmp/openshift-logging-ansible-rtwgLR/signing.conf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 7 (0x7)
        Validity
            Not Before: Jun  9 00:43:30 2017 GMT
            Not After : Jun  9 00:43:30 2019 GMT
        Subject:
            organizationName          = Logging
            organizationalUnitName    = OpenShift
            commonName                = elasticsearch
        X509v3 extensions:
            X509v3 Key Usage: critical
                Digital Signature, Key Encipherment
            X509v3 Basic Constraints: 
                CA:FALSE
            X509v3 Extended Key Usage: 
                TLS Web Server Authentication, TLS Web Client Authentication
            X509v3 Subject Key Identifier: 
                CD:B2:37:16:B5:6C:4E:A2:ED:89:7A:C2:9C:D5:76:43:4E:38:E7:C5
            X509v3 Authority Key Identifier: 
                0.
            X509v3 Subject Alternative Name: 
                DNS:localhost, IP Address:127.0.0.1, DNS:logging-es, DNS:logging-es-ops, Registered ID:1.2.3.4.5.5
Certificate is to be certified until Jun  9 00:43:30 2019 GMT (730 days)

Write out database with 1 new entries
Data Base Updated
+ echo 'Import back to keystore (including CA chain)'
+ keytool -import -file /tmp/openshift-logging-ansible-rtwgLR/ca.crt -keystore /tmp/openshift-logging-ansible-rtwgLR/elasticsearch.jks -storepass kspass -noprompt -alias sig-ca
Certificate was added to keystore
+ keytool -import -file /tmp/openshift-logging-ansible-rtwgLR/elasticsearch.crt -keystore /tmp/openshift-logging-ansible-rtwgLR/elasticsearch.jks -storepass kspass -noprompt -alias elasticsearch
Certificate reply was installed in keystore
+ echo All done for elasticsearch
+ [[ ! -f /tmp/openshift-logging-ansible-rtwgLR/logging-es.jks ]]
++ join , logging-es logging-es.logging.svc.cluster.local logging-es-cluster logging-es-cluster.logging.svc.cluster.local logging-es-ops logging-es-ops.logging.svc.cluster.local logging-es-ops-cluster logging-es-ops-cluster.logging.svc.cluster.local
++ local IFS=,
++ shift
++ echo logging-es,logging-es.logging.svc.cluster.local,logging-es-cluster,logging-es-cluster.logging.svc.cluster.local,logging-es-ops,logging-es-ops.logging.svc.cluster.local,logging-es-ops-cluster,logging-es-ops-cluster.logging.svc.cluster.local
+ generate_JKS_chain false logging-es logging-es,logging-es.logging.svc.cluster.local,logging-es-cluster,logging-es-cluster.logging.svc.cluster.local,logging-es-ops,logging-es-ops.logging.svc.cluster.local,logging-es-ops-cluster,logging-es-ops-cluster.logging.svc.cluster.local
+ dir=/tmp/openshift-logging-ansible-rtwgLR
+ ADD_OID=false
+ NODE_NAME=logging-es
+ CERT_NAMES=logging-es,logging-es.logging.svc.cluster.local,logging-es-cluster,logging-es-cluster.logging.svc.cluster.local,logging-es-ops,logging-es-ops.logging.svc.cluster.local,logging-es-ops-cluster,logging-es-ops-cluster.logging.svc.cluster.local
+ ks_pass=kspass
+ ts_pass=tspass
+ rm -rf logging-es
+ extension_names=
+ for name in '${CERT_NAMES//,/ }'
+ extension_names=,dns:logging-es
+ for name in '${CERT_NAMES//,/ }'
+ extension_names=,dns:logging-es,dns:logging-es.logging.svc.cluster.local
+ for name in '${CERT_NAMES//,/ }'
+ extension_names=,dns:logging-es,dns:logging-es.logging.svc.cluster.local,dns:logging-es-cluster
+ for name in '${CERT_NAMES//,/ }'
+ extension_names=,dns:logging-es,dns:logging-es.logging.svc.cluster.local,dns:logging-es-cluster,dns:logging-es-cluster.logging.svc.cluster.local
+ for name in '${CERT_NAMES//,/ }'
+ extension_names=,dns:logging-es,dns:logging-es.logging.svc.cluster.local,dns:logging-es-cluster,dns:logging-es-cluster.logging.svc.cluster.local,dns:logging-es-ops
+ for name in '${CERT_NAMES//,/ }'
+ extension_names=,dns:logging-es,dns:logging-es.logging.svc.cluster.local,dns:logging-es-cluster,dns:logging-es-cluster.logging.svc.cluster.local,dns:logging-es-ops,dns:logging-es-ops.logging.svc.cluster.local
+ for name in '${CERT_NAMES//,/ }'
+ extension_names=,dns:logging-es,dns:logging-es.logging.svc.cluster.local,dns:logging-es-cluster,dns:logging-es-cluster.logging.svc.cluster.local,dns:logging-es-ops,dns:logging-es-ops.logging.svc.cluster.local,dns:logging-es-ops-cluster
+ for name in '${CERT_NAMES//,/ }'
+ extension_names=,dns:logging-es,dns:logging-es.logging.svc.cluster.local,dns:logging-es-cluster,dns:logging-es-cluster.logging.svc.cluster.local,dns:logging-es-ops,dns:logging-es-ops.logging.svc.cluster.local,dns:logging-es-ops-cluster,dns:logging-es-ops-cluster.logging.svc.cluster.local
+ '[' false = true ']'
+ echo Generating keystore and certificate for node logging-es
+ keytool -genkey -alias logging-es -keystore /tmp/openshift-logging-ansible-rtwgLR/logging-es.jks -keypass kspass -storepass kspass -keyalg RSA -keysize 2048 -validity 712 -dname 'CN=logging-es, OU=OpenShift, O=Logging' -ext san=dns:localhost,ip:127.0.0.1,dns:logging-es,dns:logging-es.logging.svc.cluster.local,dns:logging-es-cluster,dns:logging-es-cluster.logging.svc.cluster.local,dns:logging-es-ops,dns:logging-es-ops.logging.svc.cluster.local,dns:logging-es-ops-cluster,dns:logging-es-ops-cluster.logging.svc.cluster.local
+ echo Generating certificate signing request for node logging-es
+ keytool -certreq -alias logging-es -keystore /tmp/openshift-logging-ansible-rtwgLR/logging-es.jks -storepass kspass -file /tmp/openshift-logging-ansible-rtwgLR/logging-es.csr -keyalg rsa -dname 'CN=logging-es, OU=OpenShift, O=Logging' -ext san=dns:localhost,ip:127.0.0.1,dns:logging-es,dns:logging-es.logging.svc.cluster.local,dns:logging-es-cluster,dns:logging-es-cluster.logging.svc.cluster.local,dns:logging-es-ops,dns:logging-es-ops.logging.svc.cluster.local,dns:logging-es-ops-cluster,dns:logging-es-ops-cluster.logging.svc.cluster.local
+ echo Sign certificate request with CA
+ openssl ca -in /tmp/openshift-logging-ansible-rtwgLR/logging-es.csr -notext -out /tmp/openshift-logging-ansible-rtwgLR/logging-es.crt -config /tmp/openshift-logging-ansible-rtwgLR/signing.conf -extensions v3_req -batch -extensions server_ext
Using configuration from /tmp/openshift-logging-ansible-rtwgLR/signing.conf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 8 (0x8)
        Validity
            Not Before: Jun  9 00:43:31 2017 GMT
            Not After : Jun  9 00:43:31 2019 GMT
        Subject:
            organizationName          = Logging
            organizationalUnitName    = OpenShift
            commonName                = logging-es
        X509v3 extensions:
            X509v3 Key Usage: critical
                Digital Signature, Key Encipherment
            X509v3 Basic Constraints: 
                CA:FALSE
            X509v3 Extended Key Usage: 
                TLS Web Server Authentication, TLS Web Client Authentication
            X509v3 Subject Key Identifier: 
                0F:BD:60:7F:49:C9:2E:4C:6A:F6:BD:30:21:34:EB:1C:CA:39:8B:14
            X509v3 Authority Key Identifier: 
                0.
            X509v3 Subject Alternative Name: 
                DNS:localhost, IP Address:127.0.0.1, DNS:logging-es, DNS:logging-es.logging.svc.cluster.local, DNS:logging-es-cluster, DNS:logging-es-cluster.logging.svc.cluster.local, DNS:logging-es-ops, DNS:logging-es-ops.logging.svc.cluster.local, DNS:logging-es-ops-cluster, DNS:logging-es-ops-cluster.logging.svc.cluster.local
Certificate is to be certified until Jun  9 00:43:31 2019 GMT (730 days)

Write out database with 1 new entries
Data Base Updated
+ echo 'Import back to keystore (including CA chain)'
+ keytool -import -file /tmp/openshift-logging-ansible-rtwgLR/ca.crt -keystore /tmp/openshift-logging-ansible-rtwgLR/logging-es.jks -storepass kspass -noprompt -alias sig-ca
Certificate was added to keystore
+ keytool -import -file /tmp/openshift-logging-ansible-rtwgLR/logging-es.crt -keystore /tmp/openshift-logging-ansible-rtwgLR/logging-es.jks -storepass kspass -noprompt -alias logging-es
Certificate reply was installed in keystore
+ echo All done for logging-es
+ '[' '!' -f /tmp/openshift-logging-ansible-rtwgLR/truststore.jks ']'
+ createTruststore
+ echo 'Import CA to truststore for validating client certs'
+ keytool -import -file /tmp/openshift-logging-ansible-rtwgLR/ca.crt -keystore /tmp/openshift-logging-ansible-rtwgLR/truststore.jks -storepass tspass -noprompt -alias sig-ca
Certificate was added to keystore
+ exit 0


TASK [openshift_logging : Pushing locally generated JKS certs to remote host...] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:66
changed: [openshift] => {
    "changed": true, 
    "checksum": "47299a8e213aa5de55e5ae32eaa90df97d45a048", 
    "dest": "/etc/origin/logging/elasticsearch.jks", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "a36618c51380030e8ca595a3c4a9104c", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "system_u:object_r:etc_t:s0", 
    "size": 3766, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969012.19-233949298754292/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging : Pushing locally generated JKS certs to remote host...] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:72
changed: [openshift] => {
    "changed": true, 
    "checksum": "f5fc268272e0aebd33ae37312d2a4ae70f54d62d", 
    "dest": "/etc/origin/logging/logging-es.jks", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "6208903ff49a69048ccf8259877b809d", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "system_u:object_r:etc_t:s0", 
    "size": 3982, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969012.41-42835737885710/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging : Pushing locally generated JKS certs to remote host...] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:78
changed: [openshift] => {
    "changed": true, 
    "checksum": "98c0e217789f6f9b2c1a61767f9d20369e150f42", 
    "dest": "/etc/origin/logging/system.admin.jks", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "8eb1f427dbd405910a690e0ad6a4d1a6", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "system_u:object_r:etc_t:s0", 
    "size": 3702, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969012.64-220960568378663/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging : Pushing locally generated JKS certs to remote host...] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:84
changed: [openshift] => {
    "changed": true, 
    "checksum": "e1c87b07adf318a9afbb697c5d5678db2ec80d81", 
    "dest": "/etc/origin/logging/truststore.jks", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "df18b74f1d87e899929c8ec62c5883d9", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "system_u:object_r:etc_t:s0", 
    "size": 797, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969012.85-147390408620120/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging : Generate proxy session] ******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:141
ok: [openshift] => {
    "ansible_facts": {
        "session_secret": "Kxe9C0aQOU0M0lxEzAxKqECq3y12x7EMXx1BM3XbtcYk2pJTt4r7vdRiWsG3rKwUgngyF52897rTqvjQ97QUKCOJyD4O8s9o7VWU1i0Bm8POC5j9njaUEKBN1lddu4eKpITLZzJD9yobj9Xwpn1HihMlTztM0ROkbb9gGS0bz4L3hwlL9L1GsX7jRzXpJcsP3ibLButH"
    }, 
    "changed": false
}

TASK [openshift_logging : Generate oauth client secret] ************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:146
ok: [openshift] => {
    "ansible_facts": {
        "oauth_secret": "Ch7Qp4771E8aF38f4Z8pptg7TnqBRM95X6Z7DavYUDCR9bWoB1j0Pp3AMNsTogm7"
    }, 
    "changed": false
}

TASK [openshift_logging : set_fact] ********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:53

TASK [openshift_logging : set_fact] ********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:57
ok: [openshift] => {
    "ansible_facts": {
        "es_indices": "[]"
    }, 
    "changed": false
}

TASK [openshift_logging : set_fact] ********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:60
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : include_role] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:64

TASK [openshift_logging : include_role] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:85
statically included: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/determine_version.yaml

TASK [openshift_logging_elasticsearch : Validate Elasticsearch cluster size] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:2
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : Validate Elasticsearch Ops cluster size] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:6
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : fail] **********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:10
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : set_fact] ******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:14
ok: [openshift] => {
    "ansible_facts": {
        "elasticsearch_name": "logging-elasticsearch", 
        "es_component": "es"
    }, 
    "changed": false
}

TASK [openshift_logging_elasticsearch : fail] **********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/determine_version.yaml:3
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : set_fact] ******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/determine_version.yaml:7
ok: [openshift] => {
    "ansible_facts": {
        "es_version": "3_5"
    }, 
    "changed": false
}

TASK [openshift_logging_elasticsearch : debug] *********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/determine_version.yaml:11
ok: [openshift] => {
    "changed": false, 
    "openshift_logging_image_version": "latest"
}

TASK [openshift_logging_elasticsearch : set_fact] ******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/determine_version.yaml:14
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : fail] **********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/determine_version.yaml:17
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : Create temp directory for doing work in] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:21
ok: [openshift] => {
    "changed": false, 
    "cmd": [
        "mktemp", 
        "-d", 
        "/tmp/openshift-logging-ansible-XXXXXX"
    ], 
    "delta": "0:00:00.001868", 
    "end": "2017-06-08 20:43:33.708739", 
    "rc": 0, 
    "start": "2017-06-08 20:43:33.706871"
}

STDOUT:

/tmp/openshift-logging-ansible-26bPJ9

TASK [openshift_logging_elasticsearch : set_fact] ******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:26
ok: [openshift] => {
    "ansible_facts": {
        "tempdir": "/tmp/openshift-logging-ansible-26bPJ9"
    }, 
    "changed": false
}

TASK [openshift_logging_elasticsearch : Create templates subdirectory] *********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:30
ok: [openshift] => {
    "changed": false, 
    "gid": 0, 
    "group": "root", 
    "mode": "0755", 
    "owner": "root", 
    "path": "/tmp/openshift-logging-ansible-26bPJ9/templates", 
    "secontext": "unconfined_u:object_r:user_tmp_t:s0", 
    "size": 6, 
    "state": "directory", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : Create ES service account] *************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:40
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : Create ES service account] *************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:48
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get sa aggregated-logging-elasticsearch -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "imagePullSecrets": [
                    {
                        "name": "aggregated-logging-elasticsearch-dockercfg-lqr6v"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:43:34Z", 
                    "name": "aggregated-logging-elasticsearch", 
                    "namespace": "logging", 
                    "resourceVersion": "1278", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-elasticsearch", 
                    "uid": "ab027edf-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-elasticsearch-token-rh8q0"
                    }, 
                    {
                        "name": "aggregated-logging-elasticsearch-dockercfg-lqr6v"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : copy] **********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:57
changed: [openshift] => {
    "changed": true, 
    "checksum": "e5015364391ac609da8655a9a1224131599a5cea", 
    "dest": "/tmp/openshift-logging-ansible-26bPJ9/rolebinding-reader.yml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "446fb96447527f48f97e69bb41bad7be", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 135, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969014.95-177608116282130/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : Create rolebinding-reader role] ********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:61
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get clusterrole rolebinding-reader -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "ClusterRole", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:43:35Z", 
                    "name": "rolebinding-reader", 
                    "resourceVersion": "122", 
                    "selfLink": "/oapi/v1/clusterroles/rolebinding-reader", 
                    "uid": "abb5d5dd-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "rules": [
                    {
                        "apiGroups": [
                            ""
                        ], 
                        "attributeRestrictions": null, 
                        "resources": [
                            "clusterrolebindings"
                        ], 
                        "verbs": [
                            "get"
                        ]
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : Set rolebinding-reader permissions for ES] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:72
changed: [openshift] => {
    "changed": true, 
    "present": "present", 
    "results": {
        "cmd": "/bin/oc adm policy add-cluster-role-to-user rolebinding-reader system:serviceaccount:logging:aggregated-logging-elasticsearch -n logging", 
        "results": "", 
        "returncode": 0
    }
}

TASK [openshift_logging_elasticsearch : Generate logging-elasticsearch-view-role] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:81
ok: [openshift] => {
    "changed": false, 
    "checksum": "d752c09323565f80ed14fa806d42284f0c5aef2a", 
    "dest": "/tmp/openshift-logging-ansible-26bPJ9/logging-elasticsearch-view-role.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "8299dca2fb036c06ba7c4f620680e0f6", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 183, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969016.65-101322237028239/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : Set logging-elasticsearch-view-role role] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:94
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get rolebinding logging-elasticsearch-view-role -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "groupNames": null, 
                "kind": "RoleBinding", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:43:37Z", 
                    "name": "logging-elasticsearch-view-role", 
                    "namespace": "logging", 
                    "resourceVersion": "792", 
                    "selfLink": "/oapi/v1/namespaces/logging/rolebindings/logging-elasticsearch-view-role", 
                    "uid": "acb6b971-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "roleRef": {
                    "name": "view"
                }, 
                "subjects": [
                    {
                        "kind": "ServiceAccount", 
                        "name": "aggregated-logging-elasticsearch", 
                        "namespace": "logging"
                    }
                ], 
                "userNames": [
                    "system:serviceaccount:logging:aggregated-logging-elasticsearch"
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : template] ******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:105
ok: [openshift] => {
    "changed": false, 
    "checksum": "f91458d5dad42c496e2081ef872777a6f6eb9ff9", 
    "dest": "/tmp/openshift-logging-ansible-26bPJ9/elasticsearch-logging.yml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "e4be7c33c1927bbdd8c909bfbe3d9f0b", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 2171, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969017.64-122502547241876/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : template] ******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:111
ok: [openshift] => {
    "changed": false, 
    "checksum": "6d4f976f6e77a6e0c8dca7e01fb5bedb68678b1d", 
    "dest": "/tmp/openshift-logging-ansible-26bPJ9/elasticsearch.yml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "75abfd3a190832e593a8e5e7c5695e8e", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 2454, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969017.87-61155524980548/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : copy] **********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:121
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : copy] **********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:127
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : Set ES configmap] **********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:133
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get configmap logging-elasticsearch -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "data": {
                    "elasticsearch.yml": "cluster:\n  name: ${CLUSTER_NAME}\n\nscript:\n  inline: on\n  indexed: on\n\nindex:\n  number_of_shards: 1\n  number_of_replicas: 0\n  unassigned.node_left.delayed_timeout: 2m\n  translog:\n    flush_threshold_size: 256mb\n    flush_threshold_period: 5m\n\nnode:\n  master: ${IS_MASTER}\n  data: ${HAS_DATA}\n\nnetwork:\n  host: 0.0.0.0\n\ncloud:\n  kubernetes:\n    service: ${SERVICE_DNS}\n    namespace: ${NAMESPACE}\n\ndiscovery:\n  type: kubernetes\n  zen.ping.multicast.enabled: false\n  zen.minimum_master_nodes: ${NODE_QUORUM}\n\ngateway:\n  recover_after_nodes: ${NODE_QUORUM}\n  expected_nodes: ${RECOVER_EXPECTED_NODES}\n  recover_after_time: ${RECOVER_AFTER_TIME}\n\nio.fabric8.elasticsearch.authentication.users: [\"system.logging.kibana\", \"system.logging.fluentd\", \"system.logging.curator\", \"system.admin\"]\nio.fabric8.elasticsearch.kibana.mapping.app: /usr/share/elasticsearch/index_patterns/com.redhat.viaq-openshift.index-pattern.json\nio.fabric8.elasticsearch.kibana.mapping.ops: /usr/share/elasticsearch/index_patterns/com.redhat.viaq-openshift.index-pattern.json\nio.fabric8.elasticsearch.kibana.mapping.empty: /usr/share/elasticsearch/index_patterns/com.redhat.viaq-openshift.index-pattern.json\n\nopenshift.config:\n  use_common_data_model: true\n  project_index_prefix: \"project\"\n  time_field_name: \"@timestamp\"\n\nopenshift.searchguard:\n  keystore.path: /etc/elasticsearch/secret/admin.jks\n  truststore.path: /etc/elasticsearch/secret/searchguard.truststore\n\nopenshift.operations.allow_cluster_reader: false\n\npath:\n  data: /elasticsearch/persistent/${CLUSTER_NAME}/data\n  logs: /elasticsearch/${CLUSTER_NAME}/logs\n  work: /elasticsearch/${CLUSTER_NAME}/work\n  scripts: /elasticsearch/${CLUSTER_NAME}/scripts\n\nsearchguard:\n  authcz.admin_dn:\n  - CN=system.admin,OU=OpenShift,O=Logging\n  config_index_name: \".searchguard.${HOSTNAME}\"\n  ssl:\n    transport:\n      enabled: true\n      enforce_hostname_verification: false\n      keystore_type: JKS\n      keystore_filepath: /etc/elasticsearch/secret/searchguard.key\n      keystore_password: kspass\n      truststore_type: JKS\n      truststore_filepath: /etc/elasticsearch/secret/searchguard.truststore\n      truststore_password: tspass\n    http:\n      enabled: true\n      keystore_type: JKS\n      keystore_filepath: /etc/elasticsearch/secret/key\n      keystore_password: kspass\n      clientauth_mode: OPTIONAL\n      truststore_type: JKS\n      truststore_filepath: /etc/elasticsearch/secret/truststore\n      truststore_password: tspass\n", 
                    "logging.yml": "# you can override this using by setting a system property, for example -Des.logger.level=DEBUG\nes.logger.level: INFO\nrootLogger: ${es.logger.level}, console, file\nlogger:\n  # log action execution errors for easier debugging\n  action: WARN\n  # reduce the logging for aws, too much is logged under the default INFO\n  com.amazonaws: WARN\n  io.fabric8.elasticsearch: ${PLUGIN_LOGLEVEL}\n  io.fabric8.kubernetes: ${PLUGIN_LOGLEVEL}\n\n  # gateway\n  #gateway: DEBUG\n  #index.gateway: DEBUG\n\n  # peer shard recovery\n  #indices.recovery: DEBUG\n\n  # discovery\n  #discovery: TRACE\n\n  index.search.slowlog: TRACE, index_search_slow_log_file\n  index.indexing.slowlog: TRACE, index_indexing_slow_log_file\n\n  # search-guard\n  com.floragunn.searchguard: WARN\n\nadditivity:\n  index.search.slowlog: false\n  index.indexing.slowlog: false\n\nappender:\n  console:\n    type: console\n    layout:\n      type: consolePattern\n      conversionPattern: \"[%d{ISO8601}][%-5p][%-25c] %m%n\"\n\n  file:\n    type: dailyRollingFile\n    file: ${path.logs}/${cluster.name}.log\n    datePattern: \"'.'yyyy-MM-dd\"\n    layout:\n      type: pattern\n      conversionPattern: \"[%d{ISO8601}][%-5p][%-25c] %m%n\"\n\n  # Use the following log4j-extras RollingFileAppender to enable gzip compression of log files.\n  # For more information see https://logging.apache.org/log4j/extras/apidocs/org/apache/log4j/rolling/RollingFileAppender.html\n  #file:\n    #type: extrasRollingFile\n    #file: ${path.logs}/${cluster.name}.log\n    #rollingPolicy: timeBased\n    #rollingPolicy.FileNamePattern: ${path.logs}/${cluster.name}.log.%d{yyyy-MM-dd}.gz\n    #layout:\n      #type: pattern\n      #conversionPattern: \"[%d{ISO8601}][%-5p][%-25c] %m%n\"\n\n  index_search_slow_log_file:\n    type: dailyRollingFile\n    file: ${path.logs}/${cluster.name}_index_search_slowlog.log\n    datePattern: \"'.'yyyy-MM-dd\"\n    layout:\n      type: pattern\n      conversionPattern: \"[%d{ISO8601}][%-5p][%-25c] %m%n\"\n\n  index_indexing_slow_log_file:\n    type: dailyRollingFile\n    file: ${path.logs}/${cluster.name}_index_indexing_slowlog.log\n    datePattern: \"'.'yyyy-MM-dd\"\n    layout:\n      type: pattern\n      conversionPattern: \"[%d{ISO8601}][%-5p][%-25c] %m%n\"\n"
                }, 
                "kind": "ConfigMap", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:43:38Z", 
                    "name": "logging-elasticsearch", 
                    "namespace": "logging", 
                    "resourceVersion": "1286", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-elasticsearch", 
                    "uid": "ad86056b-4cac-11e7-a03a-0e027bbb120e"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : Set ES secret] *************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:144
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc secrets new logging-elasticsearch key=/etc/origin/logging/logging-es.jks truststore=/etc/origin/logging/truststore.jks searchguard.key=/etc/origin/logging/elasticsearch.jks searchguard.truststore=/etc/origin/logging/truststore.jks admin-key=/etc/origin/logging/system.admin.key admin-cert=/etc/origin/logging/system.admin.crt admin-ca=/etc/origin/logging/ca.crt admin.jks=/etc/origin/logging/system.admin.jks -n logging", 
        "results": "", 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : Set logging-es-cluster service] ********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:168
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.44.202", 
        "cmd": "/bin/oc get service logging-es-cluster -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:43:40Z", 
                    "name": "logging-es-cluster", 
                    "namespace": "logging", 
                    "resourceVersion": "1290", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-es-cluster", 
                    "uid": "ae97d70d-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "spec": {
                    "clusterIP": "172.30.44.202", 
                    "ports": [
                        {
                            "port": 9300, 
                            "protocol": "TCP", 
                            "targetPort": 9300
                        }
                    ], 
                    "selector": {
                        "component": "es", 
                        "provider": "openshift"
                    }, 
                    "sessionAffinity": "None", 
                    "type": "ClusterIP"
                }, 
                "status": {
                    "loadBalancer": {}
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : Set logging-es service] ****************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:182
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.34.242", 
        "cmd": "/bin/oc get service logging-es -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:43:41Z", 
                    "name": "logging-es", 
                    "namespace": "logging", 
                    "resourceVersion": "1294", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-es", 
                    "uid": "af326300-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "spec": {
                    "clusterIP": "172.30.34.242", 
                    "ports": [
                        {
                            "port": 9200, 
                            "protocol": "TCP", 
                            "targetPort": "restapi"
                        }
                    ], 
                    "selector": {
                        "component": "es", 
                        "provider": "openshift"
                    }, 
                    "sessionAffinity": "None", 
                    "type": "ClusterIP"
                }, 
                "status": {
                    "loadBalancer": {}
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : Creating ES storage template] **********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:197
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : Creating ES storage template] **********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:210
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : Set ES storage] ************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:225
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : set_fact] ******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:237
ok: [openshift] => {
    "ansible_facts": {
        "es_deploy_name": "logging-es-data-master-f10vs1am"
    }, 
    "changed": false
}

TASK [openshift_logging_elasticsearch : set_fact] ******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:241
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : Set ES dc templates] *******************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:246
changed: [openshift] => {
    "changed": true, 
    "checksum": "6cffef221cd6acaf3787eabde9c8710408c9f6f5", 
    "dest": "/tmp/openshift-logging-ansible-26bPJ9/templates/logging-es-dc.yml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "d580119c70381990fdfe1b9bce18f77c", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 3139, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969022.01-200027189068555/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : Set ES dc] *****************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:262
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get dc logging-es-data-master-f10vs1am -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "DeploymentConfig", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:43:42Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "es", 
                        "deployment": "logging-es-data-master-f10vs1am", 
                        "logging-infra": "elasticsearch", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-es-data-master-f10vs1am", 
                    "namespace": "logging", 
                    "resourceVersion": "1308", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-es-data-master-f10vs1am", 
                    "uid": "afe94a92-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "spec": {
                    "replicas": 1, 
                    "selector": {
                        "component": "es", 
                        "deployment": "logging-es-data-master-f10vs1am", 
                        "logging-infra": "elasticsearch", 
                        "provider": "openshift"
                    }, 
                    "strategy": {
                        "activeDeadlineSeconds": 21600, 
                        "recreateParams": {
                            "timeoutSeconds": 600
                        }, 
                        "resources": {}, 
                        "type": "Recreate"
                    }, 
                    "template": {
                        "metadata": {
                            "creationTimestamp": null, 
                            "labels": {
                                "component": "es", 
                                "deployment": "logging-es-data-master-f10vs1am", 
                                "logging-infra": "elasticsearch", 
                                "provider": "openshift"
                            }, 
                            "name": "logging-es-data-master-f10vs1am"
                        }, 
                        "spec": {
                            "containers": [
                                {
                                    "env": [
                                        {
                                            "name": "NAMESPACE", 
                                            "valueFrom": {
                                                "fieldRef": {
                                                    "apiVersion": "v1", 
                                                    "fieldPath": "metadata.namespace"
                                                }
                                            }
                                        }, 
                                        {
                                            "name": "KUBERNETES_TRUST_CERT", 
                                            "value": "true"
                                        }, 
                                        {
                                            "name": "SERVICE_DNS", 
                                            "value": "logging-es-cluster"
                                        }, 
                                        {
                                            "name": "CLUSTER_NAME", 
                                            "value": "logging-es"
                                        }, 
                                        {
                                            "name": "INSTANCE_RAM", 
                                            "value": "8Gi"
                                        }, 
                                        {
                                            "name": "NODE_QUORUM", 
                                            "value": "1"
                                        }, 
                                        {
                                            "name": "RECOVER_EXPECTED_NODES", 
                                            "value": "1"
                                        }, 
                                        {
                                            "name": "RECOVER_AFTER_TIME", 
                                            "value": "5m"
                                        }, 
                                        {
                                            "name": "READINESS_PROBE_TIMEOUT", 
                                            "value": "30"
                                        }, 
                                        {
                                            "name": "IS_MASTER", 
                                            "value": "true"
                                        }, 
                                        {
                                            "name": "HAS_DATA", 
                                            "value": "true"
                                        }
                                    ], 
                                    "image": "172.30.176.187:5000/logging/logging-elasticsearch:latest", 
                                    "imagePullPolicy": "Always", 
                                    "name": "elasticsearch", 
                                    "ports": [
                                        {
                                            "containerPort": 9200, 
                                            "name": "restapi", 
                                            "protocol": "TCP"
                                        }, 
                                        {
                                            "containerPort": 9300, 
                                            "name": "cluster", 
                                            "protocol": "TCP"
                                        }
                                    ], 
                                    "readinessProbe": {
                                        "exec": {
                                            "command": [
                                                "/usr/share/elasticsearch/probe/readiness.sh"
                                            ]
                                        }, 
                                        "failureThreshold": 3, 
                                        "initialDelaySeconds": 10, 
                                        "periodSeconds": 5, 
                                        "successThreshold": 1, 
                                        "timeoutSeconds": 30
                                    }, 
                                    "resources": {
                                        "limits": {
                                            "cpu": "1", 
                                            "memory": "8Gi"
                                        }, 
                                        "requests": {
                                            "memory": "512Mi"
                                        }
                                    }, 
                                    "terminationMessagePath": "/dev/termination-log", 
                                    "terminationMessagePolicy": "File", 
                                    "volumeMounts": [
                                        {
                                            "mountPath": "/etc/elasticsearch/secret", 
                                            "name": "elasticsearch", 
                                            "readOnly": true
                                        }, 
                                        {
                                            "mountPath": "/usr/share/java/elasticsearch/config", 
                                            "name": "elasticsearch-config", 
                                            "readOnly": true
                                        }, 
                                        {
                                            "mountPath": "/elasticsearch/persistent", 
                                            "name": "elasticsearch-storage"
                                        }
                                    ]
                                }
                            ], 
                            "dnsPolicy": "ClusterFirst", 
                            "restartPolicy": "Always", 
                            "schedulerName": "default-scheduler", 
                            "securityContext": {
                                "supplementalGroups": [
                                    65534
                                ]
                            }, 
                            "serviceAccount": "aggregated-logging-elasticsearch", 
                            "serviceAccountName": "aggregated-logging-elasticsearch", 
                            "terminationGracePeriodSeconds": 30, 
                            "volumes": [
                                {
                                    "name": "elasticsearch", 
                                    "secret": {
                                        "defaultMode": 420, 
                                        "secretName": "logging-elasticsearch"
                                    }
                                }, 
                                {
                                    "configMap": {
                                        "defaultMode": 420, 
                                        "name": "logging-elasticsearch"
                                    }, 
                                    "name": "elasticsearch-config"
                                }, 
                                {
                                    "emptyDir": {}, 
                                    "name": "elasticsearch-storage"
                                }
                            ]
                        }
                    }, 
                    "test": false, 
                    "triggers": [
                        {
                            "type": "ConfigChange"
                        }
                    ]
                }, 
                "status": {
                    "availableReplicas": 0, 
                    "conditions": [
                        {
                            "lastTransitionTime": "2017-06-09T00:43:42Z", 
                            "lastUpdateTime": "2017-06-09T00:43:42Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-09T00:43:42Z", 
                            "lastUpdateTime": "2017-06-09T00:43:42Z", 
                            "message": "replication controller \"logging-es-data-master-f10vs1am-1\" is waiting for pod \"logging-es-data-master-f10vs1am-1-deploy\" to run", 
                            "status": "Unknown", 
                            "type": "Progressing"
                        }
                    ], 
                    "details": {
                        "causes": [
                            {
                                "type": "ConfigChange"
                            }
                        ], 
                        "message": "config change"
                    }, 
                    "latestVersion": 1, 
                    "observedGeneration": 2, 
                    "replicas": 0, 
                    "unavailableReplicas": 0, 
                    "updatedReplicas": 0
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : Delete temp directory] *****************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:274
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-26bPJ9", 
    "state": "absent"
}

TASK [openshift_logging : set_fact] ********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:99

TASK [openshift_logging : set_fact] ********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:105
ok: [openshift] => {
    "ansible_facts": {
        "es_ops_indices": "[]"
    }, 
    "changed": false
}

TASK [openshift_logging : include_role] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:109

TASK [openshift_logging : include_role] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:132
statically included: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/determine_version.yaml

TASK [openshift_logging_elasticsearch : Validate Elasticsearch cluster size] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:2
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : Validate Elasticsearch Ops cluster size] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:6
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : fail] **********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:10
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : set_fact] ******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:14
ok: [openshift] => {
    "ansible_facts": {
        "elasticsearch_name": "logging-elasticsearch-ops", 
        "es_component": "es-ops"
    }, 
    "changed": false
}

TASK [openshift_logging_elasticsearch : fail] **********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/determine_version.yaml:3
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : set_fact] ******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/determine_version.yaml:7
ok: [openshift] => {
    "ansible_facts": {
        "es_version": "3_5"
    }, 
    "changed": false
}

TASK [openshift_logging_elasticsearch : debug] *********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/determine_version.yaml:11
ok: [openshift] => {
    "changed": false, 
    "openshift_logging_image_version": "latest"
}

TASK [openshift_logging_elasticsearch : set_fact] ******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/determine_version.yaml:14
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : fail] **********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/determine_version.yaml:17
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : Create temp directory for doing work in] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:21
ok: [openshift] => {
    "changed": false, 
    "cmd": [
        "mktemp", 
        "-d", 
        "/tmp/openshift-logging-ansible-XXXXXX"
    ], 
    "delta": "0:00:00.002416", 
    "end": "2017-06-08 20:43:44.023864", 
    "rc": 0, 
    "start": "2017-06-08 20:43:44.021448"
}

STDOUT:

/tmp/openshift-logging-ansible-qiBWsf

TASK [openshift_logging_elasticsearch : set_fact] ******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:26
ok: [openshift] => {
    "ansible_facts": {
        "tempdir": "/tmp/openshift-logging-ansible-qiBWsf"
    }, 
    "changed": false
}

TASK [openshift_logging_elasticsearch : Create templates subdirectory] *********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:30
ok: [openshift] => {
    "changed": false, 
    "gid": 0, 
    "group": "root", 
    "mode": "0755", 
    "owner": "root", 
    "path": "/tmp/openshift-logging-ansible-qiBWsf/templates", 
    "secontext": "unconfined_u:object_r:user_tmp_t:s0", 
    "size": 6, 
    "state": "directory", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : Create ES service account] *************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:40
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : Create ES service account] *************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:48
ok: [openshift] => {
    "changed": false, 
    "results": {
        "cmd": "/bin/oc get sa aggregated-logging-elasticsearch -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "imagePullSecrets": [
                    {
                        "name": "aggregated-logging-elasticsearch-dockercfg-lqr6v"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:43:34Z", 
                    "name": "aggregated-logging-elasticsearch", 
                    "namespace": "logging", 
                    "resourceVersion": "1278", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-elasticsearch", 
                    "uid": "ab027edf-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-elasticsearch-token-rh8q0"
                    }, 
                    {
                        "name": "aggregated-logging-elasticsearch-dockercfg-lqr6v"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : copy] **********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:57
changed: [openshift] => {
    "changed": true, 
    "checksum": "e5015364391ac609da8655a9a1224131599a5cea", 
    "dest": "/tmp/openshift-logging-ansible-qiBWsf/rolebinding-reader.yml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "446fb96447527f48f97e69bb41bad7be", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 135, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969024.75-99128038194807/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : Create rolebinding-reader role] ********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:61
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get clusterrole rolebinding-reader -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "ClusterRole", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:43:35Z", 
                    "name": "rolebinding-reader", 
                    "resourceVersion": "122", 
                    "selfLink": "/oapi/v1/clusterroles/rolebinding-reader", 
                    "uid": "abb5d5dd-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "rules": [
                    {
                        "apiGroups": [
                            ""
                        ], 
                        "attributeRestrictions": null, 
                        "resources": [
                            "clusterrolebindings"
                        ], 
                        "verbs": [
                            "get"
                        ]
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : Set rolebinding-reader permissions for ES] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:72
ok: [openshift] => {
    "changed": false, 
    "present": "present"
}

TASK [openshift_logging_elasticsearch : Generate logging-elasticsearch-view-role] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:81
ok: [openshift] => {
    "changed": false, 
    "checksum": "d752c09323565f80ed14fa806d42284f0c5aef2a", 
    "dest": "/tmp/openshift-logging-ansible-qiBWsf/logging-elasticsearch-view-role.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "8299dca2fb036c06ba7c4f620680e0f6", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 183, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969026.42-13563606872719/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : Set logging-elasticsearch-view-role role] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:94
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get rolebinding logging-elasticsearch-view-role -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "groupNames": null, 
                "kind": "RoleBinding", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:43:37Z", 
                    "name": "logging-elasticsearch-view-role", 
                    "namespace": "logging", 
                    "resourceVersion": "1284", 
                    "selfLink": "/oapi/v1/namespaces/logging/rolebindings/logging-elasticsearch-view-role", 
                    "uid": "acb6b971-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "roleRef": {
                    "name": "view"
                }, 
                "subjects": [
                    {
                        "kind": "ServiceAccount", 
                        "name": "aggregated-logging-elasticsearch", 
                        "namespace": "logging"
                    }
                ], 
                "userNames": [
                    "system:serviceaccount:logging:aggregated-logging-elasticsearch"
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : template] ******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:105
ok: [openshift] => {
    "changed": false, 
    "checksum": "f91458d5dad42c496e2081ef872777a6f6eb9ff9", 
    "dest": "/tmp/openshift-logging-ansible-qiBWsf/elasticsearch-logging.yml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "e4be7c33c1927bbdd8c909bfbe3d9f0b", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 2171, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969027.77-16028183390956/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : template] ******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:111
ok: [openshift] => {
    "changed": false, 
    "checksum": "6d4f976f6e77a6e0c8dca7e01fb5bedb68678b1d", 
    "dest": "/tmp/openshift-logging-ansible-qiBWsf/elasticsearch.yml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "75abfd3a190832e593a8e5e7c5695e8e", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 2454, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969028.04-61409198927420/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : copy] **********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:121
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : copy] **********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:127
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : Set ES configmap] **********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:133
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get configmap logging-elasticsearch-ops -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "data": {
                    "elasticsearch.yml": "cluster:\n  name: ${CLUSTER_NAME}\n\nscript:\n  inline: on\n  indexed: on\n\nindex:\n  number_of_shards: 1\n  number_of_replicas: 0\n  unassigned.node_left.delayed_timeout: 2m\n  translog:\n    flush_threshold_size: 256mb\n    flush_threshold_period: 5m\n\nnode:\n  master: ${IS_MASTER}\n  data: ${HAS_DATA}\n\nnetwork:\n  host: 0.0.0.0\n\ncloud:\n  kubernetes:\n    service: ${SERVICE_DNS}\n    namespace: ${NAMESPACE}\n\ndiscovery:\n  type: kubernetes\n  zen.ping.multicast.enabled: false\n  zen.minimum_master_nodes: ${NODE_QUORUM}\n\ngateway:\n  recover_after_nodes: ${NODE_QUORUM}\n  expected_nodes: ${RECOVER_EXPECTED_NODES}\n  recover_after_time: ${RECOVER_AFTER_TIME}\n\nio.fabric8.elasticsearch.authentication.users: [\"system.logging.kibana\", \"system.logging.fluentd\", \"system.logging.curator\", \"system.admin\"]\nio.fabric8.elasticsearch.kibana.mapping.app: /usr/share/elasticsearch/index_patterns/com.redhat.viaq-openshift.index-pattern.json\nio.fabric8.elasticsearch.kibana.mapping.ops: /usr/share/elasticsearch/index_patterns/com.redhat.viaq-openshift.index-pattern.json\nio.fabric8.elasticsearch.kibana.mapping.empty: /usr/share/elasticsearch/index_patterns/com.redhat.viaq-openshift.index-pattern.json\n\nopenshift.config:\n  use_common_data_model: true\n  project_index_prefix: \"project\"\n  time_field_name: \"@timestamp\"\n\nopenshift.searchguard:\n  keystore.path: /etc/elasticsearch/secret/admin.jks\n  truststore.path: /etc/elasticsearch/secret/searchguard.truststore\n\nopenshift.operations.allow_cluster_reader: false\n\npath:\n  data: /elasticsearch/persistent/${CLUSTER_NAME}/data\n  logs: /elasticsearch/${CLUSTER_NAME}/logs\n  work: /elasticsearch/${CLUSTER_NAME}/work\n  scripts: /elasticsearch/${CLUSTER_NAME}/scripts\n\nsearchguard:\n  authcz.admin_dn:\n  - CN=system.admin,OU=OpenShift,O=Logging\n  config_index_name: \".searchguard.${HOSTNAME}\"\n  ssl:\n    transport:\n      enabled: true\n      enforce_hostname_verification: false\n      keystore_type: JKS\n      keystore_filepath: /etc/elasticsearch/secret/searchguard.key\n      keystore_password: kspass\n      truststore_type: JKS\n      truststore_filepath: /etc/elasticsearch/secret/searchguard.truststore\n      truststore_password: tspass\n    http:\n      enabled: true\n      keystore_type: JKS\n      keystore_filepath: /etc/elasticsearch/secret/key\n      keystore_password: kspass\n      clientauth_mode: OPTIONAL\n      truststore_type: JKS\n      truststore_filepath: /etc/elasticsearch/secret/truststore\n      truststore_password: tspass\n", 
                    "logging.yml": "# you can override this using by setting a system property, for example -Des.logger.level=DEBUG\nes.logger.level: INFO\nrootLogger: ${es.logger.level}, console, file\nlogger:\n  # log action execution errors for easier debugging\n  action: WARN\n  # reduce the logging for aws, too much is logged under the default INFO\n  com.amazonaws: WARN\n  io.fabric8.elasticsearch: ${PLUGIN_LOGLEVEL}\n  io.fabric8.kubernetes: ${PLUGIN_LOGLEVEL}\n\n  # gateway\n  #gateway: DEBUG\n  #index.gateway: DEBUG\n\n  # peer shard recovery\n  #indices.recovery: DEBUG\n\n  # discovery\n  #discovery: TRACE\n\n  index.search.slowlog: TRACE, index_search_slow_log_file\n  index.indexing.slowlog: TRACE, index_indexing_slow_log_file\n\n  # search-guard\n  com.floragunn.searchguard: WARN\n\nadditivity:\n  index.search.slowlog: false\n  index.indexing.slowlog: false\n\nappender:\n  console:\n    type: console\n    layout:\n      type: consolePattern\n      conversionPattern: \"[%d{ISO8601}][%-5p][%-25c] %m%n\"\n\n  file:\n    type: dailyRollingFile\n    file: ${path.logs}/${cluster.name}.log\n    datePattern: \"'.'yyyy-MM-dd\"\n    layout:\n      type: pattern\n      conversionPattern: \"[%d{ISO8601}][%-5p][%-25c] %m%n\"\n\n  # Use the following log4j-extras RollingFileAppender to enable gzip compression of log files.\n  # For more information see https://logging.apache.org/log4j/extras/apidocs/org/apache/log4j/rolling/RollingFileAppender.html\n  #file:\n    #type: extrasRollingFile\n    #file: ${path.logs}/${cluster.name}.log\n    #rollingPolicy: timeBased\n    #rollingPolicy.FileNamePattern: ${path.logs}/${cluster.name}.log.%d{yyyy-MM-dd}.gz\n    #layout:\n      #type: pattern\n      #conversionPattern: \"[%d{ISO8601}][%-5p][%-25c] %m%n\"\n\n  index_search_slow_log_file:\n    type: dailyRollingFile\n    file: ${path.logs}/${cluster.name}_index_search_slowlog.log\n    datePattern: \"'.'yyyy-MM-dd\"\n    layout:\n      type: pattern\n      conversionPattern: \"[%d{ISO8601}][%-5p][%-25c] %m%n\"\n\n  index_indexing_slow_log_file:\n    type: dailyRollingFile\n    file: ${path.logs}/${cluster.name}_index_indexing_slowlog.log\n    datePattern: \"'.'yyyy-MM-dd\"\n    layout:\n      type: pattern\n      conversionPattern: \"[%d{ISO8601}][%-5p][%-25c] %m%n\"\n"
                }, 
                "kind": "ConfigMap", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:43:48Z", 
                    "name": "logging-elasticsearch-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1335", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-elasticsearch-ops", 
                    "uid": "b39f5f47-4cac-11e7-a03a-0e027bbb120e"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : Set ES secret] *************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:144
ok: [openshift] => {
    "changed": false, 
    "results": {
        "apiVersion": "v1", 
        "data": {
            "admin-ca": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPVEF3TkRNd09Gb1hEVEl5TURZd09EQXdORE13T1ZvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQU1idExkbVd6aWluc3pCRmpjeWx4dURZUVhRcEpxU0w5OWYwNzZhaWxKbmYKR0pXbmRpVHpIZjIrcUVEd1lsZ2dxa3lPb0R6QlBQVE1vT0U5TERmTE9ydXh1TXN0clRqQzlDV0sySWx3YnlzTQpMWnZIVkJMeWMxRDFlUVd0UmhOdFZXOGNQM1lDQ0szTHBGMXdRVVRpdmJmckowdHo5V3FhbDJ6emhMSk5lWldkCnViWFN6MUJWRmFBbnhPc2V5ZFRuc0FlMmFmNC9nQkd1RC9ZNFBPeTlNKzY1SU5QVnBaRUNTb0Y5WjlveXgyK2cKTjNURzhOVHlweFQrZU9OVktwQTV4eEdaVW1wV1Q4Mjk0MnNLM1NscmYrOHhJMkJhRFluYms3RU5LVWRaNjY3dQpLeDg4RFBabm5zZzF6anJoQTRVZzZYWWhLV0pjdEVjQ2J3R0JoMkN6MDFzQ0F3RUFBYU1qTUNFd0RnWURWUjBQCkFRSC9CQVFEQWdLa01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFJTHEKbVkwVXJaQXNJdzRyNXBNam8yUzBKUVZ6cEdXOHE3eldZUHV5Y3dPd0pDUWVVb0pUOURsc1Y0aGtTM1V1MHM2WApyNDRGd0ZpemRzZEQ4aFFyV09TbXU4dDlOdTFjbHM1L2ZMV2l3UVNkYitXRDNKbWlGaVg2VGRRSmpDOVJhVWV0CnQxa2d3Nk5iSXYxbmJ6WEdzVW81Tm9WaDR1Zm4za0IrN0x3YndxQjM3cVFVTzJRVGVrZXZ6anl6MmE0RlZ0QUkKTWtWQ0FRNklTWW9XbVl5ZkdyQmVqbnNKcjdCVVBuVmwza3BlblZoUzU0enlncU91SWp4MldXVmJLUlkxdzhPRApaWHpyMWtBc2FONi9WbXdMUG10RjlKdHZFdHQrbHNGZ084SUhwRXJmalRRZmtacmJFUWcwcnluZjdsckhSWU5OCnRtK1pSSENsTzBWdW0ycUFWSHM9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K", 
            "admin-cert": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURQRENDQWlTZ0F3SUJBZ0lCQlRBTkJna3Foa2lHOXcwQkFRVUZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPVEF3TkRNeE5Wb1hEVEU1TURZd09UQXdORE14TlZvdwpQVEVRTUE0R0ExVUVDZ3dIVEc5bloybHVaekVTTUJBR0ExVUVDd3dKVDNCbGJsTm9hV1owTVJVd0V3WURWUVFECkRBeHplWE4wWlcwdVlXUnRhVzR3Z2dFaU1BMEdDU3FHU0liM0RRRUJBUVVBQTRJQkR3QXdnZ0VLQW9JQkFRRHgKYm9iY0Rpb2lDZklEVTlWd2lJb2xEWkUrNGVxTHNDRWd6Vy9XTXg1Y05QM0RSMXRNcW0vWjQ4R1I2VStHSmpGQwovaXczWW1lS1NIQlhDU3FST08wMGhZYUlDcjdPcERsRTNDdjNFWjN3b2htMzYxTHNZNWhNNStZTVdhTE11MzlhCllvWmp6cFhnRzZ4UmIxMkZRZlNyZDF2NkdDYmxDbTJ3Wm5hZU5uSkRtejlNQ0dtU0owSmRUVTNaZ2Q3MFNQSDMKbVhmcEp4K3Jzd1BHdXdUektsV09vUVhEdjZkeW1FeE1MOERpTTMwTFhTL0VXUXdnMTZGZUYzTGYraVNqM2pNeApDN2orYUpiTnVHZm1ZSE0vOW0vM2d4M0Jsd1ZaYkVLdW1rejZnOXdFWVdVdU1PQk9BdGpjZWVibXV0UTFoWmRwCkIxSlByY21RbUxES29ybk1HVGxoQWdNQkFBR2paakJrTUE0R0ExVWREd0VCL3dRRUF3SUZvREFKQmdOVkhSTUUKQWpBQU1CMEdBMVVkSlFRV01CUUdDQ3NHQVFVRkJ3TUJCZ2dyQmdFRkJRY0RBakFkQmdOVkhRNEVGZ1FVbjVNRwpCVGRrTGpsa0wrRjJTR0I1R1VZbFZiRXdDUVlEVlIwakJBSXdBREFOQmdrcWhraUc5dzBCQVFVRkFBT0NBUUVBCmJRakdqNFBtc0lLcG45ZUp2RzFWVkVwYk1tTmxueElPeW54WFZzOE85aGFGQzRPb0hsR1p2empOUkREWUpkRW8KWFBqL3BYSUU5bmlxOWVVK2YybmVFN3Q3N2ZDVEJhWGFlbVlPTTBUc1FiSzNNSWRXUUxlVWlTTk13WUkzdmFGVQplZnd0bEF3UDdmRWQzQWpEUXhxS0JCUzBUM2ZXczdzZW9LeWdtZG8vYXg0NHI5dDZaQVI2L3V3RFF5SnU4bUxKCm5zRGRFWnFGVjFaSkVSS0Vxd0I5UG1Gb2tsWUpCaDVGOGl5V2c2c0tnRmtrNzNvVW5HTFErMjN3d2FOYlphUDUKdnl3SmJ1VW1SaGJQczI0L2l4Y0FscmRBeFJNSjhFaC9YTUszbGxzdHhFdVhTekdmK0loV1I5dDRXdnQ2b1czZwpwMlJJOWt3R3NPUWxlUGMyNGpoRVpBPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=", 
            "admin-key": "LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUV2UUlCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktjd2dnU2pBZ0VBQW9JQkFRRHhib2JjRGlvaUNmSUQKVTlWd2lJb2xEWkUrNGVxTHNDRWd6Vy9XTXg1Y05QM0RSMXRNcW0vWjQ4R1I2VStHSmpGQy9pdzNZbWVLU0hCWApDU3FST08wMGhZYUlDcjdPcERsRTNDdjNFWjN3b2htMzYxTHNZNWhNNStZTVdhTE11MzlhWW9aanpwWGdHNnhSCmIxMkZRZlNyZDF2NkdDYmxDbTJ3Wm5hZU5uSkRtejlNQ0dtU0owSmRUVTNaZ2Q3MFNQSDNtWGZwSngrcnN3UEcKdXdUektsV09vUVhEdjZkeW1FeE1MOERpTTMwTFhTL0VXUXdnMTZGZUYzTGYraVNqM2pNeEM3aithSmJOdUdmbQpZSE0vOW0vM2d4M0Jsd1ZaYkVLdW1rejZnOXdFWVdVdU1PQk9BdGpjZWVibXV0UTFoWmRwQjFKUHJjbVFtTERLCm9ybk1HVGxoQWdNQkFBRUNnZ0VBQU9mL1RaZ29CRlN4T2QzNHNTRnlFMDJIdkFxeERMRXVqcWIyd29FU25objgKMGR6VXRPYjI0SVNBVjRIZXNJdzRKeDQ1SUVRWVMyYVdOVjF0Y1hvYk9kVStlZ2hBU3hwR3RNRjIwTWlhSlNzVwptYUFpZ1l5bUo3Ty9JMUM2MGJYcWRuWmtOcit4eEZPV1EvLzlBK0VKZ0JORW54MjBGNndBV1djcER0TDVmdE4yCmZZWm9sSEFlZmFaSGIxSFlMMlFPNDZFUWNDVHJnTFlkbGI3ZDdONE5FTi9tNldvUTFBbC84eWNpTm15TFRwd0cKcE1FWkpHL01waDRlU3Y1Vk9tUGJQdnd6RlVFUlJkdGNmWjFTYzBEU0xpMEtibDhETXBUdWl0aFZXcmcyUUNraApIZE82V2FET2hsSTVuUGkxVldESFpBelgxOW9jTm9CSlhScnpIaitPQVFLQmdRRDc0U1A4TWNHS3JyL21uR2I3CnhCVkJ6Um5rajZYTFF3cVUvdDdBZXhKSGsraTlLY1BldVFNUmdCYzdXaDZCMWVUR3JlZStldCtzL2JwNnJxNVEKK1lPTUpXRjFkNDRlWmx2c0xMeUo0aE51dFNWYWo5N2JHZGxlS3hkRHZ6cDVGdjlXYXBUOHNSRStFUWJyd2xtSAo2SllzNHNTUWI0L3NBanFKTWlFdHl6TzUwUUtCZ1FEMVlhRzNiQ2hrcTZ0K2pQSEcySWk2NWQwcUJ1dlg2aGlECnZQdlVXdnI4WFoxeThHR0Q3MXIzaERROUpYa3A0TlREMmxxRVB3RTdPaG53eXFsQk9OWFQ5VmtGcC85aW9QcE0KNjhsT3dIZGQ0VnNNcHRucUpuYXFlREdvWlYwd2xwMFdHQkJCOFJLL0ZaaURRMFBYcUdWQUNTT21HRnc4cU9lcApSTzJLd2NIYWtRS0JnUUNpN1FieDR0MW1iNU1DQUxrOHNhRnVadFVRMnpwTE9KcG50bFV2L0d2ZWtQWkRKZmprCjRKZnpnZitGRE00ZS9kUjJENWVQeHJ0WWt1ZEU1Q2t0aDdobnR1WkxyWUhvZUIyTnI0SmxUaTl6dFFqc2c1T0wKOWpSOGpUTUhSM0x6VU1UcGlSZkdQR01DMnRDM1A0ZmFPY0NxV0NUOXFLeFg1VGtuOVowd21maGpnUUtCZ0JoTQp0TkVQT3VqTlAweG05TUoyU3dRSEkyRzRFYjd1QmNOMkFaSkQrRHJwb2wveGdoYW9xMTk3amhqSUR6bWdkREY0Ci9DSEFnNFN6K2tHb01CNnZYQzJEVEcrTTlYTjA4WlNRZlB6NWZsaWpxbnFVUTF3MnR1V214WFFocFpyY0wyNHkKcjlsMzRCMWdMQnhEbXdKT1FNaVlueGtockhDdFlWT1g2ZFlsM2VhaEFvR0FJUUpkNlZ5Z040OGV2QS81c1VrcQpkcjVWdHhKZmFXOFZXTlQ5bEdxejZZeFkySHJYNm5ONklSM2svNW5sN3hTTVlmdXh5ZlptVGtvZUN1Vm0rWUtsCkp6UXZrcFpuTThwdG9reXJPWDF2SDhwL0I0OEMwa0dpUzNORmxwNjcxeTNMSEtyQjNUNDJzdEdhNFpERmg3WncKWXd1cHE0ZjMrSEIyWXMzRHYyOVFNWk09Ci0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K", 
            "admin.jks": "/u3+7QAAAAIAAAACAAAAAQAMc3lzdGVtLmFkbWluAAABXIpOVtgAAAUDMIIE/zAOBgorBgEEASoCEQEBBQAEggTrh5huU2nz2xxmilADeUvqpbcW08l+RuLjedi7xLOvwaAjRHGAiA3aDGnN9NGYg9eaWFLu09yGm1iOtYIECaz+3qKiGnvtFKw1FbOZhqj3H7iHKK69B5fFGVlsSnewOfA6p0EK0IO0+QU1HWYL8AiFzXwYfEYOvWhaHfpGxbcnAl2u9AFvBNpO+rYbx8qswkqJ8ix4dR5b3Lebs4jzN3u9XrDTvsPkh+2xZ1GCV6txdYtVG8ExMaQweSB1CE23tdOad/B1y4DXBium3Q32E2yuZgmFOQEzkEqjosngjkpvZh3kOD0sO9c11vs60damQbk3WDNx2BLZu3+jKDra3bWw7mO4IgmdVVkhG1l3JQ/LB+RU1pZO2qyyAXFEu3dwSD9H7zbFOH/tcOjFGik9OI9W8P4+kDaaTh+SbubrMyeXqCN66RM043oUUHTR2IzMuPDTJaFBjQ/EYcO/xGWlk7wT5lp6Wll/GeYx7q4WgV6QF4BWW1o1uxZeKqwjELffC1FKRhKG8YKGZipS7PYXXqAiaA4Dx8QOOdgfbM4sWU5CctaqIUAkbBq9zwIclFtEMKK6p0PTJBjT7pCtyAqtb2wRm0o8rQugQhOHF7a0ZqbG45KV7G1/1N+Webnfnb8HV2+N46PRQPomdWxKewedsd8VssP9FyL/KYDRA0wX4gM7akl46hioVdi6A0BrzGGzYWYNQkn7edgPQ/eYnm9dt+ulZVMOL6cdPimrh71J79RJKlWy9j6DYk7ckiNTi06GvYn3Y6QQE9HVlmex64QUq1SbM5mT13WlDeq5sP4tacC7J9K5rrzrcjql7VRy5Y9gZMuUix0Vay4QNtA7RRlIuP13KvegTWUSxmSmbcBDxW+V114tBTbsi+yfdNQYW1DjqgpnzzbzQiHsvI8VU3+uJlfBUwHX0ND/+jbDlAH/GhV+60LLCkfUZwckM/UCJhEn8Te3eweaggRmJfHbcHQ7xPEfQM4LpF1eH86k4uNaPrsabps4wy6vDslY4GI0lwy9tGYWjo3/nVHPxTZOJ7FjCc+y/Oal9RrgPHmn8ZHHS2VTEYAR4n57MEUAPaBUkfLVngcIH54mXkoTiEX/rOYm69DcNNtC7Yi2RDTFnClLqxuQpjmghIPyS4p1Y2qbaZq6OCDBey8PEHhOit4Jv9tEcV8GXOly5XeuGtyWXeaFeAAsYEpzpOLPFIpC9w15AdWFSm9O92e+pfY9KPWGAoz7KC0Wvu7fHilPrBMLq/GuSs1Yun40rLasXeKYiMwQauqfLu99eppa87eii+Kzgsv4cWw2a+5y6TUz/Kpt9yrhXLVN1ve31jcHcknJTmHcg3reH20GBAYSr0i0dayhKUufKVBPtgxzJkjNfaMr2oitBVgZgjpTNo3T9I2RyP0BVcVCb9AgNLiOmwetGs2k/SfI4nwGzQN7lM/m9m2+LzD8KJmKsJ2cp5keRM5TPAoa/c+EYLiU7vA6CfwvWrNc5akt/Hb6yoTuZZY5h8Sjpk8yLcIEExypH8mANWWzqE7gcLJVzn39fcpYuJqft/v8VV6ZEyRq9aFbl3m7KN5DR2YtjSUSNqspylokBPD7RQp+wdlRj3x5LROSzE9KUo64snLjxVAmr/dnW0J4NBpMs54wAEJsVnIPJWxcq+UKkmTAp4xeW3BQKqemJRFXkI5tsbQAAAACAAVYLjUwOQAAA0AwggM8MIICJKADAgECAgEGMA0GCSqGSIb3DQEBBQUAMB4xHDAaBgNVBAMTE2xvZ2dpbmctc2lnbmVyLXRlc3QwHhcNMTcwNjA5MDA0MzI4WhcNMTkwNjA5MDA0MzI4WjA9MRAwDgYDVQQKEwdMb2dnaW5nMRIwEAYDVQQLEwlPcGVuU2hpZnQxFTATBgNVBAMTDHN5c3RlbS5hZG1pbjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAM5PjAwf6XoZLHqS7s9uO5Yzs3SSt0w6JC9QrXyryqmHMy0oHpGpsFShp5qSkXQ3Artf+SiNHZitc/3JwUuICPJwH8jBTKCw5/FAmE7kJaSY82IeQRyTzJEiVFcxP42zel9e2cyBVW8Wiu0OeYGNG2uPVL0Ae0lE3SP3KSdHWU5Qx6RGRLhJlcgoUz6VW5lB3LoOfR5WYW1IoQtVfixmFwl3rZZUHJfQby/PR6Y3fOa3Wt2lGugBM59oyRcYLCxJtybMMmkmyLog+HSXVKzp2a8Ncv+ZibMIG356Ed99jqIRDeDEeQNoWgUUNAu9Itc/m82+Rlxm88rwfIdBv9EduDkCAwEAAaNmMGQwDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB0GA1UdDgQWBBQMmPRNsdJIUcOaLz+lyeg7mD49nDAJBgNVHSMEAjAAMA0GCSqGSIb3DQEBBQUAA4IBAQBPiR8Uy+fKrs6nyu7jcrB2nef6kg9A0agv9AKZpj8+vhNfcht99KiQsmZMgtTK+K0bsMMWN/xsNrQdhsOilwDvm8RXafCm+TW8H0qt1izADL8nCpeOSmUJ5StfMDMHSpGn9uJAih5XcphqglJpDmGvNMKHk2jETuVSSGjBRUyrMX316vPeE96jZ71+yvsetpFzwr87npeMUT0AvJj4lw7D+R3ugOaENjjrLpJpT5Psbv9RQIrfZ8lMAY7gVzbMiOYpmgD5209eyy9mFFnXAwzlU0CpwfgJOiRmMlmDeIXOQ2+klGhTxoNKF5l4FKV+S8iZqs8hHuDcnaCjEIJlQP78AAVYLjUwOQAAAt4wggLaMIIBwqADAgECAgEBMA0GCSqGSIb3DQEBCwUAMB4xHDAaBgNVBAMTE2xvZ2dpbmctc2lnbmVyLXRlc3QwHhcNMTcwNjA5MDA0MzA4WhcNMjIwNjA4MDA0MzA5WjAeMRwwGgYDVQQDExNsb2dnaW5nLXNpZ25lci10ZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxu0t2ZbOKKezMEWNzKXG4NhBdCkmpIv31/TvpqKUmd8Ylad2JPMd/b6oQPBiWCCqTI6gPME89Myg4T0sN8s6u7G4yy2tOML0JYrYiXBvKwwtm8dUEvJzUPV5Ba1GE21Vbxw/dgIIrcukXXBBROK9t+snS3P1apqXbPOEsk15lZ25tdLPUFUVoCfE6x7J1OewB7Zp/j+AEa4P9jg87L0z7rkg09WlkQJKgX1n2jLHb6A3dMbw1PKnFP5441UqkDnHEZlSalZPzb3jawrdKWt/7zEjYFoNiduTsQ0pR1nrru4rHzwM9meeyDXOOuEDhSDpdiEpYly0RwJvAYGHYLPTWwIDAQABoyMwITAOBgNVHQ8BAf8EBAMCAqQwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAguqZjRStkCwjDivmkyOjZLQlBXOkZbyrvNZg+7JzA7AkJB5SglP0OWxXiGRLdS7SzpevjgXAWLN2x0PyFCtY5Ka7y3027VyWzn98taLBBJ1v5YPcmaIWJfpN1AmML1FpR623WSDDo1si/WdvNcaxSjk2hWHi5+feQH7svBvCoHfupBQ7ZBN6R6/OPLPZrgVW0AgyRUIBDohJihaZjJ8asF6OewmvsFQ+dWXeSl6dWFLnjPKCo64iPHZZZVspFjXDw4NlfOvWQCxo3r9WbAs+a0X0m28S236WwWA7wgekSt+NNB+RmtsRCDSvKd/uWsdFg022b5lEcKU7RW6baoBUewAAAAIABnNpZy1jYQAAAVyKTlZMAAVYLjUwOQAAAt4wggLaMIIBwqADAgECAgEBMA0GCSqGSIb3DQEBCwUAMB4xHDAaBgNVBAMTE2xvZ2dpbmctc2lnbmVyLXRlc3QwHhcNMTcwNjA5MDA0MzA4WhcNMjIwNjA4MDA0MzA5WjAeMRwwGgYDVQQDExNsb2dnaW5nLXNpZ25lci10ZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxu0t2ZbOKKezMEWNzKXG4NhBdCkmpIv31/TvpqKUmd8Ylad2JPMd/b6oQPBiWCCqTI6gPME89Myg4T0sN8s6u7G4yy2tOML0JYrYiXBvKwwtm8dUEvJzUPV5Ba1GE21Vbxw/dgIIrcukXXBBROK9t+snS3P1apqXbPOEsk15lZ25tdLPUFUVoCfE6x7J1OewB7Zp/j+AEa4P9jg87L0z7rkg09WlkQJKgX1n2jLHb6A3dMbw1PKnFP5441UqkDnHEZlSalZPzb3jawrdKWt/7zEjYFoNiduTsQ0pR1nrru4rHzwM9meeyDXOOuEDhSDpdiEpYly0RwJvAYGHYLPTWwIDAQABoyMwITAOBgNVHQ8BAf8EBAMCAqQwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAguqZjRStkCwjDivmkyOjZLQlBXOkZbyrvNZg+7JzA7AkJB5SglP0OWxXiGRLdS7SzpevjgXAWLN2x0PyFCtY5Ka7y3027VyWzn98taLBBJ1v5YPcmaIWJfpN1AmML1FpR623WSDDo1si/WdvNcaxSjk2hWHi5+feQH7svBvCoHfupBQ7ZBN6R6/OPLPZrgVW0AgyRUIBDohJihaZjJ8asF6OewmvsFQ+dWXeSl6dWFLnjPKCo64iPHZZZVspFjXDw4NlfOvWQCxo3r9WbAs+a0X0m28S236WwWA7wgekSt+NNB+RmtsRCDSvKd/uWsdFg022b5lEcKU7RW6baoBUe9UurilBaTm29dTKJp6GtlT6B0Zd", 
            "key": "/u3+7QAAAAIAAAACAAAAAQAKbG9nZ2luZy1lcwAAAVyKTmLNAAAFATCCBP0wDgYKKwYBBAEqAhEBAQUABIIE6TcKkTytNj5PRnBLwOiW1FmzYgwhRaOyU6s0l2A58SK/7kKsWiw2GJmsbtD/m5vybbYuV7mo9/rzky+a+xorov/plcToYJuUHNdv2J2RV6DEXTN6vSChtgessWJftchAUwY7sImszYGH8H75e9WdBLhcAmhnlz+EV/PjQ9p1hW+vHWxM0WWNphsD6sHCsn6o4TWswynaEZvJG0QmbIWD/18gnGT+ko2hXX9vYx8XK5Xxgav5e1gmbxl0GJsFsFLrofJvy9pYT0k1hjppwmlrchVNcFYMhDZwFOE5Qav2I31JBOj1zktWCEfCUtX5mghDni/ccgairtQf5oiIC81BnzQ/PW61c4hVwOpKBmMfk1d3ukSNk9e0r7hgSb+IbMZA8F4aBCfrkkBbohasDfd/E/IQIJCBO/fKh5EiUsU/R6LXQAE4zRALS5rWWdNw86VFg1eSk7DLu1srKl3Nyq06W6Io23HMwnxHjLtsFtPMIDA+8aDebZdRYuEe+REwQRgWIDOwLlXBJE5BLWqV43u/qPWK2XaINIx2ZdoJIwRS6Yg133Ro2g/zs/ZsmotTGty1hvjU70d3YTr71D+CXa8s4pzvbAGsL/4YuZ7fEn94ityekPG6CoduQgkpoVG0dG2L5yUQ5yTzalIqRaJD5/lPlfIRPCMaenBQsKMFmo9Hoz7Z4YEj3JacuHsMBJde8mDqNW3WpbV/PQqFtQh3yrUTMd8TV8L16t0dd7xpZqXAm9YYZE3reXhcgLxSPYsnrSieO1RV8zJ1BeeUjtP0AcGRKCVwafeMoxzYBRyfEjPcuWE88vtswGaNokvMr+TnWvP35IaTmNLo4gAmw06o7ERtcoK3QIFL0HlrRUu7dgP19K7ib4k4PypDw+wtSYZDksg9v9pGBymXOYo2VpzFa9hBobfJIp6im2ajqB3xatlIP3j5W9ojPN+tbeUAigAOIm+H/52rviKaxBbyOZWJhurUVw92jA76/5Ki6bsUk9rtGO5BEFR7Mmgf91AVu+cCzgqwUbWYzDy6Iqu+lkgdmha6C08JaiWhVnulD82z7SFt+KDQhi2wXi660yTLOGEqIDgXlZ2fAg5s2lqqp9l9h16tVMTBxt401juvdUPKOTXfv/M4zMjexaanoSSCEaI8Qd5lR0Cgb/eT4opN3Rka4MzRd3kT+VlBms57wgemxIvym9t8tgWlIzshmFp9qavVe6a4jTcQ83mrIhyuNWKMw709mHw2JBnTdUb8DevSRq8q2brVryLKoMlsPvA1q+jACNiZTH2uyd34oqVLDRB5fF/7gZrS3qlVZM7N6Tme4lzikxherZuxNcUx7nmudR0cvglg6dQcVe5pO5lB8ZoCZG5oDr25O4+d4sAc/rgT8brswbKZ1XOpeRMC1tDMPN97RHP1B1yV1VEvuFN0hVWbI4xj7y6bbshG77qfCa0yDQx0RSid0BFtjPhi7Bu5a7xbGu+OsARoa9cQvac65r4dEFG7xJHkyk8fl1R3xNgDT4eTZFNTy5TdgodgnlLLVS3ImS3TnE6wF+2rRq5OQ+IBDN52lpuVDp8Kp5Sw6TdHtHC81L9hGMRS74vudvv0lzN0bCGpcDktrJ9AL2UWuXjTprbiKsz8QqagMVidHd6sXR/nGG5BoApbcZeRKFvfMKSNi5ihf1bOM/TCwA90rwAAAAIABVguNTA5AAAEXDCCBFgwggNAoAMCAQICAQgwDQYJKoZIhvcNAQEFBQAwHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDAeFw0xNzA2MDkwMDQzMzFaFw0xOTA2MDkwMDQzMzFaMDsxEDAOBgNVBAoTB0xvZ2dpbmcxEjAQBgNVBAsTCU9wZW5TaGlmdDETMBEGA1UEAxMKbG9nZ2luZy1lczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALLjt6WAkMTgHs+jhW8q2pAXe0v9XYQkQg/orV9biLYTgbbthVt7fO1g3ZKNKNHtHHrnzOu01eyc5Ek0D5JbrxqdS/eDFHX8sx+2wWK34txQDOjzyOANLwR192V1LLjlnpMz28LQ1YIMiCRWYe4enaUZdDCnkdKg0dkFzBIxCFc/tBj8lH1DFCQ6CGsU6iAdZxAKMr+mo6/faR8Kkpjb5woKbvUZsLplMLJyUIOiKDxONDqF3SPYbCiRb0C4RvRswHZcpBk9oJmZiJ3oXxWyYk/0UiXL9PtSIaDqxXqDbtVKb7uphPD36de+zYdCUPpMM3FPVKfzz1K8yVspEiNmRYECAwEAAaOCAYIwggF+MA4GA1UdDwEB/wQEAwIFoDAJBgNVHRMEAjAAMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAdBgNVHQ4EFgQUD71gf0nJLkxq9r0wITTrHMo5ixQwCQYDVR0jBAIwADCCARYGA1UdEQSCAQ0wggEJgglsb2NhbGhvc3SHBH8AAAGCCmxvZ2dpbmctZXOCJGxvZ2dpbmctZXMubG9nZ2luZy5zdmMuY2x1c3Rlci5sb2NhbIISbG9nZ2luZy1lcy1jbHVzdGVygixsb2dnaW5nLWVzLWNsdXN0ZXIubG9nZ2luZy5zdmMuY2x1c3Rlci5sb2NhbIIObG9nZ2luZy1lcy1vcHOCKGxvZ2dpbmctZXMtb3BzLmxvZ2dpbmcuc3ZjLmNsdXN0ZXIubG9jYWyCFmxvZ2dpbmctZXMtb3BzLWNsdXN0ZXKCMGxvZ2dpbmctZXMtb3BzLWNsdXN0ZXIubG9nZ2luZy5zdmMuY2x1c3Rlci5sb2NhbDANBgkqhkiG9w0BAQUFAAOCAQEAR6usxak9OOdY//CNm9dQ2ONZFlXqHEeRgwStdF0A2phtgoBgPP3i7PhRXbmo83UybrEoNxE1GSHPy8TYV8eqwJFyDiU3g1RC4KzcUf4VfoIs5650ulciOzDCmMJ9gF68y4mS6CWcxhi4MA0Mn6pvoC4ZMTXzkhJFYupZEeViA5a9u3+WV+rDEvd30m+NyB42tbri1xFFfn8PJ8bM8UFmVU2IPxoc/0pdJmGfRtE5J5wmzH7HP++wtAEI7XR4+jN0lyHW/sJyOH0j+2NcsclAgb0zzmg1RkUYvLapbpweGx21cy6Oz2ZSE9WgPH56wyUB47WsqKRrWZNB4uQsKnWTmQAFWC41MDkAAALeMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dnaW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwOTAwNDMwOFoXDTIyMDYwODAwNDMwOVowHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMbtLdmWziinszBFjcylxuDYQXQpJqSL99f076ailJnfGJWndiTzHf2+qEDwYlggqkyOoDzBPPTMoOE9LDfLOruxuMstrTjC9CWK2IlwbysMLZvHVBLyc1D1eQWtRhNtVW8cP3YCCK3LpF1wQUTivbfrJ0tz9Wqal2zzhLJNeZWdubXSz1BVFaAnxOseydTnsAe2af4/gBGuD/Y4POy9M+65INPVpZECSoF9Z9oyx2+gN3TG8NTypxT+eONVKpA5xxGZUmpWT82942sK3Slrf+8xI2BaDYnbk7ENKUdZ667uKx88DPZnnsg1zjrhA4Ug6XYhKWJctEcCbwGBh2Cz01sCAwEAAaMjMCEwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAILqmY0UrZAsIw4r5pMjo2S0JQVzpGW8q7zWYPuycwOwJCQeUoJT9DlsV4hkS3Uu0s6Xr44FwFizdsdD8hQrWOSmu8t9Nu1cls5/fLWiwQSdb+WD3JmiFiX6TdQJjC9RaUett1kgw6NbIv1nbzXGsUo5NoVh4ufn3kB+7LwbwqB37qQUO2QTekevzjyz2a4FVtAIMkVCAQ6ISYoWmYyfGrBejnsJr7BUPnVl3kpenVhS54zygqOuIjx2WWVbKRY1w8ODZXzr1kAsaN6/VmwLPmtF9JtvEtt+lsFgO8IHpErfjTQfkZrbEQg0rynf7lrHRYNNtm+ZRHClO0Vum2qAVHsAAAACAAZzaWctY2EAAAFcik5iPwAFWC41MDkAAALeMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dnaW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwOTAwNDMwOFoXDTIyMDYwODAwNDMwOVowHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMbtLdmWziinszBFjcylxuDYQXQpJqSL99f076ailJnfGJWndiTzHf2+qEDwYlggqkyOoDzBPPTMoOE9LDfLOruxuMstrTjC9CWK2IlwbysMLZvHVBLyc1D1eQWtRhNtVW8cP3YCCK3LpF1wQUTivbfrJ0tz9Wqal2zzhLJNeZWdubXSz1BVFaAnxOseydTnsAe2af4/gBGuD/Y4POy9M+65INPVpZECSoF9Z9oyx2+gN3TG8NTypxT+eONVKpA5xxGZUmpWT82942sK3Slrf+8xI2BaDYnbk7ENKUdZ667uKx88DPZnnsg1zjrhA4Ug6XYhKWJctEcCbwGBh2Cz01sCAwEAAaMjMCEwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAILqmY0UrZAsIw4r5pMjo2S0JQVzpGW8q7zWYPuycwOwJCQeUoJT9DlsV4hkS3Uu0s6Xr44FwFizdsdD8hQrWOSmu8t9Nu1cls5/fLWiwQSdb+WD3JmiFiX6TdQJjC9RaUett1kgw6NbIv1nbzXGsUo5NoVh4ufn3kB+7LwbwqB37qQUO2QTekevzjyz2a4FVtAIMkVCAQ6ISYoWmYyfGrBejnsJr7BUPnVl3kpenVhS54zygqOuIjx2WWVbKRY1w8ODZXzr1kAsaN6/VmwLPmtF9JtvEtt+lsFgO8IHpErfjTQfkZrbEQg0rynf7lrHRYNNtm+ZRHClO0Vum2qAVHvADEhwBOJOnnmB5dVolhqT0e2IIw==", 
            "searchguard.key": "/u3+7QAAAAIAAAACAAAAAQANZWxhc3RpY3NlYXJjaAAAAVyKTl6PAAAFADCCBPwwDgYKKwYBBAEqAhEBAQUABIIE6AmY/IN0v00eUFlcWt1Awir/IiFcUj+GXY6sN1+XM184vABgl8IKxhuE9Aqw9COl6wkIj5hMrusCFXtAe7UP6PTT8afv0o0Vbi48ZcMvo+abO9hgXt+yFIkavjBLiQ9NhNQHbxkcmqAvMX7AAsDLc3xLB4VkiCEi2JmDQ+gOSzNnXn889B0vKtkNl5NMui9gGzVQMBTt4CBroCam8a7EPCnHlqMgjLOZaPVNTOyUNFIJ5xcm66EZF44JnoXc6kjkKwGxFoVKZ2tx/eqEndTEhumZlqEqYSIwJnAMFQhPW1M6tV2dpMZDC6zbBoaQa2NY/1g24Zmbf9WX4PWFQQKxMGq/Bl6v51TxV+vEf4a03Ll7C28xMX9SgZ008OZ1wNEr3OvgV0E2cEaWAz0odkVzGDnwZsVUoKgZBjCYwP1HaPpzwiZUOBktqGvEw0sY76IriY7g05V9da2UuPx8quJ8936vj8wAl5Uked7hpyGfy8aKLSXQZiXmZhyuUPAR0XdnfwOnqiRemFia0bqkSlmeKWLKAqJle1LibDEskCJ9Ypa4OaQA8LTN0/a1ekLac68whXyTNCY/kLSZatqIxO8lamGoN0bBFfWMD2OccI+CValFuF2JEw6W2NtGjtKE/3THxnv8zXeCK4dB9IgmMmlVMmkFrfCIj66wkPV4td/Uu9hwtzI7gJCv/lOIW8VSj+FlRa1vQK+XAVHsZTeETtw/7xq2PiDQmjS+pimigHob+V/QL0XVr65T80tfvPwdAJuF4yOkDmPDOkOhN9qsPPEHa8D7lL3Ov8a122xWqmTrjo/egP+CmisMncuNKpgCOSSdDU5Yw7EK8aYLsSqccyGA1SvXljwNiBoq9RJJk+zVk2OVpbfZDkH2V0KauY+OuER67yRMnyANzoTHeLjFXHsB/4pJyg5fP4vNU7NsDSGhInaB6+w+TjHQIPOacqQ1aArTN93VdqDwXS+B2NuXCsXRvfYJ0FHXWv1xfID2Fcyeo1SZvsSUddLztEECVWkJRG5VXJrJe0zgANadV79ocq/2v9udy/MiVm2VGndN0AGi+GB0UmLJi/NLdukoPPmPRPGUNQkTp89zMPUif4jiStxMch67LcdBqU4dz2UAKTRnId2BS9l9GF2hCaz+SBa51iRepRKA8gspcPxbZQyHSErIjvEpjCK2ZTId7zH/j+HBRTUgF9FxtNf6JOtm5mogT+gA6k4dF2TfcEf6B+bwxilzeg+TrbXQFb00bypFYhpvqndnnOvkKDNzGcd22ypdiL8AjKHTjLD8fru+MvY/1cb3RTG6F720j+CRGkNeEjxRKkZF9wD373YDLkBxD7juy9hilaprqowj5kexlZhU1jBSNz7e3e4PrXIUPd7QzS++lavvOBAE5N74Ul2sS1NAc/lXPrw9oLLevi5J/NyhK3aR8dK/2vkeQNV/9400oD9CU2KQ5P6sOn8ygrOejG2QbXy2ykDTQxWf4fBC5lZZnjFB/XC7TnKZP31H0WnvuVdyRFkYgkxnxu75lyWfhL0Qb2AAOye5SDzbuevaW9gM0ucqvNpgkmG2tyiz34kIfqsXuRVuVqSkNPwOYpMuBJ/FWEbgV/9utG7ChdHkYyMjCDhfpnjG/iLVH1Zxah+ce3UlJ2DbGyp+TvNOy6VGAzMiVz7vaq36eZoiL/4nAAAAAgAFWC41MDkAAAOCMIIDfjCCAmagAwIBAgIBBzANBgkqhkiG9w0BAQUFADAeMRwwGgYDVQQDExNsb2dnaW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwOTAwNDMzMFoXDTE5MDYwOTAwNDMzMFowPjEQMA4GA1UEChMHTG9nZ2luZzESMBAGA1UECxMJT3BlblNoaWZ0MRYwFAYDVQQDEw1lbGFzdGljc2VhcmNoMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoN5RlFRym12nM6XSOIZ1rVJgnSSuiSMVk4Vbnfzxc2bvjl33eOqVCLTAbbQtmfzhrAChP/A/2z+ZNyafgKO8iXfkszHfbinQo8IEzSFs1Wq5jjA01mLUbqeZ8QPiDP1+LIgIEJ29Pu41i6LKg/5xI1swRV7oCJqD17myk5zZRO7R2iUORFnY2587eFQdgY6EhrZsZIe16JvTsDbBUttNOjX/40KTZh8faKlKien/vVSJCn9d8bhWKQRE62kRrPWp/Lz8058byo5iPtSYPo+BIYqNV9fwYHuwbV5pBG8SIlxtjG+CoKPPnWf8AL4DPyvhoCgKAt80j6nYH98yzt3smwIDAQABo4GmMIGjMA4GA1UdDwEB/wQEAwIFoDAJBgNVHRMEAjAAMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAdBgNVHQ4EFgQUzbI3FrVsTqLtiXrCnNV2Q04458UwCQYDVR0jBAIwADA9BgNVHREENjA0gglsb2NhbGhvc3SHBH8AAAGCCmxvZ2dpbmctZXOCDmxvZ2dpbmctZXMtb3BziAUqAwQFBTANBgkqhkiG9w0BAQUFAAOCAQEAa90W+hz9sarKM9hH0+0P3aIAx7MUBSAkdTK/nl88RUJJl4phq5SdGImuPSCritXp9uGJf80lbibP/n8lo83u5makaCAKkPpE45G9UGoCJK9HPRqBltB7eeO6JQ3vAZl2XsxT5FqbciYXuQn0yC3zV9Q2vqTy/Lj+diCqc5naTyFjRKTuVdm+qQtu8wEfvQCMHOmmUVE0jY3gYh8iHMJFyeMyh7hMZ/TDLjMuBRiRPNDj2GSBWYXs7PtcyIzdjMhEUQ/nOPehok5JU83TSTOd6crg2XaYSaZvQH/HaE+bN4zvOjwNlySb+WC4GvNkhEZRzSS8/2b+0jUwjL5WAak0AQAFWC41MDkAAALeMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dnaW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwOTAwNDMwOFoXDTIyMDYwODAwNDMwOVowHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMbtLdmWziinszBFjcylxuDYQXQpJqSL99f076ailJnfGJWndiTzHf2+qEDwYlggqkyOoDzBPPTMoOE9LDfLOruxuMstrTjC9CWK2IlwbysMLZvHVBLyc1D1eQWtRhNtVW8cP3YCCK3LpF1wQUTivbfrJ0tz9Wqal2zzhLJNeZWdubXSz1BVFaAnxOseydTnsAe2af4/gBGuD/Y4POy9M+65INPVpZECSoF9Z9oyx2+gN3TG8NTypxT+eONVKpA5xxGZUmpWT82942sK3Slrf+8xI2BaDYnbk7ENKUdZ667uKx88DPZnnsg1zjrhA4Ug6XYhKWJctEcCbwGBh2Cz01sCAwEAAaMjMCEwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAILqmY0UrZAsIw4r5pMjo2S0JQVzpGW8q7zWYPuycwOwJCQeUoJT9DlsV4hkS3Uu0s6Xr44FwFizdsdD8hQrWOSmu8t9Nu1cls5/fLWiwQSdb+WD3JmiFiX6TdQJjC9RaUett1kgw6NbIv1nbzXGsUo5NoVh4ufn3kB+7LwbwqB37qQUO2QTekevzjyz2a4FVtAIMkVCAQ6ISYoWmYyfGrBejnsJr7BUPnVl3kpenVhS54zygqOuIjx2WWVbKRY1w8ODZXzr1kAsaN6/VmwLPmtF9JtvEtt+lsFgO8IHpErfjTQfkZrbEQg0rynf7lrHRYNNtm+ZRHClO0Vum2qAVHsAAAACAAZzaWctY2EAAAFcik5d/wAFWC41MDkAAALeMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dnaW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwOTAwNDMwOFoXDTIyMDYwODAwNDMwOVowHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMbtLdmWziinszBFjcylxuDYQXQpJqSL99f076ailJnfGJWndiTzHf2+qEDwYlggqkyOoDzBPPTMoOE9LDfLOruxuMstrTjC9CWK2IlwbysMLZvHVBLyc1D1eQWtRhNtVW8cP3YCCK3LpF1wQUTivbfrJ0tz9Wqal2zzhLJNeZWdubXSz1BVFaAnxOseydTnsAe2af4/gBGuD/Y4POy9M+65INPVpZECSoF9Z9oyx2+gN3TG8NTypxT+eONVKpA5xxGZUmpWT82942sK3Slrf+8xI2BaDYnbk7ENKUdZ667uKx88DPZnnsg1zjrhA4Ug6XYhKWJctEcCbwGBh2Cz01sCAwEAAaMjMCEwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAILqmY0UrZAsIw4r5pMjo2S0JQVzpGW8q7zWYPuycwOwJCQeUoJT9DlsV4hkS3Uu0s6Xr44FwFizdsdD8hQrWOSmu8t9Nu1cls5/fLWiwQSdb+WD3JmiFiX6TdQJjC9RaUett1kgw6NbIv1nbzXGsUo5NoVh4ufn3kB+7LwbwqB37qQUO2QTekevzjyz2a4FVtAIMkVCAQ6ISYoWmYyfGrBejnsJr7BUPnVl3kpenVhS54zygqOuIjx2WWVbKRY1w8ODZXzr1kAsaN6/VmwLPmtF9JtvEtt+lsFgO8IHpErfjTQfkZrbEQg0rynf7lrHRYNNtm+ZRHClO0Vum2qAVHv2ycQ5rG9hpL7skboCiCTf41u8kA==", 
            "searchguard.truststore": "/u3+7QAAAAIAAAABAAAAAgAGc2lnLWNhAAABXIpOY10ABVguNTA5AAAC3jCCAtowggHCoAMCAQICAQEwDQYJKoZIhvcNAQELBQAwHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDAeFw0xNzA2MDkwMDQzMDhaFw0yMjA2MDgwMDQzMDlaMB4xHDAaBgNVBAMTE2xvZ2dpbmctc2lnbmVyLXRlc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDG7S3Zls4op7MwRY3Mpcbg2EF0KSaki/fX9O+mopSZ3xiVp3Yk8x39vqhA8GJYIKpMjqA8wTz0zKDhPSw3yzq7sbjLLa04wvQlitiJcG8rDC2bx1QS8nNQ9XkFrUYTbVVvHD92Agity6RdcEFE4r236ydLc/Vqmpds84SyTXmVnbm10s9QVRWgJ8TrHsnU57AHtmn+P4ARrg/2ODzsvTPuuSDT1aWRAkqBfWfaMsdvoDd0xvDU8qcU/njjVSqQOccRmVJqVk/NveNrCt0pa3/vMSNgWg2J25OxDSlHWeuu7isfPAz2Z57INc464QOFIOl2ISliXLRHAm8BgYdgs9NbAgMBAAGjIzAhMA4GA1UdDwEB/wQEAwICpDAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQCC6pmNFK2QLCMOK+aTI6NktCUFc6RlvKu81mD7snMDsCQkHlKCU/Q5bFeIZEt1LtLOl6+OBcBYs3bHQ/IUK1jkprvLfTbtXJbOf3y1osEEnW/lg9yZohYl+k3UCYwvUWlHrbdZIMOjWyL9Z281xrFKOTaFYeLn595Afuy8G8Kgd+6kFDtkE3pHr848s9muBVbQCDJFQgEOiEmKFpmMnxqwXo57Ca+wVD51Zd5KXp1YUueM8oKjriI8dlllWykWNcPDg2V869ZALGjev1ZsCz5rRfSbbxLbfpbBYDvCB6RK3400H5Ga2xEINK8p3+5ax0WDTbZvmURwpTtFbptqgFR70K+flcX8cH/C6mhaq27Ciaumv/Q=", 
            "truststore": "/u3+7QAAAAIAAAABAAAAAgAGc2lnLWNhAAABXIpOY10ABVguNTA5AAAC3jCCAtowggHCoAMCAQICAQEwDQYJKoZIhvcNAQELBQAwHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDAeFw0xNzA2MDkwMDQzMDhaFw0yMjA2MDgwMDQzMDlaMB4xHDAaBgNVBAMTE2xvZ2dpbmctc2lnbmVyLXRlc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDG7S3Zls4op7MwRY3Mpcbg2EF0KSaki/fX9O+mopSZ3xiVp3Yk8x39vqhA8GJYIKpMjqA8wTz0zKDhPSw3yzq7sbjLLa04wvQlitiJcG8rDC2bx1QS8nNQ9XkFrUYTbVVvHD92Agity6RdcEFE4r236ydLc/Vqmpds84SyTXmVnbm10s9QVRWgJ8TrHsnU57AHtmn+P4ARrg/2ODzsvTPuuSDT1aWRAkqBfWfaMsdvoDd0xvDU8qcU/njjVSqQOccRmVJqVk/NveNrCt0pa3/vMSNgWg2J25OxDSlHWeuu7isfPAz2Z57INc464QOFIOl2ISliXLRHAm8BgYdgs9NbAgMBAAGjIzAhMA4GA1UdDwEB/wQEAwICpDAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQCC6pmNFK2QLCMOK+aTI6NktCUFc6RlvKu81mD7snMDsCQkHlKCU/Q5bFeIZEt1LtLOl6+OBcBYs3bHQ/IUK1jkprvLfTbtXJbOf3y1osEEnW/lg9yZohYl+k3UCYwvUWlHrbdZIMOjWyL9Z281xrFKOTaFYeLn595Afuy8G8Kgd+6kFDtkE3pHr848s9muBVbQCDJFQgEOiEmKFpmMnxqwXo57Ca+wVD51Zd5KXp1YUueM8oKjriI8dlllWykWNcPDg2V869ZALGjev1ZsCz5rRfSbbxLbfpbBYDvCB6RK3400H5Ga2xEINK8p3+5ax0WDTbZvmURwpTtFbptqgFR70K+flcX8cH/C6mhaq27Ciaumv/Q="
        }, 
        "kind": "Secret", 
        "metadata": {
            "creationTimestamp": null, 
            "name": "logging-elasticsearch"
        }, 
        "type": "Opaque"
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : Set logging-es-ops-cluster service] ****
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:168
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.203.144", 
        "cmd": "/bin/oc get service logging-es-ops-cluster -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:43:50Z", 
                    "name": "logging-es-ops-cluster", 
                    "namespace": "logging", 
                    "resourceVersion": "1338", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-es-ops-cluster", 
                    "uid": "b4b46ed6-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "spec": {
                    "clusterIP": "172.30.203.144", 
                    "ports": [
                        {
                            "port": 9300, 
                            "protocol": "TCP", 
                            "targetPort": 9300
                        }
                    ], 
                    "selector": {
                        "component": "es-ops", 
                        "provider": "openshift"
                    }, 
                    "sessionAffinity": "None", 
                    "type": "ClusterIP"
                }, 
                "status": {
                    "loadBalancer": {}
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : Set logging-es-ops service] ************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:182
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.202.175", 
        "cmd": "/bin/oc get service logging-es-ops -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:43:52Z", 
                    "name": "logging-es-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1343", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-es-ops", 
                    "uid": "b5729c86-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "spec": {
                    "clusterIP": "172.30.202.175", 
                    "ports": [
                        {
                            "port": 9200, 
                            "protocol": "TCP", 
                            "targetPort": "restapi"
                        }
                    ], 
                    "selector": {
                        "component": "es-ops", 
                        "provider": "openshift"
                    }, 
                    "sessionAffinity": "None", 
                    "type": "ClusterIP"
                }, 
                "status": {
                    "loadBalancer": {}
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : Creating ES storage template] **********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:197
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : Creating ES storage template] **********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:210
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : Set ES storage] ************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:225
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : set_fact] ******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:237
ok: [openshift] => {
    "ansible_facts": {
        "es_deploy_name": "logging-es-ops-data-master-gw0u0psf"
    }, 
    "changed": false
}

TASK [openshift_logging_elasticsearch : set_fact] ******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:241
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_elasticsearch : Set ES dc templates] *******************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:246
changed: [openshift] => {
    "changed": true, 
    "checksum": "b65c029fe8cc2c266efe1573a26165f254d217ce", 
    "dest": "/tmp/openshift-logging-ansible-qiBWsf/templates/logging-es-dc.yml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "337ae6eb3d74a91d17a7cb294252c650", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 3179, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969032.6-85375450765774/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : Set ES dc] *****************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:262
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get dc logging-es-ops-data-master-gw0u0psf -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "DeploymentConfig", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:43:53Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "es-ops", 
                        "deployment": "logging-es-ops-data-master-gw0u0psf", 
                        "logging-infra": "elasticsearch", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-es-ops-data-master-gw0u0psf", 
                    "namespace": "logging", 
                    "resourceVersion": "1357", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-es-ops-data-master-gw0u0psf", 
                    "uid": "b6556986-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "spec": {
                    "replicas": 1, 
                    "selector": {
                        "component": "es-ops", 
                        "deployment": "logging-es-ops-data-master-gw0u0psf", 
                        "logging-infra": "elasticsearch", 
                        "provider": "openshift"
                    }, 
                    "strategy": {
                        "activeDeadlineSeconds": 21600, 
                        "recreateParams": {
                            "timeoutSeconds": 600
                        }, 
                        "resources": {}, 
                        "type": "Recreate"
                    }, 
                    "template": {
                        "metadata": {
                            "creationTimestamp": null, 
                            "labels": {
                                "component": "es-ops", 
                                "deployment": "logging-es-ops-data-master-gw0u0psf", 
                                "logging-infra": "elasticsearch", 
                                "provider": "openshift"
                            }, 
                            "name": "logging-es-ops-data-master-gw0u0psf"
                        }, 
                        "spec": {
                            "containers": [
                                {
                                    "env": [
                                        {
                                            "name": "NAMESPACE", 
                                            "valueFrom": {
                                                "fieldRef": {
                                                    "apiVersion": "v1", 
                                                    "fieldPath": "metadata.namespace"
                                                }
                                            }
                                        }, 
                                        {
                                            "name": "KUBERNETES_TRUST_CERT", 
                                            "value": "true"
                                        }, 
                                        {
                                            "name": "SERVICE_DNS", 
                                            "value": "logging-es-ops-cluster"
                                        }, 
                                        {
                                            "name": "CLUSTER_NAME", 
                                            "value": "logging-es-ops"
                                        }, 
                                        {
                                            "name": "INSTANCE_RAM", 
                                            "value": "8Gi"
                                        }, 
                                        {
                                            "name": "NODE_QUORUM", 
                                            "value": "1"
                                        }, 
                                        {
                                            "name": "RECOVER_EXPECTED_NODES", 
                                            "value": "1"
                                        }, 
                                        {
                                            "name": "RECOVER_AFTER_TIME", 
                                            "value": "5m"
                                        }, 
                                        {
                                            "name": "READINESS_PROBE_TIMEOUT", 
                                            "value": "30"
                                        }, 
                                        {
                                            "name": "IS_MASTER", 
                                            "value": "true"
                                        }, 
                                        {
                                            "name": "HAS_DATA", 
                                            "value": "true"
                                        }
                                    ], 
                                    "image": "172.30.176.187:5000/logging/logging-elasticsearch:latest", 
                                    "imagePullPolicy": "Always", 
                                    "name": "elasticsearch", 
                                    "ports": [
                                        {
                                            "containerPort": 9200, 
                                            "name": "restapi", 
                                            "protocol": "TCP"
                                        }, 
                                        {
                                            "containerPort": 9300, 
                                            "name": "cluster", 
                                            "protocol": "TCP"
                                        }
                                    ], 
                                    "readinessProbe": {
                                        "exec": {
                                            "command": [
                                                "/usr/share/elasticsearch/probe/readiness.sh"
                                            ]
                                        }, 
                                        "failureThreshold": 3, 
                                        "initialDelaySeconds": 10, 
                                        "periodSeconds": 5, 
                                        "successThreshold": 1, 
                                        "timeoutSeconds": 30
                                    }, 
                                    "resources": {
                                        "limits": {
                                            "cpu": "1", 
                                            "memory": "8Gi"
                                        }, 
                                        "requests": {
                                            "memory": "512Mi"
                                        }
                                    }, 
                                    "terminationMessagePath": "/dev/termination-log", 
                                    "terminationMessagePolicy": "File", 
                                    "volumeMounts": [
                                        {
                                            "mountPath": "/etc/elasticsearch/secret", 
                                            "name": "elasticsearch", 
                                            "readOnly": true
                                        }, 
                                        {
                                            "mountPath": "/usr/share/java/elasticsearch/config", 
                                            "name": "elasticsearch-config", 
                                            "readOnly": true
                                        }, 
                                        {
                                            "mountPath": "/elasticsearch/persistent", 
                                            "name": "elasticsearch-storage"
                                        }
                                    ]
                                }
                            ], 
                            "dnsPolicy": "ClusterFirst", 
                            "restartPolicy": "Always", 
                            "schedulerName": "default-scheduler", 
                            "securityContext": {
                                "supplementalGroups": [
                                    65534
                                ]
                            }, 
                            "serviceAccount": "aggregated-logging-elasticsearch", 
                            "serviceAccountName": "aggregated-logging-elasticsearch", 
                            "terminationGracePeriodSeconds": 30, 
                            "volumes": [
                                {
                                    "name": "elasticsearch", 
                                    "secret": {
                                        "defaultMode": 420, 
                                        "secretName": "logging-elasticsearch"
                                    }
                                }, 
                                {
                                    "configMap": {
                                        "defaultMode": 420, 
                                        "name": "logging-elasticsearch"
                                    }, 
                                    "name": "elasticsearch-config"
                                }, 
                                {
                                    "emptyDir": {}, 
                                    "name": "elasticsearch-storage"
                                }
                            ]
                        }
                    }, 
                    "test": false, 
                    "triggers": [
                        {
                            "type": "ConfigChange"
                        }
                    ]
                }, 
                "status": {
                    "availableReplicas": 0, 
                    "conditions": [
                        {
                            "lastTransitionTime": "2017-06-09T00:43:53Z", 
                            "lastUpdateTime": "2017-06-09T00:43:53Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-09T00:43:53Z", 
                            "lastUpdateTime": "2017-06-09T00:43:53Z", 
                            "message": "replication controller \"logging-es-ops-data-master-gw0u0psf-1\" is waiting for pod \"logging-es-ops-data-master-gw0u0psf-1-deploy\" to run", 
                            "status": "Unknown", 
                            "type": "Progressing"
                        }
                    ], 
                    "details": {
                        "causes": [
                            {
                                "type": "ConfigChange"
                            }
                        ], 
                        "message": "config change"
                    }, 
                    "latestVersion": 1, 
                    "observedGeneration": 2, 
                    "replicas": 0, 
                    "unavailableReplicas": 0, 
                    "updatedReplicas": 0
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : Delete temp directory] *****************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:274
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-qiBWsf", 
    "state": "absent"
}

TASK [openshift_logging : include_role] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:151
statically included: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/determine_version.yaml

TASK [openshift_logging_kibana : fail] *****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/determine_version.yaml:3
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/determine_version.yaml:7
ok: [openshift] => {
    "ansible_facts": {
        "kibana_version": "3_5"
    }, 
    "changed": false
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/determine_version.yaml:12
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_kibana : fail] *****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/determine_version.yaml:15
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_kibana : Create temp directory for doing work in] ******
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:7
ok: [openshift] => {
    "changed": false, 
    "cmd": [
        "mktemp", 
        "-d", 
        "/tmp/openshift-logging-ansible-XXXXXX"
    ], 
    "delta": "0:00:00.019051", 
    "end": "2017-06-08 20:43:54.715973", 
    "rc": 0, 
    "start": "2017-06-08 20:43:54.696922"
}

STDOUT:

/tmp/openshift-logging-ansible-MSBTuG

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:12
ok: [openshift] => {
    "ansible_facts": {
        "tempdir": "/tmp/openshift-logging-ansible-MSBTuG"
    }, 
    "changed": false
}

TASK [openshift_logging_kibana : Create templates subdirectory] ****************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:16
ok: [openshift] => {
    "changed": false, 
    "gid": 0, 
    "group": "root", 
    "mode": "0755", 
    "owner": "root", 
    "path": "/tmp/openshift-logging-ansible-MSBTuG/templates", 
    "secontext": "unconfined_u:object_r:user_tmp_t:s0", 
    "size": 6, 
    "state": "directory", 
    "uid": 0
}

TASK [openshift_logging_kibana : Create Kibana service account] ****************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:26
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_kibana : Create Kibana service account] ****************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:34
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get sa aggregated-logging-kibana -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "imagePullSecrets": [
                    {
                        "name": "aggregated-logging-kibana-dockercfg-x2jkw"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:43:55Z", 
                    "name": "aggregated-logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1367", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-kibana", 
                    "uid": "b7a90267-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-kibana-token-1wvhv"
                    }, 
                    {
                        "name": "aggregated-logging-kibana-dockercfg-x2jkw"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:42
ok: [openshift] => {
    "ansible_facts": {
        "kibana_component": "kibana", 
        "kibana_name": "logging-kibana"
    }, 
    "changed": false
}

TASK [openshift_logging_kibana : Retrieving the cert to use when generating secrets for the logging components] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:46
ok: [openshift] => (item={u'name': u'ca_file', u'file': u'ca.crt'}) => {
    "changed": false, 
    "content": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPVEF3TkRNd09Gb1hEVEl5TURZd09EQXdORE13T1ZvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQU1idExkbVd6aWluc3pCRmpjeWx4dURZUVhRcEpxU0w5OWYwNzZhaWxKbmYKR0pXbmRpVHpIZjIrcUVEd1lsZ2dxa3lPb0R6QlBQVE1vT0U5TERmTE9ydXh1TXN0clRqQzlDV0sySWx3YnlzTQpMWnZIVkJMeWMxRDFlUVd0UmhOdFZXOGNQM1lDQ0szTHBGMXdRVVRpdmJmckowdHo5V3FhbDJ6emhMSk5lWldkCnViWFN6MUJWRmFBbnhPc2V5ZFRuc0FlMmFmNC9nQkd1RC9ZNFBPeTlNKzY1SU5QVnBaRUNTb0Y5WjlveXgyK2cKTjNURzhOVHlweFQrZU9OVktwQTV4eEdaVW1wV1Q4Mjk0MnNLM1NscmYrOHhJMkJhRFluYms3RU5LVWRaNjY3dQpLeDg4RFBabm5zZzF6anJoQTRVZzZYWWhLV0pjdEVjQ2J3R0JoMkN6MDFzQ0F3RUFBYU1qTUNFd0RnWURWUjBQCkFRSC9CQVFEQWdLa01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFJTHEKbVkwVXJaQXNJdzRyNXBNam8yUzBKUVZ6cEdXOHE3eldZUHV5Y3dPd0pDUWVVb0pUOURsc1Y0aGtTM1V1MHM2WApyNDRGd0ZpemRzZEQ4aFFyV09TbXU4dDlOdTFjbHM1L2ZMV2l3UVNkYitXRDNKbWlGaVg2VGRRSmpDOVJhVWV0CnQxa2d3Nk5iSXYxbmJ6WEdzVW81Tm9WaDR1Zm4za0IrN0x3YndxQjM3cVFVTzJRVGVrZXZ6anl6MmE0RlZ0QUkKTWtWQ0FRNklTWW9XbVl5ZkdyQmVqbnNKcjdCVVBuVmwza3BlblZoUzU0enlncU91SWp4MldXVmJLUlkxdzhPRApaWHpyMWtBc2FONi9WbXdMUG10RjlKdHZFdHQrbHNGZ084SUhwRXJmalRRZmtacmJFUWcwcnluZjdsckhSWU5OCnRtK1pSSENsTzBWdW0ycUFWSHM9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K", 
    "encoding": "base64", 
    "item": {
        "file": "ca.crt", 
        "name": "ca_file"
    }, 
    "source": "/etc/origin/logging/ca.crt"
}
ok: [openshift] => (item={u'name': u'kibana_internal_key', u'file': u'kibana-internal.key'}) => {
    "changed": false, 
    "content": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcEFJQkFBS0NBUUVBc2RYdVpwdUlHd0wrOEo0TjRtZHRxOWJkamRVUVFvWUdRcG1sZEVsTWVFRXpONXh3Clh5ZGZ3RDYzcS8yQW1SNFE1T2cybDhBV3pwUVVhelBLekl5TEZQR0xPclJGVFR5eTU0a0lyckUxeWo3TGM5VDgKQloxd1FLbTNnbm80MWFVdnNKa0tYWUtuZzZYUkxhTk85ZnN6ZjZidXRsUVh2OHFVbVZDOU5GdWdCMlpNWWtrdwpKSlB5eVNXUnVsUTBCZGJHVllYR3FEeGRvaUt1NDdpSUdQU3Zla0Vzc3cwSUlGWjg1czFielJBVmp1N21WT0cyCk1KeEVJNlU1WDAxVWcyQkhWeW9uNmdRbFZlRDA0S09VbTc3ZlA1Z0dMRmd0MFZuN0xJT2NBTGMvQXBHeFAzNUwKcnNpNElZODJWTEZaNG04azYxNmhZT1ZNR0ZJQUh3RjVUMzdyUFFJREFRQUJBb0lCQVFDRktReWZWbHkrNVNwaQpuK2NEbmJDNFdHYURtb1BYWENYNTNyVE9jMGhJVDRIN1pTK2JnSThwRTQxU3dycDFiTmIzb0kyb2FaUnFVT1ZOCk5IWHBYbCtTYWg5MzhKNW43RWlHS00wUWllOGVKcEVQaGU3RWdaUVpSenY2L212cVJndUVyOFBjSzBZbHhKYnkKRm5POHFzRndGMTV0dG1BbUk1bkxoM0oxYnhwUUR0L1dUTTF4ZHhqQk80ZWVtQjFpK1NaK1M5elRiRU5FRGZneApHV2h1TjVvd2hXOFFiQ3g3ZjJib3NjMDVtZWF2bGZaSUY0ZnpEWHJJY1JORHBOQlpOQVRBNlhTYmd1VDcwbmhICjFuQjZuVXQ2RnptV1BnTW8vV0RTcGNIU1lQZ0Q5WkhZWDhRS2pMbnowRHdqdGhiVzRkcGU0M1g4YkMxWm03VFkKdVFudlZqekJBb0dCQU9sa1hTZThkKzZGWlZZa3RwWWVmbWJWRmwvVUlLNlpPbXYwVTV6bGRXTTQ3WHN6Y21OZAoyMS9HMElDVmdqc0lMdGE4STR6SzllamVNYTFHVTI5emdYZzJqTjNWVVRiUnlhbEpqakdrWW95dHBVRDF2WHNmCkVENVcvV09EdEQ3d0JqdE41UHQycElidWR4ZWV0cmUvc1V3QXo0ekJLYlZtMjROWmUwaHhPSytSQW9HQkFNTVAKNHBJd2Nibm5ZZGp5TXJ0SXBseE5NSUllOVFlTGtiV3BMSTlPTDVHVEJIbDB2SVYrRGNlWXF1V1o5TmN2WkpZaQpzZGJ3UnRMWmJKNzVIZ1B2TjQwSUxaOXhNdjAyaEJyaitBL1B2YWZVZytRRlV2U2tGZGU3T1VyZ1pZRnBNUCttClZZZkdsSEZpSGVKNm1lV1pORlZVd3dEU2FEaXh2VEZCNFlMbU1VTHRBb0dBVnBrcnkzdXQwRzNrbk9NQWNKRWQKKzQvalBtbGFPdzZWMDhxVFg2cndOSUhCOUMyeHF0Yi9kL2t3RWhYbmZYbmF6MGg5dEZiMmlaSXdRb2ZPbTVMegpIaVMzZmZRUnIxS0dEZTlCK0g5ekpabWtzSWE5Nkxvczc4U2RQbGgyLzhkVnVKbDlkaVNlaFlaajMvcSs5MDBFClB4d3A1cU1oazdKM2pyUWIvMVFyWVZFQ2dZQlpOZW1rZkgxMnpZamxwSmRwS2lmVHJRWFRiUDhaalU1OXE3cVMKYStxN2hHYVdlYnBDdjB6a0RVR1RzcDdVejNzTVl4KzhzclZoZDBrRFIrSGZZTWVpTzZ4SjhJYW1ZZ2wzRnUzNwpwVUlUQU5HMU5tNGpMdXhDZHdFVDZwN2gyYzhzRE5HdlFEWGh5VUxyc3JDeDNpaWVJaDd4UUVta0xEM2Z5a2F1CkRFTlpYUUtCZ1FDYldiODN3UUVLV1Y5OXd5UUoxNHplNU4wVmxZcGtIU3RFTVlKQ0xhZTBQc2JCVlpBU0tjOUEKVUFEUU5paDhoWGlHbDNXSUpQcnZIQWVXcVY4S1pGUlIwajdZTFZnVithTGhva1BnVmxXSVp0N1Z4QTdNc2ozNgp2R2J6WGJGZllSVC9GK2JLdk8zSWlleWprVTR0WFZSNXJyd0xrRzMycU5UUDFSWSt4THdYTmc9PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=", 
    "encoding": "base64", 
    "item": {
        "file": "kibana-internal.key", 
        "name": "kibana_internal_key"
    }, 
    "source": "/etc/origin/logging/kibana-internal.key"
}
ok: [openshift] => (item={u'name': u'kibana_internal_cert', u'file': u'kibana-internal.crt'}) => {
    "changed": false, 
    "content": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURUakNDQWphZ0F3SUJBZ0lCQWpBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPVEF3TkRNeE1Gb1hEVEU1TURZd09UQXdORE14TVZvdwpGakVVTUJJR0ExVUVBeE1MSUd0cFltRnVZUzF2Y0hNd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJEd0F3CmdnRUtBb0lCQVFDeDFlNW1tNGdiQXY3d25nM2laMjJyMXQyTjFSQkNoZ1pDbWFWMFNVeDRRVE0zbkhCZkoxL0EKUHJlci9ZQ1pIaERrNkRhWHdCYk9sQlJyTThyTWpJc1U4WXM2dEVWTlBMTG5pUWl1c1RYS1BzdHoxUHdGblhCQQpxYmVDZWpqVnBTK3dtUXBkZ3FlRHBkRXRvMDcxK3pOL3B1NjJWQmUveXBTWlVMMDBXNkFIWmt4aVNUQWtrL0xKCkpaRzZWRFFGMXNaVmhjYW9QRjJpSXE3anVJZ1k5Szk2UVN5ekRRZ2dWbnptelZ2TkVCV083dVpVNGJZd25FUWoKcFRsZlRWU0RZRWRYS2lmcUJDVlY0UFRnbzVTYnZ0OC9tQVlzV0MzUldmc3NnNXdBdHo4Q2tiRS9ma3V1eUxnaApqelpVc1ZuaWJ5VHJYcUZnNVV3WVVnQWZBWGxQZnVzOUFnTUJBQUdqZ1o0d2dac3dEZ1lEVlIwUEFRSC9CQVFECkFnV2dNQk1HQTFVZEpRUU1NQW9HQ0NzR0FRVUZCd01CTUF3R0ExVWRFd0VCL3dRQ01BQXdaZ1lEVlIwUkJGOHcKWFlJTElHdHBZbUZ1WVMxdmNIT0NMQ0JyYVdKaGJtRXRiM0J6TG5KdmRYUmxjaTVrWldaaGRXeDBMbk4yWXk1agpiSFZ6ZEdWeUxteHZZMkZzZ2hnZ2EybGlZVzVoTGpFeU55NHdMakF1TVM1NGFYQXVhVytDQm10cFltRnVZVEFOCkJna3Foa2lHOXcwQkFRc0ZBQU9DQVFFQWM0NXp5MExISHYrUHFXV0pDY2hRNk0rZXBDcjArejJlTEdWMzhVREQKbVBabm1DR3AwQkxxQmVseTV1WkI0TzNNSFl2TlprM0pkZmordGVkK29Ea1Z3Yjg4c0ovdFhqK3pMZTZEcW9sRAp5cnlYZFl6SVBwdkV3WnFYR0tFajI5Uy9tZkxTRWRsVE5lT3UyL0E1alI4UUdScWpRaGptUDUvS0ROTjd3VHpGCmtPU2x1cmQzZEVrbFhqcUZWYmpndGlEOElUUEt1RW9GRDl6RTFPT0VVcmliUmp3Y21aRFIvcStpbzhhSlgxOEYKM2IzWTZaMGY1WmYyVU5FSy80bEo2SW1XWkVKbFFtdElBT1ZzWEZVUmdYQXlDa2NFRzI0c0lvVk1ma3kvY1FzWgpFRklkYVdITUVablhlTGt2YkFBRllDVHQxVWJiMEFjTWU5RlF6MzZRV05McWp3PT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQotLS0tLUJFR0lOIENFUlRJRklDQVRFLS0tLS0KTUlJQzJqQ0NBY0tnQXdJQkFnSUJBVEFOQmdrcWhraUc5dzBCQVFzRkFEQWVNUnd3R2dZRFZRUURFeE5zYjJkbgphVzVuTFhOcFoyNWxjaTEwWlhOME1CNFhEVEUzTURZd09UQXdORE13T0ZvWERUSXlNRFl3T0RBd05ETXdPVm93CkhqRWNNQm9HQTFVRUF4TVRiRzluWjJsdVp5MXphV2R1WlhJdGRHVnpkRENDQVNJd0RRWUpLb1pJaHZjTkFRRUIKQlFBRGdnRVBBRENDQVFvQ2dnRUJBTWJ0TGRtV3ppaW5zekJGamN5bHh1RFlRWFFwSnFTTDk5ZjA3NmFpbEpuZgpHSlduZGlUekhmMitxRUR3WWxnZ3FreU9vRHpCUFBUTW9PRTlMRGZMT3J1eHVNc3RyVGpDOUNXSzJJbHdieXNNCkxadkhWQkx5YzFEMWVRV3RSaE50Vlc4Y1AzWUNDSzNMcEYxd1FVVGl2YmZySjB0ejlXcWFsMnp6aExKTmVaV2QKdWJYU3oxQlZGYUFueE9zZXlkVG5zQWUyYWY0L2dCR3VEL1k0UE95OU0rNjVJTlBWcFpFQ1NvRjlaOW95eDIrZwpOM1RHOE5UeXB4VCtlT05WS3BBNXh4R1pVbXBXVDgyOTQyc0szU2xyZis4eEkyQmFEWW5iazdFTktVZFo2Njd1Ckt4ODhEUFpubnNnMXpqcmhBNFVnNlhZaEtXSmN0RWNDYndHQmgyQ3owMXNDQXdFQUFhTWpNQ0V3RGdZRFZSMFAKQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCL3dRRk1BTUJBZjh3RFFZSktvWklodmNOQVFFTEJRQURnZ0VCQUlMcQptWTBVclpBc0l3NHI1cE1qbzJTMEpRVnpwR1c4cTd6V1lQdXljd093SkNRZVVvSlQ5RGxzVjRoa1MzVXUwczZYCnI0NEZ3Rml6ZHNkRDhoUXJXT1NtdTh0OU51MWNsczUvZkxXaXdRU2RiK1dEM0ptaUZpWDZUZFFKakM5UmFVZXQKdDFrZ3c2TmJJdjFuYnpYR3NVbzVOb1ZoNHVmbjNrQis3THdid3FCMzdxUVVPMlFUZWtldnpqeXoyYTRGVnRBSQpNa1ZDQVE2SVNZb1dtWXlmR3JCZWpuc0pyN0JVUG5WbDNrcGVuVmhTNTR6eWdxT3VJangyV1dWYktSWTF3OE9EClpYenIxa0FzYU42L1Ztd0xQbXRGOUp0dkV0dCtsc0ZnTzhJSHBFcmZqVFFma1pyYkVRZzByeW5mN2xySFJZTk4KdG0rWlJIQ2xPMFZ1bTJxQVZIcz0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=", 
    "encoding": "base64", 
    "item": {
        "file": "kibana-internal.crt", 
        "name": "kibana_internal_cert"
    }, 
    "source": "/etc/origin/logging/kibana-internal.crt"
}
ok: [openshift] => (item={u'name': u'server_tls', u'file': u'server-tls.json'}) => {
    "changed": false, 
    "content": "Ly8gU2VlIGZvciBhdmFpbGFibGUgb3B0aW9uczogaHR0cHM6Ly9ub2RlanMub3JnL2FwaS90bHMuaHRtbCN0bHNfdGxzX2NyZWF0ZXNlcnZlcl9vcHRpb25zX3NlY3VyZWNvbm5lY3Rpb25saXN0ZW5lcgp0bHNfb3B0aW9ucyA9IHsKCWNpcGhlcnM6ICdrRUVDREg6K2tFRUNESCtTSEE6a0VESDora0VESCtTSEE6K2tFREgrQ0FNRUxMSUE6a0VDREg6K2tFQ0RIK1NIQTprUlNBOitrUlNBK1NIQTora1JTQStDQU1FTExJQTohYU5VTEw6IWVOVUxMOiFTU0x2MjohUkM0OiFERVM6IUVYUDohU0VFRDohSURFQTorM0RFUycsCglob25vckNpcGhlck9yZGVyOiB0cnVlCn0K", 
    "encoding": "base64", 
    "item": {
        "file": "server-tls.json", 
        "name": "server_tls"
    }, 
    "source": "/etc/origin/logging/server-tls.json"
}

TASK [openshift_logging_kibana : Set logging-kibana service] *******************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:57
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.133.40", 
        "cmd": "/bin/oc get service logging-kibana -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:43:57Z", 
                    "name": "logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1386", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-kibana", 
                    "uid": "b8ce9a40-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "spec": {
                    "clusterIP": "172.30.133.40", 
                    "ports": [
                        {
                            "port": 443, 
                            "protocol": "TCP", 
                            "targetPort": "oaproxy"
                        }
                    ], 
                    "selector": {
                        "component": "kibana", 
                        "provider": "openshift"
                    }, 
                    "sessionAffinity": "None", 
                    "type": "ClusterIP"
                }, 
                "status": {
                    "loadBalancer": {}
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:74
 [WARNING]: when statements should not include jinja2 templating delimiters
such as {{ }} or {% %}. Found: {{ openshift_logging_kibana_key | trim | length
> 0 }}
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:79
 [WARNING]: when statements should not include jinja2 templating delimiters
such as {{ }} or {% %}. Found: {{ openshift_logging_kibana_cert | trim | length
> 0 }}
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:84
 [WARNING]: when statements should not include jinja2 templating delimiters
such as {{ }} or {% %}. Found: {{ openshift_logging_kibana_ca | trim | length >
0 }}
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:89
ok: [openshift] => {
    "ansible_facts": {
        "kibana_ca": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPVEF3TkRNd09Gb1hEVEl5TURZd09EQXdORE13T1ZvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQU1idExkbVd6aWluc3pCRmpjeWx4dURZUVhRcEpxU0w5OWYwNzZhaWxKbmYKR0pXbmRpVHpIZjIrcUVEd1lsZ2dxa3lPb0R6QlBQVE1vT0U5TERmTE9ydXh1TXN0clRqQzlDV0sySWx3YnlzTQpMWnZIVkJMeWMxRDFlUVd0UmhOdFZXOGNQM1lDQ0szTHBGMXdRVVRpdmJmckowdHo5V3FhbDJ6emhMSk5lWldkCnViWFN6MUJWRmFBbnhPc2V5ZFRuc0FlMmFmNC9nQkd1RC9ZNFBPeTlNKzY1SU5QVnBaRUNTb0Y5WjlveXgyK2cKTjNURzhOVHlweFQrZU9OVktwQTV4eEdaVW1wV1Q4Mjk0MnNLM1NscmYrOHhJMkJhRFluYms3RU5LVWRaNjY3dQpLeDg4RFBabm5zZzF6anJoQTRVZzZYWWhLV0pjdEVjQ2J3R0JoMkN6MDFzQ0F3RUFBYU1qTUNFd0RnWURWUjBQCkFRSC9CQVFEQWdLa01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFJTHEKbVkwVXJaQXNJdzRyNXBNam8yUzBKUVZ6cEdXOHE3eldZUHV5Y3dPd0pDUWVVb0pUOURsc1Y0aGtTM1V1MHM2WApyNDRGd0ZpemRzZEQ4aFFyV09TbXU4dDlOdTFjbHM1L2ZMV2l3UVNkYitXRDNKbWlGaVg2VGRRSmpDOVJhVWV0CnQxa2d3Nk5iSXYxbmJ6WEdzVW81Tm9WaDR1Zm4za0IrN0x3YndxQjM3cVFVTzJRVGVrZXZ6anl6MmE0RlZ0QUkKTWtWQ0FRNklTWW9XbVl5ZkdyQmVqbnNKcjdCVVBuVmwza3BlblZoUzU0enlncU91SWp4MldXVmJLUlkxdzhPRApaWHpyMWtBc2FONi9WbXdMUG10RjlKdHZFdHQrbHNGZ084SUhwRXJmalRRZmtacmJFUWcwcnluZjdsckhSWU5OCnRtK1pSSENsTzBWdW0ycUFWSHM9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
    }, 
    "changed": false
}

TASK [openshift_logging_kibana : Generating Kibana route template] *************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:94
ok: [openshift] => {
    "changed": false, 
    "checksum": "5e14650246f244fa5f89684a28ebdcac36d1b8ad", 
    "dest": "/tmp/openshift-logging-ansible-MSBTuG/templates/kibana-route.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "83e1ea3d47348d15464d36d5cf84e78f", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 2714, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969038.21-82866753120771/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_kibana : Setting Kibana route] *************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:114
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get route logging-kibana -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Route", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:43:59Z", 
                    "labels": {
                        "component": "support", 
                        "logging-infra": "support", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1391", 
                    "selfLink": "/oapi/v1/namespaces/logging/routes/logging-kibana", 
                    "uid": "b9bfc59a-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "spec": {
                    "host": "kibana.router.default.svc.cluster.local", 
                    "tls": {
                        "caCertificate": "-----BEGIN CERTIFICATE-----\nMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dn\naW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwOTAwNDMwOFoXDTIyMDYwODAwNDMwOVow\nHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEB\nBQADggEPADCCAQoCggEBAMbtLdmWziinszBFjcylxuDYQXQpJqSL99f076ailJnf\nGJWndiTzHf2+qEDwYlggqkyOoDzBPPTMoOE9LDfLOruxuMstrTjC9CWK2IlwbysM\nLZvHVBLyc1D1eQWtRhNtVW8cP3YCCK3LpF1wQUTivbfrJ0tz9Wqal2zzhLJNeZWd\nubXSz1BVFaAnxOseydTnsAe2af4/gBGuD/Y4POy9M+65INPVpZECSoF9Z9oyx2+g\nN3TG8NTypxT+eONVKpA5xxGZUmpWT82942sK3Slrf+8xI2BaDYnbk7ENKUdZ667u\nKx88DPZnnsg1zjrhA4Ug6XYhKWJctEcCbwGBh2Cz01sCAwEAAaMjMCEwDgYDVR0P\nAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAILq\nmY0UrZAsIw4r5pMjo2S0JQVzpGW8q7zWYPuycwOwJCQeUoJT9DlsV4hkS3Uu0s6X\nr44FwFizdsdD8hQrWOSmu8t9Nu1cls5/fLWiwQSdb+WD3JmiFiX6TdQJjC9RaUet\nt1kgw6NbIv1nbzXGsUo5NoVh4ufn3kB+7LwbwqB37qQUO2QTekevzjyz2a4FVtAI\nMkVCAQ6ISYoWmYyfGrBejnsJr7BUPnVl3kpenVhS54zygqOuIjx2WWVbKRY1w8OD\nZXzr1kAsaN6/VmwLPmtF9JtvEtt+lsFgO8IHpErfjTQfkZrbEQg0rynf7lrHRYNN\ntm+ZRHClO0Vum2qAVHs=\n-----END CERTIFICATE-----\n", 
                        "destinationCACertificate": "-----BEGIN CERTIFICATE-----\nMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dn\naW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwOTAwNDMwOFoXDTIyMDYwODAwNDMwOVow\nHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEB\nBQADggEPADCCAQoCggEBAMbtLdmWziinszBFjcylxuDYQXQpJqSL99f076ailJnf\nGJWndiTzHf2+qEDwYlggqkyOoDzBPPTMoOE9LDfLOruxuMstrTjC9CWK2IlwbysM\nLZvHVBLyc1D1eQWtRhNtVW8cP3YCCK3LpF1wQUTivbfrJ0tz9Wqal2zzhLJNeZWd\nubXSz1BVFaAnxOseydTnsAe2af4/gBGuD/Y4POy9M+65INPVpZECSoF9Z9oyx2+g\nN3TG8NTypxT+eONVKpA5xxGZUmpWT82942sK3Slrf+8xI2BaDYnbk7ENKUdZ667u\nKx88DPZnnsg1zjrhA4Ug6XYhKWJctEcCbwGBh2Cz01sCAwEAAaMjMCEwDgYDVR0P\nAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAILq\nmY0UrZAsIw4r5pMjo2S0JQVzpGW8q7zWYPuycwOwJCQeUoJT9DlsV4hkS3Uu0s6X\nr44FwFizdsdD8hQrWOSmu8t9Nu1cls5/fLWiwQSdb+WD3JmiFiX6TdQJjC9RaUet\nt1kgw6NbIv1nbzXGsUo5NoVh4ufn3kB+7LwbwqB37qQUO2QTekevzjyz2a4FVtAI\nMkVCAQ6ISYoWmYyfGrBejnsJr7BUPnVl3kpenVhS54zygqOuIjx2WWVbKRY1w8OD\nZXzr1kAsaN6/VmwLPmtF9JtvEtt+lsFgO8IHpErfjTQfkZrbEQg0rynf7lrHRYNN\ntm+ZRHClO0Vum2qAVHs=\n-----END CERTIFICATE-----\n", 
                        "insecureEdgeTerminationPolicy": "Redirect", 
                        "termination": "reencrypt"
                    }, 
                    "to": {
                        "kind": "Service", 
                        "name": "logging-kibana", 
                        "weight": 100
                    }, 
                    "wildcardPolicy": "None"
                }, 
                "status": {
                    "ingress": [
                        {
                            "conditions": [
                                {
                                    "lastTransitionTime": "2017-06-09T00:43:59Z", 
                                    "status": "True", 
                                    "type": "Admitted"
                                }
                            ], 
                            "host": "kibana.router.default.svc.cluster.local", 
                            "routerName": "router", 
                            "wildcardPolicy": "None"
                        }
                    ]
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : Generate proxy session] ***********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:125
ok: [openshift] => {
    "ansible_facts": {
        "session_secret": "Syj4IDOAdwNIG0fTsMuclHyst278ZWEI7V5aVREY3JcCRpiTq83564QPA1WXjS6mA730yRREkrdcOtX6rhHIZ8wG0qd51b0PhqqhI6fTWV2cyjGCcz3tGE4zsKVAMvUUMuaUtVAao2fAUJEf8KCMoNFzBGem3T4rvKJtKoLZJAMCCrMBDr4FuFVhagXkpc6Gnof4svfh"
    }, 
    "changed": false
}

TASK [openshift_logging_kibana : Generate oauth client secret] *****************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:132
ok: [openshift] => {
    "ansible_facts": {
        "oauth_secret": "PjaSWwATC3JdgnXpFRiq8RYIy4hh3sFM6g4C45Qbu0jAY39XHGwH8RQLL0knKJKy"
    }, 
    "changed": false
}

TASK [openshift_logging_kibana : Create oauth-client template] *****************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:138
changed: [openshift] => {
    "changed": true, 
    "checksum": "1370828f1584888b8a0feab797503571cd13fea3", 
    "dest": "/tmp/openshift-logging-ansible-MSBTuG/templates/oauth-client.yml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "0cee4bd19e7d2b833a1f205eecff0281", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 328, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969039.66-103897443915220/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_kibana : Set kibana-proxy oauth-client] ****************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:146
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get oauthclient kibana-proxy -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "OAuthClient", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:44:00Z", 
                    "labels": {
                        "logging-infra": "support"
                    }, 
                    "name": "kibana-proxy", 
                    "resourceVersion": "1399", 
                    "selfLink": "/oapi/v1/oauthclients/kibana-proxy", 
                    "uid": "baadd3c9-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "redirectURIs": [
                    "https://kibana.router.default.svc.cluster.local"
                ], 
                "scopeRestrictions": [
                    {
                        "literals": [
                            "user:info", 
                            "user:check-access", 
                            "user:list-projects"
                        ]
                    }
                ], 
                "secret": "PjaSWwATC3JdgnXpFRiq8RYIy4hh3sFM6g4C45Qbu0jAY39XHGwH8RQLL0knKJKy"
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : Set Kibana secret] ****************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:157
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc secrets new logging-kibana ca=/etc/origin/logging/ca.crt key=/etc/origin/logging/system.logging.kibana.key cert=/etc/origin/logging/system.logging.kibana.crt -n logging", 
        "results": "", 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : Set Kibana Proxy secret] **********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:171
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc secrets new logging-kibana-proxy oauth-secret=/tmp/oauth-secret-2T9qR5 session-secret=/tmp/session-secret-JjRL0l server-key=/tmp/server-key-WILZex server-cert=/tmp/server-cert-XxCVGO server-tls.json=/tmp/server-tls.json-lkQ_3H -n logging", 
        "results": "", 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : Generate Kibana DC template] ******************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:197
changed: [openshift] => {
    "changed": true, 
    "checksum": "d9d0ce2687e7da583c11d53ff2bf5bebc7722b07", 
    "dest": "/tmp/openshift-logging-ansible-MSBTuG/templates/kibana-dc.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "eecc0ef79c83dc72046ffb6dd46c887e", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 3739, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969042.58-184404355317084/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_kibana : Set Kibana DC] ********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:216
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get dc logging-kibana -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "DeploymentConfig", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:44:03Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "kibana", 
                        "logging-infra": "kibana", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1414", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-kibana", 
                    "uid": "bc6ed45c-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "spec": {
                    "replicas": 1, 
                    "selector": {
                        "component": "kibana", 
                        "logging-infra": "kibana", 
                        "provider": "openshift"
                    }, 
                    "strategy": {
                        "activeDeadlineSeconds": 21600, 
                        "resources": {}, 
                        "rollingParams": {
                            "intervalSeconds": 1, 
                            "maxSurge": "25%", 
                            "maxUnavailable": "25%", 
                            "timeoutSeconds": 600, 
                            "updatePeriodSeconds": 1
                        }, 
                        "type": "Rolling"
                    }, 
                    "template": {
                        "metadata": {
                            "creationTimestamp": null, 
                            "labels": {
                                "component": "kibana", 
                                "logging-infra": "kibana", 
                                "provider": "openshift"
                            }, 
                            "name": "logging-kibana"
                        }, 
                        "spec": {
                            "containers": [
                                {
                                    "env": [
                                        {
                                            "name": "ES_HOST", 
                                            "value": "logging-es"
                                        }, 
                                        {
                                            "name": "ES_PORT", 
                                            "value": "9200"
                                        }, 
                                        {
                                            "name": "KIBANA_MEMORY_LIMIT", 
                                            "valueFrom": {
                                                "resourceFieldRef": {
                                                    "containerName": "kibana", 
                                                    "divisor": "0", 
                                                    "resource": "limits.memory"
                                                }
                                            }
                                        }
                                    ], 
                                    "image": "172.30.176.187:5000/logging/logging-kibana:latest", 
                                    "imagePullPolicy": "Always", 
                                    "name": "kibana", 
                                    "readinessProbe": {
                                        "exec": {
                                            "command": [
                                                "/usr/share/kibana/probe/readiness.sh"
                                            ]
                                        }, 
                                        "failureThreshold": 3, 
                                        "initialDelaySeconds": 5, 
                                        "periodSeconds": 5, 
                                        "successThreshold": 1, 
                                        "timeoutSeconds": 4
                                    }, 
                                    "resources": {
                                        "limits": {
                                            "memory": "736Mi"
                                        }
                                    }, 
                                    "terminationMessagePath": "/dev/termination-log", 
                                    "terminationMessagePolicy": "File", 
                                    "volumeMounts": [
                                        {
                                            "mountPath": "/etc/kibana/keys", 
                                            "name": "kibana", 
                                            "readOnly": true
                                        }
                                    ]
                                }, 
                                {
                                    "env": [
                                        {
                                            "name": "OAP_BACKEND_URL", 
                                            "value": "http://localhost:5601"
                                        }, 
                                        {
                                            "name": "OAP_AUTH_MODE", 
                                            "value": "oauth2"
                                        }, 
                                        {
                                            "name": "OAP_TRANSFORM", 
                                            "value": "user_header,token_header"
                                        }, 
                                        {
                                            "name": "OAP_OAUTH_ID", 
                                            "value": "kibana-proxy"
                                        }, 
                                        {
                                            "name": "OAP_MASTER_URL", 
                                            "value": "https://kubernetes.default.svc.cluster.local"
                                        }, 
                                        {
                                            "name": "OAP_PUBLIC_MASTER_URL", 
                                            "value": "https://172.18.10.53:8443"
                                        }, 
                                        {
                                            "name": "OAP_LOGOUT_REDIRECT", 
                                            "value": "https://172.18.10.53:8443/console/logout"
                                        }, 
                                        {
                                            "name": "OAP_MASTER_CA_FILE", 
                                            "value": "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"
                                        }, 
                                        {
                                            "name": "OAP_DEBUG", 
                                            "value": "False"
                                        }, 
                                        {
                                            "name": "OAP_OAUTH_SECRET_FILE", 
                                            "value": "/secret/oauth-secret"
                                        }, 
                                        {
                                            "name": "OAP_SERVER_CERT_FILE", 
                                            "value": "/secret/server-cert"
                                        }, 
                                        {
                                            "name": "OAP_SERVER_KEY_FILE", 
                                            "value": "/secret/server-key"
                                        }, 
                                        {
                                            "name": "OAP_SERVER_TLS_FILE", 
                                            "value": "/secret/server-tls.json"
                                        }, 
                                        {
                                            "name": "OAP_SESSION_SECRET_FILE", 
                                            "value": "/secret/session-secret"
                                        }, 
                                        {
                                            "name": "OCP_AUTH_PROXY_MEMORY_LIMIT", 
                                            "valueFrom": {
                                                "resourceFieldRef": {
                                                    "containerName": "kibana-proxy", 
                                                    "divisor": "0", 
                                                    "resource": "limits.memory"
                                                }
                                            }
                                        }
                                    ], 
                                    "image": "172.30.176.187:5000/logging/logging-auth-proxy:latest", 
                                    "imagePullPolicy": "Always", 
                                    "name": "kibana-proxy", 
                                    "ports": [
                                        {
                                            "containerPort": 3000, 
                                            "name": "oaproxy", 
                                            "protocol": "TCP"
                                        }
                                    ], 
                                    "resources": {
                                        "limits": {
                                            "memory": "96Mi"
                                        }
                                    }, 
                                    "terminationMessagePath": "/dev/termination-log", 
                                    "terminationMessagePolicy": "File", 
                                    "volumeMounts": [
                                        {
                                            "mountPath": "/secret", 
                                            "name": "kibana-proxy", 
                                            "readOnly": true
                                        }
                                    ]
                                }
                            ], 
                            "dnsPolicy": "ClusterFirst", 
                            "restartPolicy": "Always", 
                            "schedulerName": "default-scheduler", 
                            "securityContext": {}, 
                            "serviceAccount": "aggregated-logging-kibana", 
                            "serviceAccountName": "aggregated-logging-kibana", 
                            "terminationGracePeriodSeconds": 30, 
                            "volumes": [
                                {
                                    "name": "kibana", 
                                    "secret": {
                                        "defaultMode": 420, 
                                        "secretName": "logging-kibana"
                                    }
                                }, 
                                {
                                    "name": "kibana-proxy", 
                                    "secret": {
                                        "defaultMode": 420, 
                                        "secretName": "logging-kibana-proxy"
                                    }
                                }
                            ]
                        }
                    }, 
                    "test": false, 
                    "triggers": [
                        {
                            "type": "ConfigChange"
                        }
                    ]
                }, 
                "status": {
                    "availableReplicas": 0, 
                    "conditions": [
                        {
                            "lastTransitionTime": "2017-06-09T00:44:03Z", 
                            "lastUpdateTime": "2017-06-09T00:44:03Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-09T00:44:03Z", 
                            "lastUpdateTime": "2017-06-09T00:44:03Z", 
                            "message": "replication controller \"logging-kibana-1\" is waiting for pod \"logging-kibana-1-deploy\" to run", 
                            "status": "Unknown", 
                            "type": "Progressing"
                        }
                    ], 
                    "details": {
                        "causes": [
                            {
                                "type": "ConfigChange"
                            }
                        ], 
                        "message": "config change"
                    }, 
                    "latestVersion": 1, 
                    "observedGeneration": 2, 
                    "replicas": 0, 
                    "unavailableReplicas": 0, 
                    "updatedReplicas": 0
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : Delete temp directory] ************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:228
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-MSBTuG", 
    "state": "absent"
}

TASK [openshift_logging : include_role] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:166
statically included: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/determine_version.yaml

TASK [openshift_logging_kibana : fail] *****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/determine_version.yaml:3
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/determine_version.yaml:7
ok: [openshift] => {
    "ansible_facts": {
        "kibana_version": "3_5"
    }, 
    "changed": false
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/determine_version.yaml:12
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_kibana : fail] *****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/determine_version.yaml:15
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_kibana : Create temp directory for doing work in] ******
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:7
ok: [openshift] => {
    "changed": false, 
    "cmd": [
        "mktemp", 
        "-d", 
        "/tmp/openshift-logging-ansible-XXXXXX"
    ], 
    "delta": "0:00:00.010002", 
    "end": "2017-06-08 20:44:05.755087", 
    "rc": 0, 
    "start": "2017-06-08 20:44:05.745085"
}

STDOUT:

/tmp/openshift-logging-ansible-OSlbj9

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:12
ok: [openshift] => {
    "ansible_facts": {
        "tempdir": "/tmp/openshift-logging-ansible-OSlbj9"
    }, 
    "changed": false
}

TASK [openshift_logging_kibana : Create templates subdirectory] ****************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:16
ok: [openshift] => {
    "changed": false, 
    "gid": 0, 
    "group": "root", 
    "mode": "0755", 
    "owner": "root", 
    "path": "/tmp/openshift-logging-ansible-OSlbj9/templates", 
    "secontext": "unconfined_u:object_r:user_tmp_t:s0", 
    "size": 6, 
    "state": "directory", 
    "uid": 0
}

TASK [openshift_logging_kibana : Create Kibana service account] ****************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:26
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_kibana : Create Kibana service account] ****************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:34
ok: [openshift] => {
    "changed": false, 
    "results": {
        "cmd": "/bin/oc get sa aggregated-logging-kibana -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "imagePullSecrets": [
                    {
                        "name": "aggregated-logging-kibana-dockercfg-x2jkw"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:43:55Z", 
                    "name": "aggregated-logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1367", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-kibana", 
                    "uid": "b7a90267-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-kibana-token-1wvhv"
                    }, 
                    {
                        "name": "aggregated-logging-kibana-dockercfg-x2jkw"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:42
ok: [openshift] => {
    "ansible_facts": {
        "kibana_component": "kibana-ops", 
        "kibana_name": "logging-kibana-ops"
    }, 
    "changed": false
}

TASK [openshift_logging_kibana : Retrieving the cert to use when generating secrets for the logging components] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:46
ok: [openshift] => (item={u'name': u'ca_file', u'file': u'ca.crt'}) => {
    "changed": false, 
    "content": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPVEF3TkRNd09Gb1hEVEl5TURZd09EQXdORE13T1ZvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQU1idExkbVd6aWluc3pCRmpjeWx4dURZUVhRcEpxU0w5OWYwNzZhaWxKbmYKR0pXbmRpVHpIZjIrcUVEd1lsZ2dxa3lPb0R6QlBQVE1vT0U5TERmTE9ydXh1TXN0clRqQzlDV0sySWx3YnlzTQpMWnZIVkJMeWMxRDFlUVd0UmhOdFZXOGNQM1lDQ0szTHBGMXdRVVRpdmJmckowdHo5V3FhbDJ6emhMSk5lWldkCnViWFN6MUJWRmFBbnhPc2V5ZFRuc0FlMmFmNC9nQkd1RC9ZNFBPeTlNKzY1SU5QVnBaRUNTb0Y5WjlveXgyK2cKTjNURzhOVHlweFQrZU9OVktwQTV4eEdaVW1wV1Q4Mjk0MnNLM1NscmYrOHhJMkJhRFluYms3RU5LVWRaNjY3dQpLeDg4RFBabm5zZzF6anJoQTRVZzZYWWhLV0pjdEVjQ2J3R0JoMkN6MDFzQ0F3RUFBYU1qTUNFd0RnWURWUjBQCkFRSC9CQVFEQWdLa01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFJTHEKbVkwVXJaQXNJdzRyNXBNam8yUzBKUVZ6cEdXOHE3eldZUHV5Y3dPd0pDUWVVb0pUOURsc1Y0aGtTM1V1MHM2WApyNDRGd0ZpemRzZEQ4aFFyV09TbXU4dDlOdTFjbHM1L2ZMV2l3UVNkYitXRDNKbWlGaVg2VGRRSmpDOVJhVWV0CnQxa2d3Nk5iSXYxbmJ6WEdzVW81Tm9WaDR1Zm4za0IrN0x3YndxQjM3cVFVTzJRVGVrZXZ6anl6MmE0RlZ0QUkKTWtWQ0FRNklTWW9XbVl5ZkdyQmVqbnNKcjdCVVBuVmwza3BlblZoUzU0enlncU91SWp4MldXVmJLUlkxdzhPRApaWHpyMWtBc2FONi9WbXdMUG10RjlKdHZFdHQrbHNGZ084SUhwRXJmalRRZmtacmJFUWcwcnluZjdsckhSWU5OCnRtK1pSSENsTzBWdW0ycUFWSHM9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K", 
    "encoding": "base64", 
    "item": {
        "file": "ca.crt", 
        "name": "ca_file"
    }, 
    "source": "/etc/origin/logging/ca.crt"
}
ok: [openshift] => (item={u'name': u'kibana_internal_key', u'file': u'kibana-internal.key'}) => {
    "changed": false, 
    "content": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcEFJQkFBS0NBUUVBc2RYdVpwdUlHd0wrOEo0TjRtZHRxOWJkamRVUVFvWUdRcG1sZEVsTWVFRXpONXh3Clh5ZGZ3RDYzcS8yQW1SNFE1T2cybDhBV3pwUVVhelBLekl5TEZQR0xPclJGVFR5eTU0a0lyckUxeWo3TGM5VDgKQloxd1FLbTNnbm80MWFVdnNKa0tYWUtuZzZYUkxhTk85ZnN6ZjZidXRsUVh2OHFVbVZDOU5GdWdCMlpNWWtrdwpKSlB5eVNXUnVsUTBCZGJHVllYR3FEeGRvaUt1NDdpSUdQU3Zla0Vzc3cwSUlGWjg1czFielJBVmp1N21WT0cyCk1KeEVJNlU1WDAxVWcyQkhWeW9uNmdRbFZlRDA0S09VbTc3ZlA1Z0dMRmd0MFZuN0xJT2NBTGMvQXBHeFAzNUwKcnNpNElZODJWTEZaNG04azYxNmhZT1ZNR0ZJQUh3RjVUMzdyUFFJREFRQUJBb0lCQVFDRktReWZWbHkrNVNwaQpuK2NEbmJDNFdHYURtb1BYWENYNTNyVE9jMGhJVDRIN1pTK2JnSThwRTQxU3dycDFiTmIzb0kyb2FaUnFVT1ZOCk5IWHBYbCtTYWg5MzhKNW43RWlHS00wUWllOGVKcEVQaGU3RWdaUVpSenY2L212cVJndUVyOFBjSzBZbHhKYnkKRm5POHFzRndGMTV0dG1BbUk1bkxoM0oxYnhwUUR0L1dUTTF4ZHhqQk80ZWVtQjFpK1NaK1M5elRiRU5FRGZneApHV2h1TjVvd2hXOFFiQ3g3ZjJib3NjMDVtZWF2bGZaSUY0ZnpEWHJJY1JORHBOQlpOQVRBNlhTYmd1VDcwbmhICjFuQjZuVXQ2RnptV1BnTW8vV0RTcGNIU1lQZ0Q5WkhZWDhRS2pMbnowRHdqdGhiVzRkcGU0M1g4YkMxWm03VFkKdVFudlZqekJBb0dCQU9sa1hTZThkKzZGWlZZa3RwWWVmbWJWRmwvVUlLNlpPbXYwVTV6bGRXTTQ3WHN6Y21OZAoyMS9HMElDVmdqc0lMdGE4STR6SzllamVNYTFHVTI5emdYZzJqTjNWVVRiUnlhbEpqakdrWW95dHBVRDF2WHNmCkVENVcvV09EdEQ3d0JqdE41UHQycElidWR4ZWV0cmUvc1V3QXo0ekJLYlZtMjROWmUwaHhPSytSQW9HQkFNTVAKNHBJd2Nibm5ZZGp5TXJ0SXBseE5NSUllOVFlTGtiV3BMSTlPTDVHVEJIbDB2SVYrRGNlWXF1V1o5TmN2WkpZaQpzZGJ3UnRMWmJKNzVIZ1B2TjQwSUxaOXhNdjAyaEJyaitBL1B2YWZVZytRRlV2U2tGZGU3T1VyZ1pZRnBNUCttClZZZkdsSEZpSGVKNm1lV1pORlZVd3dEU2FEaXh2VEZCNFlMbU1VTHRBb0dBVnBrcnkzdXQwRzNrbk9NQWNKRWQKKzQvalBtbGFPdzZWMDhxVFg2cndOSUhCOUMyeHF0Yi9kL2t3RWhYbmZYbmF6MGg5dEZiMmlaSXdRb2ZPbTVMegpIaVMzZmZRUnIxS0dEZTlCK0g5ekpabWtzSWE5Nkxvczc4U2RQbGgyLzhkVnVKbDlkaVNlaFlaajMvcSs5MDBFClB4d3A1cU1oazdKM2pyUWIvMVFyWVZFQ2dZQlpOZW1rZkgxMnpZamxwSmRwS2lmVHJRWFRiUDhaalU1OXE3cVMKYStxN2hHYVdlYnBDdjB6a0RVR1RzcDdVejNzTVl4KzhzclZoZDBrRFIrSGZZTWVpTzZ4SjhJYW1ZZ2wzRnUzNwpwVUlUQU5HMU5tNGpMdXhDZHdFVDZwN2gyYzhzRE5HdlFEWGh5VUxyc3JDeDNpaWVJaDd4UUVta0xEM2Z5a2F1CkRFTlpYUUtCZ1FDYldiODN3UUVLV1Y5OXd5UUoxNHplNU4wVmxZcGtIU3RFTVlKQ0xhZTBQc2JCVlpBU0tjOUEKVUFEUU5paDhoWGlHbDNXSUpQcnZIQWVXcVY4S1pGUlIwajdZTFZnVithTGhva1BnVmxXSVp0N1Z4QTdNc2ozNgp2R2J6WGJGZllSVC9GK2JLdk8zSWlleWprVTR0WFZSNXJyd0xrRzMycU5UUDFSWSt4THdYTmc9PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=", 
    "encoding": "base64", 
    "item": {
        "file": "kibana-internal.key", 
        "name": "kibana_internal_key"
    }, 
    "source": "/etc/origin/logging/kibana-internal.key"
}
ok: [openshift] => (item={u'name': u'kibana_internal_cert', u'file': u'kibana-internal.crt'}) => {
    "changed": false, 
    "content": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURUakNDQWphZ0F3SUJBZ0lCQWpBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPVEF3TkRNeE1Gb1hEVEU1TURZd09UQXdORE14TVZvdwpGakVVTUJJR0ExVUVBeE1MSUd0cFltRnVZUzF2Y0hNd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJEd0F3CmdnRUtBb0lCQVFDeDFlNW1tNGdiQXY3d25nM2laMjJyMXQyTjFSQkNoZ1pDbWFWMFNVeDRRVE0zbkhCZkoxL0EKUHJlci9ZQ1pIaERrNkRhWHdCYk9sQlJyTThyTWpJc1U4WXM2dEVWTlBMTG5pUWl1c1RYS1BzdHoxUHdGblhCQQpxYmVDZWpqVnBTK3dtUXBkZ3FlRHBkRXRvMDcxK3pOL3B1NjJWQmUveXBTWlVMMDBXNkFIWmt4aVNUQWtrL0xKCkpaRzZWRFFGMXNaVmhjYW9QRjJpSXE3anVJZ1k5Szk2UVN5ekRRZ2dWbnptelZ2TkVCV083dVpVNGJZd25FUWoKcFRsZlRWU0RZRWRYS2lmcUJDVlY0UFRnbzVTYnZ0OC9tQVlzV0MzUldmc3NnNXdBdHo4Q2tiRS9ma3V1eUxnaApqelpVc1ZuaWJ5VHJYcUZnNVV3WVVnQWZBWGxQZnVzOUFnTUJBQUdqZ1o0d2dac3dEZ1lEVlIwUEFRSC9CQVFECkFnV2dNQk1HQTFVZEpRUU1NQW9HQ0NzR0FRVUZCd01CTUF3R0ExVWRFd0VCL3dRQ01BQXdaZ1lEVlIwUkJGOHcKWFlJTElHdHBZbUZ1WVMxdmNIT0NMQ0JyYVdKaGJtRXRiM0J6TG5KdmRYUmxjaTVrWldaaGRXeDBMbk4yWXk1agpiSFZ6ZEdWeUxteHZZMkZzZ2hnZ2EybGlZVzVoTGpFeU55NHdMakF1TVM1NGFYQXVhVytDQm10cFltRnVZVEFOCkJna3Foa2lHOXcwQkFRc0ZBQU9DQVFFQWM0NXp5MExISHYrUHFXV0pDY2hRNk0rZXBDcjArejJlTEdWMzhVREQKbVBabm1DR3AwQkxxQmVseTV1WkI0TzNNSFl2TlprM0pkZmordGVkK29Ea1Z3Yjg4c0ovdFhqK3pMZTZEcW9sRAp5cnlYZFl6SVBwdkV3WnFYR0tFajI5Uy9tZkxTRWRsVE5lT3UyL0E1alI4UUdScWpRaGptUDUvS0ROTjd3VHpGCmtPU2x1cmQzZEVrbFhqcUZWYmpndGlEOElUUEt1RW9GRDl6RTFPT0VVcmliUmp3Y21aRFIvcStpbzhhSlgxOEYKM2IzWTZaMGY1WmYyVU5FSy80bEo2SW1XWkVKbFFtdElBT1ZzWEZVUmdYQXlDa2NFRzI0c0lvVk1ma3kvY1FzWgpFRklkYVdITUVablhlTGt2YkFBRllDVHQxVWJiMEFjTWU5RlF6MzZRV05McWp3PT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQotLS0tLUJFR0lOIENFUlRJRklDQVRFLS0tLS0KTUlJQzJqQ0NBY0tnQXdJQkFnSUJBVEFOQmdrcWhraUc5dzBCQVFzRkFEQWVNUnd3R2dZRFZRUURFeE5zYjJkbgphVzVuTFhOcFoyNWxjaTEwWlhOME1CNFhEVEUzTURZd09UQXdORE13T0ZvWERUSXlNRFl3T0RBd05ETXdPVm93CkhqRWNNQm9HQTFVRUF4TVRiRzluWjJsdVp5MXphV2R1WlhJdGRHVnpkRENDQVNJd0RRWUpLb1pJaHZjTkFRRUIKQlFBRGdnRVBBRENDQVFvQ2dnRUJBTWJ0TGRtV3ppaW5zekJGamN5bHh1RFlRWFFwSnFTTDk5ZjA3NmFpbEpuZgpHSlduZGlUekhmMitxRUR3WWxnZ3FreU9vRHpCUFBUTW9PRTlMRGZMT3J1eHVNc3RyVGpDOUNXSzJJbHdieXNNCkxadkhWQkx5YzFEMWVRV3RSaE50Vlc4Y1AzWUNDSzNMcEYxd1FVVGl2YmZySjB0ejlXcWFsMnp6aExKTmVaV2QKdWJYU3oxQlZGYUFueE9zZXlkVG5zQWUyYWY0L2dCR3VEL1k0UE95OU0rNjVJTlBWcFpFQ1NvRjlaOW95eDIrZwpOM1RHOE5UeXB4VCtlT05WS3BBNXh4R1pVbXBXVDgyOTQyc0szU2xyZis4eEkyQmFEWW5iazdFTktVZFo2Njd1Ckt4ODhEUFpubnNnMXpqcmhBNFVnNlhZaEtXSmN0RWNDYndHQmgyQ3owMXNDQXdFQUFhTWpNQ0V3RGdZRFZSMFAKQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCL3dRRk1BTUJBZjh3RFFZSktvWklodmNOQVFFTEJRQURnZ0VCQUlMcQptWTBVclpBc0l3NHI1cE1qbzJTMEpRVnpwR1c4cTd6V1lQdXljd093SkNRZVVvSlQ5RGxzVjRoa1MzVXUwczZYCnI0NEZ3Rml6ZHNkRDhoUXJXT1NtdTh0OU51MWNsczUvZkxXaXdRU2RiK1dEM0ptaUZpWDZUZFFKakM5UmFVZXQKdDFrZ3c2TmJJdjFuYnpYR3NVbzVOb1ZoNHVmbjNrQis3THdid3FCMzdxUVVPMlFUZWtldnpqeXoyYTRGVnRBSQpNa1ZDQVE2SVNZb1dtWXlmR3JCZWpuc0pyN0JVUG5WbDNrcGVuVmhTNTR6eWdxT3VJangyV1dWYktSWTF3OE9EClpYenIxa0FzYU42L1Ztd0xQbXRGOUp0dkV0dCtsc0ZnTzhJSHBFcmZqVFFma1pyYkVRZzByeW5mN2xySFJZTk4KdG0rWlJIQ2xPMFZ1bTJxQVZIcz0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=", 
    "encoding": "base64", 
    "item": {
        "file": "kibana-internal.crt", 
        "name": "kibana_internal_cert"
    }, 
    "source": "/etc/origin/logging/kibana-internal.crt"
}
ok: [openshift] => (item={u'name': u'server_tls', u'file': u'server-tls.json'}) => {
    "changed": false, 
    "content": "Ly8gU2VlIGZvciBhdmFpbGFibGUgb3B0aW9uczogaHR0cHM6Ly9ub2RlanMub3JnL2FwaS90bHMuaHRtbCN0bHNfdGxzX2NyZWF0ZXNlcnZlcl9vcHRpb25zX3NlY3VyZWNvbm5lY3Rpb25saXN0ZW5lcgp0bHNfb3B0aW9ucyA9IHsKCWNpcGhlcnM6ICdrRUVDREg6K2tFRUNESCtTSEE6a0VESDora0VESCtTSEE6K2tFREgrQ0FNRUxMSUE6a0VDREg6K2tFQ0RIK1NIQTprUlNBOitrUlNBK1NIQTora1JTQStDQU1FTExJQTohYU5VTEw6IWVOVUxMOiFTU0x2MjohUkM0OiFERVM6IUVYUDohU0VFRDohSURFQTorM0RFUycsCglob25vckNpcGhlck9yZGVyOiB0cnVlCn0K", 
    "encoding": "base64", 
    "item": {
        "file": "server-tls.json", 
        "name": "server_tls"
    }, 
    "source": "/etc/origin/logging/server-tls.json"
}

TASK [openshift_logging_kibana : Set logging-kibana-ops service] ***************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:57
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.139.191", 
        "cmd": "/bin/oc get service logging-kibana-ops -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:44:09Z", 
                    "name": "logging-kibana-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1431", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-kibana-ops", 
                    "uid": "bfa993aa-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "spec": {
                    "clusterIP": "172.30.139.191", 
                    "ports": [
                        {
                            "port": 443, 
                            "protocol": "TCP", 
                            "targetPort": "oaproxy"
                        }
                    ], 
                    "selector": {
                        "component": "kibana-ops", 
                        "provider": "openshift"
                    }, 
                    "sessionAffinity": "None", 
                    "type": "ClusterIP"
                }, 
                "status": {
                    "loadBalancer": {}
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:74
 [WARNING]: when statements should not include jinja2 templating delimiters
such as {{ }} or {% %}. Found: {{ openshift_logging_kibana_key | trim | length
> 0 }}
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:79
 [WARNING]: when statements should not include jinja2 templating delimiters
such as {{ }} or {% %}. Found: {{ openshift_logging_kibana_cert | trim | length
> 0 }}
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:84
 [WARNING]: when statements should not include jinja2 templating delimiters
such as {{ }} or {% %}. Found: {{ openshift_logging_kibana_ca | trim | length >
0 }}
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:89
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_kibana : Generating Kibana route template] *************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:94
ok: [openshift] => {
    "changed": false, 
    "checksum": "f8bd608712fc646c79f8b5761ad77bb40c3824d1", 
    "dest": "/tmp/openshift-logging-ansible-OSlbj9/templates/kibana-route.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "b61a0666f3539a07071647bd06cd4f62", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 2726, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969050.03-269391108372472/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_kibana : Setting Kibana route] *************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:114
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get route logging-kibana-ops -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Route", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:44:11Z", 
                    "labels": {
                        "component": "support", 
                        "logging-infra": "support", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-kibana-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1450", 
                    "selfLink": "/oapi/v1/namespaces/logging/routes/logging-kibana-ops", 
                    "uid": "c106b3c8-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "spec": {
                    "host": "kibana-ops.router.default.svc.cluster.local", 
                    "tls": {
                        "caCertificate": "-----BEGIN CERTIFICATE-----\nMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dn\naW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwOTAwNDMwOFoXDTIyMDYwODAwNDMwOVow\nHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEB\nBQADggEPADCCAQoCggEBAMbtLdmWziinszBFjcylxuDYQXQpJqSL99f076ailJnf\nGJWndiTzHf2+qEDwYlggqkyOoDzBPPTMoOE9LDfLOruxuMstrTjC9CWK2IlwbysM\nLZvHVBLyc1D1eQWtRhNtVW8cP3YCCK3LpF1wQUTivbfrJ0tz9Wqal2zzhLJNeZWd\nubXSz1BVFaAnxOseydTnsAe2af4/gBGuD/Y4POy9M+65INPVpZECSoF9Z9oyx2+g\nN3TG8NTypxT+eONVKpA5xxGZUmpWT82942sK3Slrf+8xI2BaDYnbk7ENKUdZ667u\nKx88DPZnnsg1zjrhA4Ug6XYhKWJctEcCbwGBh2Cz01sCAwEAAaMjMCEwDgYDVR0P\nAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAILq\nmY0UrZAsIw4r5pMjo2S0JQVzpGW8q7zWYPuycwOwJCQeUoJT9DlsV4hkS3Uu0s6X\nr44FwFizdsdD8hQrWOSmu8t9Nu1cls5/fLWiwQSdb+WD3JmiFiX6TdQJjC9RaUet\nt1kgw6NbIv1nbzXGsUo5NoVh4ufn3kB+7LwbwqB37qQUO2QTekevzjyz2a4FVtAI\nMkVCAQ6ISYoWmYyfGrBejnsJr7BUPnVl3kpenVhS54zygqOuIjx2WWVbKRY1w8OD\nZXzr1kAsaN6/VmwLPmtF9JtvEtt+lsFgO8IHpErfjTQfkZrbEQg0rynf7lrHRYNN\ntm+ZRHClO0Vum2qAVHs=\n-----END CERTIFICATE-----\n", 
                        "destinationCACertificate": "-----BEGIN CERTIFICATE-----\nMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dn\naW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwOTAwNDMwOFoXDTIyMDYwODAwNDMwOVow\nHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEB\nBQADggEPADCCAQoCggEBAMbtLdmWziinszBFjcylxuDYQXQpJqSL99f076ailJnf\nGJWndiTzHf2+qEDwYlggqkyOoDzBPPTMoOE9LDfLOruxuMstrTjC9CWK2IlwbysM\nLZvHVBLyc1D1eQWtRhNtVW8cP3YCCK3LpF1wQUTivbfrJ0tz9Wqal2zzhLJNeZWd\nubXSz1BVFaAnxOseydTnsAe2af4/gBGuD/Y4POy9M+65INPVpZECSoF9Z9oyx2+g\nN3TG8NTypxT+eONVKpA5xxGZUmpWT82942sK3Slrf+8xI2BaDYnbk7ENKUdZ667u\nKx88DPZnnsg1zjrhA4Ug6XYhKWJctEcCbwGBh2Cz01sCAwEAAaMjMCEwDgYDVR0P\nAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAILq\nmY0UrZAsIw4r5pMjo2S0JQVzpGW8q7zWYPuycwOwJCQeUoJT9DlsV4hkS3Uu0s6X\nr44FwFizdsdD8hQrWOSmu8t9Nu1cls5/fLWiwQSdb+WD3JmiFiX6TdQJjC9RaUet\nt1kgw6NbIv1nbzXGsUo5NoVh4ufn3kB+7LwbwqB37qQUO2QTekevzjyz2a4FVtAI\nMkVCAQ6ISYoWmYyfGrBejnsJr7BUPnVl3kpenVhS54zygqOuIjx2WWVbKRY1w8OD\nZXzr1kAsaN6/VmwLPmtF9JtvEtt+lsFgO8IHpErfjTQfkZrbEQg0rynf7lrHRYNN\ntm+ZRHClO0Vum2qAVHs=\n-----END CERTIFICATE-----\n", 
                        "insecureEdgeTerminationPolicy": "Redirect", 
                        "termination": "reencrypt"
                    }, 
                    "to": {
                        "kind": "Service", 
                        "name": "logging-kibana-ops", 
                        "weight": 100
                    }, 
                    "wildcardPolicy": "None"
                }, 
                "status": {
                    "ingress": [
                        {
                            "conditions": [
                                {
                                    "lastTransitionTime": "2017-06-09T00:44:11Z", 
                                    "status": "True", 
                                    "type": "Admitted"
                                }
                            ], 
                            "host": "kibana-ops.router.default.svc.cluster.local", 
                            "routerName": "router", 
                            "wildcardPolicy": "None"
                        }
                    ]
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : Generate proxy session] ***********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:125
ok: [openshift] => {
    "ansible_facts": {
        "session_secret": "G65IAD1BgT6TQMQHenTTE3ryJ7YlnLWkfk9ueDblNVwY9Z4zUNj7J16wpkwyAtRiNGjXLIBPYPABcRjLqq3NhId7191Lej2RvJlZdSrpfeWnKrGBNpgs6nTxr0EqsRDwZ9TTLaAUO6yX7jYCqTnTaSANE3VDnSThwCJIsxom7JiHJDTYtTp7xcVyUsOdohtGjJ1UQMNr"
    }, 
    "changed": false
}

TASK [openshift_logging_kibana : Generate oauth client secret] *****************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:132
ok: [openshift] => {
    "ansible_facts": {
        "oauth_secret": "H1JYywO0F3KJwQNmdih4IS9VHL2gIwPZcDcEMKbnweJnsT794ndhKdS906Y175Ab"
    }, 
    "changed": false
}

TASK [openshift_logging_kibana : Create oauth-client template] *****************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:138
changed: [openshift] => {
    "changed": true, 
    "checksum": "d3df1278132359176537868d0dd3cb6d3e4ca966", 
    "dest": "/tmp/openshift-logging-ansible-OSlbj9/templates/oauth-client.yml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "c69ba36ff5cb74e3e503ea132a66dc73", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 332, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969051.95-191393022993840/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_kibana : Set kibana-proxy oauth-client] ****************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:146
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get oauthclient kibana-proxy -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "OAuthClient", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:44:00Z", 
                    "labels": {
                        "logging-infra": "support"
                    }, 
                    "name": "kibana-proxy", 
                    "resourceVersion": "1455", 
                    "selfLink": "/oapi/v1/oauthclients/kibana-proxy", 
                    "uid": "baadd3c9-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "redirectURIs": [
                    "https://kibana-ops.router.default.svc.cluster.local"
                ], 
                "scopeRestrictions": [
                    {
                        "literals": [
                            "user:info", 
                            "user:check-access", 
                            "user:list-projects"
                        ]
                    }
                ], 
                "secret": "H1JYywO0F3KJwQNmdih4IS9VHL2gIwPZcDcEMKbnweJnsT794ndhKdS906Y175Ab"
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : Set Kibana secret] ****************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:157
ok: [openshift] => {
    "changed": false, 
    "results": {
        "apiVersion": "v1", 
        "data": {
            "ca": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPVEF3TkRNd09Gb1hEVEl5TURZd09EQXdORE13T1ZvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQU1idExkbVd6aWluc3pCRmpjeWx4dURZUVhRcEpxU0w5OWYwNzZhaWxKbmYKR0pXbmRpVHpIZjIrcUVEd1lsZ2dxa3lPb0R6QlBQVE1vT0U5TERmTE9ydXh1TXN0clRqQzlDV0sySWx3YnlzTQpMWnZIVkJMeWMxRDFlUVd0UmhOdFZXOGNQM1lDQ0szTHBGMXdRVVRpdmJmckowdHo5V3FhbDJ6emhMSk5lWldkCnViWFN6MUJWRmFBbnhPc2V5ZFRuc0FlMmFmNC9nQkd1RC9ZNFBPeTlNKzY1SU5QVnBaRUNTb0Y5WjlveXgyK2cKTjNURzhOVHlweFQrZU9OVktwQTV4eEdaVW1wV1Q4Mjk0MnNLM1NscmYrOHhJMkJhRFluYms3RU5LVWRaNjY3dQpLeDg4RFBabm5zZzF6anJoQTRVZzZYWWhLV0pjdEVjQ2J3R0JoMkN6MDFzQ0F3RUFBYU1qTUNFd0RnWURWUjBQCkFRSC9CQVFEQWdLa01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFJTHEKbVkwVXJaQXNJdzRyNXBNam8yUzBKUVZ6cEdXOHE3eldZUHV5Y3dPd0pDUWVVb0pUOURsc1Y0aGtTM1V1MHM2WApyNDRGd0ZpemRzZEQ4aFFyV09TbXU4dDlOdTFjbHM1L2ZMV2l3UVNkYitXRDNKbWlGaVg2VGRRSmpDOVJhVWV0CnQxa2d3Nk5iSXYxbmJ6WEdzVW81Tm9WaDR1Zm4za0IrN0x3YndxQjM3cVFVTzJRVGVrZXZ6anl6MmE0RlZ0QUkKTWtWQ0FRNklTWW9XbVl5ZkdyQmVqbnNKcjdCVVBuVmwza3BlblZoUzU0enlncU91SWp4MldXVmJLUlkxdzhPRApaWHpyMWtBc2FONi9WbXdMUG10RjlKdHZFdHQrbHNGZ084SUhwRXJmalRRZmtacmJFUWcwcnluZjdsckhSWU5OCnRtK1pSSENsTzBWdW0ycUFWSHM9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K", 
            "cert": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURSVENDQWkyZ0F3SUJBZ0lCQXpBTkJna3Foa2lHOXcwQkFRVUZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPVEF3TkRNeE5Gb1hEVEU1TURZd09UQXdORE14TkZvdwpSakVRTUE0R0ExVUVDZ3dIVEc5bloybHVaekVTTUJBR0ExVUVDd3dKVDNCbGJsTm9hV1owTVI0d0hBWURWUVFECkRCVnplWE4wWlcwdWJHOW5aMmx1Wnk1cmFXSmhibUV3Z2dFaU1BMEdDU3FHU0liM0RRRUJBUVVBQTRJQkR3QXcKZ2dFS0FvSUJBUURqM3lWWnFYako5N2lZMzhtK0pyVjg3SmwybXdHSXIwK2cwaWljNksvS2Vqd3NTMGdrUjBhUgpsR0JEbTB6SzVaeE9LRzRtK1NDZ3FWYWpRYmorSU5XbW1Uc2IvOE91ekFKdGE1bWRGUXhMekVBYlNocTh5NjlPCmV6ekQyMEdURHBhVjlBTGFTWmVrb3l6TjZvOTlGaHJEdzRGR1cybTl4Ym41SUVBUHg0alAvejVTaytIbFlCd1oKREJIRTVXdlFvZVpXZENGdUh6U0F1eW16d3VTSTd6aEx6YXNYVzVjSXQ1aWJ3dTN2MjZWdStQRmIzS2ZIRjNkWgoxMFFWbHJYcUJmcnZwSDZwWXhyZklFL0xrVmJPRlZoNCs4bzIrS1JzU3F4K2NvMWd2eXUxdzM5c0l1dk0reGJLClk3RVRheFJUaXJpbVNUWDM0d0xrclAvWkdIQVdVSHA1QWdNQkFBR2paakJrTUE0R0ExVWREd0VCL3dRRUF3SUYKb0RBSkJnTlZIUk1FQWpBQU1CMEdBMVVkSlFRV01CUUdDQ3NHQVFVRkJ3TUJCZ2dyQmdFRkJRY0RBakFkQmdOVgpIUTRFRmdRVXBQYVphQmNQUHYxYlkvbi9QOE8yamRDQXZNNHdDUVlEVlIwakJBSXdBREFOQmdrcWhraUc5dzBCCkFRVUZBQU9DQVFFQXBXdHBVZzBHVU1hNWRZb3hMYmN6UzNtbk5sZ0ZpU3pxUVlFRDQ1YXpWek41cCtYb2poYWoKN21tNWRaZ052WC9CT24yYXhJKzE4bitIeHVMRDRwUFZNbm14ZVRWdzJ3dVBvaUMxYWQ0eExPRlJydWtscGw4bAovUVhWcUpsYUJkM1pTTjlXZVliNktrR1FSakE2dWRiM2c0Rk11Ym82QjFBU1hualNkUU1PTUVhb3g4VExHaTdwCnJZNDQ5UVk1STRHazNHSDByMGw4Y2FoQWZ5eTJKR2pzdlYwNnJpYzEzaUh2U2hUcjdCOEdLd1pPZzRDU3FtL1oKWEtmRVhNUFJyVHF4ZXVmWjR4eitCL3JXanJLZFo5Qld5TURya21TZlpYSkRNV3p5YXR3UlNrYzdtcUVSc2x4dQphcmZ4UFdzTXVPcEFlUFFORU41SXRhcjVFOGsyKzlkN0R3PT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=", 
            "key": "LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUV2Z0lCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktnd2dnU2tBZ0VBQW9JQkFRRGozeVZacVhqSjk3aVkKMzhtK0pyVjg3SmwybXdHSXIwK2cwaWljNksvS2Vqd3NTMGdrUjBhUmxHQkRtMHpLNVp4T0tHNG0rU0NncVZhagpRYmorSU5XbW1Uc2IvOE91ekFKdGE1bWRGUXhMekVBYlNocTh5NjlPZXp6RDIwR1REcGFWOUFMYVNaZWtveXpOCjZvOTlGaHJEdzRGR1cybTl4Ym41SUVBUHg0alAvejVTaytIbFlCd1pEQkhFNVd2UW9lWldkQ0Z1SHpTQXV5bXoKd3VTSTd6aEx6YXNYVzVjSXQ1aWJ3dTN2MjZWdStQRmIzS2ZIRjNkWjEwUVZsclhxQmZydnBINnBZeHJmSUUvTAprVmJPRlZoNCs4bzIrS1JzU3F4K2NvMWd2eXUxdzM5c0l1dk0reGJLWTdFVGF4UlRpcmltU1RYMzR3TGtyUC9aCkdIQVdVSHA1QWdNQkFBRUNnZ0VBYWxuTU9kT2h2MGx4aTAvdS9XTmRrdWR1SEcvdHdGaHA1cG9QUUdSTkgwZjcKYTRUYkw2dGdZVE9KMWlQV0xHQUxtbUsrUGt4SmtSSlhrQ3h0WlpYM2dTREUrS1ZmTSthZFAycFhzSHVSV0pNRQpYSGd5a0dqVDhlSU1rekJ5bzJyTWwwSGlUdlRINUp3UG5pOWFOcndwVTdLY1ZEVDMzZzA1WmU5S1Z0TCtwR3dQCmNrZVl6ZVIvVUhscUprTjVBbUYzbi9TS1d3NS9SbWdmbDRhclBrREljVUFTQzJxYUo4aHdoN081SlpmQ2YrVUUKWm5UU3FraDZlTENVZzl0elFvcFkwRk5tTDdEOGowbGVqUlJNOXdya3UwRzFtdTZWK2ZtVWsrSHhKSU5xb1NoQwpUWlk0VUpOSTlCUUxBcVk1UllobFNLVDdnOTFrem10RVhPak1XVnlPTVFLQmdRRCtCLzZDUjAyeStEa0ZYQWdzCm5iVzJVekdjYW1kWkVsRUcrNVJudTlKb2V2WjQzUjk2Tk9zaXVJS2d5dnhzV0ZKZ1NXcnpDcFdzd3NpWlpVWS8KVVV1NE4wK0V4eXNHNGVtWlp4MTRGZzFaOWsrbExsSndSRWg4TDN5bGpzZ3UrMHpsVDcwMDRBMmZrRk1rQ25GbgpmRUMyUUNkUDJibmx1ZW1uZzJmSkZOLytCUUtCZ1FEbG8wQVdQdWhMRXNZd0JsdUtsOTB1VFVNZW5jRENkUkxNCmwxWlVIZzN1NkpCbFF0TXYyU0FITElJRlBRa2pGRlAwNGpFVll5S3l5UjJCR01BRk1HTXdaTGZaazQxUjdoVUcKdklzblhTV3pIYmt2Zy9jQkd3ZnpZZW5OalhyMUZ5eUhCNVBzZSt6TytHZkpROXB1cGhRdGh1bnVKVUFaZWtYNgpweFV2ZW4xQTVRS0JnUUNhRGI4S3dyTWNGZXgrazVGaGZVTDFqdjVISFVBUGhFd2ZML0tQOWhkanhTNHpuZVc0Cjl0Nmg3OE5JUDlGVTR6c1JxWFJ5YjdqVlRFcmF1OUFlRmU4VmlIVncwRmdIbEhsVnpuTFFvSTc0UDZlTlJNbzUKeXk4cUlLSTJ4S0FoM2NTRVRCY3lPYTRKVmowVlhqL253ako4VSt1RFFVYTdTa09va3NnZDZjcnRBUUtCZ1FDdwpXMWFOZnhSeEMyTVBZT0tPcHFDanZZeHRoK09Rczg2VE55cUNnVzViNjFseG13ZUxlS21ET09oRjA2RWZ3cTNUCnBKN2plUFlkN2h4dGw2OW9qTWV3VTdscUxFcGRBSVkvWFM5Vk5ORU9KU2FpV2l1cE9yUTVjeG5XMWUvM0tDdjMKSzVlc0IyUlBjekJwdm1XVGtwSnVnRzFKaW13VzVQTzNVdmdQTlhmYURRS0JnSGtnMXl4b3BIWHJNcUVHTTFxZgpGUG9WSDdmcnRyMjVyZTlBdTJhSXE5cE5UelZYaE5WUVJCb1FWZWlEREd5a3BhSlA4NHc4Mk54NnNKSSs3Qlp6ClVxbHBqTHhiUjc2WlVKTURBNEYvd1FEWGZ5VTduZ2IrK0k2VGxkaVU4aWk1MG84MU1ZT1Jvb2JtdUhKVUhMYmUKU1I5Yms0bm1wMXdFaTFWL3cvc2tORmF2Ci0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K"
        }, 
        "kind": "Secret", 
        "metadata": {
            "creationTimestamp": null, 
            "name": "logging-kibana"
        }, 
        "type": "Opaque"
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : Set Kibana Proxy secret] **********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:171
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc replace -f /tmp/logging-kibana-proxy -n logging", 
        "results": "", 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : Generate Kibana DC template] ******************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:197
changed: [openshift] => {
    "changed": true, 
    "checksum": "0650b9d96a29a6bc6713bf7c6320b6df7417d521", 
    "dest": "/tmp/openshift-logging-ansible-OSlbj9/templates/kibana-dc.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "d89cf31f1f6988830a2ff3716b9ef1c3", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 3763, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969055.46-153919894689607/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_kibana : Set Kibana DC] ********************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:216
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get dc logging-kibana-ops -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "DeploymentConfig", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:44:16Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "kibana-ops", 
                        "logging-infra": "kibana", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-kibana-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1478", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-kibana-ops", 
                    "uid": "c41596f8-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "spec": {
                    "replicas": 1, 
                    "selector": {
                        "component": "kibana-ops", 
                        "logging-infra": "kibana", 
                        "provider": "openshift"
                    }, 
                    "strategy": {
                        "activeDeadlineSeconds": 21600, 
                        "resources": {}, 
                        "rollingParams": {
                            "intervalSeconds": 1, 
                            "maxSurge": "25%", 
                            "maxUnavailable": "25%", 
                            "timeoutSeconds": 600, 
                            "updatePeriodSeconds": 1
                        }, 
                        "type": "Rolling"
                    }, 
                    "template": {
                        "metadata": {
                            "creationTimestamp": null, 
                            "labels": {
                                "component": "kibana-ops", 
                                "logging-infra": "kibana", 
                                "provider": "openshift"
                            }, 
                            "name": "logging-kibana-ops"
                        }, 
                        "spec": {
                            "containers": [
                                {
                                    "env": [
                                        {
                                            "name": "ES_HOST", 
                                            "value": "logging-es-ops"
                                        }, 
                                        {
                                            "name": "ES_PORT", 
                                            "value": "9200"
                                        }, 
                                        {
                                            "name": "KIBANA_MEMORY_LIMIT", 
                                            "valueFrom": {
                                                "resourceFieldRef": {
                                                    "containerName": "kibana", 
                                                    "divisor": "0", 
                                                    "resource": "limits.memory"
                                                }
                                            }
                                        }
                                    ], 
                                    "image": "172.30.176.187:5000/logging/logging-kibana:latest", 
                                    "imagePullPolicy": "Always", 
                                    "name": "kibana", 
                                    "readinessProbe": {
                                        "exec": {
                                            "command": [
                                                "/usr/share/kibana/probe/readiness.sh"
                                            ]
                                        }, 
                                        "failureThreshold": 3, 
                                        "initialDelaySeconds": 5, 
                                        "periodSeconds": 5, 
                                        "successThreshold": 1, 
                                        "timeoutSeconds": 4
                                    }, 
                                    "resources": {
                                        "limits": {
                                            "memory": "736Mi"
                                        }
                                    }, 
                                    "terminationMessagePath": "/dev/termination-log", 
                                    "terminationMessagePolicy": "File", 
                                    "volumeMounts": [
                                        {
                                            "mountPath": "/etc/kibana/keys", 
                                            "name": "kibana", 
                                            "readOnly": true
                                        }
                                    ]
                                }, 
                                {
                                    "env": [
                                        {
                                            "name": "OAP_BACKEND_URL", 
                                            "value": "http://localhost:5601"
                                        }, 
                                        {
                                            "name": "OAP_AUTH_MODE", 
                                            "value": "oauth2"
                                        }, 
                                        {
                                            "name": "OAP_TRANSFORM", 
                                            "value": "user_header,token_header"
                                        }, 
                                        {
                                            "name": "OAP_OAUTH_ID", 
                                            "value": "kibana-proxy"
                                        }, 
                                        {
                                            "name": "OAP_MASTER_URL", 
                                            "value": "https://kubernetes.default.svc.cluster.local"
                                        }, 
                                        {
                                            "name": "OAP_PUBLIC_MASTER_URL", 
                                            "value": "https://172.18.10.53:8443"
                                        }, 
                                        {
                                            "name": "OAP_LOGOUT_REDIRECT", 
                                            "value": "https://172.18.10.53:8443/console/logout"
                                        }, 
                                        {
                                            "name": "OAP_MASTER_CA_FILE", 
                                            "value": "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"
                                        }, 
                                        {
                                            "name": "OAP_DEBUG", 
                                            "value": "False"
                                        }, 
                                        {
                                            "name": "OAP_OAUTH_SECRET_FILE", 
                                            "value": "/secret/oauth-secret"
                                        }, 
                                        {
                                            "name": "OAP_SERVER_CERT_FILE", 
                                            "value": "/secret/server-cert"
                                        }, 
                                        {
                                            "name": "OAP_SERVER_KEY_FILE", 
                                            "value": "/secret/server-key"
                                        }, 
                                        {
                                            "name": "OAP_SERVER_TLS_FILE", 
                                            "value": "/secret/server-tls.json"
                                        }, 
                                        {
                                            "name": "OAP_SESSION_SECRET_FILE", 
                                            "value": "/secret/session-secret"
                                        }, 
                                        {
                                            "name": "OCP_AUTH_PROXY_MEMORY_LIMIT", 
                                            "valueFrom": {
                                                "resourceFieldRef": {
                                                    "containerName": "kibana-proxy", 
                                                    "divisor": "0", 
                                                    "resource": "limits.memory"
                                                }
                                            }
                                        }
                                    ], 
                                    "image": "172.30.176.187:5000/logging/logging-auth-proxy:latest", 
                                    "imagePullPolicy": "Always", 
                                    "name": "kibana-proxy", 
                                    "ports": [
                                        {
                                            "containerPort": 3000, 
                                            "name": "oaproxy", 
                                            "protocol": "TCP"
                                        }
                                    ], 
                                    "resources": {
                                        "limits": {
                                            "memory": "96Mi"
                                        }
                                    }, 
                                    "terminationMessagePath": "/dev/termination-log", 
                                    "terminationMessagePolicy": "File", 
                                    "volumeMounts": [
                                        {
                                            "mountPath": "/secret", 
                                            "name": "kibana-proxy", 
                                            "readOnly": true
                                        }
                                    ]
                                }
                            ], 
                            "dnsPolicy": "ClusterFirst", 
                            "restartPolicy": "Always", 
                            "schedulerName": "default-scheduler", 
                            "securityContext": {}, 
                            "serviceAccount": "aggregated-logging-kibana", 
                            "serviceAccountName": "aggregated-logging-kibana", 
                            "terminationGracePeriodSeconds": 30, 
                            "volumes": [
                                {
                                    "name": "kibana", 
                                    "secret": {
                                        "defaultMode": 420, 
                                        "secretName": "logging-kibana"
                                    }
                                }, 
                                {
                                    "name": "kibana-proxy", 
                                    "secret": {
                                        "defaultMode": 420, 
                                        "secretName": "logging-kibana-proxy"
                                    }
                                }
                            ]
                        }
                    }, 
                    "test": false, 
                    "triggers": [
                        {
                            "type": "ConfigChange"
                        }
                    ]
                }, 
                "status": {
                    "availableReplicas": 0, 
                    "conditions": [
                        {
                            "lastTransitionTime": "2017-06-09T00:44:16Z", 
                            "lastUpdateTime": "2017-06-09T00:44:16Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-09T00:44:16Z", 
                            "lastUpdateTime": "2017-06-09T00:44:16Z", 
                            "message": "replication controller \"logging-kibana-ops-1\" is waiting for pod \"logging-kibana-ops-1-deploy\" to run", 
                            "status": "Unknown", 
                            "type": "Progressing"
                        }
                    ], 
                    "details": {
                        "causes": [
                            {
                                "type": "ConfigChange"
                            }
                        ], 
                        "message": "config change"
                    }, 
                    "latestVersion": 1, 
                    "observedGeneration": 2, 
                    "replicas": 0, 
                    "unavailableReplicas": 0, 
                    "updatedReplicas": 0
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : Delete temp directory] ************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:228
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-OSlbj9", 
    "state": "absent"
}

TASK [openshift_logging : include_role] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:195
statically included: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/determine_version.yaml

TASK [openshift_logging_curator : fail] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/determine_version.yaml:3
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_curator : set_fact] ************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/determine_version.yaml:7
ok: [openshift] => {
    "ansible_facts": {
        "curator_version": "3_5"
    }, 
    "changed": false
}

TASK [openshift_logging_curator : set_fact] ************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/determine_version.yaml:12
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_curator : fail] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/determine_version.yaml:15
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_curator : Create temp directory for doing work in] *****
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:5
ok: [openshift] => {
    "changed": false, 
    "cmd": [
        "mktemp", 
        "-d", 
        "/tmp/openshift-logging-ansible-XXXXXX"
    ], 
    "delta": "0:00:00.002913", 
    "end": "2017-06-08 20:44:18.983226", 
    "rc": 0, 
    "start": "2017-06-08 20:44:18.980313"
}

STDOUT:

/tmp/openshift-logging-ansible-JS3aCd

TASK [openshift_logging_curator : set_fact] ************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:10
ok: [openshift] => {
    "ansible_facts": {
        "tempdir": "/tmp/openshift-logging-ansible-JS3aCd"
    }, 
    "changed": false
}

TASK [openshift_logging_curator : Create templates subdirectory] ***************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:14
ok: [openshift] => {
    "changed": false, 
    "gid": 0, 
    "group": "root", 
    "mode": "0755", 
    "owner": "root", 
    "path": "/tmp/openshift-logging-ansible-JS3aCd/templates", 
    "secontext": "unconfined_u:object_r:user_tmp_t:s0", 
    "size": 6, 
    "state": "directory", 
    "uid": 0
}

TASK [openshift_logging_curator : Create Curator service account] **************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:24
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_curator : Create Curator service account] **************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:32
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get sa aggregated-logging-curator -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "imagePullSecrets": [
                    {
                        "name": "aggregated-logging-curator-dockercfg-xnh1s"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:44:20Z", 
                    "name": "aggregated-logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1499", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-curator", 
                    "uid": "c6272cf5-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-curator-token-dnq7j"
                    }, 
                    {
                        "name": "aggregated-logging-curator-dockercfg-xnh1s"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_curator : copy] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:41
ok: [openshift] => {
    "changed": false, 
    "checksum": "9008efd9a8892dcc42c28c6dfb6708527880a6d8", 
    "dest": "/tmp/openshift-logging-ansible-JS3aCd/curator.yml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "5498c5fd98f3dd06e34b20eb1f55dc12", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 320, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969060.67-262649698179394/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_curator : copy] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:47
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_curator : Set Curator configmap] ***********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:53
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get configmap logging-curator -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "data": {
                    "config.yaml": "# Logging example curator config file\n\n# uncomment and use this to override the defaults from env vars\n#.defaults:\n#  delete:\n#    days: 30\n#  runhour: 0\n#  runminute: 0\n\n# to keep ops logs for a different duration:\n#.operations:\n#  delete:\n#    weeks: 8\n\n# example for a normal project\n#myapp:\n#  delete:\n#    weeks: 1\n"
                }, 
                "kind": "ConfigMap", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:44:21Z", 
                    "name": "logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1515", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-curator", 
                    "uid": "c7159850-4cac-11e7-a03a-0e027bbb120e"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_curator : Set Curator secret] **************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:62
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc secrets new logging-curator ca=/etc/origin/logging/ca.crt key=/etc/origin/logging/system.logging.curator.key cert=/etc/origin/logging/system.logging.curator.crt -n logging", 
        "results": "", 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_curator : set_fact] ************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:75
ok: [openshift] => {
    "ansible_facts": {
        "curator_component": "curator", 
        "curator_name": "logging-curator"
    }, 
    "changed": false
}

TASK [openshift_logging_curator : Generate Curator deploymentconfig] ***********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:81
ok: [openshift] => {
    "changed": false, 
    "checksum": "9c4d6d02737d38b7a1c2ff84b2b6e618b720f5a1", 
    "dest": "/tmp/openshift-logging-ansible-JS3aCd/templates/curator-dc.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "7e3d0af79ec51a57141649c16b4f2505", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 2341, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969062.77-57729169320339/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_curator : Set Curator DC] ******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:99
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get dc logging-curator -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "DeploymentConfig", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:44:23Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "curator", 
                        "logging-infra": "curator", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1535", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-curator", 
                    "uid": "c85f35e7-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "spec": {
                    "replicas": 1, 
                    "selector": {
                        "component": "curator", 
                        "logging-infra": "curator", 
                        "provider": "openshift"
                    }, 
                    "strategy": {
                        "activeDeadlineSeconds": 21600, 
                        "recreateParams": {
                            "timeoutSeconds": 600
                        }, 
                        "resources": {}, 
                        "rollingParams": {
                            "intervalSeconds": 1, 
                            "maxSurge": "25%", 
                            "maxUnavailable": "25%", 
                            "timeoutSeconds": 600, 
                            "updatePeriodSeconds": 1
                        }, 
                        "type": "Recreate"
                    }, 
                    "template": {
                        "metadata": {
                            "creationTimestamp": null, 
                            "labels": {
                                "component": "curator", 
                                "logging-infra": "curator", 
                                "provider": "openshift"
                            }, 
                            "name": "logging-curator"
                        }, 
                        "spec": {
                            "containers": [
                                {
                                    "env": [
                                        {
                                            "name": "K8S_HOST_URL", 
                                            "value": "https://kubernetes.default.svc.cluster.local"
                                        }, 
                                        {
                                            "name": "ES_HOST", 
                                            "value": "logging-es"
                                        }, 
                                        {
                                            "name": "ES_PORT", 
                                            "value": "9200"
                                        }, 
                                        {
                                            "name": "ES_CLIENT_CERT", 
                                            "value": "/etc/curator/keys/cert"
                                        }, 
                                        {
                                            "name": "ES_CLIENT_KEY", 
                                            "value": "/etc/curator/keys/key"
                                        }, 
                                        {
                                            "name": "ES_CA", 
                                            "value": "/etc/curator/keys/ca"
                                        }, 
                                        {
                                            "name": "CURATOR_DEFAULT_DAYS", 
                                            "value": "30"
                                        }, 
                                        {
                                            "name": "CURATOR_RUN_HOUR", 
                                            "value": "0"
                                        }, 
                                        {
                                            "name": "CURATOR_RUN_MINUTE", 
                                            "value": "0"
                                        }, 
                                        {
                                            "name": "CURATOR_RUN_TIMEZONE", 
                                            "value": "UTC"
                                        }, 
                                        {
                                            "name": "CURATOR_SCRIPT_LOG_LEVEL", 
                                            "value": "INFO"
                                        }, 
                                        {
                                            "name": "CURATOR_LOG_LEVEL", 
                                            "value": "ERROR"
                                        }
                                    ], 
                                    "image": "172.30.176.187:5000/logging/logging-curator:latest", 
                                    "imagePullPolicy": "Always", 
                                    "name": "curator", 
                                    "resources": {
                                        "limits": {
                                            "cpu": "100m"
                                        }
                                    }, 
                                    "terminationMessagePath": "/dev/termination-log", 
                                    "terminationMessagePolicy": "File", 
                                    "volumeMounts": [
                                        {
                                            "mountPath": "/etc/curator/keys", 
                                            "name": "certs", 
                                            "readOnly": true
                                        }, 
                                        {
                                            "mountPath": "/etc/curator/settings", 
                                            "name": "config", 
                                            "readOnly": true
                                        }
                                    ]
                                }
                            ], 
                            "dnsPolicy": "ClusterFirst", 
                            "restartPolicy": "Always", 
                            "schedulerName": "default-scheduler", 
                            "securityContext": {}, 
                            "serviceAccount": "aggregated-logging-curator", 
                            "serviceAccountName": "aggregated-logging-curator", 
                            "terminationGracePeriodSeconds": 30, 
                            "volumes": [
                                {
                                    "name": "certs", 
                                    "secret": {
                                        "defaultMode": 420, 
                                        "secretName": "logging-curator"
                                    }
                                }, 
                                {
                                    "configMap": {
                                        "defaultMode": 420, 
                                        "name": "logging-curator"
                                    }, 
                                    "name": "config"
                                }
                            ]
                        }
                    }, 
                    "test": false, 
                    "triggers": [
                        {
                            "type": "ConfigChange"
                        }
                    ]
                }, 
                "status": {
                    "availableReplicas": 0, 
                    "conditions": [
                        {
                            "lastTransitionTime": "2017-06-09T00:44:23Z", 
                            "lastUpdateTime": "2017-06-09T00:44:23Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-09T00:44:23Z", 
                            "lastUpdateTime": "2017-06-09T00:44:23Z", 
                            "message": "replication controller \"logging-curator-1\" is waiting for pod \"logging-curator-1-deploy\" to run", 
                            "status": "Unknown", 
                            "type": "Progressing"
                        }
                    ], 
                    "details": {
                        "causes": [
                            {
                                "type": "ConfigChange"
                            }
                        ], 
                        "message": "config change"
                    }, 
                    "latestVersion": 1, 
                    "observedGeneration": 2, 
                    "replicas": 0, 
                    "unavailableReplicas": 0, 
                    "updatedReplicas": 0
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_curator : Delete temp directory] ***********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:109
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-JS3aCd", 
    "state": "absent"
}

TASK [openshift_logging : include_role] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:207
statically included: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/determine_version.yaml

TASK [openshift_logging_curator : fail] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/determine_version.yaml:3
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_curator : set_fact] ************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/determine_version.yaml:7
ok: [openshift] => {
    "ansible_facts": {
        "curator_version": "3_5"
    }, 
    "changed": false
}

TASK [openshift_logging_curator : set_fact] ************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/determine_version.yaml:12
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_curator : fail] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/determine_version.yaml:15
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_curator : Create temp directory for doing work in] *****
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:5
ok: [openshift] => {
    "changed": false, 
    "cmd": [
        "mktemp", 
        "-d", 
        "/tmp/openshift-logging-ansible-XXXXXX"
    ], 
    "delta": "0:00:00.002358", 
    "end": "2017-06-08 20:44:27.196181", 
    "rc": 0, 
    "start": "2017-06-08 20:44:27.193823"
}

STDOUT:

/tmp/openshift-logging-ansible-uBKKgl

TASK [openshift_logging_curator : set_fact] ************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:10
ok: [openshift] => {
    "ansible_facts": {
        "tempdir": "/tmp/openshift-logging-ansible-uBKKgl"
    }, 
    "changed": false
}

TASK [openshift_logging_curator : Create templates subdirectory] ***************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:14
ok: [openshift] => {
    "changed": false, 
    "gid": 0, 
    "group": "root", 
    "mode": "0755", 
    "owner": "root", 
    "path": "/tmp/openshift-logging-ansible-uBKKgl/templates", 
    "secontext": "unconfined_u:object_r:user_tmp_t:s0", 
    "size": 6, 
    "state": "directory", 
    "uid": 0
}

TASK [openshift_logging_curator : Create Curator service account] **************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:24
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_curator : Create Curator service account] **************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:32
ok: [openshift] => {
    "changed": false, 
    "results": {
        "cmd": "/bin/oc get sa aggregated-logging-curator -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "imagePullSecrets": [
                    {
                        "name": "aggregated-logging-curator-dockercfg-xnh1s"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:44:20Z", 
                    "name": "aggregated-logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1499", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-curator", 
                    "uid": "c6272cf5-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-curator-token-dnq7j"
                    }, 
                    {
                        "name": "aggregated-logging-curator-dockercfg-xnh1s"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_curator : copy] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:41
ok: [openshift] => {
    "changed": false, 
    "checksum": "9008efd9a8892dcc42c28c6dfb6708527880a6d8", 
    "dest": "/tmp/openshift-logging-ansible-uBKKgl/curator.yml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "5498c5fd98f3dd06e34b20eb1f55dc12", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 320, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969068.11-105639280753412/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_curator : copy] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:47
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_curator : Set Curator configmap] ***********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:53
ok: [openshift] => {
    "changed": false, 
    "results": {
        "cmd": "/bin/oc get configmap logging-curator -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "data": {
                    "config.yaml": "# Logging example curator config file\n\n# uncomment and use this to override the defaults from env vars\n#.defaults:\n#  delete:\n#    days: 30\n#  runhour: 0\n#  runminute: 0\n\n# to keep ops logs for a different duration:\n#.operations:\n#  delete:\n#    weeks: 8\n\n# example for a normal project\n#myapp:\n#  delete:\n#    weeks: 1\n"
                }, 
                "kind": "ConfigMap", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:44:21Z", 
                    "name": "logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1515", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-curator", 
                    "uid": "c7159850-4cac-11e7-a03a-0e027bbb120e"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_curator : Set Curator secret] **************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:62
ok: [openshift] => {
    "changed": false, 
    "results": {
        "apiVersion": "v1", 
        "data": {
            "ca": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPVEF3TkRNd09Gb1hEVEl5TURZd09EQXdORE13T1ZvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQU1idExkbVd6aWluc3pCRmpjeWx4dURZUVhRcEpxU0w5OWYwNzZhaWxKbmYKR0pXbmRpVHpIZjIrcUVEd1lsZ2dxa3lPb0R6QlBQVE1vT0U5TERmTE9ydXh1TXN0clRqQzlDV0sySWx3YnlzTQpMWnZIVkJMeWMxRDFlUVd0UmhOdFZXOGNQM1lDQ0szTHBGMXdRVVRpdmJmckowdHo5V3FhbDJ6emhMSk5lWldkCnViWFN6MUJWRmFBbnhPc2V5ZFRuc0FlMmFmNC9nQkd1RC9ZNFBPeTlNKzY1SU5QVnBaRUNTb0Y5WjlveXgyK2cKTjNURzhOVHlweFQrZU9OVktwQTV4eEdaVW1wV1Q4Mjk0MnNLM1NscmYrOHhJMkJhRFluYms3RU5LVWRaNjY3dQpLeDg4RFBabm5zZzF6anJoQTRVZzZYWWhLV0pjdEVjQ2J3R0JoMkN6MDFzQ0F3RUFBYU1qTUNFd0RnWURWUjBQCkFRSC9CQVFEQWdLa01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFJTHEKbVkwVXJaQXNJdzRyNXBNam8yUzBKUVZ6cEdXOHE3eldZUHV5Y3dPd0pDUWVVb0pUOURsc1Y0aGtTM1V1MHM2WApyNDRGd0ZpemRzZEQ4aFFyV09TbXU4dDlOdTFjbHM1L2ZMV2l3UVNkYitXRDNKbWlGaVg2VGRRSmpDOVJhVWV0CnQxa2d3Nk5iSXYxbmJ6WEdzVW81Tm9WaDR1Zm4za0IrN0x3YndxQjM3cVFVTzJRVGVrZXZ6anl6MmE0RlZ0QUkKTWtWQ0FRNklTWW9XbVl5ZkdyQmVqbnNKcjdCVVBuVmwza3BlblZoUzU0enlncU91SWp4MldXVmJLUlkxdzhPRApaWHpyMWtBc2FONi9WbXdMUG10RjlKdHZFdHQrbHNGZ084SUhwRXJmalRRZmtacmJFUWcwcnluZjdsckhSWU5OCnRtK1pSSENsTzBWdW0ycUFWSHM9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K", 
            "cert": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURSakNDQWk2Z0F3SUJBZ0lCQkRBTkJna3Foa2lHOXcwQkFRVUZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPVEF3TkRNeE5Wb1hEVEU1TURZd09UQXdORE14TlZvdwpSekVRTUE0R0ExVUVDZ3dIVEc5bloybHVaekVTTUJBR0ExVUVDd3dKVDNCbGJsTm9hV1owTVI4d0hRWURWUVFECkRCWnplWE4wWlcwdWJHOW5aMmx1Wnk1amRYSmhkRzl5TUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEEKTUlJQkNnS0NBUUVBdDRvMnNqNm9sZWsrMmhFd01jUkVoQ01ORVY0YXRubUFjRFVCNG9zMG1HUjdoU3R0Zmg0TQo5cHBsYkltM2Q3aUJWa3hwT3QveG5vQkFUcjlWZkdUS29Qa2MzMUtBMDNCdnFzd3lwVnYxMU1VcmRQTmVmdUY5CjBHajhVNEZybHpBU0NYYkczVlhDeWI2Y092MVM4dW5uOTNsSDJBanZPUzJTa3B4aXgxQ3lIL3JWR05FUG1OY1IKaVl2d3lKaG5hOFFiTlVYRDdicjVWczVjcDBEcVF4TmJaU2VuR0xkS3huVktBalpEWi9uMHB5SjV6dkVHa1pBRQo2NGxqUUE4dmZMdkQvaXhReGVjSG1MSTdsTnh1Y3BnY2dqeVhUK2lNL2VaSEgxKy8xNWwvOEMwMGt3bVR3Q2QrCmZQWng4bVpFZ1lSMDF4UFpVRHFtVkVBZDd2ZE9nWk02L3dJREFRQUJvMll3WkRBT0JnTlZIUThCQWY4RUJBTUMKQmFBd0NRWURWUjBUQkFJd0FEQWRCZ05WSFNVRUZqQVVCZ2dyQmdFRkJRY0RBUVlJS3dZQkJRVUhBd0l3SFFZRApWUjBPQkJZRUZMMFk0Wjh0RzNTWFp3RUppeTk0YzFoeS94SXlNQWtHQTFVZEl3UUNNQUF3RFFZSktvWklodmNOCkFRRUZCUUFEZ2dFQkFMZ2Y5TTlZM0lSdXpDdWNnMTlLMW14ZmxYTXBRNmc2OWd5WDY5RG5FWlBpOEhoREdHeWMKdDk5Y0hHdVk1S0JqaWlIVlVwYjdiMFhJUXZGcXBEL1dNZ1E4L2hLb2UyZXpCbEVIbktaSTR4cUQxTFZqNVk1bQpodlNmbVV5MGNsZzBqd3kwZGY0ZGYxNHRycVExWThla09jZXBHU2JjeUNpQ1VkWE92R01oTk1VZVpVNTVQRnhsCnZES0NvTDhoZzFsbmpVcWJzTDhzSkVRcmRTNDhRdkhkRS9sc3N6YWEyVXFzcmRMMlFMWmJXV2hxR2RmSmREYjEKMjdGaGhMQlpzTzVZUzd6ams3cktCbitnQUpMdVBNcS9rUWJQa1VuOERsV2RCR0h1MTFCU3I5STEyaXRSWEpaYgphaGgweDZFSS81NVRER08wWm5MekNPTVRlUzI4STdvTk1sRT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=", 
            "key": "LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUV2Z0lCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktnd2dnU2tBZ0VBQW9JQkFRQzNpamF5UHFpVjZUN2EKRVRBeHhFU0VJdzBSWGhxMmVZQndOUUhpaXpTWVpIdUZLMjErSGd6Mm1tVnNpYmQzdUlGV1RHazYzL0dlZ0VCTwp2MVY4Wk1xZytSemZVb0RUY0crcXpES2xXL1hVeFN0MDgxNSs0WDNRYVB4VGdXdVhNQklKZHNiZFZjTEp2cHc2Ci9WTHk2ZWYzZVVmWUNPODVMWktTbkdMSFVMSWYrdFVZMFErWTF4R0ppL0RJbUdkcnhCczFSY1B0dXZsV3pseW4KUU9wREUxdGxKNmNZdDByR2RVb0NOa05uK2ZTbklubk84UWFSa0FUcmlXTkFEeTk4dThQK0xGREY1d2VZc2p1VQozRzV5bUJ5Q1BKZFA2SXo5NWtjZlg3L1htWC93TFRTVENaUEFKMzU4OW5IeVprU0JoSFRYRTlsUU9xWlVRQjN1CjkwNkJrenIvQWdNQkFBRUNnZ0VBRGtuV1JENFloY01vdjNWREdUeThVTVVoeVU1WUtnaC9kVHpMTHNYRGpIR1cKSkNIalhrUWNvajRXMDBKTlpDYWErd3JyemtlTTJkZ0dLWnMvbm5XQ1NOSGI2NDdTdEtNMkxrZkRVWmc5SlJsTQpic2hiZk9rMUVEcDhHa3dqQWh3ZDYxcXgxSjFPa3NJaUMzMlpMWXdFSVFIeUUrRnVMamRjQjhuZzdyOWJmcDI0Cm9Td1J0aE42dEF6RkpEbUZJZUJQYTFvMVNhR0xHYVNmUVdZK3Q1OEhaNE9MdzBOSHhWVUd6VlVrLzJ3dk1RY0wKRzhBamZHYnRUS1plWWw1bktTd0hiSUI0NTJ5a2dpSXBZcGxLdklHTmM2Wk1oSFJMNTRZaVhpcndPMUViN0JyUgpveWJhT2lhNExTSFF6SEJ1VHRVT2pIQ3pXWnMzRTJjRWdGNnhpWGY5OFFLQmdRRGZlc0FzbkZZQ25ZUUFZT1ZhClAvMURzVHBwcGx6WDFpRDNsSklLaFFJM0YzelJ3MmhEWEJzcE5zT3htT3JFMXIyYU55b2xOc3lLNHVPSTNyQmoKcU1lbEdXY1BFdDZ0cGNKQUdhTjFuTFpuSDZ4aUpLMENUd1gxTjZuVCt1K1JDeGxkMEJhQ3NVTFg2NjhoRmFpVAptSW96cStuS3ExVTJDVElFV1BoRTJseExCUUtCZ1FEU1A1bFNlSlN3Tm1zNmhCRHA0SXBEbk5tbFdjcDVwem9MClcwTmo2ZThTSEw5eEkvdXZMTElIeWZIbWxCZkpTd05zakhtTDdWdTZGSUdTNUdROUpjZ2k0WkNBT1cyQ3B6emcKY3NKSnV0OU5XL1BaZ2t4SVcrSHVWd2xsRTBudkNOM0MvbFZ4akJZQi94Q2doNVNDU0hIbit1Nm9xNWR1SjZBMwo3RmNOUWZ0MU13S0JnUUNYYXFBU21jcGM4MFNnelFZWTVBcEJkeTlRcmZ0eDhnOWNNRG5URHRPMWFDQ1dMNFBSClAvTFhOZGZaMlBZWWNEYis2aW1RRlZUNU5VbGRUeVRNSVd0RG5iYUtMQXJjTk5jc2Z6S1ZXWnpzdWpVZU9pTk8KMFNRRVJiYTNmZW9icUIyRHhwMjU1MGlXNjRVNU1XZUt1V3ZLSHN6RkdOa2ZSNU93Qm1nUW5yS3gwUUtCZ1FEUgpDNTljMnJ1c1FVOTRqUnRzRDNBcUxlaFJlZWZSOGEzSzRPRXVsTWk2RDQ5aDVVODRLNDZRSkFDN0xJQkNDcTNLCjNobDBRWHEwbC9NRnBNVHQ3NFVBK1puOWhCd1lqa1AvUHR0akI4VkRXNndubG1CV2lkVW9iNjNOcTlJVk01R2IKY2RwdTNjUjhFNm5xa3lQY0xqL2pVaUs5M203Z2ZkSFdDTTI5UnQvSTlRS0JnRzNmOXU2cHg0VnhvSUxJY25RRwpHRDBEblVBb1RTQ2Y2RW1ENzR1SEFsamZSb0NsdngxeVNtSURoSGl2TkNFYlh4MWNBRE93TlVYa3NRbzc5WGs0ClhjN3JnWWpUd0UzdXBCOUUxanFHTGVQL2FDaTV6bjFNOXlvdklFTWZjSVVmM1loT2Exc241ci9LM0JSaTlvc1IKY1VzN2tYNFlXUFNoTXRpdnhzVUU1ZkNBCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K"
        }, 
        "kind": "Secret", 
        "metadata": {
            "creationTimestamp": null, 
            "name": "logging-curator"
        }, 
        "type": "Opaque"
    }, 
    "state": "present"
}

TASK [openshift_logging_curator : set_fact] ************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:75
ok: [openshift] => {
    "ansible_facts": {
        "curator_component": "curator-ops", 
        "curator_name": "logging-curator-ops"
    }, 
    "changed": false
}

TASK [openshift_logging_curator : Generate Curator deploymentconfig] ***********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:81
ok: [openshift] => {
    "changed": false, 
    "checksum": "f9020bab4b4b3d1d493005f984218ea4df68a0ce", 
    "dest": "/tmp/openshift-logging-ansible-uBKKgl/templates/curator-dc.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "ddc61dcce7c038ddaeb099583cc6913b", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 2365, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969069.57-141318620213193/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_curator : Set Curator DC] ******************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:99
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get dc logging-curator-ops -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "DeploymentConfig", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:44:30Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "curator-ops", 
                        "logging-infra": "curator", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-curator-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1581", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-curator-ops", 
                    "uid": "cc5ee35b-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "spec": {
                    "replicas": 1, 
                    "selector": {
                        "component": "curator-ops", 
                        "logging-infra": "curator", 
                        "provider": "openshift"
                    }, 
                    "strategy": {
                        "activeDeadlineSeconds": 21600, 
                        "recreateParams": {
                            "timeoutSeconds": 600
                        }, 
                        "resources": {}, 
                        "rollingParams": {
                            "intervalSeconds": 1, 
                            "maxSurge": "25%", 
                            "maxUnavailable": "25%", 
                            "timeoutSeconds": 600, 
                            "updatePeriodSeconds": 1
                        }, 
                        "type": "Recreate"
                    }, 
                    "template": {
                        "metadata": {
                            "creationTimestamp": null, 
                            "labels": {
                                "component": "curator-ops", 
                                "logging-infra": "curator", 
                                "provider": "openshift"
                            }, 
                            "name": "logging-curator-ops"
                        }, 
                        "spec": {
                            "containers": [
                                {
                                    "env": [
                                        {
                                            "name": "K8S_HOST_URL", 
                                            "value": "https://kubernetes.default.svc.cluster.local"
                                        }, 
                                        {
                                            "name": "ES_HOST", 
                                            "value": "logging-es-ops"
                                        }, 
                                        {
                                            "name": "ES_PORT", 
                                            "value": "9200"
                                        }, 
                                        {
                                            "name": "ES_CLIENT_CERT", 
                                            "value": "/etc/curator/keys/cert"
                                        }, 
                                        {
                                            "name": "ES_CLIENT_KEY", 
                                            "value": "/etc/curator/keys/key"
                                        }, 
                                        {
                                            "name": "ES_CA", 
                                            "value": "/etc/curator/keys/ca"
                                        }, 
                                        {
                                            "name": "CURATOR_DEFAULT_DAYS", 
                                            "value": "30"
                                        }, 
                                        {
                                            "name": "CURATOR_RUN_HOUR", 
                                            "value": "0"
                                        }, 
                                        {
                                            "name": "CURATOR_RUN_MINUTE", 
                                            "value": "0"
                                        }, 
                                        {
                                            "name": "CURATOR_RUN_TIMEZONE", 
                                            "value": "UTC"
                                        }, 
                                        {
                                            "name": "CURATOR_SCRIPT_LOG_LEVEL", 
                                            "value": "INFO"
                                        }, 
                                        {
                                            "name": "CURATOR_LOG_LEVEL", 
                                            "value": "ERROR"
                                        }
                                    ], 
                                    "image": "172.30.176.187:5000/logging/logging-curator:latest", 
                                    "imagePullPolicy": "Always", 
                                    "name": "curator", 
                                    "resources": {
                                        "limits": {
                                            "cpu": "100m"
                                        }
                                    }, 
                                    "terminationMessagePath": "/dev/termination-log", 
                                    "terminationMessagePolicy": "File", 
                                    "volumeMounts": [
                                        {
                                            "mountPath": "/etc/curator/keys", 
                                            "name": "certs", 
                                            "readOnly": true
                                        }, 
                                        {
                                            "mountPath": "/etc/curator/settings", 
                                            "name": "config", 
                                            "readOnly": true
                                        }
                                    ]
                                }
                            ], 
                            "dnsPolicy": "ClusterFirst", 
                            "restartPolicy": "Always", 
                            "schedulerName": "default-scheduler", 
                            "securityContext": {}, 
                            "serviceAccount": "aggregated-logging-curator", 
                            "serviceAccountName": "aggregated-logging-curator", 
                            "terminationGracePeriodSeconds": 30, 
                            "volumes": [
                                {
                                    "name": "certs", 
                                    "secret": {
                                        "defaultMode": 420, 
                                        "secretName": "logging-curator"
                                    }
                                }, 
                                {
                                    "configMap": {
                                        "defaultMode": 420, 
                                        "name": "logging-curator"
                                    }, 
                                    "name": "config"
                                }
                            ]
                        }
                    }, 
                    "test": false, 
                    "triggers": [
                        {
                            "type": "ConfigChange"
                        }
                    ]
                }, 
                "status": {
                    "availableReplicas": 0, 
                    "conditions": [
                        {
                            "lastTransitionTime": "2017-06-09T00:44:30Z", 
                            "lastUpdateTime": "2017-06-09T00:44:30Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-09T00:44:30Z", 
                            "lastUpdateTime": "2017-06-09T00:44:30Z", 
                            "message": "replication controller \"logging-curator-ops-1\" is waiting for pod \"logging-curator-ops-1-deploy\" to run", 
                            "status": "Unknown", 
                            "type": "Progressing"
                        }
                    ], 
                    "details": {
                        "causes": [
                            {
                                "type": "ConfigChange"
                            }
                        ], 
                        "message": "config change"
                    }, 
                    "latestVersion": 1, 
                    "observedGeneration": 2, 
                    "replicas": 0, 
                    "unavailableReplicas": 0, 
                    "updatedReplicas": 0
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_curator : Delete temp directory] ***********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:109
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-uBKKgl", 
    "state": "absent"
}

TASK [openshift_logging : include_role] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:226
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : include_role] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:241
statically included: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/determine_version.yaml

TASK [openshift_logging_fluentd : fail] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:2
 [WARNING]: when statements should not include jinja2 templating delimiters
such as {{ }} or {% %}. Found: {{ openshift_logging_fluentd_nodeselector.keys()
| count }} > 1
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_fluentd : fail] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:6
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_fluentd : fail] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:10
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_fluentd : fail] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:14
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_fluentd : fail] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/determine_version.yaml:3
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_fluentd : set_fact] ************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/determine_version.yaml:7
ok: [openshift] => {
    "ansible_facts": {
        "fluentd_version": "3_5"
    }, 
    "changed": false
}

TASK [openshift_logging_fluentd : set_fact] ************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/determine_version.yaml:12
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_fluentd : fail] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/determine_version.yaml:15
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_fluentd : set_fact] ************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:20
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_fluentd : set_fact] ************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:26
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_fluentd : Create temp directory for doing work in] *****
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:33
ok: [openshift] => {
    "changed": false, 
    "cmd": [
        "mktemp", 
        "-d", 
        "/tmp/openshift-logging-ansible-XXXXXX"
    ], 
    "delta": "0:00:00.001969", 
    "end": "2017-06-08 20:44:34.286107", 
    "rc": 0, 
    "start": "2017-06-08 20:44:34.284138"
}

STDOUT:

/tmp/openshift-logging-ansible-VkwRim

TASK [openshift_logging_fluentd : set_fact] ************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:38
ok: [openshift] => {
    "ansible_facts": {
        "tempdir": "/tmp/openshift-logging-ansible-VkwRim"
    }, 
    "changed": false
}

TASK [openshift_logging_fluentd : Create templates subdirectory] ***************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:41
ok: [openshift] => {
    "changed": false, 
    "gid": 0, 
    "group": "root", 
    "mode": "0755", 
    "owner": "root", 
    "path": "/tmp/openshift-logging-ansible-VkwRim/templates", 
    "secontext": "unconfined_u:object_r:user_tmp_t:s0", 
    "size": 6, 
    "state": "directory", 
    "uid": 0
}

TASK [openshift_logging_fluentd : Create Fluentd service account] **************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:51
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_fluentd : Create Fluentd service account] **************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:59
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get sa aggregated-logging-fluentd -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "imagePullSecrets": [
                    {
                        "name": "aggregated-logging-fluentd-dockercfg-96n07"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:44:35Z", 
                    "name": "aggregated-logging-fluentd", 
                    "namespace": "logging", 
                    "resourceVersion": "1622", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-fluentd", 
                    "uid": "cf2d68ad-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-fluentd-token-zbnrd"
                    }, 
                    {
                        "name": "aggregated-logging-fluentd-dockercfg-96n07"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_fluentd : Set privileged permissions for Fluentd] ******
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:68
changed: [openshift] => {
    "changed": true, 
    "present": "present", 
    "results": {
        "cmd": "/bin/oc adm policy add-scc-to-user privileged system:serviceaccount:logging:aggregated-logging-fluentd -n logging", 
        "results": "", 
        "returncode": 0
    }
}

TASK [openshift_logging_fluentd : Set cluster-reader permissions for Fluentd] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:77
changed: [openshift] => {
    "changed": true, 
    "present": "present", 
    "results": {
        "cmd": "/bin/oc adm policy add-cluster-role-to-user cluster-reader system:serviceaccount:logging:aggregated-logging-fluentd -n logging", 
        "results": "", 
        "returncode": 0
    }
}

TASK [openshift_logging_fluentd : template] ************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:86
ok: [openshift] => {
    "changed": false, 
    "checksum": "a8c8596f5fc2c5dd7c8d33d244af17a2555be086", 
    "dest": "/tmp/openshift-logging-ansible-VkwRim/fluent.conf", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "579698b48ffce6276ee0e8d5ac71a338", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 1301, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969076.96-156669481326123/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_fluentd : copy] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:94
ok: [openshift] => {
    "changed": false, 
    "checksum": "b3e75eddc4a0765edc77da092384c0c6f95440e1", 
    "dest": "/tmp/openshift-logging-ansible-VkwRim/fluentd-throttle-config.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "25871b8e0a9bedc166a6029872a6c336", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 133, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969077.36-209351307185320/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_fluentd : copy] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:100
ok: [openshift] => {
    "changed": false, 
    "checksum": "a3aa36da13f3108aa4ad5b98d4866007b44e9798", 
    "dest": "/tmp/openshift-logging-ansible-VkwRim/secure-forward.conf", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "1084b00c427f4fa48dfc66d6ad6555d4", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 563, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969077.66-204493993155150/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_fluentd : copy] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:107
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_fluentd : copy] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:113
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_fluentd : copy] ****************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:119
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging_fluentd : Set Fluentd configmap] ***********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:125
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get configmap logging-fluentd -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "data": {
                    "fluent.conf": "# This file is the fluentd configuration entrypoint. Edit with care.\n\n@include configs.d/openshift/system.conf\n\n# In each section below, pre- and post- includes don't include anything initially;\n# they exist to enable future additions to openshift conf as needed.\n\n## sources\n## ordered so that syslog always runs last...\n@include configs.d/openshift/input-pre-*.conf\n@include configs.d/dynamic/input-docker-*.conf\n@include configs.d/dynamic/input-syslog-*.conf\n@include configs.d/openshift/input-post-*.conf\n##\n\n<label @INGRESS>\n## filters\n  @include configs.d/openshift/filter-pre-*.conf\n  @include configs.d/openshift/filter-retag-journal.conf\n  @include configs.d/openshift/filter-k8s-meta.conf\n  @include configs.d/openshift/filter-kibana-transform.conf\n  @include configs.d/openshift/filter-k8s-flatten-hash.conf\n  @include configs.d/openshift/filter-k8s-record-transform.conf\n  @include configs.d/openshift/filter-syslog-record-transform.conf\n  @include configs.d/openshift/filter-viaq-data-model.conf\n  @include configs.d/openshift/filter-post-*.conf\n##\n\n## matches\n  @include configs.d/openshift/output-pre-*.conf\n  @include configs.d/openshift/output-operations.conf\n  @include configs.d/openshift/output-applications.conf\n  # no post - applications.conf matches everything left\n##\n</label>\n", 
                    "secure-forward.conf": "# @type secure_forward\n\n# self_hostname ${HOSTNAME}\n# shared_key <SECRET_STRING>\n\n# secure yes\n# enable_strict_verification yes\n\n# ca_cert_path /etc/fluent/keys/your_ca_cert\n# ca_private_key_path /etc/fluent/keys/your_private_key\n  # for private CA secret key\n# ca_private_key_passphrase passphrase\n\n# <server>\n  # or IP\n#   host server.fqdn.example.com\n#   port 24284\n# </server>\n# <server>\n  # ip address to connect\n#   host 203.0.113.8\n  # specify hostlabel for FQDN verification if ipaddress is used for host\n#   hostlabel server.fqdn.example.com\n# </server>\n", 
                    "throttle-config.yaml": "# Logging example fluentd throttling config file\n\n#example-project:\n#  read_lines_limit: 10\n#\n#.operations:\n#  read_lines_limit: 100\n"
                }, 
                "kind": "ConfigMap", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:44:38Z", 
                    "name": "logging-fluentd", 
                    "namespace": "logging", 
                    "resourceVersion": "1637", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-fluentd", 
                    "uid": "d11846da-4cac-11e7-a03a-0e027bbb120e"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_fluentd : Set logging-fluentd secret] ******************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:137
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc secrets new logging-fluentd ca=/etc/origin/logging/ca.crt key=/etc/origin/logging/system.logging.fluentd.key cert=/etc/origin/logging/system.logging.fluentd.crt -n logging", 
        "results": "", 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_fluentd : Generate logging-fluentd daemonset definition] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:154
ok: [openshift] => {
    "changed": false, 
    "checksum": "8da7d1343cbd527a26d95fc9e214261724841b74", 
    "dest": "/tmp/openshift-logging-ansible-VkwRim/templates/logging-fluentd.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "1e223019942d2fc081dec72f1eab3bbb", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 3415, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496969079.35-125110327370004/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_fluentd : Set logging-fluentd daemonset] ***************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:172
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get daemonset logging-fluentd -o json -n logging", 
        "results": [
            {
                "apiVersion": "extensions/v1beta1", 
                "kind": "DaemonSet", 
                "metadata": {
                    "creationTimestamp": "2017-06-09T00:44:40Z", 
                    "generation": 1, 
                    "labels": {
                        "component": "fluentd", 
                        "logging-infra": "fluentd", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-fluentd", 
                    "namespace": "logging", 
                    "resourceVersion": "1646", 
                    "selfLink": "/apis/extensions/v1beta1/namespaces/logging/daemonsets/logging-fluentd", 
                    "uid": "d27b0b81-4cac-11e7-a03a-0e027bbb120e"
                }, 
                "spec": {
                    "selector": {
                        "matchLabels": {
                            "component": "fluentd", 
                            "provider": "openshift"
                        }
                    }, 
                    "template": {
                        "metadata": {
                            "creationTimestamp": null, 
                            "labels": {
                                "component": "fluentd", 
                                "logging-infra": "fluentd", 
                                "provider": "openshift"
                            }, 
                            "name": "fluentd-elasticsearch"
                        }, 
                        "spec": {
                            "containers": [
                                {
                                    "env": [
                                        {
                                            "name": "K8S_HOST_URL", 
                                            "value": "https://kubernetes.default.svc.cluster.local"
                                        }, 
                                        {
                                            "name": "ES_HOST", 
                                            "value": "logging-es"
                                        }, 
                                        {
                                            "name": "ES_PORT", 
                                            "value": "9200"
                                        }, 
                                        {
                                            "name": "ES_CLIENT_CERT", 
                                            "value": "/etc/fluent/keys/cert"
                                        }, 
                                        {
                                            "name": "ES_CLIENT_KEY", 
                                            "value": "/etc/fluent/keys/key"
                                        }, 
                                        {
                                            "name": "ES_CA", 
                                            "value": "/etc/fluent/keys/ca"
                                        }, 
                                        {
                                            "name": "OPS_HOST", 
                                            "value": "logging-es-ops"
                                        }, 
                                        {
                                            "name": "OPS_PORT", 
                                            "value": "9200"
                                        }, 
                                        {
                                            "name": "OPS_CLIENT_CERT", 
                                            "value": "/etc/fluent/keys/cert"
                                        }, 
                                        {
                                            "name": "OPS_CLIENT_KEY", 
                                            "value": "/etc/fluent/keys/key"
                                        }, 
                                        {
                                            "name": "OPS_CA", 
                                            "value": "/etc/fluent/keys/ca"
                                        }, 
                                        {
                                            "name": "ES_COPY", 
                                            "value": "false"
                                        }, 
                                        {
                                            "name": "USE_JOURNAL", 
                                            "value": "true"
                                        }, 
                                        {
                                            "name": "JOURNAL_SOURCE"
                                        }, 
                                        {
                                            "name": "JOURNAL_READ_FROM_HEAD", 
                                            "value": "false"
                                        }
                                    ], 
                                    "image": "172.30.176.187:5000/logging/logging-fluentd:latest", 
                                    "imagePullPolicy": "Always", 
                                    "name": "fluentd-elasticsearch", 
                                    "resources": {
                                        "limits": {
                                            "cpu": "100m", 
                                            "memory": "512Mi"
                                        }
                                    }, 
                                    "securityContext": {
                                        "privileged": true
                                    }, 
                                    "terminationMessagePath": "/dev/termination-log", 
                                    "terminationMessagePolicy": "File", 
                                    "volumeMounts": [
                                        {
                                            "mountPath": "/run/log/journal", 
                                            "name": "runlogjournal"
                                        }, 
                                        {
                                            "mountPath": "/var/log", 
                                            "name": "varlog"
                                        }, 
                                        {
                                            "mountPath": "/var/lib/docker/containers", 
                                            "name": "varlibdockercontainers", 
                                            "readOnly": true
                                        }, 
                                        {
                                            "mountPath": "/etc/fluent/configs.d/user", 
                                            "name": "config", 
                                            "readOnly": true
                                        }, 
                                        {
                                            "mountPath": "/etc/fluent/keys", 
                                            "name": "certs", 
                                            "readOnly": true
                                        }, 
                                        {
                                            "mountPath": "/etc/docker-hostname", 
                                            "name": "dockerhostname", 
                                            "readOnly": true
                                        }, 
                                        {
                                            "mountPath": "/etc/localtime", 
                                            "name": "localtime", 
                                            "readOnly": true
                                        }, 
                                        {
                                            "mountPath": "/etc/sysconfig/docker", 
                                            "name": "dockercfg", 
                                            "readOnly": true
                                        }, 
                                        {
                                            "mountPath": "/etc/docker", 
                                            "name": "dockerdaemoncfg", 
                                            "readOnly": true
                                        }
                                    ]
                                }
                            ], 
                            "dnsPolicy": "ClusterFirst", 
                            "nodeSelector": {
                                "logging-infra-fluentd": "true"
                            }, 
                            "restartPolicy": "Always", 
                            "schedulerName": "default-scheduler", 
                            "securityContext": {}, 
                            "serviceAccount": "aggregated-logging-fluentd", 
                            "serviceAccountName": "aggregated-logging-fluentd", 
                            "terminationGracePeriodSeconds": 30, 
                            "volumes": [
                                {
                                    "hostPath": {
                                        "path": "/run/log/journal"
                                    }, 
                                    "name": "runlogjournal"
                                }, 
                                {
                                    "hostPath": {
                                        "path": "/var/log"
                                    }, 
                                    "name": "varlog"
                                }, 
                                {
                                    "hostPath": {
                                        "path": "/var/lib/docker/containers"
                                    }, 
                                    "name": "varlibdockercontainers"
                                }, 
                                {
                                    "configMap": {
                                        "defaultMode": 420, 
                                        "name": "logging-fluentd"
                                    }, 
                                    "name": "config"
                                }, 
                                {
                                    "name": "certs", 
                                    "secret": {
                                        "defaultMode": 420, 
                                        "secretName": "logging-fluentd"
                                    }
                                }, 
                                {
                                    "hostPath": {
                                        "path": "/etc/hostname"
                                    }, 
                                    "name": "dockerhostname"
                                }, 
                                {
                                    "hostPath": {
                                        "path": "/etc/localtime"
                                    }, 
                                    "name": "localtime"
                                }, 
                                {
                                    "hostPath": {
                                        "path": "/etc/sysconfig/docker"
                                    }, 
                                    "name": "dockercfg"
                                }, 
                                {
                                    "hostPath": {
                                        "path": "/etc/docker"
                                    }, 
                                    "name": "dockerdaemoncfg"
                                }
                            ]
                        }
                    }, 
                    "templateGeneration": 1, 
                    "updateStrategy": {
                        "rollingUpdate": {
                            "maxUnavailable": 1
                        }, 
                        "type": "RollingUpdate"
                    }
                }, 
                "status": {
                    "currentNumberScheduled": 0, 
                    "desiredNumberScheduled": 0, 
                    "numberMisscheduled": 0, 
                    "numberReady": 0, 
                    "observedGeneration": 1
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_fluentd : Retrieve list of Fluentd hosts] **************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:183
ok: [openshift] => {
    "changed": false, 
    "results": {
        "cmd": "/bin/oc get node -o json -n default", 
        "results": [
            {
                "apiVersion": "v1", 
                "items": [
                    {
                        "apiVersion": "v1", 
                        "kind": "Node", 
                        "metadata": {
                            "annotations": {
                                "volumes.kubernetes.io/controller-managed-attach-detach": "true"
                            }, 
                            "creationTimestamp": "2017-06-09T00:29:39Z", 
                            "labels": {
                                "beta.kubernetes.io/arch": "amd64", 
                                "beta.kubernetes.io/os": "linux", 
                                "kubernetes.io/hostname": "172.18.10.53"
                            }, 
                            "name": "172.18.10.53", 
                            "namespace": "", 
                            "resourceVersion": "1608", 
                            "selfLink": "/api/v1/nodes/172.18.10.53", 
                            "uid": "b964e6da-4caa-11e7-a03a-0e027bbb120e"
                        }, 
                        "spec": {
                            "externalID": "172.18.10.53", 
                            "providerID": "aws:////i-01e4f7a1f27a8c5a8"
                        }, 
                        "status": {
                            "addresses": [
                                {
                                    "address": "172.18.10.53", 
                                    "type": "LegacyHostIP"
                                }, 
                                {
                                    "address": "172.18.10.53", 
                                    "type": "InternalIP"
                                }, 
                                {
                                    "address": "172.18.10.53", 
                                    "type": "Hostname"
                                }
                            ], 
                            "allocatable": {
                                "cpu": "4", 
                                "memory": "7129288Ki", 
                                "pods": "40"
                            }, 
                            "capacity": {
                                "cpu": "4", 
                                "memory": "7231688Ki", 
                                "pods": "40"
                            }, 
                            "conditions": [
                                {
                                    "lastHeartbeatTime": "2017-06-09T00:44:34Z", 
                                    "lastTransitionTime": "2017-06-09T00:29:39Z", 
                                    "message": "kubelet has sufficient disk space available", 
                                    "reason": "KubeletHasSufficientDisk", 
                                    "status": "False", 
                                    "type": "OutOfDisk"
                                }, 
                                {
                                    "lastHeartbeatTime": "2017-06-09T00:44:34Z", 
                                    "lastTransitionTime": "2017-06-09T00:29:39Z", 
                                    "message": "kubelet has sufficient memory available", 
                                    "reason": "KubeletHasSufficientMemory", 
                                    "status": "False", 
                                    "type": "MemoryPressure"
                                }, 
                                {
                                    "lastHeartbeatTime": "2017-06-09T00:44:34Z", 
                                    "lastTransitionTime": "2017-06-09T00:29:39Z", 
                                    "message": "kubelet has no disk pressure", 
                                    "reason": "KubeletHasNoDiskPressure", 
                                    "status": "False", 
                                    "type": "DiskPressure"
                                }, 
                                {
                                    "lastHeartbeatTime": "2017-06-09T00:44:34Z", 
                                    "lastTransitionTime": "2017-06-09T00:29:39Z", 
                                    "message": "kubelet is posting ready status", 
                                    "reason": "KubeletReady", 
                                    "status": "True", 
                                    "type": "Ready"
                                }
                            ], 
                            "daemonEndpoints": {
                                "kubeletEndpoint": {
                                    "Port": 10250
                                }
                            }, 
                            "images": [
                                {
                                    "names": [
                                        "docker.io/openshift/origin-docker-registry@sha256:0f09f026c3097b4a54215a640de85e80316e52ff27473fbe322a1b804abd8c31", 
                                        "docker.io/openshift/origin-docker-registry:latest"
                                    ], 
                                    "sizeBytes": 1100552851
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-docker-registry:6acabdc", 
                                        "openshift/origin-docker-registry:latest"
                                    ], 
                                    "sizeBytes": 1100164272
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-gitserver:6acabdc", 
                                        "openshift/origin-gitserver:latest"
                                    ], 
                                    "sizeBytes": 1086520226
                                }, 
                                {
                                    "names": [
                                        "openshift/openvswitch:6acabdc", 
                                        "openshift/openvswitch:latest"
                                    ], 
                                    "sizeBytes": 1053403667
                                }, 
                                {
                                    "names": [
                                        "openshift/node:6acabdc", 
                                        "openshift/node:latest"
                                    ], 
                                    "sizeBytes": 1051721928
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-keepalived-ipfailover:6acabdc", 
                                        "openshift/origin-keepalived-ipfailover:latest"
                                    ], 
                                    "sizeBytes": 1028529711
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-haproxy-router:6acabdc", 
                                        "openshift/origin-haproxy-router:latest"
                                    ], 
                                    "sizeBytes": 1022758742
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-f5-router:6acabdc", 
                                        "openshift/origin-f5-router:latest"
                                    ], 
                                    "sizeBytes": 1001728427
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-sti-builder:6acabdc", 
                                        "openshift/origin-sti-builder:latest"
                                    ], 
                                    "sizeBytes": 1001728427
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-recycler:6acabdc", 
                                        "openshift/origin-recycler:latest"
                                    ], 
                                    "sizeBytes": 1001728427
                                }, 
                                {
                                    "names": [
                                        "openshift/origin:6acabdc", 
                                        "openshift/origin:latest"
                                    ], 
                                    "sizeBytes": 1001728427
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-deployer:6acabdc", 
                                        "openshift/origin-deployer:latest"
                                    ], 
                                    "sizeBytes": 1001728427
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-docker-builder:latest"
                                    ], 
                                    "sizeBytes": 1001728427
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-cluster-capacity:6acabdc", 
                                        "openshift/origin-cluster-capacity:latest"
                                    ], 
                                    "sizeBytes": 962455026
                                }, 
                                {
                                    "names": [
                                        "rhel7.1:latest"
                                    ], 
                                    "sizeBytes": 765301508
                                }, 
                                {
                                    "names": [
                                        "openshift/dind-master:latest"
                                    ], 
                                    "sizeBytes": 731456758
                                }, 
                                {
                                    "names": [
                                        "openshift/dind-node:latest"
                                    ], 
                                    "sizeBytes": 731453034
                                }, 
                                {
                                    "names": [
                                        "172.30.176.187:5000/logging/logging-auth-proxy@sha256:448133375e0fab5d1a08d500928ccbcda37f51978863ee969b0157a0196c1571", 
                                        "172.30.176.187:5000/logging/logging-auth-proxy:latest"
                                    ], 
                                    "sizeBytes": 715536037
                                }, 
                                {
                                    "names": [
                                        "<none>@<none>", 
                                        "<none>:<none>"
                                    ], 
                                    "sizeBytes": 709532011
                                }, 
                                {
                                    "names": [
                                        "docker.io/node@sha256:46db0dd19955beb87b841c30a6b9812ba626473283e84117d1c016deee5949a9", 
                                        "docker.io/node:0.10.36"
                                    ], 
                                    "sizeBytes": 697128386
                                }, 
                                {
                                    "names": [
                                        "docker.io/openshift/origin-logging-kibana@sha256:9e3e11edb1f14c744ecf9587a3212e7648934a8bb302513ba84a8c6b058a1229", 
                                        "docker.io/openshift/origin-logging-kibana:latest"
                                    ], 
                                    "sizeBytes": 682851463
                                }, 
                                {
                                    "names": [
                                        "172.30.176.187:5000/logging/logging-kibana@sha256:ad855f03153ba8615c264bb2544da9e40c99683bbf8d12d2cf3f891f4a380c48", 
                                        "172.30.176.187:5000/logging/logging-kibana:latest"
                                    ], 
                                    "sizeBytes": 682851416
                                }, 
                                {
                                    "names": [
                                        "openshift/dind:latest"
                                    ], 
                                    "sizeBytes": 640650210
                                }, 
                                {
                                    "names": [
                                        "172.30.176.187:5000/logging/logging-elasticsearch@sha256:b4856b7dc3ec49ff77d3456cd2fb799093d8255186526759aa570ef7a70c443a", 
                                        "172.30.176.187:5000/logging/logging-elasticsearch:latest"
                                    ], 
                                    "sizeBytes": 623379794
                                }, 
                                {
                                    "names": [
                                        "172.30.176.187:5000/logging/logging-fluentd@sha256:a2e6efe435ba8c9dbdc795d5f19416ded7375cbaf90f4dcac2ac2f739c5a0fb8", 
                                        "172.30.176.187:5000/logging/logging-fluentd:latest"
                                    ], 
                                    "sizeBytes": 472184809
                                }, 
                                {
                                    "names": [
                                        "docker.io/openshift/origin-logging-elasticsearch@sha256:3a4d359a10d7655cdca2cfa3a89771d6825ffe1d50de4ac7bb570e79f862ccfb", 
                                        "docker.io/openshift/origin-logging-elasticsearch:latest"
                                    ], 
                                    "sizeBytes": 425433788
                                }, 
                                {
                                    "names": [
                                        "172.30.176.187:5000/logging/logging-curator@sha256:3c3566937592c11117eea412fc5f64c14a81590c8e4e0796b9aeccf9f2f10071", 
                                        "172.30.176.187:5000/logging/logging-curator:latest"
                                    ], 
                                    "sizeBytes": 418287790
                                }, 
                                {
                                    "names": [
                                        "docker.io/openshift/base-centos7@sha256:aea292a3bddba020cde0ee83e6a45807931eb607c164ec6a3674f67039d8cd7c", 
                                        "docker.io/openshift/base-centos7:latest"
                                    ], 
                                    "sizeBytes": 383049978
                                }, 
                                {
                                    "names": [
                                        "rhel7.2:latest"
                                    ], 
                                    "sizeBytes": 377493597
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-egress-router:6acabdc", 
                                        "openshift/origin-egress-router:latest"
                                    ], 
                                    "sizeBytes": 364745713
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-base:latest"
                                    ], 
                                    "sizeBytes": 363070172
                                }, 
                                {
                                    "names": [
                                        "<none>@<none>", 
                                        "<none>:<none>"
                                    ], 
                                    "sizeBytes": 363024702
                                }, 
                                {
                                    "names": [
                                        "docker.io/openshift/origin-logging-fluentd@sha256:8e382dfb002d4f0788d8c5d30ec1baff8005c548bc49fa061fc24d9a0302d9e9", 
                                        "docker.io/openshift/origin-logging-fluentd:latest"
                                    ], 
                                    "sizeBytes": 359223094
                                }, 
                                {
                                    "names": [
                                        "docker.io/fedora@sha256:69281ddd7b2600e5f2b17f1e12d7fba25207f459204fb2d15884f8432c479136", 
                                        "docker.io/fedora:25"
                                    ], 
                                    "sizeBytes": 230864375
                                }, 
                                {
                                    "names": [
                                        "docker.io/openshift/origin-logging-curator@sha256:ee6d3de66a3dac118b6c961786fc075276bda8c688f9bf8e24f6559b38f0fbeb", 
                                        "docker.io/openshift/origin-logging-curator:latest"
                                    ], 
                                    "sizeBytes": 224977536
                                }, 
                                {
                                    "names": [
                                        "rhel7.3:latest", 
                                        "rhel7:latest"
                                    ], 
                                    "sizeBytes": 219121266
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-pod:6acabdc", 
                                        "openshift/origin-pod:latest"
                                    ], 
                                    "sizeBytes": 213199843
                                }, 
                                {
                                    "names": [
                                        "registry.access.redhat.com/rhel7.2@sha256:98e6ca5d226c26e31a95cd67716afe22833c943e1926a21daf1a030906a02249", 
                                        "registry.access.redhat.com/rhel7.2:latest"
                                    ], 
                                    "sizeBytes": 201376319
                                }, 
                                {
                                    "names": [
                                        "registry.access.redhat.com/rhel7.3@sha256:1e232401d8e0ba53b36b757b4712fbcbd1dab9c21db039c45a84871a74e89e68", 
                                        "registry.access.redhat.com/rhel7.3:latest"
                                    ], 
                                    "sizeBytes": 192693772
                                }, 
                                {
                                    "names": [
                                        "docker.io/centos@sha256:bba1de7c9d900a898e3cadbae040dfe8a633c06bc104a0df76ae24483e03c077"
                                    ], 
                                    "sizeBytes": 192548999
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-source:latest"
                                    ], 
                                    "sizeBytes": 192548894
                                }, 
                                {
                                    "names": [
                                        "docker.io/centos@sha256:aebf12af704307dfa0079b3babdca8d7e8ff6564696882bcb5d11f1d461f9ee9", 
                                        "docker.io/centos:7", 
                                        "docker.io/centos:centos7"
                                    ], 
                                    "sizeBytes": 192548537
                                }, 
                                {
                                    "names": [
                                        "registry.access.redhat.com/rhel7.1@sha256:1bc5a4c43bbb29a5a96a61896ff696933be3502e2f5fdc4cde02d9e101731fdd", 
                                        "registry.access.redhat.com/rhel7.1:latest"
                                    ], 
                                    "sizeBytes": 158229901
                                }, 
                                {
                                    "names": [
                                        "openshift/hello-openshift:6acabdc", 
                                        "openshift/hello-openshift:latest"
                                    ], 
                                    "sizeBytes": 5643318
                                }
                            ], 
                            "nodeInfo": {
                                "architecture": "amd64", 
                                "bootID": "b2dbd105-bc61-42b6-b60d-52f9219521c5", 
                                "containerRuntimeVersion": "docker://1.12.6", 
                                "kernelVersion": "3.10.0-327.22.2.el7.x86_64", 
                                "kubeProxyVersion": "v1.6.1+5115d708d7", 
                                "kubeletVersion": "v1.6.1+5115d708d7", 
                                "machineID": "f9370ed252a14f73b014c1301a9b6d1b", 
                                "operatingSystem": "linux", 
                                "osImage": "Red Hat Enterprise Linux Server 7.3 (Maipo)", 
                                "systemUUID": "EC267156-9783-78C6-EEDC-C8C0F8FEE46D"
                            }
                        }
                    }
                ], 
                "kind": "List", 
                "metadata": {}, 
                "resourceVersion": "", 
                "selfLink": ""
            }
        ], 
        "returncode": 0
    }, 
    "state": "list"
}

TASK [openshift_logging_fluentd : Set openshift_logging_fluentd_hosts] *********
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:190
ok: [openshift] => {
    "ansible_facts": {
        "openshift_logging_fluentd_hosts": [
            "172.18.10.53"
        ]
    }, 
    "changed": false
}

TASK [openshift_logging_fluentd : include] *************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:195
included: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/label_and_wait.yaml for openshift

TASK [openshift_logging_fluentd : Label 172.18.10.53 for Fluentd deployment] ***
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/label_and_wait.yaml:2
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc label node 172.18.10.53 logging-infra-fluentd=true --overwrite", 
        "results": "", 
        "returncode": 0
    }, 
    "state": "add"
}

TASK [openshift_logging_fluentd : command] *************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/label_and_wait.yaml:10
changed: [openshift -> 127.0.0.1] => {
    "changed": true, 
    "cmd": [
        "sleep", 
        "0.5"
    ], 
    "delta": "0:00:00.502049", 
    "end": "2017-06-08 20:44:43.580622", 
    "rc": 0, 
    "start": "2017-06-08 20:44:43.078573"
}

TASK [openshift_logging_fluentd : Delete temp directory] ***********************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:202
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-VkwRim", 
    "state": "absent"
}

TASK [openshift_logging : include] *********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:253
included: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/update_master_config.yaml for openshift

TASK [openshift_logging : include] *********************************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/main.yaml:36
skipping: [openshift] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true
}

TASK [openshift_logging : Cleaning up local temp dir] **************************
task path: /tmp/tmp.Nm00ZyJSXl/openhift-ansible/roles/openshift_logging/tasks/main.yaml:40
ok: [openshift -> 127.0.0.1] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-rtwgLR", 
    "state": "absent"
}
META: ran handlers
META: ran handlers

PLAY [Update Master configs] ***************************************************
skipping: no hosts matched

PLAY RECAP *********************************************************************
localhost                  : ok=2    changed=0    unreachable=0    failed=0   
openshift                  : ok=207  changed=70   unreachable=0    failed=0   

/data/src/github.com/openshift/origin-aggregated-logging
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:170: executing 'oc get pods -l component=es' expecting any result and text 'Running'; re-trying every 0.2s until completion or 180.000s...
SUCCESS after 0.366s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:170: executing 'oc get pods -l component=es' expecting any result and text 'Running'; re-trying every 0.2s until completion or 180.000s
Standard output from the command:
NAME                                      READY     STATUS    RESTARTS   AGE
logging-es-data-master-f10vs1am-1-wm1tr   1/1       Running   0          1m

There was no error output from the command.
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:171: executing 'oc get pods -l component=kibana' expecting any result and text 'Running'; re-trying every 0.2s until completion or 180.000s...
SUCCESS after 0.347s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:171: executing 'oc get pods -l component=kibana' expecting any result and text 'Running'; re-trying every 0.2s until completion or 180.000s
Standard output from the command:
NAME                     READY     STATUS    RESTARTS   AGE
logging-kibana-1-1fms4   2/2       Running   0          36s

There was no error output from the command.
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:172: executing 'oc get pods -l component=curator' expecting any result and text 'Running'; re-trying every 0.2s until completion or 180.000s...
SUCCESS after 0.298s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:172: executing 'oc get pods -l component=curator' expecting any result and text 'Running'; re-trying every 0.2s until completion or 180.000s
Standard output from the command:
NAME                      READY     STATUS    RESTARTS   AGE
logging-curator-1-qdz20   1/1       Running   0          18s

There was no error output from the command.
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:175: executing 'oc get pods -l component=es-ops' expecting any result and text 'Running'; re-trying every 0.2s until completion or 180.000s...
SUCCESS after 0.214s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:175: executing 'oc get pods -l component=es-ops' expecting any result and text 'Running'; re-trying every 0.2s until completion or 180.000s
Standard output from the command:
NAME                                          READY     STATUS    RESTARTS   AGE
logging-es-ops-data-master-gw0u0psf-1-j2gcm   1/1       Running   0          50s

There was no error output from the command.
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:176: executing 'oc get pods -l component=kibana-ops' expecting any result and text 'Running'; re-trying every 0.2s until completion or 180.000s...
SUCCESS after 0.221s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:176: executing 'oc get pods -l component=kibana-ops' expecting any result and text 'Running'; re-trying every 0.2s until completion or 180.000s
Standard output from the command:
NAME                         READY     STATUS    RESTARTS   AGE
logging-kibana-ops-1-62gzl   2/2       Running   0          26s

There was no error output from the command.
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:177: executing 'oc get pods -l component=curator-ops' expecting any result and text 'Running'; re-trying every 0.2s until completion or 180.000s...
SUCCESS after 0.211s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:177: executing 'oc get pods -l component=curator-ops' expecting any result and text 'Running'; re-trying every 0.2s until completion or 180.000s
Standard output from the command:
NAME                          READY     STATUS    RESTARTS   AGE
logging-curator-ops-1-q69tp   1/1       Running   0          14s

There was no error output from the command.
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:185: executing 'oc project logging > /dev/null' expecting success...
SUCCESS after 0.234s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:185: executing 'oc project logging > /dev/null' expecting success
There was no output from the command.
There was no error output from the command.
/data/src/github.com/openshift/origin-aggregated-logging/hack/testing /data/src/github.com/openshift/origin-aggregated-logging
--> Deploying template "logging/logging-fluentd-template-maker" for "-" to project logging

     logging-fluentd-template-maker
     ---------
     Template to create template for fluentd

     * With parameters:
        * MASTER_URL=https://kubernetes.default.svc.cluster.local
        * ES_HOST=logging-es
        * ES_PORT=9200
        * ES_CLIENT_CERT=/etc/fluent/keys/cert
        * ES_CLIENT_KEY=/etc/fluent/keys/key
        * ES_CA=/etc/fluent/keys/ca
        * OPS_HOST=logging-es-ops
        * OPS_PORT=9200
        * OPS_CLIENT_CERT=/etc/fluent/keys/cert
        * OPS_CLIENT_KEY=/etc/fluent/keys/key
        * OPS_CA=/etc/fluent/keys/ca
        * ES_COPY=false
        * ES_COPY_HOST=
        * ES_COPY_PORT=
        * ES_COPY_SCHEME=https
        * ES_COPY_CLIENT_CERT=
        * ES_COPY_CLIENT_KEY=
        * ES_COPY_CA=
        * ES_COPY_USERNAME=
        * ES_COPY_PASSWORD=
        * OPS_COPY_HOST=
        * OPS_COPY_PORT=
        * OPS_COPY_SCHEME=https
        * OPS_COPY_CLIENT_CERT=
        * OPS_COPY_CLIENT_KEY=
        * OPS_COPY_CA=
        * OPS_COPY_USERNAME=
        * OPS_COPY_PASSWORD=
        * IMAGE_PREFIX_DEFAULT=172.30.176.187:5000/logging/
        * IMAGE_VERSION_DEFAULT=latest
        * USE_JOURNAL=
        * JOURNAL_SOURCE=
        * JOURNAL_READ_FROM_HEAD=false
        * USE_MUX=false
        * USE_MUX_CLIENT=false
        * MUX_ALLOW_EXTERNAL=false
        * BUFFER_QUEUE_LIMIT=1024
        * BUFFER_SIZE_LIMIT=16777216

--> Creating resources ...
    template "logging-fluentd-template" created
--> Success
    Run 'oc status' to view your app.
WARNING: bridge-nf-call-ip6tables is disabled
START wait_for_fluentd_to_catch_up at 2017-06-09 00:45:06.036534400+00:00
added es message 76ed5aa3-71ea-48ee-880e-b157b5342b2c
added es-ops message 3c484242-80f3-45f4-b4e6-06c35c832857
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 76ed5aa3-71ea-48ee-880e-b157b5342b2c
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 3c484242-80f3-45f4-b4e6-06c35c832857
END wait_for_fluentd_to_catch_up took 11 seconds at 2017-06-09 00:45:17.827327976+00:00
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:223: executing 'oc login --username=admin --password=admin' expecting success...
SUCCESS after 0.235s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:223: executing 'oc login --username=admin --password=admin' expecting success
Standard output from the command:
Login successful.

You don't have any projects. You can try to create a new project, by running

    oc new-project <projectname>


There was no error output from the command.
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:224: executing 'oc login --username=system:admin' expecting success...
SUCCESS after 0.411s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:224: executing 'oc login --username=system:admin' expecting success
Standard output from the command:
Logged into "https://172.18.10.53:8443" as "system:admin" using existing credentials.

You have access to the following projects and can switch between them with 'oc project <projectname>':

  * default
    kube-public
    kube-system
    logging
    openshift
    openshift-infra

Using project "default".

There was no error output from the command.
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:225: executing 'oadm policy add-cluster-role-to-user cluster-admin admin' expecting success...
SUCCESS after 0.260s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:225: executing 'oadm policy add-cluster-role-to-user cluster-admin admin' expecting success
Standard output from the command:
cluster role "cluster-admin" added: "admin"

There was no error output from the command.
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:226: executing 'oc login --username=loguser --password=loguser' expecting success...
SUCCESS after 0.237s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:226: executing 'oc login --username=loguser --password=loguser' expecting success
Standard output from the command:
Login successful.

You don't have any projects. You can try to create a new project, by running

    oc new-project <projectname>


There was no error output from the command.
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:227: executing 'oc login --username=system:admin' expecting success...
SUCCESS after 0.367s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:227: executing 'oc login --username=system:admin' expecting success
Standard output from the command:
Logged into "https://172.18.10.53:8443" as "system:admin" using existing credentials.

You have access to the following projects and can switch between them with 'oc project <projectname>':

  * default
    kube-public
    kube-system
    logging
    openshift
    openshift-infra

Using project "default".

There was no error output from the command.
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:228: executing 'oc project logging > /dev/null' expecting success...
SUCCESS after 0.401s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:228: executing 'oc project logging > /dev/null' expecting success
There was no output from the command.
There was no error output from the command.
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:229: executing 'oadm policy add-role-to-user view loguser' expecting success...
SUCCESS after 0.235s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:229: executing 'oadm policy add-role-to-user view loguser' expecting success
Standard output from the command:
role "view" added: "loguser"

There was no error output from the command.
Checking if Elasticsearch logging-es-data-master-f10vs1am-1-wm1tr is ready
{
    "_id": "0",
    "_index": ".searchguard.logging-es-data-master-f10vs1am-1-wm1tr",
    "_shards": {
        "failed": 0,
        "successful": 1,
        "total": 1
    },
    "_type": "rolesmapping",
    "_version": 2,
    "created": false
}
Checking if Elasticsearch logging-es-ops-data-master-gw0u0psf-1-j2gcm is ready
{
    "_id": "0",
    "_index": ".searchguard.logging-es-ops-data-master-gw0u0psf-1-j2gcm",
    "_shards": {
        "failed": 0,
        "successful": 1,
        "total": 1
    },
    "_type": "rolesmapping",
    "_version": 2,
    "created": false
}
------------------------------------------
     Test 'admin' user can access cluster stats
------------------------------------------
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:265: executing 'test 200 = 200' expecting success...
SUCCESS after 0.009s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:265: executing 'test 200 = 200' expecting success
There was no output from the command.
There was no error output from the command.
------------------------------------------
     Test 'admin' user can access cluster stats for OPS cluster
------------------------------------------
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:274: executing 'test 200 = 200' expecting success...
SUCCESS after 0.010s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:274: executing 'test 200 = 200' expecting success
There was no output from the command.
There was no error output from the command.
Running e2e tests
Checking installation of the EFK stack...
Running test/cluster/rollout.sh:20: executing 'oc project logging' expecting success...
SUCCESS after 0.215s: test/cluster/rollout.sh:20: executing 'oc project logging' expecting success
Standard output from the command:
Already on project "logging" on server "https://172.18.10.53:8443".

There was no error output from the command.
[INFO] Checking for DeploymentConfigurations...
Running test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-kibana' expecting success...
SUCCESS after 0.221s: test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-kibana' expecting success
Standard output from the command:
NAME             REVISION   DESIRED   CURRENT   TRIGGERED BY
logging-kibana   1          1         1         config

There was no error output from the command.
Running test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-kibana' expecting success...
SUCCESS after 0.220s: test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-kibana' expecting success
Standard output from the command:
replication controller "logging-kibana-1" successfully rolled out

There was no error output from the command.
Running test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-curator' expecting success...
SUCCESS after 0.226s: test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-curator' expecting success
Standard output from the command:
NAME              REVISION   DESIRED   CURRENT   TRIGGERED BY
logging-curator   1          1         1         config

There was no error output from the command.
Running test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-curator' expecting success...
SUCCESS after 0.206s: test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-curator' expecting success
Standard output from the command:
replication controller "logging-curator-1" successfully rolled out

There was no error output from the command.
Running test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-kibana-ops' expecting success...
SUCCESS after 0.209s: test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-kibana-ops' expecting success
Standard output from the command:
NAME                 REVISION   DESIRED   CURRENT   TRIGGERED BY
logging-kibana-ops   1          1         1         config

There was no error output from the command.
Running test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-kibana-ops' expecting success...
SUCCESS after 0.214s: test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-kibana-ops' expecting success
Standard output from the command:
replication controller "logging-kibana-ops-1" successfully rolled out

There was no error output from the command.
Running test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-curator-ops' expecting success...
SUCCESS after 0.226s: test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-curator-ops' expecting success
Standard output from the command:
NAME                  REVISION   DESIRED   CURRENT   TRIGGERED BY
logging-curator-ops   1          1         1         config

There was no error output from the command.
Running test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-curator-ops' expecting success...
SUCCESS after 0.208s: test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-curator-ops' expecting success
Standard output from the command:
replication controller "logging-curator-ops-1" successfully rolled out

There was no error output from the command.
Running test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-es-data-master-f10vs1am' expecting success...
SUCCESS after 0.210s: test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-es-data-master-f10vs1am' expecting success
Standard output from the command:
NAME                              REVISION   DESIRED   CURRENT   TRIGGERED BY
logging-es-data-master-f10vs1am   1          1         1         config

There was no error output from the command.
Running test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-es-data-master-f10vs1am' expecting success...
SUCCESS after 0.209s: test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-es-data-master-f10vs1am' expecting success
Standard output from the command:
replication controller "logging-es-data-master-f10vs1am-1" successfully rolled out

There was no error output from the command.
Running test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-es-ops-data-master-gw0u0psf' expecting success...
SUCCESS after 0.209s: test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-es-ops-data-master-gw0u0psf' expecting success
Standard output from the command:
NAME                                  REVISION   DESIRED   CURRENT   TRIGGERED BY
logging-es-ops-data-master-gw0u0psf   1          1         1         config

There was no error output from the command.
Running test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-es-ops-data-master-gw0u0psf' expecting success...
SUCCESS after 0.297s: test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-es-ops-data-master-gw0u0psf' expecting success
Standard output from the command:
replication controller "logging-es-ops-data-master-gw0u0psf-1" successfully rolled out

There was no error output from the command.
[INFO] Checking for Routes...
Running test/cluster/rollout.sh:30: executing 'oc get route logging-kibana' expecting success...
SUCCESS after 0.222s: test/cluster/rollout.sh:30: executing 'oc get route logging-kibana' expecting success
Standard output from the command:
NAME             HOST/PORT                                 PATH      SERVICES         PORT      TERMINATION          WILDCARD
logging-kibana   kibana.router.default.svc.cluster.local             logging-kibana   <all>     reencrypt/Redirect   None

There was no error output from the command.
Running test/cluster/rollout.sh:30: executing 'oc get route logging-kibana-ops' expecting success...
SUCCESS after 0.232s: test/cluster/rollout.sh:30: executing 'oc get route logging-kibana-ops' expecting success
Standard output from the command:
NAME                 HOST/PORT                                     PATH      SERVICES             PORT      TERMINATION          WILDCARD
logging-kibana-ops   kibana-ops.router.default.svc.cluster.local             logging-kibana-ops   <all>     reencrypt/Redirect   None

There was no error output from the command.
[INFO] Checking for Services...
Running test/cluster/rollout.sh:35: executing 'oc get service logging-es' expecting success...
SUCCESS after 0.251s: test/cluster/rollout.sh:35: executing 'oc get service logging-es' expecting success
Standard output from the command:
NAME         CLUSTER-IP      EXTERNAL-IP   PORT(S)    AGE
logging-es   172.30.34.242   <none>        9200/TCP   1m

There was no error output from the command.
Running test/cluster/rollout.sh:35: executing 'oc get service logging-es-cluster' expecting success...
SUCCESS after 0.219s: test/cluster/rollout.sh:35: executing 'oc get service logging-es-cluster' expecting success
Standard output from the command:
NAME                 CLUSTER-IP      EXTERNAL-IP   PORT(S)    AGE
logging-es-cluster   172.30.44.202   <none>        9300/TCP   2m

There was no error output from the command.
Running test/cluster/rollout.sh:35: executing 'oc get service logging-kibana' expecting success...
SUCCESS after 0.240s: test/cluster/rollout.sh:35: executing 'oc get service logging-kibana' expecting success
Standard output from the command:
NAME             CLUSTER-IP      EXTERNAL-IP   PORT(S)   AGE
logging-kibana   172.30.133.40   <none>        443/TCP   1m

There was no error output from the command.
Running test/cluster/rollout.sh:35: executing 'oc get service logging-es-ops' expecting success...
SUCCESS after 0.287s: test/cluster/rollout.sh:35: executing 'oc get service logging-es-ops' expecting success
Standard output from the command:
NAME             CLUSTER-IP       EXTERNAL-IP   PORT(S)    AGE
logging-es-ops   172.30.202.175   <none>        9200/TCP   1m

There was no error output from the command.
Running test/cluster/rollout.sh:35: executing 'oc get service logging-es-ops-cluster' expecting success...
SUCCESS after 0.229s: test/cluster/rollout.sh:35: executing 'oc get service logging-es-ops-cluster' expecting success
Standard output from the command:
NAME                     CLUSTER-IP       EXTERNAL-IP   PORT(S)    AGE
logging-es-ops-cluster   172.30.203.144   <none>        9300/TCP   1m

There was no error output from the command.
Running test/cluster/rollout.sh:35: executing 'oc get service logging-kibana-ops' expecting success...
SUCCESS after 0.212s: test/cluster/rollout.sh:35: executing 'oc get service logging-kibana-ops' expecting success
Standard output from the command:
NAME                 CLUSTER-IP       EXTERNAL-IP   PORT(S)   AGE
logging-kibana-ops   172.30.139.191   <none>        443/TCP   1m

There was no error output from the command.
[INFO] Checking for OAuthClients...
Running test/cluster/rollout.sh:40: executing 'oc get oauthclient kibana-proxy' expecting success...
SUCCESS after 0.225s: test/cluster/rollout.sh:40: executing 'oc get oauthclient kibana-proxy' expecting success
Standard output from the command:
NAME           SECRET                                                             WWW-CHALLENGE   REDIRECT URIS
kibana-proxy   H1JYywO0F3KJwQNmdih4IS9VHL2gIwPZcDcEMKbnweJnsT794ndhKdS906Y175Ab   FALSE           https://kibana-ops.router.default.svc.cluster.local

There was no error output from the command.
[INFO] Checking for DaemonSets...
Running test/cluster/rollout.sh:45: executing 'oc get daemonset logging-fluentd' expecting success...
SUCCESS after 0.212s: test/cluster/rollout.sh:45: executing 'oc get daemonset logging-fluentd' expecting success
Standard output from the command:
NAME              DESIRED   CURRENT   READY     UP-TO-DATE   AVAILABLE   NODE-SELECTOR                AGE
logging-fluentd   1         1         1         1            1           logging-infra-fluentd=true   1m

There was no error output from the command.
Running test/cluster/rollout.sh:47: executing 'oc get daemonset logging-fluentd -o jsonpath='{ .status.numberReady }'' expecting any result and text '1'; re-trying every 0.2s until completion or 60.000s...
SUCCESS after 0.235s: test/cluster/rollout.sh:47: executing 'oc get daemonset logging-fluentd -o jsonpath='{ .status.numberReady }'' expecting any result and text '1'; re-trying every 0.2s until completion or 60.000s
Standard output from the command:
1
There was no error output from the command.
Checking for log entry matches between ES and their sources...
WARNING: bridge-nf-call-ip6tables is disabled
Running test/cluster/functionality.sh:40: executing 'oc login --username=admin --password=admin' expecting success...
SUCCESS after 0.236s: test/cluster/functionality.sh:40: executing 'oc login --username=admin --password=admin' expecting success
Standard output from the command:
Login successful.

You have access to the following projects and can switch between them with 'oc project <projectname>':

    default
    kube-public
    kube-system
  * logging
    openshift
    openshift-infra

Using project "logging".

There was no error output from the command.
Running test/cluster/functionality.sh:44: executing 'oc login --username=system:admin' expecting success...
SUCCESS after 0.233s: test/cluster/functionality.sh:44: executing 'oc login --username=system:admin' expecting success
Standard output from the command:
Logged into "https://172.18.10.53:8443" as "system:admin" using existing credentials.

You have access to the following projects and can switch between them with 'oc project <projectname>':

    default
    kube-public
    kube-system
  * logging
    openshift
    openshift-infra

Using project "logging".

There was no error output from the command.
Running test/cluster/functionality.sh:45: executing 'oc project logging' expecting success...
SUCCESS after 0.221s: test/cluster/functionality.sh:45: executing 'oc project logging' expecting success
Standard output from the command:
Already on project "logging" on server "https://172.18.10.53:8443".

There was no error output from the command.
[INFO] Testing Kibana pod logging-kibana-1-1fms4 for a successful start...
Running test/cluster/functionality.sh:52: executing 'oc exec logging-kibana-1-1fms4 -c kibana -- curl -s --request HEAD --write-out '%{response_code}' http://localhost:5601/' expecting any result and text '200'; re-trying every 0.2s until completion or 600.000s...
SUCCESS after 120.290s: test/cluster/functionality.sh:52: executing 'oc exec logging-kibana-1-1fms4 -c kibana -- curl -s --request HEAD --write-out '%{response_code}' http://localhost:5601/' expecting any result and text '200'; re-trying every 0.2s until completion or 600.000s
Standard output from the command:
200
There was no error output from the command.
Running test/cluster/functionality.sh:53: executing 'oc get pod logging-kibana-1-1fms4 -o jsonpath='{ .status.containerStatuses[?(@.name=="kibana")].ready }'' expecting any result and text 'true'; re-trying every 0.2s until completion or 60.000s...
SUCCESS after 0.213s: test/cluster/functionality.sh:53: executing 'oc get pod logging-kibana-1-1fms4 -o jsonpath='{ .status.containerStatuses[?(@.name=="kibana")].ready }'' expecting any result and text 'true'; re-trying every 0.2s until completion or 60.000s
Standard output from the command:
true
There was no error output from the command.
Running test/cluster/functionality.sh:54: executing 'oc get pod logging-kibana-1-1fms4 -o jsonpath='{ .status.containerStatuses[?(@.name=="kibana-proxy")].ready }'' expecting any result and text 'true'; re-trying every 0.2s until completion or 60.000s...
SUCCESS after 0.278s: test/cluster/functionality.sh:54: executing 'oc get pod logging-kibana-1-1fms4 -o jsonpath='{ .status.containerStatuses[?(@.name=="kibana-proxy")].ready }'' expecting any result and text 'true'; re-trying every 0.2s until completion or 60.000s
Standard output from the command:
true
There was no error output from the command.
[INFO] Testing Elasticsearch pod logging-es-data-master-f10vs1am-1-wm1tr for a successful start...
Running test/cluster/functionality.sh:59: executing 'curl_es 'logging-es-data-master-f10vs1am-1-wm1tr' '/' -X HEAD -w '%{response_code}'' expecting any result and text '200'; re-trying every 0.2s until completion or 600.000s...
SUCCESS after 0.367s: test/cluster/functionality.sh:59: executing 'curl_es 'logging-es-data-master-f10vs1am-1-wm1tr' '/' -X HEAD -w '%{response_code}'' expecting any result and text '200'; re-trying every 0.2s until completion or 600.000s
Standard output from the command:
200
There was no error output from the command.
Running test/cluster/functionality.sh:60: executing 'oc get pod logging-es-data-master-f10vs1am-1-wm1tr -o jsonpath='{ .status.containerStatuses[?(@.name=="elasticsearch")].ready }'' expecting any result and text 'true'; re-trying every 0.2s until completion or 60.000s...
SUCCESS after 0.252s: test/cluster/functionality.sh:60: executing 'oc get pod logging-es-data-master-f10vs1am-1-wm1tr -o jsonpath='{ .status.containerStatuses[?(@.name=="elasticsearch")].ready }'' expecting any result and text 'true'; re-trying every 0.2s until completion or 60.000s
Standard output from the command:
true
There was no error output from the command.
[INFO] Checking that Elasticsearch pod logging-es-data-master-f10vs1am-1-wm1tr recovered its indices after starting...
Running test/cluster/functionality.sh:63: executing 'curl_es 'logging-es-data-master-f10vs1am-1-wm1tr' '/_cluster/state/master_node' -w '%{response_code}'' expecting any result and text '}200$'; re-trying every 0.2s until completion or 600.000s...
SUCCESS after 0.536s: test/cluster/functionality.sh:63: executing 'curl_es 'logging-es-data-master-f10vs1am-1-wm1tr' '/_cluster/state/master_node' -w '%{response_code}'' expecting any result and text '}200$'; re-trying every 0.2s until completion or 600.000s
Standard output from the command:
{"cluster_name":"logging-es","master_node":"83dOPHQyQMaW_tzL0uT0Bw"}200
There was no error output from the command.
[INFO] Elasticsearch pod logging-es-data-master-f10vs1am-1-wm1tr is the master
[INFO] Checking that Elasticsearch pod logging-es-data-master-f10vs1am-1-wm1tr has persisted indices created by Fluentd...
Running test/cluster/functionality.sh:76: executing 'curl_es 'logging-es-data-master-f10vs1am-1-wm1tr' '/_cat/indices?h=index'' expecting any result and text '^(project|\.operations)\.'; re-trying every 0.2s until completion or 600.000s...
SUCCESS after 0.367s: test/cluster/functionality.sh:76: executing 'curl_es 'logging-es-data-master-f10vs1am-1-wm1tr' '/_cat/indices?h=index'' expecting any result and text '^(project|\.operations)\.'; re-trying every 0.2s until completion or 600.000s
Standard output from the command:
.kibana.d033e22ae348aeb5660fc2140aec35850c4da997                
project.logging.bad5f82b-4caa-11e7-a03a-0e027bbb120e.2017.06.09 
.searchguard.logging-es-data-master-f10vs1am-1-wm1tr            
.kibana                                                         
project.default.b6920661-4caa-11e7-a03a-0e027bbb120e.2017.06.09 

There was no error output from the command.
[INFO] Cheking for index project.logging.bad5f82b-4caa-11e7-a03a-0e027bbb120e with Kibana pod logging-kibana-1-1fms4...
Running test/cluster/functionality.sh:100: executing 'sudo -E VERBOSE=true go run '/data/src/github.com/openshift/origin-aggregated-logging/hack/testing/check-logs.go' 'logging-kibana-1-1fms4' 'logging-es:9200' 'project.logging.bad5f82b-4caa-11e7-a03a-0e027bbb120e' '/var/log/containers/*_bad5f82b-4caa-11e7-a03a-0e027bbb120e_*.log' '500' 'admin' 'ylHTHTjIitxkX6KsV8y4QewWn-OQ-1wZKUUdPfip37w' '127.0.0.1'' expecting success...
SUCCESS after 8.714s: test/cluster/functionality.sh:100: executing 'sudo -E VERBOSE=true go run '/data/src/github.com/openshift/origin-aggregated-logging/hack/testing/check-logs.go' 'logging-kibana-1-1fms4' 'logging-es:9200' 'project.logging.bad5f82b-4caa-11e7-a03a-0e027bbb120e' '/var/log/containers/*_bad5f82b-4caa-11e7-a03a-0e027bbb120e_*.log' '500' 'admin' 'ylHTHTjIitxkX6KsV8y4QewWn-OQ-1wZKUUdPfip37w' '127.0.0.1'' expecting success
Standard output from the command:
Executing command [oc exec logging-kibana-1-1fms4 -- curl -s --key /etc/kibana/keys/key --cert /etc/kibana/keys/cert --cacert /etc/kibana/keys/ca -H 'X-Proxy-Remote-User: admin' -H 'Authorization: Bearer ylHTHTjIitxkX6KsV8y4QewWn-OQ-1wZKUUdPfip37w' -H 'X-Forwarded-For: 127.0.0.1' -XGET "https://logging-es:9200/project.logging.bad5f82b-4caa-11e7-a03a-0e027bbb120e.*/_search?q=hostname:ip-172-18-10-53&fields=message&size=500"]
Failure - no log entries found in Elasticsearch logging-es:9200 for index project.logging.bad5f82b-4caa-11e7-a03a-0e027bbb120e

There was no error output from the command.
[INFO] Cheking for index project.default.b6920661-4caa-11e7-a03a-0e027bbb120e with Kibana pod logging-kibana-1-1fms4...
Running test/cluster/functionality.sh:100: executing 'sudo -E VERBOSE=true go run '/data/src/github.com/openshift/origin-aggregated-logging/hack/testing/check-logs.go' 'logging-kibana-1-1fms4' 'logging-es:9200' 'project.default.b6920661-4caa-11e7-a03a-0e027bbb120e' '/var/log/containers/*_b6920661-4caa-11e7-a03a-0e027bbb120e_*.log' '500' 'admin' 'ylHTHTjIitxkX6KsV8y4QewWn-OQ-1wZKUUdPfip37w' '127.0.0.1'' expecting success...
SUCCESS after 0.541s: test/cluster/functionality.sh:100: executing 'sudo -E VERBOSE=true go run '/data/src/github.com/openshift/origin-aggregated-logging/hack/testing/check-logs.go' 'logging-kibana-1-1fms4' 'logging-es:9200' 'project.default.b6920661-4caa-11e7-a03a-0e027bbb120e' '/var/log/containers/*_b6920661-4caa-11e7-a03a-0e027bbb120e_*.log' '500' 'admin' 'ylHTHTjIitxkX6KsV8y4QewWn-OQ-1wZKUUdPfip37w' '127.0.0.1'' expecting success
Standard output from the command:
Executing command [oc exec logging-kibana-1-1fms4 -- curl -s --key /etc/kibana/keys/key --cert /etc/kibana/keys/cert --cacert /etc/kibana/keys/ca -H 'X-Proxy-Remote-User: admin' -H 'Authorization: Bearer ylHTHTjIitxkX6KsV8y4QewWn-OQ-1wZKUUdPfip37w' -H 'X-Forwarded-For: 127.0.0.1' -XGET "https://logging-es:9200/project.default.b6920661-4caa-11e7-a03a-0e027bbb120e.*/_search?q=hostname:ip-172-18-10-53&fields=message&size=500"]
Failure - no log entries found in Elasticsearch logging-es:9200 for index project.default.b6920661-4caa-11e7-a03a-0e027bbb120e

There was no error output from the command.
[INFO] Checking that Elasticsearch pod logging-es-data-master-f10vs1am-1-wm1tr contains common data model index templates...
Running test/cluster/functionality.sh:105: executing 'oc exec logging-es-data-master-f10vs1am-1-wm1tr -- ls -1 /usr/share/elasticsearch/index_templates' expecting success...
SUCCESS after 0.287s: test/cluster/functionality.sh:105: executing 'oc exec logging-es-data-master-f10vs1am-1-wm1tr -- ls -1 /usr/share/elasticsearch/index_templates' expecting success
Standard output from the command:
com.redhat.viaq-openshift-operations.template.json
com.redhat.viaq-openshift-project.template.json

There was no error output from the command.
Running test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-data-master-f10vs1am-1-wm1tr' '/_template/com.redhat.viaq-openshift-operations.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'...
SUCCESS after 0.369s: test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-data-master-f10vs1am-1-wm1tr' '/_template/com.redhat.viaq-openshift-operations.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'
Standard output from the command:
200
There was no error output from the command.
Running test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-data-master-f10vs1am-1-wm1tr' '/_template/com.redhat.viaq-openshift-project.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'...
SUCCESS after 0.367s: test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-data-master-f10vs1am-1-wm1tr' '/_template/com.redhat.viaq-openshift-project.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'
Standard output from the command:
200
There was no error output from the command.
Running test/cluster/functionality.sh:40: executing 'oc login --username=admin --password=admin' expecting success...
SUCCESS after 0.267s: test/cluster/functionality.sh:40: executing 'oc login --username=admin --password=admin' expecting success
Standard output from the command:
Login successful.

You have access to the following projects and can switch between them with 'oc project <projectname>':

    default
    kube-public
    kube-system
  * logging
    openshift
    openshift-infra

Using project "logging".

There was no error output from the command.
Running test/cluster/functionality.sh:44: executing 'oc login --username=system:admin' expecting success...
SUCCESS after 0.240s: test/cluster/functionality.sh:44: executing 'oc login --username=system:admin' expecting success
Standard output from the command:
Logged into "https://172.18.10.53:8443" as "system:admin" using existing credentials.

You have access to the following projects and can switch between them with 'oc project <projectname>':

    default
    kube-public
    kube-system
  * logging
    openshift
    openshift-infra

Using project "logging".

There was no error output from the command.
Running test/cluster/functionality.sh:45: executing 'oc project logging' expecting success...
SUCCESS after 0.220s: test/cluster/functionality.sh:45: executing 'oc project logging' expecting success
Standard output from the command:
Already on project "logging" on server "https://172.18.10.53:8443".

There was no error output from the command.
[INFO] Testing Kibana pod logging-kibana-ops-1-62gzl for a successful start...
Running test/cluster/functionality.sh:52: executing 'oc exec logging-kibana-ops-1-62gzl -c kibana -- curl -s --request HEAD --write-out '%{response_code}' http://localhost:5601/' expecting any result and text '200'; re-trying every 0.2s until completion or 600.000s...
SUCCESS after 120.314s: test/cluster/functionality.sh:52: executing 'oc exec logging-kibana-ops-1-62gzl -c kibana -- curl -s --request HEAD --write-out '%{response_code}' http://localhost:5601/' expecting any result and text '200'; re-trying every 0.2s until completion or 600.000s
Standard output from the command:
200
There was no error output from the command.
Running test/cluster/functionality.sh:53: executing 'oc get pod logging-kibana-ops-1-62gzl -o jsonpath='{ .status.containerStatuses[?(@.name=="kibana")].ready }'' expecting any result and text 'true'; re-trying every 0.2s until completion or 60.000s...
SUCCESS after 0.289s: test/cluster/functionality.sh:53: executing 'oc get pod logging-kibana-ops-1-62gzl -o jsonpath='{ .status.containerStatuses[?(@.name=="kibana")].ready }'' expecting any result and text 'true'; re-trying every 0.2s until completion or 60.000s
Standard output from the command:
true
There was no error output from the command.
Running test/cluster/functionality.sh:54: executing 'oc get pod logging-kibana-ops-1-62gzl -o jsonpath='{ .status.containerStatuses[?(@.name=="kibana-proxy")].ready }'' expecting any result and text 'true'; re-trying every 0.2s until completion or 60.000s...
SUCCESS after 0.250s: test/cluster/functionality.sh:54: executing 'oc get pod logging-kibana-ops-1-62gzl -o jsonpath='{ .status.containerStatuses[?(@.name=="kibana-proxy")].ready }'' expecting any result and text 'true'; re-trying every 0.2s until completion or 60.000s
Standard output from the command:
true
There was no error output from the command.
[INFO] Testing Elasticsearch pod logging-es-ops-data-master-gw0u0psf-1-j2gcm for a successful start...
Running test/cluster/functionality.sh:59: executing 'curl_es 'logging-es-ops-data-master-gw0u0psf-1-j2gcm' '/' -X HEAD -w '%{response_code}'' expecting any result and text '200'; re-trying every 0.2s until completion or 600.000s...
SUCCESS after 0.370s: test/cluster/functionality.sh:59: executing 'curl_es 'logging-es-ops-data-master-gw0u0psf-1-j2gcm' '/' -X HEAD -w '%{response_code}'' expecting any result and text '200'; re-trying every 0.2s until completion or 600.000s
Standard output from the command:
200
There was no error output from the command.
Running test/cluster/functionality.sh:60: executing 'oc get pod logging-es-ops-data-master-gw0u0psf-1-j2gcm -o jsonpath='{ .status.containerStatuses[?(@.name=="elasticsearch")].ready }'' expecting any result and text 'true'; re-trying every 0.2s until completion or 60.000s...
SUCCESS after 0.239s: test/cluster/functionality.sh:60: executing 'oc get pod logging-es-ops-data-master-gw0u0psf-1-j2gcm -o jsonpath='{ .status.containerStatuses[?(@.name=="elasticsearch")].ready }'' expecting any result and text 'true'; re-trying every 0.2s until completion or 60.000s
Standard output from the command:
true
There was no error output from the command.
[INFO] Checking that Elasticsearch pod logging-es-ops-data-master-gw0u0psf-1-j2gcm recovered its indices after starting...
Running test/cluster/functionality.sh:63: executing 'curl_es 'logging-es-ops-data-master-gw0u0psf-1-j2gcm' '/_cluster/state/master_node' -w '%{response_code}'' expecting any result and text '}200$'; re-trying every 0.2s until completion or 600.000s...
SUCCESS after 0.370s: test/cluster/functionality.sh:63: executing 'curl_es 'logging-es-ops-data-master-gw0u0psf-1-j2gcm' '/_cluster/state/master_node' -w '%{response_code}'' expecting any result and text '}200$'; re-trying every 0.2s until completion or 600.000s
Standard output from the command:
{"cluster_name":"logging-es-ops","master_node":"v6hdQuSYQhq-zwGTvEnkZw"}200
There was no error output from the command.
[INFO] Elasticsearch pod logging-es-ops-data-master-gw0u0psf-1-j2gcm is the master
[INFO] Checking that Elasticsearch pod logging-es-ops-data-master-gw0u0psf-1-j2gcm has persisted indices created by Fluentd...
Running test/cluster/functionality.sh:76: executing 'curl_es 'logging-es-ops-data-master-gw0u0psf-1-j2gcm' '/_cat/indices?h=index'' expecting any result and text '^(project|\.operations)\.'; re-trying every 0.2s until completion or 600.000s...
SUCCESS after 0.381s: test/cluster/functionality.sh:76: executing 'curl_es 'logging-es-ops-data-master-gw0u0psf-1-j2gcm' '/_cat/indices?h=index'' expecting any result and text '^(project|\.operations)\.'; re-trying every 0.2s until completion or 600.000s
Standard output from the command:
.kibana.d033e22ae348aeb5660fc2140aec35850c4da997         
.operations.2017.06.09                                   
.kibana                                                  
.searchguard.logging-es-ops-data-master-gw0u0psf-1-j2gcm 

There was no error output from the command.
[INFO] Cheking for index .operations with Kibana pod logging-kibana-ops-1-62gzl...
Running test/cluster/functionality.sh:100: executing 'sudo -E VERBOSE=true go run '/data/src/github.com/openshift/origin-aggregated-logging/hack/testing/check-logs.go' 'logging-kibana-ops-1-62gzl' 'logging-es-ops:9200' '.operations' '/var/log/messages' '500' 'admin' 'JPzjOfqkJvefMYpxOkP-55fwxiJTuSZn_SRLCgI7kdo' '127.0.0.1'' expecting success...
SUCCESS after 0.773s: test/cluster/functionality.sh:100: executing 'sudo -E VERBOSE=true go run '/data/src/github.com/openshift/origin-aggregated-logging/hack/testing/check-logs.go' 'logging-kibana-ops-1-62gzl' 'logging-es-ops:9200' '.operations' '/var/log/messages' '500' 'admin' 'JPzjOfqkJvefMYpxOkP-55fwxiJTuSZn_SRLCgI7kdo' '127.0.0.1'' expecting success
Standard output from the command:
Executing command [oc exec logging-kibana-ops-1-62gzl -- curl -s --key /etc/kibana/keys/key --cert /etc/kibana/keys/cert --cacert /etc/kibana/keys/ca -H 'X-Proxy-Remote-User: admin' -H 'Authorization: Bearer JPzjOfqkJvefMYpxOkP-55fwxiJTuSZn_SRLCgI7kdo' -H 'X-Forwarded-For: 127.0.0.1' -XGET "https://logging-es-ops:9200/.operations.*/_search?q=hostname:ip-172-18-10-53&fields=message&size=500"]
Failure - no log entries found in Elasticsearch logging-es-ops:9200 for index .operations

There was no error output from the command.
[INFO] Checking that Elasticsearch pod logging-es-ops-data-master-gw0u0psf-1-j2gcm contains common data model index templates...
Running test/cluster/functionality.sh:105: executing 'oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- ls -1 /usr/share/elasticsearch/index_templates' expecting success...
SUCCESS after 0.395s: test/cluster/functionality.sh:105: executing 'oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- ls -1 /usr/share/elasticsearch/index_templates' expecting success
Standard output from the command:
com.redhat.viaq-openshift-operations.template.json
com.redhat.viaq-openshift-project.template.json

There was no error output from the command.
Running test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-ops-data-master-gw0u0psf-1-j2gcm' '/_template/com.redhat.viaq-openshift-operations.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'...
SUCCESS after 0.359s: test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-ops-data-master-gw0u0psf-1-j2gcm' '/_template/com.redhat.viaq-openshift-operations.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'
Standard output from the command:
200
There was no error output from the command.
Running test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-ops-data-master-gw0u0psf-1-j2gcm' '/_template/com.redhat.viaq-openshift-project.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'...
SUCCESS after 0.360s: test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-ops-data-master-gw0u0psf-1-j2gcm' '/_template/com.redhat.viaq-openshift-project.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'
Standard output from the command:
200
There was no error output from the command.
running test test-curator.sh
configmap "logging-curator" deleted
configmap "logging-curator" created
deploymentconfig "logging-curator" scaled
deploymentconfig "logging-curator" scaled
configmap "logging-curator" deleted
configmap "logging-curator" created
deploymentconfig "logging-curator" scaled
deploymentconfig "logging-curator" scaled
configmap "logging-curator" deleted
configmap "logging-curator" created
deploymentconfig "logging-curator" scaled
deploymentconfig "logging-curator" scaled
current indices before 1st deletion are:
.kibana
.kibana.d033e22ae348aeb5660fc2140aec35850c4da997
.operations.curatortest.2017.03.31
.operations.curatortest.2017.06.09
.searchguard.logging-es-data-master-f10vs1am-1-wm1tr
default-index.curatortest.2017.05.09
default-index.curatortest.2017.06.09
project.default.b6920661-4caa-11e7-a03a-0e027bbb120e.2017.06.09
project.logging.bad5f82b-4caa-11e7-a03a-0e027bbb120e.2017.06.09
project.project-dev.curatortest.2017.06.08
project.project-dev.curatortest.2017.06.09
project.project-prod.curatortest.2017.05.12
project.project-prod.curatortest.2017.06.09
project.project-qe.curatortest.2017.06.02
project.project-qe.curatortest.2017.06.09
project.project2-qe.curatortest.2017.06.02
project.project2-qe.curatortest.2017.06.09
project.project3-qe.curatortest.2017.06.02
project.project3-qe.curatortest.2017.06.09
Fri Jun  9 00:52:03 UTC 2017
configmap "logging-curator" deleted
configmap "logging-curator" created
deploymentconfig "logging-curator" scaled
deploymentconfig "logging-curator" scaled
current indices after 1st deletion are:
.kibana
.kibana.d033e22ae348aeb5660fc2140aec35850c4da997
.operations.curatortest.2017.06.09
.searchguard.logging-es-data-master-f10vs1am-1-wm1tr
default-index.curatortest.2017.06.09
project.default.b6920661-4caa-11e7-a03a-0e027bbb120e.2017.06.09
project.logging.bad5f82b-4caa-11e7-a03a-0e027bbb120e.2017.06.09
project.project-dev.curatortest.2017.06.09
project.project-prod.curatortest.2017.06.09
project.project-qe.curatortest.2017.06.09
project.project2-qe.curatortest.2017.06.09
project.project3-qe.curatortest.2017.06.09
good - index project.project-dev.curatortest.2017.06.09 is present
good - index project.project-dev.curatortest.2017.06.08 is missing
good - index project.project-qe.curatortest.2017.06.09 is present
good - index project.project-qe.curatortest.2017.06.02 is missing
good - index project.project-prod.curatortest.2017.06.09 is present
good - index project.project-prod.curatortest.2017.05.12 is missing
good - index .operations.curatortest.2017.06.09 is present
good - index .operations.curatortest.2017.03.31 is missing
good - index default-index.curatortest.2017.06.09 is present
good - index default-index.curatortest.2017.05.09 is missing
good - index project.project2-qe.curatortest.2017.06.09 is present
good - index project.project2-qe.curatortest.2017.06.02 is missing
good - index project.project3-qe.curatortest.2017.06.09 is present
good - index project.project3-qe.curatortest.2017.06.02 is missing
current indices before 2nd deletion are:
.kibana
.kibana.d033e22ae348aeb5660fc2140aec35850c4da997
.operations.curatortest.2017.03.31
.operations.curatortest.2017.06.09
.searchguard.logging-es-data-master-f10vs1am-1-wm1tr
default-index.curatortest.2017.05.09
default-index.curatortest.2017.06.09
project.default.b6920661-4caa-11e7-a03a-0e027bbb120e.2017.06.09
project.logging.bad5f82b-4caa-11e7-a03a-0e027bbb120e.2017.06.09
project.project-dev.curatortest.2017.06.08
project.project-dev.curatortest.2017.06.09
project.project-prod.curatortest.2017.05.12
project.project-prod.curatortest.2017.06.09
project.project-qe.curatortest.2017.06.02
project.project-qe.curatortest.2017.06.09
project.project2-qe.curatortest.2017.06.02
project.project2-qe.curatortest.2017.06.09
project.project3-qe.curatortest.2017.06.02
project.project3-qe.curatortest.2017.06.09
sleeping 211 seconds to see if runhour and runminute are working . . .
verify indices deletion again
current indices after 2nd deletion are:
.kibana
.kibana.d033e22ae348aeb5660fc2140aec35850c4da997
.operations.curatortest.2017.06.09
.searchguard.logging-es-data-master-f10vs1am-1-wm1tr
default-index.curatortest.2017.06.09
project.default.b6920661-4caa-11e7-a03a-0e027bbb120e.2017.06.09
project.logging.bad5f82b-4caa-11e7-a03a-0e027bbb120e.2017.06.09
project.project-dev.curatortest.2017.06.09
project.project-prod.curatortest.2017.06.09
project.project-qe.curatortest.2017.06.09
project.project2-qe.curatortest.2017.06.09
project.project3-qe.curatortest.2017.06.09
good - index project.project-dev.curatortest.2017.06.09 is present
good - index project.project-dev.curatortest.2017.06.08 is missing
good - index project.project-qe.curatortest.2017.06.09 is present
good - index project.project-qe.curatortest.2017.06.02 is missing
good - index project.project-prod.curatortest.2017.06.09 is present
good - index project.project-prod.curatortest.2017.05.12 is missing
good - index .operations.curatortest.2017.06.09 is present
good - index .operations.curatortest.2017.03.31 is missing
good - index default-index.curatortest.2017.06.09 is present
good - index default-index.curatortest.2017.05.09 is missing
good - index project.project2-qe.curatortest.2017.06.09 is present
good - index project.project2-qe.curatortest.2017.06.02 is missing
good - index project.project3-qe.curatortest.2017.06.09 is present
good - index project.project3-qe.curatortest.2017.06.02 is missing
current indices before 1st deletion are:
.kibana
.kibana.d033e22ae348aeb5660fc2140aec35850c4da997
.operations.2017.06.09
.operations.curatortest.2017.03.31
.operations.curatortest.2017.06.09
.searchguard.logging-es-ops-data-master-gw0u0psf-1-j2gcm
default-index.curatortest.2017.05.09
default-index.curatortest.2017.06.09
project.project-dev.curatortest.2017.06.08
project.project-dev.curatortest.2017.06.09
project.project-prod.curatortest.2017.05.12
project.project-prod.curatortest.2017.06.09
project.project-qe.curatortest.2017.06.02
project.project-qe.curatortest.2017.06.09
project.project2-qe.curatortest.2017.06.02
project.project2-qe.curatortest.2017.06.09
project.project3-qe.curatortest.2017.06.02
project.project3-qe.curatortest.2017.06.09
Fri Jun  9 00:57:30 UTC 2017
configmap "logging-curator" deleted
configmap "logging-curator" created
deploymentconfig "logging-curator-ops" scaled
deploymentconfig "logging-curator-ops" scaled
current indices after 1st deletion are:
.kibana
.kibana.d033e22ae348aeb5660fc2140aec35850c4da997
.operations.2017.06.09
.operations.curatortest.2017.06.09
.searchguard.logging-es-ops-data-master-gw0u0psf-1-j2gcm
default-index.curatortest.2017.06.09
project.project-dev.curatortest.2017.06.09
project.project-prod.curatortest.2017.06.09
project.project-qe.curatortest.2017.06.09
project.project2-qe.curatortest.2017.06.09
project.project3-qe.curatortest.2017.06.09
good - index project.project-dev.curatortest.2017.06.09 is present
good - index project.project-dev.curatortest.2017.06.08 is missing
good - index project.project-qe.curatortest.2017.06.09 is present
good - index project.project-qe.curatortest.2017.06.02 is missing
good - index project.project-prod.curatortest.2017.06.09 is present
good - index project.project-prod.curatortest.2017.05.12 is missing
good - index .operations.curatortest.2017.06.09 is present
good - index .operations.curatortest.2017.03.31 is missing
good - index default-index.curatortest.2017.06.09 is present
good - index default-index.curatortest.2017.05.09 is missing
good - index project.project2-qe.curatortest.2017.06.09 is present
good - index project.project2-qe.curatortest.2017.06.02 is missing
good - index project.project3-qe.curatortest.2017.06.09 is present
good - index project.project3-qe.curatortest.2017.06.02 is missing
current indices before 2nd deletion are:
.kibana
.kibana.d033e22ae348aeb5660fc2140aec35850c4da997
.operations.2017.06.09
.operations.curatortest.2017.03.31
.operations.curatortest.2017.06.09
.searchguard.logging-es-ops-data-master-gw0u0psf-1-j2gcm
default-index.curatortest.2017.05.09
default-index.curatortest.2017.06.09
project.project-dev.curatortest.2017.06.08
project.project-dev.curatortest.2017.06.09
project.project-prod.curatortest.2017.05.12
project.project-prod.curatortest.2017.06.09
project.project-qe.curatortest.2017.06.02
project.project-qe.curatortest.2017.06.09
project.project2-qe.curatortest.2017.06.02
project.project2-qe.curatortest.2017.06.09
project.project3-qe.curatortest.2017.06.02
project.project3-qe.curatortest.2017.06.09
sleeping 218 seconds to see if runhour and runminute are working . . .
verify indices deletion again
current indices after 2nd deletion are:
.kibana
.kibana.d033e22ae348aeb5660fc2140aec35850c4da997
.operations.2017.06.09
.operations.curatortest.2017.06.09
.searchguard.logging-es-ops-data-master-gw0u0psf-1-j2gcm
default-index.curatortest.2017.06.09
project.project-dev.curatortest.2017.06.09
project.project-prod.curatortest.2017.06.09
project.project-qe.curatortest.2017.06.09
project.project2-qe.curatortest.2017.06.09
project.project3-qe.curatortest.2017.06.09
good - index project.project-dev.curatortest.2017.06.09 is present
good - index project.project-dev.curatortest.2017.06.08 is missing
good - index project.project-qe.curatortest.2017.06.09 is present
good - index project.project-qe.curatortest.2017.06.02 is missing
good - index project.project-prod.curatortest.2017.06.09 is present
good - index project.project-prod.curatortest.2017.05.12 is missing
good - index .operations.curatortest.2017.06.09 is present
good - index .operations.curatortest.2017.03.31 is missing
good - index default-index.curatortest.2017.06.09 is present
good - index default-index.curatortest.2017.05.09 is missing
good - index project.project2-qe.curatortest.2017.06.09 is present
good - index project.project2-qe.curatortest.2017.06.02 is missing
good - index project.project3-qe.curatortest.2017.06.09 is present
good - index project.project3-qe.curatortest.2017.06.02 is missing
curator running [5] jobs
curator run finish
curator running [5] jobs
curator run finish
configmap "logging-curator" deleted
configmap "logging-curator" created
deploymentconfig "logging-curator-ops" scaled
deploymentconfig "logging-curator-ops" scaled
running test test-datetime-future.sh
++ set -o nounset
++ set -o pipefail
++ type get_running_pod
++ [[ 1 -ne 1 ]]
++ [[ true = \f\a\l\s\e ]]
++ CLUSTER=true
++ ops=-ops
++ INDEX_PREFIX=
++ ARTIFACT_DIR=/tmp/origin-aggregated-logging/artifacts
++ '[' '!' -d /tmp/origin-aggregated-logging/artifacts ']'
++ get_test_user_token
++ local current_project
+++ oc project -q
++ current_project=logging
++ oc login --username=admin --password=admin
+++ oc whoami -t
++ test_token=dxgHGBvwlFpGb4PsPWLbzdc1Kf535_gl03o108azawU
+++ oc whoami
++ test_name=admin
++ test_ip=127.0.0.1
++ oc login --username=system:admin
++ oc project logging
++ TEST_DIVIDER=------------------------------------------
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ fpod=logging-fluentd-z5m1s
+++ date +%z
++ nodetz=-0400
+++ oc exec logging-fluentd-z5m1s -- date +%z
++ podtz=-0400
++ '[' x-0400 = x-0400 ']'
+++ date +%Z
++ echo Good - node timezone -0400 EDT is equal to the fluentd pod timezone
Good - node timezone -0400 EDT is equal to the fluentd pod timezone
++ docker_uses_journal
++ type -p docker
++ sudo docker info
++ grep -q 'Logging Driver: journald'
WARNING: bridge-nf-call-ip6tables is disabled
++ grep -q '^[^#].*"log-driver":' /etc/docker/daemon.json
++ grep -q '^[^#].*"log-driver":.*journald' /etc/docker/daemon.json
++ return 0
The rest of the test is not applicable when using the journal - skipping
++ echo The rest of the test is not applicable when using the journal - skipping
++ exit 0
running test test-es-copy.sh
++ set -o nounset
++ set -o pipefail
++ type get_running_pod
++ [[ 1 -ne 1 ]]
++ [[ true = \f\a\l\s\e ]]
++ CLUSTER=true
++ ops=-ops
++ INDEX_PREFIX=
++ PROJ_PREFIX=project.
++ ARTIFACT_DIR=/tmp/origin-aggregated-logging/artifacts
++ '[' '!' -d /tmp/origin-aggregated-logging/artifacts ']'
++ get_test_user_token
++ local current_project
+++ oc project -q
++ current_project=logging
++ oc login --username=admin --password=admin
+++ oc whoami -t
++ test_token=49-SOgf1Idp3_ZoHIeYFyDK1O_IY_6kYRDbSWYjLRts
+++ oc whoami
++ test_name=admin
++ test_ip=127.0.0.1
++ oc login --username=system:admin
++ oc project logging
++ TEST_DIVIDER=------------------------------------------
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ fpod=logging-fluentd-z5m1s
+++ mktemp
++ cfg=/tmp/tmp.J1JNds5OWj
++ oc get template logging-fluentd-template -o yaml
++ sed '/- name: ES_COPY/,/value:/ s/value: .*$/value: "false"/'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-z5m1s
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-z5m1s
++ '[' -z logging-fluentd-z5m1s -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-z5m1s
++ '[' stop = start ']'
++ break
++ '[' 120 -le 0 ']'
++ return 0
++ oc process logging-fluentd-template
++ oc create -f -
daemonset "logging-fluentd" created
++ wait_for_pod_ACTION start fluentd
++ local ii=120
++ local incr=10
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=
++ '[' 120 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z '' ']'
++ '[' -n '' ']'
++ '[' -n 1 ']'
pod for component=fluentd not running yet
++ echo pod for component=fluentd not running yet
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=logging-fluentd-ms6j7
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-ms6j7 ']'
++ break
++ '[' 110 -le 0 ']'
++ return 0
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ fpod=logging-fluentd-ms6j7
+++ mktemp
++ origconfig=/tmp/tmp.miqIBY1iI8
++ oc get template logging-fluentd-template -o yaml
++ write_and_verify_logs 1
++ rc=0
++ wait_for_fluentd_to_catch_up '' '' 1
+++ date +%s
++ local starttime=1496970490
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-09 01:08:10.974241082+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-09 01:08:10.974241082+00:00
+++ get_running_pod es
+++ oc get pods -l component=es
+++ awk -v sel=es '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ get_running_pod es-ops
+++ oc get pods -l component=es-ops
+++ awk -v sel=es-ops '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_ops_pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ '[' -z logging-es-ops-data-master-gw0u0psf-1-j2gcm ']'
+++ uuidgen
++ local uuid_es=9ba94baa-1d50-4ab9-aa4e-d42796b08de6
+++ uuidgen
++ local uuid_es_ops=5abf47d6-3316-48ee-8d91-afd0ff480357
++ local expected=1
++ local timeout=300
++ add_test_message 9ba94baa-1d50-4ab9-aa4e-d42796b08de6
+++ get_running_pod kibana
+++ oc get pods -l component=kibana
+++ awk -v sel=kibana '$1 ~ sel && $3 == "Running" {print $1}'
++ local kib_pod=logging-kibana-1-1fms4
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/9ba94baa-1d50-4ab9-aa4e-d42796b08de6
++ echo added es message 9ba94baa-1d50-4ab9-aa4e-d42796b08de6
added es message 9ba94baa-1d50-4ab9-aa4e-d42796b08de6
++ logger -i -p local6.info -t 5abf47d6-3316-48ee-8d91-afd0ff480357 5abf47d6-3316-48ee-8d91-afd0ff480357
added es-ops message 5abf47d6-3316-48ee-8d91-afd0ff480357
++ echo added es-ops message 5abf47d6-3316-48ee-8d91-afd0ff480357
++ local rc=0
++ espod=logging-es-data-master-f10vs1am-1-wm1tr
++ myproject=project.logging
++ mymessage=9ba94baa-1d50-4ab9-aa4e-d42796b08de6
++ expected=1
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 9ba94baa-1d50-4ab9-aa4e-d42796b08de6
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 299 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 9ba94baa-1d50-4ab9-aa4e-d42796b08de6
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 9ba94baa-1d50-4ab9-aa4e-d42796b08de6
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 297 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 9ba94baa-1d50-4ab9-aa4e-d42796b08de6
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 296 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 9ba94baa-1d50-4ab9-aa4e-d42796b08de6
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 295 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 9ba94baa-1d50-4ab9-aa4e-d42796b08de6
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 294 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 9ba94baa-1d50-4ab9-aa4e-d42796b08de6
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 293 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 9ba94baa-1d50-4ab9-aa4e-d42796b08de6
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 292 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 9ba94baa-1d50-4ab9-aa4e-d42796b08de6
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 291 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 9ba94baa-1d50-4ab9-aa4e-d42796b08de6
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9ba94baa-1d50-4ab9-aa4e-d42796b08de6'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 291 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 9ba94baa-1d50-4ab9-aa4e-d42796b08de6
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 9ba94baa-1d50-4ab9-aa4e-d42796b08de6
++ espod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ myproject=.operations
++ mymessage=5abf47d6-3316-48ee-8d91-afd0ff480357
++ expected=1
++ myfield=systemd.u.SYSLOG_IDENTIFIER
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 5abf47d6-3316-48ee-8d91-afd0ff480357
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:5abf47d6-3316-48ee-8d91-afd0ff480357' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:5abf47d6-3316-48ee-8d91-afd0ff480357'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:5abf47d6-3316-48ee-8d91-afd0ff480357'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 300 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 5abf47d6-3316-48ee-8d91-afd0ff480357
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 5abf47d6-3316-48ee-8d91-afd0ff480357
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496970505
+++ expr 1496970505 - 1496970490
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 15 seconds at 2017-06-09 01:08:25.142178155+00:00
++ echo END wait_for_fluentd_to_catch_up took 15 seconds at 2017-06-09 01:08:25.142178155+00:00
++ return 0
++ '[' 0 -ne 0 ']'
++ return 0
++ trap cleanup INT TERM EXIT
+++ mktemp
++ nocopy=/tmp/tmp.dQvPqZ6zBZ
++ sed /_COPY/,/value/d /tmp/tmp.miqIBY1iI8
+++ mktemp
++ envpatch=/tmp/tmp.YV8RT6WJ0X
++ sed -n '/^        - env:/,/^          image:/ {
/^          image:/d
/^        - env:/d
/name: K8S_HOST_URL/,/value/d
s/ES_/ES_COPY_/
s/OPS_/OPS_COPY_/
p
}' /tmp/tmp.dQvPqZ6zBZ
++ cat
++ cat /tmp/tmp.dQvPqZ6zBZ
++ sed '/^        - env:/r /tmp/tmp.YV8RT6WJ0X'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.YV8RT6WJ0X /tmp/tmp.dQvPqZ6zBZ
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-ms6j7
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-ms6j7
++ '[' -z logging-fluentd-ms6j7 -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-ms6j7
++ '[' stop = start ']'
++ break
++ '[' 120 -le 0 ']'
++ return 0
++ oc process logging-fluentd-template
++ oc create -f -
daemonset "logging-fluentd" created
++ wait_for_pod_ACTION start fluentd
++ local ii=120
++ local incr=10
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=
++ '[' 120 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z '' ']'
++ '[' -n '' ']'
++ '[' -n 1 ']'
++ echo pod for component=fluentd not running yet
pod for component=fluentd not running yet
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=logging-fluentd-9rcr4
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-9rcr4 ']'
++ break
++ '[' 110 -le 0 ']'
++ return 0
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ fpod=logging-fluentd-9rcr4
++ write_and_verify_logs 2
++ rc=0
++ wait_for_fluentd_to_catch_up '' '' 2
+++ date +%s
++ local starttime=1496970523
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-09 01:08:43.748103063+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-09 01:08:43.748103063+00:00
+++ get_running_pod es
+++ oc get pods -l component=es
+++ awk -v sel=es '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ get_running_pod es-ops
+++ oc get pods -l component=es-ops
+++ awk -v sel=es-ops '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_ops_pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ '[' -z logging-es-ops-data-master-gw0u0psf-1-j2gcm ']'
+++ uuidgen
++ local uuid_es=e73db664-b7af-45d4-b4b5-5416aa6f8586
+++ uuidgen
++ local uuid_es_ops=55190c67-040b-4214-ad69-ac77fd87a483
++ local expected=2
++ local timeout=300
++ add_test_message e73db664-b7af-45d4-b4b5-5416aa6f8586
+++ get_running_pod kibana
+++ oc get pods -l component=kibana
+++ awk -v sel=kibana '$1 ~ sel && $3 == "Running" {print $1}'
++ local kib_pod=logging-kibana-1-1fms4
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/e73db664-b7af-45d4-b4b5-5416aa6f8586
++ echo added es message e73db664-b7af-45d4-b4b5-5416aa6f8586
added es message e73db664-b7af-45d4-b4b5-5416aa6f8586
++ logger -i -p local6.info -t 55190c67-040b-4214-ad69-ac77fd87a483 55190c67-040b-4214-ad69-ac77fd87a483
added es-ops message 55190c67-040b-4214-ad69-ac77fd87a483
++ echo added es-ops message 55190c67-040b-4214-ad69-ac77fd87a483
++ local rc=0
++ espod=logging-es-data-master-f10vs1am-1-wm1tr
++ myproject=project.logging
++ mymessage=e73db664-b7af-45d4-b4b5-5416aa6f8586
++ expected=2
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message e73db664-b7af-45d4-b4b5-5416aa6f8586
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 299 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message e73db664-b7af-45d4-b4b5-5416aa6f8586
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message e73db664-b7af-45d4-b4b5-5416aa6f8586
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 297 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ get_count_from_json
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message e73db664-b7af-45d4-b4b5-5416aa6f8586
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 296 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message e73db664-b7af-45d4-b4b5-5416aa6f8586
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 295 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message e73db664-b7af-45d4-b4b5-5416aa6f8586
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 294 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message e73db664-b7af-45d4-b4b5-5416aa6f8586
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 293 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message e73db664-b7af-45d4-b4b5-5416aa6f8586
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 292 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message e73db664-b7af-45d4-b4b5-5416aa6f8586
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 291 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message e73db664-b7af-45d4-b4b5-5416aa6f8586
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 290 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message e73db664-b7af-45d4-b4b5-5416aa6f8586
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 289 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message e73db664-b7af-45d4-b4b5-5416aa6f8586
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 288 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message e73db664-b7af-45d4-b4b5-5416aa6f8586
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 287 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message e73db664-b7af-45d4-b4b5-5416aa6f8586
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 286 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message e73db664-b7af-45d4-b4b5-5416aa6f8586
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e73db664-b7af-45d4-b4b5-5416aa6f8586'
++ local nrecs=2
++ test 2 = 2
++ break
++ '[' 286 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 2 record project logging for e73db664-b7af-45d4-b4b5-5416aa6f8586
++ echo good - wait_for_fluentd_to_catch_up: found 2 record project logging for e73db664-b7af-45d4-b4b5-5416aa6f8586
++ espod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ myproject=.operations
++ mymessage=55190c67-040b-4214-ad69-ac77fd87a483
++ expected=2
++ myfield=systemd.u.SYSLOG_IDENTIFIER
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 55190c67-040b-4214-ad69-ac77fd87a483
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:55190c67-040b-4214-ad69-ac77fd87a483' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:55190c67-040b-4214-ad69-ac77fd87a483'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:55190c67-040b-4214-ad69-ac77fd87a483'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 299 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ get_count_from_json
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 55190c67-040b-4214-ad69-ac77fd87a483
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:55190c67-040b-4214-ad69-ac77fd87a483' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:55190c67-040b-4214-ad69-ac77fd87a483'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:55190c67-040b-4214-ad69-ac77fd87a483'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 55190c67-040b-4214-ad69-ac77fd87a483
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:55190c67-040b-4214-ad69-ac77fd87a483' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:55190c67-040b-4214-ad69-ac77fd87a483'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:55190c67-040b-4214-ad69-ac77fd87a483'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 297 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 55190c67-040b-4214-ad69-ac77fd87a483
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:55190c67-040b-4214-ad69-ac77fd87a483' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:55190c67-040b-4214-ad69-ac77fd87a483'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:55190c67-040b-4214-ad69-ac77fd87a483'
++ local nrecs=2
++ test 2 = 2
++ break
++ '[' 297 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 2 record project .operations for 55190c67-040b-4214-ad69-ac77fd87a483
++ echo good - wait_for_fluentd_to_catch_up: found 2 record project .operations for 55190c67-040b-4214-ad69-ac77fd87a483
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496970548
+++ expr 1496970548 - 1496970523
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 25 seconds at 2017-06-09 01:09:08.993232385+00:00
++ echo END wait_for_fluentd_to_catch_up took 25 seconds at 2017-06-09 01:09:08.993232385+00:00
++ return 0
++ '[' 0 -ne 0 ']'
++ return 0
++ oc replace --force -f /tmp/tmp.miqIBY1iI8
template "logging-fluentd-template" deleted
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.miqIBY1iI8
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-9rcr4
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-9rcr4
++ '[' -z logging-fluentd-9rcr4 -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-9rcr4
++ '[' stop = start ']'
++ break
++ '[' 120 -le 0 ']'
++ return 0
++ oc process logging-fluentd-template
++ oc create -f -
daemonset "logging-fluentd" created
++ wait_for_pod_ACTION start fluentd
++ local ii=120
++ local incr=10
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=
++ '[' 120 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z '' ']'
++ '[' -n '' ']'
++ '[' -n 1 ']'
pod for component=fluentd not running yet
++ echo pod for component=fluentd not running yet
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=logging-fluentd-5fhbg
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-5fhbg ']'
++ break
++ '[' 110 -le 0 ']'
++ return 0
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ fpod=logging-fluentd-5fhbg
++ write_and_verify_logs 1
++ rc=0
++ wait_for_fluentd_to_catch_up '' '' 1
+++ date +%s
++ local starttime=1496970571
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-09 01:09:31.692784348+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-09 01:09:31.692784348+00:00
+++ get_running_pod es
+++ oc get pods -l component=es
+++ awk -v sel=es '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ get_running_pod es-ops
+++ oc get pods -l component=es-ops
+++ awk -v sel=es-ops '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_ops_pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ '[' -z logging-es-ops-data-master-gw0u0psf-1-j2gcm ']'
+++ uuidgen
++ local uuid_es=7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be
+++ uuidgen
++ local uuid_es_ops=be2761ad-3214-49f7-821e-90de31d8cc61
++ local expected=1
++ local timeout=300
++ add_test_message 7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be
+++ get_running_pod kibana
+++ oc get pods -l component=kibana
+++ awk -v sel=kibana '$1 ~ sel && $3 == "Running" {print $1}'
++ local kib_pod=logging-kibana-1-1fms4
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be
added es message 7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be
++ echo added es message 7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be
++ logger -i -p local6.info -t be2761ad-3214-49f7-821e-90de31d8cc61 be2761ad-3214-49f7-821e-90de31d8cc61
added es-ops message be2761ad-3214-49f7-821e-90de31d8cc61
++ echo added es-ops message be2761ad-3214-49f7-821e-90de31d8cc61
++ local rc=0
++ espod=logging-es-data-master-f10vs1am-1-wm1tr
++ myproject=project.logging
++ mymessage=7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be
++ expected=1
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 299 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 297 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 296 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 295 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 294 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 293 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 292 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 292 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 7d0da4d6-c349-47a6-b1a9-d1b2dfcdc0be
++ espod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ myproject=.operations
++ mymessage=be2761ad-3214-49f7-821e-90de31d8cc61
++ expected=1
++ myfield=systemd.u.SYSLOG_IDENTIFIER
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER be2761ad-3214-49f7-821e-90de31d8cc61
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:be2761ad-3214-49f7-821e-90de31d8cc61' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:be2761ad-3214-49f7-821e-90de31d8cc61'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:be2761ad-3214-49f7-821e-90de31d8cc61'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 299 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER be2761ad-3214-49f7-821e-90de31d8cc61
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:be2761ad-3214-49f7-821e-90de31d8cc61' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:be2761ad-3214-49f7-821e-90de31d8cc61'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:be2761ad-3214-49f7-821e-90de31d8cc61'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER be2761ad-3214-49f7-821e-90de31d8cc61
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:be2761ad-3214-49f7-821e-90de31d8cc61' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:be2761ad-3214-49f7-821e-90de31d8cc61'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:be2761ad-3214-49f7-821e-90de31d8cc61'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 297 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER be2761ad-3214-49f7-821e-90de31d8cc61
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:be2761ad-3214-49f7-821e-90de31d8cc61' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:be2761ad-3214-49f7-821e-90de31d8cc61'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:be2761ad-3214-49f7-821e-90de31d8cc61'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 297 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for be2761ad-3214-49f7-821e-90de31d8cc61
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for be2761ad-3214-49f7-821e-90de31d8cc61
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496970588
+++ expr 1496970588 - 1496970571
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 17 seconds at 2017-06-09 01:09:48.960040191+00:00
++ echo END wait_for_fluentd_to_catch_up took 17 seconds at 2017-06-09 01:09:48.960040191+00:00
++ return 0
++ '[' 0 -ne 0 ']'
++ return 0
++ cleanup
++ '[' '!' -f /tmp/tmp.miqIBY1iI8 ']'
++ return 0
running test test-fluentd-forward.sh
++ set -o nounset
++ set -o pipefail
++ type get_running_pod
++ [[ 1 -ne 1 ]]
++ [[ true = \f\a\l\s\e ]]
++ CLUSTER=true
++ ops=-ops
++ ARTIFACT_DIR=/tmp/origin-aggregated-logging/artifacts
++ '[' '!' -d /tmp/origin-aggregated-logging/artifacts ']'
++ PROJ_PREFIX=project.
++ get_test_user_token
++ local current_project
+++ oc project -q
++ current_project=logging
++ oc login --username=admin --password=admin
+++ oc whoami -t
++ test_token=5LRtvpMXPbqm2sQBR1bXqKnHm4q-tCO-y4KNulne-rU
+++ oc whoami
++ test_name=admin
++ test_ip=127.0.0.1
++ oc login --username=system:admin
++ oc project logging
++ TEST_DIVIDER=------------------------------------------
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ fpod=logging-fluentd-5fhbg
++ write_and_verify_logs 1
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up '' ''
+++ date +%s
++ local starttime=1496970590
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-09 01:09:50.339353555+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-09 01:09:50.339353555+00:00
+++ get_running_pod es
+++ oc get pods -l component=es
+++ awk -v sel=es '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ get_running_pod es-ops
+++ oc get pods -l component=es-ops
+++ awk -v sel=es-ops '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_ops_pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ '[' -z logging-es-ops-data-master-gw0u0psf-1-j2gcm ']'
+++ uuidgen
++ local uuid_es=bc81bfc1-e14e-4e11-a383-85fa9281872a
+++ uuidgen
++ local uuid_es_ops=2115bf67-b639-4ee5-88c7-2c26a3242ba0
++ local expected=1
++ local timeout=300
++ add_test_message bc81bfc1-e14e-4e11-a383-85fa9281872a
+++ get_running_pod kibana
+++ oc get pods -l component=kibana
+++ awk -v sel=kibana '$1 ~ sel && $3 == "Running" {print $1}'
++ local kib_pod=logging-kibana-1-1fms4
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/bc81bfc1-e14e-4e11-a383-85fa9281872a
++ echo added es message bc81bfc1-e14e-4e11-a383-85fa9281872a
added es message bc81bfc1-e14e-4e11-a383-85fa9281872a
++ logger -i -p local6.info -t 2115bf67-b639-4ee5-88c7-2c26a3242ba0 2115bf67-b639-4ee5-88c7-2c26a3242ba0
added es-ops message 2115bf67-b639-4ee5-88c7-2c26a3242ba0
++ echo added es-ops message 2115bf67-b639-4ee5-88c7-2c26a3242ba0
++ local rc=0
++ espod=logging-es-data-master-f10vs1am-1-wm1tr
++ myproject=project.logging
++ mymessage=bc81bfc1-e14e-4e11-a383-85fa9281872a
++ expected=1
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bc81bfc1-e14e-4e11-a383-85fa9281872a
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 299 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bc81bfc1-e14e-4e11-a383-85fa9281872a
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bc81bfc1-e14e-4e11-a383-85fa9281872a
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 297 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bc81bfc1-e14e-4e11-a383-85fa9281872a
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a'
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 296 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bc81bfc1-e14e-4e11-a383-85fa9281872a
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 295 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bc81bfc1-e14e-4e11-a383-85fa9281872a
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a'
+++ shift
+++ shift
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 294 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bc81bfc1-e14e-4e11-a383-85fa9281872a
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bc81bfc1-e14e-4e11-a383-85fa9281872a'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 294 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for bc81bfc1-e14e-4e11-a383-85fa9281872a
good - wait_for_fluentd_to_catch_up: found 1 record project logging for bc81bfc1-e14e-4e11-a383-85fa9281872a
++ espod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ myproject=.operations
++ mymessage=2115bf67-b639-4ee5-88c7-2c26a3242ba0
++ expected=1
++ myfield=systemd.u.SYSLOG_IDENTIFIER
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 2115bf67-b639-4ee5-88c7-2c26a3242ba0
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:2115bf67-b639-4ee5-88c7-2c26a3242ba0' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:2115bf67-b639-4ee5-88c7-2c26a3242ba0'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:2115bf67-b639-4ee5-88c7-2c26a3242ba0'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 300 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 2115bf67-b639-4ee5-88c7-2c26a3242ba0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 2115bf67-b639-4ee5-88c7-2c26a3242ba0
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496970600
+++ expr 1496970600 - 1496970590
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 10 seconds at 2017-06-09 01:10:00.489567898+00:00
++ echo END wait_for_fluentd_to_catch_up took 10 seconds at 2017-06-09 01:10:00.489567898+00:00
++ return 0
++ return 0
++ trap cleanup INT TERM EXIT
++ create_forwarding_fluentd
++ oc create configmap logging-forward-fluentd --from-file=fluent.conf=../templates/forward-fluent.conf
configmap "logging-forward-fluentd" created
++ oc get template/logging-fluentd-template -o yaml
++ sed -e 's/logging-infra-fluentd: "true"/logging-infra-forward-fluentd: "true"/' -e 's/name: logging-fluentd/name: logging-forward-fluentd/' -e 's/ fluentd/ forward-fluentd/' -e '/image:/ a \
          ports: \
            - containerPort: 24284'
++ oc new-app -f -
--> Deploying template "logging/logging-forward-fluentd-template" for "-" to project logging

     logging-forward-fluentd-template
     ---------
     Template for logging forward-fluentd deployment.

     * With parameters:
        * IMAGE_PREFIX=172.30.176.187:5000/logging/
        * IMAGE_VERSION=latest

--> Creating resources ...
    daemonset "logging-forward-fluentd" created
--> Success
    Run 'oc status' to view your app.
++ oc label node --all logging-infra-forward-fluentd=true
node "172.18.10.53" labeled
++ wait_for_pod_ACTION start forward-fluentd
++ local ii=120
++ local incr=10
++ '[' start = start ']'
+++ get_running_pod forward-fluentd
+++ oc get pods -l component=forward-fluentd
+++ awk -v sel=forward-fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=
++ '[' 120 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z '' ']'
++ '[' -n '' ']'
++ '[' -n 1 ']'
pod for component=forward-fluentd not running yet
++ echo pod for component=forward-fluentd not running yet
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' start = start ']'
+++ get_running_pod forward-fluentd
+++ oc get pods -l component=forward-fluentd
+++ awk -v sel=forward-fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=logging-forward-fluentd-c5f6j
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-forward-fluentd-c5f6j ']'
++ break
++ '[' 110 -le 0 ']'
++ return 0
++ update_current_fluentd
++ oc label node --all logging-infra-fluentd-
node "172.18.10.53" labeled
++ wait_for_pod_ACTION stop logging-fluentd-5fhbg
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-5fhbg
++ '[' -z logging-fluentd-5fhbg -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-5fhbg
++ '[' -n 1 ']'
pod logging-fluentd-5fhbg still running
++ echo pod logging-fluentd-5fhbg still running
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' stop = start ']'
++ '[' 110 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-5fhbg
++ '[' -n 1 ']'
pod logging-fluentd-5fhbg still running
++ echo pod logging-fluentd-5fhbg still running
++ sleep 10
+++ expr 110 - 10
++ ii=100
++ '[' stop = start ']'
++ '[' 100 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-5fhbg
++ '[' stop = start ']'
++ break
++ '[' 100 -le 0 ']'
++ return 0
++ oc get configmap/logging-fluentd -o yaml
++ sed '/## matches/ a\
      <match **>\
        @include configs.d/user/secure-forward.conf\
      </match>'
++ oc replace -f -
configmap "logging-fluentd" replaced
+++ oc get pods -l component=forward-fluentd -o name
++ POD=pods/logging-forward-fluentd-c5f6j
+++ oc get pods/logging-forward-fluentd-c5f6j '--template={{.status.podIP}}'
++ FLUENTD_FORWARD=172.17.0.10
++ oc patch configmap/logging-fluentd --type=json --patch '[{ "op": "replace", "path": "/data/secure-forward.conf", "value": "\
  @type secure_forward\n\
  self_hostname forwarding-${HOSTNAME}\n\
  shared_key aggregated_logging_ci_testing\n\
  secure no\n\
  buffer_queue_limit \"#{ENV['\''BUFFER_QUEUE_LIMIT'\'']}\"\n\
  buffer_chunk_limit \"#{ENV['\''BUFFER_SIZE_LIMIT'\'']}\"\n\
  <server>\n\
   host 172.17.0.10\n\
   port 24284\n\
  </server>"}]'
configmap "logging-fluentd" patched
++ oc label node --all logging-infra-fluentd=true
node "172.18.10.53" labeled
++ wait_for_pod_ACTION start fluentd
++ local ii=120
++ local incr=10
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
+++ oc get pods -l component=fluentd
++ curpod=
++ '[' 120 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z '' ']'
++ '[' -n '' ']'
++ '[' -n 1 ']'
pod for component=fluentd not running yet
++ echo pod for component=fluentd not running yet
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=logging-fluentd-9l2t0
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-9l2t0 ']'
++ break
++ '[' 110 -le 0 ']'
++ return 0
++ write_and_verify_logs 1
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up '' ''
+++ date +%s
++ local starttime=1496970644
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-09 01:10:44.253365779+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-09 01:10:44.253365779+00:00
+++ get_running_pod es
+++ oc get pods -l component=es
+++ awk -v sel=es '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ get_running_pod es-ops
+++ oc get pods -l component=es-ops
+++ awk -v sel=es-ops '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_ops_pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ '[' -z logging-es-ops-data-master-gw0u0psf-1-j2gcm ']'
+++ uuidgen
++ local uuid_es=966d4648-d956-4e87-8a84-571bb2ecaa96
+++ uuidgen
++ local uuid_es_ops=7cedd6e1-af4e-43de-b614-7789c121cc56
++ local expected=1
++ local timeout=300
++ add_test_message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_running_pod kibana
+++ oc get pods -l component=kibana
+++ awk -v sel=kibana '$1 ~ sel && $3 == "Running" {print $1}'
++ local kib_pod=logging-kibana-1-1fms4
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/966d4648-d956-4e87-8a84-571bb2ecaa96
++ echo added es message 966d4648-d956-4e87-8a84-571bb2ecaa96
added es message 966d4648-d956-4e87-8a84-571bb2ecaa96
++ logger -i -p local6.info -t 7cedd6e1-af4e-43de-b614-7789c121cc56 7cedd6e1-af4e-43de-b614-7789c121cc56
added es-ops message 7cedd6e1-af4e-43de-b614-7789c121cc56
++ echo added es-ops message 7cedd6e1-af4e-43de-b614-7789c121cc56
++ local rc=0
++ espod=logging-es-data-master-f10vs1am-1-wm1tr
++ myproject=project.logging
++ mymessage=966d4648-d956-4e87-8a84-571bb2ecaa96
++ expected=1
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 299 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 297 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 296 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 295 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 294 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 293 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 292 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 291 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 290 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 289 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 288 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 287 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 286 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 285 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 284 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 283 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 282 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 281 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 280 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 279 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 278 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 277 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 276 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 275 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 274 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 273 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ get_count_from_json
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 272 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 271 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 270 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 269 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 268 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 267 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 266 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 265 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 264 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 263 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 262 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 261 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 260 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 259 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 258 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 257 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 256 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 255 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 254 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 253 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 252 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 251 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 250 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 249 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 248 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 247 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 246 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 245 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 244 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 243 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 966d4648-d956-4e87-8a84-571bb2ecaa96
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:966d4648-d956-4e87-8a84-571bb2ecaa96'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 243 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 966d4648-d956-4e87-8a84-571bb2ecaa96
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 966d4648-d956-4e87-8a84-571bb2ecaa96
++ espod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ myproject=.operations
++ mymessage=7cedd6e1-af4e-43de-b614-7789c121cc56
++ expected=1
++ myfield=systemd.u.SYSLOG_IDENTIFIER
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 7cedd6e1-af4e-43de-b614-7789c121cc56
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:7cedd6e1-af4e-43de-b614-7789c121cc56' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:7cedd6e1-af4e-43de-b614-7789c121cc56'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:7cedd6e1-af4e-43de-b614-7789c121cc56'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 299 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 7cedd6e1-af4e-43de-b614-7789c121cc56
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:7cedd6e1-af4e-43de-b614-7789c121cc56' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:7cedd6e1-af4e-43de-b614-7789c121cc56'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:7cedd6e1-af4e-43de-b614-7789c121cc56'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 7cedd6e1-af4e-43de-b614-7789c121cc56
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:7cedd6e1-af4e-43de-b614-7789c121cc56' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:7cedd6e1-af4e-43de-b614-7789c121cc56'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:7cedd6e1-af4e-43de-b614-7789c121cc56'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 297 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 7cedd6e1-af4e-43de-b614-7789c121cc56
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:7cedd6e1-af4e-43de-b614-7789c121cc56' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:7cedd6e1-af4e-43de-b614-7789c121cc56'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:7cedd6e1-af4e-43de-b614-7789c121cc56'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 297 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 7cedd6e1-af4e-43de-b614-7789c121cc56
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 7cedd6e1-af4e-43de-b614-7789c121cc56
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496970729
+++ expr 1496970729 - 1496970644
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 85 seconds at 2017-06-09 01:12:09.011300280+00:00
++ echo END wait_for_fluentd_to_catch_up took 85 seconds at 2017-06-09 01:12:09.011300280+00:00
++ return 0
++ return 0
++ cleanup
++ cleanup_forward
++ oc label node --all logging-infra-fluentd-
node "172.18.10.53" labeled
++ wait_for_pod_ACTION stop logging-fluentd-5fhbg
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-5fhbg
++ '[' -z logging-fluentd-5fhbg -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-5fhbg
++ '[' stop = start ']'
++ break
++ '[' 120 -le 0 ']'
++ return 0
++ oc delete daemonset/logging-forward-fluentd
daemonset "logging-forward-fluentd" deleted
+++ oc get configmap/logging-fluentd -o yaml
+++ grep '<match \*\*>'
++ '[' -n '      <match **>' ']'
++ oc get configmap/logging-fluentd -o yaml
++ sed -e '/<match \*\*>/ d' -e '/@include configs\.d\/user\/secure-forward\.conf/ d' -e '/<\/match>/ d'
++ oc replace -f -
configmap "logging-fluentd" replaced
++ oc patch configmap/logging-fluentd --type=json --patch '[{ "op": "replace", "path": "/data/secure-forward.conf", "value": "\
# @type secure_forward\n\
# self_hostname forwarding-${HOSTNAME}\n\
# shared_key aggregated_logging_ci_testing\n\
#  secure no\n\
#  <server>\n\
#   host ${FLUENTD_FORWARD}\n\
#   port 24284\n\
#  </server>"}]'
configmap "logging-fluentd" patched
++ oc label node --all logging-infra-fluentd=true
node "172.18.10.53" labeled
++ wait_for_pod_ACTION start fluentd
++ local ii=120
++ local incr=10
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=
++ '[' 120 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z '' ']'
++ '[' -n '' ']'
++ '[' -n 1 ']'
pod for component=fluentd not running yet
++ echo pod for component=fluentd not running yet
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=logging-fluentd-v25br
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-v25br ']'
++ break
++ '[' 110 -le 0 ']'
++ return 0
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ fpod=logging-fluentd-v25br
++ oc get events -o yaml
++ write_and_verify_logs 1
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up '' ''
+++ date +%s
++ local starttime=1496970744
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-09 01:12:24.606955944+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-09 01:12:24.606955944+00:00
+++ get_running_pod es
+++ oc get pods -l component=es
+++ awk -v sel=es '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ get_running_pod es-ops
+++ oc get pods -l component=es-ops
+++ awk -v sel=es-ops '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_ops_pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ '[' -z logging-es-ops-data-master-gw0u0psf-1-j2gcm ']'
+++ uuidgen
++ local uuid_es=345813f9-38cc-4f9c-bf56-9df6ac91c8e9
+++ uuidgen
++ local uuid_es_ops=48ee6f6d-a613-4423-9045-37d1515d99fc
++ local expected=1
++ local timeout=300
++ add_test_message 345813f9-38cc-4f9c-bf56-9df6ac91c8e9
+++ get_running_pod kibana
+++ oc get pods -l component=kibana
+++ awk -v sel=kibana '$1 ~ sel && $3 == "Running" {print $1}'
++ local kib_pod=logging-kibana-1-1fms4
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/345813f9-38cc-4f9c-bf56-9df6ac91c8e9
added es message 345813f9-38cc-4f9c-bf56-9df6ac91c8e9
++ echo added es message 345813f9-38cc-4f9c-bf56-9df6ac91c8e9
++ logger -i -p local6.info -t 48ee6f6d-a613-4423-9045-37d1515d99fc 48ee6f6d-a613-4423-9045-37d1515d99fc
added es-ops message 48ee6f6d-a613-4423-9045-37d1515d99fc
++ echo added es-ops message 48ee6f6d-a613-4423-9045-37d1515d99fc
++ local rc=0
++ espod=logging-es-data-master-f10vs1am-1-wm1tr
++ myproject=project.logging
++ mymessage=345813f9-38cc-4f9c-bf56-9df6ac91c8e9
++ expected=1
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 345813f9-38cc-4f9c-bf56-9df6ac91c8e9
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 299 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 345813f9-38cc-4f9c-bf56-9df6ac91c8e9
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
+++ shift
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 345813f9-38cc-4f9c-bf56-9df6ac91c8e9
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 297 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 345813f9-38cc-4f9c-bf56-9df6ac91c8e9
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 296 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 345813f9-38cc-4f9c-bf56-9df6ac91c8e9
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 295 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 345813f9-38cc-4f9c-bf56-9df6ac91c8e9
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 294 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 345813f9-38cc-4f9c-bf56-9df6ac91c8e9
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 293 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 345813f9-38cc-4f9c-bf56-9df6ac91c8e9
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 292 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 345813f9-38cc-4f9c-bf56-9df6ac91c8e9
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 291 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 345813f9-38cc-4f9c-bf56-9df6ac91c8e9
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 290 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 345813f9-38cc-4f9c-bf56-9df6ac91c8e9
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 289 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ get_count_from_json
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 345813f9-38cc-4f9c-bf56-9df6ac91c8e9
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 288 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 345813f9-38cc-4f9c-bf56-9df6ac91c8e9
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 287 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 345813f9-38cc-4f9c-bf56-9df6ac91c8e9
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:345813f9-38cc-4f9c-bf56-9df6ac91c8e9'
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 345813f9-38cc-4f9c-bf56-9df6ac91c8e9
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 287 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 345813f9-38cc-4f9c-bf56-9df6ac91c8e9
++ espod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ myproject=.operations
++ mymessage=48ee6f6d-a613-4423-9045-37d1515d99fc
++ expected=1
++ myfield=systemd.u.SYSLOG_IDENTIFIER
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 48ee6f6d-a613-4423-9045-37d1515d99fc
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:48ee6f6d-a613-4423-9045-37d1515d99fc' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:48ee6f6d-a613-4423-9045-37d1515d99fc'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:48ee6f6d-a613-4423-9045-37d1515d99fc'
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 300 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 48ee6f6d-a613-4423-9045-37d1515d99fc
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 48ee6f6d-a613-4423-9045-37d1515d99fc
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496970764
+++ expr 1496970764 - 1496970744
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 20 seconds at 2017-06-09 01:12:44.641416811+00:00
++ echo END wait_for_fluentd_to_catch_up took 20 seconds at 2017-06-09 01:12:44.641416811+00:00
++ return 0
++ return 0
++ cleanup
++ cleanup_forward
++ oc label node --all logging-infra-fluentd-
node "172.18.10.53" labeled
++ wait_for_pod_ACTION stop logging-fluentd-v25br
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-v25br
++ '[' -z logging-fluentd-v25br -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-v25br
++ '[' -n 1 ']'
pod logging-fluentd-v25br still running
++ echo pod logging-fluentd-v25br still running
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' stop = start ']'
++ '[' 110 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-v25br
++ '[' stop = start ']'
++ break
++ '[' 110 -le 0 ']'
++ return 0
++ oc delete daemonset/logging-forward-fluentd
Error from server (NotFound): daemonsets.extensions "logging-forward-fluentd" not found
++ :
+++ oc get configmap/logging-fluentd -o yaml
+++ grep '<match \*\*>'
++ '[' -n '' ']'
++ oc patch configmap/logging-fluentd --type=json --patch '[{ "op": "replace", "path": "/data/secure-forward.conf", "value": "\
# @type secure_forward\n\
# self_hostname forwarding-${HOSTNAME}\n\
# shared_key aggregated_logging_ci_testing\n\
#  secure no\n\
#  <server>\n\
#   host ${FLUENTD_FORWARD}\n\
#   port 24284\n\
#  </server>"}]'
configmap "logging-fluentd" not patched
++ oc label node --all logging-infra-fluentd=true
node "172.18.10.53" labeled
++ wait_for_pod_ACTION start fluentd
++ local ii=120
++ local incr=10
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=
++ '[' 120 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z '' ']'
++ '[' -n '' ']'
++ '[' -n 1 ']'
++ echo pod for component=fluentd not running yet
pod for component=fluentd not running yet
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=logging-fluentd-fnpvk
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-fnpvk ']'
++ break
++ '[' 110 -le 0 ']'
++ return 0
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ fpod=logging-fluentd-fnpvk
++ oc get events -o yaml
running test test-json-parsing.sh
++ set -o nounset
++ set -o pipefail
++ type get_running_pod
++ ARTIFACT_DIR=/tmp/origin-aggregated-logging/artifacts
++ '[' '!' -d /tmp/origin-aggregated-logging/artifacts ']'
+++ get_running_pod es
+++ awk -v sel=es '$1 ~ sel && $3 == "Running" {print $1}'
+++ oc get pods -l component=es
++ es_pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ uuidgen
++ uuid_es=7651b91f-6111-41f2-ae3d-bf0a3344e918
++ echo Adding test message 7651b91f-6111-41f2-ae3d-bf0a3344e918 to Kibana . . .
Adding test message 7651b91f-6111-41f2-ae3d-bf0a3344e918 to Kibana . . .
++ add_test_message 7651b91f-6111-41f2-ae3d-bf0a3344e918
+++ get_running_pod kibana
+++ oc get pods -l component=kibana
+++ awk -v sel=kibana '$1 ~ sel && $3 == "Running" {print $1}'
++ local kib_pod=logging-kibana-1-1fms4
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/7651b91f-6111-41f2-ae3d-bf0a3344e918
++ rc=0
++ timeout=600
++ echo Waiting 600 seconds for 7651b91f-6111-41f2-ae3d-bf0a3344e918 to show up in Elasticsearch . . .
Waiting 600 seconds for 7651b91f-6111-41f2-ae3d-bf0a3344e918 to show up in Elasticsearch . . .
++ espod=logging-es-data-master-f10vs1am-1-wm1tr
++ myproject=project.logging.
++ mymessage=7651b91f-6111-41f2-ae3d-bf0a3344e918
++ expected=1
++ wait_until_cmd_or_err test_count_expected test_count_err 600
++ let ii=600
++ local interval=1
++ '[' 600 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging. _count message 7651b91f-6111-41f2-ae3d-bf0a3344e918
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 599 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging. _count message 7651b91f-6111-41f2-ae3d-bf0a3344e918
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 598 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging. _count message 7651b91f-6111-41f2-ae3d-bf0a3344e918
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918' --connect-timeout 1
+++ get_count_from_json
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
+++ shift
+++ shift
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 597 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging. _count message 7651b91f-6111-41f2-ae3d-bf0a3344e918
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
+++ shift
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 596 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging. _count message 7651b91f-6111-41f2-ae3d-bf0a3344e918
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 595 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging. _count message 7651b91f-6111-41f2-ae3d-bf0a3344e918
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 594 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging. _count message 7651b91f-6111-41f2-ae3d-bf0a3344e918
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 593 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging. _count message 7651b91f-6111-41f2-ae3d-bf0a3344e918
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 592 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging. _count message 7651b91f-6111-41f2-ae3d-bf0a3344e918
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 591 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging. _count message 7651b91f-6111-41f2-ae3d-bf0a3344e918
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 590 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging. _count message 7651b91f-6111-41f2-ae3d-bf0a3344e918
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 589 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging. _count message 7651b91f-6111-41f2-ae3d-bf0a3344e918
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 588 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging. _count message 7651b91f-6111-41f2-ae3d-bf0a3344e918
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 588 -le 0 ']'
++ return 0
good - ./logging.sh: found 1 record project logging for 7651b91f-6111-41f2-ae3d-bf0a3344e918
++ echo good - ./logging.sh: found 1 record project logging for 7651b91f-6111-41f2-ae3d-bf0a3344e918
Testing if record is in correct format . . .
++ echo Testing if record is in correct format . . .
++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging. _search message 7651b91f-6111-41f2-ae3d-bf0a3344e918
++ python test-json-parsing.py 7651b91f-6111-41f2-ae3d-bf0a3344e918
++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging.*/_search?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918' --connect-timeout 1
++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
++ local 'endpoint=/project.logging.*/_search?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
++ shift
++ shift
++ args=("${@:-}")
++ local args
++ local secret_dir=/etc/elasticsearch/secret/
++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_search?q=message:7651b91f-6111-41f2-ae3d-bf0a3344e918'
Success: record contains all of the expected fields/values
Success: ./logging.sh passed
++ echo Success: ./logging.sh passed
++ exit 0
running test test-mux.sh
++ set -o nounset
++ set -o pipefail
++ type get_running_pod
++ '[' false == false -o false == false ']'
Skipping -- This test requires both USE_MUX_CLIENT and MUX_ALLOW_EXTERNAL are true.
++ echo 'Skipping -- This test requires both USE_MUX_CLIENT and MUX_ALLOW_EXTERNAL are true.'
++ exit 0
SKIPPING upgrade test for now
running test test-viaq-data-model.sh
++ set -o nounset
++ set -o pipefail
++ type get_running_pod
++ [[ 1 -ne 1 ]]
++ [[ true = \f\a\l\s\e ]]
++ CLUSTER=true
++ ops=-ops
++ INDEX_PREFIX=
++ PROJ_PREFIX=project.
++ ARTIFACT_DIR=/tmp/origin-aggregated-logging/artifacts
++ '[' '!' -d /tmp/origin-aggregated-logging/artifacts ']'
++ get_test_user_token
++ local current_project
+++ oc project -q
++ current_project=logging
++ oc login --username=admin --password=admin
+++ oc whoami -t
++ test_token=QEkS2OJEBDw8HlvMBdWC8UUogjOCXviPzJkcMNzx_ng
+++ oc whoami
++ test_name=admin
++ test_ip=127.0.0.1
++ oc login --username=system:admin
++ oc project logging
++ TEST_DIVIDER=------------------------------------------
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ fpod=logging-fluentd-fnpvk
++ remove_test_volume
++ oc get template logging-fluentd-template -o json
++ python -c 'import json, sys; obj = json.loads(sys.stdin.read()); vm = obj["objects"][0]["spec"]["template"]["spec"]["containers"][0]["volumeMounts"]; obj["objects"][0]["spec"]["template"]["spec"]["containers"][0]["volumeMounts"] = [xx for xx in vm if xx["name"] != "cdmtest"]; vs = obj["objects"][0]["spec"]["template"]["spec"]["volumes"]; obj["objects"][0]["spec"]["template"]["spec"]["volumes"] = [xx for xx in vs if xx["name"] != "cdmtest"]; print json.dumps(obj, indent=2)'
++ oc replace -f -
template "logging-fluentd-template" replaced
+++ mktemp
++ cfg=/tmp/tmp.T9bToOtNRI
++ cat
++ add_test_volume /tmp/tmp.T9bToOtNRI
++ oc get template logging-fluentd-template -o json
++ python -c 'import json, sys; obj = json.loads(sys.stdin.read()); obj["objects"][0]["spec"]["template"]["spec"]["containers"][0]["volumeMounts"].append({"name": "cdmtest", "mountPath": "/etc/fluent/configs.d/openshift/filter-pre-cdm-test.conf", "readOnly": True}); obj["objects"][0]["spec"]["template"]["spec"]["volumes"].append({"name": "cdmtest", "hostPath": {"path": "/tmp/tmp.T9bToOtNRI"}}); print json.dumps(obj, indent=2)'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ trap cleanup INT TERM EXIT
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-fnpvk
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-fnpvk
++ '[' -z logging-fluentd-fnpvk -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-fnpvk
++ '[' stop = start ']'
++ break
++ '[' 120 -le 0 ']'
++ return 0
++ oc process logging-fluentd-template
++ oc create -f -
daemonset "logging-fluentd" created
++ wait_for_pod_ACTION start fluentd
++ local ii=120
++ local incr=10
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=
++ '[' 120 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z '' ']'
++ '[' -n '' ']'
++ '[' -n 1 ']'
++ echo pod for component=fluentd not running yet
pod for component=fluentd not running yet
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=logging-fluentd-srr84
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-srr84 ']'
++ break
++ '[' 110 -le 0 ']'
++ return 0
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ fpod=logging-fluentd-srr84
++ keep_fields=method,statusCode,type,@timestamp,req,res
++ write_and_verify_logs test1
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up get_logmessage get_logmessage2
+++ date +%s
++ local starttime=1496970822
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-09 01:13:42.913502922+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-09 01:13:42.913502922+00:00
+++ get_running_pod es
+++ oc get pods -l component=es
+++ awk -v sel=es '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ get_running_pod es-ops
+++ oc get pods -l component=es-ops
+++ awk -v sel=es-ops '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_ops_pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ '[' -z logging-es-ops-data-master-gw0u0psf-1-j2gcm ']'
+++ uuidgen
++ local uuid_es=3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
+++ uuidgen
++ local uuid_es_ops=729d069e-d7e1-47db-b01a-c3245a5c8eda
++ local expected=1
++ local timeout=300
++ add_test_message 3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
+++ get_running_pod kibana
+++ oc get pods -l component=kibana
+++ awk -v sel=kibana '$1 ~ sel && $3 == "Running" {print $1}'
++ local kib_pod=logging-kibana-1-1fms4
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
added es message 3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
++ echo added es message 3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
++ logger -i -p local6.info -t 729d069e-d7e1-47db-b01a-c3245a5c8eda 729d069e-d7e1-47db-b01a-c3245a5c8eda
added es-ops message 729d069e-d7e1-47db-b01a-c3245a5c8eda
++ echo added es-ops message 729d069e-d7e1-47db-b01a-c3245a5c8eda
++ local rc=0
++ espod=logging-es-data-master-f10vs1am-1-wm1tr
++ myproject=project.logging
++ mymessage=3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
++ expected=1
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 299 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 297 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8'
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 296 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 295 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 294 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 293 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 292 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 292 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
++ espod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ myproject=.operations
++ mymessage=729d069e-d7e1-47db-b01a-c3245a5c8eda
++ expected=1
++ myfield=systemd.u.SYSLOG_IDENTIFIER
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 729d069e-d7e1-47db-b01a-c3245a5c8eda
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:729d069e-d7e1-47db-b01a-c3245a5c8eda' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:729d069e-d7e1-47db-b01a-c3245a5c8eda'
+++ shift
+++ shift
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:729d069e-d7e1-47db-b01a-c3245a5c8eda'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 299 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 729d069e-d7e1-47db-b01a-c3245a5c8eda
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:729d069e-d7e1-47db-b01a-c3245a5c8eda' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:729d069e-d7e1-47db-b01a-c3245a5c8eda'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:729d069e-d7e1-47db-b01a-c3245a5c8eda'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 729d069e-d7e1-47db-b01a-c3245a5c8eda
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:729d069e-d7e1-47db-b01a-c3245a5c8eda' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:729d069e-d7e1-47db-b01a-c3245a5c8eda'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:729d069e-d7e1-47db-b01a-c3245a5c8eda'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 297 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 729d069e-d7e1-47db-b01a-c3245a5c8eda
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:729d069e-d7e1-47db-b01a-c3245a5c8eda' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:729d069e-d7e1-47db-b01a-c3245a5c8eda'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:729d069e-d7e1-47db-b01a-c3245a5c8eda'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 297 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 729d069e-d7e1-47db-b01a-c3245a5c8eda
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 729d069e-d7e1-47db-b01a-c3245a5c8eda
++ '[' -n get_logmessage ']'
++ get_logmessage 3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
++ logmessage=3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 729d069e-d7e1-47db-b01a-c3245a5c8eda
++ logmessage2=729d069e-d7e1-47db-b01a-c3245a5c8eda
+++ date +%s
++ local endtime=1496970839
+++ expr 1496970839 - 1496970822
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 17 seconds at 2017-06-09 01:13:59.899794631+00:00
++ echo END wait_for_fluentd_to_catch_up took 17 seconds at 2017-06-09 01:13:59.899794631+00:00
++ return 0
+++ get_running_pod kibana
+++ oc get pods -l component=kibana
+++ awk -v sel=kibana '$1 ~ sel && $3 == "Running" {print $1}'
++ kpod=logging-kibana-1-1fms4
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-1fms4 logging-es project.logging _search message 3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8
++ python test-viaq-data-model.py test1
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s -k --cert /etc/kibana/keys/cert --key /etc/kibana/keys/key -H 'X-Proxy-Remote-User: admin' -H 'Authorization: Bearer QEkS2OJEBDw8HlvMBdWC8UUogjOCXviPzJkcMNzx_ng' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:3c3a7671-f3ab-4d5e-8bc9-1152df00cbb8'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-1fms4 logging-es-ops .operations _search message 729d069e-d7e1-47db-b01a-c3245a5c8eda
++ python test-viaq-data-model.py test1
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s -k --cert /etc/kibana/keys/cert --key /etc/kibana/keys/key -H 'X-Proxy-Remote-User: admin' -H 'Authorization: Bearer QEkS2OJEBDw8HlvMBdWC8UUogjOCXviPzJkcMNzx_ng' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:729d069e-d7e1-47db-b01a-c3245a5c8eda'
++ :
++ '[' 0 '!=' 0 ']'
++ return 0
++ add_cdm_env_var_val CDM_USE_UNDEFINED '"true"'
+++ mktemp
++ junk=/tmp/tmp.TZpkRlaatM
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.TZpkRlaatM'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.TZpkRlaatM
++ add_cdm_env_var_val CDM_EXTRA_KEEP_FIELDS method,statusCode,type,@timestamp,req,res
+++ mktemp
++ junk=/tmp/tmp.MCeoVQCU6p
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.MCeoVQCU6p'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.MCeoVQCU6p
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-srr84
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-srr84
++ '[' -z logging-fluentd-srr84 -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-srr84
++ '[' stop = start ']'
++ break
++ '[' 120 -le 0 ']'
++ return 0
++ oc process logging-fluentd-template
++ oc create -f -
daemonset "logging-fluentd" created
++ wait_for_pod_ACTION start fluentd
++ local ii=120
++ local incr=10
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=
++ '[' 120 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z '' ']'
++ '[' -n '' ']'
++ '[' -n 1 ']'
++ echo pod for component=fluentd not running yet
pod for component=fluentd not running yet
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=logging-fluentd-prkdz
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-prkdz ']'
++ break
++ '[' 110 -le 0 ']'
++ return 0
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ fpod=logging-fluentd-prkdz
++ write_and_verify_logs test2
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up get_logmessage get_logmessage2
+++ date +%s
++ local starttime=1496970858
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-09 01:14:18.234708709+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-09 01:14:18.234708709+00:00
+++ get_running_pod es
+++ oc get pods -l component=es
+++ awk -v sel=es '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ get_running_pod es-ops
+++ oc get pods -l component=es-ops
+++ awk -v sel=es-ops '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_ops_pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ '[' -z logging-es-ops-data-master-gw0u0psf-1-j2gcm ']'
+++ uuidgen
++ local uuid_es=81d05305-5c45-4547-b887-bbf86ea27bdf
+++ uuidgen
++ local uuid_es_ops=0c3f530d-736e-4fff-8120-cf925d185ef3
++ local expected=1
++ local timeout=300
++ add_test_message 81d05305-5c45-4547-b887-bbf86ea27bdf
+++ get_running_pod kibana
+++ oc get pods -l component=kibana
+++ awk -v sel=kibana '$1 ~ sel && $3 == "Running" {print $1}'
++ local kib_pod=logging-kibana-1-1fms4
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/81d05305-5c45-4547-b887-bbf86ea27bdf
++ echo added es message 81d05305-5c45-4547-b887-bbf86ea27bdf
added es message 81d05305-5c45-4547-b887-bbf86ea27bdf
++ logger -i -p local6.info -t 0c3f530d-736e-4fff-8120-cf925d185ef3 0c3f530d-736e-4fff-8120-cf925d185ef3
added es-ops message 0c3f530d-736e-4fff-8120-cf925d185ef3
++ echo added es-ops message 0c3f530d-736e-4fff-8120-cf925d185ef3
++ local rc=0
++ espod=logging-es-data-master-f10vs1am-1-wm1tr
++ myproject=project.logging
++ mymessage=81d05305-5c45-4547-b887-bbf86ea27bdf
++ expected=1
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 81d05305-5c45-4547-b887-bbf86ea27bdf
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 299 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 81d05305-5c45-4547-b887-bbf86ea27bdf
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 81d05305-5c45-4547-b887-bbf86ea27bdf
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 297 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 81d05305-5c45-4547-b887-bbf86ea27bdf
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 296 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 81d05305-5c45-4547-b887-bbf86ea27bdf
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 295 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 81d05305-5c45-4547-b887-bbf86ea27bdf
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 294 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 81d05305-5c45-4547-b887-bbf86ea27bdf
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 293 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 81d05305-5c45-4547-b887-bbf86ea27bdf
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 292 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 81d05305-5c45-4547-b887-bbf86ea27bdf
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 292 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 81d05305-5c45-4547-b887-bbf86ea27bdf
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 81d05305-5c45-4547-b887-bbf86ea27bdf
++ espod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ myproject=.operations
++ mymessage=0c3f530d-736e-4fff-8120-cf925d185ef3
++ expected=1
++ myfield=systemd.u.SYSLOG_IDENTIFIER
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 0c3f530d-736e-4fff-8120-cf925d185ef3
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:0c3f530d-736e-4fff-8120-cf925d185ef3' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:0c3f530d-736e-4fff-8120-cf925d185ef3'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:0c3f530d-736e-4fff-8120-cf925d185ef3'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 299 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 0c3f530d-736e-4fff-8120-cf925d185ef3
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:0c3f530d-736e-4fff-8120-cf925d185ef3' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:0c3f530d-736e-4fff-8120-cf925d185ef3'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:0c3f530d-736e-4fff-8120-cf925d185ef3'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 0c3f530d-736e-4fff-8120-cf925d185ef3
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:0c3f530d-736e-4fff-8120-cf925d185ef3' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:0c3f530d-736e-4fff-8120-cf925d185ef3'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:0c3f530d-736e-4fff-8120-cf925d185ef3'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 298 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 0c3f530d-736e-4fff-8120-cf925d185ef3
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 0c3f530d-736e-4fff-8120-cf925d185ef3
++ '[' -n get_logmessage ']'
++ get_logmessage 81d05305-5c45-4547-b887-bbf86ea27bdf
++ logmessage=81d05305-5c45-4547-b887-bbf86ea27bdf
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 0c3f530d-736e-4fff-8120-cf925d185ef3
++ logmessage2=0c3f530d-736e-4fff-8120-cf925d185ef3
+++ date +%s
++ local endtime=1496970873
+++ expr 1496970873 - 1496970858
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 15 seconds at 2017-06-09 01:14:33.767425070+00:00
++ echo END wait_for_fluentd_to_catch_up took 15 seconds at 2017-06-09 01:14:33.767425070+00:00
++ return 0
+++ get_running_pod kibana
+++ oc get pods -l component=kibana
+++ awk -v sel=kibana '$1 ~ sel && $3 == "Running" {print $1}'
++ kpod=logging-kibana-1-1fms4
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-1fms4 logging-es project.logging _search message 81d05305-5c45-4547-b887-bbf86ea27bdf
++ python test-viaq-data-model.py test2
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s -k --cert /etc/kibana/keys/cert --key /etc/kibana/keys/key -H 'X-Proxy-Remote-User: admin' -H 'Authorization: Bearer QEkS2OJEBDw8HlvMBdWC8UUogjOCXviPzJkcMNzx_ng' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:81d05305-5c45-4547-b887-bbf86ea27bdf'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-1fms4 logging-es-ops .operations _search message 0c3f530d-736e-4fff-8120-cf925d185ef3
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s -k --cert /etc/kibana/keys/cert --key /etc/kibana/keys/key -H 'X-Proxy-Remote-User: admin' -H 'Authorization: Bearer QEkS2OJEBDw8HlvMBdWC8UUogjOCXviPzJkcMNzx_ng' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:0c3f530d-736e-4fff-8120-cf925d185ef3'
++ python test-viaq-data-model.py test2
++ :
++ '[' 0 '!=' 0 ']'
++ return 0
++ del_cdm_env_var CDM_EXTRA_KEEP_FIELDS
++ oc get template logging-fluentd-template -o yaml
++ sed '/- name: CDM_EXTRA_KEEP_FIELDS$/,/value:/d'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ add_cdm_env_var_val CDM_EXTRA_KEEP_FIELDS undefined4,undefined5,method,statusCode,type,@timestamp,req,res
+++ mktemp
++ junk=/tmp/tmp.j2IllIsnjF
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.j2IllIsnjF'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.j2IllIsnjF
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-prkdz
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-prkdz
++ '[' -z logging-fluentd-prkdz -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-prkdz
++ '[' stop = start ']'
++ break
++ '[' 120 -le 0 ']'
++ return 0
++ oc process logging-fluentd-template
++ oc create -f -
daemonset "logging-fluentd" created
++ wait_for_pod_ACTION start fluentd
++ local ii=120
++ local incr=10
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=
++ '[' 120 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z '' ']'
++ '[' -n '' ']'
++ '[' -n 1 ']'
pod for component=fluentd not running yet
++ echo pod for component=fluentd not running yet
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=logging-fluentd-j2291
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-j2291 ']'
++ break
++ '[' 110 -le 0 ']'
++ return 0
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ fpod=logging-fluentd-j2291
++ write_and_verify_logs test3
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up get_logmessage get_logmessage2
+++ date +%s
++ local starttime=1496970900
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-09 01:15:00.788620079+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-09 01:15:00.788620079+00:00
+++ get_running_pod es
+++ oc get pods -l component=es
+++ awk -v sel=es '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ get_running_pod es-ops
+++ awk -v sel=es-ops '$1 ~ sel && $3 == "Running" {print $1}'
+++ oc get pods -l component=es-ops
++ local es_ops_pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ '[' -z logging-es-ops-data-master-gw0u0psf-1-j2gcm ']'
+++ uuidgen
++ local uuid_es=bee28c20-b0e6-430e-8363-06e780d78ac8
+++ uuidgen
++ local uuid_es_ops=89ac02f4-263b-40a3-bbd9-9ee2bea60f36
++ local expected=1
++ local timeout=300
++ add_test_message bee28c20-b0e6-430e-8363-06e780d78ac8
+++ get_running_pod kibana
+++ oc get pods -l component=kibana
+++ awk -v sel=kibana '$1 ~ sel && $3 == "Running" {print $1}'
++ local kib_pod=logging-kibana-1-1fms4
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/bee28c20-b0e6-430e-8363-06e780d78ac8
added es message bee28c20-b0e6-430e-8363-06e780d78ac8
++ echo added es message bee28c20-b0e6-430e-8363-06e780d78ac8
++ logger -i -p local6.info -t 89ac02f4-263b-40a3-bbd9-9ee2bea60f36 89ac02f4-263b-40a3-bbd9-9ee2bea60f36
added es-ops message 89ac02f4-263b-40a3-bbd9-9ee2bea60f36
++ echo added es-ops message 89ac02f4-263b-40a3-bbd9-9ee2bea60f36
++ local rc=0
++ espod=logging-es-data-master-f10vs1am-1-wm1tr
++ myproject=project.logging
++ mymessage=bee28c20-b0e6-430e-8363-06e780d78ac8
++ expected=1
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bee28c20-b0e6-430e-8363-06e780d78ac8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 299 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bee28c20-b0e6-430e-8363-06e780d78ac8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bee28c20-b0e6-430e-8363-06e780d78ac8
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 297 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bee28c20-b0e6-430e-8363-06e780d78ac8
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 296 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bee28c20-b0e6-430e-8363-06e780d78ac8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 295 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bee28c20-b0e6-430e-8363-06e780d78ac8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 294 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bee28c20-b0e6-430e-8363-06e780d78ac8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 293 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bee28c20-b0e6-430e-8363-06e780d78ac8
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 292 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bee28c20-b0e6-430e-8363-06e780d78ac8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 291 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bee28c20-b0e6-430e-8363-06e780d78ac8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 290 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bee28c20-b0e6-430e-8363-06e780d78ac8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 289 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bee28c20-b0e6-430e-8363-06e780d78ac8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 288 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bee28c20-b0e6-430e-8363-06e780d78ac8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 287 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message bee28c20-b0e6-430e-8363-06e780d78ac8
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 287 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for bee28c20-b0e6-430e-8363-06e780d78ac8
good - wait_for_fluentd_to_catch_up: found 1 record project logging for bee28c20-b0e6-430e-8363-06e780d78ac8
++ espod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ myproject=.operations
++ mymessage=89ac02f4-263b-40a3-bbd9-9ee2bea60f36
++ expected=1
++ myfield=systemd.u.SYSLOG_IDENTIFIER
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 89ac02f4-263b-40a3-bbd9-9ee2bea60f36
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:89ac02f4-263b-40a3-bbd9-9ee2bea60f36' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:89ac02f4-263b-40a3-bbd9-9ee2bea60f36'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:89ac02f4-263b-40a3-bbd9-9ee2bea60f36'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 300 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 89ac02f4-263b-40a3-bbd9-9ee2bea60f36
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 89ac02f4-263b-40a3-bbd9-9ee2bea60f36
++ '[' -n get_logmessage ']'
++ get_logmessage bee28c20-b0e6-430e-8363-06e780d78ac8
++ logmessage=bee28c20-b0e6-430e-8363-06e780d78ac8
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 89ac02f4-263b-40a3-bbd9-9ee2bea60f36
++ logmessage2=89ac02f4-263b-40a3-bbd9-9ee2bea60f36
+++ date +%s
++ local endtime=1496970920
+++ expr 1496970920 - 1496970900
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 20 seconds at 2017-06-09 01:15:20.643440849+00:00
++ echo END wait_for_fluentd_to_catch_up took 20 seconds at 2017-06-09 01:15:20.643440849+00:00
++ return 0
+++ get_running_pod kibana
+++ oc get pods -l component=kibana
+++ awk -v sel=kibana '$1 ~ sel && $3 == "Running" {print $1}'
++ kpod=logging-kibana-1-1fms4
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-1fms4 logging-es project.logging _search message bee28c20-b0e6-430e-8363-06e780d78ac8
++ python test-viaq-data-model.py test3
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s -k --cert /etc/kibana/keys/cert --key /etc/kibana/keys/key -H 'X-Proxy-Remote-User: admin' -H 'Authorization: Bearer QEkS2OJEBDw8HlvMBdWC8UUogjOCXviPzJkcMNzx_ng' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:bee28c20-b0e6-430e-8363-06e780d78ac8'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-1fms4 logging-es-ops .operations _search message 89ac02f4-263b-40a3-bbd9-9ee2bea60f36
++ python test-viaq-data-model.py test3
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s -k --cert /etc/kibana/keys/cert --key /etc/kibana/keys/key -H 'X-Proxy-Remote-User: admin' -H 'Authorization: Bearer QEkS2OJEBDw8HlvMBdWC8UUogjOCXviPzJkcMNzx_ng' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:89ac02f4-263b-40a3-bbd9-9ee2bea60f36'
++ :
++ '[' 0 '!=' 0 ']'
++ return 0
++ add_cdm_env_var_val CDM_UNDEFINED_NAME myname
+++ mktemp
++ junk=/tmp/tmp.kD7u5RTrSF
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.kD7u5RTrSF'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.kD7u5RTrSF
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-j2291
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-j2291
++ '[' -z logging-fluentd-j2291 -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-j2291
++ '[' stop = start ']'
++ break
++ '[' 120 -le 0 ']'
++ return 0
++ oc process logging-fluentd-template
++ oc create -f -
daemonset "logging-fluentd" created
++ wait_for_pod_ACTION start fluentd
++ local ii=120
++ local incr=10
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=
++ '[' 120 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z '' ']'
++ '[' -n '' ']'
++ '[' -n 1 ']'
pod for component=fluentd not running yet
++ echo pod for component=fluentd not running yet
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=logging-fluentd-xc9zr
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-xc9zr ']'
++ break
++ '[' 110 -le 0 ']'
++ return 0
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ fpod=logging-fluentd-xc9zr
++ write_and_verify_logs test4
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up get_logmessage get_logmessage2
+++ date +%s
++ local starttime=1496970937
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-09 01:15:37.666039906+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-09 01:15:37.666039906+00:00
+++ get_running_pod es
+++ oc get pods -l component=es
+++ awk -v sel=es '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ get_running_pod es-ops
+++ oc get pods -l component=es-ops
+++ awk -v sel=es-ops '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_ops_pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ '[' -z logging-es-ops-data-master-gw0u0psf-1-j2gcm ']'
+++ uuidgen
++ local uuid_es=6a8b2586-52da-42d4-b8ef-b2c5edc094da
+++ uuidgen
++ local uuid_es_ops=1c0f0d88-9867-4a3b-84aa-a597e04f1866
++ local expected=1
++ local timeout=300
++ add_test_message 6a8b2586-52da-42d4-b8ef-b2c5edc094da
+++ get_running_pod kibana
+++ oc get pods -l component=kibana
+++ awk -v sel=kibana '$1 ~ sel && $3 == "Running" {print $1}'
++ local kib_pod=logging-kibana-1-1fms4
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/6a8b2586-52da-42d4-b8ef-b2c5edc094da
added es message 6a8b2586-52da-42d4-b8ef-b2c5edc094da
++ echo added es message 6a8b2586-52da-42d4-b8ef-b2c5edc094da
++ logger -i -p local6.info -t 1c0f0d88-9867-4a3b-84aa-a597e04f1866 1c0f0d88-9867-4a3b-84aa-a597e04f1866
added es-ops message 1c0f0d88-9867-4a3b-84aa-a597e04f1866
++ echo added es-ops message 1c0f0d88-9867-4a3b-84aa-a597e04f1866
++ local rc=0
++ espod=logging-es-data-master-f10vs1am-1-wm1tr
++ myproject=project.logging
++ mymessage=6a8b2586-52da-42d4-b8ef-b2c5edc094da
++ expected=1
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 6a8b2586-52da-42d4-b8ef-b2c5edc094da
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 299 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 6a8b2586-52da-42d4-b8ef-b2c5edc094da
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 6a8b2586-52da-42d4-b8ef-b2c5edc094da
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 297 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 6a8b2586-52da-42d4-b8ef-b2c5edc094da
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 296 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 6a8b2586-52da-42d4-b8ef-b2c5edc094da
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 295 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 6a8b2586-52da-42d4-b8ef-b2c5edc094da
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 294 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 6a8b2586-52da-42d4-b8ef-b2c5edc094da
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 293 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 6a8b2586-52da-42d4-b8ef-b2c5edc094da
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 292 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message 6a8b2586-52da-42d4-b8ef-b2c5edc094da
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da'
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 292 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 6a8b2586-52da-42d4-b8ef-b2c5edc094da
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 6a8b2586-52da-42d4-b8ef-b2c5edc094da
++ espod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ myproject=.operations
++ mymessage=1c0f0d88-9867-4a3b-84aa-a597e04f1866
++ expected=1
++ myfield=systemd.u.SYSLOG_IDENTIFIER
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 1c0f0d88-9867-4a3b-84aa-a597e04f1866
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:1c0f0d88-9867-4a3b-84aa-a597e04f1866' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:1c0f0d88-9867-4a3b-84aa-a597e04f1866'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:1c0f0d88-9867-4a3b-84aa-a597e04f1866'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 299 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 1c0f0d88-9867-4a3b-84aa-a597e04f1866
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:1c0f0d88-9867-4a3b-84aa-a597e04f1866' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:1c0f0d88-9867-4a3b-84aa-a597e04f1866'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:1c0f0d88-9867-4a3b-84aa-a597e04f1866'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 1c0f0d88-9867-4a3b-84aa-a597e04f1866
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:1c0f0d88-9867-4a3b-84aa-a597e04f1866' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:1c0f0d88-9867-4a3b-84aa-a597e04f1866'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:1c0f0d88-9867-4a3b-84aa-a597e04f1866'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 297 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 1c0f0d88-9867-4a3b-84aa-a597e04f1866
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:1c0f0d88-9867-4a3b-84aa-a597e04f1866' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:1c0f0d88-9867-4a3b-84aa-a597e04f1866'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:1c0f0d88-9867-4a3b-84aa-a597e04f1866'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 297 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 1c0f0d88-9867-4a3b-84aa-a597e04f1866
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 1c0f0d88-9867-4a3b-84aa-a597e04f1866
++ '[' -n get_logmessage ']'
++ get_logmessage 6a8b2586-52da-42d4-b8ef-b2c5edc094da
++ logmessage=6a8b2586-52da-42d4-b8ef-b2c5edc094da
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 1c0f0d88-9867-4a3b-84aa-a597e04f1866
++ logmessage2=1c0f0d88-9867-4a3b-84aa-a597e04f1866
+++ date +%s
++ local endtime=1496970954
+++ expr 1496970954 - 1496970937
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 17 seconds at 2017-06-09 01:15:54.683502737+00:00
++ echo END wait_for_fluentd_to_catch_up took 17 seconds at 2017-06-09 01:15:54.683502737+00:00
++ return 0
+++ get_running_pod kibana
+++ oc get pods -l component=kibana
+++ awk -v sel=kibana '$1 ~ sel && $3 == "Running" {print $1}'
++ kpod=logging-kibana-1-1fms4
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-1fms4 logging-es project.logging _search message 6a8b2586-52da-42d4-b8ef-b2c5edc094da
++ python test-viaq-data-model.py test4
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s -k --cert /etc/kibana/keys/cert --key /etc/kibana/keys/key -H 'X-Proxy-Remote-User: admin' -H 'Authorization: Bearer QEkS2OJEBDw8HlvMBdWC8UUogjOCXviPzJkcMNzx_ng' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:6a8b2586-52da-42d4-b8ef-b2c5edc094da'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-1fms4 logging-es-ops .operations _search message 1c0f0d88-9867-4a3b-84aa-a597e04f1866
++ python test-viaq-data-model.py test4
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s -k --cert /etc/kibana/keys/cert --key /etc/kibana/keys/key -H 'X-Proxy-Remote-User: admin' -H 'Authorization: Bearer QEkS2OJEBDw8HlvMBdWC8UUogjOCXviPzJkcMNzx_ng' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:1c0f0d88-9867-4a3b-84aa-a597e04f1866'
++ :
++ '[' 0 '!=' 0 ']'
++ return 0
++ del_cdm_env_var CDM_EXTRA_KEEP_FIELDS
++ oc get template logging-fluentd-template -o yaml
++ sed '/- name: CDM_EXTRA_KEEP_FIELDS$/,/value:/d'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ add_cdm_env_var_val CDM_EXTRA_KEEP_FIELDS undefined4,undefined5,empty1,undefined3,method,statusCode,type,@timestamp,req,res
+++ mktemp
++ junk=/tmp/tmp.XPZxhLvTwQ
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.XPZxhLvTwQ'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.XPZxhLvTwQ
++ add_cdm_env_var_val CDM_KEEP_EMPTY_FIELDS undefined4,undefined5,empty1,undefined3
+++ mktemp
++ junk=/tmp/tmp.9KU1o1ZVNK
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.9KU1o1ZVNK'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.9KU1o1ZVNK
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-xc9zr
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-xc9zr
++ '[' -z logging-fluentd-xc9zr -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-xc9zr
++ '[' stop = start ']'
++ break
++ '[' 120 -le 0 ']'
++ return 0
++ oc process logging-fluentd-template
++ oc create -f -
daemonset "logging-fluentd" created
++ wait_for_pod_ACTION start fluentd
++ local ii=120
++ local incr=10
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=
++ '[' 120 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z '' ']'
++ '[' -n '' ']'
++ '[' -n 1 ']'
pod for component=fluentd not running yet
++ echo pod for component=fluentd not running yet
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=logging-fluentd-vkg0x
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-vkg0x ']'
++ break
++ '[' 110 -le 0 ']'
++ return 0
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ fpod=logging-fluentd-vkg0x
++ write_and_verify_logs test5 allow_empty
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up get_logmessage get_logmessage2
+++ date +%s
++ local starttime=1496970980
+++ date -u --rfc-3339=ns
++ echo START wait_for_fluentd_to_catch_up at 2017-06-09 01:16:20.970588794+00:00
START wait_for_fluentd_to_catch_up at 2017-06-09 01:16:20.970588794+00:00
+++ get_running_pod es
+++ oc get pods -l component=es
+++ awk -v sel=es '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ get_running_pod es-ops
+++ oc get pods -l component=es-ops
+++ awk -v sel=es-ops '$1 ~ sel && $3 == "Running" {print $1}'
++ local es_ops_pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ '[' -z logging-es-ops-data-master-gw0u0psf-1-j2gcm ']'
+++ uuidgen
++ local uuid_es=ccbb1f9e-4641-4e18-a43e-ca334867989e
+++ uuidgen
++ local uuid_es_ops=5c623caf-c522-42ca-b790-747589783898
++ local expected=1
++ local timeout=300
++ add_test_message ccbb1f9e-4641-4e18-a43e-ca334867989e
+++ get_running_pod kibana
+++ oc get pods -l component=kibana
+++ awk -v sel=kibana '$1 ~ sel && $3 == "Running" {print $1}'
++ local kib_pod=logging-kibana-1-1fms4
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/ccbb1f9e-4641-4e18-a43e-ca334867989e
added es message ccbb1f9e-4641-4e18-a43e-ca334867989e
++ echo added es message ccbb1f9e-4641-4e18-a43e-ca334867989e
++ logger -i -p local6.info -t 5c623caf-c522-42ca-b790-747589783898 5c623caf-c522-42ca-b790-747589783898
added es-ops message 5c623caf-c522-42ca-b790-747589783898
++ echo added es-ops message 5c623caf-c522-42ca-b790-747589783898
++ local rc=0
++ espod=logging-es-data-master-f10vs1am-1-wm1tr
++ myproject=project.logging
++ mymessage=ccbb1f9e-4641-4e18-a43e-ca334867989e
++ expected=1
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message ccbb1f9e-4641-4e18-a43e-ca334867989e
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 299 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message ccbb1f9e-4641-4e18-a43e-ca334867989e
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message ccbb1f9e-4641-4e18-a43e-ca334867989e
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
+++ shift
+++ shift
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 297 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message ccbb1f9e-4641-4e18-a43e-ca334867989e
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 296 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message ccbb1f9e-4641-4e18-a43e-ca334867989e
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 295 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message ccbb1f9e-4641-4e18-a43e-ca334867989e
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 294 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message ccbb1f9e-4641-4e18-a43e-ca334867989e
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 293 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message ccbb1f9e-4641-4e18-a43e-ca334867989e
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 292 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message ccbb1f9e-4641-4e18-a43e-ca334867989e
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e' --connect-timeout 1
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 291 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-f10vs1am-1-wm1tr project.logging _count message ccbb1f9e-4641-4e18-a43e-ca334867989e
+++ get_count_from_json
+++ curl_es logging-es-data-master-f10vs1am-1-wm1tr '/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-f10vs1am-1-wm1tr
+++ local 'endpoint=/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-f10vs1am-1-wm1tr -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 291 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project logging for ccbb1f9e-4641-4e18-a43e-ca334867989e
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for ccbb1f9e-4641-4e18-a43e-ca334867989e
++ espod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
++ myproject=.operations
++ mymessage=5c623caf-c522-42ca-b790-747589783898
++ expected=1
++ myfield=systemd.u.SYSLOG_IDENTIFIER
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ get_count_from_json
+++ query_es_from_es logging-es-ops-data-master-gw0u0psf-1-j2gcm .operations _count systemd.u.SYSLOG_IDENTIFIER 5c623caf-c522-42ca-b790-747589783898
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-ops-data-master-gw0u0psf-1-j2gcm '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:5c623caf-c522-42ca-b790-747589783898' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-gw0u0psf-1-j2gcm
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:5c623caf-c522-42ca-b790-747589783898'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-gw0u0psf-1-j2gcm -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:5c623caf-c522-42ca-b790-747589783898'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 300 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 5c623caf-c522-42ca-b790-747589783898
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 5c623caf-c522-42ca-b790-747589783898
++ '[' -n get_logmessage ']'
++ get_logmessage ccbb1f9e-4641-4e18-a43e-ca334867989e
++ logmessage=ccbb1f9e-4641-4e18-a43e-ca334867989e
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 5c623caf-c522-42ca-b790-747589783898
++ logmessage2=5c623caf-c522-42ca-b790-747589783898
+++ date +%s
++ local endtime=1496970995
+++ expr 1496970995 - 1496970980
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 15 seconds at 2017-06-09 01:16:35.203540181+00:00
++ echo END wait_for_fluentd_to_catch_up took 15 seconds at 2017-06-09 01:16:35.203540181+00:00
++ return 0
+++ get_running_pod kibana
+++ oc get pods -l component=kibana
+++ awk -v sel=kibana '$1 ~ sel && $3 == "Running" {print $1}'
++ kpod=logging-kibana-1-1fms4
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-1fms4 logging-es project.logging _search message ccbb1f9e-4641-4e18-a43e-ca334867989e
++ python test-viaq-data-model.py test5 allow_empty
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s -k --cert /etc/kibana/keys/cert --key /etc/kibana/keys/key -H 'X-Proxy-Remote-User: admin' -H 'Authorization: Bearer QEkS2OJEBDw8HlvMBdWC8UUogjOCXviPzJkcMNzx_ng' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:ccbb1f9e-4641-4e18-a43e-ca334867989e'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-1fms4 logging-es-ops .operations _search message 5c623caf-c522-42ca-b790-747589783898
++ python test-viaq-data-model.py test5 allow_empty
++ oc exec logging-kibana-1-1fms4 -c kibana -- curl --connect-timeout 1 -s -k --cert /etc/kibana/keys/cert --key /etc/kibana/keys/key -H 'X-Proxy-Remote-User: admin' -H 'Authorization: Bearer QEkS2OJEBDw8HlvMBdWC8UUogjOCXviPzJkcMNzx_ng' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:5c623caf-c522-42ca-b790-747589783898'
++ :
++ '[' 0 '!=' 0 ']'
++ return 0
++ cleanup
++ remove_test_volume
++ oc get template logging-fluentd-template -o json
++ oc replace -f -
++ python -c 'import json, sys; obj = json.loads(sys.stdin.read()); vm = obj["objects"][0]["spec"]["template"]["spec"]["containers"][0]["volumeMounts"]; obj["objects"][0]["spec"]["template"]["spec"]["containers"][0]["volumeMounts"] = [xx for xx in vm if xx["name"] != "cdmtest"]; vs = obj["objects"][0]["spec"]["template"]["spec"]["volumes"]; obj["objects"][0]["spec"]["template"]["spec"]["volumes"] = [xx for xx in vs if xx["name"] != "cdmtest"]; print json.dumps(obj, indent=2)'
template "logging-fluentd-template" replaced
++ remove_cdm_env
++ oc get template logging-fluentd-template -o yaml
++ sed '/- name: CDM_/,/value:/d'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.T9bToOtNRI
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-vkg0x
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-vkg0x
++ '[' -z logging-fluentd-vkg0x -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-vkg0x
++ '[' stop = start ']'
++ break
++ '[' 120 -le 0 ']'
++ return 0
++ oc process logging-fluentd-template
++ oc create -f -
daemonset "logging-fluentd" created
++ wait_for_pod_ACTION start fluentd
++ local ii=120
++ local incr=10
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=
++ '[' 120 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z '' ']'
++ '[' -n '' ']'
++ '[' -n 1 ']'
++ echo pod for component=fluentd not running yet
pod for component=fluentd not running yet
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
SKIPPING reinstall test for now
++ curpod=logging-fluentd-76dxn
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-76dxn ']'
++ break
++ '[' 110 -le 0 ']'
++ return 0
/data/src/github.com/openshift/origin-aggregated-logging/hack/lib/log/system.sh: line 31:  4610 Terminated              sar -A -o "${binary_logfile}" 1 86400 > /dev/null 2> "${stderr_logfile}"  (wd: /data/src/github.com/openshift/origin-aggregated-logging)
[INFO] [CLEANUP] Beginning cleanup routines...
[INFO] [CLEANUP] Dumping cluster events to /tmp/origin-aggregated-logging/artifacts/events.txt
[INFO] [CLEANUP] Dumping etcd contents to /tmp/origin-aggregated-logging/artifacts/etcd
[WARNING] No compiled `etcdhelper` binary was found. Attempting to build one using:
[WARNING]   $ hack/build-go.sh tools/etcdhelper
++ Building go targets for linux/amd64: tools/etcdhelper
/data/src/github.com/openshift/origin-aggregated-logging/../origin/hack/build-go.sh took 140 seconds
2017-06-08 21:19:25.142930 I | warning: ignoring ServerName for user-provided CA for backwards compatibility is deprecated
[INFO] [CLEANUP] Dumping container logs to /tmp/origin-aggregated-logging/logs/containers
[INFO] [CLEANUP] Truncating log files over 200M
[INFO] [CLEANUP] Stopping docker containers
[INFO] [CLEANUP] Removing docker containers
Error: No such image, container or task: 789d2ca550e0
json: cannot unmarshal array into Go value of type types.ContainerJSON
Error response from daemon: You cannot remove a running container 32b118492aa44377eceea9254e623604c24740cdb35ec82749a6e3484b8ce546. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container d61c1a74ee65bb0460b3fb2c885e14242f91ab675dc7d034d2b01efdffc45c4c. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 9e2f0553d92eb644548b47ce35a58737461903b390c68263c3e8299af1d4e519. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container cff2eb237e35f940bcc6eedfd5db8d1a29f8e9995bd658161bbf2702a56d1a17. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 6223ee5634583222a7fdd768c3280b4ac1dd5d25985dd2083b43ecb0e6d09b17. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 0afe13eb3fad0130a90edbd7dfdbc27a1999cdb0ead0fc0c030cb30ccac63e55. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 9472cd2e28983e3f80d390fec8c35513bcef35921accc83c9abf5fa9b969784d. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container eac5be5e4147f22f7bd83e47b98e046d7a0daf56454487262443eb2aad44b93e. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 7770ada589fa2d5d51a3965b36ac6e17780c778d988af92235e413f3ed4e4f02. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 1285252ac71adf05b0382c1d7e02064a5589581b8197086876dd4efa08711d39. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 0d01c40a83c8bf6e397f4f5e2b7577359e9d1153ee0e4c29eb6b6d80bc058f3a. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container e971f63264584b523f40dbc5e355cc2cae4dd3d4df191f01177532247014494c. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 4b76a672c0da1468455512d30899fc3b65bbf6bdf074af28186c4f562aa0534d. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 61edfdb4b97dc4190474f2e14b2770169649411d66030728bfe7dc7346c44641. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 3a463ba96b76c00bb7141d1e65e04a6310202dcbdcb7ed773f1510cef75f3250. Stop the container before attempting removal or use -f
[INFO] [CLEANUP] Killing child processes
[INFO] [CLEANUP] Pruning etcd data directory
[INFO] /data/src/github.com/openshift/origin-aggregated-logging/logging.sh exited with code 0 after 00h 57m 30s

real	57m29.317s
user	5m22.860s
sys	0m59.121s
Finished GIT_URL=https://github.com/openshift/origin-aggregated-logging GIT_BRANCH=master O_A_L_DIR=/data/src/github.com/openshift/origin-aggregated-logging OS_ROOT=/data/src/github.com/openshift/origin ENABLE_OPS_CLUSTER=true USE_LOCAL_SOURCE=true TEST_PERF=false VERBOSE=1 OS_ANSIBLE_REPO=https://github.com/openshift/openshift-ansible OS_ANSIBLE_BRANCH=master ./logging.sh
***************************************************
==> openshiftdev: Downloading logs
==> openshiftdev: Downloading artifacts from '/var/log/yum.log' to '/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace/origin/artifacts/yum.log'
==> openshiftdev: Downloading artifacts from '/var/log/secure' to '/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace/origin/artifacts/secure'
==> openshiftdev: Downloading artifacts from '/var/log/audit/audit.log' to '/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace/origin/artifacts/audit.log'
==> openshiftdev: Downloading artifacts from '/tmp/origin-aggregated-logging/' to '/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace/origin/artifacts'
+ false
+ false
+ test_pull_requests --mark_test_success --repo origin-aggregated-logging --config /var/lib/jenkins/.test_pull_requests_logging.json
Rate limit remaining: 3313
  Marking SUCCESS for pull request #--repo in repo ''
/usr/share/ruby/net/http/response.rb:119:in `error!': 404 "Not Found" (Net::HTTPServerException)
	from /bin/test_pull_requests:543:in `block in get_comments'
	from /bin/test_pull_requests:535:in `each'
	from /bin/test_pull_requests:535:in `get_comments'
	from /bin/test_pull_requests:1074:in `get_comment_matching_regex'
	from /bin/test_pull_requests:1090:in `get_comment_with_prefix'
	from /bin/test_pull_requests:779:in `mark_test_success'
	from /bin/test_pull_requests:2361:in `<main>'
+ true
[description-setter] Could not determine description.
[PostBuildScript] - Execution post build scripts.
[workspace] $ /bin/sh -xe /tmp/hudson2164022223085475022.sh
+ INSTANCE_NAME=origin_logging-rhel7-1646
+ pushd origin
~/jobs/test-origin-aggregated-logging/workspace/origin ~/jobs/test-origin-aggregated-logging/workspace
+ rc=0
+ '[' -f .vagrant-openshift.json ']'
++ /usr/bin/vagrant ssh -c 'sudo ausearch -m avc'
+ ausearchresult='<no matches>'
+ rc=1
+ '[' '<no matches>' = '<no matches>' ']'
+ rc=0
+ /usr/bin/vagrant destroy -f
==> openshiftdev: Terminating the instance...
==> openshiftdev: Running cleanup tasks for 'shell' provisioner...
+ popd
~/jobs/test-origin-aggregated-logging/workspace
+ exit 0
Finished: SUCCESS