SuccessConsole Output

Started by upstream project "merge_pull_request_origin_aggregated_logging" build number 20
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/hudson395858639131243747.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
   596d795..421a1ed  master     -> origin/master
Already on 'master'
Your branch is behind 'origin/master' by 3 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
HEAD is now at 421a1ed bump(github.com/openshift/origin-web-console): e18553f36eaaea92f0a62e60cbb6679f98bf5116
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-1645
+ 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=#1645
BUILD_ID=1645
BUILD_NUMBER=1645
BUILD_TAG=jenkins-test-origin-aggregated-logging-1645
BUILD_URL=https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/1645/
EXECUTOR_NUMBER=33
GITHUB_REPO=openshift
HOME=/var/lib/jenkins
HUDSON_COOKIE=b3cb3738-89d6-4662-9fee-6338d6e6c886
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=472
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/1645/display/redirect?page=changes
RUN_DISPLAY_URL=https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/1645/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-1645
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
There was an error talking to AWS. The error message is shown
below:

RequestLimitExceeded => Request limit exceeded.
+ echo ''\''vagrant up'\'' failed - retrying'
'vagrant up' failed - retrying
+ vagrant destroy -f
==> openshiftdev: Instance is not created. Please run `vagrant up` first.
+ 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-2108-x7pomh.sh
==> openshiftdev: Host: ec2-54-172-93-253.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-3261-1vz2e29 /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.172.93.253' (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: Download complete
1cb971d1904a: Verifying Checksum
1cb971d1904a: Download complete
eb9125dce9a5: Verifying Checksum
eb9125dce9a5: Download complete
7f787b4c1aa4: Download complete
09427247134d: Verifying Checksum
09427247134d: Download complete
e68089779cf0: Verifying Checksum
e68089779cf0: Download complete
f77449eb85d6: Verifying Checksum
f77449eb85d6: Download complete
68dc0402a412: Verifying Checksum
68dc0402a412: Download complete
3ac7e779da16: Verifying Checksum
3ac7e779da16: 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: Verifying Checksum
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
d24cd3f22cc6: Verifying Checksum
d443465a8496: Verifying Checksum
d443465a8496: Download complete
cb8fa38c6d97: Verifying Checksum
cb8fa38c6d97: Download complete
9879c78ef10f: Verifying Checksum
9879c78ef10f: Download complete
d24cd3f22cc6: Pull complete
3f29d3f59ef3: Verifying Checksum
3f29d3f59ef3: Download complete
b64de6f5fdbe: Verifying Checksum
b64de6f5fdbe: 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.1 MB/s |  10 MB  00:02     
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.hFRLQOAdCw/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 18:45:23 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.16 in /tmp/openshift/origin-aggregated-logging/openshift.local.config/node-172.18.13.16
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 21.862s: 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.16:8443 was refused - did you specify the right host or port?
... repeated 41 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.16: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.215s: hack/lib/start.sh:353: executing 'oc get --raw https://172.18.13.16: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.786s: 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.463s: 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.16 --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.344s: hack/lib/start.sh:356: executing 'oc get --raw /api/v1/nodes/172.18.13.16 --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.16","selfLink":"/api/v1/nodes/172.18.13.16","uid":"45013f7b-4c9c-11e7-82ce-0ea6eb78a972","resourceVersion":"298","creationTimestamp":"2017-06-08T22:46:11Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/os":"linux","kubernetes.io/hostname":"172.18.13.16"},"annotations":{"volumes.kubernetes.io/controller-managed-attach-detach":"true"}},"spec":{"externalID":"172.18.13.16","providerID":"aws:////i-0c362f74f7ee1cdd2"},"status":{"capacity":{"cpu":"4","memory":"7231688Ki","pods":"40"},"allocatable":{"cpu":"4","memory":"7129288Ki","pods":"40"},"conditions":[{"type":"OutOfDisk","status":"False","lastHeartbeatTime":"2017-06-08T22:46:11Z","lastTransitionTime":"2017-06-08T22:46:11Z","reason":"KubeletHasSufficientDisk","message":"kubelet has sufficient disk space available"},{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2017-06-08T22:46:11Z","lastTransitionTime":"2017-06-08T22:46:11Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2017-06-08T22:46:11Z","lastTransitionTime":"2017-06-08T22:46:11Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"Ready","status":"True","lastHeartbeatTime":"2017-06-08T22:46:11Z","lastTransitionTime":"2017-06-08T22:46:11Z","reason":"KubeletReady","message":"kubelet is posting ready status"}],"addresses":[{"type":"LegacyHostIP","address":"172.18.13.16"},{"type":"InternalIP","address":"172.18.13.16"},{"type":"Hostname","address":"172.18.13.16"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"f9370ed252a14f73b014c1301a9b6d1b","systemUUID":"EC2581BE-23E4-2DBB-CB0A-56F2BD3A8E0C","bootID":"6db5d32d-34a3-4bf3-84c3-1e7cd16904a7","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
--> Creating router router ...
info: password for stats user admin has been set to 6G7YghuiS3
    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.445s: /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.343s: /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.384s: 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.029s: hack/testing/build-images:9: executing 'oc get imagestreamtag origin:latest' expecting success; re-trying every 0.2s until completion or 60.000s
Standard output from the command:
NAME            DOCKER REF                                                                                 UPDATED                  IMAGENAME
origin:latest   openshift/origin@sha256:93a1e9c29979188a64e5ec8cf28c62901db71d8932b33d7f9ff6853ab6e1beab   Less than a second ago   sha256:93a1e9c29979188a64e5ec8cf28c62901db71d8932b33d7f9ff6853ab6e1beab
Standard error from the command:
Error from server (NotFound): imagestreamtags.image.openshift.io "origin:latest" not found
... repeated 2 times
Uploading directory "/data/src/github.com/openshift/origin-aggregated-logging" as binary input for the build ...
build "logging-auth-proxy-1" started
Uploading directory "/data/src/github.com/openshift/origin-aggregated-logging" as binary input for the build ...
build "logging-curator-1" started
Uploading directory "/data/src/github.com/openshift/origin-aggregated-logging" as binary input for the build ...
build "logging-elasticsearch-1" started
Uploading directory "/data/src/github.com/openshift/origin-aggregated-logging" as binary input for the build ...
build "logging-fluentd-1" started
Uploading directory "/data/src/github.com/openshift/origin-aggregated-logging" as binary input for the build ...
build "logging-kibana-1" started
Running hack/testing/build-images:33: executing 'wait_for_builds_complete' expecting success...
SUCCESS after 60.642s: hack/testing/build-images:33: executing 'wait_for_builds_complete' expecting success
Standard output from the command:
Builds are complete

There was no error output from the command.
/tmp/tmp.hFRLQOAdCw/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.16:8443

openshift_logging_image_prefix=172.30.110.167: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.212s: 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.16: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.hFRLQOAdCw/openhift-ansible/ansible.cfg as config file

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

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

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

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

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

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

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

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

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

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

TASK [openshift_facts : Ensure various deps are installed] *********************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/openhift-ansible/roles/openshift_facts/tasks/main.yml:71
changed: [openshift] => {
    "ansible_facts": {
        "openshift": {
            "common": {
                "admin_binary": "/usr/local/bin/oadm", 
                "all_hostnames": [
                    "ip-172-18-13-16.ec2.internal", 
                    "54.172.93.253", 
                    "ec2-54-172-93-253.compute-1.amazonaws.com", 
                    "172.18.13.16"
                ], 
                "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-16.ec2.internal", 
                "install_examples": true, 
                "internal_hostnames": [
                    "ip-172-18-13-16.ec2.internal", 
                    "172.18.13.16"
                ], 
                "ip": "172.18.13.16", 
                "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-172-93-253.compute-1.amazonaws.com", 
                "public_ip": "54.172.93.253", 
                "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-16.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-16.ec2.internal", 
                    "instance-action": "none", 
                    "instance-id": "i-0c362f74f7ee1cdd2", 
                    "instance-type": "c4.xlarge", 
                    "local-hostname": "ip-172-18-13-16.ec2.internal", 
                    "local-ipv4": "172.18.13.16", 
                    "mac": "0e:a6:eb:78:a9:72", 
                    "metrics": {
                        "vhostmd": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
                    }, 
                    "network": {
                        "interfaces": {
                            "macs": {
                                "0e:a6:eb:78:a9:72": {
                                    "device-number": "0", 
                                    "interface-id": "eni-751607af", 
                                    "ipv4-associations": {
                                        "54.172.93.253": "172.18.13.16"
                                    }, 
                                    "local-hostname": "ip-172-18-13-16.ec2.internal", 
                                    "local-ipv4s": "172.18.13.16", 
                                    "mac": "0e:a6:eb:78:a9:72", 
                                    "owner-id": "531415883065", 
                                    "public-hostname": "ec2-54-172-93-253.compute-1.amazonaws.com", 
                                    "public-ipv4s": "54.172.93.253", 
                                    "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-172-93-253.compute-1.amazonaws.com", 
                    "public-ipv4": "54.172.93.253", 
                    "public-keys/": "0=libra", 
                    "reservation-id": "r-0abe7e7f73f7881e2", 
                    "security-groups": "default", 
                    "services": {
                        "domain": "amazonaws.com", 
                        "partition": "aws"
                    }
                }, 
                "name": "aws", 
                "network": {
                    "hostname": "ip-172-18-13-16.ec2.internal", 
                    "interfaces": [
                        {
                            "ips": [
                                "172.18.13.16"
                            ], 
                            "network_id": "subnet-cf57c596", 
                            "network_type": "vpc", 
                            "public_ips": [
                                "54.172.93.253"
                            ]
                        }
                    ], 
                    "ip": "172.18.13.16", 
                    "ipv6_enabled": false, 
                    "public_hostname": "ec2-54-172-93-253.compute-1.amazonaws.com", 
                    "public_ip": "54.172.93.253"
                }, 
                "zone": "us-east-1d"
            }
        }
    }, 
    "changed": true
}

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

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

TASK [openshift_logging : Create temp directory for doing work in] *************
task path: /tmp/tmp.hFRLQOAdCw/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.001956", 
    "end": "2017-06-08 19:24:07.917231", 
    "rc": 0, 
    "start": "2017-06-08 19:24:07.915275"
}

STDOUT:

/tmp/openshift-logging-ansible-xTc8sB

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

MSG:

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

TASK [openshift_logging : Create local temp directory for doing work in] *******
task path: /tmp/tmp.hFRLQOAdCw/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.001978", 
    "end": "2017-06-08 19:24:08.069609", 
    "rc": 0, 
    "start": "2017-06-08 19:24:08.067631"
}

STDOUT:

/tmp/openshift-logging-ansible-Nw1QpB

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

TASK [openshift_logging : Gather OpenShift Logging Facts] **********************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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-08T22:46:13Z", 
                "name": "logging", 
                "resourceVersion": "743", 
                "selfLink": "/api/v1/namespaces/logging", 
                "uid": "46675975-4c9c-11e7-82ce-0ea6eb78a972"
            }, 
            "spec": {
                "finalizers": [
                    "openshift.io/origin", 
                    "kubernetes"
                ]
            }, 
            "status": {
                "phase": "Active"
            }
        }, 
        "returncode": 0
    }, 
    "state": "present"
}

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

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

TASK [openshift_logging : Checking for ca.key] *********************************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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-xTc8sB/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.349215", 
    "end": "2017-06-08 19:24:12.462867", 
    "rc": 0, 
    "start": "2017-06-08 19:24:12.113652"
}

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

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

TASK [openshift_logging : Checking for kibana.crt] *****************************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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-xTc8sB/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.585618", 
    "end": "2017-06-08 19:24:14.893980", 
    "rc": 0, 
    "start": "2017-06-08 19:24:14.308362"
}

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

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

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

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

TASK [openshift_logging : Checking for system.logging.fluentd.key] *************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.028981", 
    "end": "2017-06-08 19:24:16.895985", 
    "rc": 0, 
    "start": "2017-06-08 19:24:16.867004"
}

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.hFRLQOAdCw/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.007923", 
    "end": "2017-06-08 19:24:17.023366", 
    "rc": 0, 
    "start": "2017-06-08 19:24:17.015443"
}

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 23:24:17 2017 GMT
            Not After : Jun  8 23:24:17 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: 
                ED:FC:54:76:66:25:A7:3F:4B:44:1B:11:40:E3:A2:51:45:0A:AC:26
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  8 23:24:17 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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.072157", 
    "end": "2017-06-08 19:24:17.482648", 
    "rc": 0, 
    "start": "2017-06-08 19:24:17.410491"
}

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.hFRLQOAdCw/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.007764", 
    "end": "2017-06-08 19:24:17.611504", 
    "rc": 0, 
    "start": "2017-06-08 19:24:17.603740"
}

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 23:24:17 2017 GMT
            Not After : Jun  8 23:24:17 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: 
                B2:94:13:34:45:CD:23:85:52:61:8A:70:4D:53:4C:86:3A:1D:23:5F
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  8 23:24:17 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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.059964", 
    "end": "2017-06-08 19:24:18.056959", 
    "rc": 0, 
    "start": "2017-06-08 19:24:17.996995"
}

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.hFRLQOAdCw/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.022281", 
    "end": "2017-06-08 19:24:18.198483", 
    "rc": 0, 
    "start": "2017-06-08 19:24:18.176202"
}

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 23:24:18 2017 GMT
            Not After : Jun  8 23:24:18 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: 
                10:B3:96:3D:F9:5D:40:C9:EB:5F:F1:6E:D0:B8:E5:F5:5C:3E:A3:E3
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  8 23:24:18 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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.057347", 
    "end": "2017-06-08 19:24:18.650265", 
    "rc": 0, 
    "start": "2017-06-08 19:24:18.592918"
}

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.hFRLQOAdCw/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.007911", 
    "end": "2017-06-08 19:24:18.777764", 
    "rc": 0, 
    "start": "2017-06-08 19:24:18.769853"
}

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 23:24:18 2017 GMT
            Not After : Jun  8 23:24:18 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: 
                48:C2:46:00:EE:5C:20:E3:16:A6:5F:EB:42:2A:28:98:7B:DC:BE:DF
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  8 23:24:18 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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:137
included: /tmp/tmp.hFRLQOAdCw/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml for openshift

TASK [openshift_logging : Checking for elasticsearch.jks] **********************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:43
changed: [openshift] => (item=ca.crt) => {
    "changed": true, 
    "checksum": "8a08786efe2f90cf53ffb91312569e6b807dc7ea", 
    "dest": "/tmp/openshift-logging-ansible-Nw1QpB/ca.crt", 
    "item": "ca.crt", 
    "md5sum": "a2c1aef12db0882ad40a632b5517c163", 
    "remote_checksum": "8a08786efe2f90cf53ffb91312569e6b807dc7ea", 
    "remote_md5sum": null
}
changed: [openshift] => (item=ca.key) => {
    "changed": true, 
    "checksum": "da408edcd70507ca974af9362bf47200d970c7ca", 
    "dest": "/tmp/openshift-logging-ansible-Nw1QpB/ca.key", 
    "item": "ca.key", 
    "md5sum": "189afca68f3b60eba81a506164bcbc52", 
    "remote_checksum": "da408edcd70507ca974af9362bf47200d970c7ca", 
    "remote_md5sum": null
}
changed: [openshift] => (item=ca.serial.txt) => {
    "changed": true, 
    "checksum": "b649682b92a811746098e5c91e891e5142a41950", 
    "dest": "/tmp/openshift-logging-ansible-Nw1QpB/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": "543acac165b562a232d59cf45ed41a79ddc4690f", 
    "dest": "/tmp/openshift-logging-ansible-Nw1QpB/ca.db", 
    "item": "ca.db", 
    "md5sum": "cccb87fc14081c0844bfe8dc6bae1213", 
    "remote_checksum": "543acac165b562a232d59cf45ed41a79ddc4690f", 
    "remote_md5sum": null
}

TASK [openshift_logging : template] ********************************************
task path: /tmp/tmp.hFRLQOAdCw/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:56
changed: [openshift -> 127.0.0.1] => {
    "changed": true, 
    "checksum": "309ff69dd1c3792035d3895b7e21a4672c3d6ab6", 
    "dest": "/tmp/openshift-logging-ansible-Nw1QpB/signing.conf", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "cb36ef013c521b156579953f2b54bf80", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 4281, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496964260.28-111521981773379/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging : Run JKS generation script] ***************************
task path: /tmp/tmp.hFRLQOAdCw/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-Nw1QpB
+ SCRATCH_DIR=/tmp/openshift-logging-ansible-Nw1QpB
+ PROJECT=logging
+ [[ ! -f /tmp/openshift-logging-ansible-Nw1QpB/system.admin.jks ]]
+ generate_JKS_client_cert system.admin
+ NODE_NAME=system.admin
+ ks_pass=kspass
+ ts_pass=tspass
+ dir=/tmp/openshift-logging-ansible-Nw1QpB
+ echo Generating keystore and certificate for node system.admin
+ keytool -genkey -alias system.admin -keystore /tmp/openshift-logging-ansible-Nw1QpB/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-Nw1QpB/system.admin.jks -file /tmp/openshift-logging-ansible-Nw1QpB/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-Nw1QpB/system.admin.jks.csr -notext -out /tmp/openshift-logging-ansible-Nw1QpB/system.admin.jks.crt -config /tmp/openshift-logging-ansible-Nw1QpB/signing.conf -extensions v3_req -batch -extensions server_ext
Using configuration from /tmp/openshift-logging-ansible-Nw1QpB/signing.conf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 6 (0x6)
        Validity
            Not Before: Jun  8 23:24:29 2017 GMT
            Not After : Jun  8 23:24:29 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: 
                E7:BD:30:30:A0:0C:50:51:59:7B:11:F3:84:47:8C:06:7A:B5:48:E3
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  8 23:24:29 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-Nw1QpB/ca.crt -keystore /tmp/openshift-logging-ansible-Nw1QpB/system.admin.jks -storepass kspass -noprompt -alias sig-ca
Certificate was added to keystore
+ keytool -import -file /tmp/openshift-logging-ansible-Nw1QpB/system.admin.jks.crt -keystore /tmp/openshift-logging-ansible-Nw1QpB/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-Nw1QpB/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-Nw1QpB
+ 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-Nw1QpB/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-Nw1QpB/elasticsearch.jks -storepass kspass -file /tmp/openshift-logging-ansible-Nw1QpB/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-Nw1QpB/elasticsearch.csr -notext -out /tmp/openshift-logging-ansible-Nw1QpB/elasticsearch.crt -config /tmp/openshift-logging-ansible-Nw1QpB/signing.conf -extensions v3_req -batch -extensions server_ext
Using configuration from /tmp/openshift-logging-ansible-Nw1QpB/signing.conf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 7 (0x7)
        Validity
            Not Before: Jun  8 23:24:31 2017 GMT
            Not After : Jun  8 23:24:31 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: 
                35:49:1E:B3:86:9B:AE:B3:4E:72:92:D9:20:6A:D8:47:29:24:2D:9C
            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 23:24:31 2019 GMT (730 days)

