SuccessConsole Output

Started by upstream project "test_pull_request_origin_aggregated_logging" build number 80
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@2
[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@2] $ /bin/sh -xe /tmp/hudson1721309201433413130.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@2
+ pushd origin-aggregated-logging
~/jobs/test-origin-aggregated-logging/workspace@2/origin-aggregated-logging ~/jobs/test-origin-aggregated-logging/workspace@2
+ git checkout master
Already on 'master'
+ popd
~/jobs/test-origin-aggregated-logging/workspace@2
+ '[' -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@2/origin
~/jobs/test-origin-aggregated-logging/workspace@2/origin ~/jobs/test-origin-aggregated-logging/workspace@2
# 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@2
Replacing: /var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace@2/origin
~/jobs/test-origin-aggregated-logging/workspace@2/origin ~/jobs/test-origin-aggregated-logging/workspace@2
From https://github.com/openshift/origin
   198846e..96397c6  master     -> origin/master
Already on 'master'
Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
  (use "git pull" to update your local branch)
HEAD is now at 96397c6 bump(github.com/openshift/origin-web-console): 23aa410b0eaa66bd53bc15d4a6ed5d686aad55b7
Removing .vagrant-openshift.json
Removing .vagrant/
Removing artifacts/
fatal: branch name required
~/jobs/test-origin-aggregated-logging/workspace@2
Origin repositories cloned into /var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace@2
+ pushd origin
~/jobs/test-origin-aggregated-logging/workspace@2/origin ~/jobs/test-origin-aggregated-logging/workspace@2
+ INSTANCE_NAME=origin_logging-rhel7-1635
+ 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=#1635
BUILD_ID=1635
BUILD_NUMBER=1635
BUILD_TAG=jenkins-test-origin-aggregated-logging-1635
BUILD_URL=https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/1635/
EXECUTOR_NUMBER=22
GITHUB_REPO=openshift
HOME=/var/lib/jenkins
HUDSON_COOKIE=80bc1946-1ef0-4e9c-913c-ae17703cdca3
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@2
OPENSHIFT_ANSIBLE_TARGET_BRANCH=master
ORIGIN_AGGREGATED_LOGGING_PULL_ID=475
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@2/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/1635/display/redirect?page=changes
RUN_DISPLAY_URL=https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/1635/display/redirect
SHELL=/bin/bash
SHLVL=3
TESTNAME=logging
TEST_PERF=false
USER=jenkins
WORKSPACE=/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace@2
XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
+ vagrant origin-init --stage inst --os rhel7 --instance-type c4.xlarge origin_logging-rhel7-1635
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-32653-680zpm.sh
==> openshiftdev: Host: ec2-54-164-127-149.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-3937-1lak76a /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.164.127.149' (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: Verifying Checksum
734fb161cf89: Download complete
8a3400b7e31a: Verifying Checksum
8a3400b7e31a: Download complete
78efc9e155c4: Verifying Checksum
78efc9e155c4: Download complete
45a2e645736c: Verifying Checksum
45a2e645736c: 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
3a9c76d9e103: Pulling fs layer
68dc0402a412: Pulling fs layer
a3e21278d73b: Pulling fs layer
1cb971d1904a: Pulling fs layer
7f787b4c1aa4: Pulling fs layer
eb9125dce9a5: Pulling fs layer
09427247134d: Pulling fs layer
3ac7e779da16: Pulling fs layer
e68089779cf0: Pulling fs layer
f77449eb85d6: Pulling fs layer
eb9125dce9a5: Waiting
09427247134d: Waiting
3ac7e779da16: Waiting
e68089779cf0: Waiting
f77449eb85d6: Waiting
1cb971d1904a: Waiting
7f787b4c1aa4: Waiting
a3e21278d73b: Verifying Checksum
a3e21278d73b: Download complete
3a9c76d9e103: Verifying Checksum
3a9c76d9e103: Download complete
1cb971d1904a: Verifying Checksum
1cb971d1904a: Download complete
7f787b4c1aa4: Verifying Checksum
7f787b4c1aa4: Download complete
eb9125dce9a5: Verifying Checksum
eb9125dce9a5: Download complete
09427247134d: Verifying Checksum
09427247134d: Download complete
e68089779cf0: Download complete
f77449eb85d6: Download complete
3ac7e779da16: Verifying Checksum
3ac7e779da16: Download complete
68dc0402a412: Verifying Checksum
68dc0402a412: Download complete
3a9c76d9e103: Pull complete
68dc0402a412: Pull complete
a3e21278d73b: Pull complete
1cb971d1904a: Pull complete
7f787b4c1aa4: Pull complete
eb9125dce9a5: Pull complete
09427247134d: Pull complete
3ac7e779da16: Pull complete
e68089779cf0: Pull complete
f77449eb85d6: Pull complete
Digest: sha256:273c11b82929c5f946ddb48bd49dbe1e77ba40d9c15275dc7619fd07b9c8ec54
+ 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
6318bc7c7f58: Pulling fs layer
3b55aa2d4d05: Pulling fs layer
814e0506d29d: Pulling fs layer
ed25a891441c: Pulling fs layer
63d9bd56de92: Pulling fs layer
ed25a891441c: Waiting
63d9bd56de92: Waiting
814e0506d29d: Download complete
ed25a891441c: Verifying Checksum
ed25a891441c: Download complete
63d9bd56de92: Verifying Checksum
63d9bd56de92: Download complete
3b55aa2d4d05: Verifying Checksum
3b55aa2d4d05: Download complete
6318bc7c7f58: Verifying Checksum
6318bc7c7f58: Download complete
6318bc7c7f58: Pull complete
3b55aa2d4d05: Pull complete
814e0506d29d: Pull complete
ed25a891441c: Pull complete
63d9bd56de92: Pull complete
Digest: sha256:b55877bf5f5624c0111688db16bac54ed7b64291114323fb010d9e8e630b1c89
+ 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
b84a40433153: Pulling fs layer
b797c0ddd9bc: Pulling fs layer
b84a40433153: Verifying Checksum
b84a40433153: Download complete
b797c0ddd9bc: Verifying Checksum
b797c0ddd9bc: Download complete
b84a40433153: Pull complete
b797c0ddd9bc: Pull complete
Digest: sha256:c09a1f9ef6f2ca23b4d3dca5f4a2c0f5bb76ed65351d9295d7d3344e5bce3f89
+ 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
d24cd3f22cc6: Pulling fs layer
b64de6f5fdbe: Pulling fs layer
d443465a8496: Pulling fs layer
cb8fa38c6d97: Pulling fs layer
9879c78ef10f: Pulling fs layer
3f29d3f59ef3: Pulling fs layer
cb8fa38c6d97: Waiting
9879c78ef10f: Waiting
3f29d3f59ef3: Waiting
d443465a8496: Verifying Checksum
d443465a8496: Download complete
d24cd3f22cc6: Verifying Checksum
9879c78ef10f: Verifying Checksum
cb8fa38c6d97: Verifying Checksum
cb8fa38c6d97: Download complete
d24cd3f22cc6: Pull complete
b64de6f5fdbe: Verifying Checksum
b64de6f5fdbe: Download complete
3f29d3f59ef3: Verifying Checksum
3f29d3f59ef3: Download complete
b64de6f5fdbe: Pull complete
d443465a8496: Pull complete
cb8fa38c6d97: Pull complete
9879c78ef10f: Pull complete
3f29d3f59ef3: Pull complete
Digest: sha256:3b95068a8514b13780c047f955e99d481af5597bf2b214501030e7be2f4d6dc1
+ 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                                              5.5 MB/s |  10 MB  00:01     
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.VGsolkkWfi/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 14:25:40 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.13.130 in /tmp/openshift/origin-aggregated-logging/openshift.local.config/node-172.18.13.130
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 48.635s: 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.13.130:8443 was refused - did you specify the right host or port?
... repeated 107 times
Error from server (Forbidden): User "system:admin" cannot "get" on "/healthz"
... repeated 7 times
Running hack/lib/start.sh:353: executing 'oc get --raw https://172.18.13.130: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.226s: hack/lib/start.sh:353: executing 'oc get --raw https://172.18.13.130: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.865s: 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
Standard error from the command:
Error from server (InternalError): an error on the server ("") has prevented the request from succeeding
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.384s: 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   5s

There was no error output from the command.
Running hack/lib/start.sh:356: executing 'oc get --raw /api/v1/nodes/172.18.13.130 --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.251s: hack/lib/start.sh:356: executing 'oc get --raw /api/v1/nodes/172.18.13.130 --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.13.130","selfLink":"/api/v1/nodes/172.18.13.130","uid":"07b6bb32-4c78-11e7-83c5-0e461e0c5e4a","resourceVersion":"283","creationTimestamp":"2017-06-08T18:26:46Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/os":"linux","kubernetes.io/hostname":"172.18.13.130"},"annotations":{"volumes.kubernetes.io/controller-managed-attach-detach":"true"}},"spec":{"externalID":"172.18.13.130","providerID":"aws:////i-0cb486833790eb609"},"status":{"capacity":{"cpu":"4","memory":"7231688Ki","pods":"40"},"allocatable":{"cpu":"4","memory":"7129288Ki","pods":"40"},"conditions":[{"type":"OutOfDisk","status":"False","lastHeartbeatTime":"2017-06-08T18:26:46Z","lastTransitionTime":"2017-06-08T18:26:46Z","reason":"KubeletHasSufficientDisk","message":"kubelet has sufficient disk space available"},{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2017-06-08T18:26:46Z","lastTransitionTime":"2017-06-08T18:26:46Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2017-06-08T18:26:46Z","lastTransitionTime":"2017-06-08T18:26:46Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"Ready","status":"True","lastHeartbeatTime":"2017-06-08T18:26:46Z","lastTransitionTime":"2017-06-08T18:26:46Z","reason":"KubeletReady","message":"kubelet is posting ready status"}],"addresses":[{"type":"LegacyHostIP","address":"172.18.13.130"},{"type":"InternalIP","address":"172.18.13.130"},{"type":"Hostname","address":"172.18.13.130"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"f9370ed252a14f73b014c1301a9b6d1b","systemUUID":"EC240B3F-3336-FAE9-1507-2B5488B1CBAD","bootID":"c6661071-d212-40f2-8ee1-5eab2f9f287c","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:3b95068a8514b13780c047f955e99d481af5597bf2b214501030e7be2f4d6dc1","docker.io/openshift/origin-logging-kibana:latest"],"sizeBytes":682851503},{"names":["openshift/dind:latest"],"sizeBytes":640650210},{"names":["docker.io/openshift/origin-logging-elasticsearch@sha256:273c11b82929c5f946ddb48bd49dbe1e77ba40d9c15275dc7619fd07b9c8ec54","docker.io/openshift/origin-logging-elasticsearch:latest"],"sizeBytes":425433879},{"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:b55877bf5f5624c0111688db16bac54ed7b64291114323fb010d9e8e630b1c89","docker.io/openshift/origin-logging-fluentd:latest"],"sizeBytes":359219273},{"names":["docker.io/fedora@sha256:69281ddd7b2600e5f2b17f1e12d7fba25207f459204fb2d15884f8432c479136","docker.io/fedora:25"],"sizeBytes":230864375},{"names":["docker.io/openshift/origin-logging-curator@sha256:c09a1f9ef6f2ca23b4d3dca5f4a2c0f5bb76ed65351d9295d7d3344e5bce3f89","docker.io/openshift/origin-logging-curator:latest"],"sizeBytes":224977447},{"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
info: password for stats user admin has been set to IZDMFGOd3v
--> Creating router router ...
    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.639s: /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.285s: /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.336s: 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.017s: 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:fbcd4f7d399500f63cd5f51efc269d931c961c6a1bb752c9f6a18e9d1af8cd25   1 second ago   sha256:fbcd4f7d399500f63cd5f51efc269d931c961c6a1bb752c9f6a18e9d1af8cd25
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 303.164s: hack/testing/build-images:33: executing 'wait_for_builds_complete' expecting success
Standard output from the command:
build "logging-kibana-2" started
build in progress for logging-kibana - delete failed build logging-kibana-1 status complete
build "logging-kibana-1" deleted
Builds are complete

Standard error from the command:
Uploading directory "/data/src/github.com/openshift/origin-aggregated-logging" as binary input for the build ...

/tmp/tmp.VGsolkkWfi/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.13.130:8443

openshift_logging_image_prefix=172.30.234.171: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.215s: hack/testing/init-log-stack:58: executing 'oc login -u system:admin' expecting success
Standard output from the command:
Logged into "https://172.18.13.130: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.VGsolkkWfi/openhift-ansible/ansible.cfg as config file

PLAYBOOK: openshift-logging.yml ************************************************
4 plays in /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:43

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

TASK [Evaluate oo_first_master] ************************************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:70

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

TASK [Evaluate oo_first_etcd] **************************************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:100

TASK [Evaluate oo_etcd_hosts_to_backup] ****************************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:114

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

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

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

TASK [Evaluate oo_glusterfs_to_config] *****************************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_facts/tasks/main.yml:53
ok: [openshift] => (item=/tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_facts/vars/default.yml) => {
    "ansible_facts": {
        "required_packages": [
            "iproute", 
            "python-dbus", 
            "PyYAML", 
            "yum-utils"
        ]
    }, 
    "item": "/tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_facts/vars/default.yml"
}

TASK [openshift_facts : Ensure various deps are installed] *********************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_facts/tasks/main.yml:71
changed: [openshift] => {
    "ansible_facts": {
        "openshift": {
            "common": {
                "admin_binary": "/usr/local/bin/oadm", 
                "all_hostnames": [
                    "172.18.13.130", 
                    "ec2-54-164-127-149.compute-1.amazonaws.com", 
                    "54.164.127.149", 
                    "ip-172-18-13-130.ec2.internal"
                ], 
                "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-13-130.ec2.internal", 
                "install_examples": true, 
                "internal_hostnames": [
                    "172.18.13.130", 
                    "ip-172-18-13-130.ec2.internal"
                ], 
                "ip": "172.18.13.130", 
                "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-164-127-149.compute-1.amazonaws.com", 
                "public_ip": "54.164.127.149", 
                "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-13-130.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-13-130.ec2.internal", 
                    "instance-action": "none", 
                    "instance-id": "i-0cb486833790eb609", 
                    "instance-type": "c4.xlarge", 
                    "local-hostname": "ip-172-18-13-130.ec2.internal", 
                    "local-ipv4": "172.18.13.130", 
                    "mac": "0e:46:1e:0c:5e:4a", 
                    "metrics": {
                        "vhostmd": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
                    }, 
                    "network": {
                        "interfaces": {
                            "macs": {
                                "0e:46:1e:0c:5e:4a": {
                                    "device-number": "0", 
                                    "interface-id": "eni-66d6c3bc", 
                                    "ipv4-associations": {
                                        "54.164.127.149": "172.18.13.130"
                                    }, 
                                    "local-hostname": "ip-172-18-13-130.ec2.internal", 
                                    "local-ipv4s": "172.18.13.130", 
                                    "mac": "0e:46:1e:0c:5e:4a", 
                                    "owner-id": "531415883065", 
                                    "public-hostname": "ec2-54-164-127-149.compute-1.amazonaws.com", 
                                    "public-ipv4s": "54.164.127.149", 
                                    "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-164-127-149.compute-1.amazonaws.com", 
                    "public-ipv4": "54.164.127.149", 
                    "public-keys/": "0=libra", 
                    "reservation-id": "r-0790c7627f117603c", 
                    "security-groups": "default", 
                    "services": {
                        "domain": "amazonaws.com", 
                        "partition": "aws"
                    }
                }, 
                "name": "aws", 
                "network": {
                    "hostname": "ip-172-18-13-130.ec2.internal", 
                    "interfaces": [
                        {
                            "ips": [
                                "172.18.13.130"
                            ], 
                            "network_id": "subnet-cf57c596", 
                            "network_type": "vpc", 
                            "public_ips": [
                                "54.164.127.149"
                            ]
                        }
                    ], 
                    "ip": "172.18.13.130", 
                    "ipv6_enabled": false, 
                    "public_hostname": "ec2-54-164-127-149.compute-1.amazonaws.com", 
                    "public_ip": "54.164.127.149"
                }, 
                "zone": "us-east-1d"
            }
        }
    }, 
    "changed": true
}

TASK [openshift_facts : Set repoquery command] *********************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging/tasks/main.yaml:6
ok: [openshift] => (item=/tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging/vars/default_images.yml"
}

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

TASK [openshift_logging : Create temp directory for doing work in] *************
task path: /tmp/tmp.VGsolkkWfi/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.001948", 
    "end": "2017-06-08 14:41:45.067787", 
    "rc": 0, 
    "start": "2017-06-08 14:41:45.065839"
}

STDOUT:

/tmp/openshift-logging-ansible-lYf1uM

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

MSG:

Created temp dir /tmp/openshift-logging-ansible-lYf1uM

TASK [openshift_logging : Create local temp directory for doing work in] *******
task path: /tmp/tmp.VGsolkkWfi/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.001990", 
    "end": "2017-06-08 14:41:45.217723", 
    "rc": 0, 
    "start": "2017-06-08 14:41:45.215733"
}

STDOUT:

/tmp/openshift-logging-ansible-KzRkQ9

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

TASK [openshift_logging : Gather OpenShift Logging Facts] **********************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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-08T18:26:48Z", 
                "name": "logging", 
                "resourceVersion": "619", 
                "selfLink": "/api/v1/namespaces/logging", 
                "uid": "08f9acb3-4c78-11e7-83c5-0e461e0c5e4a"
            }, 
            "spec": {
                "finalizers": [
                    "openshift.io/origin", 
                    "kubernetes"
                ]
            }, 
            "status": {
                "phase": "Active"
            }
        }, 
        "returncode": 0
    }, 
    "state": "present"
}

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

TASK [openshift_logging : Labeling logging project] ****************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:47
included: /tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml for openshift

TASK [openshift_logging : Checking for ca.key] *********************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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-lYf1uM/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.396745", 
    "end": "2017-06-08 14:41:49.594418", 
    "rc": 0, 
    "start": "2017-06-08 14:41:49.197673"
}

TASK [openshift_logging : Checking for signing.conf] ***************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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-1496947309.75-86326871295917/source", 
    "state": "file", 
    "uid": 0
}

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

TASK [openshift_logging : Checking for kibana.crt] *****************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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-lYf1uM/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.588469", 
    "end": "2017-06-08 14:41:51.929134", 
    "rc": 0, 
    "start": "2017-06-08 14:41:51.340665"
}

TASK [openshift_logging : Copying server key for kibana-internal to generated certs directory] ***
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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-1496947312.38-146392211781831/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging : Copy proxy TLS configuration file] *******************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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-1496947312.73-220085616553071/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging : Checking for ca.crt.srl] *****************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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-1496947313.06-276393343220430/source", 
    "state": "file", 
    "uid": 0
}

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

TASK [openshift_logging : Checking for system.logging.fluentd.key] *************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.656810", 
    "end": "2017-06-08 14:41:54.497323", 
    "rc": 0, 
    "start": "2017-06-08 14:41:53.840513"
}

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.VGsolkkWfi/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.007526", 
    "end": "2017-06-08 14:41:54.623927", 
    "rc": 0, 
    "start": "2017-06-08 14:41:54.616401"
}

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  8 18:41:54 2017 GMT
            Not After : Jun  8 18:41:54 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: 
                AE:19:CE:B6:7C:5B:41:45:7A:1D:5F:26:6B:92:57:03:47:4C:99:23
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  8 18:41:54 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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.069547", 
    "end": "2017-06-08 14:41:55.071235", 
    "rc": 0, 
    "start": "2017-06-08 14:41:55.001688"
}

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.VGsolkkWfi/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.007399", 
    "end": "2017-06-08 14:41:55.196175", 
    "rc": 0, 
    "start": "2017-06-08 14:41:55.188776"
}

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  8 18:41:55 2017 GMT
            Not After : Jun  8 18:41:55 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: 
                D9:12:55:B1:A1:FD:77:70:FA:AA:B0:DB:64:29:8C:95:E6:6C:9A:D0
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  8 18:41:55 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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.034810", 
    "end": "2017-06-08 14:41:55.603213", 
    "rc": 0, 
    "start": "2017-06-08 14:41:55.568403"
}

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.VGsolkkWfi/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.007274", 
    "end": "2017-06-08 14:41:55.728050", 
    "rc": 0, 
    "start": "2017-06-08 14:41:55.720776"
}

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  8 18:41:55 2017 GMT
            Not After : Jun  8 18:41:55 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: 
                7C:CC:03:FD:34:B0:62:8E:44:99:E5:98:63:F4:86:1F:BD:91:4C:8D
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  8 18:41:55 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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.121454", 
    "end": "2017-06-08 14:41:56.225613", 
    "rc": 0, 
    "start": "2017-06-08 14:41:56.104159"
}

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.VGsolkkWfi/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.007416", 
    "end": "2017-06-08 14:41:56.350447", 
    "rc": 0, 
    "start": "2017-06-08 14:41:56.343031"
}

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  8 18:41:56 2017 GMT
            Not After : Jun  8 18:41:56 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: 
                78:A3:E1:77:E9:5F:6A:6E:EB:DC:AF:E3:82:1C:68:9D:02:EE:8B:3F
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  8 18:41:56 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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:137
included: /tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml for openshift

TASK [openshift_logging : Checking for elasticsearch.jks] **********************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:43
changed: [openshift] => (item=ca.crt) => {
    "changed": true, 
    "checksum": "9a2cc0af504ee55b6c044f48e281fa534a2fdb1e", 
    "dest": "/tmp/openshift-logging-ansible-KzRkQ9/ca.crt", 
    "item": "ca.crt", 
    "md5sum": "178b929c61442ff003adb6acca9e7eed", 
    "remote_checksum": "9a2cc0af504ee55b6c044f48e281fa534a2fdb1e", 
    "remote_md5sum": null
}
changed: [openshift] => (item=ca.key) => {
    "changed": true, 
    "checksum": "192da01937ceb4b45d6e4e0504bf5541a2a58854", 
    "dest": "/tmp/openshift-logging-ansible-KzRkQ9/ca.key", 
    "item": "ca.key", 
    "md5sum": "c18d909ea2ed91b2864d599c9d2da518", 
    "remote_checksum": "192da01937ceb4b45d6e4e0504bf5541a2a58854", 
    "remote_md5sum": null
}
changed: [openshift] => (item=ca.serial.txt) => {
    "changed": true, 
    "checksum": "b649682b92a811746098e5c91e891e5142a41950", 
    "dest": "/tmp/openshift-logging-ansible-KzRkQ9/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": "0695a1ad467aa7dd3ea80b75934301ff5f4caf00", 
    "dest": "/tmp/openshift-logging-ansible-KzRkQ9/ca.db", 
    "item": "ca.db", 
    "md5sum": "788498fdbdaa823e54c3038e7fc7e6fa", 
    "remote_checksum": "0695a1ad467aa7dd3ea80b75934301ff5f4caf00", 
    "remote_md5sum": null
}

TASK [openshift_logging : template] ********************************************
task path: /tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:56
changed: [openshift -> 127.0.0.1] => {
    "changed": true, 
    "checksum": "016af60a678e74ad833d669cb3a171e8d7ee6651", 
    "dest": "/tmp/openshift-logging-ansible-KzRkQ9/signing.conf", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "dea6d0a71123ab525f458695553cf025", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 4281, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496947317.82-277053453714790/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging : Run JKS generation script] ***************************
task path: /tmp/tmp.VGsolkkWfi/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-KzRkQ9
+ SCRATCH_DIR=/tmp/openshift-logging-ansible-KzRkQ9
+ PROJECT=logging
+ [[ ! -f /tmp/openshift-logging-ansible-KzRkQ9/system.admin.jks ]]
+ generate_JKS_client_cert system.admin
+ NODE_NAME=system.admin
+ ks_pass=kspass
+ ts_pass=tspass
+ dir=/tmp/openshift-logging-ansible-KzRkQ9
+ echo Generating keystore and certificate for node system.admin
+ keytool -genkey -alias system.admin -keystore /tmp/openshift-logging-ansible-KzRkQ9/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-KzRkQ9/system.admin.jks -file /tmp/openshift-logging-ansible-KzRkQ9/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-KzRkQ9/system.admin.jks.csr -notext -out /tmp/openshift-logging-ansible-KzRkQ9/system.admin.jks.crt -config /tmp/openshift-logging-ansible-KzRkQ9/signing.conf -extensions v3_req -batch -extensions server_ext
Using configuration from /tmp/openshift-logging-ansible-KzRkQ9/signing.conf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 6 (0x6)
        Validity
            Not Before: Jun  8 18:42:34 2017 GMT
            Not After : Jun  8 18:42:34 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: 
                3B:B8:7D:38:E1:63:92:8E:10:72:0D:2F:9C:E7:45:81:C4:60:D1:B4
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  8 18:42:34 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-KzRkQ9/ca.crt -keystore /tmp/openshift-logging-ansible-KzRkQ9/system.admin.jks -storepass kspass -noprompt -alias sig-ca
Certificate was added to keystore
+ keytool -import -file /tmp/openshift-logging-ansible-KzRkQ9/system.admin.jks.crt -keystore /tmp/openshift-logging-ansible-KzRkQ9/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-KzRkQ9/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-KzRkQ9
+ 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-KzRkQ9/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-KzRkQ9/elasticsearch.jks -storepass kspass -file /tmp/openshift-logging-ansible-KzRkQ9/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-KzRkQ9/elasticsearch.csr -notext -out /tmp/openshift-logging-ansible-KzRkQ9/elasticsearch.crt -config /tmp/openshift-logging-ansible-KzRkQ9/signing.conf -extensions v3_req -batch -extensions server_ext
Using configuration from /tmp/openshift-logging-ansible-KzRkQ9/signing.conf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 7 (0x7)
        Validity
            Not Before: Jun  8 18:42:35 2017 GMT
            Not After : Jun  8 18:42:35 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: 
                E6:0F:A6:38:F4:38:2D:7A:B5:EF:5D:8A:53:C1:44:7B:7F:49:D8:78
            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  8 18:42:35 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-KzRkQ9/ca.crt -keystore /tmp/openshift-logging-ansible-KzRkQ9/elasticsearch.jks -storepass kspass -noprompt -alias sig-ca
Certificate was added to keystore
+ keytool -import -file /tmp/openshift-logging-ansible-KzRkQ9/elasticsearch.crt -keystore /tmp/openshift-logging-ansible-KzRkQ9/elasticsearch.jks -storepass kspass -noprompt -alias elasticsearch
Certificate reply was installed in keystore
+ echo All done for elasticsearch
+ [[ ! -f /tmp/openshift-logging-ansible-KzRkQ9/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-KzRkQ9
+ 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-KzRkQ9/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-KzRkQ9/logging-es.jks -storepass kspass -file /tmp/openshift-logging-ansible-KzRkQ9/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-KzRkQ9/logging-es.csr -notext -out /tmp/openshift-logging-ansible-KzRkQ9/logging-es.crt -config /tmp/openshift-logging-ansible-KzRkQ9/signing.conf -extensions v3_req -batch -extensions server_ext
Using configuration from /tmp/openshift-logging-ansible-KzRkQ9/signing.conf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 8 (0x8)
        Validity
            Not Before: Jun  8 18:42:36 2017 GMT
            Not After : Jun  8 18:42:36 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: 
                02:47:C0:B9:C2:B7:07:4A:37:C3:36:E3:B5:8F:74:1B:FA:97:B7:51
            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  8 18:42:36 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-KzRkQ9/ca.crt -keystore /tmp/openshift-logging-ansible-KzRkQ9/logging-es.jks -storepass kspass -noprompt -alias sig-ca
Certificate was added to keystore
+ keytool -import -file /tmp/openshift-logging-ansible-KzRkQ9/logging-es.crt -keystore /tmp/openshift-logging-ansible-KzRkQ9/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-KzRkQ9/truststore.jks ']'
+ createTruststore
+ echo 'Import CA to truststore for validating client certs'
+ keytool -import -file /tmp/openshift-logging-ansible-KzRkQ9/ca.crt -keystore /tmp/openshift-logging-ansible-KzRkQ9/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:66
changed: [openshift] => {
    "changed": true, 
    "checksum": "cdd096f919417200d14887c5885f91d826bf3532", 
    "dest": "/etc/origin/logging/elasticsearch.jks", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "19ab213583e9e7aa37eecb0b9b5a6116", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "system_u:object_r:etc_t:s0", 
    "size": 3767, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496947356.87-101157253459957/source", 
    "state": "file", 
    "uid": 0
}

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

TASK [openshift_logging : Pushing locally generated JKS certs to remote host...] ***
task path: /tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:78
changed: [openshift] => {
    "changed": true, 
    "checksum": "3799127b9c17e0eac9add51317f3279cec5608c4", 
    "dest": "/etc/origin/logging/system.admin.jks", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "77c3cc8ce4c74af07865aae2e0b80298", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "system_u:object_r:etc_t:s0", 
    "size": 3701, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496947357.3-76004488440785/source", 
    "state": "file", 
    "uid": 0
}

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

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

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

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

TASK [openshift_logging : set_fact] ********************************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:64

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

TASK [openshift_logging_elasticsearch : Validate Elasticsearch cluster size] ***
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.001920", 
    "end": "2017-06-08 14:42:38.363751", 
    "rc": 0, 
    "start": "2017-06-08 14:42:38.361831"
}

STDOUT:

/tmp/openshift-logging-ansible-GLamBk

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

TASK [openshift_logging_elasticsearch : Create templates subdirectory] *********
task path: /tmp/tmp.VGsolkkWfi/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-GLamBk/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.VGsolkkWfi/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.VGsolkkWfi/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-m6v6f"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T18:42:39Z", 
                    "name": "aggregated-logging-elasticsearch", 
                    "namespace": "logging", 
                    "resourceVersion": "1325", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-elasticsearch", 
                    "uid": "3f6af377-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-elasticsearch-token-nhplp"
                    }, 
                    {
                        "name": "aggregated-logging-elasticsearch-dockercfg-m6v6f"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : copy] **********************************
task path: /tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:57
changed: [openshift] => {
    "changed": true, 
    "checksum": "e5015364391ac609da8655a9a1224131599a5cea", 
    "dest": "/tmp/openshift-logging-ansible-GLamBk/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-1496947359.52-156939239123071/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : Create rolebinding-reader role] ********
task path: /tmp/tmp.VGsolkkWfi/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-08T18:42:40Z", 
                    "name": "rolebinding-reader", 
                    "resourceVersion": "122", 
                    "selfLink": "/oapi/v1/clusterroles/rolebinding-reader", 
                    "uid": "400eada3-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "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.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:81
ok: [openshift] => {
    "changed": false, 
    "checksum": "d752c09323565f80ed14fa806d42284f0c5aef2a", 
    "dest": "/tmp/openshift-logging-ansible-GLamBk/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-1496947361.2-33236853804024/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : Set logging-elasticsearch-view-role role] ***
task path: /tmp/tmp.VGsolkkWfi/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-08T18:42:41Z", 
                    "name": "logging-elasticsearch-view-role", 
                    "namespace": "logging", 
                    "resourceVersion": "736", 
                    "selfLink": "/oapi/v1/namespaces/logging/rolebindings/logging-elasticsearch-view-role", 
                    "uid": "410cddbb-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:105
ok: [openshift] => {
    "changed": false, 
    "checksum": "f91458d5dad42c496e2081ef872777a6f6eb9ff9", 
    "dest": "/tmp/openshift-logging-ansible-GLamBk/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-1496947362.27-111323386040203/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : template] ******************************
task path: /tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:111
ok: [openshift] => {
    "changed": false, 
    "checksum": "6d4f976f6e77a6e0c8dca7e01fb5bedb68678b1d", 
    "dest": "/tmp/openshift-logging-ansible-GLamBk/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-1496947362.5-38339695222144/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : copy] **********************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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-08T18:42:43Z", 
                    "name": "logging-elasticsearch", 
                    "namespace": "logging", 
                    "resourceVersion": "1333", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-elasticsearch", 
                    "uid": "41e82aa6-4c7a-11e7-83c5-0e461e0c5e4a"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : Set ES secret] *************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:168
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.104.219", 
        "cmd": "/bin/oc get service logging-es-cluster -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T18:42:45Z", 
                    "name": "logging-es-cluster", 
                    "namespace": "logging", 
                    "resourceVersion": "1336", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-es-cluster", 
                    "uid": "43094668-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "spec": {
                    "clusterIP": "172.30.104.219", 
                    "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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:182
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.160.38", 
        "cmd": "/bin/oc get service logging-es -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T18:42:46Z", 
                    "name": "logging-es", 
                    "namespace": "logging", 
                    "resourceVersion": "1339", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-es", 
                    "uid": "43a1d9aa-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "spec": {
                    "clusterIP": "172.30.160.38", 
                    "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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:237
ok: [openshift] => {
    "ansible_facts": {
        "es_deploy_name": "logging-es-data-master-zbfzxdm0"
    }, 
    "changed": false
}

TASK [openshift_logging_elasticsearch : set_fact] ******************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:246
changed: [openshift] => {
    "changed": true, 
    "checksum": "693f03c6eca956be3d3fcb72a148ce3c99c44f21", 
    "dest": "/tmp/openshift-logging-ansible-GLamBk/templates/logging-es-dc.yml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "3c866576fb31ef9a93e9f27c5b975808", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 3139, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496947366.77-216420188717001/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : Set ES dc] *****************************
task path: /tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:262
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get dc logging-es-data-master-zbfzxdm0 -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "DeploymentConfig", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T18:42:47Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "es", 
                        "deployment": "logging-es-data-master-zbfzxdm0", 
                        "logging-infra": "elasticsearch", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-es-data-master-zbfzxdm0", 
                    "namespace": "logging", 
                    "resourceVersion": "1354", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-es-data-master-zbfzxdm0", 
                    "uid": "44630638-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "spec": {
                    "replicas": 1, 
                    "selector": {
                        "component": "es", 
                        "deployment": "logging-es-data-master-zbfzxdm0", 
                        "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-zbfzxdm0", 
                                "logging-infra": "elasticsearch", 
                                "provider": "openshift"
                            }, 
                            "name": "logging-es-data-master-zbfzxdm0"
                        }, 
                        "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.234.171: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-08T18:42:47Z", 
                            "lastUpdateTime": "2017-06-08T18:42:47Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-08T18:42:47Z", 
                            "lastUpdateTime": "2017-06-08T18:42:47Z", 
                            "message": "replication controller \"logging-es-data-master-zbfzxdm0-1\" is waiting for pod \"logging-es-data-master-zbfzxdm0-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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:274
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-GLamBk", 
    "state": "absent"
}

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

TASK [openshift_logging : set_fact] ********************************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:109

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

TASK [openshift_logging_elasticsearch : Validate Elasticsearch cluster size] ***
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.002481", 
    "end": "2017-06-08 14:42:48.661565", 
    "rc": 0, 
    "start": "2017-06-08 14:42:48.659084"
}

STDOUT:

/tmp/openshift-logging-ansible-BIGZSL

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

TASK [openshift_logging_elasticsearch : Create templates subdirectory] *********
task path: /tmp/tmp.VGsolkkWfi/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-BIGZSL/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.VGsolkkWfi/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.VGsolkkWfi/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-m6v6f"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T18:42:39Z", 
                    "name": "aggregated-logging-elasticsearch", 
                    "namespace": "logging", 
                    "resourceVersion": "1325", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-elasticsearch", 
                    "uid": "3f6af377-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-elasticsearch-token-nhplp"
                    }, 
                    {
                        "name": "aggregated-logging-elasticsearch-dockercfg-m6v6f"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : copy] **********************************