Write out database with 1 new entries
Data Base Updated
+ echo 'Import back to keystore (including CA chain)'
+ keytool -import -file /tmp/openshift-logging-ansible-Nw1QpB/ca.crt -keystore /tmp/openshift-logging-ansible-Nw1QpB/elasticsearch.jks -storepass kspass -noprompt -alias sig-ca
Certificate was added to keystore
+ keytool -import -file /tmp/openshift-logging-ansible-Nw1QpB/elasticsearch.crt -keystore /tmp/openshift-logging-ansible-Nw1QpB/elasticsearch.jks -storepass kspass -noprompt -alias elasticsearch
Certificate reply was installed in keystore
+ echo All done for elasticsearch
+ [[ ! -f /tmp/openshift-logging-ansible-Nw1QpB/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-Nw1QpB
+ 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-Nw1QpB/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-Nw1QpB/logging-es.jks -storepass kspass -file /tmp/openshift-logging-ansible-Nw1QpB/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-Nw1QpB/logging-es.csr -notext -out /tmp/openshift-logging-ansible-Nw1QpB/logging-es.crt -config /tmp/openshift-logging-ansible-Nw1QpB/signing.conf -extensions v3_req -batch -extensions server_ext
Using configuration from /tmp/openshift-logging-ansible-Nw1QpB/signing.conf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 8 (0x8)
        Validity
            Not Before: Jun  8 23:24:32 2017 GMT
            Not After : Jun  8 23:24:32 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: 
                00:BF:7A:E9:8E:29:38:E3:7D:EF:B7:69:A8:70:5D:85:8E:9B:F2:4D
            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 23:24:32 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-Nw1QpB/ca.crt -keystore /tmp/openshift-logging-ansible-Nw1QpB/logging-es.jks -storepass kspass -noprompt -alias sig-ca
Certificate was added to keystore
+ keytool -import -file /tmp/openshift-logging-ansible-Nw1QpB/logging-es.crt -keystore /tmp/openshift-logging-ansible-Nw1QpB/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-Nw1QpB/truststore.jks ']'
+ createTruststore
+ echo 'Import CA to truststore for validating client certs'
+ keytool -import -file /tmp/openshift-logging-ansible-Nw1QpB/ca.crt -keystore /tmp/openshift-logging-ansible-Nw1QpB/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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:66
changed: [openshift] => {
    "changed": true, 
    "checksum": "3536355dfccd832a46a81f7fb9bef287c1628a04", 
    "dest": "/etc/origin/logging/elasticsearch.jks", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "c1b5f4358b68740863dd92cdba4705ec", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "system_u:object_r:etc_t:s0", 
    "size": 3766, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496964272.56-158840170503978/source", 
    "state": "file", 
    "uid": 0
}

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

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

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

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

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

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

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

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

TASK [openshift_logging_elasticsearch : Validate Elasticsearch cluster size] ***
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.002070", 
    "end": "2017-06-08 19:24:34.083757", 
    "rc": 0, 
    "start": "2017-06-08 19:24:34.081687"
}

STDOUT:

/tmp/openshift-logging-ansible-9DDmWc

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

TASK [openshift_logging_elasticsearch : Create templates subdirectory] *********
task path: /tmp/tmp.hFRLQOAdCw/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-9DDmWc/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.hFRLQOAdCw/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.hFRLQOAdCw/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-1t2dv"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T23:24:34Z", 
                    "name": "aggregated-logging-elasticsearch", 
                    "namespace": "logging", 
                    "resourceVersion": "1578", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-elasticsearch", 
                    "uid": "a1f99741-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-elasticsearch-token-9mllj"
                    }, 
                    {
                        "name": "aggregated-logging-elasticsearch-dockercfg-1t2dv"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

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

TASK [openshift_logging_elasticsearch : Create rolebinding-reader role] ********
task path: /tmp/tmp.hFRLQOAdCw/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-08T23:24:35Z", 
                    "name": "rolebinding-reader", 
                    "resourceVersion": "122", 
                    "selfLink": "/oapi/v1/clusterroles/rolebinding-reader", 
                    "uid": "a29f75b5-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "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.hFRLQOAdCw/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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:81
ok: [openshift] => {
    "changed": false, 
    "checksum": "d752c09323565f80ed14fa806d42284f0c5aef2a", 
    "dest": "/tmp/openshift-logging-ansible-9DDmWc/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-1496964276.95-231698388882182/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : Set logging-elasticsearch-view-role role] ***
task path: /tmp/tmp.hFRLQOAdCw/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-08T23:24:37Z", 
                    "name": "logging-elasticsearch-view-role", 
                    "namespace": "logging", 
                    "resourceVersion": "776", 
                    "selfLink": "/oapi/v1/namespaces/logging/rolebindings/logging-elasticsearch-view-role", 
                    "uid": "a3a1e0ad-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:105
ok: [openshift] => {
    "changed": false, 
    "checksum": "f91458d5dad42c496e2081ef872777a6f6eb9ff9", 
    "dest": "/tmp/openshift-logging-ansible-9DDmWc/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-1496964277.94-64239084156531/source", 
    "state": "file", 
    "uid": 0
}

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

TASK [openshift_logging_elasticsearch : copy] **********************************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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-08T23:24:39Z", 
                    "name": "logging-elasticsearch", 
                    "namespace": "logging", 
                    "resourceVersion": "1585", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-elasticsearch", 
                    "uid": "a4730f71-4ca1-11e7-82ce-0ea6eb78a972"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : Set ES secret] *************************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:168
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.231.89", 
        "cmd": "/bin/oc get service logging-es-cluster -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T23:24:40Z", 
                    "name": "logging-es-cluster", 
                    "namespace": "logging", 
                    "resourceVersion": "1588", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-es-cluster", 
                    "uid": "a57a8cec-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "spec": {
                    "clusterIP": "172.30.231.89", 
                    "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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:182
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.35.11", 
        "cmd": "/bin/oc get service logging-es -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T23:24:41Z", 
                    "name": "logging-es", 
                    "namespace": "logging", 
                    "resourceVersion": "1591", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-es", 
                    "uid": "a623ee87-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "spec": {
                    "clusterIP": "172.30.35.11", 
                    "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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:237
ok: [openshift] => {
    "ansible_facts": {
        "es_deploy_name": "logging-es-data-master-52f7bjgb"
    }, 
    "changed": false
}

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

TASK [openshift_logging_elasticsearch : Set ES dc] *****************************
task path: /tmp/tmp.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:262
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get dc logging-es-data-master-52f7bjgb -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "DeploymentConfig", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T23:24:43Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "es", 
                        "deployment": "logging-es-data-master-52f7bjgb", 
                        "logging-infra": "elasticsearch", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-es-data-master-52f7bjgb", 
                    "namespace": "logging", 
                    "resourceVersion": "1607", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-es-data-master-52f7bjgb", 
                    "uid": "a6dd5771-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "spec": {
                    "replicas": 1, 
                    "selector": {
                        "component": "es", 
                        "deployment": "logging-es-data-master-52f7bjgb", 
                        "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-52f7bjgb", 
                                "logging-infra": "elasticsearch", 
                                "provider": "openshift"
                            }, 
                            "name": "logging-es-data-master-52f7bjgb"
                        }, 
                        "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.110.167: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-08T23:24:43Z", 
                            "lastUpdateTime": "2017-06-08T23:24:43Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-08T23:24:43Z", 
                            "lastUpdateTime": "2017-06-08T23:24:43Z", 
                            "message": "replication controller \"logging-es-data-master-52f7bjgb-1\" is waiting for pod \"logging-es-data-master-52f7bjgb-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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:274
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-9DDmWc", 
    "state": "absent"
}

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

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

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

TASK [openshift_logging_elasticsearch : Validate Elasticsearch cluster size] ***
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.002349", 
    "end": "2017-06-08 19:24:44.361334", 
    "rc": 0, 
    "start": "2017-06-08 19:24:44.358985"
}

STDOUT:

/tmp/openshift-logging-ansible-i1pUwg

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