task path: /tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:57
changed: [openshift] => {
    "changed": true, 
    "checksum": "e5015364391ac609da8655a9a1224131599a5cea", 
    "dest": "/tmp/openshift-logging-ansible-BIGZSL/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-1496947369.32-184569829178330/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : Create rolebinding-reader role] ********
task path: /tmp/tmp.VGsolkkWfi/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-08T18:42:40Z", 
                    "name": "rolebinding-reader", 
                    "resourceVersion": "122", 
                    "selfLink": "/oapi/v1/clusterroles/rolebinding-reader", 
                    "uid": "400eada3-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "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.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:81
ok: [openshift] => {
    "changed": false, 
    "checksum": "d752c09323565f80ed14fa806d42284f0c5aef2a", 
    "dest": "/tmp/openshift-logging-ansible-BIGZSL/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-1496947370.89-85277335663494/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : Set logging-elasticsearch-view-role role] ***
task path: /tmp/tmp.VGsolkkWfi/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-08T18:42:41Z", 
                    "name": "logging-elasticsearch-view-role", 
                    "namespace": "logging", 
                    "resourceVersion": "1331", 
                    "selfLink": "/oapi/v1/namespaces/logging/rolebindings/logging-elasticsearch-view-role", 
                    "uid": "410cddbb-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:105
ok: [openshift] => {
    "changed": false, 
    "checksum": "f91458d5dad42c496e2081ef872777a6f6eb9ff9", 
    "dest": "/tmp/openshift-logging-ansible-BIGZSL/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-1496947372.13-197218078644865/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : template] ******************************
task path: /tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:111
ok: [openshift] => {
    "changed": false, 
    "checksum": "6d4f976f6e77a6e0c8dca7e01fb5bedb68678b1d", 
    "dest": "/tmp/openshift-logging-ansible-BIGZSL/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-1496947372.39-164670649783995/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : copy] **********************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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-08T18:42:53Z", 
                    "name": "logging-elasticsearch-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1373", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-elasticsearch-ops", 
                    "uid": "47cf5e7c-4c7a-11e7-83c5-0e461e0c5e4a"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : Set ES secret] *************************
task path: /tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:144
ok: [openshift] => {
    "changed": false, 
    "results": {
        "apiVersion": "v1", 
        "data": {
            "admin-ca": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tC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z2l46AiSNOK+sZVxuL6gtrlpWymOXbLBcQVkt6DiuMjxR3EEfYLWwKVb5epT4FIwKiEqZqLGjlAPujzgNJrC2yHPDbmhqGHaSeRXb3TfKUaKVt+BNz7f6BSe9NueFKzzGVHq/6Sux68ow45pnwPR2fquf/fQYUOf1TH4Mkj8AyCX0="
        }, 
        "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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:168
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.249.104", 
        "cmd": "/bin/oc get service logging-es-ops-cluster -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T18:42:54Z", 
                    "name": "logging-es-ops-cluster", 
                    "namespace": "logging", 
                    "resourceVersion": "1379", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-es-ops-cluster", 
                    "uid": "48cabff5-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "spec": {
                    "clusterIP": "172.30.249.104", 
                    "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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:182
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.55.129", 
        "cmd": "/bin/oc get service logging-es-ops -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T18:42:56Z", 
                    "name": "logging-es-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1384", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-es-ops", 
                    "uid": "49770c1f-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "spec": {
                    "clusterIP": "172.30.55.129", 
                    "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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:237
ok: [openshift] => {
    "ansible_facts": {
        "es_deploy_name": "logging-es-ops-data-master-uuh5lj98"
    }, 
    "changed": false
}

TASK [openshift_logging_elasticsearch : set_fact] ******************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:246
changed: [openshift] => {
    "changed": true, 
    "checksum": "0131a8794f3a091b7571a207f23747ed870f8086", 
    "dest": "/tmp/openshift-logging-ansible-BIGZSL/templates/logging-es-dc.yml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "bfab0c131bf2a0d0cf58197511109224", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 3179, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496947376.61-150216852295885/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : Set ES dc] *****************************
task path: /tmp/tmp.VGsolkkWfi/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-uuh5lj98 -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "DeploymentConfig", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T18:42:57Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "es-ops", 
                        "deployment": "logging-es-ops-data-master-uuh5lj98", 
                        "logging-infra": "elasticsearch", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-es-ops-data-master-uuh5lj98", 
                    "namespace": "logging", 
                    "resourceVersion": "1402", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-es-ops-data-master-uuh5lj98", 
                    "uid": "4a5209f7-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "spec": {
                    "replicas": 1, 
                    "selector": {
                        "component": "es-ops", 
                        "deployment": "logging-es-ops-data-master-uuh5lj98", 
                        "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-uuh5lj98", 
                                "logging-infra": "elasticsearch", 
                                "provider": "openshift"
                            }, 
                            "name": "logging-es-ops-data-master-uuh5lj98"
                        }, 
                        "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.234.171: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-08T18:42:57Z", 
                            "lastUpdateTime": "2017-06-08T18:42:57Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-08T18:42:57Z", 
                            "lastUpdateTime": "2017-06-08T18:42:57Z", 
                            "message": "replication controller \"logging-es-ops-data-master-uuh5lj98-1\" is waiting for pod \"logging-es-ops-data-master-uuh5lj98-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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:274
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-BIGZSL", 
    "state": "absent"
}

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

TASK [openshift_logging_kibana : fail] *****************************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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:01.003136", 
    "end": "2017-06-08 14:42:59.739977", 
    "rc": 0, 
    "start": "2017-06-08 14:42:58.736841"
}

STDOUT:

/tmp/openshift-logging-ansible-phCywu

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

TASK [openshift_logging_kibana : Create templates subdirectory] ****************
task path: /tmp/tmp.VGsolkkWfi/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-phCywu/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.VGsolkkWfi/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.VGsolkkWfi/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-kdw5m"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T18:43:00Z", 
                    "name": "aggregated-logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1428", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-kibana", 
                    "uid": "4c50619a-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-kibana-token-qrst8"
                    }, 
                    {
                        "name": "aggregated-logging-kibana-dockercfg-kdw5m"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREU0TkRFME9Gb1hEVEl5TURZd056RTROREUwT1ZvdwpIakVj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ErNlBPQTBtc0xiSWM4TnVhR29ZZHBKNUZkdmROOHBSb3BXMzRFM1B0L29GSjcwMjU0VXJQCk1aVWVyL3BLN0hyeWpEam1tZkE9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K", 
    "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": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcEFJQkFBS0NBUUVBMWdLMytKTnYrSkl3aEUxUUNOMnJvdzJFNGptN0ExM0pMaGZxb214T1pNajlCUTk3ClF4eWRRM0c3bWtOL09YVTdNaGNXRk9uQXRKUEkvcXJXL3JGRERuUXhLR2RqV0o5QVRaY3dpNUhFSC9pUURBN1MKLzFZamFFNEtEdnhDUGRTQStVMUJJL3dFNDVrZGFLY1dja01CbGlWaDQ0WXJiRjBDbnc4SzViOHp3ZXY2NFNCTQpnZ2pSek9aeXZvcDNvLzFLWUxac200QjkrSTltdnp5c2JiNllMd09sNHFJSjRoLzJRNURoL1BETmVBMU5Zd1kwCkZxeXF5T1NnYkFOVExSa29ZQzMwTDRoYzNpWE8ycGxMRjZZNy9QeWZZbi9TSGhxcG5sNW90Y2szQldlU2RoWHkKVk9CRzNLQ2l6dnBnSTlvYzdSWWhJNUsvOFJkQ2NJRlExdUN1UHdJREFRQUJBb0lCQVFDQjljaXVoU283OHRyUApuUHQ3UnRIU0JJV3JzNDhqcmpKYmNWNmxIOHhEVytKNnpqbjJPVXd2QnNQOEcvMEljVzV2THFIVU5WYzIwWC8vClZ0T1VleVRUaEMvTjcycmZDR1pPTi8vYzRib09DQzNCaE1jUkU4Z1FzVU5lY2tYdnNqcFlLbGZpZUVxbncvV2QKOWNtbHZaY2JETHh6SktqOTkwVitQZTVLTW1CRjQrREVYWGw5VnNncTFXSVJEVF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hsdHFnUldpck1HeXNXditRNitPWApkYnZKeHRXUG9MMy9YVGZmN1JsOGFHWXlhZ2c2UmdsSUp4NVFibkZYZDc0VERzcG0zbm5MSnVRS0NVellrbVd5ClgyU0hQcU1DZ1lBOGNGaWRDaGg2N0dtVlZSME5ybFpWbWx2ZUVkcEFZajhoQ3NqVHBZR0FscDgxVUNHUElNTVMKZ0FpU05ZWjhoMkpnOCtiL1lCbkVUV1FrMUw1WmlnRkwyMUpkU0RLdHFuQ3JFLzBTcmpmazl5TTE2azJhSVVnMApwYUttY1NRT0dYek1wUjVkdEdmUXlHVkJaQ2xBU0lGZ3pDVUdOdHVKNXVjQ2dQeFk5WFZzMWc9PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=", 
    "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": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURUakNDQWphZ0F3SUJBZ0lCQWpBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREU0TkRFMU1Gb1hEVEU1TURZd09ERTROREUxTVZvdwpGakVVTUJJR0ExVUVBeE1MSUd0cFltRnVZUzF2Y0hNd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJEd0F3CmdnRUtBb0lCQVFEV0FyZjRrMi80a2pDRVRWQUkzYXVqRFlUaU9ic0RYY2t1RitxaWJFNWt5UDBGRDN0REhKMUQKY2J1YVEzODVkVHN5RnhZVTZjQzBrOGorcXRiK3NVTU9kREVvWjJOWW4wQk5sekNMa2NRZitKQU1EdEwvVmlObwpUZ29PL0VJOTFJRDVUVUVqL0FUam1SMW9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aeWM3VDdmU0xCS3owZnQxSE1UVCtYYzZHNEpNSzVnUVIrTnVJWWgwdWdNL1J0M29UcWZscC85clVZNXMyY2EKc3BuUWxjeWU5K3I5am1UbllVZldtYWk3Y29FUUpVNXluZG9lYVNFdHh1V2NHbmR6SFNaWkVxVkVvV0dMcUJ2MwpMUGFYam9DSkkwNHI2eGxYRzR2cUMydVdsYktZNWRzc0Z4QldTM29PSzR5UEZIY1FSOWd0YkFwVnZsNmxQZ1VqCkFxSVNwbW9zYU9VQSs2UE9BMG1zTGJJYzhOdWFHb1lkcEo1RmR2ZE44cFJvcFczNEUzUHQvb0ZKNzAyNTRVclAKTVpVZXIvcEs3SHJ5akRqbW1mQT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=", 
    "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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:57
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.73.78", 
        "cmd": "/bin/oc get service logging-kibana -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T18:43:02Z", 
                    "name": "logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1433", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-kibana", 
                    "uid": "4d70d3ad-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "spec": {
                    "clusterIP": "172.30.73.78", 
                    "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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:89
ok: [openshift] => {
    "ansible_facts": {
        "kibana_ca": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREU0TkRFME9Gb1hEVEl5TURZd056RTROREUwT1ZvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQUtzT2FGZmJGV0RTcE83cjJQMVd3RVFOVUlpcGF1TFFjeXRDeDB2TEp5YnMKbHdmRzJEYlRoQWVtWUZHZVpGVjZTaDNPUmw3cm05eDJ1bThlWEVzazlNTjc0SUdZY0hqQitaV0lDODFVNDQ5cApoZ3loZEpiaFN6RDhlRGFhVVJrWHh6OW5iRHh4SW5uczk5bGUxSzJObmlMWHFCR3JhQ0E0NFA1RHlDc1RzeHh3CjlBdzFPeTVuamZDQmw5eWQrSmllNzFTcXVJVlM0KzBJMUd6ZUJMdithbnNsbVJRcDFlcnZXN0phaU1kbjkzUzUKRm9LOStYYjFJRWNEbEM3b3pnbXB3MGZxM1oyd1l1TUtFQWxnWnpiVmw2UmpnSkllUFI0dUVTODdtcVZhVDNBagplalY3SDRiemFSeDhvTExsd3o5ZVEwc2NFNStycmE1OS9rUjk4OTljVXNVQ0F3RUFBYU1qTUNFd0RnWURWUjBQCkFRSC9CQVFEQWdLa01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFLQ0gKYXV0U3hLc3lac3dVRmlwLzBqbVRTT0RxVVJwWEw4QVA2Rks3ZGxVL1FZV0d5QzRObm55VzE0dEQ2ejJYeDJkNwpLWnljN1Q3ZlNMQkt6MGZ0MUhNVFQrWGM2RzRKTUs1Z1FSK051SVloMHVnTS9SdDNvVHFmbHAvOXJVWTVzMmNhCnNwblFsY3llOStyOWptVG5ZVWZXbWFpN2NvRVFKVTV5bmRvZWFTRXR4dVdjR25kekhTWlpFcVZFb1dHTHFCdjMKTFBhWGpvQ0pJMDRyNnhsWEc0dnFDMnVXbGJLWTVkc3NGeEJXUzNvT0s0eVBGSGNRUjlndGJBcFZ2bDZsUGdVagpBcUlTcG1vc2FPVUErNlBPQTBtc0xiSWM4TnVhR29ZZHBKNUZkdmROOHBSb3BXMzRFM1B0L29GSjcwMjU0VXJQCk1aVWVyL3BLN0hyeWpEam1tZkE9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
    }, 
    "changed": false
}

TASK [openshift_logging_kibana : Generating Kibana route template] *************
task path: /tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:94
ok: [openshift] => {
    "changed": false, 
    "checksum": "7d10c4c9a8ce0306482749854fc2af9479959754", 
    "dest": "/tmp/openshift-logging-ansible-phCywu/templates/kibana-route.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "3680746f5500d01ac93b879a5be19f06", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 2714, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496947383.27-212206389626539/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_kibana : Setting Kibana route] *************************
task path: /tmp/tmp.VGsolkkWfi/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-08T18:43:04Z", 
                    "labels": {
                        "component": "support", 
                        "logging-infra": "support", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1438", 
                    "selfLink": "/oapi/v1/namespaces/logging/routes/logging-kibana", 
                    "uid": "4e69e845-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "spec": {
                    "host": "kibana.router.default.svc.cluster.local", 
                    "tls": {
                        "caCertificate": "-----BEGIN CERTIFICATE-----\nMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dn\naW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODE4NDE0OFoXDTIyMDYwNzE4NDE0OVow\nHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEB\nBQADggEPADCCAQoCggEBAKsOaFfbFWDSpO7r2P1WwEQNUIipauLQcytCx0vLJybs\nlwfG2DbThAemYFGeZFV6Sh3ORl7rm9x2um8eXEsk9MN74IGYcHjB+ZWIC81U449p\nhgyhdJbhSzD8eDaaURkXxz9nbDxxInns99le1K2NniLXqBGraCA44P5DyCsTsxxw\n9Aw1Oy5njfCBl9yd+Jie71SquIVS4+0I1GzeBLv+anslmRQp1ervW7JaiMdn93S5\nFoK9+Xb1IEcDlC7ozgmpw0fq3Z2wYuMKEAlgZzbVl6RjgJIePR4uES87mqVaT3Aj\nejV7H4bzaRx8oLLlwz9eQ0scE5+rra59/kR9899cUsUCAwEAAaMjMCEwDgYDVR0P\nAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAKCH\nautSxKsyZswUFip/0jmTSODqURpXL8AP6FK7dlU/QYWGyC4NnnyW14tD6z2Xx2d7\nKZyc7T7fSLBKz0ft1HMTT+Xc6G4JMK5gQR+NuIYh0ugM/Rt3oTqflp/9rUY5s2ca\nspnQlcye9+r9jmTnYUfWmai7coEQJU5yndoeaSEtxuWcGndzHSZZEqVEoWGLqBv3\nLPaXjoCJI04r6xlXG4vqC2uWlbKY5dssFxBWS3oOK4yPFHcQR9gtbApVvl6lPgUj\nAqISpmosaOUA+6POA0msLbIc8NuaGoYdpJ5FdvdN8pRopW34E3Pt/oFJ70254UrP\nMZUer/pK7HryjDjmmfA=\n-----END CERTIFICATE-----\n", 
                        "destinationCACertificate": "-----BEGIN CERTIFICATE-----\nMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dn\naW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODE4NDE0OFoXDTIyMDYwNzE4NDE0OVow\nHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEB\nBQADggEPADCCAQoCggEBAKsOaFfbFWDSpO7r2P1WwEQNUIipauLQcytCx0vLJybs\nlwfG2DbThAemYFGeZFV6Sh3ORl7rm9x2um8eXEsk9MN74IGYcHjB+ZWIC81U449p\nhgyhdJbhSzD8eDaaURkXxz9nbDxxInns99le1K2NniLXqBGraCA44P5DyCsTsxxw\n9Aw1Oy5njfCBl9yd+Jie71SquIVS4+0I1GzeBLv+anslmRQp1ervW7JaiMdn93S5\nFoK9+Xb1IEcDlC7ozgmpw0fq3Z2wYuMKEAlgZzbVl6RjgJIePR4uES87mqVaT3Aj\nejV7H4bzaRx8oLLlwz9eQ0scE5+rra59/kR9899cUsUCAwEAAaMjMCEwDgYDVR0P\nAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAKCH\nautSxKsyZswUFip/0jmTSODqURpXL8AP6FK7dlU/QYWGyC4NnnyW14tD6z2Xx2d7\nKZyc7T7fSLBKz0ft1HMTT+Xc6G4JMK5gQR+NuIYh0ugM/Rt3oTqflp/9rUY5s2ca\nspnQlcye9+r9jmTnYUfWmai7coEQJU5yndoeaSEtxuWcGndzHSZZEqVEoWGLqBv3\nLPaXjoCJI04r6xlXG4vqC2uWlbKY5dssFxBWS3oOK4yPFHcQR9gtbApVvl6lPgUj\nAqISpmosaOUA+6POA0msLbIc8NuaGoYdpJ5FdvdN8pRopW34E3Pt/oFJ70254UrP\nMZUer/pK7HryjDjmmfA=\n-----END CERTIFICATE-----\n", 
                        "insecureEdgeTerminationPolicy": "Redirect", 
                        "termination": "reencrypt"
                    }, 
                    "to": {
                        "kind": "Service", 
                        "name": "logging-kibana", 
                        "weight": 100
                    }, 
                    "wildcardPolicy": "None"
                }, 
                "status": {
                    "ingress": [
                        {
                            "conditions": [
                                {
                                    "lastTransitionTime": "2017-06-08T18:43:04Z", 
                                    "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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:125
ok: [openshift] => {
    "ansible_facts": {
        "session_secret": "u8IbOYxtpI4R2e0t5slulRtujXfZeQm7bMq0dfiNtcW15tpCQn3a5tHgVR7oWEOcSVJSpgIEq98wsxFCa8Z24CNjzaihhlVWIHvDFftQIjlrujUqqKIZDUZtID8Eyogwc01xF9bkbfoY2lEpUNSSGehOGJWQ8UXHRe8TwJZtCt5AWD6sewebAIdC0T1AoBgAvUQoHc5b"
    }, 
    "changed": false
}

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

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

TASK [openshift_logging_kibana : Set kibana-proxy oauth-client] ****************
task path: /tmp/tmp.VGsolkkWfi/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-08T18:43:06Z", 
                    "labels": {
                        "logging-infra": "support"
                    }, 
                    "name": "kibana-proxy", 
                    "resourceVersion": "1442", 
                    "selfLink": "/oapi/v1/oauthclients/kibana-proxy", 
                    "uid": "4f6c053d-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "redirectURIs": [
                    "https://kibana.router.default.svc.cluster.local"
                ], 
                "scopeRestrictions": [
                    {
                        "literals": [
                            "user:info", 
                            "user:check-access", 
                            "user:list-projects"
                        ]
                    }
                ], 
                "secret": "IgljzsbedZ857b8sgoGHbmqrPfSN8oJe6H6g5FZDEFsg0qzp0frlC99rU4ovcJrp"
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : Set Kibana secret] ****************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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-3wcx0H session-secret=/tmp/session-secret-KUrXok server-key=/tmp/server-key-oxHe5R server-cert=/tmp/server-cert-kadyDe server-tls.json=/tmp/server-tls.json-gAn3_X -n logging", 
        "results": "", 
        "returncode": 0
    }, 
    "state": "present"
}

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

TASK [openshift_logging_kibana : Set Kibana DC] ********************************
task path: /tmp/tmp.VGsolkkWfi/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-08T18:43:09Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "kibana", 
                        "logging-infra": "kibana", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1459", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-kibana", 
                    "uid": "5141a5f9-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "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.234.171: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.13.130:8443"
                                        }, 
                                        {
                                            "name": "OAP_LOGOUT_REDIRECT", 
                                            "value": "https://172.18.13.130: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.234.171: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-08T18:43:09Z", 
                            "lastUpdateTime": "2017-06-08T18:43:09Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-08T18:43:09Z", 
                            "lastUpdateTime": "2017-06-08T18:43:09Z", 
                            "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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:228
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-phCywu", 
    "state": "absent"
}

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

TASK [openshift_logging_kibana : fail] *****************************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.002224", 
    "end": "2017-06-08 14:43:11.017045", 
    "rc": 0, 
    "start": "2017-06-08 14:43:11.014821"
}

STDOUT:

/tmp/openshift-logging-ansible-wkOae3

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

TASK [openshift_logging_kibana : Create templates subdirectory] ****************
task path: /tmp/tmp.VGsolkkWfi/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-wkOae3/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.VGsolkkWfi/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.VGsolkkWfi/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-kdw5m"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T18:43:00Z", 
                    "name": "aggregated-logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1428", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-kibana", 
                    "uid": "4c50619a-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-kibana-token-qrst8"
                    }, 
                    {
                        "name": "aggregated-logging-kibana-dockercfg-kdw5m"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREU0TkRFME9Gb1hEVEl5TURZd056RTROREUwT1ZvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQUtzT2FGZmJGV0RTcE83cjJQMVd3RVFOVUlpcGF1TFFjeXRDeDB2TEp5YnMKbHdmRzJEYlRoQWVtWUZHZVpGVjZTaDNPUmw3cm05eDJ1bThlWEVzazlNTjc0SUdZY0hqQitaV0lDODFVNDQ5cApoZ3loZEpiaFN6RDhlRGFhVVJrWHh6OW5iRHh4SW5uczk5bGUxSzJObmlMWHFCR3JhQ0E0NFA1RHlDc1RzeHh3CjlBdzFPeTVuamZDQmw5eWQrSmllNzFTcXVJVlM0KzBJMUd6ZUJMdithbnNsbVJRcDFlcnZXN0phaU1kbjkzUzUKRm9LOStYYjFJRWNEbEM3b3pnbXB3MGZxM1oyd1l1TUtFQWxnWnpiVmw2UmpnSkllUFI0dUVTODdtcVZhVDNBagplalY3SDRiemFSeDhvTExsd3o5ZVEwc2NFNStycmE1OS9rUjk4OTljVXNVQ0F3RUFBYU1qTUNFd0RnWURWUjBQCkFRSC9CQVFEQWdLa01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFLQ0gKYXV0U3hLc3lac3dVRmlwLzBqbVRTT0RxVVJwWEw4QVA2Rks3ZGxVL1FZV0d5QzRObm55VzE0dEQ2ejJYeDJkNwpLWnljN1Q3ZlNMQkt6MGZ0MUhNVFQrWGM2RzRKTUs1Z1FSK051SVloMHVnTS9SdDNvVHFmbHAvOXJVWTVzMmNhCnNwblFsY3llOStyOWptVG5ZVWZXbWFpN2NvRVFKVTV5bmRvZWFTRXR4dVdjR25kekhTWlpFcVZFb1dHTHFCdjMKTFBhWGpvQ0pJMDRyNnhsWEc0dnFDMnVXbGJLWTVkc3NGeEJXUzNvT0s0eVBGSGNRUjlndGJBcFZ2bDZsUGdVagpBcUlTcG1vc2FPVUErNlBPQTBtc0xiSWM4TnVhR29ZZHBKNUZkdmROOHBSb3BXMzRFM1B0L29GSjcwMjU0VXJQCk1aVWVyL3BLN0hyeWpEam1tZkE9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K", 
    "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": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcEFJQkFBS0NBUUVBMWdLMytKTnYrSkl3aEUxUUNOMnJvdzJFNGptN0ExM0pMaGZxb214T1pNajlCUTk3ClF4eWRRM0c3bWtOL09YVTdNaGNXRk9uQXRKUEkvcXJXL3JGRERuUXhLR2RqV0o5QVRaY3dpNUhFSC9pUURBN1MKLzFZamFFNEtEdnhDUGRTQStVMUJJL3dFNDVrZGFLY1dja01CbGlWaDQ0WXJiRjBDbnc4SzViOHp3ZXY2NFNCTQpnZ2pSek9aeXZvcDNvLzFLWUxac200QjkrSTltdnp5c2JiNllMd09sNHFJSjRoLzJRNURoL1BETmVBMU5Zd1kwCkZxeXF5T1NnYkFOVExSa29ZQzMwTDRoYzNpWE8ycGxMRjZZNy9QeWZZbi9TSGhxcG5sNW90Y2szQldlU2RoWHkKVk9CRzNLQ2l6dnBnSTlvYzdSWWhJNUsvOFJkQ2NJRlExdUN1UHdJREFRQUJBb0lCQVFDQjljaXVoU283OHRyUApuUHQ3UnRIU0JJV3JzNDhqcmpKYmNWNmxIOHhEVytKNnpqbjJPVXd2QnNQOEcvMEljVzV2THFIVU5WYzIwWC8vClZ0T1VleVRUaEMvTjcycmZDR1pPTi8vYzRib09DQzNCaE1jUkU4Z1FzVU5lY2tYdnNqcFlLbGZpZUVxbncvV2QKOWNtbHZaY2JETHh6SktqOTkwVitQZTVLTW1CRjQrREVYWGw5VnNncTFXSVJEVFV2aFdTaVNTVkVUY29uZ3BQcAp5Rnl0cmc3SHNFL3k4NnJXdDdXdlAxT3c1Z3FZVFFyYlhwMkFwT2lYSUxMeWVuK2hTd0pSdGRPdzMrT24rM0kwCkRqYU4ydlpyUkpHcy9qazFKdVdXTXNscmFuSjNhMjcrWk1GMFFYSjBGbmZEOVdLR2JWdm5qcGxHemNxUGtuZFIKdnRxK1dB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oMkpnOCtiL1lCbkVUV1FrMUw1WmlnRkwyMUpkU0RLdHFuQ3JFLzBTcmpmazl5TTE2azJhSVVnMApwYUttY1NRT0dYek1wUjVkdEdmUXlHVkJaQ2xBU0lGZ3pDVUdOdHVKNXVjQ2dQeFk5WFZzMWc9PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=", 
    "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": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURUakNDQWphZ0F3SUJBZ0lCQWpBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREU0TkRFMU1Gb1hEVEU1TURZd09ERTROREUxTVZvdwpGakVVTUJJR0ExVUVBeE1MSUd0cFltRnVZUzF2Y0hNd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJEd0F3CmdnRUtBb0lCQVFEV0FyZjRrMi80a2pDRVRWQUkzYXVqRFlUaU9ic0RYY2t1RitxaWJFNWt5UDBGRDN0REhKMUQKY2J1YVEzODVkVHN5RnhZVTZjQzBrOGorcXRiK3NVTU9kREVvWjJOWW4wQk5sekNMa2NRZitKQU1EdEwvVmlObwpUZ29PL0VJOTFJRDVUVUVqL0FUam1SMW9weFp5UXdHV0pXSGpoaXRzWFFLZkR3cmx2elBCNi9yaElFeUNDTkhNCjVuSytpbmVqL1VwZ3RteWJnSDM0ajJhL1BLeHR2cGd2QTZYaW9nbmlIL1pEa09IODhNMTREVTFqQmpRV3JLckkKNUtCc0ExTXRHU2hnTGZRdmlGemVKYzdhbVVzWHBqdjgvSjlpZjlJZUdxbWVYbWkxeVRjRlo1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Z4QldTM29PSzR5UEZIY1FSOWd0YkFwVnZsNmxQZ1VqCkFxSVNwbW9zYU9VQSs2UE9BMG1zTGJJYzhOdWFHb1lkcEo1RmR2ZE44cFJvcFczNEUzUHQvb0ZKNzAyNTRVclAKTVpVZXIvcEs3SHJ5akRqbW1mQT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=", 
    "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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:57
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.29.147", 
        "cmd": "/bin/oc get service logging-kibana-ops -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T18:43:13Z", 
                    "name": "logging-kibana-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1483", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-kibana-ops", 
                    "uid": "54217368-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "spec": {
                    "clusterIP": "172.30.29.147", 
                    "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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:94
ok: [openshift] => {
    "changed": false, 
    "checksum": "5de737ccb39691aadf43d7f0392a12cf8cbcd9ca", 
    "dest": "/tmp/openshift-logging-ansible-wkOae3/templates/kibana-route.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "82a288baa3eb14268ba79a03c909b14b", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 2726, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496947394.8-198819257668452/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_kibana : Setting Kibana route] *************************
task path: /tmp/tmp.VGsolkkWfi/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-08T18:43:16Z", 
                    "labels": {
                        "component": "support", 
                        "logging-infra": "support", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-kibana-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1491", 
                    "selfLink": "/oapi/v1/namespaces/logging/routes/logging-kibana-ops", 
                    "uid": "557741fc-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "spec": {
                    "host": "kibana-ops.router.default.svc.cluster.local", 
                    "tls": {
                        "caCertificate": "-----BEGIN CERTIFICATE-----\nMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dn\naW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODE4NDE0OFoXDTIyMDYwNzE4NDE0OVow\nHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEB\nBQADggEPADCCAQoCggEBAKsOaFfbFWDSpO7r2P1WwEQNUIipauLQcytCx0vLJybs\nlwfG2DbThAemYFGeZFV6Sh3ORl7rm9x2um8eXEsk9MN74IGYcHjB+ZWIC81U449p\nhgyhdJbhSzD8eDaaURkXxz9nbDxxInns99le1K2NniLXqBGraCA44P5DyCsTsxxw\n9Aw1Oy5njfCBl9yd+Jie71SquIVS4+0I1GzeBLv+anslmRQp1ervW7JaiMdn93S5\nFoK9+Xb1IEcDlC7ozgmpw0fq3Z2wYuMKEAlgZzbVl6RjgJIePR4uES87mqVaT3Aj\nejV7H4bzaRx8oLLlwz9eQ0scE5+rra59/kR9899cUsUCAwEAAaMjMCEwDgYDVR0P\nAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAKCH\nautSxKsyZswUFip/0jmTSODqURpXL8AP6FK7dlU/QYWGyC4NnnyW14tD6z2Xx2d7\nKZyc7T7fSLBKz0ft1HMTT+Xc6G4JMK5gQR+NuIYh0ugM/Rt3oTqflp/9rUY5s2ca\nspnQlcye9+r9jmTnYUfWmai7coEQJU5yndoeaSEtxuWcGndzHSZZEqVEoWGLqBv3\nLPaXjoCJI04r6xlXG4vqC2uWlbKY5dssFxBWS3oOK4yPFHcQR9gtbApVvl6lPgUj\nAqISpmosaOUA+6POA0msLbIc8NuaGoYdpJ5FdvdN8pRopW34E3Pt/oFJ70254UrP\nMZUer/pK7HryjDjmmfA=\n-----END CERTIFICATE-----\n", 
                        "destinationCACertificate": "-----BEGIN CERTIFICATE-----\nMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dn\naW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODE4NDE0OFoXDTIyMDYwNzE4NDE0OVow\nHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEB\nBQADggEPADCCAQoCggEBAKsOaFfbFWDSpO7r2P1WwEQNUIipauLQcytCx0vLJybs\nlwfG2DbThAemYFGeZFV6Sh3ORl7rm9x2um8eXEsk9MN74IGYcHjB+ZWIC81U449p\nhgyhdJbhSzD8eDaaURkXxz9nbDxxInns99le1K2NniLXqBGraCA44P5DyCsTsxxw\n9Aw1Oy5njfCBl9yd+Jie71SquIVS4+0I1GzeBLv+anslmRQp1ervW7JaiMdn93S5\nFoK9+Xb1IEcDlC7ozgmpw0fq3Z2wYuMKEAlgZzbVl6RjgJIePR4uES87mqVaT3Aj\nejV7H4bzaRx8oLLlwz9eQ0scE5+rra59/kR9899cUsUCAwEAAaMjMCEwDgYDVR0P\nAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAKCH\nautSxKsyZswUFip/0jmTSODqURpXL8AP6FK7dlU/QYWGyC4NnnyW14tD6z2Xx2d7\nKZyc7T7fSLBKz0ft1HMTT+Xc6G4JMK5gQR+NuIYh0ugM/Rt3oTqflp/9rUY5s2ca\nspnQlcye9+r9jmTnYUfWmai7coEQJU5yndoeaSEtxuWcGndzHSZZEqVEoWGLqBv3\nLPaXjoCJI04r6xlXG4vqC2uWlbKY5dssFxBWS3oOK4yPFHcQR9gtbApVvl6lPgUj\nAqISpmosaOUA+6POA0msLbIc8NuaGoYdpJ5FdvdN8pRopW34E3Pt/oFJ70254UrP\nMZUer/pK7HryjDjmmfA=\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-08T18:43:16Z", 
                                    "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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:125
ok: [openshift] => {
    "ansible_facts": {
        "session_secret": "sExJc4U123o64XlBmrYBmUEysy73LezgvlgBSllZU4ZqioHyjBUaADM2mzDTbBoDu2FDHMlAgwDBJD0JAGBaNvbonZnpyoNdr4viXejAX4pSMrazrxX3xR7VlMUKD4WfCrCKUDUbDXD23mQVtg9KYYp6k1HP0tA4VIzXyHbriXss3mo6Quo5Maqrvase7wh9Xowor70J"
    }, 
    "changed": false
}

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

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

TASK [openshift_logging_kibana : Set kibana-proxy oauth-client] ****************
task path: /tmp/tmp.VGsolkkWfi/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-08T18:43:06Z", 
                    "labels": {
                        "logging-infra": "support"
                    }, 
                    "name": "kibana-proxy", 
                    "resourceVersion": "1497", 
                    "selfLink": "/oapi/v1/oauthclients/kibana-proxy", 
                    "uid": "4f6c053d-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "redirectURIs": [
                    "https://kibana-ops.router.default.svc.cluster.local"
                ], 
                "scopeRestrictions": [
                    {
                        "literals": [
                            "user:info", 
                            "user:check-access", 
                            "user:list-projects"
                        ]
                    }
                ], 
                "secret": "tQNx8O1xH2KWKlXHAwtWY6jhpLECrUEOiFE4JtSB9hnCXYezN2jPxpxFRTl3TPf3"
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : Set Kibana secret] ****************************
task path: /tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:157
ok: [openshift] => {
    "changed": false, 
    "results": {
        "apiVersion": "v1", 
        "data": {
            "ca": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREU0TkRFME9Gb1hEVEl5TURZd056RTROREUwT1ZvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQUtzT2FGZmJGV0RTcE83cjJQMVd3RVFOVUlpcGF1TFFjeXRDeDB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kRMaU1JCkJ6KzZiN0dBY1NjYU1DUHVHUmpaTmVpVGpDUm1xN2p0WUM2VWh3d1daK1ExaHJvbW9sVmxkaGpBcTFXRjFKTmYKeHpPU2JqSVRnZFVXN0YxRlh1UWQxTmFXSmNVcGp3UXNFaTJQWFJJSDRXSXErdVpFSFR1c2RGTFpTTkVDZ1lFQQp5eFZ3ODhsQ29CWjVqVmtrTWFJNUtDelUrZG5CQVY0NlM1bUhPMjJ6b2IzRzlkMmtnSzRBTzBuelFDQ1VBekZZCkZUZnRPdEVNUkVwQUM3d25TV1A4UDZnem5haDAxQkNnN3lGaThOaXZ5bksxY1VYRzE3dU0xUSt4RFRlQkhhN20KSmV4SzZVWjZCY0dUeUdpVFA4SCthNGhKOVljcnY3NXJtRVFZUlpRejdUY0NnWUVBMHJ6NW5lY2ZMSUFFeFEzdQpqYzYrNXlFbmo3RHlTMUo1NmhRTFRtUHhidEFkcEJqcEgwT1NaNGxPM3FsVXVUREs5cFJsRzFqKzRqL1UvMVJjClo2aXdtajRrV0p6NjlSRkxJalBWNVdkdWpORW5kcFJEUm96cVJmRytzZjMyY1lGVzZKSnRWRmdBaDNHSTVGSkoKSnRnOFNPbVZwdVJqR1l2THhhVm9TNmM1aGU0PQotLS0tLUVORCBQUklWQVRFIEtFWS0tLS0tCg=="
        }, 
        "kind": "Secret", 
        "metadata": {
            "creationTimestamp": null, 
            "name": "logging-kibana"
        }, 
        "type": "Opaque"
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : Set Kibana Proxy secret] **********************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:197
changed: [openshift] => {
    "changed": true, 
    "checksum": "8f2f443264dc1482d791a14df149d993873f0947", 
    "dest": "/tmp/openshift-logging-ansible-wkOae3/templates/kibana-dc.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "026775d4f63da73dae15e6b4e8ae0ad8", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 3765, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496947400.86-135270275415538/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_kibana : Set Kibana DC] ********************************
task path: /tmp/tmp.VGsolkkWfi/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-08T18:43:21Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "kibana-ops", 
                        "logging-infra": "kibana", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-kibana-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1525", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-kibana-ops", 
                    "uid": "58f0cb09-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "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.234.171: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.13.130:8443"
                                        }, 
                                        {
                                            "name": "OAP_LOGOUT_REDIRECT", 
                                            "value": "https://172.18.13.130: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.234.171: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-08T18:43:22Z", 
                            "lastUpdateTime": "2017-06-08T18:43:22Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-08T18:43:22Z", 
                            "lastUpdateTime": "2017-06-08T18:43:22Z", 
                            "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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:228
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-wkOae3", 
    "state": "absent"
}

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

TASK [openshift_logging_curator : fail] ****************************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.002846", 
    "end": "2017-06-08 14:43:24.608726", 
    "rc": 0, 
    "start": "2017-06-08 14:43:24.605880"
}

STDOUT:

/tmp/openshift-logging-ansible-yh6Mxg

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

TASK [openshift_logging_curator : Create templates subdirectory] ***************
task path: /tmp/tmp.VGsolkkWfi/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-yh6Mxg/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.VGsolkkWfi/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.VGsolkkWfi/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-592q2"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T18:43:25Z", 
                    "name": "aggregated-logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1542", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-curator", 
                    "uid": "5b281fdd-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-curator-token-21btr"
                    }, 
                    {
                        "name": "aggregated-logging-curator-dockercfg-592q2"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_curator : copy] ****************************************
task path: /tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:41
ok: [openshift] => {
    "changed": false, 
    "checksum": "9008efd9a8892dcc42c28c6dfb6708527880a6d8", 
    "dest": "/tmp/openshift-logging-ansible-yh6Mxg/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-1496947406.31-247626679940463/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_curator : copy] ****************************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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-08T18:43:27Z", 
                    "name": "logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1558", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-curator", 
                    "uid": "5c0a13bc-4c7a-11e7-83c5-0e461e0c5e4a"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_curator : Set Curator secret] **************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:81
ok: [openshift] => {
    "changed": false, 
    "checksum": "321c76528d33d5dfc01cce7f1ccaa73a4a9f54b9", 
    "dest": "/tmp/openshift-logging-ansible-yh6Mxg/templates/curator-dc.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "c62ced425997b8a4879fd706f2fe8a3d", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 2341, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496947408.32-267012167159342/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_curator : Set Curator DC] ******************************
task path: /tmp/tmp.VGsolkkWfi/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-08T18:43:29Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "curator", 
                        "logging-infra": "curator", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1575", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-curator", 
                    "uid": "5d34551e-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "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.234.171: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-08T18:43:29Z", 
                            "lastUpdateTime": "2017-06-08T18:43:29Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-08T18:43:29Z", 
                            "lastUpdateTime": "2017-06-08T18:43:29Z", 
                            "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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:109
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-yh6Mxg", 
    "state": "absent"
}

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

TASK [openshift_logging_curator : fail] ****************************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.002143", 
    "end": "2017-06-08 14:43:31.877954", 
    "rc": 0, 
    "start": "2017-06-08 14:43:31.875811"
}

STDOUT:

/tmp/openshift-logging-ansible-k4uK9N

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

TASK [openshift_logging_curator : Create templates subdirectory] ***************
task path: /tmp/tmp.VGsolkkWfi/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-k4uK9N/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.VGsolkkWfi/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.VGsolkkWfi/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-592q2"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T18:43:25Z", 
                    "name": "aggregated-logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1542", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-curator", 
                    "uid": "5b281fdd-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-curator-token-21btr"
                    }, 
                    {
                        "name": "aggregated-logging-curator-dockercfg-592q2"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_curator : copy] ****************************************
task path: /tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:41
ok: [openshift] => {
    "changed": false, 
    "checksum": "9008efd9a8892dcc42c28c6dfb6708527880a6d8", 
    "dest": "/tmp/openshift-logging-ansible-k4uK9N/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-1496947412.72-190079686731101/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_curator : copy] ****************************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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-08T18:43:27Z", 
                    "name": "logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1558", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-curator", 
                    "uid": "5c0a13bc-4c7a-11e7-83c5-0e461e0c5e4a"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_curator : Set Curator secret] **************************
task path: /tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:62
ok: [openshift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FlBQ0tiSDk5cTRQREwvTmFPCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K"
        }, 
        "kind": "Secret", 
        "metadata": {
            "creationTimestamp": null, 
            "name": "logging-curator"
        }, 
        "type": "Opaque"
    }, 
    "state": "present"
}

TASK [openshift_logging_curator : set_fact] ************************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:81
ok: [openshift] => {
    "changed": false, 
    "checksum": "93fcfb00d7777053bd38851c52248c73d19e3a28", 
    "dest": "/tmp/openshift-logging-ansible-k4uK9N/templates/curator-dc.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "2685a97aa9ed69d0b50bdeb7044f5e76", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 2365, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496947414.6-274371965182920/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_curator : Set Curator DC] ******************************
task path: /tmp/tmp.VGsolkkWfi/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-08T18:43:35Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "curator-ops", 
                        "logging-infra": "curator", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-curator-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1620", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-curator-ops", 
                    "uid": "610629d9-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "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.234.171: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-08T18:43:35Z", 
                            "lastUpdateTime": "2017-06-08T18:43:35Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-08T18:43:35Z", 
                            "lastUpdateTime": "2017-06-08T18:43:35Z", 
                            "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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:109
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-k4uK9N", 
    "state": "absent"
}

TASK [openshift_logging : include_role] ****************************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:241
statically included: /tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_logging_fluentd/tasks/determine_version.yaml

TASK [openshift_logging_fluentd : fail] ****************************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.002023", 
    "end": "2017-06-08 14:43:39.374195", 
    "rc": 0, 
    "start": "2017-06-08 14:43:39.372172"
}

STDOUT:

/tmp/openshift-logging-ansible-HqGFFj

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

TASK [openshift_logging_fluentd : Create templates subdirectory] ***************
task path: /tmp/tmp.VGsolkkWfi/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-HqGFFj/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.VGsolkkWfi/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.VGsolkkWfi/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-l6gps"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T18:43:40Z", 
                    "name": "aggregated-logging-fluentd", 
                    "namespace": "logging", 
                    "resourceVersion": "1657", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-fluentd", 
                    "uid": "63ce02b3-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-fluentd-token-5f5s1"
                    }, 
                    {
                        "name": "aggregated-logging-fluentd-dockercfg-l6gps"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_fluentd : Set privileged permissions for Fluentd] ******
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:86
ok: [openshift] => {
    "changed": false, 
    "checksum": "a8c8596f5fc2c5dd7c8d33d244af17a2555be086", 
    "dest": "/tmp/openshift-logging-ansible-HqGFFj/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-1496947422.1-88729876180910/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_fluentd : copy] ****************************************
task path: /tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:94
ok: [openshift] => {
    "changed": false, 
    "checksum": "b3e75eddc4a0765edc77da092384c0c6f95440e1", 
    "dest": "/tmp/openshift-logging-ansible-HqGFFj/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-1496947422.46-1828260269649/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_fluentd : copy] ****************************************
task path: /tmp/tmp.VGsolkkWfi/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:100
ok: [openshift] => {
    "changed": false, 
    "checksum": "a3aa36da13f3108aa4ad5b98d4866007b44e9798", 
    "dest": "/tmp/openshift-logging-ansible-HqGFFj/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-1496947422.73-6521208743097/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_fluentd : copy] ****************************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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.VGsolkkWfi/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-08T18:43:43Z", 
                    "name": "logging-fluentd", 
                    "namespace": "logging", 
                    "resourceVersion": "1678", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-fluentd", 
                    "uid": "65d390b4-4c7a-11e7-83c5-0e461e0c5e4a"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_fluentd : Set logging-fluentd secret] ******************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:154
ok: [openshift] => {
    "changed": false, 
    "checksum": "13e1d297e2a312d2c27960e22c4de1b14aa77226", 
    "dest": "/tmp/openshift-logging-ansible-HqGFFj/templates/logging-fluentd.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "68ce25670233a9eace1a3cbd9d8d7d0c", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 3415, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496947424.59-63065843488287/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_fluentd : Set logging-fluentd daemonset] ***************
task path: /tmp/tmp.VGsolkkWfi/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-08T18:43:45Z", 
                    "generation": 1, 
                    "labels": {
                        "component": "fluentd", 
                        "logging-infra": "fluentd", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-fluentd", 
                    "namespace": "logging", 
                    "resourceVersion": "1687", 
                    "selfLink": "/apis/extensions/v1beta1/namespaces/logging/daemonsets/logging-fluentd", 
                    "uid": "66e728a7-4c7a-11e7-83c5-0e461e0c5e4a"
                }, 
                "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.234.171: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.VGsolkkWfi/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-08T18:26:46Z", 
                            "labels": {
                                "beta.kubernetes.io/arch": "amd64", 
                                "beta.kubernetes.io/os": "linux", 
                                "kubernetes.io/hostname": "172.18.13.130"
                            }, 
                            "name": "172.18.13.130", 
                            "namespace": "", 
                            "resourceVersion": "1666", 
                            "selfLink": "/api/v1/nodes/172.18.13.130", 
                            "uid": "07b6bb32-4c78-11e7-83c5-0e461e0c5e4a"
                        }, 
                        "spec": {
                            "externalID": "172.18.13.130", 
                            "providerID": "aws:////i-0cb486833790eb609"
                        }, 
                        "status": {
                            "addresses": [
                                {
                                    "address": "172.18.13.130", 
                                    "type": "LegacyHostIP"
                                }, 
                                {
                                    "address": "172.18.13.130", 
                                    "type": "InternalIP"
                                }, 
                                {
                                    "address": "172.18.13.130", 
                                    "type": "Hostname"
                                }
                            ], 
                            "allocatable": {
                                "cpu": "4", 
                                "memory": "7129288Ki", 
                                "pods": "40"
                            }, 
                            "capacity": {
                                "cpu": "4", 
                                "memory": "7231688Ki", 
                                "pods": "40"
                            }, 
                            "conditions": [
                                {
                                    "lastHeartbeatTime": "2017-06-08T18:43:41Z", 
                                    "lastTransitionTime": "2017-06-08T18:26:46Z", 
                                    "message": "kubelet has sufficient disk space available", 
                                    "reason": "KubeletHasSufficientDisk", 
                                    "status": "False", 
                                    "type": "OutOfDisk"
                                }, 
                                {
                                    "lastHeartbeatTime": "2017-06-08T18:43:41Z", 
                                    "lastTransitionTime": "2017-06-08T18:26:46Z", 
                                    "message": "kubelet has sufficient memory available", 
                                    "reason": "KubeletHasSufficientMemory", 
                                    "status": "False", 
                                    "type": "MemoryPressure"
                                }, 
                                {
                                    "lastHeartbeatTime": "2017-06-08T18:43:41Z", 
                                    "lastTransitionTime": "2017-06-08T18:26:46Z", 
                                    "message": "kubelet has no disk pressure", 
                                    "reason": "KubeletHasNoDiskPressure", 
                                    "status": "False", 
                                    "type": "DiskPressure"
                                }, 
                                {
                                    "lastHeartbeatTime": "2017-06-08T18:43:41Z", 
                                    "lastTransitionTime": "2017-06-08T18:26:46Z", 
                                    "message": "kubelet is posting ready status", 
                                    "reason": "KubeletReady", 
                                    "status": "True", 
                                    "type": "Ready"
                                }
                            ], 
                            "daemonEndpoints": {
                                "kubeletEndpoint": {
                                    "Port": 10250
                                }
                            }, 
                            "images": [
                                {
                                    "names": [
                                        "openshift/origin-federation:6acabdc", 
                                        "openshift/origin-federation:latest"
                                    ], 
                                    "sizeBytes": 1205885664
                                }, 
                                {
                                    "names": [
                                        "docker.io/openshift/origin-docker-registry@sha256:ae8bef1a8222265fb34dd33dc434c766e63d492522798038f4c15bcf67e0fde2", 
                                        "docker.io/openshift/origin-docker-registry:latest"
                                    ], 
                                    "sizeBytes": 1100553430
                                }, 
                                {
                                    "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/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:6acabdc", 
                                        "openshift/origin:latest"
                                    ], 
                                    "sizeBytes": 1001728427
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-recycler:6acabdc", 
                                        "openshift/origin-recycler:latest"
                                    ], 
                                    "sizeBytes": 1001728427
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-docker-builder:6acabdc", 
                                        "openshift/origin-docker-builder:latest"
                                    ], 
                                    "sizeBytes": 1001728427
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-sti-builder:6acabdc", 
                                        "openshift/origin-sti-builder:latest"
                                    ], 
                                    "sizeBytes": 1001728427
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-deployer:6acabdc", 
                                        "openshift/origin-deployer: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.234.171:5000/logging/logging-auth-proxy@sha256:3f3af622829e8ceaea16d328da6c67e773779bc992090a27dc54284a7379b140", 
                                        "172.30.234.171: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": [
                                        "172.30.234.171:5000/logging/logging-kibana@sha256:96d507c0e0f09486a012d469fab04456923e550811a273037c173848f8043dee", 
                                        "172.30.234.171:5000/logging/logging-kibana:latest"
                                    ], 
                                    "sizeBytes": 682851502
                                }, 
                                {
                                    "names": [
                                        "openshift/dind:latest"
                                    ], 
                                    "sizeBytes": 640650210
                                }, 
                                {
                                    "names": [
                                        "172.30.234.171:5000/logging/logging-elasticsearch@sha256:8023fb8bf4990603b8a174e05eb8296e9dea89e561fd3332033d093382fa881b", 
                                        "172.30.234.171:5000/logging/logging-elasticsearch:latest"
                                    ], 
                                    "sizeBytes": 623379791
                                }, 
                                {
                                    "names": [
                                        "172.30.234.171:5000/logging/logging-fluentd@sha256:992f9887c462a55548d9ef58efd576d8170cbc35fcf4502368473abf5f0f54ea", 
                                        "172.30.234.171:5000/logging/logging-fluentd:latest"
                                    ], 
                                    "sizeBytes": 472182624
                                }, 
                                {
                                    "names": [
                                        "172.30.234.171:5000/logging/logging-curator@sha256:063d428db5dbd3fc888e2ae28e03e6c69d5a3e13881c8e4eff2a17abe3141e8b", 
                                        "172.30.234.171:5000/logging/logging-curator:latest"
                                    ], 
                                    "sizeBytes": 418287809
                                }, 
                                {
                                    "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/fedora@sha256:69281ddd7b2600e5f2b17f1e12d7fba25207f459204fb2d15884f8432c479136", 
                                        "docker.io/fedora:25"
                                    ], 
                                    "sizeBytes": 230864375
                                }, 
                                {
                                    "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": [
                                        "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": "c6661071-d212-40f2-8ee1-5eab2f9f287c", 
                                "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": "EC240B3F-3336-FAE9-1507-2B5488B1CBAD"
                            }
                        }
                    }
                ], 
                "kind": "List", 
                "metadata": {}, 
                "resourceVersion": "", 
                "selfLink": ""
            }
        ], 
        "returncode": 0
    }, 
    "state": "list"
}

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

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

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

TASK [openshift_logging_fluentd : command] *************************************
task path: /tmp/tmp.VGsolkkWfi/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.502626", 
    "end": "2017-06-08 14:43:47.998612", 
    "rc": 0, 
    "start": "2017-06-08 14:43:47.495986"
}

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

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