TASK [openshift_logging_elasticsearch : Create templates subdirectory] *********
task path: /tmp/tmp.hFRLQOAdCw/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-i1pUwg/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.hFRLQOAdCw/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.hFRLQOAdCw/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-1t2dv"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T23:24:34Z", 
                    "name": "aggregated-logging-elasticsearch", 
                    "namespace": "logging", 
                    "resourceVersion": "1578", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-elasticsearch", 
                    "uid": "a1f99741-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-elasticsearch-token-9mllj"
                    }, 
                    {
                        "name": "aggregated-logging-elasticsearch-dockercfg-1t2dv"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

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

TASK [openshift_logging_elasticsearch : Create rolebinding-reader role] ********
task path: /tmp/tmp.hFRLQOAdCw/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-08T23:24:35Z", 
                    "name": "rolebinding-reader", 
                    "resourceVersion": "122", 
                    "selfLink": "/oapi/v1/clusterroles/rolebinding-reader", 
                    "uid": "a29f75b5-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "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.hFRLQOAdCw/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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:81
ok: [openshift] => {
    "changed": false, 
    "checksum": "d752c09323565f80ed14fa806d42284f0c5aef2a", 
    "dest": "/tmp/openshift-logging-ansible-i1pUwg/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-1496964286.88-197462296692419/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : Set logging-elasticsearch-view-role role] ***
task path: /tmp/tmp.hFRLQOAdCw/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-08T23:24:37Z", 
                    "name": "logging-elasticsearch-view-role", 
                    "namespace": "logging", 
                    "resourceVersion": "1583", 
                    "selfLink": "/oapi/v1/namespaces/logging/rolebindings/logging-elasticsearch-view-role", 
                    "uid": "a3a1e0ad-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:105
ok: [openshift] => {
    "changed": false, 
    "checksum": "f91458d5dad42c496e2081ef872777a6f6eb9ff9", 
    "dest": "/tmp/openshift-logging-ansible-i1pUwg/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-1496964288.32-149241693701678/source", 
    "state": "file", 
    "uid": 0
}

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

TASK [openshift_logging_elasticsearch : copy] **********************************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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-08T23:24:49Z", 
                    "name": "logging-elasticsearch-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1612", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-elasticsearch-ops", 
                    "uid": "aab40670-4ca1-11e7-82ce-0ea6eb78a972"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : Set ES secret] *************************
task path: /tmp/tmp.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:144
ok: [openshift] => {
    "changed": false, 
    "results": {
        "apiVersion": "v1", 
        "data": {
            "admin-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KgW0+gfxQ7ipGvReoPpX65uRgV3pTa/9154dinWYfwch+BBW9TfP7F2sbOZDGqGROjcNQTd8S6od1Py1FuQ7ZZdMDx3wl6ARWCAC0tPewsRc3WPns/52bFVKjDKA37RuTJcAJF8ztc2IruJyHJnmEc/NU5fT4zAetw3Wy650NEb1/w+bQY8gCNpRurblTSWePuM7DrVOAim+uhFeg3MF2FVEw3aZfLZOgy0bVXuvmPT3hCynuSqbmkrds+fcQiec9INLYIpOFL65Mv7nqZ2wUBCUJjx+APH2TXo0GQw3AYpUMAy+zKZgKpuzAeKKdsbYlhUs8RVT7lUvng3ekilhF3tp1Ledl2fQ5FR12taD3FSWM="
        }, 
        "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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:168
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.41.139", 
        "cmd": "/bin/oc get service logging-es-ops-cluster -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T23:24:51Z", 
                    "name": "logging-es-ops-cluster", 
                    "namespace": "logging", 
                    "resourceVersion": "1614", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-es-ops-cluster", 
                    "uid": "abc53556-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "spec": {
                    "clusterIP": "172.30.41.139", 
                    "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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:182
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.157.40", 
        "cmd": "/bin/oc get service logging-es-ops -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T23:24:52Z", 
                    "name": "logging-es-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1617", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-es-ops", 
                    "uid": "ac8ffcd6-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "spec": {
                    "clusterIP": "172.30.157.40", 
                    "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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:237
ok: [openshift] => {
    "ansible_facts": {
        "es_deploy_name": "logging-es-ops-data-master-hkbpoe6l"
    }, 
    "changed": false
}

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

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

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

TASK [openshift_logging_kibana : fail] *****************************************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.002039", 
    "end": "2017-06-08 19:24:55.277202", 
    "rc": 0, 
    "start": "2017-06-08 19:24:55.275163"
}

STDOUT:

/tmp/openshift-logging-ansible-FNTpLK

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

TASK [openshift_logging_kibana : Create templates subdirectory] ****************
task path: /tmp/tmp.hFRLQOAdCw/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-FNTpLK/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.hFRLQOAdCw/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.hFRLQOAdCw/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", 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T23:24:56Z", 
                    "name": "aggregated-logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1639", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-kibana", 
                    "uid": "ae903a0c-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-kibana-token-gnp21"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0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ENXRCanlBSTJsRzZ0dVZOSloKNCs0enNPdFU0Q0tiNjZFVjZEY3dYWVZVVERkcGw4dGs2RExSdFZlNitZOVBlRUxLZTVLcHVhU3QyejU5eENKNQp6MGcwdGdpazRVdnJreS91ZXBuYkJRRUpRbVBINEE4ZlpOZWpRWkREY0JpbFF3REw3TXBtQXFtN01CNG9wMnh0CmlXRlN6eEZWUHVWUytlRGQ2U0k9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K", 
    "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": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcFFJQkFBS0NBUUVBNi9Yekd2V2dlMDBZL3IvakVrZ0FjZ2lGVHRzZzQ4bkdFTEV4S1QyTklFOS85NVVtCmhEbTN1bGtqOWdBVk1MUitOQ05BamRTTkJuZytScFNKWU5lR1hpekxONG84ZlhQWForQnFLaS9RRC9FMHlBeEIKVVErU2Nod0pqRjFuUmlBWTZ3NlR5NHQ4R2ZLb01yTkdGa1hvMk52R21UY1BGVW1qenJzRHlHZkpCMTBKV1hHRwp1RXM1di9XVGo3MXdqeGw2cDNxc1lnMjJyY1BLT1lHN2tIemZ5c3JFZlJSK2FQT2RPYktJRm5tMFNjd0x1SzF4CjdYOG1JeHg2VnpUUWV5b3c0WHFOSzR3RXpoa1hhdnFCTVYvWkpuak1VMUVWZ0cxRFI0R3JJdjRTNjlBRVp3TnMKNHFyUzdKbmJTOVZVYmxVeDVvYmNtdW1JaXhhaVBNTTA1bnl6MVFJREFRQUJBb0lCQVFDR3J6eTBocit6b2E1Qwp1d1RCeXBkMmY2YVgvRHdweVdKazVMOUs2dmRER2gzUkZER0lCK24zVkNwU29IbDM4NDZWOUFsRTY2NFRvMDdvCnVxQXZ4dFhMcT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aEFvR0FPbFJXVEZtM3ZuMlVpNE5NZkVZUVUySVJaV2IzR0pmYW9ManYKRE15TytYM3F3bHA2RzRhZlgzODFIdi81MlJXb0V1eTVMMVptV1N2eHhuZDMwSVE3NVA4b0ZScmxiOFBnUFVoYgp4SEFnN29UcnduWklJYnZTSG1zV0x6MjE4RlVtMGFMQmY1emFhSU1OYytWLy9Sb1IxeHp6ZGwvYzVMUDVKckF6Cm1IbVl3K1VDZ1lFQXJMS2NwdW8wUS9pOVlvMGJXMFFrVE9zekhxWTlaeklYQ0ZpZ3NjWXJldmdWUGxTU2pmTloKTHczZk9LVXEvelVjNnZBNVd1QjFIdUIzdE9YRWEwNzVtS2lEaGtBbm0rOGViY25LOXZKRHJLOHY3VVZabGxVTQpBakNBUlVUOW91LzV2ekg3OHJPWUc3dFBhbkJSMkpqZmRPRGlSVjFqaTJia1FBaVo5b0pJTHZJPQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=", 
    "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": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURUakNDQWphZ0F3SUJBZ0lCQWpBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREl6TWpReE0xb1hEVEU1TURZd09ESXpNalF4TkZvdwpGakVVTUJJR0ExVUVBeE1MSUd0cFltRnVZUzF2Y0hNd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJEd0F3CmdnRUtBb0lCQVFEcjlmTWE5YUI3VFJqK3YrTVNTQUJ5Q0lWTzJ5RGp5Y1lRc1RFcFBZMGdUMy8zbFNhRU9iZTY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0VCQUgxSwpVcUJiVDZCL0ZEdUtrYTlGNmcrbGZybTVHQlhlbE5yLzNYbmgyS2RaaC9CeUg0RUZiMU44L3NYYXhzNWtNYW9aCkU2TncxQk4zeExxaDNVL0xVVzVEdGxsMHdQSGZDWG9CRllJQUxTMDk3Q3hGemRZK2V6L25ac1ZVcU1Nb0RmdEcKNU1sd0FrWHpPMXpZaXU0bkljbWVZUno4MVRsOVBqTUI2M0RkYkxyblEwUnZYL0Q1dEJqeUFJMmxHNnR1Vk5KWgo0KzR6c090VTRDS2I2NkVWNkRjd1hZVlVURGRwbDh0azZETFJ0VmU2K1k5UGVFTEtlNUtwdWFTdDJ6NTl4Q0o1CnowZzB0Z2lrNFV2cmt5L3VlcG5iQlFFSlFtUEg0QThmWk5lalFaRERjQmlsUXdETDdNcG1BcW03TUI0b3AyeHQKaVdGU3p4RlZQdVZTK2VEZDZTST0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=", 
    "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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:57
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.135.204", 
        "cmd": "/bin/oc get service logging-kibana -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T23:24:57Z", 
                    "name": "logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1646", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-kibana", 
                    "uid": "af690f0f-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "spec": {
                    "clusterIP": "172.30.135.204", 
                    "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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:89
ok: [openshift] => {
    "ansible_facts": {
        "kibana_ca": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREl6TWpReE1Wb1hEVEl5TURZd056SXpNalF4TWxvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQU92N1NocHlZeFBWSnFmRDhwc3owMlB3VHFtWnF4VlNlQXYwcEZzaHNkMFcKY2Q5VFJrbWNoZ25pck5MUGQwVU04STB5NGFYbnpEVlBnb1Rvb1lqSEFGcnF6ZFNYaHRSTlVkdEZWaENMa1J5WQpzcFV2VFZsVWYxQllVeVo2dFdJRnpQSVdEV20yUGtXZFdTMVRVc1VucDEvWDVPY2crbVc0MFQ5b2kyUUY1c0pFCk5LK3pXTGUyZDNtSitsR1hJemhSZVB1V0w2Y2EzN09CYjRsRjdUUGtnNm1FUTFrM0Q2R3pPbEdoV0l2VU1CNHgKbTlQVSsxcVdrSmUxTVlZeFUzT1labVRtUTB0VWVHWEp5Z0FONzFlWHRBT2VQbWJ5alZvbUc4TUwrL3hZSHZLcgpvYUNnS2hyaG5oL0tqUDNleExZL0ZVb3Jnd2dRMHFrOGpidHFLMzgrQWdNQ0F3RUFBYU1qTUNFd0RnWURWUjBQCkFRSC9CQVFEQWdLa01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFIMUsKVXFCYlQ2Qi9GRHVLa2E5RjZnK2xmcm01R0JYZWxOci8zWG5oMktkWmgvQnlINEVGYjFOOC9zWGF4czVrTWFvWgpFNk53MUJOM3hMcWgzVS9MVVc1RHRsbDB3UEhmQ1hvQkZZSUFMUzA5N0N4RnpkWStlei9uWnNWVXFNTW9EZnRHCjVNbHdBa1h6TzF6WWl1NG5JY21lWVJ6ODFUbDlQak1CNjNEZGJMcm5RMFJ2WC9ENXRCanlBSTJsRzZ0dVZOSloKNCs0enNPdFU0Q0tiNjZFVjZEY3dYWVZVVERkcGw4dGs2RExSdFZlNitZOVBlRUxLZTVLcHVhU3QyejU5eENKNQp6MGcwdGdpazRVdnJreS91ZXBuYkJRRUpRbVBINEE4ZlpOZWpRWkREY0JpbFF3REw3TXBtQXFtN01CNG9wMnh0CmlXRlN6eEZWUHVWUytlRGQ2U0k9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
    }, 
    "changed": false
}

TASK [openshift_logging_kibana : Generating Kibana route template] *************
task path: /tmp/tmp.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:94
ok: [openshift] => {
    "changed": false, 
    "checksum": "fd9760f15b430a4d75646644a436cc8d2f8adfe9", 
    "dest": "/tmp/openshift-logging-ansible-FNTpLK/templates/kibana-route.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "29847580816d6e9a3c5f61cd2673daf8", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 2714, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496964298.02-63879036411392/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_kibana : Setting Kibana route] *************************
task path: /tmp/tmp.hFRLQOAdCw/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-08T23:24:58Z", 
                    "labels": {
                        "component": "support", 
                        "logging-infra": "support", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1652", 
                    "selfLink": "/oapi/v1/namespaces/logging/routes/logging-kibana", 
                    "uid": "b03a35bd-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "spec": {
                    "host": "kibana.router.default.svc.cluster.local", 
                    "tls": {
                        "caCertificate": "-----BEGIN CERTIFICATE-----\nMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dn\naW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODIzMjQxMVoXDTIyMDYwNzIzMjQxMlow\nHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEB\nBQADggEPADCCAQoCggEBAOv7ShpyYxPVJqfD8psz02PwTqmZqxVSeAv0pFshsd0W\ncd9TRkmchgnirNLPd0UM8I0y4aXnzDVPgoTooYjHAFrqzdSXhtRNUdtFVhCLkRyY\nspUvTVlUf1BYUyZ6tWIFzPIWDWm2PkWdWS1TUsUnp1/X5Ocg+mW40T9oi2QF5sJE\nNK+zWLe2d3mJ+lGXIzhRePuWL6ca37OBb4lF7TPkg6mEQ1k3D6GzOlGhWIvUMB4x\nm9PU+1qWkJe1MYYxU3OYZmTmQ0tUeGXJygAN71eXtAOePmbyjVomG8ML+/xYHvKr\noaCgKhrhnh/KjP3exLY/FUorg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gQ0qk8jbtqK38+AgMCAwEAAaMjMCEwDgYDVR0P\nAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAH1K\nUqBbT6B/FDuKka9F6g+lfrm5GBXelNr/3Xnh2KdZh/ByH4EFb1N8/sXaxs5kMaoZ\nE6Nw1BN3xLqh3U/LUW5Dtll0wPHfCXoBFYIALS097CxFzdY+ez/nZsVUqMMoDftG\n5MlwAkXzO1zYiu4nIcmeYRz81Tl9PjMB63DdbLrnQ0RvX/D5tBjyAI2lG6tuVNJZ\n4+4zsOtU4CKb66EV6DcwXYVUTDdpl8tk6DLRtVe6+Y9PeELKe5KpuaSt2z59xCJ5\nz0g0tgik4Uvrky/uepnbBQEJQmPH4A8fZNejQZDDcBilQwDL7MpmAqm7MB4op2xt\niWFSzxFVPuVS+eDd6SI=\n-----END CERTIFICATE-----\n", 
                        "insecureEdgeTerminationPolicy": "Redirect", 
                        "termination": "reencrypt"
                    }, 
                    "to": {
                        "kind": "Service", 
                        "name": "logging-kibana", 
                        "weight": 100
                    }, 
                    "wildcardPolicy": "None"
                }, 
                "status": {
                    "ingress": [
                        {
                            "conditions": [
                                {
                                    "lastTransitionTime": "2017-06-08T23:24:58Z", 
                                    "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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:125
ok: [openshift] => {
    "ansible_facts": {
        "session_secret": "GCCS1UwPIiB4X71ZtvhhVdUSFNPNFJbs1tebXCfA84sEfLLGSHUKWbesfJVRlmuWYwqTFR6ZBDiZ5IhmnBTfbSBuJEK6ke2fXC44IbvSNgZt89gbKGPxS5i5hON4JhSlIyBfK5veyGVeEO7b6k2Td8TnkjAC2Mklexrm8KP2wlSc5A8dYzl5VDyrvgs2Cx1kjDkVImXn"
    }, 
    "changed": false
}

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

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

TASK [openshift_logging_kibana : Set kibana-proxy oauth-client] ****************
task path: /tmp/tmp.hFRLQOAdCw/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-08T23:24:59Z", 
                    "labels": {
                        "logging-infra": "support"
                    }, 
                    "name": "kibana-proxy", 
                    "resourceVersion": "1654", 
                    "selfLink": "/oapi/v1/oauthclients/kibana-proxy", 
                    "uid": "b0dc9c72-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "redirectURIs": [
                    "https://kibana.router.default.svc.cluster.local"
                ], 
                "scopeRestrictions": [
                    {
                        "literals": [
                            "user:info", 
                            "user:check-access", 
                            "user:list-projects"
                        ]
                    }
                ], 
                "secret": "QP5S2D4wKnEOwC6I2SF7gkonwS13U8phVIGLHo5DrMEK3Fu7QbTvSyD9XdAE9kgt"
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : Set Kibana secret] ****************************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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-ah4BR3 session-secret=/tmp/session-secret-5T2BaU server-key=/tmp/server-key-9jMpKg server-cert=/tmp/server-cert-XdWhDw server-tls.json=/tmp/server-tls.json-SnBm4N -n logging", 
        "results": "", 
        "returncode": 0
    }, 
    "state": "present"
}

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

TASK [openshift_logging_kibana : Set Kibana DC] ********************************
task path: /tmp/tmp.hFRLQOAdCw/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-08T23:25:02Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "kibana", 
                        "logging-infra": "kibana", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1672", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-kibana", 
                    "uid": "b225b63e-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "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.110.167: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.16:8443"
                                        }, 
                                        {
                                            "name": "OAP_LOGOUT_REDIRECT", 
                                            "value": "https://172.18.13.16: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.110.167: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-08T23:25:02Z", 
                            "lastUpdateTime": "2017-06-08T23:25:02Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-08T23:25:02Z", 
                            "lastUpdateTime": "2017-06-08T23:25:02Z", 
                            "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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:228
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-FNTpLK", 
    "state": "absent"
}

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

TASK [openshift_logging_kibana : fail] *****************************************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.002059", 
    "end": "2017-06-08 19:25:03.340815", 
    "rc": 0, 
    "start": "2017-06-08 19:25:03.338756"
}

STDOUT:

/tmp/openshift-logging-ansible-BqYM1M

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

TASK [openshift_logging_kibana : Create templates subdirectory] ****************
task path: /tmp/tmp.hFRLQOAdCw/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-BqYM1M/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.hFRLQOAdCw/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.hFRLQOAdCw/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-snm1l"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T23:24:56Z", 
                    "name": "aggregated-logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1644", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-kibana", 
                    "uid": "ae903a0c-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-kibana-token-gnp21"
                    }, 
                    {
                        "name": "aggregated-logging-kibana-dockercfg-snm1l"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREl6TWpReE1Wb1hEVEl5TURZd056SXpNalF4TWxvdw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dpazRVdnJreS91ZXBuYkJRRUpRbVBINEE4ZlpOZWpRWkREY0JpbFF3REw3TXBtQXFtN01CNG9wMnh0CmlXRlN6eEZWUHVWUytlRGQ2U0k9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K", 
    "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": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcFFJQkFBS0NBUUVBNi9Yekd2V2dlMDBZL3IvakVrZ0FjZ2lGVHRzZzQ4bkdFTEV4S1QyTklFOS85NVVtCmhEbTN1bGtqOWdBVk1MUitOQ05BamRTTkJuZytScFNKWU5lR1hpekxONG84ZlhQWForQnFLaS9RRC9FMHlBeEIKVVErU2Nod0pqRjFuUmlBWTZ3NlR5NHQ4R2ZLb01yTkdGa1hvMk52R21UY1BGVW1qenJzRHlHZkpCMTBKV1hHRwp1RXM1di9XVGo3MXdqeGw2cDNxc1lnMjJyY1BLT1lHN2tIemZ5c3JFZlJSK2FQT2RPYktJRm5tMFNjd0x1SzF4CjdYOG1JeHg2VnpUUWV5b3c0WHFOSzR3RXpoa1hhdnFCTVYvWkpuak1VMUVWZ0cxRFI0R3JJdjRTNjlBRVp3TnMKNHFyUzdKbmJTOVZVYmxVeDVvYmNtdW1JaXhhaVBNTTA1bnl6MVFJREFRQUJBb0lCQVFDR3J6eTBocit6b2E1Qwp1d1RCeXBkMmY2YVgvRHdweVdKazVMOUs2dmRER2gzUkZER0lCK24zVkNwU29IbDM4NDZWOUFsRTY2NFRvMDdvCnVxQXZ4dFhMcTRYVGpmUTVKNFlzcE12MGlKWWFnM085UEVHTUkzZFQ2dTBJVWNoQkh0RWFXcGZCOXp3L0UyTXUKaldYVUVOTjM5UHJIT2NaQ1FHWmYraCtPcEs3Nm8r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E3NVA4b0ZScmxiOFBnUFVoYgp4SEFnN29UcnduWklJYnZTSG1zV0x6MjE4RlVtMGFMQmY1emFhSU1OYytWLy9Sb1IxeHp6ZGwvYzVMUDVKckF6Cm1IbVl3K1VDZ1lFQXJMS2NwdW8wUS9pOVlvMGJXMFFrVE9zekhxWTlaeklYQ0ZpZ3NjWXJldmdWUGxTU2pmTloKTHczZk9LVXEvelVjNnZBNVd1QjFIdUIzdE9YRWEwNzVtS2lEaGtBbm0rOGViY25LOXZKRHJLOHY3VVZabGxVTQpBakNBUlVUOW91LzV2ekg3OHJPWUc3dFBhbkJSMkpqZmRPRGlSVjFqaTJia1FBaVo5b0pJTHZJPQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=", 
    "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": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURUakNDQWphZ0F3SUJBZ0lCQWpBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREl6TWpReE0xb1hEVEU1TURZd09ESXpNalF4TkZvdwpGakVVTUJJR0ExVUVBeE1MSUd0cFltRnVZUzF2Y0hNd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJEd0F3CmdnRUtBb0lCQVFEcjlmTWE5YUI3VFJqK3YrTVNTQUJ5Q0lWTzJ5RGp5Y1lRc1RFcFBZMGdUMy8zbFNhRU9iZTYKV1NQMkFCVXd0SDQwSTBDTjFJMEdlRDVHbElsZzE0WmVMTXMzaWp4OWM5ZG40R29xTDlBUDhUVElERUZSRDVKeQpIQW1NWFdkR0lCanJEcFBMaTN3Wjhx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L0xVVzVEdGxsMHdQSGZDWG9CRllJQUxTMDk3Q3hGemRZK2V6L25ac1ZVcU1Nb0RmdEcKNU1sd0FrWHpPMXpZaXU0bkljbWVZUno4MVRsOVBqTUI2M0RkYkxyblEwUnZYL0Q1dEJqeUFJMmxHNnR1Vk5KWgo0KzR6c090VTRDS2I2NkVWNkRjd1hZVlVURGRwbDh0azZETFJ0VmU2K1k5UGVFTEtlNUtwdWFTdDJ6NTl4Q0o1CnowZzB0Z2lrNFV2cmt5L3VlcG5iQlFFSlFtUEg0QThmWk5lalFaRERjQmlsUXdETDdNcG1BcW03TUI0b3AyeHQKaVdGU3p4RlZQdVZTK2VEZDZTST0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=", 
    "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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:57
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.87.54", 
        "cmd": "/bin/oc get service logging-kibana-ops -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T23:25:05Z", 
                    "name": "logging-kibana-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1677", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-kibana-ops", 
                    "uid": "b3fb922b-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "spec": {
                    "clusterIP": "172.30.87.54", 
                    "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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:94
ok: [openshift] => {
    "changed": false, 
    "checksum": "6150f4f9f15cb47ae0b1e948de90fe0c6d21964b", 
    "dest": "/tmp/openshift-logging-ansible-BqYM1M/templates/kibana-route.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "fc4766c7202d985ca05e358fad301bbf", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 2726, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496964305.54-275468013288827/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_kibana : Setting Kibana route] *************************
task path: /tmp/tmp.hFRLQOAdCw/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-08T23:25:06Z", 
                    "labels": {
                        "component": "support", 
                        "logging-infra": "support", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-kibana-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1680", 
                    "selfLink": "/oapi/v1/namespaces/logging/routes/logging-kibana-ops", 
                    "uid": "b4ada669-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "spec": {
                    "host": "kibana-ops.router.default.svc.cluster.local", 
                    "tls": {
                        "caCertificate": "-----BEGIN CERTIFICATE-----\nMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dn\naW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODIzMjQxMVoXDTIyMDYwNzIzMjQxMlow\nHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEB\nBQADggEPADCCAQoCggEBAOv7ShpyYxPVJqfD8psz02PwTqmZqxVSeAv0pFshsd0W\ncd9TRkmchgnirNLPd0UM8I0y4aXnzDVPgoTooYjHAFrqzdSXhtRNUdtFVhCLkRyY\nspUvTVlUf1BYUyZ6tWIFzPIWDWm2PkWdWS1TUsUnp1/X5Ocg+mW40T9oi2QF5sJE\nNK+zWLe2d3mJ+lGXIzhRePuWL6ca37OBb4lF7TPkg6mEQ1k3D6GzOlGhWIvUMB4x\nm9PU+1qWkJe1MYYxU3OYZmTmQ0tUeGXJygAN71eXtAOePmbyjVomG8ML+/xYHvKr\noaCgKhrhnh/KjP3exLY/FUorgwgQ0qk8jbtqK38+AgMCAwEAAaMjMCEwDgYDVR0P\nAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAH1K\nUqBbT6B/FDuKka9F6g+lfrm5GBXelNr/3Xnh2KdZh/ByH4EFb1N8/sXaxs5kMaoZ\nE6Nw1BN3xLqh3U/LUW5Dtll0wPHfCXoBFYIALS097CxFzdY+ez/nZsVUqMMoDftG\n5MlwAkXzO1zYiu4nIcmeYRz81Tl9PjMB63DdbLrnQ0RvX/D5tBjyAI2lG6tuVNJZ\n4+4zsOtU4CKb66EV6DcwXYVUTDdpl8tk6DLRtVe6+Y9PeELKe5KpuaSt2z59xCJ5\nz0g0tgik4Uvrky/uepnbBQEJQmPH4A8fZNejQZDDcBilQwDL7MpmAqm7MB4op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xt\niWFSzxFVPuVS+eDd6SI=\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-08T23:25:06Z", 
                                    "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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:125
ok: [openshift] => {
    "ansible_facts": {
        "session_secret": "M1wjR8kS4PeyTtCRqS4rCG7urRLpB1ATPFf7Ah7MjdzBQaeQvbIhpqP1NUJBsN367aVz6sHDnS7XuSPGnrPH5maHEshDFJ6MvkTDyhEKeCY86obQY9ZPOm8GoY7jrF8XsN8d6VqFDu0d3EdX6uXUGRJwVapJKLvXyIDKcHrQdg8IWJbxylVSNhArjghEtg7BIe0eoxS9"
    }, 
    "changed": false
}

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

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

TASK [openshift_logging_kibana : Set kibana-proxy oauth-client] ****************
task path: /tmp/tmp.hFRLQOAdCw/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-08T23:24:59Z", 
                    "labels": {
                        "logging-infra": "support"
                    }, 
                    "name": "kibana-proxy", 
                    "resourceVersion": "1681", 
                    "selfLink": "/oapi/v1/oauthclients/kibana-proxy", 
                    "uid": "b0dc9c72-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "redirectURIs": [
                    "https://kibana-ops.router.default.svc.cluster.local"
                ], 
                "scopeRestrictions": [
                    {
                        "literals": [
                            "user:info", 
                            "user:check-access", 
                            "user:list-projects"
                        ]
                    }
                ], 
                "secret": "TCuqxrqLrQwBuPoat2NDGNxgLpaaeMfBY348deGrFJ8ETdnI2UfI9lqBTBzxrAqX"
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

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

TASK [openshift_logging_kibana : Set Kibana Proxy secret] **********************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:197
changed: [openshift] => {
    "changed": true, 
    "checksum": "32cd10a5870292c47478348f67a13514a52a5bd6", 
    "dest": "/tmp/openshift-logging-ansible-BqYM1M/templates/kibana-dc.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "6d6f421bb98323cfc72752371396939c", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 3763, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496964309.29-42379553891853/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_kibana : Set Kibana DC] ********************************
task path: /tmp/tmp.hFRLQOAdCw/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-08T23:25:10Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "kibana-ops", 
                        "logging-infra": "kibana", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-kibana-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1696", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-kibana-ops", 
                    "uid": "b6ebd4ac-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "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.110.167: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.16:8443"
                                        }, 
                                        {
                                            "name": "OAP_LOGOUT_REDIRECT", 
                                            "value": "https://172.18.13.16: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.110.167: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-08T23:25:10Z", 
                            "lastUpdateTime": "2017-06-08T23:25:10Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-08T23:25:10Z", 
                            "lastUpdateTime": "2017-06-08T23:25:10Z", 
                            "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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:228
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-BqYM1M", 
    "state": "absent"
}

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

TASK [openshift_logging_curator : fail] ****************************************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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:01.003200", 
    "end": "2017-06-08 19:25:12.729250", 
    "rc": 0, 
    "start": "2017-06-08 19:25:11.726050"
}

STDOUT:

/tmp/openshift-logging-ansible-HRY73m

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

TASK [openshift_logging_curator : Create templates subdirectory] ***************
task path: /tmp/tmp.hFRLQOAdCw/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-HRY73m/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.hFRLQOAdCw/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.hFRLQOAdCw/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-74bwm"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T23:25:13Z", 
                    "name": "aggregated-logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1709", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-curator", 
                    "uid": "b8f5ec06-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-curator-token-v98jt"
                    }, 
                    {
                        "name": "aggregated-logging-curator-dockercfg-74bwm"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

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

TASK [openshift_logging_curator : copy] ****************************************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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-08T23:25:14Z", 
                    "name": "logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1711", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-curator", 
                    "uid": "b995cd7a-4ca1-11e7-82ce-0ea6eb78a972"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

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

TASK [openshift_logging_curator : Set Curator DC] ******************************
task path: /tmp/tmp.hFRLQOAdCw/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-08T23:25:16Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "curator", 
                        "logging-infra": "curator", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1729", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-curator", 
                    "uid": "ba8a2c89-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "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.110.167: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-08T23:25:16Z", 
                            "lastUpdateTime": "2017-06-08T23:25:16Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-08T23:25:16Z", 
                            "lastUpdateTime": "2017-06-08T23:25:16Z", 
                            "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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:109
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-HRY73m", 
    "state": "absent"
}

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

TASK [openshift_logging_curator : fail] ****************************************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.001970", 
    "end": "2017-06-08 19:25:18.618129", 
    "rc": 0, 
    "start": "2017-06-08 19:25:18.616159"
}

STDOUT:

/tmp/openshift-logging-ansible-t4pBmd

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

TASK [openshift_logging_curator : Create templates subdirectory] ***************
task path: /tmp/tmp.hFRLQOAdCw/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-t4pBmd/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.hFRLQOAdCw/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.hFRLQOAdCw/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-74bwm"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T23:25:13Z", 
                    "name": "aggregated-logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1709", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-curator", 
                    "uid": "b8f5ec06-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-curator-token-v98jt"
                    }, 
                    {
                        "name": "aggregated-logging-curator-dockercfg-74bwm"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

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

TASK [openshift_logging_curator : copy] ****************************************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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-08T23:25:14Z", 
                    "name": "logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1711", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-curator", 
                    "uid": "b995cd7a-4ca1-11e7-82ce-0ea6eb78a972"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_curator : Set Curator secret] **************************
task path: /tmp/tmp.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:62
ok: [openshift] => {
    "changed": false, 
    "results": {
        "apiVersion": "v1", 
        "data": {
            "ca": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREl6TWpReE1Wb1hEVEl5TURZd056SXpNalF4TWxvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQU92N1NocHlZeFBWSnFmRDhwc3owMlB3VHFtWnF4VlNlQXYwcEZzaHNkMFcKY2Q5VFJrbWNoZ25pck5MUGQwVU04STB5NGFYbnpEVlBnb1Rvb1lqSEFGcnF6ZFNYaHRSTlVkdEZWaENMa1J5WQpzcFV2VFZsVWYxQllVeVo2dFdJRnpQSVdEV20yUGtXZFdTMVRVc1VucDEvWDVPY2crbVc0MFQ5b2kyUUY1c0pFCk5LK3pXTGUyZDNtSitsR1hJemhSZVB1V0w2Y2EzN09CYjRsRjdUUGtnNm1FUTFrM0Q2R3pPbEdoV0l2VU1CNHgKbTlQVSsxcVdrSmUxTVlZeFUzT1labVRtUTB0VWVHWEp5Z0FONzFlWHRBT2VQbWJ5al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kejk2alBOcWsKU0JNM25sUnRaNm5FZmV3YlNRWDNISWdlU3NHMVpNNm94Uy82bmw4Q2dZQkFZMUZ0YmtaY010eXNyOEJzaHZmdApCN2d5QXIycTVtYTU5dEVCUUlubTVITC9odmE4SG9LbEE2QktsOU5NcktYVG0wVVZaTDFaK1ByTVE2b0JtcUNNCmdvRi9BUHY0K0FwY0lsVFp2d0c0S0RUYzB3QmZ1M1YzZ2MwK3FoOTF3QTRhOVdwallRVHJHR01acDd4VmxFWDgKQ1JaNEM1MHA3cS9talZmQnRoUmZjZz09Ci0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K"
        }, 
        "kind": "Secret", 
        "metadata": {
            "creationTimestamp": null, 
            "name": "logging-curator"
        }, 
        "type": "Opaque"
    }, 
    "state": "present"
}

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

TASK [openshift_logging_curator : Set Curator DC] ******************************
task path: /tmp/tmp.hFRLQOAdCw/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-08T23:25:21Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "curator-ops", 
                        "logging-infra": "curator", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-curator-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1744", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-curator-ops", 
                    "uid": "bdbfe084-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "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.110.167: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-08T23:25:21Z", 
                            "lastUpdateTime": "2017-06-08T23:25:21Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-08T23:25:21Z", 
                            "lastUpdateTime": "2017-06-08T23:25:21Z", 
                            "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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:109
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-t4pBmd", 
    "state": "absent"
}

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

TASK [openshift_logging_fluentd : fail] ****************************************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.001983", 
    "end": "2017-06-08 19:25:24.701139", 
    "rc": 0, 
    "start": "2017-06-08 19:25:24.699156"
}

STDOUT:

/tmp/openshift-logging-ansible-xKSLjK

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

TASK [openshift_logging_fluentd : Create templates subdirectory] ***************
task path: /tmp/tmp.hFRLQOAdCw/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-xKSLjK/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.hFRLQOAdCw/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.hFRLQOAdCw/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-8sv6l"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T23:25:25Z", 
                    "name": "aggregated-logging-fluentd", 
                    "namespace": "logging", 
                    "resourceVersion": "1756", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-fluentd", 
                    "uid": "c01e4bf5-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-fluentd-token-slg66"
                    }, 
                    {
                        "name": "aggregated-logging-fluentd-dockercfg-8sv6l"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

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

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

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

TASK [openshift_logging_fluentd : copy] ****************************************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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.hFRLQOAdCw/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-08T23:25:28Z", 
                    "name": "logging-fluentd", 
                    "namespace": "logging", 
                    "resourceVersion": "1762", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-fluentd", 
                    "uid": "c1e25732-4ca1-11e7-82ce-0ea6eb78a972"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

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

TASK [openshift_logging_fluentd : Set logging-fluentd daemonset] ***************
task path: /tmp/tmp.hFRLQOAdCw/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-08T23:25:30Z", 
                    "generation": 1, 
                    "labels": {
                        "component": "fluentd", 
                        "logging-infra": "fluentd", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-fluentd", 
                    "namespace": "logging", 
                    "resourceVersion": "1768", 
                    "selfLink": "/apis/extensions/v1beta1/namespaces/logging/daemonsets/logging-fluentd", 
                    "uid": "c2dfdb99-4ca1-11e7-82ce-0ea6eb78a972"
                }, 
                "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.110.167: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.hFRLQOAdCw/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-08T22:46:11Z", 
                            "labels": {
                                "beta.kubernetes.io/arch": "amd64", 
                                "beta.kubernetes.io/os": "linux", 
                                "kubernetes.io/hostname": "172.18.13.16"
                            }, 
                            "name": "172.18.13.16", 
                            "namespace": "", 
                            "resourceVersion": "1748", 
                            "selfLink": "/api/v1/nodes/172.18.13.16", 
                            "uid": "45013f7b-4c9c-11e7-82ce-0ea6eb78a972"
                        }, 
                        "spec": {
                            "externalID": "172.18.13.16", 
                            "providerID": "aws:////i-0c362f74f7ee1cdd2"
                        }, 
                        "status": {
                            "addresses": [
                                {
                                    "address": "172.18.13.16", 
                                    "type": "LegacyHostIP"
                                }, 
                                {
                                    "address": "172.18.13.16", 
                                    "type": "InternalIP"
                                }, 
                                {
                                    "address": "172.18.13.16", 
                                    "type": "Hostname"
                                }
                            ], 
                            "allocatable": {
                                "cpu": "4", 
                                "memory": "7129288Ki", 
                                "pods": "40"
                            }, 
                            "capacity": {
                                "cpu": "4", 
                                "memory": "7231688Ki", 
                                "pods": "40"
                            }, 
                            "conditions": [
                                {
                                    "lastHeartbeatTime": "2017-06-08T23:25:24Z", 
                                    "lastTransitionTime": "2017-06-08T22:46:11Z", 
                                    "message": "kubelet has sufficient disk space available", 
                                    "reason": "KubeletHasSufficientDisk", 
                                    "status": "False", 
                                    "type": "OutOfDisk"
                                }, 
                                {
                                    "lastHeartbeatTime": "2017-06-08T23:25:24Z", 
                                    "lastTransitionTime": "2017-06-08T22:46:11Z", 
                                    "message": "kubelet has sufficient memory available", 
                                    "reason": "KubeletHasSufficientMemory", 
                                    "status": "False", 
                                    "type": "MemoryPressure"
                                }, 
                                {
                                    "lastHeartbeatTime": "2017-06-08T23:25:24Z", 
                                    "lastTransitionTime": "2017-06-08T22:46:11Z", 
                                    "message": "kubelet has no disk pressure", 
                                    "reason": "KubeletHasNoDiskPressure", 
                                    "status": "False", 
                                    "type": "DiskPressure"
                                }, 
                                {
                                    "lastHeartbeatTime": "2017-06-08T23:25:24Z", 
                                    "lastTransitionTime": "2017-06-08T22:46:11Z", 
                                    "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:0f09f026c3097b4a54215a640de85e80316e52ff27473fbe322a1b804abd8c31", 
                                        "docker.io/openshift/origin-docker-registry:latest"
                                    ], 
                                    "sizeBytes": 1100552851
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-docker-registry:6acabdc", 
                                        "openshift/origin-docker-registry:latest"
                                    ], 
                                    "sizeBytes": 1100164272
                                }, 
                                {
                                    "names": [
                                        "openshift/node:6acabdc", 
                                        "openshift/node:latest"
                                    ], 
                                    "sizeBytes": 1051721928
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-haproxy-router:latest"
                                    ], 
                                    "sizeBytes": 1022758742
                                }, 
                                {
                                    "names": [
                                        "docker.io/openshift/origin-deployer@sha256:a3903fa98b9712fc789ed0061cebb108e83dc32d8d9c791b560ac00a9c86ee5f", 
                                        "docker.io/openshift/origin-deployer:latest"
                                    ], 
                                    "sizeBytes": 1002342156
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-docker-builder:6acabdc", 
                                        "openshift/origin-docker-builder:latest"
                                    ], 
                                    "sizeBytes": 1001728427
                                }, 
                                {
                                    "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-cluster-capacity:6acabdc", 
                                        "openshift/origin-cluster-capacity:latest"
                                    ], 
                                    "sizeBytes": 962455026
                                }, 
                                {
                                    "names": [
                                        "rhel7.1:latest"
                                    ], 
                                    "sizeBytes": 765301508
                                }, 
                                {
                                    "names": [
                                        "openshift/dind-node:latest"
                                    ], 
                                    "sizeBytes": 731453034
                                }, 
                                {
                                    "names": [
                                        "172.30.110.167:5000/logging/logging-auth-proxy@sha256:04e5f4096eae5929b6e340226a26b8ad93eb21181aea619f2c7f721a7bee13f4", 
                                        "172.30.110.167:5000/logging/logging-auth-proxy:latest"
                                    ], 
                                    "sizeBytes": 715536037
                                }, 
                                {
                                    "names": [
                                        "<none>@<none>", 
                                        "<none>:<none>"
                                    ], 
                                    "sizeBytes": 709532011
                                }, 
                                {
                                    "names": [
                                        "docker.io/node@sha256:46db0dd19955beb87b841c30a6b9812ba626473283e84117d1c016deee5949a9", 
                                        "docker.io/node:0.10.36"
                                    ], 
                                    "sizeBytes": 697128386
                                }, 
                                {
                                    "names": [
                                        "docker.io/openshift/origin-logging-kibana@sha256:3b95068a8514b13780c047f955e99d481af5597bf2b214501030e7be2f4d6dc1", 
                                        "docker.io/openshift/origin-logging-kibana:latest"
                                    ], 
                                    "sizeBytes": 682851503
                                }, 
                                {
                                    "names": [
                                        "172.30.110.167:5000/logging/logging-kibana@sha256:5a84d42107f00e5b22937b4d101c477eb192f0840c19405a5d2238d8c957bc35", 
                                        "172.30.110.167:5000/logging/logging-kibana:latest"
                                    ], 
                                    "sizeBytes": 682851468
                                }, 
                                {
                                    "names": [
                                        "openshift/dind:latest"
                                    ], 
                                    "sizeBytes": 640650210
                                }, 
                                {
                                    "names": [
                                        "172.30.110.167:5000/logging/logging-elasticsearch@sha256:4e31228c91f5f8589ab67400ab28dbfb3cf7f934937beac47c3f39e5bd72045e", 
                                        "172.30.110.167:5000/logging/logging-elasticsearch:latest"
                                    ], 
                                    "sizeBytes": 623379751
                                }, 
                                {
                                    "names": [
                                        "172.30.110.167:5000/logging/logging-fluentd@sha256:d9fea4ead913cded8836ebc184dd1e7191f8effa922c4df5eeaf44001198fa45", 
                                        "172.30.110.167:5000/logging/logging-fluentd:latest"
                                    ], 
                                    "sizeBytes": 472182601
                                }, 
                                {
                                    "names": [
                                        "docker.io/openshift/origin-logging-elasticsearch@sha256:273c11b82929c5f946ddb48bd49dbe1e77ba40d9c15275dc7619fd07b9c8ec54", 
                                        "docker.io/openshift/origin-logging-elasticsearch:latest"
                                    ], 
                                    "sizeBytes": 425433879
                                }, 
                                {
                                    "names": [
                                        "172.30.110.167:5000/logging/logging-curator@sha256:f720603163529e6a496fb7c9f9a032e88e2e21b5dbbde8ed8a1c1fa60108fa02", 
                                        "172.30.110.167:5000/logging/logging-curator:latest"
                                    ], 
                                    "sizeBytes": 418287795
                                }, 
                                {
                                    "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:latest"
                                    ], 
                                    "sizeBytes": 213199843
                                }, 
                                {
                                    "names": [
                                        "registry.access.redhat.com/rhel7.2@sha256:98e6ca5d226c26e31a95cd67716afe22833c943e1926a21daf1a030906a02249", 
                                        "registry.access.redhat.com/rhel7.2:latest"
                                    ], 
                                    "sizeBytes": 201376319
                                }, 
                                {
                                    "names": [
                                        "registry.access.redhat.com/rhel7.3@sha256:1e232401d8e0ba53b36b757b4712fbcbd1dab9c21db039c45a84871a74e89e68", 
                                        "registry.access.redhat.com/rhel7.3:latest"
                                    ], 
                                    "sizeBytes": 192693772
                                }, 
                                {
                                    "names": [
                                        "docker.io/centos@sha256:bba1de7c9d900a898e3cadbae040dfe8a633c06bc104a0df76ae24483e03c077"
                                    ], 
                                    "sizeBytes": 192548999
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-source:latest"
                                    ], 
                                    "sizeBytes": 192548894
                                }, 
                                {
                                    "names": [
                                        "docker.io/centos@sha256:aebf12af704307dfa0079b3babdca8d7e8ff6564696882bcb5d11f1d461f9ee9", 
                                        "docker.io/centos:7", 
                                        "docker.io/centos:centos7"
                                    ], 
                                    "sizeBytes": 192548537
                                }, 
                                {
                                    "names": [
                                        "registry.access.redhat.com/rhel7.1@sha256:1bc5a4c43bbb29a5a96a61896ff696933be3502e2f5fdc4cde02d9e101731fdd", 
                                        "registry.access.redhat.com/rhel7.1:latest"
                                    ], 
                                    "sizeBytes": 158229901
                                }, 
                                {
                                    "names": [
                                        "openshift/hello-openshift:6acabdc", 
                                        "openshift/hello-openshift:latest"
                                    ], 
                                    "sizeBytes": 5643318
                                }
                            ], 
                            "nodeInfo": {
                                "architecture": "amd64", 
                                "bootID": "6db5d32d-34a3-4bf3-84c3-1e7cd16904a7", 
                                "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": "EC2581BE-23E4-2DBB-CB0A-56F2BD3A8E0C"
                            }
                        }
                    }
                ], 
                "kind": "List", 
                "metadata": {}, 
                "resourceVersion": "", 
                "selfLink": ""
            }
        ], 
        "returncode": 0
    }, 
    "state": "list"
}

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

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

TASK [openshift_logging_fluentd : Label 172.18.13.16 for Fluentd deployment] ***
task path: /tmp/tmp.hFRLQOAdCw/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.16 logging-infra-fluentd=true --overwrite", 
        "results": "", 
        "returncode": 0
    }, 
    "state": "add"
}

TASK [openshift_logging_fluentd : command] *************************************
task path: /tmp/tmp.hFRLQOAdCw/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.502161", 
    "end": "2017-06-08 19:25:33.083934", 
    "rc": 0, 
    "start": "2017-06-08 19:25:32.581773"
}

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

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

TASK [openshift_logging : include] *********************************************
task path: /tmp/tmp.hFRLQOAdCw/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.hFRLQOAdCw/openhift-ansible/roles/openshift_logging/tasks/main.yaml:40
ok: [openshift -> 127.0.0.1] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-Nw1QpB", 
    "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 86.267s: /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-52f7bjgb-1-26h6x   0/1       Pending   0          0s