TASK [openshift_logging : include] *********************************************
task path: /tmp/tmp.VGsolkkWfi/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.VGsolkkWfi/openhift-ansible/roles/openshift_logging/tasks/main.yaml:40
ok: [openshift -> 127.0.0.1] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-KzRkQ9", 
    "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.334s: /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-zbfzxdm0-1-w1lc1   1/1       Running   0          57s

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.221s: /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-86619   2/2       Running   0          37s

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.261s: /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-wpwwc   1/1       Running   0          17s

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.260s: /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-uuh5lj98-1-vbdzx   1/1       Running   0          51s

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.219s: /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-5pgwp   2/2       Running   0          25s

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.234s: /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-5bmg1   1/1       Running   0          12s

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.228s: /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.234.171: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-08 18:44:02.446970847+00:00
added es message d573691f-70a4-4962-95db-ce9058441afe
added es-ops message d5f0aafc-69af-4081-a1e4-49c9c6c52df4
good - wait_for_fluentd_to_catch_up: found 1 record project logging for d573691f-70a4-4962-95db-ce9058441afe
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for d5f0aafc-69af-4081-a1e4-49c9c6c52df4
END wait_for_fluentd_to_catch_up took 12 seconds at 2017-06-08 18:44:14.286130495+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.250s: /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.228s: /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.13.130: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.263s: /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.259s: /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.221s: /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.13.130: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.527s: /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.219s: /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-zbfzxdm0-1-w1lc1 is ready
{
    "_id": "0",
    "_index": ".searchguard.logging-es-data-master-zbfzxdm0-1-w1lc1",
    "_shards": {
        "failed": 0,
        "successful": 1,
        "total": 1
    },
    "_type": "rolesmapping",
    "_version": 2,
    "created": false
}
Checking if Elasticsearch logging-es-ops-data-master-uuh5lj98-1-vbdzx is ready
{
    "_id": "0",
    "_index": ".searchguard.logging-es-ops-data-master-uuh5lj98-1-vbdzx",
    "_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.010s: /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.011s: /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.260s: 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.13.130: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.233s: 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.218s: 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.207s: 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.229s: 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.216s: 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.205s: 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-zbfzxdm0' expecting success...
SUCCESS after 0.206s: test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-es-data-master-zbfzxdm0' expecting success
Standard output from the command:
NAME                              REVISION   DESIRED   CURRENT   TRIGGERED BY
logging-es-data-master-zbfzxdm0   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-zbfzxdm0' expecting success...
SUCCESS after 0.205s: test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-es-data-master-zbfzxdm0' expecting success
Standard output from the command:
replication controller "logging-es-data-master-zbfzxdm0-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-uuh5lj98' expecting success...
SUCCESS after 0.217s: test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-es-ops-data-master-uuh5lj98' expecting success
Standard output from the command:
NAME                                  REVISION   DESIRED   CURRENT   TRIGGERED BY
logging-es-ops-data-master-uuh5lj98   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-uuh5lj98' expecting success...
SUCCESS after 0.253s: test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-es-ops-data-master-uuh5lj98' expecting success
Standard output from the command:
replication controller "logging-es-ops-data-master-uuh5lj98-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.221s: 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.207s: 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.209s: 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.160.38   <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.220s: 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.104.219   <none>        9300/TCP   1m

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.241s: 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.73.78   <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.208s: 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.55.129   <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.209s: 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.249.104   <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.215s: 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.29.147   <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.220s: 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   tQNx8O1xH2KWKlXHAwtWY6jhpLECrUEOiFE4JtSB9hnCXYezN2jPxpxFRTl3TPf3   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.290s: 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   53s

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.225s: 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.229s: 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.224s: test/cluster/functionality.sh:44: executing 'oc login --username=system:admin' expecting success
Standard output from the command:
Logged into "https://172.18.13.130: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.213s: 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.13.130:8443".

There was no error output from the command.
[INFO] Testing Kibana pod logging-kibana-1-86619 for a successful start...
Running test/cluster/functionality.sh:52: executing 'oc exec logging-kibana-1-86619 -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.321s: test/cluster/functionality.sh:52: executing 'oc exec logging-kibana-1-86619 -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-86619 -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.214s: test/cluster/functionality.sh:53: executing 'oc get pod logging-kibana-1-86619 -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-86619 -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.212s: test/cluster/functionality.sh:54: executing 'oc get pod logging-kibana-1-86619 -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-zbfzxdm0-1-w1lc1 for a successful start...
Running test/cluster/functionality.sh:59: executing 'curl_es 'logging-es-data-master-zbfzxdm0-1-w1lc1' '/' -X HEAD -w '%{response_code}'' expecting any result and text '200'; re-trying every 0.2s until completion or 600.000s...
SUCCESS after 0.381s: test/cluster/functionality.sh:59: executing 'curl_es 'logging-es-data-master-zbfzxdm0-1-w1lc1' '/' -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-zbfzxdm0-1-w1lc1 -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.212s: test/cluster/functionality.sh:60: executing 'oc get pod logging-es-data-master-zbfzxdm0-1-w1lc1 -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-zbfzxdm0-1-w1lc1 recovered its indices after starting...
Running test/cluster/functionality.sh:63: executing 'curl_es 'logging-es-data-master-zbfzxdm0-1-w1lc1' '/_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.373s: test/cluster/functionality.sh:63: executing 'curl_es 'logging-es-data-master-zbfzxdm0-1-w1lc1' '/_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":"7_uKs2ctRF6jBzBnZew-HQ"}200
There was no error output from the command.
[INFO] Elasticsearch pod logging-es-data-master-zbfzxdm0-1-w1lc1 is the master
[INFO] Checking that Elasticsearch pod logging-es-data-master-zbfzxdm0-1-w1lc1 has persisted indices created by Fluentd...
Running test/cluster/functionality.sh:76: executing 'curl_es 'logging-es-data-master-zbfzxdm0-1-w1lc1' '/_cat/indices?h=index'' expecting any result and text '^(project|\.operations)\.'; re-trying every 0.2s until completion or 600.000s...
SUCCESS after 0.371s: test/cluster/functionality.sh:76: executing 'curl_es 'logging-es-data-master-zbfzxdm0-1-w1lc1' '/_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.default.048a4c6d-4c78-11e7-83c5-0e461e0c5e4a.2017.06.08 
.searchguard.logging-es-data-master-zbfzxdm0-1-w1lc1            
.kibana                                                         
project.logging.08f9acb3-4c78-11e7-83c5-0e461e0c5e4a.2017.06.08 

There was no error output from the command.
[INFO] Cheking for index project.default.048a4c6d-4c78-11e7-83c5-0e461e0c5e4a with Kibana pod logging-kibana-1-86619...
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-86619' 'logging-es:9200' 'project.default.048a4c6d-4c78-11e7-83c5-0e461e0c5e4a' '/var/log/containers/*_048a4c6d-4c78-11e7-83c5-0e461e0c5e4a_*.log' '500' 'admin' 'a5MdJZfeJu9oNhNIIaOCY2Zh2qU7aEaEDKthHiMtr6E' '127.0.0.1'' expecting success...
SUCCESS after 27.305s: 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-86619' 'logging-es:9200' 'project.default.048a4c6d-4c78-11e7-83c5-0e461e0c5e4a' '/var/log/containers/*_048a4c6d-4c78-11e7-83c5-0e461e0c5e4a_*.log' '500' 'admin' 'a5MdJZfeJu9oNhNIIaOCY2Zh2qU7aEaEDKthHiMtr6E' '127.0.0.1'' expecting success
Standard output from the command:
Executing command [oc exec logging-kibana-1-86619 -- 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 a5MdJZfeJu9oNhNIIaOCY2Zh2qU7aEaEDKthHiMtr6E' -H 'X-Forwarded-For: 127.0.0.1' -XGET "https://logging-es:9200/project.default.048a4c6d-4c78-11e7-83c5-0e461e0c5e4a.*/_search?q=hostname:ip-172-18-13-130&fields=message&size=500"]
Failure - no log entries found in Elasticsearch logging-es:9200 for index project.default.048a4c6d-4c78-11e7-83c5-0e461e0c5e4a

There was no error output from the command.
[INFO] Cheking for index project.logging.08f9acb3-4c78-11e7-83c5-0e461e0c5e4a with Kibana pod logging-kibana-1-86619...
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-86619' 'logging-es:9200' 'project.logging.08f9acb3-4c78-11e7-83c5-0e461e0c5e4a' '/var/log/containers/*_08f9acb3-4c78-11e7-83c5-0e461e0c5e4a_*.log' '500' 'admin' 'a5MdJZfeJu9oNhNIIaOCY2Zh2qU7aEaEDKthHiMtr6E' '127.0.0.1'' expecting success...
SUCCESS after 0.566s: 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-86619' 'logging-es:9200' 'project.logging.08f9acb3-4c78-11e7-83c5-0e461e0c5e4a' '/var/log/containers/*_08f9acb3-4c78-11e7-83c5-0e461e0c5e4a_*.log' '500' 'admin' 'a5MdJZfeJu9oNhNIIaOCY2Zh2qU7aEaEDKthHiMtr6E' '127.0.0.1'' expecting success
Standard output from the command:
Executing command [oc exec logging-kibana-1-86619 -- 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 a5MdJZfeJu9oNhNIIaOCY2Zh2qU7aEaEDKthHiMtr6E' -H 'X-Forwarded-For: 127.0.0.1' -XGET "https://logging-es:9200/project.logging.08f9acb3-4c78-11e7-83c5-0e461e0c5e4a.*/_search?q=hostname:ip-172-18-13-130&fields=message&size=500"]
Failure - no log entries found in Elasticsearch logging-es:9200 for index project.logging.08f9acb3-4c78-11e7-83c5-0e461e0c5e4a

There was no error output from the command.
[INFO] Checking that Elasticsearch pod logging-es-data-master-zbfzxdm0-1-w1lc1 contains common data model index templates...
Running test/cluster/functionality.sh:105: executing 'oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- ls -1 /usr/share/elasticsearch/index_templates' expecting success...
SUCCESS after 0.471s: test/cluster/functionality.sh:105: executing 'oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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-zbfzxdm0-1-w1lc1' '/_template/com.redhat.viaq-openshift-operations.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'...
SUCCESS after 0.364s: test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-data-master-zbfzxdm0-1-w1lc1' '/_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-zbfzxdm0-1-w1lc1' '/_template/com.redhat.viaq-openshift-project.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'...
SUCCESS after 0.357s: test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-data-master-zbfzxdm0-1-w1lc1' '/_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.230s: 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.227s: test/cluster/functionality.sh:44: executing 'oc login --username=system:admin' expecting success
Standard output from the command:
Logged into "https://172.18.13.130: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.211s: 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.13.130:8443".

There was no error output from the command.
[INFO] Testing Kibana pod logging-kibana-ops-1-5pgwp for a successful start...
Running test/cluster/functionality.sh:52: executing 'oc exec logging-kibana-ops-1-5pgwp -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.282s: test/cluster/functionality.sh:52: executing 'oc exec logging-kibana-ops-1-5pgwp -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-5pgwp -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.268s: test/cluster/functionality.sh:53: executing 'oc get pod logging-kibana-ops-1-5pgwp -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-5pgwp -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.243s: test/cluster/functionality.sh:54: executing 'oc get pod logging-kibana-ops-1-5pgwp -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-uuh5lj98-1-vbdzx for a successful start...
Running test/cluster/functionality.sh:59: executing 'curl_es 'logging-es-ops-data-master-uuh5lj98-1-vbdzx' '/' -X HEAD -w '%{response_code}'' expecting any result and text '200'; re-trying every 0.2s until completion or 600.000s...
SUCCESS after 0.359s: test/cluster/functionality.sh:59: executing 'curl_es 'logging-es-ops-data-master-uuh5lj98-1-vbdzx' '/' -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-uuh5lj98-1-vbdzx -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.216s: test/cluster/functionality.sh:60: executing 'oc get pod logging-es-ops-data-master-uuh5lj98-1-vbdzx -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-uuh5lj98-1-vbdzx recovered its indices after starting...
Running test/cluster/functionality.sh:63: executing 'curl_es 'logging-es-ops-data-master-uuh5lj98-1-vbdzx' '/_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.386s: test/cluster/functionality.sh:63: executing 'curl_es 'logging-es-ops-data-master-uuh5lj98-1-vbdzx' '/_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":"qyVe9fgTQcmhNiKNwPxHmg"}200
There was no error output from the command.
[INFO] Elasticsearch pod logging-es-ops-data-master-uuh5lj98-1-vbdzx is the master
[INFO] Checking that Elasticsearch pod logging-es-ops-data-master-uuh5lj98-1-vbdzx has persisted indices created by Fluentd...
Running test/cluster/functionality.sh:76: executing 'curl_es 'logging-es-ops-data-master-uuh5lj98-1-vbdzx' '/_cat/indices?h=index'' expecting any result and text '^(project|\.operations)\.'; re-trying every 0.2s until completion or 600.000s...
SUCCESS after 0.375s: test/cluster/functionality.sh:76: executing 'curl_es 'logging-es-ops-data-master-uuh5lj98-1-vbdzx' '/_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.08                                   
.searchguard.logging-es-ops-data-master-uuh5lj98-1-vbdzx 
.kibana                                                  

There was no error output from the command.
[INFO] Cheking for index .operations with Kibana pod logging-kibana-ops-1-5pgwp...
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-5pgwp' 'logging-es-ops:9200' '.operations' '/var/log/messages' '500' 'admin' 'o4W1J0Mf2fItkUwsMLDkYCH1Yt7OhPjG3pipd8H3uv0' '127.0.0.1'' expecting success...
SUCCESS after 0.832s: 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-5pgwp' 'logging-es-ops:9200' '.operations' '/var/log/messages' '500' 'admin' 'o4W1J0Mf2fItkUwsMLDkYCH1Yt7OhPjG3pipd8H3uv0' '127.0.0.1'' expecting success
Standard output from the command:
Executing command [oc exec logging-kibana-ops-1-5pgwp -- 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 o4W1J0Mf2fItkUwsMLDkYCH1Yt7OhPjG3pipd8H3uv0' -H 'X-Forwarded-For: 127.0.0.1' -XGET "https://logging-es-ops:9200/.operations.*/_search?q=hostname:ip-172-18-13-130&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-uuh5lj98-1-vbdzx contains common data model index templates...
Running test/cluster/functionality.sh:105: executing 'oc exec logging-es-ops-data-master-uuh5lj98-1-vbdzx -- ls -1 /usr/share/elasticsearch/index_templates' expecting success...
SUCCESS after 0.313s: test/cluster/functionality.sh:105: executing 'oc exec logging-es-ops-data-master-uuh5lj98-1-vbdzx -- 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-uuh5lj98-1-vbdzx' '/_template/com.redhat.viaq-openshift-operations.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'...
SUCCESS after 0.358s: test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-ops-data-master-uuh5lj98-1-vbdzx' '/_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-uuh5lj98-1-vbdzx' '/_template/com.redhat.viaq-openshift-project.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'...
SUCCESS after 0.370s: test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-ops-data-master-uuh5lj98-1-vbdzx' '/_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.08
.searchguard.logging-es-data-master-zbfzxdm0-1-w1lc1
default-index.curatortest.2017.05.08
default-index.curatortest.2017.06.08
project.default.048a4c6d-4c78-11e7-83c5-0e461e0c5e4a.2017.06.08
project.logging.08f9acb3-4c78-11e7-83c5-0e461e0c5e4a.2017.06.08
project.project-dev.curatortest.2017.06.07
project.project-dev.curatortest.2017.06.08
project.project-prod.curatortest.2017.05.11
project.project-prod.curatortest.2017.06.08
project.project-qe.curatortest.2017.06.01
project.project-qe.curatortest.2017.06.08
project.project2-qe.curatortest.2017.06.01
project.project2-qe.curatortest.2017.06.08
project.project3-qe.curatortest.2017.06.01
project.project3-qe.curatortest.2017.06.08
Thu Jun  8 18:51:15 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.08
.searchguard.logging-es-data-master-zbfzxdm0-1-w1lc1
default-index.curatortest.2017.06.08
project.default.048a4c6d-4c78-11e7-83c5-0e461e0c5e4a.2017.06.08
project.logging.08f9acb3-4c78-11e7-83c5-0e461e0c5e4a.2017.06.08
project.project-dev.curatortest.2017.06.08
project.project-prod.curatortest.2017.06.08
project.project-qe.curatortest.2017.06.08
project.project2-qe.curatortest.2017.06.08
project.project3-qe.curatortest.2017.06.08
good - index project.project-dev.curatortest.2017.06.08 is present
good - index project.project-dev.curatortest.2017.06.07 is missing
good - index project.project-qe.curatortest.2017.06.08 is present
good - index project.project-qe.curatortest.2017.06.01 is missing
good - index project.project-prod.curatortest.2017.06.08 is present
good - index project.project-prod.curatortest.2017.05.11 is missing
good - index .operations.curatortest.2017.06.08 is present
good - index .operations.curatortest.2017.03.31 is missing
good - index default-index.curatortest.2017.06.08 is present
good - index default-index.curatortest.2017.05.08 is missing
good - index project.project2-qe.curatortest.2017.06.08 is present
good - index project.project2-qe.curatortest.2017.06.01 is missing
good - index project.project3-qe.curatortest.2017.06.08 is present
good - index project.project3-qe.curatortest.2017.06.01 is missing
current indices before 2nd deletion are:
.kibana
.kibana.d033e22ae348aeb5660fc2140aec35850c4da997
.operations.curatortest.2017.03.31
.operations.curatortest.2017.06.08
.searchguard.logging-es-data-master-zbfzxdm0-1-w1lc1
default-index.curatortest.2017.05.08
default-index.curatortest.2017.06.08
project.default.048a4c6d-4c78-11e7-83c5-0e461e0c5e4a.2017.06.08
project.logging.08f9acb3-4c78-11e7-83c5-0e461e0c5e4a.2017.06.08
project.project-dev.curatortest.2017.06.07
project.project-dev.curatortest.2017.06.08
project.project-prod.curatortest.2017.05.11
project.project-prod.curatortest.2017.06.08
project.project-qe.curatortest.2017.06.01
project.project-qe.curatortest.2017.06.08
project.project2-qe.curatortest.2017.06.01
project.project2-qe.curatortest.2017.06.08
project.project3-qe.curatortest.2017.06.01
project.project3-qe.curatortest.2017.06.08
sleeping 223 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.08
.searchguard.logging-es-data-master-zbfzxdm0-1-w1lc1
default-index.curatortest.2017.06.08
project.default.048a4c6d-4c78-11e7-83c5-0e461e0c5e4a.2017.06.08
project.logging.08f9acb3-4c78-11e7-83c5-0e461e0c5e4a.2017.06.08
project.project-dev.curatortest.2017.06.08
project.project-prod.curatortest.2017.06.08
project.project-qe.curatortest.2017.06.08
project.project2-qe.curatortest.2017.06.08
project.project3-qe.curatortest.2017.06.08
good - index project.project-dev.curatortest.2017.06.08 is present
good - index project.project-dev.curatortest.2017.06.07 is missing
good - index project.project-qe.curatortest.2017.06.08 is present
good - index project.project-qe.curatortest.2017.06.01 is missing
good - index project.project-prod.curatortest.2017.06.08 is present
good - index project.project-prod.curatortest.2017.05.11 is missing
good - index .operations.curatortest.2017.06.08 is present
good - index .operations.curatortest.2017.03.31 is missing
good - index default-index.curatortest.2017.06.08 is present
good - index default-index.curatortest.2017.05.08 is missing
good - index project.project2-qe.curatortest.2017.06.08 is present
good - index project.project2-qe.curatortest.2017.06.01 is missing
good - index project.project3-qe.curatortest.2017.06.08 is present
good - index project.project3-qe.curatortest.2017.06.01 is missing
current indices before 1st deletion are:
.kibana
.kibana.d033e22ae348aeb5660fc2140aec35850c4da997
.operations.2017.06.08
.operations.curatortest.2017.03.31
.operations.curatortest.2017.06.08
.searchguard.logging-es-ops-data-master-uuh5lj98-1-vbdzx
default-index.curatortest.2017.05.08
default-index.curatortest.2017.06.08
project.project-dev.curatortest.2017.06.07
project.project-dev.curatortest.2017.06.08
project.project-prod.curatortest.2017.05.11
project.project-prod.curatortest.2017.06.08
project.project-qe.curatortest.2017.06.01
project.project-qe.curatortest.2017.06.08
project.project2-qe.curatortest.2017.06.01
project.project2-qe.curatortest.2017.06.08
project.project3-qe.curatortest.2017.06.01
project.project3-qe.curatortest.2017.06.08
Thu Jun  8 18:56:38 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.08
.operations.curatortest.2017.06.08
.searchguard.logging-es-ops-data-master-uuh5lj98-1-vbdzx
default-index.curatortest.2017.06.08
project.project-dev.curatortest.2017.06.08
project.project-prod.curatortest.2017.06.08
project.project-qe.curatortest.2017.06.08
project.project2-qe.curatortest.2017.06.08
project.project3-qe.curatortest.2017.06.08
good - index project.project-dev.curatortest.2017.06.08 is present
good - index project.project-dev.curatortest.2017.06.07 is missing
good - index project.project-qe.curatortest.2017.06.08 is present
good - index project.project-qe.curatortest.2017.06.01 is missing
good - index project.project-prod.curatortest.2017.06.08 is present
good - index project.project-prod.curatortest.2017.05.11 is missing
good - index .operations.curatortest.2017.06.08 is present
good - index .operations.curatortest.2017.03.31 is missing
good - index default-index.curatortest.2017.06.08 is present
good - index default-index.curatortest.2017.05.08 is missing
good - index project.project2-qe.curatortest.2017.06.08 is present
good - index project.project2-qe.curatortest.2017.06.01 is missing
good - index project.project3-qe.curatortest.2017.06.08 is present
good - index project.project3-qe.curatortest.2017.06.01 is missing
current indices before 2nd deletion are:
.kibana
.kibana.d033e22ae348aeb5660fc2140aec35850c4da997
.operations.2017.06.08
.operations.curatortest.2017.03.31
.operations.curatortest.2017.06.08
.searchguard.logging-es-ops-data-master-uuh5lj98-1-vbdzx
default-index.curatortest.2017.05.08
default-index.curatortest.2017.06.08
project.project-dev.curatortest.2017.06.07
project.project-dev.curatortest.2017.06.08
project.project-prod.curatortest.2017.05.11
project.project-prod.curatortest.2017.06.08
project.project-qe.curatortest.2017.06.01
project.project-qe.curatortest.2017.06.08
project.project2-qe.curatortest.2017.06.01
project.project2-qe.curatortest.2017.06.08
project.project3-qe.curatortest.2017.06.01
project.project3-qe.curatortest.2017.06.08
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.08
.operations.curatortest.2017.06.08
.searchguard.logging-es-ops-data-master-uuh5lj98-1-vbdzx
default-index.curatortest.2017.06.08
project.project-dev.curatortest.2017.06.08
project.project-prod.curatortest.2017.06.08
project.project-qe.curatortest.2017.06.08
project.project2-qe.curatortest.2017.06.08
project.project3-qe.curatortest.2017.06.08
good - index project.project-dev.curatortest.2017.06.08 is present
good - index project.project-dev.curatortest.2017.06.07 is missing
good - index project.project-qe.curatortest.2017.06.08 is present
good - index project.project-qe.curatortest.2017.06.01 is missing
good - index project.project-prod.curatortest.2017.06.08 is present
good - index project.project-prod.curatortest.2017.05.11 is missing
good - index .operations.curatortest.2017.06.08 is present
good - index .operations.curatortest.2017.03.31 is missing
good - index default-index.curatortest.2017.06.08 is present
good - index default-index.curatortest.2017.05.08 is missing
good - index project.project2-qe.curatortest.2017.06.08 is present
good - index project.project2-qe.curatortest.2017.06.01 is missing
good - index project.project3-qe.curatortest.2017.06.08 is present
good - index project.project3-qe.curatortest.2017.06.01 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=RRwYgZ2xzeRm9P-3ShyCG-8LSQSaaT5YwWrrJUxe_p8
+++ 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-xwz7k
+++ date +%z
++ nodetz=-0400
+++ oc exec logging-fluentd-xwz7k -- 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=TeIe5h0P0Q02oJfdeN4TlpiIMeEqCI5YYqXIre5i9Hk
+++ 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-xwz7k
+++ mktemp
++ cfg=/tmp/tmp.o9OH5UILLP
++ 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-xwz7k
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-xwz7k
++ '[' -z logging-fluentd-xwz7k -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-xwz7k
++ '[' 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-vjftn
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-vjftn ']'
++ 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-vjftn
+++ mktemp
++ origconfig=/tmp/tmp.VRX0Fdl0z9
++ 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=1496948833
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 19:07:13.259340441+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 19:07:13.259340441+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-zbfzxdm0-1-w1lc1
+++ 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-uuh5lj98-1-vbdzx
++ '[' -z logging-es-ops-data-master-uuh5lj98-1-vbdzx ']'
+++ uuidgen
++ local uuid_es=2a2edb95-b4a0-4243-b3c5-a4395fbe00bb
+++ uuidgen
++ local uuid_es_ops=d8b4ae7f-d38f-463c-b278-7f7ab4bbe5e3
++ local expected=1
++ local timeout=300
++ add_test_message 2a2edb95-b4a0-4243-b3c5-a4395fbe00bb
+++ 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-86619
++ oc exec logging-kibana-1-86619 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/2a2edb95-b4a0-4243-b3c5-a4395fbe00bb
++ echo added es message 2a2edb95-b4a0-4243-b3c5-a4395fbe00bb
added es message 2a2edb95-b4a0-4243-b3c5-a4395fbe00bb
++ logger -i -p local6.info -t d8b4ae7f-d38f-463c-b278-7f7ab4bbe5e3 d8b4ae7f-d38f-463c-b278-7f7ab4bbe5e3
added es-ops message d8b4ae7f-d38f-463c-b278-7f7ab4bbe5e3
++ echo added es-ops message d8b4ae7f-d38f-463c-b278-7f7ab4bbe5e3
++ local rc=0
++ espod=logging-es-data-master-zbfzxdm0-1-w1lc1
++ myproject=project.logging
++ mymessage=2a2edb95-b4a0-4243-b3c5-a4395fbe00bb
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 2a2edb95-b4a0-4243-b3c5-a4395fbe00bb
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 2a2edb95-b4a0-4243-b3c5-a4395fbe00bb
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 2a2edb95-b4a0-4243-b3c5-a4395fbe00bb
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 2a2edb95-b4a0-4243-b3c5-a4395fbe00bb
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 2a2edb95-b4a0-4243-b3c5-a4395fbe00bb
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 2a2edb95-b4a0-4243-b3c5-a4395fbe00bb
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 2a2edb95-b4a0-4243-b3c5-a4395fbe00bb
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 2a2edb95-b4a0-4243-b3c5-a4395fbe00bb
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 2a2edb95-b4a0-4243-b3c5-a4395fbe00bb
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:2a2edb95-b4a0-4243-b3c5-a4395fbe00bb'
++ 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 2a2edb95-b4a0-4243-b3c5-a4395fbe00bb
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 2a2edb95-b4a0-4243-b3c5-a4395fbe00bb
++ espod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
++ myproject=.operations
++ mymessage=d8b4ae7f-d38f-463c-b278-7f7ab4bbe5e3
++ 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-uuh5lj98-1-vbdzx .operations _count systemd.u.SYSLOG_IDENTIFIER d8b4ae7f-d38f-463c-b278-7f7ab4bbe5e3
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-uuh5lj98-1-vbdzx '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:d8b4ae7f-d38f-463c-b278-7f7ab4bbe5e3' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:d8b4ae7f-d38f-463c-b278-7f7ab4bbe5e3'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-uuh5lj98-1-vbdzx -- 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:d8b4ae7f-d38f-463c-b278-7f7ab4bbe5e3'
++ 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 d8b4ae7f-d38f-463c-b278-7f7ab4bbe5e3
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for d8b4ae7f-d38f-463c-b278-7f7ab4bbe5e3
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496948845
+++ expr 1496948845 - 1496948833
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 12 seconds at 2017-06-08 19:07:25.976270079+00:00
++ echo END wait_for_fluentd_to_catch_up took 12 seconds at 2017-06-08 19:07:25.976270079+00:00
++ return 0
++ '[' 0 -ne 0 ']'
++ return 0
++ trap cleanup INT TERM EXIT
+++ mktemp
++ nocopy=/tmp/tmp.fYqbjBKhKD
++ sed /_COPY/,/value/d /tmp/tmp.VRX0Fdl0z9
+++ mktemp
++ envpatch=/tmp/tmp.fjXM7fBcRe
++ 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.fYqbjBKhKD
++ cat
++ cat /tmp/tmp.fYqbjBKhKD
++ sed '/^        - env:/r /tmp/tmp.fjXM7fBcRe'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.fjXM7fBcRe /tmp/tmp.fYqbjBKhKD
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-vjftn
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-vjftn
++ '[' -z logging-fluentd-vjftn -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-vjftn
++ '[' 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-shmvg
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-shmvg ']'
++ 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-shmvg
++ write_and_verify_logs 2
++ rc=0
++ wait_for_fluentd_to_catch_up '' '' 2
+++ date +%s
++ local starttime=1496948864
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 19:07:44.511998193+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 19:07:44.511998193+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-zbfzxdm0-1-w1lc1
+++ 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-uuh5lj98-1-vbdzx
++ '[' -z logging-es-ops-data-master-uuh5lj98-1-vbdzx ']'
+++ uuidgen
++ local uuid_es=9d7227cb-e9af-40ad-bd93-04d6be89a5d9
+++ uuidgen
++ local uuid_es_ops=452dc9c3-36ab-49dc-a241-c475c837fe35
++ local expected=2
++ local timeout=300
++ add_test_message 9d7227cb-e9af-40ad-bd93-04d6be89a5d9
+++ 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-86619
++ oc exec logging-kibana-1-86619 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/9d7227cb-e9af-40ad-bd93-04d6be89a5d9
added es message 9d7227cb-e9af-40ad-bd93-04d6be89a5d9
++ echo added es message 9d7227cb-e9af-40ad-bd93-04d6be89a5d9
++ logger -i -p local6.info -t 452dc9c3-36ab-49dc-a241-c475c837fe35 452dc9c3-36ab-49dc-a241-c475c837fe35
added es-ops message 452dc9c3-36ab-49dc-a241-c475c837fe35
++ echo added es-ops message 452dc9c3-36ab-49dc-a241-c475c837fe35
++ local rc=0
++ espod=logging-es-data-master-zbfzxdm0-1-w1lc1
++ myproject=project.logging
++ mymessage=9d7227cb-e9af-40ad-bd93-04d6be89a5d9
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9d7227cb-e9af-40ad-bd93-04d6be89a5d9
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9d7227cb-e9af-40ad-bd93-04d6be89a5d9
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9d7227cb-e9af-40ad-bd93-04d6be89a5d9
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 297 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-zbfzxdm0-1-w1lc1 project.logging _count message 9d7227cb-e9af-40ad-bd93-04d6be89a5d9
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9d7227cb-e9af-40ad-bd93-04d6be89a5d9
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9d7227cb-e9af-40ad-bd93-04d6be89a5d9
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9d7227cb-e9af-40ad-bd93-04d6be89a5d9
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9d7227cb-e9af-40ad-bd93-04d6be89a5d9
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9d7227cb-e9af-40ad-bd93-04d6be89a5d9
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9d7227cb-e9af-40ad-bd93-04d6be89a5d9
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9d7227cb-e9af-40ad-bd93-04d6be89a5d9
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
++ local nrecs=0
++ test 0 = 2
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9d7227cb-e9af-40ad-bd93-04d6be89a5d9
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9d7227cb-e9af-40ad-bd93-04d6be89a5d9
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9d7227cb-e9af-40ad-bd93-04d6be89a5d9
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9d7227cb-e9af-40ad-bd93-04d6be89a5d9'
good - wait_for_fluentd_to_catch_up: found 2 record project logging for 9d7227cb-e9af-40ad-bd93-04d6be89a5d9
++ local nrecs=2
++ test 2 = 2
++ break
++ '[' 287 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 2 record project logging for 9d7227cb-e9af-40ad-bd93-04d6be89a5d9
++ espod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
++ myproject=.operations
++ mymessage=452dc9c3-36ab-49dc-a241-c475c837fe35
++ 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
+++ get_count_from_json
+++ query_es_from_es logging-es-ops-data-master-uuh5lj98-1-vbdzx .operations _count systemd.u.SYSLOG_IDENTIFIER 452dc9c3-36ab-49dc-a241-c475c837fe35
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-ops-data-master-uuh5lj98-1-vbdzx '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:452dc9c3-36ab-49dc-a241-c475c837fe35' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:452dc9c3-36ab-49dc-a241-c475c837fe35'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-uuh5lj98-1-vbdzx -- 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:452dc9c3-36ab-49dc-a241-c475c837fe35'
++ local nrecs=2
++ test 2 = 2
++ break
++ '[' 300 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 2 record project .operations for 452dc9c3-36ab-49dc-a241-c475c837fe35
good - wait_for_fluentd_to_catch_up: found 2 record project .operations for 452dc9c3-36ab-49dc-a241-c475c837fe35
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496948885
+++ expr 1496948885 - 1496948864
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 21 seconds at 2017-06-08 19:08:05.308981300+00:00
++ echo END wait_for_fluentd_to_catch_up took 21 seconds at 2017-06-08 19:08:05.308981300+00:00
++ return 0
++ '[' 0 -ne 0 ']'
++ return 0
++ oc replace --force -f /tmp/tmp.VRX0Fdl0z9
template "logging-fluentd-template" deleted
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.VRX0Fdl0z9
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-shmvg
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-shmvg
++ '[' -z logging-fluentd-shmvg -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-shmvg
++ '[' 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-bjgkz
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-bjgkz ']'
++ 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-bjgkz
++ write_and_verify_logs 1
++ rc=0
++ wait_for_fluentd_to_catch_up '' '' 1
+++ date +%s
++ local starttime=1496948901
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 19:08:21.044444141+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 19:08:21.044444141+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-zbfzxdm0-1-w1lc1
+++ 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-uuh5lj98-1-vbdzx
++ '[' -z logging-es-ops-data-master-uuh5lj98-1-vbdzx ']'
+++ uuidgen
++ local uuid_es=334ec241-8ee9-4595-95eb-3ffb0e3c74c0
+++ uuidgen
++ local uuid_es_ops=e1ba697e-3b27-46d2-9578-4a26782c9007
++ local expected=1
++ local timeout=300
++ add_test_message 334ec241-8ee9-4595-95eb-3ffb0e3c74c0
+++ 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-86619
++ oc exec logging-kibana-1-86619 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/334ec241-8ee9-4595-95eb-3ffb0e3c74c0
added es message 334ec241-8ee9-4595-95eb-3ffb0e3c74c0
++ echo added es message 334ec241-8ee9-4595-95eb-3ffb0e3c74c0
++ logger -i -p local6.info -t e1ba697e-3b27-46d2-9578-4a26782c9007 e1ba697e-3b27-46d2-9578-4a26782c9007
added es-ops message e1ba697e-3b27-46d2-9578-4a26782c9007
++ echo added es-ops message e1ba697e-3b27-46d2-9578-4a26782c9007
++ local rc=0
++ espod=logging-es-data-master-zbfzxdm0-1-w1lc1
++ myproject=project.logging
++ mymessage=334ec241-8ee9-4595-95eb-3ffb0e3c74c0
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 334ec241-8ee9-4595-95eb-3ffb0e3c74c0
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 334ec241-8ee9-4595-95eb-3ffb0e3c74c0
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 334ec241-8ee9-4595-95eb-3ffb0e3c74c0
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 334ec241-8ee9-4595-95eb-3ffb0e3c74c0
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 334ec241-8ee9-4595-95eb-3ffb0e3c74c0
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 334ec241-8ee9-4595-95eb-3ffb0e3c74c0
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 294 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ get_count_from_json
+++ query_es_from_es logging-es-data-master-zbfzxdm0-1-w1lc1 project.logging _count message 334ec241-8ee9-4595-95eb-3ffb0e3c74c0
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 334ec241-8ee9-4595-95eb-3ffb0e3c74c0
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 334ec241-8ee9-4595-95eb-3ffb0e3c74c0
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 334ec241-8ee9-4595-95eb-3ffb0e3c74c0
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 334ec241-8ee9-4595-95eb-3ffb0e3c74c0
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:334ec241-8ee9-4595-95eb-3ffb0e3c74c0'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 290 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 334ec241-8ee9-4595-95eb-3ffb0e3c74c0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 334ec241-8ee9-4595-95eb-3ffb0e3c74c0
++ espod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
++ myproject=.operations
++ mymessage=e1ba697e-3b27-46d2-9578-4a26782c9007
++ 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-uuh5lj98-1-vbdzx .operations _count systemd.u.SYSLOG_IDENTIFIER e1ba697e-3b27-46d2-9578-4a26782c9007
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-uuh5lj98-1-vbdzx '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:e1ba697e-3b27-46d2-9578-4a26782c9007' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:e1ba697e-3b27-46d2-9578-4a26782c9007'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-uuh5lj98-1-vbdzx -- 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:e1ba697e-3b27-46d2-9578-4a26782c9007'
++ 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 e1ba697e-3b27-46d2-9578-4a26782c9007
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for e1ba697e-3b27-46d2-9578-4a26782c9007
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496948916
+++ expr 1496948916 - 1496948901
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 15 seconds at 2017-06-08 19:08:36.516721615+00:00
++ echo END wait_for_fluentd_to_catch_up took 15 seconds at 2017-06-08 19:08:36.516721615+00:00
++ return 0
++ '[' 0 -ne 0 ']'
++ return 0
++ cleanup
++ '[' '!' -f /tmp/tmp.VRX0Fdl0z9 ']'
++ 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=mQJOwm1gBVMU6t131tQVp-ojWa_cSsviCaobt_qYkUg
+++ 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-bjgkz
++ write_and_verify_logs 1
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up '' ''
+++ date +%s
++ local starttime=1496948917
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 19:08:37.912670928+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 19:08:37.912670928+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-zbfzxdm0-1-w1lc1
+++ 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-uuh5lj98-1-vbdzx
++ '[' -z logging-es-ops-data-master-uuh5lj98-1-vbdzx ']'
+++ uuidgen
++ local uuid_es=d2a18f3b-c033-46a8-8dc6-a40f8a47510d
+++ uuidgen
++ local uuid_es_ops=24487d05-d00f-4529-bdd8-3e2ed6719f3e
++ local expected=1
++ local timeout=300
++ add_test_message d2a18f3b-c033-46a8-8dc6-a40f8a47510d
+++ 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-86619
++ oc exec logging-kibana-1-86619 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/d2a18f3b-c033-46a8-8dc6-a40f8a47510d
added es message d2a18f3b-c033-46a8-8dc6-a40f8a47510d
++ echo added es message d2a18f3b-c033-46a8-8dc6-a40f8a47510d
++ logger -i -p local6.info -t 24487d05-d00f-4529-bdd8-3e2ed6719f3e 24487d05-d00f-4529-bdd8-3e2ed6719f3e
++ echo added es-ops message 24487d05-d00f-4529-bdd8-3e2ed6719f3e
added es-ops message 24487d05-d00f-4529-bdd8-3e2ed6719f3e
++ local rc=0
++ espod=logging-es-data-master-zbfzxdm0-1-w1lc1
++ myproject=project.logging
++ mymessage=d2a18f3b-c033-46a8-8dc6-a40f8a47510d
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message d2a18f3b-c033-46a8-8dc6-a40f8a47510d
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:d2a18f3b-c033-46a8-8dc6-a40f8a47510d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:d2a18f3b-c033-46a8-8dc6-a40f8a47510d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:d2a18f3b-c033-46a8-8dc6-a40f8a47510d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message d2a18f3b-c033-46a8-8dc6-a40f8a47510d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:d2a18f3b-c033-46a8-8dc6-a40f8a47510d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:d2a18f3b-c033-46a8-8dc6-a40f8a47510d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:d2a18f3b-c033-46a8-8dc6-a40f8a47510d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message d2a18f3b-c033-46a8-8dc6-a40f8a47510d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:d2a18f3b-c033-46a8-8dc6-a40f8a47510d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:d2a18f3b-c033-46a8-8dc6-a40f8a47510d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:d2a18f3b-c033-46a8-8dc6-a40f8a47510d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message d2a18f3b-c033-46a8-8dc6-a40f8a47510d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:d2a18f3b-c033-46a8-8dc6-a40f8a47510d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:d2a18f3b-c033-46a8-8dc6-a40f8a47510d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:d2a18f3b-c033-46a8-8dc6-a40f8a47510d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message d2a18f3b-c033-46a8-8dc6-a40f8a47510d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:d2a18f3b-c033-46a8-8dc6-a40f8a47510d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:d2a18f3b-c033-46a8-8dc6-a40f8a47510d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:d2a18f3b-c033-46a8-8dc6-a40f8a47510d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message d2a18f3b-c033-46a8-8dc6-a40f8a47510d
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:d2a18f3b-c033-46a8-8dc6-a40f8a47510d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:d2a18f3b-c033-46a8-8dc6-a40f8a47510d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:d2a18f3b-c033-46a8-8dc6-a40f8a47510d'
+++ 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
++ '[' 295 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project logging for d2a18f3b-c033-46a8-8dc6-a40f8a47510d
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for d2a18f3b-c033-46a8-8dc6-a40f8a47510d
++ espod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
++ myproject=.operations
++ mymessage=24487d05-d00f-4529-bdd8-3e2ed6719f3e
++ 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-uuh5lj98-1-vbdzx .operations _count systemd.u.SYSLOG_IDENTIFIER 24487d05-d00f-4529-bdd8-3e2ed6719f3e
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-uuh5lj98-1-vbdzx '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:24487d05-d00f-4529-bdd8-3e2ed6719f3e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:24487d05-d00f-4529-bdd8-3e2ed6719f3e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-uuh5lj98-1-vbdzx -- 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:24487d05-d00f-4529-bdd8-3e2ed6719f3e'
++ 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 24487d05-d00f-4529-bdd8-3e2ed6719f3e
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 24487d05-d00f-4529-bdd8-3e2ed6719f3e
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496948926
+++ expr 1496948926 - 1496948917
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 9 seconds at 2017-06-08 19:08:46.535617916+00:00
++ echo END wait_for_fluentd_to_catch_up took 9 seconds at 2017-06-08 19:08:46.535617916+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.234.171: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.13.130" 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 ']'
++ echo pod for component=forward-fluentd not running yet
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-kprhc
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-forward-fluentd-kprhc ']'
++ break
++ '[' 110 -le 0 ']'
++ return 0
++ update_current_fluentd
++ oc label node --all logging-infra-fluentd-
node "172.18.13.130" labeled
++ wait_for_pod_ACTION stop logging-fluentd-bjgkz
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-bjgkz
++ '[' -z logging-fluentd-bjgkz -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-bjgkz
++ '[' -n 1 ']'
pod logging-fluentd-bjgkz still running
++ echo pod logging-fluentd-bjgkz still running
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' stop = start ']'
++ '[' 110 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-bjgkz
++ '[' stop = start ']'
++ break
++ '[' 110 -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-kprhc
+++ oc get pods/logging-forward-fluentd-kprhc '--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.13.130" 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-n33h0
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-n33h0 ']'
++ 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=1496948960
+++ date -u --rfc-3339=ns
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 19:09:20.034963142+00:00
START wait_for_fluentd_to_catch_up at 2017-06-08 19:09:20.034963142+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-zbfzxdm0-1-w1lc1
+++ 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-uuh5lj98-1-vbdzx
++ '[' -z logging-es-ops-data-master-uuh5lj98-1-vbdzx ']'
+++ uuidgen
++ local uuid_es=9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ uuidgen
++ local uuid_es_ops=bfad47a3-b270-4e3d-89a1-e2b5008893fe
++ local expected=1
++ local timeout=300
++ add_test_message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ 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-86619
++ oc exec logging-kibana-1-86619 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
added es message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
++ echo added es message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
++ logger -i -p local6.info -t bfad47a3-b270-4e3d-89a1-e2b5008893fe bfad47a3-b270-4e3d-89a1-e2b5008893fe
added es-ops message bfad47a3-b270-4e3d-89a1-e2b5008893fe
++ echo added es-ops message bfad47a3-b270-4e3d-89a1-e2b5008893fe
++ local rc=0
++ espod=logging-es-data-master-zbfzxdm0-1-w1lc1
++ myproject=project.logging
++ mymessage=9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:9213f45c-6ffc-4f6b-aeb9-d39a20555f3d'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 246 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 9213f45c-6ffc-4f6b-aeb9-d39a20555f3d
++ espod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
++ myproject=.operations
++ mymessage=bfad47a3-b270-4e3d-89a1-e2b5008893fe
++ 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-uuh5lj98-1-vbdzx .operations _count systemd.u.SYSLOG_IDENTIFIER bfad47a3-b270-4e3d-89a1-e2b5008893fe
+++ curl_es logging-es-ops-data-master-uuh5lj98-1-vbdzx '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:bfad47a3-b270-4e3d-89a1-e2b5008893fe' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:bfad47a3-b270-4e3d-89a1-e2b5008893fe'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-uuh5lj98-1-vbdzx -- 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:bfad47a3-b270-4e3d-89a1-e2b5008893fe'
+++ 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 bfad47a3-b270-4e3d-89a1-e2b5008893fe
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for bfad47a3-b270-4e3d-89a1-e2b5008893fe
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496949036
+++ expr 1496949036 - 1496948960
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 76 seconds at 2017-06-08 19:10:36.158904000+00:00
++ echo END wait_for_fluentd_to_catch_up took 76 seconds at 2017-06-08 19:10:36.158904000+00:00
++ return 0
++ return 0
++ cleanup
++ cleanup_forward
++ oc label node --all logging-infra-fluentd-
node "172.18.13.130" labeled
++ wait_for_pod_ACTION stop logging-fluentd-bjgkz
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-bjgkz
++ '[' -z logging-fluentd-bjgkz -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-bjgkz
++ '[' 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.13.130" 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-gf6qq
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-gf6qq ']'
++ 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-gf6qq
++ oc get events -o yaml
++ write_and_verify_logs 1
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up '' ''
+++ date +%s
++ local starttime=1496949051
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 19:10:51.708420831+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 19:10:51.708420831+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-zbfzxdm0-1-w1lc1
+++ 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-uuh5lj98-1-vbdzx
++ '[' -z logging-es-ops-data-master-uuh5lj98-1-vbdzx ']'
+++ uuidgen
++ local uuid_es=1a4f6d69-b6ec-468f-9b22-2ae421257441
+++ uuidgen
++ local uuid_es_ops=6002da4c-c2dc-4077-b466-437d1d65dcb8
++ local expected=1
++ local timeout=300
++ add_test_message 1a4f6d69-b6ec-468f-9b22-2ae421257441
+++ 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-86619
++ oc exec logging-kibana-1-86619 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/1a4f6d69-b6ec-468f-9b22-2ae421257441
++ echo added es message 1a4f6d69-b6ec-468f-9b22-2ae421257441
added es message 1a4f6d69-b6ec-468f-9b22-2ae421257441
++ logger -i -p local6.info -t 6002da4c-c2dc-4077-b466-437d1d65dcb8 6002da4c-c2dc-4077-b466-437d1d65dcb8
added es-ops message 6002da4c-c2dc-4077-b466-437d1d65dcb8
++ echo added es-ops message 6002da4c-c2dc-4077-b466-437d1d65dcb8
++ local rc=0
++ espod=logging-es-data-master-zbfzxdm0-1-w1lc1
++ myproject=project.logging
++ mymessage=1a4f6d69-b6ec-468f-9b22-2ae421257441
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 1a4f6d69-b6ec-468f-9b22-2ae421257441
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:1a4f6d69-b6ec-468f-9b22-2ae421257441'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 1a4f6d69-b6ec-468f-9b22-2ae421257441
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:1a4f6d69-b6ec-468f-9b22-2ae421257441'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 1a4f6d69-b6ec-468f-9b22-2ae421257441
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:1a4f6d69-b6ec-468f-9b22-2ae421257441'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 1a4f6d69-b6ec-468f-9b22-2ae421257441
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:1a4f6d69-b6ec-468f-9b22-2ae421257441'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 1a4f6d69-b6ec-468f-9b22-2ae421257441
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:1a4f6d69-b6ec-468f-9b22-2ae421257441'
+++ 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
++ '[' 295 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-zbfzxdm0-1-w1lc1 project.logging _count message 1a4f6d69-b6ec-468f-9b22-2ae421257441
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:1a4f6d69-b6ec-468f-9b22-2ae421257441'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 1a4f6d69-b6ec-468f-9b22-2ae421257441
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:1a4f6d69-b6ec-468f-9b22-2ae421257441'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 1a4f6d69-b6ec-468f-9b22-2ae421257441
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:1a4f6d69-b6ec-468f-9b22-2ae421257441'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 1a4f6d69-b6ec-468f-9b22-2ae421257441
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:1a4f6d69-b6ec-468f-9b22-2ae421257441'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 1a4f6d69-b6ec-468f-9b22-2ae421257441
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:1a4f6d69-b6ec-468f-9b22-2ae421257441'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 1a4f6d69-b6ec-468f-9b22-2ae421257441
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:1a4f6d69-b6ec-468f-9b22-2ae421257441'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 1a4f6d69-b6ec-468f-9b22-2ae421257441
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:1a4f6d69-b6ec-468f-9b22-2ae421257441'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 1a4f6d69-b6ec-468f-9b22-2ae421257441
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:1a4f6d69-b6ec-468f-9b22-2ae421257441'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 1a4f6d69-b6ec-468f-9b22-2ae421257441
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:1a4f6d69-b6ec-468f-9b22-2ae421257441'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:1a4f6d69-b6ec-468f-9b22-2ae421257441'
++ 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 1a4f6d69-b6ec-468f-9b22-2ae421257441
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 1a4f6d69-b6ec-468f-9b22-2ae421257441
++ espod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
++ myproject=.operations
++ mymessage=6002da4c-c2dc-4077-b466-437d1d65dcb8
++ 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-uuh5lj98-1-vbdzx .operations _count systemd.u.SYSLOG_IDENTIFIER 6002da4c-c2dc-4077-b466-437d1d65dcb8
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-uuh5lj98-1-vbdzx '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:6002da4c-c2dc-4077-b466-437d1d65dcb8' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:6002da4c-c2dc-4077-b466-437d1d65dcb8'
+++ 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-ops-data-master-uuh5lj98-1-vbdzx -- 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:6002da4c-c2dc-4077-b466-437d1d65dcb8'
++ 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 6002da4c-c2dc-4077-b466-437d1d65dcb8
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 6002da4c-c2dc-4077-b466-437d1d65dcb8
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496949071
+++ expr 1496949071 - 1496949051
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 20 seconds at 2017-06-08 19:11:11.312936165+00:00
++ echo END wait_for_fluentd_to_catch_up took 20 seconds at 2017-06-08 19:11:11.312936165+00:00
++ return 0
++ return 0
++ cleanup
++ cleanup_forward
++ oc label node --all logging-infra-fluentd-
node "172.18.13.130" labeled
++ wait_for_pod_ACTION stop logging-fluentd-gf6qq
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-gf6qq
++ '[' -z logging-fluentd-gf6qq -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-gf6qq
++ '[' -n 1 ']'
pod logging-fluentd-gf6qq still running
++ echo pod logging-fluentd-gf6qq still running
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' stop = start ']'
++ '[' 110 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-gf6qq
++ '[' 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" patched
++ oc label node --all logging-infra-fluentd=true
node "172.18.13.130" 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-m6r5d
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-m6r5d ']'
++ 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-m6r5d
++ 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
+++ oc get pods -l component=es
+++ awk -v sel=es '$1 ~ sel && $3 == "Running" {print $1}'
++ es_pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ uuidgen
++ uuid_es=d3a40876-f155-414d-88d0-9b6a08499109
++ echo Adding test message d3a40876-f155-414d-88d0-9b6a08499109 to Kibana . . .
Adding test message d3a40876-f155-414d-88d0-9b6a08499109 to Kibana . . .
++ add_test_message d3a40876-f155-414d-88d0-9b6a08499109
+++ 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-86619
++ oc exec logging-kibana-1-86619 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/d3a40876-f155-414d-88d0-9b6a08499109
++ rc=0
++ timeout=600
++ echo Waiting 600 seconds for d3a40876-f155-414d-88d0-9b6a08499109 to show up in Elasticsearch . . .
Waiting 600 seconds for d3a40876-f155-414d-88d0-9b6a08499109 to show up in Elasticsearch . . .
++ espod=logging-es-data-master-zbfzxdm0-1-w1lc1
++ myproject=project.logging.
++ mymessage=d3a40876-f155-414d-88d0-9b6a08499109
++ 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-zbfzxdm0-1-w1lc1 project.logging. _count message d3a40876-f155-414d-88d0-9b6a08499109
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging.*/_count?q=message:d3a40876-f155-414d-88d0-9b6a08499109' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging.*/_count?q=message:d3a40876-f155-414d-88d0-9b6a08499109'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:d3a40876-f155-414d-88d0-9b6a08499109'
++ 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-zbfzxdm0-1-w1lc1 project.logging. _count message d3a40876-f155-414d-88d0-9b6a08499109
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging.*/_count?q=message:d3a40876-f155-414d-88d0-9b6a08499109' --connect-timeout 1
+++ get_count_from_json
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging.*/_count?q=message:d3a40876-f155-414d-88d0-9b6a08499109'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:d3a40876-f155-414d-88d0-9b6a08499109'
++ 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-zbfzxdm0-1-w1lc1 project.logging. _count message d3a40876-f155-414d-88d0-9b6a08499109
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging.*/_count?q=message:d3a40876-f155-414d-88d0-9b6a08499109' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging.*/_count?q=message:d3a40876-f155-414d-88d0-9b6a08499109'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:d3a40876-f155-414d-88d0-9b6a08499109'
++ 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-zbfzxdm0-1-w1lc1 project.logging. _count message d3a40876-f155-414d-88d0-9b6a08499109
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging.*/_count?q=message:d3a40876-f155-414d-88d0-9b6a08499109' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging.*/_count?q=message:d3a40876-f155-414d-88d0-9b6a08499109'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:d3a40876-f155-414d-88d0-9b6a08499109'
++ 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-zbfzxdm0-1-w1lc1 project.logging. _count message d3a40876-f155-414d-88d0-9b6a08499109
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging.*/_count?q=message:d3a40876-f155-414d-88d0-9b6a08499109' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging.*/_count?q=message:d3a40876-f155-414d-88d0-9b6a08499109'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:d3a40876-f155-414d-88d0-9b6a08499109'
++ 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-zbfzxdm0-1-w1lc1 project.logging. _count message d3a40876-f155-414d-88d0-9b6a08499109
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging.*/_count?q=message:d3a40876-f155-414d-88d0-9b6a08499109' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging.*/_count?q=message:d3a40876-f155-414d-88d0-9b6a08499109'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:d3a40876-f155-414d-88d0-9b6a08499109'
++ 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-zbfzxdm0-1-w1lc1 project.logging. _count message d3a40876-f155-414d-88d0-9b6a08499109
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging.*/_count?q=message:d3a40876-f155-414d-88d0-9b6a08499109' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging.*/_count?q=message:d3a40876-f155-414d-88d0-9b6a08499109'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:d3a40876-f155-414d-88d0-9b6a08499109'
++ 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-zbfzxdm0-1-w1lc1 project.logging. _count message d3a40876-f155-414d-88d0-9b6a08499109
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging.*/_count?q=message:d3a40876-f155-414d-88d0-9b6a08499109' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging.*/_count?q=message:d3a40876-f155-414d-88d0-9b6a08499109'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:d3a40876-f155-414d-88d0-9b6a08499109'
++ 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-zbfzxdm0-1-w1lc1 project.logging. _count message d3a40876-f155-414d-88d0-9b6a08499109
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging.*/_count?q=message:d3a40876-f155-414d-88d0-9b6a08499109' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging.*/_count?q=message:d3a40876-f155-414d-88d0-9b6a08499109'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:d3a40876-f155-414d-88d0-9b6a08499109'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 592 -le 0 ']'
++ return 0
++ echo good - ./logging.sh: found 1 record project logging for d3a40876-f155-414d-88d0-9b6a08499109
good - ./logging.sh: found 1 record project logging for d3a40876-f155-414d-88d0-9b6a08499109
Testing if record is in correct format . . .
++ echo Testing if record is in correct format . . .
++ query_es_from_es logging-es-data-master-zbfzxdm0-1-w1lc1 project.logging. _search message d3a40876-f155-414d-88d0-9b6a08499109
++ python test-json-parsing.py d3a40876-f155-414d-88d0-9b6a08499109
++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging.*/_search?q=message:d3a40876-f155-414d-88d0-9b6a08499109' --connect-timeout 1
++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
++ local 'endpoint=/project.logging.*/_search?q=message:d3a40876-f155-414d-88d0-9b6a08499109'
++ shift
++ shift
++ args=("${@:-}")
++ local args
++ local secret_dir=/etc/elasticsearch/secret/
++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:d3a40876-f155-414d-88d0-9b6a08499109'
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=xQLLRNSoVy0CkrprwHB0cNYkyG-yXiqnF78837UFjXk
+++ 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-m6r5d
++ 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.s1tQLSzDYA
++ cat
++ add_test_volume /tmp/tmp.s1tQLSzDYA
++ 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.s1tQLSzDYA"}}); 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-m6r5d
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-m6r5d
++ '[' -z logging-fluentd-m6r5d -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-m6r5d
++ '[' stop = start ']'
++ break
++ '[' 120 -le 0 ']'
++ return 0
++ oc create -f -
++ oc process logging-fluentd-template
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-4vbqm
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-4vbqm ']'
++ 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-4vbqm
++ 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=1496949127
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 19:12:07.873790246+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 19:12:07.873790246+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-zbfzxdm0-1-w1lc1
+++ 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-uuh5lj98-1-vbdzx
++ '[' -z logging-es-ops-data-master-uuh5lj98-1-vbdzx ']'
+++ uuidgen
++ local uuid_es=f4342d92-8c3f-4e11-a43c-3fcfede2f490
+++ uuidgen
++ local uuid_es_ops=e600cf03-1f52-475a-a5af-36f8d42c7ff9
++ local expected=1
++ local timeout=300
++ add_test_message f4342d92-8c3f-4e11-a43c-3fcfede2f490
+++ 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-86619
++ oc exec logging-kibana-1-86619 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/f4342d92-8c3f-4e11-a43c-3fcfede2f490
added es message f4342d92-8c3f-4e11-a43c-3fcfede2f490
++ echo added es message f4342d92-8c3f-4e11-a43c-3fcfede2f490
++ logger -i -p local6.info -t e600cf03-1f52-475a-a5af-36f8d42c7ff9 e600cf03-1f52-475a-a5af-36f8d42c7ff9
added es-ops message e600cf03-1f52-475a-a5af-36f8d42c7ff9
++ echo added es-ops message e600cf03-1f52-475a-a5af-36f8d42c7ff9
++ local rc=0
++ espod=logging-es-data-master-zbfzxdm0-1-w1lc1
++ myproject=project.logging
++ mymessage=f4342d92-8c3f-4e11-a43c-3fcfede2f490
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message f4342d92-8c3f-4e11-a43c-3fcfede2f490
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:f4342d92-8c3f-4e11-a43c-3fcfede2f490' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:f4342d92-8c3f-4e11-a43c-3fcfede2f490'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:f4342d92-8c3f-4e11-a43c-3fcfede2f490'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message f4342d92-8c3f-4e11-a43c-3fcfede2f490
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:f4342d92-8c3f-4e11-a43c-3fcfede2f490' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:f4342d92-8c3f-4e11-a43c-3fcfede2f490'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:f4342d92-8c3f-4e11-a43c-3fcfede2f490'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message f4342d92-8c3f-4e11-a43c-3fcfede2f490
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:f4342d92-8c3f-4e11-a43c-3fcfede2f490' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:f4342d92-8c3f-4e11-a43c-3fcfede2f490'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:f4342d92-8c3f-4e11-a43c-3fcfede2f490'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message f4342d92-8c3f-4e11-a43c-3fcfede2f490
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:f4342d92-8c3f-4e11-a43c-3fcfede2f490' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:f4342d92-8c3f-4e11-a43c-3fcfede2f490'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:f4342d92-8c3f-4e11-a43c-3fcfede2f490'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message f4342d92-8c3f-4e11-a43c-3fcfede2f490
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:f4342d92-8c3f-4e11-a43c-3fcfede2f490' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:f4342d92-8c3f-4e11-a43c-3fcfede2f490'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:f4342d92-8c3f-4e11-a43c-3fcfede2f490'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message f4342d92-8c3f-4e11-a43c-3fcfede2f490
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:f4342d92-8c3f-4e11-a43c-3fcfede2f490' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:f4342d92-8c3f-4e11-a43c-3fcfede2f490'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:f4342d92-8c3f-4e11-a43c-3fcfede2f490'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 294 -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-zbfzxdm0-1-w1lc1 project.logging _count message f4342d92-8c3f-4e11-a43c-3fcfede2f490
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:f4342d92-8c3f-4e11-a43c-3fcfede2f490' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:f4342d92-8c3f-4e11-a43c-3fcfede2f490'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:f4342d92-8c3f-4e11-a43c-3fcfede2f490'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message f4342d92-8c3f-4e11-a43c-3fcfede2f490
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:f4342d92-8c3f-4e11-a43c-3fcfede2f490' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:f4342d92-8c3f-4e11-a43c-3fcfede2f490'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:f4342d92-8c3f-4e11-a43c-3fcfede2f490'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message f4342d92-8c3f-4e11-a43c-3fcfede2f490
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:f4342d92-8c3f-4e11-a43c-3fcfede2f490' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:f4342d92-8c3f-4e11-a43c-3fcfede2f490'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:f4342d92-8c3f-4e11-a43c-3fcfede2f490'
++ 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 f4342d92-8c3f-4e11-a43c-3fcfede2f490
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for f4342d92-8c3f-4e11-a43c-3fcfede2f490
++ espod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
++ myproject=.operations
++ mymessage=e600cf03-1f52-475a-a5af-36f8d42c7ff9
++ 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-uuh5lj98-1-vbdzx .operations _count systemd.u.SYSLOG_IDENTIFIER e600cf03-1f52-475a-a5af-36f8d42c7ff9
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-uuh5lj98-1-vbdzx '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:e600cf03-1f52-475a-a5af-36f8d42c7ff9' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:e600cf03-1f52-475a-a5af-36f8d42c7ff9'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-uuh5lj98-1-vbdzx -- 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:e600cf03-1f52-475a-a5af-36f8d42c7ff9'
++ 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 e600cf03-1f52-475a-a5af-36f8d42c7ff9
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for e600cf03-1f52-475a-a5af-36f8d42c7ff9
++ '[' -n get_logmessage ']'
++ get_logmessage f4342d92-8c3f-4e11-a43c-3fcfede2f490
++ logmessage=f4342d92-8c3f-4e11-a43c-3fcfede2f490
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 e600cf03-1f52-475a-a5af-36f8d42c7ff9
++ logmessage2=e600cf03-1f52-475a-a5af-36f8d42c7ff9
+++ date +%s
++ local endtime=1496949140
+++ expr 1496949140 - 1496949127
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 13 seconds at 2017-06-08 19:12:20.983479104+00:00
++ echo END wait_for_fluentd_to_catch_up took 13 seconds at 2017-06-08 19:12:20.983479104+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-86619
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-86619 logging-es project.logging _search message f4342d92-8c3f-4e11-a43c-3fcfede2f490
++ python test-viaq-data-model.py test1
++ oc exec logging-kibana-1-86619 -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 xQLLRNSoVy0CkrprwHB0cNYkyG-yXiqnF78837UFjXk' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:f4342d92-8c3f-4e11-a43c-3fcfede2f490'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-86619 logging-es-ops .operations _search message e600cf03-1f52-475a-a5af-36f8d42c7ff9
++ oc exec logging-kibana-1-86619 -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 xQLLRNSoVy0CkrprwHB0cNYkyG-yXiqnF78837UFjXk' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:e600cf03-1f52-475a-a5af-36f8d42c7ff9'
++ python test-viaq-data-model.py test1
++ :
++ '[' 0 '!=' 0 ']'
++ return 0
++ add_cdm_env_var_val CDM_USE_UNDEFINED '"true"'
+++ mktemp
++ junk=/tmp/tmp.sxJqFOEl0I
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.sxJqFOEl0I'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.sxJqFOEl0I
++ add_cdm_env_var_val CDM_EXTRA_KEEP_FIELDS method,statusCode,type,@timestamp,req,res
+++ mktemp
++ junk=/tmp/tmp.X495rwGa8T
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.X495rwGa8T'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.X495rwGa8T
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-4vbqm
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-4vbqm
++ '[' -z logging-fluentd-4vbqm -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-4vbqm
++ '[' 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-9fjpr
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-9fjpr ']'
++ 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-9fjpr
++ write_and_verify_logs test2
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up get_logmessage get_logmessage2
+++ date +%s
++ local starttime=1496949159
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 19:12:39.242527102+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 19:12:39.242527102+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-zbfzxdm0-1-w1lc1
+++ 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-uuh5lj98-1-vbdzx
++ '[' -z logging-es-ops-data-master-uuh5lj98-1-vbdzx ']'
+++ uuidgen
++ local uuid_es=6335e97d-fc19-40b7-ab68-175d931e51e7
+++ uuidgen
++ local uuid_es_ops=f6844094-423d-471d-a3d0-d8ec6911fe24
++ local expected=1
++ local timeout=300
++ add_test_message 6335e97d-fc19-40b7-ab68-175d931e51e7
+++ 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-86619
++ oc exec logging-kibana-1-86619 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/6335e97d-fc19-40b7-ab68-175d931e51e7
added es message 6335e97d-fc19-40b7-ab68-175d931e51e7
++ echo added es message 6335e97d-fc19-40b7-ab68-175d931e51e7
++ logger -i -p local6.info -t f6844094-423d-471d-a3d0-d8ec6911fe24 f6844094-423d-471d-a3d0-d8ec6911fe24
added es-ops message f6844094-423d-471d-a3d0-d8ec6911fe24
++ echo added es-ops message f6844094-423d-471d-a3d0-d8ec6911fe24
++ local rc=0
++ espod=logging-es-data-master-zbfzxdm0-1-w1lc1
++ myproject=project.logging
++ mymessage=6335e97d-fc19-40b7-ab68-175d931e51e7
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 6335e97d-fc19-40b7-ab68-175d931e51e7
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:6335e97d-fc19-40b7-ab68-175d931e51e7' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:6335e97d-fc19-40b7-ab68-175d931e51e7'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:6335e97d-fc19-40b7-ab68-175d931e51e7'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 6335e97d-fc19-40b7-ab68-175d931e51e7
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:6335e97d-fc19-40b7-ab68-175d931e51e7' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:6335e97d-fc19-40b7-ab68-175d931e51e7'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:6335e97d-fc19-40b7-ab68-175d931e51e7'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 6335e97d-fc19-40b7-ab68-175d931e51e7
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:6335e97d-fc19-40b7-ab68-175d931e51e7' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:6335e97d-fc19-40b7-ab68-175d931e51e7'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:6335e97d-fc19-40b7-ab68-175d931e51e7'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 6335e97d-fc19-40b7-ab68-175d931e51e7
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:6335e97d-fc19-40b7-ab68-175d931e51e7' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:6335e97d-fc19-40b7-ab68-175d931e51e7'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:6335e97d-fc19-40b7-ab68-175d931e51e7'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 6335e97d-fc19-40b7-ab68-175d931e51e7
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:6335e97d-fc19-40b7-ab68-175d931e51e7' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:6335e97d-fc19-40b7-ab68-175d931e51e7'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:6335e97d-fc19-40b7-ab68-175d931e51e7'
+++ 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
++ '[' 295 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-zbfzxdm0-1-w1lc1 project.logging _count message 6335e97d-fc19-40b7-ab68-175d931e51e7
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:6335e97d-fc19-40b7-ab68-175d931e51e7' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6335e97d-fc19-40b7-ab68-175d931e51e7'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:6335e97d-fc19-40b7-ab68-175d931e51e7'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 6335e97d-fc19-40b7-ab68-175d931e51e7
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:6335e97d-fc19-40b7-ab68-175d931e51e7' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:6335e97d-fc19-40b7-ab68-175d931e51e7'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:6335e97d-fc19-40b7-ab68-175d931e51e7'
+++ 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
++ '[' 293 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-zbfzxdm0-1-w1lc1 project.logging _count message 6335e97d-fc19-40b7-ab68-175d931e51e7
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:6335e97d-fc19-40b7-ab68-175d931e51e7' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6335e97d-fc19-40b7-ab68-175d931e51e7'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:6335e97d-fc19-40b7-ab68-175d931e51e7'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 293 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 6335e97d-fc19-40b7-ab68-175d931e51e7
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 6335e97d-fc19-40b7-ab68-175d931e51e7
++ espod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
++ myproject=.operations
++ mymessage=f6844094-423d-471d-a3d0-d8ec6911fe24
++ 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-uuh5lj98-1-vbdzx .operations _count systemd.u.SYSLOG_IDENTIFIER f6844094-423d-471d-a3d0-d8ec6911fe24
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-uuh5lj98-1-vbdzx '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:f6844094-423d-471d-a3d0-d8ec6911fe24' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:f6844094-423d-471d-a3d0-d8ec6911fe24'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-uuh5lj98-1-vbdzx -- 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:f6844094-423d-471d-a3d0-d8ec6911fe24'
++ 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 f6844094-423d-471d-a3d0-d8ec6911fe24
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for f6844094-423d-471d-a3d0-d8ec6911fe24
++ '[' -n get_logmessage ']'
++ get_logmessage 6335e97d-fc19-40b7-ab68-175d931e51e7
++ logmessage=6335e97d-fc19-40b7-ab68-175d931e51e7
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 f6844094-423d-471d-a3d0-d8ec6911fe24
++ logmessage2=f6844094-423d-471d-a3d0-d8ec6911fe24
+++ date +%s
++ local endtime=1496949170
+++ expr 1496949170 - 1496949159
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 11 seconds at 2017-06-08 19:12:50.897975005+00:00
++ echo END wait_for_fluentd_to_catch_up took 11 seconds at 2017-06-08 19:12:50.897975005+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-86619
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-86619 logging-es project.logging _search message 6335e97d-fc19-40b7-ab68-175d931e51e7
++ python test-viaq-data-model.py test2
++ oc exec logging-kibana-1-86619 -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 xQLLRNSoVy0CkrprwHB0cNYkyG-yXiqnF78837UFjXk' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:6335e97d-fc19-40b7-ab68-175d931e51e7'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-86619 logging-es-ops .operations _search message f6844094-423d-471d-a3d0-d8ec6911fe24
++ python test-viaq-data-model.py test2
++ oc exec logging-kibana-1-86619 -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 xQLLRNSoVy0CkrprwHB0cNYkyG-yXiqnF78837UFjXk' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:f6844094-423d-471d-a3d0-d8ec6911fe24'
++ :
++ '[' 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.7ZXv4XqF7G
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.7ZXv4XqF7G'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.7ZXv4XqF7G
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-9fjpr
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-9fjpr
++ '[' -z logging-fluentd-9fjpr -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-9fjpr
++ '[' 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}'
pod for component=fluentd not running yet
++ curpod=
++ '[' 120 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z '' ']'
++ '[' -n '' ']'
++ '[' -n 1 ']'
++ 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-gs8kw
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-gs8kw ']'
++ 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-gs8kw
++ write_and_verify_logs test3
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up get_logmessage get_logmessage2
+++ date +%s
++ local starttime=1496949197
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 19:13:17.928914762+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 19:13:17.928914762+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-zbfzxdm0-1-w1lc1
+++ 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-uuh5lj98-1-vbdzx
++ '[' -z logging-es-ops-data-master-uuh5lj98-1-vbdzx ']'
+++ uuidgen
++ local uuid_es=0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
+++ uuidgen
++ local uuid_es_ops=72b17de1-2fcd-40fc-9222-5aaea1f0802e
++ local expected=1
++ local timeout=300
++ add_test_message 0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
+++ 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-86619
++ oc exec logging-kibana-1-86619 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
++ echo added es message 0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
added es message 0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
++ logger -i -p local6.info -t 72b17de1-2fcd-40fc-9222-5aaea1f0802e 72b17de1-2fcd-40fc-9222-5aaea1f0802e
added es-ops message 72b17de1-2fcd-40fc-9222-5aaea1f0802e
++ echo added es-ops message 72b17de1-2fcd-40fc-9222-5aaea1f0802e
++ local rc=0
++ espod=logging-es-data-master-zbfzxdm0-1-w1lc1
++ myproject=project.logging
++ mymessage=0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 292 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ get_count_from_json
+++ query_es_from_es logging-es-data-master-zbfzxdm0-1-w1lc1 project.logging _count message 0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6'
++ 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 0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
++ espod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
++ myproject=.operations
++ mymessage=72b17de1-2fcd-40fc-9222-5aaea1f0802e
++ 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-uuh5lj98-1-vbdzx .operations _count systemd.u.SYSLOG_IDENTIFIER 72b17de1-2fcd-40fc-9222-5aaea1f0802e
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-uuh5lj98-1-vbdzx '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:72b17de1-2fcd-40fc-9222-5aaea1f0802e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:72b17de1-2fcd-40fc-9222-5aaea1f0802e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-uuh5lj98-1-vbdzx -- 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:72b17de1-2fcd-40fc-9222-5aaea1f0802e'
++ 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-uuh5lj98-1-vbdzx .operations _count systemd.u.SYSLOG_IDENTIFIER 72b17de1-2fcd-40fc-9222-5aaea1f0802e
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-ops-data-master-uuh5lj98-1-vbdzx '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:72b17de1-2fcd-40fc-9222-5aaea1f0802e' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:72b17de1-2fcd-40fc-9222-5aaea1f0802e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-uuh5lj98-1-vbdzx -- 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:72b17de1-2fcd-40fc-9222-5aaea1f0802e'
++ 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-uuh5lj98-1-vbdzx .operations _count systemd.u.SYSLOG_IDENTIFIER 72b17de1-2fcd-40fc-9222-5aaea1f0802e
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-uuh5lj98-1-vbdzx '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:72b17de1-2fcd-40fc-9222-5aaea1f0802e' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:72b17de1-2fcd-40fc-9222-5aaea1f0802e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-uuh5lj98-1-vbdzx -- 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:72b17de1-2fcd-40fc-9222-5aaea1f0802e'
++ 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-uuh5lj98-1-vbdzx .operations _count systemd.u.SYSLOG_IDENTIFIER 72b17de1-2fcd-40fc-9222-5aaea1f0802e
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-uuh5lj98-1-vbdzx '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:72b17de1-2fcd-40fc-9222-5aaea1f0802e' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:72b17de1-2fcd-40fc-9222-5aaea1f0802e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-uuh5lj98-1-vbdzx -- 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:72b17de1-2fcd-40fc-9222-5aaea1f0802e'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 296 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-uuh5lj98-1-vbdzx .operations _count systemd.u.SYSLOG_IDENTIFIER 72b17de1-2fcd-40fc-9222-5aaea1f0802e
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-uuh5lj98-1-vbdzx '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:72b17de1-2fcd-40fc-9222-5aaea1f0802e' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:72b17de1-2fcd-40fc-9222-5aaea1f0802e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-uuh5lj98-1-vbdzx -- 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:72b17de1-2fcd-40fc-9222-5aaea1f0802e'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 296 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 72b17de1-2fcd-40fc-9222-5aaea1f0802e
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 72b17de1-2fcd-40fc-9222-5aaea1f0802e
++ '[' -n get_logmessage ']'
++ get_logmessage 0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
++ logmessage=0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 72b17de1-2fcd-40fc-9222-5aaea1f0802e
++ logmessage2=72b17de1-2fcd-40fc-9222-5aaea1f0802e
+++ date +%s
++ local endtime=1496949216
+++ expr 1496949216 - 1496949197
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 19 seconds at 2017-06-08 19:13:36.307048616+00:00
++ echo END wait_for_fluentd_to_catch_up took 19 seconds at 2017-06-08 19:13:36.307048616+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-86619
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-86619 logging-es project.logging _search message 0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6
++ python test-viaq-data-model.py test3
++ oc exec logging-kibana-1-86619 -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 xQLLRNSoVy0CkrprwHB0cNYkyG-yXiqnF78837UFjXk' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:0b3d7f15-a70c-4763-ac20-2b8ff2a6cbd6'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-86619 logging-es-ops .operations _search message 72b17de1-2fcd-40fc-9222-5aaea1f0802e
++ python test-viaq-data-model.py test3
++ oc exec logging-kibana-1-86619 -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 xQLLRNSoVy0CkrprwHB0cNYkyG-yXiqnF78837UFjXk' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:72b17de1-2fcd-40fc-9222-5aaea1f0802e'
++ :
++ '[' 0 '!=' 0 ']'
++ return 0
++ add_cdm_env_var_val CDM_UNDEFINED_NAME myname
+++ mktemp
++ junk=/tmp/tmp.KSEvDD2VIO
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.KSEvDD2VIO'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.KSEvDD2VIO
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-gs8kw
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-gs8kw
++ '[' -z logging-fluentd-gs8kw -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-gs8kw
++ '[' 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-jg5b0
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-jg5b0 ']'
++ 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-jg5b0
++ write_and_verify_logs test4
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up get_logmessage get_logmessage2
+++ date +%s
++ local starttime=1496949237
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 19:13:57.929367686+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 19:13:57.929367686+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-zbfzxdm0-1-w1lc1
+++ 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-uuh5lj98-1-vbdzx
++ '[' -z logging-es-ops-data-master-uuh5lj98-1-vbdzx ']'
+++ uuidgen
++ local uuid_es=b4d2df2b-d3ba-421c-bba9-4403502d4844
+++ uuidgen
++ local uuid_es_ops=43656356-532b-4c62-ae27-959bfb90499f
++ local expected=1
++ local timeout=300
++ add_test_message b4d2df2b-d3ba-421c-bba9-4403502d4844
+++ 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-86619
++ oc exec logging-kibana-1-86619 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/b4d2df2b-d3ba-421c-bba9-4403502d4844
added es message b4d2df2b-d3ba-421c-bba9-4403502d4844
++ echo added es message b4d2df2b-d3ba-421c-bba9-4403502d4844
++ logger -i -p local6.info -t 43656356-532b-4c62-ae27-959bfb90499f 43656356-532b-4c62-ae27-959bfb90499f
added es-ops message 43656356-532b-4c62-ae27-959bfb90499f
++ echo added es-ops message 43656356-532b-4c62-ae27-959bfb90499f
++ local rc=0
++ espod=logging-es-data-master-zbfzxdm0-1-w1lc1
++ myproject=project.logging
++ mymessage=b4d2df2b-d3ba-421c-bba9-4403502d4844
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message b4d2df2b-d3ba-421c-bba9-4403502d4844
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:b4d2df2b-d3ba-421c-bba9-4403502d4844' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:b4d2df2b-d3ba-421c-bba9-4403502d4844'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:b4d2df2b-d3ba-421c-bba9-4403502d4844'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message b4d2df2b-d3ba-421c-bba9-4403502d4844
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:b4d2df2b-d3ba-421c-bba9-4403502d4844' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:b4d2df2b-d3ba-421c-bba9-4403502d4844'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:b4d2df2b-d3ba-421c-bba9-4403502d4844'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ get_count_from_json
+++ query_es_from_es logging-es-data-master-zbfzxdm0-1-w1lc1 project.logging _count message b4d2df2b-d3ba-421c-bba9-4403502d4844
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:b4d2df2b-d3ba-421c-bba9-4403502d4844' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:b4d2df2b-d3ba-421c-bba9-4403502d4844'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:b4d2df2b-d3ba-421c-bba9-4403502d4844'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message b4d2df2b-d3ba-421c-bba9-4403502d4844
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:b4d2df2b-d3ba-421c-bba9-4403502d4844' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:b4d2df2b-d3ba-421c-bba9-4403502d4844'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:b4d2df2b-d3ba-421c-bba9-4403502d4844'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message b4d2df2b-d3ba-421c-bba9-4403502d4844
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:b4d2df2b-d3ba-421c-bba9-4403502d4844' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:b4d2df2b-d3ba-421c-bba9-4403502d4844'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:b4d2df2b-d3ba-421c-bba9-4403502d4844'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message b4d2df2b-d3ba-421c-bba9-4403502d4844
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:b4d2df2b-d3ba-421c-bba9-4403502d4844' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:b4d2df2b-d3ba-421c-bba9-4403502d4844'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:b4d2df2b-d3ba-421c-bba9-4403502d4844'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message b4d2df2b-d3ba-421c-bba9-4403502d4844
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:b4d2df2b-d3ba-421c-bba9-4403502d4844' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:b4d2df2b-d3ba-421c-bba9-4403502d4844'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:b4d2df2b-d3ba-421c-bba9-4403502d4844'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message b4d2df2b-d3ba-421c-bba9-4403502d4844
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:b4d2df2b-d3ba-421c-bba9-4403502d4844' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:b4d2df2b-d3ba-421c-bba9-4403502d4844'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:b4d2df2b-d3ba-421c-bba9-4403502d4844'
+++ 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-zbfzxdm0-1-w1lc1 project.logging _count message b4d2df2b-d3ba-421c-bba9-4403502d4844
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:b4d2df2b-d3ba-421c-bba9-4403502d4844' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:b4d2df2b-d3ba-421c-bba9-4403502d4844'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:b4d2df2b-d3ba-421c-bba9-4403502d4844'
++ 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 b4d2df2b-d3ba-421c-bba9-4403502d4844
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for b4d2df2b-d3ba-421c-bba9-4403502d4844
++ espod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
++ myproject=.operations
++ mymessage=43656356-532b-4c62-ae27-959bfb90499f
++ 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-uuh5lj98-1-vbdzx .operations _count systemd.u.SYSLOG_IDENTIFIER 43656356-532b-4c62-ae27-959bfb90499f
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-uuh5lj98-1-vbdzx '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:43656356-532b-4c62-ae27-959bfb90499f' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:43656356-532b-4c62-ae27-959bfb90499f'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-uuh5lj98-1-vbdzx -- 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:43656356-532b-4c62-ae27-959bfb90499f'
++ 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 43656356-532b-4c62-ae27-959bfb90499f
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 43656356-532b-4c62-ae27-959bfb90499f
++ '[' -n get_logmessage ']'
++ get_logmessage b4d2df2b-d3ba-421c-bba9-4403502d4844
++ logmessage=b4d2df2b-d3ba-421c-bba9-4403502d4844
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 43656356-532b-4c62-ae27-959bfb90499f
++ logmessage2=43656356-532b-4c62-ae27-959bfb90499f
+++ date +%s
++ local endtime=1496949250
+++ expr 1496949250 - 1496949237
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 13 seconds at 2017-06-08 19:14:10.872684323+00:00
++ echo END wait_for_fluentd_to_catch_up took 13 seconds at 2017-06-08 19:14:10.872684323+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-86619
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-86619 logging-es project.logging _search message b4d2df2b-d3ba-421c-bba9-4403502d4844
++ python test-viaq-data-model.py test4
++ oc exec logging-kibana-1-86619 -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 xQLLRNSoVy0CkrprwHB0cNYkyG-yXiqnF78837UFjXk' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:b4d2df2b-d3ba-421c-bba9-4403502d4844'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-86619 logging-es-ops .operations _search message 43656356-532b-4c62-ae27-959bfb90499f
++ oc exec logging-kibana-1-86619 -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 xQLLRNSoVy0CkrprwHB0cNYkyG-yXiqnF78837UFjXk' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:43656356-532b-4c62-ae27-959bfb90499f'
++ python test-viaq-data-model.py test4
++ :
++ '[' 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.95PF3BJQqW
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.95PF3BJQqW'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.95PF3BJQqW
++ add_cdm_env_var_val CDM_KEEP_EMPTY_FIELDS undefined4,undefined5,empty1,undefined3
+++ mktemp
++ junk=/tmp/tmp.RMKkqHt5Kc
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.RMKkqHt5Kc'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.RMKkqHt5Kc
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-jg5b0
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-jg5b0
++ '[' -z logging-fluentd-jg5b0 -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-jg5b0
++ '[' 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-6mtlj
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-6mtlj ']'
++ 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-6mtlj
++ 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=1496949278
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 19:14:38.186509886+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 19:14:38.186509886+00:00
+++ get_running_pod es
+++ awk -v sel=es '$1 ~ sel && $3 == "Running" {print $1}'
+++ oc get pods -l component=es
++ local es_pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ 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-uuh5lj98-1-vbdzx
++ '[' -z logging-es-ops-data-master-uuh5lj98-1-vbdzx ']'
+++ uuidgen
++ local uuid_es=869f7d82-5866-4867-a749-53e06dfe24d5
+++ uuidgen
++ local uuid_es_ops=a12e5b5d-afe3-46c5-b16d-315db92670b8
++ local expected=1
++ local timeout=300
++ add_test_message 869f7d82-5866-4867-a749-53e06dfe24d5
+++ 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-86619
++ oc exec logging-kibana-1-86619 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/869f7d82-5866-4867-a749-53e06dfe24d5
++ echo added es message 869f7d82-5866-4867-a749-53e06dfe24d5
added es message 869f7d82-5866-4867-a749-53e06dfe24d5
++ logger -i -p local6.info -t a12e5b5d-afe3-46c5-b16d-315db92670b8 a12e5b5d-afe3-46c5-b16d-315db92670b8
added es-ops message a12e5b5d-afe3-46c5-b16d-315db92670b8
++ echo added es-ops message a12e5b5d-afe3-46c5-b16d-315db92670b8
++ local rc=0
++ espod=logging-es-data-master-zbfzxdm0-1-w1lc1
++ myproject=project.logging
++ mymessage=869f7d82-5866-4867-a749-53e06dfe24d5
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 869f7d82-5866-4867-a749-53e06dfe24d5
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:869f7d82-5866-4867-a749-53e06dfe24d5' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:869f7d82-5866-4867-a749-53e06dfe24d5'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:869f7d82-5866-4867-a749-53e06dfe24d5'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 869f7d82-5866-4867-a749-53e06dfe24d5
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:869f7d82-5866-4867-a749-53e06dfe24d5' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:869f7d82-5866-4867-a749-53e06dfe24d5'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:869f7d82-5866-4867-a749-53e06dfe24d5'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 869f7d82-5866-4867-a749-53e06dfe24d5
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:869f7d82-5866-4867-a749-53e06dfe24d5' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:869f7d82-5866-4867-a749-53e06dfe24d5'
+++ 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-zbfzxdm0-1-w1lc1 -- 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:869f7d82-5866-4867-a749-53e06dfe24d5'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 869f7d82-5866-4867-a749-53e06dfe24d5
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:869f7d82-5866-4867-a749-53e06dfe24d5' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:869f7d82-5866-4867-a749-53e06dfe24d5'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:869f7d82-5866-4867-a749-53e06dfe24d5'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 869f7d82-5866-4867-a749-53e06dfe24d5
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:869f7d82-5866-4867-a749-53e06dfe24d5' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:869f7d82-5866-4867-a749-53e06dfe24d5'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:869f7d82-5866-4867-a749-53e06dfe24d5'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 869f7d82-5866-4867-a749-53e06dfe24d5
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:869f7d82-5866-4867-a749-53e06dfe24d5' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:869f7d82-5866-4867-a749-53e06dfe24d5'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:869f7d82-5866-4867-a749-53e06dfe24d5'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 869f7d82-5866-4867-a749-53e06dfe24d5
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:869f7d82-5866-4867-a749-53e06dfe24d5' --connect-timeout 1
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:869f7d82-5866-4867-a749-53e06dfe24d5'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:869f7d82-5866-4867-a749-53e06dfe24d5'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 869f7d82-5866-4867-a749-53e06dfe24d5
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:869f7d82-5866-4867-a749-53e06dfe24d5' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:869f7d82-5866-4867-a749-53e06dfe24d5'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:869f7d82-5866-4867-a749-53e06dfe24d5'
++ 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-zbfzxdm0-1-w1lc1 project.logging _count message 869f7d82-5866-4867-a749-53e06dfe24d5
+++ get_count_from_json
+++ curl_es logging-es-data-master-zbfzxdm0-1-w1lc1 '/project.logging*/_count?q=message:869f7d82-5866-4867-a749-53e06dfe24d5' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-zbfzxdm0-1-w1lc1
+++ local 'endpoint=/project.logging*/_count?q=message:869f7d82-5866-4867-a749-53e06dfe24d5'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-zbfzxdm0-1-w1lc1 -- 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:869f7d82-5866-4867-a749-53e06dfe24d5'
++ 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 869f7d82-5866-4867-a749-53e06dfe24d5
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 869f7d82-5866-4867-a749-53e06dfe24d5
++ espod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
++ myproject=.operations
++ mymessage=a12e5b5d-afe3-46c5-b16d-315db92670b8
++ 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-uuh5lj98-1-vbdzx .operations _count systemd.u.SYSLOG_IDENTIFIER a12e5b5d-afe3-46c5-b16d-315db92670b8
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-uuh5lj98-1-vbdzx '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:a12e5b5d-afe3-46c5-b16d-315db92670b8' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-uuh5lj98-1-vbdzx
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:a12e5b5d-afe3-46c5-b16d-315db92670b8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-uuh5lj98-1-vbdzx -- 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:a12e5b5d-afe3-46c5-b16d-315db92670b8'
++ 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 a12e5b5d-afe3-46c5-b16d-315db92670b8
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for a12e5b5d-afe3-46c5-b16d-315db92670b8
++ '[' -n get_logmessage ']'
++ get_logmessage 869f7d82-5866-4867-a749-53e06dfe24d5
++ logmessage=869f7d82-5866-4867-a749-53e06dfe24d5
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 a12e5b5d-afe3-46c5-b16d-315db92670b8
++ logmessage2=a12e5b5d-afe3-46c5-b16d-315db92670b8
+++ date +%s
++ local endtime=1496949290
+++ expr 1496949290 - 1496949278
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 12 seconds at 2017-06-08 19:14:50.995198420+00:00
++ echo END wait_for_fluentd_to_catch_up took 12 seconds at 2017-06-08 19:14:50.995198420+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-86619
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-86619 logging-es project.logging _search message 869f7d82-5866-4867-a749-53e06dfe24d5
++ python test-viaq-data-model.py test5 allow_empty
++ oc exec logging-kibana-1-86619 -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 xQLLRNSoVy0CkrprwHB0cNYkyG-yXiqnF78837UFjXk' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:869f7d82-5866-4867-a749-53e06dfe24d5'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-86619 logging-es-ops .operations _search message a12e5b5d-afe3-46c5-b16d-315db92670b8
++ python test-viaq-data-model.py test5 allow_empty
++ oc exec logging-kibana-1-86619 -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 xQLLRNSoVy0CkrprwHB0cNYkyG-yXiqnF78837UFjXk' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:a12e5b5d-afe3-46c5-b16d-315db92670b8'
++ :
++ '[' 0 '!=' 0 ']'
++ return 0
++ cleanup
++ 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
++ 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.s1tQLSzDYA
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-6mtlj
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-6mtlj
++ '[' -z logging-fluentd-6mtlj -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-6mtlj
++ '[' 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-bl3pd
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-bl3pd ']'
++ break
++ '[' 110 -le 0 ']'
++ return 0
SKIPPING reinstall test for now
/data/src/github.com/openshift/origin-aggregated-logging/hack/lib/log/system.sh: line 31:  4609 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 439 seconds
2017-06-08 15:22:50.347139 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 response from daemon: You cannot remove a running container 34eb5fdc1c34f93eed24fc284897535a339d2f4f9f865679e566c9b99ed84b51. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 79e940e8453f8a1857a45d668fd002120d5a61c657dd864b7b31a13aa5eb5f78. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container a138b03c59399f6e5b35dd1240f03a6a01534695a55f9369c0d98160da5c2d17. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 3e3d893638bf9c28c5303e6d744c6078fee44166bab6e9494446e04c3ba3fb68. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 973870e1d564340ca5078e763b37bb11d938449e3d35bc70db8886692f1e411b. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 0423e4d77fb32c43b5cbee702f3e2f68e150769d2e9d85329fcebbb19dccc008. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 3a72296aeb135f269e3391845f769a5798cbec547bf61d5451d8b8edfa38da16. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 5d0b676955f21369a89f2c14ab23e5083dafe0b64980627fa0f3a79b8ed3786d. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 78c2fa63f5ad210a32953606c118735ebbccec564e8b603ae7beb14045f7c958. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container c59aa0ce1822c05579e4e334eb5f4101de0655a61b9a9e44b840cc1947292d23. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container daf8cb90e4bf4059d85e8f9015b787168d5b7e3add3f62013a373393b78a4606. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 5935045927e5851e7e81afb5308b6c469fe86345764c63208b2587aec109dd3e. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container cec39ba0ba218d63f05c1850fa07704ea472247fe9e90361fd8449dfa649836e. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container b70d4e6b3965c1407abb3f26bf75455f71f20c2dc80301102db8733a95f05355. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 58595d2737a7be5e74a822ffe0275d7d1a5438085e4d48268e235edd77738340. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container e529f82acbb75c278817e2b6ec3fe53ba690a2718438a56cc094a9595af19860. 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 01h 05m 50s

real	65m49.906s
user	5m27.602s
sys	1m0.270s
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@2/origin/artifacts/yum.log'
==> openshiftdev: Downloading artifacts from '/var/log/secure' to '/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace@2/origin/artifacts/secure'
==> openshiftdev: Downloading artifacts from '/var/log/audit/audit.log' to '/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace@2/origin/artifacts/audit.log'
==> openshiftdev: Downloading artifacts from '/tmp/origin-aggregated-logging/' to '/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace@2/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: 2303
  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@2] $ /bin/sh -xe /tmp/hudson6182997038383821608.sh
+ INSTANCE_NAME=origin_logging-rhel7-1635
+ pushd origin
~/jobs/test-origin-aggregated-logging/workspace@2/origin ~/jobs/test-origin-aggregated-logging/workspace@2
+ 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@2
+ exit 0
Finished: SUCCESS