NAME                                      READY     STATUS    RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       Pending   0          1s
... repeated 3 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          2s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          3s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          4s
... repeated 3 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          5s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          6s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          7s
... repeated 3 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          8s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          9s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          10s
... repeated 3 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          11s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          12s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          13s
... repeated 3 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          14s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          15s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          16s
... repeated 3 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          17s
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          18s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          19s
... repeated 3 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          20s
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          21s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          22s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          23s
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          24s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          25s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          26s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          27s
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          28s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          29s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          30s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          31s
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          32s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          33s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       ContainerCreating   0          34s
NAME                                      READY     STATUS    RESTARTS   AGE
logging-es-data-master-52f7bjgb-1-26h6x   0/1       Running   0          34s
Standard error from the command:
No resources found.
... repeated 126 times
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 21.477s: /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-vqfs4   0/2       ContainerCreating   0          23s
... repeated 2 times
NAME                     READY     STATUS              RESTARTS   AGE
logging-kibana-1-vqfs4   0/2       ContainerCreating   0          24s
... repeated 2 times
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   0/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3022 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          25s
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   0/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3010 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          26s
... repeated 2 times
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   0/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3010 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          27s
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   0/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3010 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          28s
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   0/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3010 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          29s
... repeated 2 times
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   0/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3010 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          30s
... repeated 2 times
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   0/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3010 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          31s
... repeated 2 times
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   0/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3010 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          32s
... repeated 2 times
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   0/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3010 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          33s
... repeated 2 times
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   0/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3010 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          34s
... repeated 2 times
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   0/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3010 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          35s
... repeated 2 times
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   0/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3010 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          36s
... repeated 2 times
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   0/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3010 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          37s
... repeated 2 times
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   0/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3010 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          38s
... repeated 3 times
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   0/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3010 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          39s
... repeated 2 times
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   0/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3010 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          40s
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   1/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3010 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          40s
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   1/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3010 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          41s
... repeated 2 times
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   1/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3010 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          42s
... repeated 2 times
NAME                     READY     STATUS                                                                                                                                                                                                                                                                  RESTARTS   AGE
logging-kibana-1-vqfs4   1/2       rpc error: code = 2 desc = Error response from daemon: {"message":"devmapper: Thin Pool has 3010 free data blocks which is less than minimum required 3035 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"}   0          43s
... repeated 2 times
NAME                     READY     STATUS    RESTARTS   AGE
logging-kibana-1-vqfs4   2/2       Running   0          44s
Standard error 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.255s: /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-p9c27   1/1       Running   0          51s

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

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.239s: /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-x7q2p   1/2       Running   0          48s

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.260s: /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-wq6c3   1/1       Running   0          50s

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.301s: /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.110.167: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 23:27:24.368910350+00:00
added es message 474d617f-9eda-40ed-aeda-d625cbb4e89b
added es-ops message 98a1289f-e50f-4fa5-a344-c73fd6232d22
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 474d617f-9eda-40ed-aeda-d625cbb4e89b
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 98a1289f-e50f-4fa5-a344-c73fd6232d22
END wait_for_fluentd_to_catch_up took 6 seconds at 2017-06-08 23:27:30.661100378+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.239s: /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.520s: /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.16: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.238s: /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.258s: /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.439s: /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.16: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.222s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:228: executing 'oc project logging > /dev/null' expecting success
There was no output from the command.
There was no error output from the command.
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:229: executing 'oadm policy add-role-to-user view loguser' expecting success...
SUCCESS after 0.235s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:229: executing 'oadm policy add-role-to-user view loguser' expecting success
Standard output from the command:
role "view" added: "loguser"

There was no error output from the command.
Checking if Elasticsearch logging-es-data-master-52f7bjgb-1-26h6x is ready
{
    "_id": "0",
    "_index": ".searchguard.logging-es-data-master-52f7bjgb-1-26h6x",
    "_shards": {
        "failed": 0,
        "successful": 1,
        "total": 1
    },
    "_type": "rolesmapping",
    "_version": 2,
    "created": false
}
Checking if Elasticsearch logging-es-ops-data-master-hkbpoe6l-1-20qsg is ready
{
    "_id": "0",
    "_index": ".searchguard.logging-es-ops-data-master-hkbpoe6l-1-20qsg",
    "_shards": {
        "failed": 0,
        "successful": 1,
        "total": 1
    },
    "_type": "rolesmapping",
    "_version": 2,
    "created": false
}
------------------------------------------
     Test 'admin' user can access cluster stats
------------------------------------------
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:265: executing 'test 200 = 200' expecting success...
SUCCESS after 0.009s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:265: executing 'test 200 = 200' expecting success
There was no output from the command.
There was no error output from the command.
------------------------------------------
     Test 'admin' user can access cluster stats for OPS cluster
------------------------------------------
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:274: executing 'test 200 = 200' expecting success...
SUCCESS after 0.009s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:274: executing 'test 200 = 200' expecting success
There was no output from the command.
There was no error output from the command.
Running e2e tests
Checking installation of the EFK stack...
Running test/cluster/rollout.sh:20: executing 'oc project logging' expecting success...
SUCCESS after 0.215s: test/cluster/rollout.sh:20: executing 'oc project logging' expecting success
Standard output from the command:
Already on project "logging" on server "https://172.18.13.16: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.271s: 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.221s: 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.246s: 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.207s: 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.205s: 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.205s: 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.220s: 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.207s: 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-52f7bjgb' expecting success...
SUCCESS after 0.209s: test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-es-data-master-52f7bjgb' expecting success
Standard output from the command:
NAME                              REVISION   DESIRED   CURRENT   TRIGGERED BY
logging-es-data-master-52f7bjgb   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-52f7bjgb' expecting success...
SUCCESS after 0.213s: test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-es-data-master-52f7bjgb' expecting success
Standard output from the command:
replication controller "logging-es-data-master-52f7bjgb-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-hkbpoe6l' expecting success...
SUCCESS after 0.208s: test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-es-ops-data-master-hkbpoe6l' expecting success
Standard output from the command:
NAME                                  REVISION   DESIRED   CURRENT   TRIGGERED BY
logging-es-ops-data-master-hkbpoe6l   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-hkbpoe6l' expecting success...
SUCCESS after 0.239s: test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-es-ops-data-master-hkbpoe6l' expecting success
Standard output from the command:
replication controller "logging-es-ops-data-master-hkbpoe6l-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.205s: 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.252s: 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.219s: 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.35.11   <none>        9200/TCP   3m

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.268s: 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.231.89   <none>        9300/TCP   3m

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.218s: 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.135.204   <none>        443/TCP   2m

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.212s: 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.157.40   <none>        9200/TCP   3m

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.215s: 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.41.139   <none>        9300/TCP   3m

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.208s: 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.87.54   <none>        443/TCP   2m

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.222s: 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   TCuqxrqLrQwBuPoat2NDGNxgLpaaeMfBY348deGrFJ8ETdnI2UfI9lqBTBzxrAqX   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.250s: 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   2m

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.220s: 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.232s: test/cluster/functionality.sh:40: executing 'oc login --username=admin --password=admin' expecting success
Standard output from the command:
Login successful.

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

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

Using project "logging".

There was no error output from the command.
Running test/cluster/functionality.sh:44: executing 'oc login --username=system:admin' expecting success...
SUCCESS after 0.240s: test/cluster/functionality.sh:44: executing 'oc login --username=system:admin' expecting success
Standard output from the command:
Logged into "https://172.18.13.16: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.422s: 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.16:8443".

There was no error output from the command.
[INFO] Testing Kibana pod logging-kibana-1-vqfs4 for a successful start...
Running test/cluster/functionality.sh:52: executing 'oc exec logging-kibana-1-vqfs4 -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.291s: test/cluster/functionality.sh:52: executing 'oc exec logging-kibana-1-vqfs4 -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-vqfs4 -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.212s: test/cluster/functionality.sh:53: executing 'oc get pod logging-kibana-1-vqfs4 -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-vqfs4 -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.221s: test/cluster/functionality.sh:54: executing 'oc get pod logging-kibana-1-vqfs4 -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-52f7bjgb-1-26h6x for a successful start...
Running test/cluster/functionality.sh:59: executing 'curl_es 'logging-es-data-master-52f7bjgb-1-26h6x' '/' -X HEAD -w '%{response_code}'' expecting any result and text '200'; re-trying every 0.2s until completion or 600.000s...
SUCCESS after 0.376s: test/cluster/functionality.sh:59: executing 'curl_es 'logging-es-data-master-52f7bjgb-1-26h6x' '/' -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-52f7bjgb-1-26h6x -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.235s: test/cluster/functionality.sh:60: executing 'oc get pod logging-es-data-master-52f7bjgb-1-26h6x -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-52f7bjgb-1-26h6x recovered its indices after starting...
Running test/cluster/functionality.sh:63: executing 'curl_es 'logging-es-data-master-52f7bjgb-1-26h6x' '/_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.397s: test/cluster/functionality.sh:63: executing 'curl_es 'logging-es-data-master-52f7bjgb-1-26h6x' '/_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":"JORKwkhBR4itE8eyuZthMg"}200
There was no error output from the command.
[INFO] Elasticsearch pod logging-es-data-master-52f7bjgb-1-26h6x is the master
[INFO] Checking that Elasticsearch pod logging-es-data-master-52f7bjgb-1-26h6x has persisted indices created by Fluentd...
Running test/cluster/functionality.sh:76: executing 'curl_es 'logging-es-data-master-52f7bjgb-1-26h6x' '/_cat/indices?h=index'' expecting any result and text '^(project|\.operations)\.'; re-trying every 0.2s until completion or 600.000s...
SUCCESS after 0.368s: test/cluster/functionality.sh:76: executing 'curl_es 'logging-es-data-master-52f7bjgb-1-26h6x' '/_cat/indices?h=index'' expecting any result and text '^(project|\.operations)\.'; re-trying every 0.2s until completion or 600.000s
Standard output from the command:
.kibana.d033e22ae348aeb5660fc2140aec35850c4da997                
project.logging.46675975-4c9c-11e7-82ce-0ea6eb78a972.2017.06.08 
.searchguard.logging-es-data-master-52f7bjgb-1-26h6x            
.kibana                                                         
project.default.41bdd946-4c9c-11e7-82ce-0ea6eb78a972.2017.06.08 

There was no error output from the command.
[INFO] Cheking for index project.logging.46675975-4c9c-11e7-82ce-0ea6eb78a972 with Kibana pod logging-kibana-1-vqfs4...
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-vqfs4' 'logging-es:9200' 'project.logging.46675975-4c9c-11e7-82ce-0ea6eb78a972' '/var/log/containers/*_46675975-4c9c-11e7-82ce-0ea6eb78a972_*.log' '500' 'admin' 'KT1599CgGhwB2IgXQRIwq_9FDoEdNvOh0dBRBvMrHbg' '127.0.0.1'' expecting success...
SUCCESS after 10.723s: 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-vqfs4' 'logging-es:9200' 'project.logging.46675975-4c9c-11e7-82ce-0ea6eb78a972' '/var/log/containers/*_46675975-4c9c-11e7-82ce-0ea6eb78a972_*.log' '500' 'admin' 'KT1599CgGhwB2IgXQRIwq_9FDoEdNvOh0dBRBvMrHbg' '127.0.0.1'' expecting success
Standard output from the command:
Executing command [oc exec logging-kibana-1-vqfs4 -- 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 KT1599CgGhwB2IgXQRIwq_9FDoEdNvOh0dBRBvMrHbg' -H 'X-Forwarded-For: 127.0.0.1' -XGET "https://logging-es:9200/project.logging.46675975-4c9c-11e7-82ce-0ea6eb78a972.*/_search?q=hostname:ip-172-18-13-16&fields=message&size=500"]
Failure - no log entries found in Elasticsearch logging-es:9200 for index project.logging.46675975-4c9c-11e7-82ce-0ea6eb78a972

There was no error output from the command.
[INFO] Cheking for index project.default.41bdd946-4c9c-11e7-82ce-0ea6eb78a972 with Kibana pod logging-kibana-1-vqfs4...
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-vqfs4' 'logging-es:9200' 'project.default.41bdd946-4c9c-11e7-82ce-0ea6eb78a972' '/var/log/containers/*_41bdd946-4c9c-11e7-82ce-0ea6eb78a972_*.log' '500' 'admin' 'KT1599CgGhwB2IgXQRIwq_9FDoEdNvOh0dBRBvMrHbg' '127.0.0.1'' expecting success...
SUCCESS after 0.581s: 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-vqfs4' 'logging-es:9200' 'project.default.41bdd946-4c9c-11e7-82ce-0ea6eb78a972' '/var/log/containers/*_41bdd946-4c9c-11e7-82ce-0ea6eb78a972_*.log' '500' 'admin' 'KT1599CgGhwB2IgXQRIwq_9FDoEdNvOh0dBRBvMrHbg' '127.0.0.1'' expecting success
Standard output from the command:
Executing command [oc exec logging-kibana-1-vqfs4 -- 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 KT1599CgGhwB2IgXQRIwq_9FDoEdNvOh0dBRBvMrHbg' -H 'X-Forwarded-For: 127.0.0.1' -XGET "https://logging-es:9200/project.default.41bdd946-4c9c-11e7-82ce-0ea6eb78a972.*/_search?q=hostname:ip-172-18-13-16&fields=message&size=500"]
Failure - no log entries found in Elasticsearch logging-es:9200 for index project.default.41bdd946-4c9c-11e7-82ce-0ea6eb78a972

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

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

There was no error output from the command.
[INFO] Cheking for index .operations with Kibana pod logging-kibana-ops-1-x7q2p...
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-x7q2p' 'logging-es-ops:9200' '.operations' '/var/log/messages' '500' 'admin' 'FQ8rCiG3SIik20FeTTO7Dq2mG10uoCmoM5zRUXNdA2o' '127.0.0.1'' expecting success...
SUCCESS after 0.859s: 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-x7q2p' 'logging-es-ops:9200' '.operations' '/var/log/messages' '500' 'admin' 'FQ8rCiG3SIik20FeTTO7Dq2mG10uoCmoM5zRUXNdA2o' '127.0.0.1'' expecting success
Standard output from the command:
Executing command [oc exec logging-kibana-ops-1-x7q2p -- 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 FQ8rCiG3SIik20FeTTO7Dq2mG10uoCmoM5zRUXNdA2o' -H 'X-Forwarded-For: 127.0.0.1' -XGET "https://logging-es-ops:9200/.operations.*/_search?q=hostname:ip-172-18-13-16&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-hkbpoe6l-1-20qsg contains common data model index templates...
Running test/cluster/functionality.sh:105: executing 'oc exec logging-es-ops-data-master-hkbpoe6l-1-20qsg -- ls -1 /usr/share/elasticsearch/index_templates' expecting success...
SUCCESS after 0.277s: test/cluster/functionality.sh:105: executing 'oc exec logging-es-ops-data-master-hkbpoe6l-1-20qsg -- 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-hkbpoe6l-1-20qsg' '/_template/com.redhat.viaq-openshift-operations.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'...
SUCCESS after 0.362s: test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-ops-data-master-hkbpoe6l-1-20qsg' '/_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-hkbpoe6l-1-20qsg' '/_template/com.redhat.viaq-openshift-project.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'...
SUCCESS after 0.373s: test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-ops-data-master-hkbpoe6l-1-20qsg' '/_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-52f7bjgb-1-26h6x
default-index.curatortest.2017.05.08
default-index.curatortest.2017.06.08
project.default.41bdd946-4c9c-11e7-82ce-0ea6eb78a972.2017.06.08
project.logging.46675975-4c9c-11e7-82ce-0ea6eb78a972.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 23:34:16 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-52f7bjgb-1-26h6x
default-index.curatortest.2017.06.08
project.default.41bdd946-4c9c-11e7-82ce-0ea6eb78a972.2017.06.08
project.logging.46675975-4c9c-11e7-82ce-0ea6eb78a972.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-52f7bjgb-1-26h6x
default-index.curatortest.2017.05.08
default-index.curatortest.2017.06.08
project.default.41bdd946-4c9c-11e7-82ce-0ea6eb78a972.2017.06.08
project.logging.46675975-4c9c-11e7-82ce-0ea6eb78a972.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 224 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-52f7bjgb-1-26h6x
default-index.curatortest.2017.06.08
project.default.41bdd946-4c9c-11e7-82ce-0ea6eb78a972.2017.06.08
project.logging.46675975-4c9c-11e7-82ce-0ea6eb78a972.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-hkbpoe6l-1-20qsg
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 23:39: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-hkbpoe6l-1-20qsg
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-hkbpoe6l-1-20qsg
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 223 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-hkbpoe6l-1-20qsg
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=215ICIQPQ2hh50jQKf_3CL9Lpg54YML4n1UQlFjoblE
+++ 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-qb8fj
+++ date +%z
++ nodetz=-0400
+++ oc exec logging-fluentd-qb8fj -- date +%z
++ podtz=-0400
++ '[' x-0400 = x-0400 ']'
+++ date +%Z
Good - node timezone -0400 EDT is equal to the fluentd pod timezone
++ echo 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=jxbjSyCXe3lyQV_1GJyEl82y__8OPPlj2ODpadRCLg0
+++ 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-qb8fj
+++ mktemp
++ cfg=/tmp/tmp.V4pNg7BZRm
++ 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-qb8fj
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-qb8fj
++ '[' -z logging-fluentd-qb8fj -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-qb8fj
++ '[' 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
+++ 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 ']'
++ 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-b7x5g
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-b7x5g ']'
++ 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-b7x5g
+++ mktemp
++ origconfig=/tmp/tmp.1ttYE6Nt3e
++ 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=1496965823
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 23:50:23.639649962+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 23:50:23.639649962+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-52f7bjgb-1-26h6x
+++ 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-hkbpoe6l-1-20qsg
++ '[' -z logging-es-ops-data-master-hkbpoe6l-1-20qsg ']'
+++ uuidgen
++ local uuid_es=cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b
+++ uuidgen
++ local uuid_es_ops=b8d637c8-d551-48f8-83ef-d2b7cf8e37d2
++ local expected=1
++ local timeout=300
++ add_test_message cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b
+++ 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-vqfs4
++ oc exec logging-kibana-1-vqfs4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b
added es message cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b
++ echo added es message cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b
++ logger -i -p local6.info -t b8d637c8-d551-48f8-83ef-d2b7cf8e37d2 b8d637c8-d551-48f8-83ef-d2b7cf8e37d2
++ echo added es-ops message b8d637c8-d551-48f8-83ef-d2b7cf8e37d2
added es-ops message b8d637c8-d551-48f8-83ef-d2b7cf8e37d2
++ local rc=0
++ espod=logging-es-data-master-52f7bjgb-1-26h6x
++ myproject=project.logging
++ mymessage=cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b
++ 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-52f7bjgb-1-26h6x project.logging _count message cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
++ 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-52f7bjgb-1-26h6x project.logging _count message cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
++ 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-52f7bjgb-1-26h6x project.logging _count message cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
++ 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-52f7bjgb-1-26h6x project.logging _count message cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
++ 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-52f7bjgb-1-26h6x project.logging _count message cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
++ 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-52f7bjgb-1-26h6x project.logging _count message cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
++ 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-52f7bjgb-1-26h6x project.logging _count message cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
+++ 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-52f7bjgb-1-26h6x project.logging _count message cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
++ 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-52f7bjgb-1-26h6x project.logging _count message cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
++ 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-52f7bjgb-1-26h6x project.logging _count message cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 291 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project logging for cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for cd81a5e0-3de6-45f0-8ed7-9c0c8572cc9b
++ espod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
++ myproject=.operations
++ mymessage=b8d637c8-d551-48f8-83ef-d2b7cf8e37d2
++ 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-hkbpoe6l-1-20qsg .operations _count systemd.u.SYSLOG_IDENTIFIER b8d637c8-d551-48f8-83ef-d2b7cf8e37d2
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-hkbpoe6l-1-20qsg '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:b8d637c8-d551-48f8-83ef-d2b7cf8e37d2' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:b8d637c8-d551-48f8-83ef-d2b7cf8e37d2'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-hkbpoe6l-1-20qsg -- 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:b8d637c8-d551-48f8-83ef-d2b7cf8e37d2'
++ 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 b8d637c8-d551-48f8-83ef-d2b7cf8e37d2
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for b8d637c8-d551-48f8-83ef-d2b7cf8e37d2
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496965837
+++ expr 1496965837 - 1496965823
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 14 seconds at 2017-06-08 23:50:37.896424160+00:00
++ echo END wait_for_fluentd_to_catch_up took 14 seconds at 2017-06-08 23:50:37.896424160+00:00
++ return 0
++ '[' 0 -ne 0 ']'
++ return 0
++ trap cleanup INT TERM EXIT
+++ mktemp
++ nocopy=/tmp/tmp.AJoVx3bCmq
++ sed /_COPY/,/value/d /tmp/tmp.1ttYE6Nt3e
+++ mktemp
++ envpatch=/tmp/tmp.YNnsUz1aHM
++ 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.AJoVx3bCmq
++ cat
++ cat /tmp/tmp.AJoVx3bCmq
++ sed '/^        - env:/r /tmp/tmp.YNnsUz1aHM'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.YNnsUz1aHM /tmp/tmp.AJoVx3bCmq
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-b7x5g
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-b7x5g
++ '[' -z logging-fluentd-b7x5g -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-b7x5g
++ '[' 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-98fwp
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-98fwp ']'
++ 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-98fwp
++ write_and_verify_logs 2
++ rc=0
++ wait_for_fluentd_to_catch_up '' '' 2
+++ date +%s
++ local starttime=1496965853
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 23:50:53.511736916+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 23:50:53.511736916+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-52f7bjgb-1-26h6x
+++ 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-hkbpoe6l-1-20qsg
++ '[' -z logging-es-ops-data-master-hkbpoe6l-1-20qsg ']'
+++ uuidgen
++ local uuid_es=6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb
+++ uuidgen
++ local uuid_es_ops=83ea9996-c6d8-4670-b1fa-706400c42c2a
++ local expected=2
++ local timeout=300
++ add_test_message 6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb
+++ 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-vqfs4
++ oc exec logging-kibana-1-vqfs4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb
added es message 6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb
++ echo added es message 6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb
++ logger -i -p local6.info -t 83ea9996-c6d8-4670-b1fa-706400c42c2a 83ea9996-c6d8-4670-b1fa-706400c42c2a
added es-ops message 83ea9996-c6d8-4670-b1fa-706400c42c2a
++ echo added es-ops message 83ea9996-c6d8-4670-b1fa-706400c42c2a
++ local rc=0
++ espod=logging-es-data-master-52f7bjgb-1-26h6x
++ myproject=project.logging
++ mymessage=6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb
++ 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-52f7bjgb-1-26h6x project.logging _count message 6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb'
++ local nrecs=2
++ test 2 = 2
++ break
++ '[' 291 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 2 record project logging for 6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb
++ echo good - wait_for_fluentd_to_catch_up: found 2 record project logging for 6ad5e6af-16c9-4aea-8dd2-5f76f5fa80eb
++ espod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
++ myproject=.operations
++ mymessage=83ea9996-c6d8-4670-b1fa-706400c42c2a
++ expected=2
++ myfield=systemd.u.SYSLOG_IDENTIFIER
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=systemd.u.SYSLOG_IDENTIFIER
+++ query_es_from_es logging-es-ops-data-master-hkbpoe6l-1-20qsg .operations _count systemd.u.SYSLOG_IDENTIFIER 83ea9996-c6d8-4670-b1fa-706400c42c2a
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-hkbpoe6l-1-20qsg '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:83ea9996-c6d8-4670-b1fa-706400c42c2a' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:83ea9996-c6d8-4670-b1fa-706400c42c2a'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-hkbpoe6l-1-20qsg -- 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:83ea9996-c6d8-4670-b1fa-706400c42c2a'
++ local nrecs=2
++ test 2 = 2
++ break
++ '[' 300 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 2 record project .operations for 83ea9996-c6d8-4670-b1fa-706400c42c2a
++ echo good - wait_for_fluentd_to_catch_up: found 2 record project .operations for 83ea9996-c6d8-4670-b1fa-706400c42c2a
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496965867
+++ expr 1496965867 - 1496965853
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 14 seconds at 2017-06-08 23:51:07.690318015+00:00
++ echo END wait_for_fluentd_to_catch_up took 14 seconds at 2017-06-08 23:51:07.690318015+00:00
++ return 0
++ '[' 0 -ne 0 ']'
++ return 0
++ oc replace --force -f /tmp/tmp.1ttYE6Nt3e
template "logging-fluentd-template" deleted
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.1ttYE6Nt3e
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-98fwp
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-98fwp
++ '[' -z logging-fluentd-98fwp -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-98fwp
++ '[' 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-hq1lx
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-hq1lx ']'
++ 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-hq1lx
++ write_and_verify_logs 1
++ rc=0
++ wait_for_fluentd_to_catch_up '' '' 1
+++ date +%s
++ local starttime=1496965893
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 23:51:33.291651896+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 23:51:33.291651896+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-52f7bjgb-1-26h6x
+++ 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-hkbpoe6l-1-20qsg
++ '[' -z logging-es-ops-data-master-hkbpoe6l-1-20qsg ']'
+++ uuidgen
++ local uuid_es=6f92d7cb-f463-4fab-93ac-80e096e1649d
+++ uuidgen
++ local uuid_es_ops=cc8605ac-7b44-46d2-ac49-b3e1f4717a49
++ local expected=1
++ local timeout=300
++ add_test_message 6f92d7cb-f463-4fab-93ac-80e096e1649d
+++ 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-vqfs4
++ oc exec logging-kibana-1-vqfs4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/6f92d7cb-f463-4fab-93ac-80e096e1649d
++ echo added es message 6f92d7cb-f463-4fab-93ac-80e096e1649d
added es message 6f92d7cb-f463-4fab-93ac-80e096e1649d
++ logger -i -p local6.info -t cc8605ac-7b44-46d2-ac49-b3e1f4717a49 cc8605ac-7b44-46d2-ac49-b3e1f4717a49
added es-ops message cc8605ac-7b44-46d2-ac49-b3e1f4717a49
++ echo added es-ops message cc8605ac-7b44-46d2-ac49-b3e1f4717a49
++ local rc=0
++ espod=logging-es-data-master-52f7bjgb-1-26h6x
++ myproject=project.logging
++ mymessage=6f92d7cb-f463-4fab-93ac-80e096e1649d
++ 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-52f7bjgb-1-26h6x project.logging _count message 6f92d7cb-f463-4fab-93ac-80e096e1649d
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6f92d7cb-f463-4fab-93ac-80e096e1649d
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6f92d7cb-f463-4fab-93ac-80e096e1649d
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6f92d7cb-f463-4fab-93ac-80e096e1649d
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6f92d7cb-f463-4fab-93ac-80e096e1649d
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6f92d7cb-f463-4fab-93ac-80e096e1649d
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6f92d7cb-f463-4fab-93ac-80e096e1649d
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6f92d7cb-f463-4fab-93ac-80e096e1649d
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6f92d7cb-f463-4fab-93ac-80e096e1649d
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6f92d7cb-f463-4fab-93ac-80e096e1649d
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6f92d7cb-f463-4fab-93ac-80e096e1649d'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 291 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 6f92d7cb-f463-4fab-93ac-80e096e1649d
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 6f92d7cb-f463-4fab-93ac-80e096e1649d
++ espod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
++ myproject=.operations
++ mymessage=cc8605ac-7b44-46d2-ac49-b3e1f4717a49
++ 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-hkbpoe6l-1-20qsg .operations _count systemd.u.SYSLOG_IDENTIFIER cc8605ac-7b44-46d2-ac49-b3e1f4717a49
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-hkbpoe6l-1-20qsg '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:cc8605ac-7b44-46d2-ac49-b3e1f4717a49' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:cc8605ac-7b44-46d2-ac49-b3e1f4717a49'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-hkbpoe6l-1-20qsg -- 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:cc8605ac-7b44-46d2-ac49-b3e1f4717a49'
++ 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 cc8605ac-7b44-46d2-ac49-b3e1f4717a49
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for cc8605ac-7b44-46d2-ac49-b3e1f4717a49
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496965907
+++ expr 1496965907 - 1496965893
+++ date -u --rfc-3339=ns
++ echo END wait_for_fluentd_to_catch_up took 14 seconds at 2017-06-08 23:51:47.609847353+00:00
END wait_for_fluentd_to_catch_up took 14 seconds at 2017-06-08 23:51:47.609847353+00:00
++ return 0
++ '[' 0 -ne 0 ']'
++ return 0
++ cleanup
++ '[' '!' -f /tmp/tmp.1ttYE6Nt3e ']'
++ 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=MzA9vZIF7G2KLxZ37vNyLfmT3Ay7_m3OTaxMYrqUJIY
+++ 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-hq1lx
++ write_and_verify_logs 1
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up '' ''
+++ date +%s
++ local starttime=1496965909
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 23:51:49.057899714+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 23:51:49.057899714+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-52f7bjgb-1-26h6x
+++ 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-hkbpoe6l-1-20qsg
++ '[' -z logging-es-ops-data-master-hkbpoe6l-1-20qsg ']'
+++ uuidgen
++ local uuid_es=8da24176-d906-4493-b8b3-09a7e5f935f6
+++ uuidgen
++ local uuid_es_ops=e70fb596-1a3c-4b68-9d5b-2f3322c85d55
++ local expected=1
++ local timeout=300
++ add_test_message 8da24176-d906-4493-b8b3-09a7e5f935f6
+++ 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-vqfs4
++ oc exec logging-kibana-1-vqfs4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/8da24176-d906-4493-b8b3-09a7e5f935f6
++ echo added es message 8da24176-d906-4493-b8b3-09a7e5f935f6
added es message 8da24176-d906-4493-b8b3-09a7e5f935f6
++ logger -i -p local6.info -t e70fb596-1a3c-4b68-9d5b-2f3322c85d55 e70fb596-1a3c-4b68-9d5b-2f3322c85d55
added es-ops message e70fb596-1a3c-4b68-9d5b-2f3322c85d55
++ echo added es-ops message e70fb596-1a3c-4b68-9d5b-2f3322c85d55
++ local rc=0
++ espod=logging-es-data-master-52f7bjgb-1-26h6x
++ myproject=project.logging
++ mymessage=8da24176-d906-4493-b8b3-09a7e5f935f6
++ 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-52f7bjgb-1-26h6x project.logging _count message 8da24176-d906-4493-b8b3-09a7e5f935f6
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:8da24176-d906-4493-b8b3-09a7e5f935f6' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:8da24176-d906-4493-b8b3-09a7e5f935f6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:8da24176-d906-4493-b8b3-09a7e5f935f6'
++ 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-52f7bjgb-1-26h6x project.logging _count message 8da24176-d906-4493-b8b3-09a7e5f935f6
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:8da24176-d906-4493-b8b3-09a7e5f935f6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:8da24176-d906-4493-b8b3-09a7e5f935f6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:8da24176-d906-4493-b8b3-09a7e5f935f6'
++ 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-52f7bjgb-1-26h6x project.logging _count message 8da24176-d906-4493-b8b3-09a7e5f935f6
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:8da24176-d906-4493-b8b3-09a7e5f935f6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:8da24176-d906-4493-b8b3-09a7e5f935f6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:8da24176-d906-4493-b8b3-09a7e5f935f6'
++ 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-52f7bjgb-1-26h6x project.logging _count message 8da24176-d906-4493-b8b3-09a7e5f935f6
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:8da24176-d906-4493-b8b3-09a7e5f935f6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:8da24176-d906-4493-b8b3-09a7e5f935f6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:8da24176-d906-4493-b8b3-09a7e5f935f6'
++ 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-52f7bjgb-1-26h6x project.logging _count message 8da24176-d906-4493-b8b3-09a7e5f935f6
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:8da24176-d906-4493-b8b3-09a7e5f935f6' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:8da24176-d906-4493-b8b3-09a7e5f935f6'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:8da24176-d906-4493-b8b3-09a7e5f935f6'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 295 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ get_count_from_json
+++ query_es_from_es logging-es-data-master-52f7bjgb-1-26h6x project.logging _count message 8da24176-d906-4493-b8b3-09a7e5f935f6
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:8da24176-d906-4493-b8b3-09a7e5f935f6' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:8da24176-d906-4493-b8b3-09a7e5f935f6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:8da24176-d906-4493-b8b3-09a7e5f935f6'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 295 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 8da24176-d906-4493-b8b3-09a7e5f935f6
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 8da24176-d906-4493-b8b3-09a7e5f935f6
++ espod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
++ myproject=.operations
++ mymessage=e70fb596-1a3c-4b68-9d5b-2f3322c85d55
++ 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-hkbpoe6l-1-20qsg .operations _count systemd.u.SYSLOG_IDENTIFIER e70fb596-1a3c-4b68-9d5b-2f3322c85d55
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-hkbpoe6l-1-20qsg '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:e70fb596-1a3c-4b68-9d5b-2f3322c85d55' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:e70fb596-1a3c-4b68-9d5b-2f3322c85d55'
+++ 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-ops-data-master-hkbpoe6l-1-20qsg -- 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:e70fb596-1a3c-4b68-9d5b-2f3322c85d55'
++ 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 e70fb596-1a3c-4b68-9d5b-2f3322c85d55
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for e70fb596-1a3c-4b68-9d5b-2f3322c85d55
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496965917
+++ expr 1496965917 - 1496965909
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 8 seconds at 2017-06-08 23:51:57.580482688+00:00
++ echo END wait_for_fluentd_to_catch_up took 8 seconds at 2017-06-08 23:51:57.580482688+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.110.167: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.16" 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-9gmj5
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-forward-fluentd-9gmj5 ']'
++ break
++ '[' 110 -le 0 ']'
++ return 0
++ update_current_fluentd
++ oc label node --all logging-infra-fluentd-
node "172.18.13.16" labeled
++ wait_for_pod_ACTION stop logging-fluentd-hq1lx
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-hq1lx
++ '[' -z logging-fluentd-hq1lx -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-hq1lx
++ '[' -n 1 ']'
pod logging-fluentd-hq1lx still running
++ echo pod logging-fluentd-hq1lx still running
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' stop = start ']'
++ '[' 110 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-hq1lx
++ '[' 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-9gmj5
+++ oc get pods/logging-forward-fluentd-9gmj5 '--template={{.status.podIP}}'
++ FLUENTD_FORWARD=172.17.0.6
++ 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.6\n\
   port 24284\n\
  </server>"}]'
configmap "logging-fluentd" patched
++ oc label node --all logging-infra-fluentd=true
node "172.18.13.16" 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-rswjx
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-rswjx ']'
++ 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=1496965950
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 23:52:30.984529415+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 23:52:30.984529415+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-52f7bjgb-1-26h6x
+++ 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-hkbpoe6l-1-20qsg
++ '[' -z logging-es-ops-data-master-hkbpoe6l-1-20qsg ']'
+++ uuidgen
++ local uuid_es=6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ uuidgen
++ local uuid_es_ops=eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39
++ local expected=1
++ local timeout=300
++ add_test_message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ 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-vqfs4
++ oc exec logging-kibana-1-vqfs4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/6106ea2f-c9ec-4193-ac06-66762bcd8b0e
++ echo added es message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
added es message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
++ logger -i -p local6.info -t eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39 eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39
added es-ops message eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39
++ echo added es-ops message eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39
++ local rc=0
++ espod=logging-es-data-master-52f7bjgb-1-26h6x
++ myproject=project.logging
++ mymessage=6106ea2f-c9ec-4193-ac06-66762bcd8b0e
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ 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
++ '[' 280 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ 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
++ '[' 268 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ 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
++ '[' 266 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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-52f7bjgb-1-26h6x project.logging _count message 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:6106ea2f-c9ec-4193-ac06-66762bcd8b0e'
++ 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 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 6106ea2f-c9ec-4193-ac06-66762bcd8b0e
++ espod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
++ myproject=.operations
++ mymessage=eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39
++ 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-hkbpoe6l-1-20qsg .operations _count systemd.u.SYSLOG_IDENTIFIER eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-hkbpoe6l-1-20qsg '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-hkbpoe6l-1-20qsg -- 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:eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39'
++ 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-hkbpoe6l-1-20qsg .operations _count systemd.u.SYSLOG_IDENTIFIER eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-hkbpoe6l-1-20qsg '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39'
+++ 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-ops-data-master-hkbpoe6l-1-20qsg -- 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:eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39'
++ 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-hkbpoe6l-1-20qsg .operations _count systemd.u.SYSLOG_IDENTIFIER eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-hkbpoe6l-1-20qsg '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-hkbpoe6l-1-20qsg -- 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:eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39'
++ 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-hkbpoe6l-1-20qsg .operations _count systemd.u.SYSLOG_IDENTIFIER eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-hkbpoe6l-1-20qsg '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-hkbpoe6l-1-20qsg -- 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:eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 297 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for eae7bc77-bfe8-454d-ba0f-6a44e1c1ba39
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496966031
+++ expr 1496966031 - 1496965950
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 81 seconds at 2017-06-08 23:53:51.788690307+00:00
++ echo END wait_for_fluentd_to_catch_up took 81 seconds at 2017-06-08 23:53:51.788690307+00:00
++ return 0
++ return 0
++ cleanup
++ cleanup_forward
++ oc label node --all logging-infra-fluentd-
node "172.18.13.16" labeled
++ wait_for_pod_ACTION stop logging-fluentd-hq1lx
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-hq1lx
++ '[' -z logging-fluentd-hq1lx -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-hq1lx
++ '[' 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.16" 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-1lhxf
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-1lhxf ']'
++ 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-1lhxf
++ oc get events -o yaml
++ write_and_verify_logs 1
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up '' ''
+++ date +%s
++ local starttime=1496966046
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 23:54:06.326008504+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 23:54:06.326008504+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-52f7bjgb-1-26h6x
+++ 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-hkbpoe6l-1-20qsg
++ '[' -z logging-es-ops-data-master-hkbpoe6l-1-20qsg ']'
+++ uuidgen
++ local uuid_es=3910db15-7ddc-4dcc-83f8-5ecc4742f355
+++ uuidgen
++ local uuid_es_ops=edba78a5-27ad-404b-9269-f169f64fbfb2
++ local expected=1
++ local timeout=300
++ add_test_message 3910db15-7ddc-4dcc-83f8-5ecc4742f355
+++ 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-vqfs4
++ oc exec logging-kibana-1-vqfs4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/3910db15-7ddc-4dcc-83f8-5ecc4742f355
added es message 3910db15-7ddc-4dcc-83f8-5ecc4742f355
++ echo added es message 3910db15-7ddc-4dcc-83f8-5ecc4742f355
++ logger -i -p local6.info -t edba78a5-27ad-404b-9269-f169f64fbfb2 edba78a5-27ad-404b-9269-f169f64fbfb2
++ echo added es-ops message edba78a5-27ad-404b-9269-f169f64fbfb2
added es-ops message edba78a5-27ad-404b-9269-f169f64fbfb2
++ local rc=0
++ espod=logging-es-data-master-52f7bjgb-1-26h6x
++ myproject=project.logging
++ mymessage=3910db15-7ddc-4dcc-83f8-5ecc4742f355
++ 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-52f7bjgb-1-26h6x project.logging _count message 3910db15-7ddc-4dcc-83f8-5ecc4742f355
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
++ 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-52f7bjgb-1-26h6x project.logging _count message 3910db15-7ddc-4dcc-83f8-5ecc4742f355
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
++ 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-52f7bjgb-1-26h6x project.logging _count message 3910db15-7ddc-4dcc-83f8-5ecc4742f355
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
++ 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-52f7bjgb-1-26h6x project.logging _count message 3910db15-7ddc-4dcc-83f8-5ecc4742f355
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
++ 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-52f7bjgb-1-26h6x project.logging _count message 3910db15-7ddc-4dcc-83f8-5ecc4742f355
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
++ 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-52f7bjgb-1-26h6x project.logging _count message 3910db15-7ddc-4dcc-83f8-5ecc4742f355
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
++ 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-52f7bjgb-1-26h6x project.logging _count message 3910db15-7ddc-4dcc-83f8-5ecc4742f355
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
++ 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-52f7bjgb-1-26h6x project.logging _count message 3910db15-7ddc-4dcc-83f8-5ecc4742f355
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
++ 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-52f7bjgb-1-26h6x project.logging _count message 3910db15-7ddc-4dcc-83f8-5ecc4742f355
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
++ 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-52f7bjgb-1-26h6x project.logging _count message 3910db15-7ddc-4dcc-83f8-5ecc4742f355
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
++ 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-52f7bjgb-1-26h6x project.logging _count message 3910db15-7ddc-4dcc-83f8-5ecc4742f355
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
++ 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-52f7bjgb-1-26h6x project.logging _count message 3910db15-7ddc-4dcc-83f8-5ecc4742f355
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
++ 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-52f7bjgb-1-26h6x project.logging _count message 3910db15-7ddc-4dcc-83f8-5ecc4742f355
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
++ 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-52f7bjgb-1-26h6x project.logging _count message 3910db15-7ddc-4dcc-83f8-5ecc4742f355
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
++ 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-52f7bjgb-1-26h6x project.logging _count message 3910db15-7ddc-4dcc-83f8-5ecc4742f355
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3910db15-7ddc-4dcc-83f8-5ecc4742f355'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 286 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 3910db15-7ddc-4dcc-83f8-5ecc4742f355
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 3910db15-7ddc-4dcc-83f8-5ecc4742f355
++ espod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
++ myproject=.operations
++ mymessage=edba78a5-27ad-404b-9269-f169f64fbfb2
++ 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-hkbpoe6l-1-20qsg .operations _count systemd.u.SYSLOG_IDENTIFIER edba78a5-27ad-404b-9269-f169f64fbfb2
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-hkbpoe6l-1-20qsg '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:edba78a5-27ad-404b-9269-f169f64fbfb2' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:edba78a5-27ad-404b-9269-f169f64fbfb2'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-hkbpoe6l-1-20qsg -- 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:edba78a5-27ad-404b-9269-f169f64fbfb2'
++ 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 edba78a5-27ad-404b-9269-f169f64fbfb2
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for edba78a5-27ad-404b-9269-f169f64fbfb2
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496966067
+++ expr 1496966067 - 1496966046
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 21 seconds at 2017-06-08 23:54:27.662772318+00:00
++ echo END wait_for_fluentd_to_catch_up took 21 seconds at 2017-06-08 23:54:27.662772318+00:00
++ return 0
++ return 0
++ cleanup
++ cleanup_forward
++ oc label node --all logging-infra-fluentd-
node "172.18.13.16" labeled
++ wait_for_pod_ACTION stop logging-fluentd-1lhxf
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-1lhxf
++ '[' -z logging-fluentd-1lhxf -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-1lhxf
++ '[' -n 1 ']'
pod logging-fluentd-1lhxf still running
++ echo pod logging-fluentd-1lhxf still running
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' stop = start ']'
++ '[' 110 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-1lhxf
++ '[' 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.16" 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-c5jsc
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-c5jsc ']'
++ 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-c5jsc
++ 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-52f7bjgb-1-26h6x
+++ uuidgen
++ uuid_es=793c505c-472b-4a9a-8c54-f0675a5d6ad6
++ echo Adding test message 793c505c-472b-4a9a-8c54-f0675a5d6ad6 to Kibana . . .
Adding test message 793c505c-472b-4a9a-8c54-f0675a5d6ad6 to Kibana . . .
++ add_test_message 793c505c-472b-4a9a-8c54-f0675a5d6ad6
+++ 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-vqfs4
++ oc exec logging-kibana-1-vqfs4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/793c505c-472b-4a9a-8c54-f0675a5d6ad6
++ rc=0
++ timeout=600
++ echo Waiting 600 seconds for 793c505c-472b-4a9a-8c54-f0675a5d6ad6 to show up in Elasticsearch . . .
Waiting 600 seconds for 793c505c-472b-4a9a-8c54-f0675a5d6ad6 to show up in Elasticsearch . . .
++ espod=logging-es-data-master-52f7bjgb-1-26h6x
++ myproject=project.logging.
++ mymessage=793c505c-472b-4a9a-8c54-f0675a5d6ad6
++ 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-52f7bjgb-1-26h6x project.logging. _count message 793c505c-472b-4a9a-8c54-f0675a5d6ad6
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
++ 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-52f7bjgb-1-26h6x project.logging. _count message 793c505c-472b-4a9a-8c54-f0675a5d6ad6
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
++ 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-52f7bjgb-1-26h6x project.logging. _count message 793c505c-472b-4a9a-8c54-f0675a5d6ad6
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
++ 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-52f7bjgb-1-26h6x project.logging. _count message 793c505c-472b-4a9a-8c54-f0675a5d6ad6
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
++ 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-52f7bjgb-1-26h6x project.logging. _count message 793c505c-472b-4a9a-8c54-f0675a5d6ad6
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
++ 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-52f7bjgb-1-26h6x project.logging. _count message 793c505c-472b-4a9a-8c54-f0675a5d6ad6
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
++ 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-52f7bjgb-1-26h6x project.logging. _count message 793c505c-472b-4a9a-8c54-f0675a5d6ad6
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
++ 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-52f7bjgb-1-26h6x project.logging. _count message 793c505c-472b-4a9a-8c54-f0675a5d6ad6
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
++ 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-52f7bjgb-1-26h6x project.logging. _count message 793c505c-472b-4a9a-8c54-f0675a5d6ad6
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 592 -le 0 ']'
++ return 0
good - ./logging.sh: found 1 record project logging for 793c505c-472b-4a9a-8c54-f0675a5d6ad6
++ echo good - ./logging.sh: found 1 record project logging for 793c505c-472b-4a9a-8c54-f0675a5d6ad6
Testing if record is in correct format . . .
++ echo Testing if record is in correct format . . .
++ query_es_from_es logging-es-data-master-52f7bjgb-1-26h6x project.logging. _search message 793c505c-472b-4a9a-8c54-f0675a5d6ad6
++ python test-json-parsing.py 793c505c-472b-4a9a-8c54-f0675a5d6ad6
++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging.*/_search?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6' --connect-timeout 1
++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
++ local 'endpoint=/project.logging.*/_search?q=message:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
++ shift
++ shift
++ args=("${@:-}")
++ local args
++ local secret_dir=/etc/elasticsearch/secret/
++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- 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:793c505c-472b-4a9a-8c54-f0675a5d6ad6'
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=bsyiPZ6YQcvqHsIEbGxgUk5X_nF5iPDFjQkB18BK1i4
+++ 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-c5jsc
++ 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.7bNHeOSuNr
++ cat
++ add_test_volume /tmp/tmp.7bNHeOSuNr
++ 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.7bNHeOSuNr"}}); 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-c5jsc
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-c5jsc
++ '[' -z logging-fluentd-c5jsc -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-c5jsc
++ '[' 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-11f0t
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-11f0t ']'
++ 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-11f0t
++ 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=1496966123
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 23:55:23.275614105+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 23:55:23.275614105+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-52f7bjgb-1-26h6x
+++ 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-hkbpoe6l-1-20qsg
++ '[' -z logging-es-ops-data-master-hkbpoe6l-1-20qsg ']'
+++ uuidgen
++ local uuid_es=fff516c9-022d-4ea4-9324-4c35877d9315
+++ uuidgen
++ local uuid_es_ops=1467e76b-76a7-4241-b5c2-c5ee0d2e8e8d
++ local expected=1
++ local timeout=300
++ add_test_message fff516c9-022d-4ea4-9324-4c35877d9315
+++ 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-vqfs4
++ oc exec logging-kibana-1-vqfs4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/fff516c9-022d-4ea4-9324-4c35877d9315
added es message fff516c9-022d-4ea4-9324-4c35877d9315
++ echo added es message fff516c9-022d-4ea4-9324-4c35877d9315
++ logger -i -p local6.info -t 1467e76b-76a7-4241-b5c2-c5ee0d2e8e8d 1467e76b-76a7-4241-b5c2-c5ee0d2e8e8d
added es-ops message 1467e76b-76a7-4241-b5c2-c5ee0d2e8e8d
++ echo added es-ops message 1467e76b-76a7-4241-b5c2-c5ee0d2e8e8d
++ local rc=0
++ espod=logging-es-data-master-52f7bjgb-1-26h6x
++ myproject=project.logging
++ mymessage=fff516c9-022d-4ea4-9324-4c35877d9315
++ 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-52f7bjgb-1-26h6x project.logging _count message fff516c9-022d-4ea4-9324-4c35877d9315
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
++ 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-52f7bjgb-1-26h6x project.logging _count message fff516c9-022d-4ea4-9324-4c35877d9315
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
++ 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-52f7bjgb-1-26h6x project.logging _count message fff516c9-022d-4ea4-9324-4c35877d9315
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
++ 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-52f7bjgb-1-26h6x project.logging _count message fff516c9-022d-4ea4-9324-4c35877d9315
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
++ 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-52f7bjgb-1-26h6x project.logging _count message fff516c9-022d-4ea4-9324-4c35877d9315
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
++ 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-52f7bjgb-1-26h6x project.logging _count message fff516c9-022d-4ea4-9324-4c35877d9315
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
++ 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-52f7bjgb-1-26h6x project.logging _count message fff516c9-022d-4ea4-9324-4c35877d9315
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
++ 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-52f7bjgb-1-26h6x project.logging _count message fff516c9-022d-4ea4-9324-4c35877d9315
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
++ 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-52f7bjgb-1-26h6x project.logging _count message fff516c9-022d-4ea4-9324-4c35877d9315
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
++ 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-52f7bjgb-1-26h6x project.logging _count message fff516c9-022d-4ea4-9324-4c35877d9315
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 291 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project logging for fff516c9-022d-4ea4-9324-4c35877d9315
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for fff516c9-022d-4ea4-9324-4c35877d9315
++ espod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
++ myproject=.operations
++ mymessage=1467e76b-76a7-4241-b5c2-c5ee0d2e8e8d
++ 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-hkbpoe6l-1-20qsg .operations _count systemd.u.SYSLOG_IDENTIFIER 1467e76b-76a7-4241-b5c2-c5ee0d2e8e8d
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-hkbpoe6l-1-20qsg '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:1467e76b-76a7-4241-b5c2-c5ee0d2e8e8d' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:1467e76b-76a7-4241-b5c2-c5ee0d2e8e8d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-hkbpoe6l-1-20qsg -- 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:1467e76b-76a7-4241-b5c2-c5ee0d2e8e8d'
++ 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 1467e76b-76a7-4241-b5c2-c5ee0d2e8e8d
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 1467e76b-76a7-4241-b5c2-c5ee0d2e8e8d
++ '[' -n get_logmessage ']'
++ get_logmessage fff516c9-022d-4ea4-9324-4c35877d9315
++ logmessage=fff516c9-022d-4ea4-9324-4c35877d9315
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 1467e76b-76a7-4241-b5c2-c5ee0d2e8e8d
++ logmessage2=1467e76b-76a7-4241-b5c2-c5ee0d2e8e8d
+++ date +%s
++ local endtime=1496966137
+++ expr 1496966137 - 1496966123
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 14 seconds at 2017-06-08 23:55:37.569668117+00:00
++ echo END wait_for_fluentd_to_catch_up took 14 seconds at 2017-06-08 23:55:37.569668117+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-vqfs4
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-vqfs4 logging-es project.logging _search message fff516c9-022d-4ea4-9324-4c35877d9315
++ python test-viaq-data-model.py test1
++ oc exec logging-kibana-1-vqfs4 -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 bsyiPZ6YQcvqHsIEbGxgUk5X_nF5iPDFjQkB18BK1i4' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:fff516c9-022d-4ea4-9324-4c35877d9315'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-vqfs4 logging-es-ops .operations _search message 1467e76b-76a7-4241-b5c2-c5ee0d2e8e8d
++ python test-viaq-data-model.py test1
++ oc exec logging-kibana-1-vqfs4 -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 bsyiPZ6YQcvqHsIEbGxgUk5X_nF5iPDFjQkB18BK1i4' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:1467e76b-76a7-4241-b5c2-c5ee0d2e8e8d'
++ :
++ '[' 0 '!=' 0 ']'
++ return 0
++ add_cdm_env_var_val CDM_USE_UNDEFINED '"true"'
+++ mktemp
++ junk=/tmp/tmp.IGR5U0CkJ9
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.IGR5U0CkJ9'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.IGR5U0CkJ9
++ add_cdm_env_var_val CDM_EXTRA_KEEP_FIELDS method,statusCode,type,@timestamp,req,res
+++ mktemp
++ junk=/tmp/tmp.zP70QctVcF
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.zP70QctVcF'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.zP70QctVcF
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-11f0t
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-11f0t
++ '[' -z logging-fluentd-11f0t -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-11f0t
++ '[' 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-rc9jb
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-rc9jb ']'
++ 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-rc9jb
++ write_and_verify_logs test2
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up get_logmessage get_logmessage2
+++ date +%s
++ local starttime=1496966162
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 23:56:02.910220783+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 23:56:02.910220783+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-52f7bjgb-1-26h6x
+++ 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-hkbpoe6l-1-20qsg
++ '[' -z logging-es-ops-data-master-hkbpoe6l-1-20qsg ']'
+++ uuidgen
++ local uuid_es=85fba70c-3780-4f2c-b01e-d7223c295439
+++ uuidgen
++ local uuid_es_ops=185932a3-2d04-4ee3-91cc-f37efe3517f7
++ local expected=1
++ local timeout=300
++ add_test_message 85fba70c-3780-4f2c-b01e-d7223c295439
+++ 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-vqfs4
++ oc exec logging-kibana-1-vqfs4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/85fba70c-3780-4f2c-b01e-d7223c295439
added es message 85fba70c-3780-4f2c-b01e-d7223c295439
++ echo added es message 85fba70c-3780-4f2c-b01e-d7223c295439
++ logger -i -p local6.info -t 185932a3-2d04-4ee3-91cc-f37efe3517f7 185932a3-2d04-4ee3-91cc-f37efe3517f7
added es-ops message 185932a3-2d04-4ee3-91cc-f37efe3517f7
++ echo added es-ops message 185932a3-2d04-4ee3-91cc-f37efe3517f7
++ local rc=0
++ espod=logging-es-data-master-52f7bjgb-1-26h6x
++ myproject=project.logging
++ mymessage=85fba70c-3780-4f2c-b01e-d7223c295439
++ 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-52f7bjgb-1-26h6x project.logging _count message 85fba70c-3780-4f2c-b01e-d7223c295439
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
++ 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-52f7bjgb-1-26h6x project.logging _count message 85fba70c-3780-4f2c-b01e-d7223c295439
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
++ 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-52f7bjgb-1-26h6x project.logging _count message 85fba70c-3780-4f2c-b01e-d7223c295439
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
++ 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-52f7bjgb-1-26h6x project.logging _count message 85fba70c-3780-4f2c-b01e-d7223c295439
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
++ 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-52f7bjgb-1-26h6x project.logging _count message 85fba70c-3780-4f2c-b01e-d7223c295439
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
++ 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-52f7bjgb-1-26h6x project.logging _count message 85fba70c-3780-4f2c-b01e-d7223c295439
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
++ 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-52f7bjgb-1-26h6x project.logging _count message 85fba70c-3780-4f2c-b01e-d7223c295439
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
+++ 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-52f7bjgb-1-26h6x project.logging _count message 85fba70c-3780-4f2c-b01e-d7223c295439
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
++ 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-52f7bjgb-1-26h6x project.logging _count message 85fba70c-3780-4f2c-b01e-d7223c295439
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
++ 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-52f7bjgb-1-26h6x project.logging _count message 85fba70c-3780-4f2c-b01e-d7223c295439
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 291 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 85fba70c-3780-4f2c-b01e-d7223c295439
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 85fba70c-3780-4f2c-b01e-d7223c295439
++ espod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
++ myproject=.operations
++ mymessage=185932a3-2d04-4ee3-91cc-f37efe3517f7
++ 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-hkbpoe6l-1-20qsg .operations _count systemd.u.SYSLOG_IDENTIFIER 185932a3-2d04-4ee3-91cc-f37efe3517f7
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-hkbpoe6l-1-20qsg '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:185932a3-2d04-4ee3-91cc-f37efe3517f7' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:185932a3-2d04-4ee3-91cc-f37efe3517f7'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-hkbpoe6l-1-20qsg -- 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:185932a3-2d04-4ee3-91cc-f37efe3517f7'
++ 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 185932a3-2d04-4ee3-91cc-f37efe3517f7
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 185932a3-2d04-4ee3-91cc-f37efe3517f7
++ '[' -n get_logmessage ']'
++ get_logmessage 85fba70c-3780-4f2c-b01e-d7223c295439
++ logmessage=85fba70c-3780-4f2c-b01e-d7223c295439
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 185932a3-2d04-4ee3-91cc-f37efe3517f7
++ logmessage2=185932a3-2d04-4ee3-91cc-f37efe3517f7
+++ date +%s
++ local endtime=1496966177
+++ expr 1496966177 - 1496966162
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 15 seconds at 2017-06-08 23:56:17.174893792+00:00
++ echo END wait_for_fluentd_to_catch_up took 15 seconds at 2017-06-08 23:56:17.174893792+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-vqfs4
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-vqfs4 logging-es project.logging _search message 85fba70c-3780-4f2c-b01e-d7223c295439
++ python test-viaq-data-model.py test2
++ oc exec logging-kibana-1-vqfs4 -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 bsyiPZ6YQcvqHsIEbGxgUk5X_nF5iPDFjQkB18BK1i4' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:85fba70c-3780-4f2c-b01e-d7223c295439'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-vqfs4 logging-es-ops .operations _search message 185932a3-2d04-4ee3-91cc-f37efe3517f7
++ python test-viaq-data-model.py test2
++ oc exec logging-kibana-1-vqfs4 -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 bsyiPZ6YQcvqHsIEbGxgUk5X_nF5iPDFjQkB18BK1i4' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:185932a3-2d04-4ee3-91cc-f37efe3517f7'
++ :
++ '[' 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.IM3KpeNQzt
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.IM3KpeNQzt'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.IM3KpeNQzt
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-rc9jb
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-rc9jb
++ '[' -z logging-fluentd-rc9jb -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-rc9jb
++ '[' 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
+++ 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 ']'
++ 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-zhbv5
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-zhbv5 ']'
++ 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-zhbv5
++ write_and_verify_logs test3
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up get_logmessage get_logmessage2
+++ date +%s
++ local starttime=1496966195
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 23:56:35.406171836+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 23:56:35.406171836+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-52f7bjgb-1-26h6x
+++ 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-hkbpoe6l-1-20qsg
++ '[' -z logging-es-ops-data-master-hkbpoe6l-1-20qsg ']'
+++ uuidgen
++ local uuid_es=d266c3ed-25b1-4751-a165-9ae4c3c88436
+++ uuidgen
++ local uuid_es_ops=d7278a8f-78c4-460a-9931-58fb1a14ba2d
++ local expected=1
++ local timeout=300
++ add_test_message d266c3ed-25b1-4751-a165-9ae4c3c88436
+++ 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-vqfs4
++ oc exec logging-kibana-1-vqfs4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/d266c3ed-25b1-4751-a165-9ae4c3c88436
++ echo added es message d266c3ed-25b1-4751-a165-9ae4c3c88436
added es message d266c3ed-25b1-4751-a165-9ae4c3c88436
++ logger -i -p local6.info -t d7278a8f-78c4-460a-9931-58fb1a14ba2d d7278a8f-78c4-460a-9931-58fb1a14ba2d
added es-ops message d7278a8f-78c4-460a-9931-58fb1a14ba2d
++ echo added es-ops message d7278a8f-78c4-460a-9931-58fb1a14ba2d
++ local rc=0
++ espod=logging-es-data-master-52f7bjgb-1-26h6x
++ myproject=project.logging
++ mymessage=d266c3ed-25b1-4751-a165-9ae4c3c88436
++ 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-52f7bjgb-1-26h6x project.logging _count message d266c3ed-25b1-4751-a165-9ae4c3c88436
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436'
++ 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-52f7bjgb-1-26h6x project.logging _count message d266c3ed-25b1-4751-a165-9ae4c3c88436
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436'
++ 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-52f7bjgb-1-26h6x project.logging _count message d266c3ed-25b1-4751-a165-9ae4c3c88436
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436'
++ 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-52f7bjgb-1-26h6x project.logging _count message d266c3ed-25b1-4751-a165-9ae4c3c88436
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436'
++ 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-52f7bjgb-1-26h6x project.logging _count message d266c3ed-25b1-4751-a165-9ae4c3c88436
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436'
++ 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-52f7bjgb-1-26h6x project.logging _count message d266c3ed-25b1-4751-a165-9ae4c3c88436
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436'
++ 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-52f7bjgb-1-26h6x project.logging _count message d266c3ed-25b1-4751-a165-9ae4c3c88436
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436'
++ 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-52f7bjgb-1-26h6x project.logging _count message d266c3ed-25b1-4751-a165-9ae4c3c88436
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436'
++ 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-52f7bjgb-1-26h6x project.logging _count message d266c3ed-25b1-4751-a165-9ae4c3c88436
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436'
++ 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 d266c3ed-25b1-4751-a165-9ae4c3c88436
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for d266c3ed-25b1-4751-a165-9ae4c3c88436
++ espod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
++ myproject=.operations
++ mymessage=d7278a8f-78c4-460a-9931-58fb1a14ba2d
++ 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-hkbpoe6l-1-20qsg .operations _count systemd.u.SYSLOG_IDENTIFIER d7278a8f-78c4-460a-9931-58fb1a14ba2d
+++ 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-hkbpoe6l-1-20qsg '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:d7278a8f-78c4-460a-9931-58fb1a14ba2d' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:d7278a8f-78c4-460a-9931-58fb1a14ba2d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-hkbpoe6l-1-20qsg -- 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:d7278a8f-78c4-460a-9931-58fb1a14ba2d'
++ 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 d7278a8f-78c4-460a-9931-58fb1a14ba2d
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for d7278a8f-78c4-460a-9931-58fb1a14ba2d
++ '[' -n get_logmessage ']'
++ get_logmessage d266c3ed-25b1-4751-a165-9ae4c3c88436
++ logmessage=d266c3ed-25b1-4751-a165-9ae4c3c88436
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 d7278a8f-78c4-460a-9931-58fb1a14ba2d
++ logmessage2=d7278a8f-78c4-460a-9931-58fb1a14ba2d
+++ date +%s
++ local endtime=1496966208
+++ expr 1496966208 - 1496966195
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 13 seconds at 2017-06-08 23:56:48.141270349+00:00
++ echo END wait_for_fluentd_to_catch_up took 13 seconds at 2017-06-08 23:56:48.141270349+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-vqfs4
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-vqfs4 logging-es project.logging _search message d266c3ed-25b1-4751-a165-9ae4c3c88436
++ python test-viaq-data-model.py test3
++ oc exec logging-kibana-1-vqfs4 -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 bsyiPZ6YQcvqHsIEbGxgUk5X_nF5iPDFjQkB18BK1i4' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:d266c3ed-25b1-4751-a165-9ae4c3c88436'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-vqfs4 logging-es-ops .operations _search message d7278a8f-78c4-460a-9931-58fb1a14ba2d
++ python test-viaq-data-model.py test3
++ oc exec logging-kibana-1-vqfs4 -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 bsyiPZ6YQcvqHsIEbGxgUk5X_nF5iPDFjQkB18BK1i4' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:d7278a8f-78c4-460a-9931-58fb1a14ba2d'
++ :
++ '[' 0 '!=' 0 ']'
++ return 0
++ add_cdm_env_var_val CDM_UNDEFINED_NAME myname
+++ mktemp
++ junk=/tmp/tmp.mTjfdljCsT
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.mTjfdljCsT'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.mTjfdljCsT
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-zhbv5
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-zhbv5
++ '[' -z logging-fluentd-zhbv5 -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-zhbv5
++ '[' 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-2br3n
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-2br3n ']'
++ 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-2br3n
++ write_and_verify_logs test4
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up get_logmessage get_logmessage2
+++ date +%s
++ local starttime=1496966232
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 23:57:12.898477137+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 23:57:12.898477137+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-52f7bjgb-1-26h6x
+++ 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-hkbpoe6l-1-20qsg
++ '[' -z logging-es-ops-data-master-hkbpoe6l-1-20qsg ']'
+++ uuidgen
++ local uuid_es=e223d1f1-dc4e-43ad-9676-0588d549e962
+++ uuidgen
++ local uuid_es_ops=2d708dae-cff8-4500-8451-68e8ed646dc7
++ local expected=1
++ local timeout=300
++ add_test_message e223d1f1-dc4e-43ad-9676-0588d549e962
+++ 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-vqfs4
++ oc exec logging-kibana-1-vqfs4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/e223d1f1-dc4e-43ad-9676-0588d549e962
added es message e223d1f1-dc4e-43ad-9676-0588d549e962
++ echo added es message e223d1f1-dc4e-43ad-9676-0588d549e962
++ logger -i -p local6.info -t 2d708dae-cff8-4500-8451-68e8ed646dc7 2d708dae-cff8-4500-8451-68e8ed646dc7
added es-ops message 2d708dae-cff8-4500-8451-68e8ed646dc7
++ echo added es-ops message 2d708dae-cff8-4500-8451-68e8ed646dc7
++ local rc=0
++ espod=logging-es-data-master-52f7bjgb-1-26h6x
++ myproject=project.logging
++ mymessage=e223d1f1-dc4e-43ad-9676-0588d549e962
++ 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-52f7bjgb-1-26h6x project.logging _count message e223d1f1-dc4e-43ad-9676-0588d549e962
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
++ 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-52f7bjgb-1-26h6x project.logging _count message e223d1f1-dc4e-43ad-9676-0588d549e962
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
++ 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-52f7bjgb-1-26h6x project.logging _count message e223d1f1-dc4e-43ad-9676-0588d549e962
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
++ 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-52f7bjgb-1-26h6x project.logging _count message e223d1f1-dc4e-43ad-9676-0588d549e962
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
++ 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-52f7bjgb-1-26h6x project.logging _count message e223d1f1-dc4e-43ad-9676-0588d549e962
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
++ 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-52f7bjgb-1-26h6x project.logging _count message e223d1f1-dc4e-43ad-9676-0588d549e962
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
++ 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-52f7bjgb-1-26h6x project.logging _count message e223d1f1-dc4e-43ad-9676-0588d549e962
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
++ 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-52f7bjgb-1-26h6x project.logging _count message e223d1f1-dc4e-43ad-9676-0588d549e962
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
++ 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-52f7bjgb-1-26h6x project.logging _count message e223d1f1-dc4e-43ad-9676-0588d549e962
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
++ 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-52f7bjgb-1-26h6x project.logging _count message e223d1f1-dc4e-43ad-9676-0588d549e962
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
+++ 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-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 291 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project logging for e223d1f1-dc4e-43ad-9676-0588d549e962
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for e223d1f1-dc4e-43ad-9676-0588d549e962
++ espod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
++ myproject=.operations
++ mymessage=2d708dae-cff8-4500-8451-68e8ed646dc7
++ 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-hkbpoe6l-1-20qsg .operations _count systemd.u.SYSLOG_IDENTIFIER 2d708dae-cff8-4500-8451-68e8ed646dc7
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-hkbpoe6l-1-20qsg '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:2d708dae-cff8-4500-8451-68e8ed646dc7' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:2d708dae-cff8-4500-8451-68e8ed646dc7'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-hkbpoe6l-1-20qsg -- 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:2d708dae-cff8-4500-8451-68e8ed646dc7'
++ 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 2d708dae-cff8-4500-8451-68e8ed646dc7
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 2d708dae-cff8-4500-8451-68e8ed646dc7
++ '[' -n get_logmessage ']'
++ get_logmessage e223d1f1-dc4e-43ad-9676-0588d549e962
++ logmessage=e223d1f1-dc4e-43ad-9676-0588d549e962
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 2d708dae-cff8-4500-8451-68e8ed646dc7
++ logmessage2=2d708dae-cff8-4500-8451-68e8ed646dc7
+++ date +%s
++ local endtime=1496966247
+++ expr 1496966247 - 1496966232
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 15 seconds at 2017-06-08 23:57:27.059703018+00:00
++ echo END wait_for_fluentd_to_catch_up took 15 seconds at 2017-06-08 23:57:27.059703018+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-vqfs4
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-vqfs4 logging-es project.logging _search message e223d1f1-dc4e-43ad-9676-0588d549e962
++ python test-viaq-data-model.py test4
++ oc exec logging-kibana-1-vqfs4 -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 bsyiPZ6YQcvqHsIEbGxgUk5X_nF5iPDFjQkB18BK1i4' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:e223d1f1-dc4e-43ad-9676-0588d549e962'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-vqfs4 logging-es-ops .operations _search message 2d708dae-cff8-4500-8451-68e8ed646dc7
++ python test-viaq-data-model.py test4
++ oc exec logging-kibana-1-vqfs4 -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 bsyiPZ6YQcvqHsIEbGxgUk5X_nF5iPDFjQkB18BK1i4' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:2d708dae-cff8-4500-8451-68e8ed646dc7'
++ :
++ '[' 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.GuekcHdE3A
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.GuekcHdE3A'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.GuekcHdE3A
++ add_cdm_env_var_val CDM_KEEP_EMPTY_FIELDS undefined4,undefined5,empty1,undefined3
+++ mktemp
++ junk=/tmp/tmp.SKLDkpBb8D
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.SKLDkpBb8D'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.SKLDkpBb8D
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-2br3n
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-2br3n
++ '[' -z logging-fluentd-2br3n -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-2br3n
++ '[' 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-b4zm6
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-b4zm6 ']'
++ 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-b4zm6
++ 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=1496966272
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 23:57:52.698345983+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 23:57:52.698345983+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-52f7bjgb-1-26h6x
+++ 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-hkbpoe6l-1-20qsg
++ '[' -z logging-es-ops-data-master-hkbpoe6l-1-20qsg ']'
+++ uuidgen
++ local uuid_es=0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
+++ uuidgen
++ local uuid_es_ops=90708abd-1adc-45ba-9495-f6372d016c1d
++ local expected=1
++ local timeout=300
++ add_test_message 0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
+++ 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-vqfs4
++ oc exec logging-kibana-1-vqfs4 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
added es message 0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
++ echo added es message 0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
++ logger -i -p local6.info -t 90708abd-1adc-45ba-9495-f6372d016c1d 90708abd-1adc-45ba-9495-f6372d016c1d
added es-ops message 90708abd-1adc-45ba-9495-f6372d016c1d
++ echo added es-ops message 90708abd-1adc-45ba-9495-f6372d016c1d
++ local rc=0
++ espod=logging-es-data-master-52f7bjgb-1-26h6x
++ myproject=project.logging
++ mymessage=0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
++ 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-52f7bjgb-1-26h6x project.logging _count message 0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
++ 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-52f7bjgb-1-26h6x project.logging _count message 0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
+++ 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
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-52f7bjgb-1-26h6x project.logging _count message 0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
++ 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-52f7bjgb-1-26h6x project.logging _count message 0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
++ 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-52f7bjgb-1-26h6x project.logging _count message 0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
++ 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-52f7bjgb-1-26h6x project.logging _count message 0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
++ 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-52f7bjgb-1-26h6x project.logging _count message 0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
++ 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-52f7bjgb-1-26h6x project.logging _count message 0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
++ 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-52f7bjgb-1-26h6x project.logging _count message 0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93' --connect-timeout 1
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
++ 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-52f7bjgb-1-26h6x project.logging _count message 0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
+++ get_count_from_json
+++ curl_es logging-es-data-master-52f7bjgb-1-26h6x '/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-52f7bjgb-1-26h6x
+++ local 'endpoint=/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-52f7bjgb-1-26h6x -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 291 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
++ espod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
++ myproject=.operations
++ mymessage=90708abd-1adc-45ba-9495-f6372d016c1d
++ 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-hkbpoe6l-1-20qsg .operations _count systemd.u.SYSLOG_IDENTIFIER 90708abd-1adc-45ba-9495-f6372d016c1d
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-hkbpoe6l-1-20qsg '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:90708abd-1adc-45ba-9495-f6372d016c1d' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-hkbpoe6l-1-20qsg
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:90708abd-1adc-45ba-9495-f6372d016c1d'
+++ 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-ops-data-master-hkbpoe6l-1-20qsg -- 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:90708abd-1adc-45ba-9495-f6372d016c1d'
++ 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 90708abd-1adc-45ba-9495-f6372d016c1d
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 90708abd-1adc-45ba-9495-f6372d016c1d
++ '[' -n get_logmessage ']'
++ get_logmessage 0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
++ logmessage=0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 90708abd-1adc-45ba-9495-f6372d016c1d
++ logmessage2=90708abd-1adc-45ba-9495-f6372d016c1d
+++ date +%s
++ local endtime=1496966286
+++ expr 1496966286 - 1496966272
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 14 seconds at 2017-06-08 23:58:06.946066273+00:00
++ echo END wait_for_fluentd_to_catch_up took 14 seconds at 2017-06-08 23:58:06.946066273+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-vqfs4
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-vqfs4 logging-es project.logging _search message 0e6fe5f9-a496-4822-ba3f-e38bf1c31c93
++ python test-viaq-data-model.py test5 allow_empty
++ oc exec logging-kibana-1-vqfs4 -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 bsyiPZ6YQcvqHsIEbGxgUk5X_nF5iPDFjQkB18BK1i4' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:0e6fe5f9-a496-4822-ba3f-e38bf1c31c93'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-vqfs4 logging-es-ops .operations _search message 90708abd-1adc-45ba-9495-f6372d016c1d
++ python test-viaq-data-model.py test5 allow_empty
++ oc exec logging-kibana-1-vqfs4 -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 bsyiPZ6YQcvqHsIEbGxgUk5X_nF5iPDFjQkB18BK1i4' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:90708abd-1adc-45ba-9495-f6372d016c1d'
++ :
++ '[' 0 '!=' 0 ']'
++ return 0
++ cleanup
++ remove_test_volume
++ oc get template logging-fluentd-template -o json
++ oc replace -f -
++ python -c 'import json, sys; obj = json.loads(sys.stdin.read()); vm = obj["objects"][0]["spec"]["template"]["spec"]["containers"][0]["volumeMounts"]; obj["objects"][0]["spec"]["template"]["spec"]["containers"][0]["volumeMounts"] = [xx for xx in vm if xx["name"] != "cdmtest"]; vs = obj["objects"][0]["spec"]["template"]["spec"]["volumes"]; obj["objects"][0]["spec"]["template"]["spec"]["volumes"] = [xx for xx in vs if xx["name"] != "cdmtest"]; print json.dumps(obj, indent=2)'
template "logging-fluentd-template" replaced
++ remove_cdm_env
++ oc get template logging-fluentd-template -o yaml
++ sed '/- name: CDM_/,/value:/d'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.7bNHeOSuNr
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-b4zm6
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-b4zm6
++ '[' -z logging-fluentd-b4zm6 -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-b4zm6
++ '[' 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-3f79x
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-3f79x ']'
++ 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 158 seconds
2017-06-08 20:01:16.859295 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 9f19282522d6e927182aa45295810539638639b988b6cf0745c65e3b9a659d3f. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 789a10e4f01c0903a3aa895ce0219e18460fcecbce73391fbf2c29b6d504e923. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 0bc3047107250920a39eb1b51f1f3f2e19de4f9cd889c36fe2ed61a1aeed6d62. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 38c41de81987737de3f649d061c55e5b02520af73757f872ceb7f61c3585934e. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container eca8819b5f2a2104b950654ae275060e14e9c9253fe9b00f3a378afa7b89d617. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 4d8e0d98fee21b517c30423ac7a35c2c73bbe8484a91f479cea5f5b435ad566f. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 9b82247fd72577772d8360a7e024a92e483c6201c2aef529a2b6417cbd81515d. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container b90fff11d1a7b01b1234ccca2f6d73244932a0c5d5290068a6db264f6e127912. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 3dbdd3a939b629175d64e7b35d98250ca8d60b697ccfa174b4bfc6ceb7bcc046. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 8713d3b5c4223e7303629540012e5064e000fd974645b4227943a9c2ef82c376. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 894afedc4a36fa21a11f1ec5bf477a58cb5a287cefe066419ccbbc266700c705. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container dc2f908634ef081347274d2e4ace2322b4d39af61714bb0a0a06f2f2f89d5e2e. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 245fe9f690ac881643e2a77ac3549578f430ccd9969d3670579953b147759402. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 8872ba13db5cb64cf14c8d0dc3e85a780304271a0f5713403398b92f06818851. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container bb6fb1841f9e666e16b995599a7607381ab69257f3674a66c1c22664e8dfb149. 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 22m 55s

real	82m55.851s
user	6m3.086s
sys	1m6.212s
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: 4728
  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/hudson8463658973853361436.sh
+ INSTANCE_NAME=origin_logging-rhel7-1645
+ 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