SuccessConsole Output

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

[EnvInject] - Variables injected successfully.
[workspace] $ /bin/sh -xe /tmp/hudson6165037824628204057.sh
+ false
+ unset GOPATH
+ REPO_NAME=origin-aggregated-logging
+ rm -rf origin-aggregated-logging
+ vagrant origin-local-checkout --replace --repo origin-aggregated-logging -b master
You don't seem to have the GOPATH environment variable set on your system.
See: 'go help gopath' for more details about GOPATH.
Waiting for the cloning process to finish
Cloning origin-aggregated-logging ...
Submodule 'deployer/common' (https://github.com/openshift/origin-integration-common) registered for path 'deployer/common'
Submodule 'kibana-proxy' (https://github.com/fabric8io/openshift-auth-proxy.git) registered for path 'kibana-proxy'
Cloning into 'deployer/common'...
Submodule path 'deployer/common': checked out '45bf993212cdcbab5cbce3b3fab74a72b851402e'
Cloning into 'kibana-proxy'...
Submodule path 'kibana-proxy': checked out '118dfb40f7a8082d370ba7f4805255c9ec7c8178'
Origin repositories cloned into /var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace
+ pushd origin-aggregated-logging
~/jobs/test-origin-aggregated-logging/workspace/origin-aggregated-logging ~/jobs/test-origin-aggregated-logging/workspace
+ git checkout master
Already on 'master'
+ popd
~/jobs/test-origin-aggregated-logging/workspace
+ '[' -n '' ']'
+ vagrant origin-local-checkout --replace
You don't seem to have the GOPATH environment variable set on your system.
See: 'go help gopath' for more details about GOPATH.
Waiting for the cloning process to finish
Checking repo integrity for /var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace/origin
~/jobs/test-origin-aggregated-logging/workspace/origin ~/jobs/test-origin-aggregated-logging/workspace
# On branch master
nothing to commit, working directory clean
~/jobs/test-origin-aggregated-logging/workspace
Replacing: /var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace/origin
~/jobs/test-origin-aggregated-logging/workspace/origin ~/jobs/test-origin-aggregated-logging/workspace
From https://github.com/openshift/origin
   96397c6..596d795  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 596d795 Merge pull request #14507 from stevekuznetsov/skuznets/update-script-dir
Removing .vagrant-openshift.json
Removing .vagrant/
fatal: branch name required
~/jobs/test-origin-aggregated-logging/workspace
Origin repositories cloned into /var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace
+ pushd origin
~/jobs/test-origin-aggregated-logging/workspace/origin ~/jobs/test-origin-aggregated-logging/workspace
+ INSTANCE_NAME=origin_logging-rhel7-1638
+ 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=#1638
BUILD_ID=1638
BUILD_NUMBER=1638
BUILD_TAG=jenkins-test-origin-aggregated-logging-1638
BUILD_URL=https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/1638/
EXECUTOR_NUMBER=16
GITHUB_REPO=openshift
HOME=/var/lib/jenkins
HUDSON_COOKIE=6661d5e9-2e87-4f2e-a8da-769ffd04428f
HUDSON_HOME=/var/lib/jenkins
HUDSON_SERVER_COOKIE=ec11f8b2841c966f
HUDSON_URL=https://ci.openshift.redhat.com/jenkins/
INSTANCE_TYPE=c4.xlarge
JENKINS_HOME=/var/lib/jenkins
JENKINS_SERVER_COOKIE=ec11f8b2841c966f
JENKINS_URL=https://ci.openshift.redhat.com/jenkins/
JOB_BASE_NAME=test-origin-aggregated-logging
JOB_DISPLAY_URL=https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/display/redirect
JOB_NAME=test-origin-aggregated-logging
JOB_URL=https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/
LANG=en_US.UTF-8
LOGNAME=jenkins
MERGE=false
MERGE_SEVERITY=none
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
NODE_LABELS=master
NODE_NAME=master
OLDPWD=/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace
OPENSHIFT_ANSIBLE_TARGET_BRANCH=master
ORIGIN_AGGREGATED_LOGGING_PULL_ID=471
ORIGIN_AGGREGATED_LOGGING_TARGET_BRANCH=master
OS_ANSIBLE_BRANCH=master
OS_ANSIBLE_REPO=https://github.com/openshift/openshift-ansible 
OS=rhel7
OS_ROOT=/data/src/github.com/openshift/origin
PATH=/sbin:/usr/sbin:/bin:/usr/bin
PWD=/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace/origin
ROOT_BUILD_CAUSE=REMOTECAUSE
ROOT_BUILD_CAUSE_REMOTECAUSE=true
RUN_CHANGES_DISPLAY_URL=https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/1638/display/redirect?page=changes
RUN_DISPLAY_URL=https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/1638/display/redirect
SHELL=/bin/bash
SHLVL=3
TESTNAME=logging
TEST_PERF=false
USER=jenkins
WORKSPACE=/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace
XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
+ vagrant origin-init --stage inst --os rhel7 --instance-type c4.xlarge origin_logging-rhel7-1638
Reading AWS credentials from /var/lib/jenkins/.awscred
Searching devenv-rhel7_* for latest base AMI (required_name_tag=)
Found: ami-83a1fc95 (devenv-rhel7_6323)
++ seq 0 2
+ for i in '$(seq 0 2)'
+ vagrant up --provider aws
Bringing machine 'openshiftdev' up with 'aws' provider...
==> openshiftdev: Warning! The AWS provider doesn't support any of the Vagrant
==> openshiftdev: high-level network configurations (`config.vm.network`). They
==> openshiftdev: will be silently ignored.
==> openshiftdev: Warning! You're launching this instance into a VPC without an
==> openshiftdev: elastic IP. Please verify you're properly connected to a VPN so
==> openshiftdev: you can access this machine, otherwise Vagrant will not be able
==> openshiftdev: to SSH into it.
==> openshiftdev: Launching an instance with the following settings...
==> openshiftdev:  -- Type: c4.xlarge
==> openshiftdev:  -- AMI: ami-83a1fc95
==> openshiftdev:  -- Region: us-east-1
==> openshiftdev:  -- Keypair: libra
==> openshiftdev:  -- Subnet ID: subnet-cf57c596
==> openshiftdev:  -- User Data: yes
==> openshiftdev:  -- User Data: 
==> openshiftdev: # cloud-config
==> openshiftdev: 
==> openshiftdev: growpart:
==> openshiftdev:   mode: auto
==> openshiftdev:   devices: ['/']
==> openshiftdev: runcmd:
==> openshiftdev: - [ sh, -xc, "sed -i s/^Defaults.*requiretty/#Defaults requiretty/g /etc/sudoers"]
==> openshiftdev:         
==> openshiftdev:  -- Block Device Mapping: [{"DeviceName"=>"/dev/sda1", "Ebs.VolumeSize"=>25, "Ebs.VolumeType"=>"gp2"}, {"DeviceName"=>"/dev/sdb", "Ebs.VolumeSize"=>35, "Ebs.VolumeType"=>"gp2"}]
==> openshiftdev:  -- Terminate On Shutdown: false
==> openshiftdev:  -- Monitoring: false
==> openshiftdev:  -- EBS optimized: false
==> openshiftdev:  -- Assigning a public IP address in a VPC: false
==> openshiftdev: Waiting for instance to become "ready"...
==> openshiftdev: Waiting for SSH to become available...
==> openshiftdev: Machine is booted and ready for use!
==> openshiftdev: Running provisioner: setup (shell)...
    openshiftdev: Running: /tmp/vagrant-shell20170608-25966-corcxx.sh
==> openshiftdev: Host: ec2-107-23-32-214.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-28925-1f1jomk /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 '107.23.32.214' (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
e68089779cf0: Waiting
f77449eb85d6: Waiting
09427247134d: Waiting
3ac7e779da16: Waiting
1cb971d1904a: Waiting
7f787b4c1aa4: Waiting
3a9c76d9e103: Verifying Checksum
a3e21278d73b: Verifying Checksum
a3e21278d73b: Download complete
1cb971d1904a: Verifying Checksum
1cb971d1904a: Download complete
eb9125dce9a5: Verifying Checksum
eb9125dce9a5: Download complete
7f787b4c1aa4: Verifying Checksum
7f787b4c1aa4: Download complete
09427247134d: Verifying Checksum
09427247134d: Download complete
e68089779cf0: Verifying Checksum
e68089779cf0: Download complete
f77449eb85d6: Verifying Checksum
f77449eb85d6: Download complete
3ac7e779da16: Verifying Checksum
3ac7e779da16: Download complete
68dc0402a412: Verifying Checksum
68dc0402a412: Download complete
3a9c76d9e103: Pull complete
68dc0402a412: Pull complete
a3e21278d73b: Pull complete
1cb971d1904a: Pull complete
7f787b4c1aa4: Pull complete
eb9125dce9a5: Pull complete
09427247134d: Pull complete
3ac7e779da16: Pull complete
e68089779cf0: Pull complete
f77449eb85d6: Pull complete
Digest: sha256:273c11b82929c5f946ddb48bd49dbe1e77ba40d9c15275dc7619fd07b9c8ec54
+ echo done with openshift/origin-logging-elasticsearch
done with openshift/origin-logging-elasticsearch
+ for image in openshift/base-centos7 centos:centos7 openshift/origin-logging-elasticsearch openshift/origin-logging-fluentd openshift/origin-logging-curator openshift/origin-logging-kibana
+ echo pulling image openshift/origin-logging-fluentd ...
pulling image openshift/origin-logging-fluentd ...
+ vagrant ssh -c 'docker pull openshift/origin-logging-fluentd' -- -n
Using default tag: latest
Trying to pull repository docker.io/openshift/origin-logging-fluentd ... 
latest: Pulling from docker.io/openshift/origin-logging-fluentd
d5e46245fe40: Already exists
6318bc7c7f58: Pulling fs layer
3b55aa2d4d05: Pulling fs layer
814e0506d29d: Pulling fs layer
ed25a891441c: Pulling fs layer
63d9bd56de92: Pulling fs layer
ed25a891441c: Waiting
63d9bd56de92: Waiting
814e0506d29d: Download complete
ed25a891441c: Verifying Checksum
ed25a891441c: Download complete
63d9bd56de92: Verifying Checksum
63d9bd56de92: Download complete
3b55aa2d4d05: Verifying Checksum
3b55aa2d4d05: Download complete
6318bc7c7f58: Verifying Checksum
6318bc7c7f58: Download complete
6318bc7c7f58: Pull complete
3b55aa2d4d05: Pull complete
814e0506d29d: Pull complete
ed25a891441c: Pull complete
63d9bd56de92: Pull complete
Digest: sha256:b55877bf5f5624c0111688db16bac54ed7b64291114323fb010d9e8e630b1c89
+ echo done with openshift/origin-logging-fluentd
done with openshift/origin-logging-fluentd
+ for image in openshift/base-centos7 centos:centos7 openshift/origin-logging-elasticsearch openshift/origin-logging-fluentd openshift/origin-logging-curator openshift/origin-logging-kibana
+ echo pulling image openshift/origin-logging-curator ...
pulling image openshift/origin-logging-curator ...
+ vagrant ssh -c 'docker pull openshift/origin-logging-curator' -- -n
Using default tag: latest
Trying to pull repository docker.io/openshift/origin-logging-curator ... 
latest: Pulling from docker.io/openshift/origin-logging-curator
d5e46245fe40: Already exists
b84a40433153: Pulling fs layer
b797c0ddd9bc: Pulling fs layer
b84a40433153: Verifying Checksum
b84a40433153: Download complete
b797c0ddd9bc: Verifying Checksum
b797c0ddd9bc: Download complete
b84a40433153: Pull complete
b797c0ddd9bc: Pull complete
Digest: sha256:c09a1f9ef6f2ca23b4d3dca5f4a2c0f5bb76ed65351d9295d7d3344e5bce3f89
+ echo done with openshift/origin-logging-curator
done with openshift/origin-logging-curator
+ for image in openshift/base-centos7 centos:centos7 openshift/origin-logging-elasticsearch openshift/origin-logging-fluentd openshift/origin-logging-curator openshift/origin-logging-kibana
+ echo pulling image openshift/origin-logging-kibana ...
pulling image openshift/origin-logging-kibana ...
+ vagrant ssh -c 'docker pull openshift/origin-logging-kibana' -- -n
Using default tag: latest
Trying to pull repository docker.io/openshift/origin-logging-kibana ... 
latest: Pulling from docker.io/openshift/origin-logging-kibana
45a2e645736c: Already exists
734fb161cf89: Already exists
78efc9e155c4: Already exists
8a3400b7e31a: Already exists
d24cd3f22cc6: Pulling fs layer
b64de6f5fdbe: Pulling fs layer
d443465a8496: Pulling fs layer
cb8fa38c6d97: Pulling fs layer
9879c78ef10f: Pulling fs layer
3f29d3f59ef3: Pulling fs layer
cb8fa38c6d97: Waiting
3f29d3f59ef3: Waiting
9879c78ef10f: Waiting
d24cd3f22cc6: Verifying Checksum
d24cd3f22cc6: Download complete
d443465a8496: Verifying Checksum
d443465a8496: Download complete
cb8fa38c6d97: Verifying Checksum
cb8fa38c6d97: Download complete
9879c78ef10f: Verifying Checksum
9879c78ef10f: Download complete
d24cd3f22cc6: Pull complete
b64de6f5fdbe: Verifying Checksum
b64de6f5fdbe: Download complete
3f29d3f59ef3: Verifying Checksum
3f29d3f59ef3: Download complete
b64de6f5fdbe: Pull complete
d443465a8496: Pull complete
cb8fa38c6d97: Pull complete
9879c78ef10f: Pull complete
3f29d3f59ef3: Pull complete
Digest: sha256:3b95068a8514b13780c047f955e99d481af5597bf2b214501030e7be2f4d6dc1
+ echo done with openshift/origin-logging-kibana
done with openshift/origin-logging-kibana
+ vagrant test-origin-aggregated-logging -d --env GIT_URL=https://github.com/openshift/origin-aggregated-logging --env GIT_BRANCH=master --env O_A_L_DIR=/data/src/github.com/openshift/origin-aggregated-logging --env OS_ROOT=/data/src/github.com/openshift/origin --env ENABLE_OPS_CLUSTER=true --env USE_LOCAL_SOURCE=true --env TEST_PERF=false --env VERBOSE=1 --env OS_ANSIBLE_REPO=https://github.com/openshift/openshift-ansible --env OS_ANSIBLE_BRANCH=master
***************************************************
Running GIT_URL=https://github.com/openshift/origin-aggregated-logging GIT_BRANCH=master O_A_L_DIR=/data/src/github.com/openshift/origin-aggregated-logging OS_ROOT=/data/src/github.com/openshift/origin ENABLE_OPS_CLUSTER=true USE_LOCAL_SOURCE=true TEST_PERF=false VERBOSE=1 OS_ANSIBLE_REPO=https://github.com/openshift/openshift-ansible OS_ANSIBLE_BRANCH=master ./logging.sh...
/data/src/github.com/openshift/origin /data/src/github.com/openshift/origin-aggregated-logging/hack/testing
/data/src/github.com/openshift/origin-aggregated-logging/hack/testing
/data/src/github.com/openshift/origin-aggregated-logging /data/src/github.com/openshift/origin-aggregated-logging/hack/testing
/data/src/github.com/openshift/origin-aggregated-logging/hack/testing
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Metadata Cache Created
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Resolving Dependencies
--> Running transaction check
---> Package ansible.noarch 0:2.3.0.0-3.el7 will be installed
--> Processing Dependency: sshpass for package: ansible-2.3.0.0-3.el7.noarch
--> Processing Dependency: python-paramiko for package: ansible-2.3.0.0-3.el7.noarch
--> Processing Dependency: python-keyczar for package: ansible-2.3.0.0-3.el7.noarch
--> Processing Dependency: python-httplib2 for package: ansible-2.3.0.0-3.el7.noarch
--> Processing Dependency: python-crypto for package: ansible-2.3.0.0-3.el7.noarch
---> Package python2-pip.noarch 0:8.1.2-5.el7 will be installed
---> Package python2-ruamel-yaml.x86_64 0:0.12.14-9.el7 will be installed
--> Processing Dependency: python2-typing for package: python2-ruamel-yaml-0.12.14-9.el7.x86_64
--> Processing Dependency: python2-ruamel-ordereddict for package: python2-ruamel-yaml-0.12.14-9.el7.x86_64
--> Running transaction check
---> Package python-httplib2.noarch 0:0.9.1-2.el7aos will be installed
---> Package python-keyczar.noarch 0:0.71c-2.el7aos will be installed
--> Processing Dependency: python-pyasn1 for package: python-keyczar-0.71c-2.el7aos.noarch
---> Package python-paramiko.noarch 0:2.1.1-1.el7 will be installed
--> Processing Dependency: python-cryptography for package: python-paramiko-2.1.1-1.el7.noarch
---> Package python2-crypto.x86_64 0:2.6.1-13.el7 will be installed
--> Processing Dependency: libtomcrypt.so.0()(64bit) for package: python2-crypto-2.6.1-13.el7.x86_64
---> Package python2-ruamel-ordereddict.x86_64 0:0.4.9-3.el7 will be installed
---> Package python2-typing.noarch 0:3.5.2.2-3.el7 will be installed
---> Package sshpass.x86_64 0:1.06-1.el7 will be installed
--> Running transaction check
---> Package libtomcrypt.x86_64 0:1.17-23.el7 will be installed
--> Processing Dependency: libtommath >= 0.42.0 for package: libtomcrypt-1.17-23.el7.x86_64
--> Processing Dependency: libtommath.so.0()(64bit) for package: libtomcrypt-1.17-23.el7.x86_64
---> Package python2-cryptography.x86_64 0:1.3.1-3.el7 will be installed
--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.3.1-3.el7.x86_64
--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.3.1-3.el7.x86_64
--> Processing Dependency: python-ipaddress for package: python2-cryptography-1.3.1-3.el7.x86_64
--> Processing Dependency: python-enum34 for package: python2-cryptography-1.3.1-3.el7.x86_64
---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed
--> Running transaction check
---> Package libtommath.x86_64 0:0.42.0-4.el7 will be installed
---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed
--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64
---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed
---> Package python-idna.noarch 0:2.0-1.el7 will be installed
---> Package python-ipaddress.noarch 0:1.0.16-2.el7 will be installed
--> Running transaction check
---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed
--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch
--> Running transaction check
---> Package python-ply.noarch 0:3.4-10.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

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

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

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

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

Dependency Installed:
  libtomcrypt.x86_64 0:1.17-23.el7                                              
  libtommath.x86_64 0:0.42.0-4.el7                                              
  python-cffi.x86_64 0:1.6.0-5.el7                                              
  python-enum34.noarch 0:1.0.4-1.el7                                            
  python-httplib2.noarch 0:0.9.1-2.el7aos                                       
  python-idna.noarch 0:2.0-1.el7                                                
  python-ipaddress.noarch 0:1.0.16-2.el7                                        
  python-keyczar.noarch 0:0.71c-2.el7aos                                        
  python-paramiko.noarch 0:2.1.1-1.el7                                          
  python-ply.noarch 0:3.4-10.el7                                                
  python-pycparser.noarch 0:2.14-1.el7                                          
  python2-crypto.x86_64 0:2.6.1-13.el7                                          
  python2-cryptography.x86_64 0:1.3.1-3.el7                                     
  python2-pyasn1.noarch 0:0.1.9-7.el7                                           
  python2-ruamel-ordereddict.x86_64 0:0.4.9-3.el7                               
  python2-typing.noarch 0:3.5.2.2-3.el7                                         
  sshpass.x86_64 0:1.06-1.el7                                                   

Complete!
Cloning into '/tmp/tmp.Dr7eHw6FTr/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 16:28:49 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.4.251 in /tmp/openshift/origin-aggregated-logging/openshift.local.config/node-172.18.4.251
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 15.839s: 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.4.251:8443 was refused - did you specify the right host or port?
... repeated 27 times
Error from server (Forbidden): User "system:admin" cannot "get" on "/healthz"
... repeated 8 times
Running hack/lib/start.sh:353: executing 'oc get --raw https://172.18.4.251: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.233s: hack/lib/start.sh:353: executing 'oc get --raw https://172.18.4.251: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 1.166s: 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
... repeated 2 times
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.505s: 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   6s

There was no error output from the command.
Running hack/lib/start.sh:356: executing 'oc get --raw /api/v1/nodes/172.18.4.251 --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.339s: hack/lib/start.sh:356: executing 'oc get --raw /api/v1/nodes/172.18.4.251 --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.4.251","selfLink":"/api/v1/nodes/172.18.4.251","uid":"2bbb31a1-4c89-11e7-b203-0e7af10b3ca4","resourceVersion":"283","creationTimestamp":"2017-06-08T20:29:28Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/os":"linux","kubernetes.io/hostname":"172.18.4.251"},"annotations":{"volumes.kubernetes.io/controller-managed-attach-detach":"true"}},"spec":{"externalID":"172.18.4.251","providerID":"aws:////i-029fe27ec5c111b6f"},"status":{"capacity":{"cpu":"4","memory":"7231688Ki","pods":"40"},"allocatable":{"cpu":"4","memory":"7129288Ki","pods":"40"},"conditions":[{"type":"OutOfDisk","status":"False","lastHeartbeatTime":"2017-06-08T20:29:28Z","lastTransitionTime":"2017-06-08T20:29:28Z","reason":"KubeletHasSufficientDisk","message":"kubelet has sufficient disk space available"},{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2017-06-08T20:29:28Z","lastTransitionTime":"2017-06-08T20:29:28Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2017-06-08T20:29:28Z","lastTransitionTime":"2017-06-08T20:29:28Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"Ready","status":"True","lastHeartbeatTime":"2017-06-08T20:29:28Z","lastTransitionTime":"2017-06-08T20:29:28Z","reason":"KubeletReady","message":"kubelet is posting ready status"}],"addresses":[{"type":"LegacyHostIP","address":"172.18.4.251"},{"type":"InternalIP","address":"172.18.4.251"},{"type":"Hostname","address":"172.18.4.251"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"f9370ed252a14f73b014c1301a9b6d1b","systemUUID":"EC29753A-72E8-B3A9-EA68-3780FFE0C604","bootID":"613806f7-813d-4f7e-9950-d1accf002392","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-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-docker-builder:6acabdc","openshift/origin-docker-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:6acabdc","openshift/origin:latest"],"sizeBytes":1001728427},{"names":["openshift/origin-cluster-capacity:6acabdc","openshift/origin-cluster-capacity:latest"],"sizeBytes":962455026},{"names":["rhel7.1:latest"],"sizeBytes":765301508},{"names":["openshift/dind-master:latest"],"sizeBytes":731456758},{"names":["openshift/dind-node:latest"],"sizeBytes":731453034},{"names":["\u003cnone\u003e@\u003cnone\u003e","\u003cnone\u003e:\u003cnone\u003e"],"sizeBytes":709532011},{"names":["docker.io/openshift/origin-logging-kibana@sha256:3b95068a8514b13780c047f955e99d481af5597bf2b214501030e7be2f4d6dc1","docker.io/openshift/origin-logging-kibana:latest"],"sizeBytes":682851503},{"names":["openshift/dind:latest"],"sizeBytes":640650210},{"names":["docker.io/openshift/origin-logging-elasticsearch@sha256:273c11b82929c5f946ddb48bd49dbe1e77ba40d9c15275dc7619fd07b9c8ec54","docker.io/openshift/origin-logging-elasticsearch:latest"],"sizeBytes":425433879},{"names":["docker.io/openshift/base-centos7@sha256:aea292a3bddba020cde0ee83e6a45807931eb607c164ec6a3674f67039d8cd7c","docker.io/openshift/base-centos7:latest"],"sizeBytes":383049978},{"names":["rhel7.2:latest"],"sizeBytes":377493597},{"names":["openshift/origin-egress-router:6acabdc","openshift/origin-egress-router:latest"],"sizeBytes":364745713},{"names":["openshift/origin-base:latest"],"sizeBytes":363070172},{"names":["\u003cnone\u003e@\u003cnone\u003e","\u003cnone\u003e:\u003cnone\u003e"],"sizeBytes":363024702},{"names":["docker.io/openshift/origin-logging-fluentd@sha256:b55877bf5f5624c0111688db16bac54ed7b64291114323fb010d9e8e630b1c89","docker.io/openshift/origin-logging-fluentd:latest"],"sizeBytes":359219273},{"names":["docker.io/fedora@sha256:69281ddd7b2600e5f2b17f1e12d7fba25207f459204fb2d15884f8432c479136","docker.io/fedora:25"],"sizeBytes":230864375},{"names":["docker.io/openshift/origin-logging-curator@sha256:c09a1f9ef6f2ca23b4d3dca5f4a2c0f5bb76ed65351d9295d7d3344e5bce3f89","docker.io/openshift/origin-logging-curator:latest"],"sizeBytes":224977447},{"names":["rhel7.3:latest","rhel7:latest"],"sizeBytes":219121266},{"names":["openshift/origin-pod:6acabdc","openshift/origin-pod:latest"],"sizeBytes":213199843},{"names":["registry.access.redhat.com/rhel7.2@sha256:98e6ca5d226c26e31a95cd67716afe22833c943e1926a21daf1a030906a02249","registry.access.redhat.com/rhel7.2:latest"],"sizeBytes":201376319},{"names":["registry.access.redhat.com/rhel7.3@sha256:1e232401d8e0ba53b36b757b4712fbcbd1dab9c21db039c45a84871a74e89e68","registry.access.redhat.com/rhel7.3:latest"],"sizeBytes":192693772},{"names":["docker.io/centos@sha256:bba1de7c9d900a898e3cadbae040dfe8a633c06bc104a0df76ae24483e03c077"],"sizeBytes":192548999},{"names":["openshift/origin-source:latest"],"sizeBytes":192548894},{"names":["docker.io/centos@sha256:aebf12af704307dfa0079b3babdca8d7e8ff6564696882bcb5d11f1d461f9ee9","docker.io/centos:7","docker.io/centos:centos7"],"sizeBytes":192548537},{"names":["registry.access.redhat.com/rhel7.1@sha256:1bc5a4c43bbb29a5a96a61896ff696933be3502e2f5fdc4cde02d9e101731fdd","registry.access.redhat.com/rhel7.1:latest"],"sizeBytes":158229901},{"names":["openshift/hello-openshift:6acabdc","openshift/hello-openshift:latest"],"sizeBytes":5643318}]}}

There was no error output from the command.
serviceaccount "registry" created
clusterrolebinding "registry-registry-role" created
deploymentconfig "docker-registry" created
service "docker-registry" created
info: password for stats user admin has been set to XpHCdqvCSq
--> Creating router router ...
    serviceaccount "router" created
    clusterrolebinding "router-router-role" created
    deploymentconfig "router" created
    service "router" created
--> Success
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:162: executing 'oadm new-project logging --node-selector=''' expecting success...
SUCCESS after 0.544s: /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.235s: /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.398s: 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.426s: 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:d8af300e072a46c4298dc4b2db682a8b104964c1113d93819ce296e185a6cc4a   1 second ago   sha256:d8af300e072a46c4298dc4b2db682a8b104964c1113d93819ce296e185a6cc4a
Standard error from the command:
Error from server (NotFound): imagestreamtags.image.openshift.io "origin:latest" not found
... repeated 3 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 417.980s: hack/testing/build-images:33: executing 'wait_for_builds_complete' expecting success
Standard output from the command:
build "logging-kibana-2" started
build in progress for logging-kibana - delete failed build logging-kibana-1 status complete
build "logging-kibana-1" deleted
Builds are complete

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

/tmp/tmp.Dr7eHw6FTr/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.4.251:8443

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

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

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

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

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

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

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

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

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

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

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

TASK [openshift_facts : Ensure various deps are installed] *********************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/openhift-ansible/roles/openshift_facts/tasks/main.yml:71
changed: [openshift] => {
    "ansible_facts": {
        "openshift": {
            "common": {
                "admin_binary": "/usr/local/bin/oadm", 
                "all_hostnames": [
                    "107.23.32.214", 
                    "172.18.4.251", 
                    "ip-172-18-4-251.ec2.internal", 
                    "ec2-107-23-32-214.compute-1.amazonaws.com"
                ], 
                "cli_image": "openshift/origin", 
                "client_binary": "/usr/local/bin/oc", 
                "cluster_id": "default", 
                "config_base": "/etc/origin", 
                "data_dir": "/var/lib/origin", 
                "debug_level": "2", 
                "deployer_image": "openshift/origin-deployer", 
                "deployment_subtype": "basic", 
                "deployment_type": "origin", 
                "dns_domain": "cluster.local", 
                "etcd_runtime": "docker", 
                "examples_content_version": "v3.6", 
                "generate_no_proxy_hosts": true, 
                "hostname": "ip-172-18-4-251.ec2.internal", 
                "install_examples": true, 
                "internal_hostnames": [
                    "ip-172-18-4-251.ec2.internal", 
                    "172.18.4.251"
                ], 
                "ip": "172.18.4.251", 
                "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-107-23-32-214.compute-1.amazonaws.com", 
                "public_ip": "107.23.32.214", 
                "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-4-251.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-4-251.ec2.internal", 
                    "instance-action": "none", 
                    "instance-id": "i-029fe27ec5c111b6f", 
                    "instance-type": "c4.xlarge", 
                    "local-hostname": "ip-172-18-4-251.ec2.internal", 
                    "local-ipv4": "172.18.4.251", 
                    "mac": "0e:7a:f1:0b:3c:a4", 
                    "metrics": {
                        "vhostmd": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
                    }, 
                    "network": {
                        "interfaces": {
                            "macs": {
                                "0e:7a:f1:0b:3c:a4": {
                                    "device-number": "0", 
                                    "interface-id": "eni-6e091eb4", 
                                    "ipv4-associations": {
                                        "107.23.32.214": "172.18.4.251"
                                    }, 
                                    "local-hostname": "ip-172-18-4-251.ec2.internal", 
                                    "local-ipv4s": "172.18.4.251", 
                                    "mac": "0e:7a:f1:0b:3c:a4", 
                                    "owner-id": "531415883065", 
                                    "public-hostname": "ec2-107-23-32-214.compute-1.amazonaws.com", 
                                    "public-ipv4s": "107.23.32.214", 
                                    "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-107-23-32-214.compute-1.amazonaws.com", 
                    "public-ipv4": "107.23.32.214", 
                    "public-keys/": "0=libra", 
                    "reservation-id": "r-03266c6069857c4f7", 
                    "security-groups": "default", 
                    "services": {
                        "domain": "amazonaws.com", 
                        "partition": "aws"
                    }
                }, 
                "name": "aws", 
                "network": {
                    "hostname": "ip-172-18-4-251.ec2.internal", 
                    "interfaces": [
                        {
                            "ips": [
                                "172.18.4.251"
                            ], 
                            "network_id": "subnet-cf57c596", 
                            "network_type": "vpc", 
                            "public_ips": [
                                "107.23.32.214"
                            ]
                        }
                    ], 
                    "ip": "172.18.4.251", 
                    "ipv6_enabled": false, 
                    "public_hostname": "ec2-107-23-32-214.compute-1.amazonaws.com", 
                    "public_ip": "107.23.32.214"
                }, 
                "zone": "us-east-1d"
            }
        }
    }, 
    "changed": true
}

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

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

TASK [openshift_logging : Create temp directory for doing work in] *************
task path: /tmp/tmp.Dr7eHw6FTr/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.001969", 
    "end": "2017-06-08 16:45:34.690853", 
    "rc": 0, 
    "start": "2017-06-08 16:45:34.688884"
}

STDOUT:

/tmp/openshift-logging-ansible-xu64eH

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

MSG:

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

TASK [openshift_logging : Create local temp directory for doing work in] *******
task path: /tmp/tmp.Dr7eHw6FTr/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.002170", 
    "end": "2017-06-08 16:45:34.844766", 
    "rc": 0, 
    "start": "2017-06-08 16:45:34.842596"
}

STDOUT:

/tmp/openshift-logging-ansible-tqJP39

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

TASK [openshift_logging : Gather OpenShift Logging Facts] **********************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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-08T20:29:30Z", 
                "name": "logging", 
                "resourceVersion": "708", 
                "selfLink": "/api/v1/namespaces/logging", 
                "uid": "2cf37d59-4c89-11e7-b203-0e7af10b3ca4"
            }, 
            "spec": {
                "finalizers": [
                    "openshift.io/origin", 
                    "kubernetes"
                ]
            }, 
            "status": {
                "phase": "Active"
            }
        }, 
        "returncode": 0
    }, 
    "state": "present"
}

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

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

TASK [openshift_logging : Checking for ca.key] *********************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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-xu64eH/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.260948", 
    "end": "2017-06-08 16:45:39.018507", 
    "rc": 0, 
    "start": "2017-06-08 16:45:38.757559"
}

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

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

TASK [openshift_logging : Checking for kibana.crt] *****************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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-xu64eH/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.276649", 
    "end": "2017-06-08 16:45:41.062200", 
    "rc": 0, 
    "start": "2017-06-08 16:45:40.785551"
}

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

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

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

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

TASK [openshift_logging : Checking for system.logging.fluentd.key] *************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.231795", 
    "end": "2017-06-08 16:45:43.247941", 
    "rc": 0, 
    "start": "2017-06-08 16:45:43.016146"
}

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.Dr7eHw6FTr/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.007747", 
    "end": "2017-06-08 16:45:43.377848", 
    "rc": 0, 
    "start": "2017-06-08 16:45:43.370101"
}

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 20:45:43 2017 GMT
            Not After : Jun  8 20:45:43 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: 
                84:27:E2:A0:20:CC:B3:9D:14:B6:7C:61:DB:4B:5C:31:19:B5:F2:79
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  8 20:45:43 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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.036457", 
    "end": "2017-06-08 16:45:43.803624", 
    "rc": 0, 
    "start": "2017-06-08 16:45:43.767167"
}

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.Dr7eHw6FTr/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.007554", 
    "end": "2017-06-08 16:45:43.932287", 
    "rc": 0, 
    "start": "2017-06-08 16:45:43.924733"
}

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 20:45:43 2017 GMT
            Not After : Jun  8 20:45:43 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: 
                E2:3C:DC:15:2E:7B:F6:1F:14:91:9F:BF:63:85:68:3A:F0:30:CE:45
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  8 20:45:43 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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.125900", 
    "end": "2017-06-08 16:45:44.439175", 
    "rc": 0, 
    "start": "2017-06-08 16:45:44.313275"
}

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.Dr7eHw6FTr/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.007544", 
    "end": "2017-06-08 16:45:44.570962", 
    "rc": 0, 
    "start": "2017-06-08 16:45:44.563418"
}

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 20:45:44 2017 GMT
            Not After : Jun  8 20:45:44 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: 
                65:38:54:C2:59:CB:19:68:E1:AE:85:FC:0D:F3:E4:E2:E0:0F:90:E8
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  8 20:45:44 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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.052088", 
    "end": "2017-06-08 16:45:45.003157", 
    "rc": 0, 
    "start": "2017-06-08 16:45:44.951069"
}

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.Dr7eHw6FTr/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.007593", 
    "end": "2017-06-08 16:45:45.130792", 
    "rc": 0, 
    "start": "2017-06-08 16:45:45.123199"
}

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 20:45:45 2017 GMT
            Not After : Jun  8 20:45:45 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: 
                24:A5:03:ED:B9:0E:5C:17:F7:F7:72:72:DA:42:D4:BC:92:63:EF:C2
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  8 20:45:45 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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:137
included: /tmp/tmp.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml for openshift

TASK [openshift_logging : Checking for elasticsearch.jks] **********************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:43
changed: [openshift] => (item=ca.crt) => {
    "changed": true, 
    "checksum": "2304e00083cdf79a056e21414c861d30bf83d2f3", 
    "dest": "/tmp/openshift-logging-ansible-tqJP39/ca.crt", 
    "item": "ca.crt", 
    "md5sum": "b6272f49434ba1a03647c1168c6ed9a8", 
    "remote_checksum": "2304e00083cdf79a056e21414c861d30bf83d2f3", 
    "remote_md5sum": null
}
changed: [openshift] => (item=ca.key) => {
    "changed": true, 
    "checksum": "64698ea592100ae64f7e7361ed4784638097225b", 
    "dest": "/tmp/openshift-logging-ansible-tqJP39/ca.key", 
    "item": "ca.key", 
    "md5sum": "08f0f779d88bc57abf7df39ead59c35e", 
    "remote_checksum": "64698ea592100ae64f7e7361ed4784638097225b", 
    "remote_md5sum": null
}
changed: [openshift] => (item=ca.serial.txt) => {
    "changed": true, 
    "checksum": "b649682b92a811746098e5c91e891e5142a41950", 
    "dest": "/tmp/openshift-logging-ansible-tqJP39/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": "7b6b6d287e2a7488766ca8c250e3a2b9a562255f", 
    "dest": "/tmp/openshift-logging-ansible-tqJP39/ca.db", 
    "item": "ca.db", 
    "md5sum": "fc19d8c2db15af8f3f0f4a1dd166ba32", 
    "remote_checksum": "7b6b6d287e2a7488766ca8c250e3a2b9a562255f", 
    "remote_md5sum": null
}

TASK [openshift_logging : template] ********************************************
task path: /tmp/tmp.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:56
changed: [openshift -> 127.0.0.1] => {
    "changed": true, 
    "checksum": "5319733e49ffaf7a42cee93ba272dea1dd5bc429", 
    "dest": "/tmp/openshift-logging-ansible-tqJP39/signing.conf", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "600a22bfca4c8e23bd1fffe7c60bde0f", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 4281, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496954746.57-237328185159219/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging : Run JKS generation script] ***************************
task path: /tmp/tmp.Dr7eHw6FTr/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-tqJP39
+ SCRATCH_DIR=/tmp/openshift-logging-ansible-tqJP39
+ PROJECT=logging
+ [[ ! -f /tmp/openshift-logging-ansible-tqJP39/system.admin.jks ]]
+ generate_JKS_client_cert system.admin
+ NODE_NAME=system.admin
+ ks_pass=kspass
+ ts_pass=tspass
+ dir=/tmp/openshift-logging-ansible-tqJP39
+ echo Generating keystore and certificate for node system.admin
+ keytool -genkey -alias system.admin -keystore /tmp/openshift-logging-ansible-tqJP39/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-tqJP39/system.admin.jks -file /tmp/openshift-logging-ansible-tqJP39/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-tqJP39/system.admin.jks.csr -notext -out /tmp/openshift-logging-ansible-tqJP39/system.admin.jks.crt -config /tmp/openshift-logging-ansible-tqJP39/signing.conf -extensions v3_req -batch -extensions server_ext
Using configuration from /tmp/openshift-logging-ansible-tqJP39/signing.conf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 6 (0x6)
        Validity
            Not Before: Jun  8 20:45:58 2017 GMT
            Not After : Jun  8 20:45:58 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: 
                CF:27:0C:C3:7B:E2:DC:F7:22:97:4F:B1:B8:5F:09:2D:EC:58:B9:ED
            X509v3 Authority Key Identifier: 
                0.
Certificate is to be certified until Jun  8 20:45:58 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-tqJP39/ca.crt -keystore /tmp/openshift-logging-ansible-tqJP39/system.admin.jks -storepass kspass -noprompt -alias sig-ca
Certificate was added to keystore
+ keytool -import -file /tmp/openshift-logging-ansible-tqJP39/system.admin.jks.crt -keystore /tmp/openshift-logging-ansible-tqJP39/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-tqJP39/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-tqJP39
+ 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-tqJP39/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-tqJP39/elasticsearch.jks -storepass kspass -file /tmp/openshift-logging-ansible-tqJP39/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-tqJP39/elasticsearch.csr -notext -out /tmp/openshift-logging-ansible-tqJP39/elasticsearch.crt -config /tmp/openshift-logging-ansible-tqJP39/signing.conf -extensions v3_req -batch -extensions server_ext
Using configuration from /tmp/openshift-logging-ansible-tqJP39/signing.conf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 7 (0x7)
        Validity
            Not Before: Jun  8 20:45:59 2017 GMT
            Not After : Jun  8 20:45:59 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: 
                89:83:87:0C:74:1F:B2:DF:14:36:40:29:91:0D:9B:FD:9A:B2:CA:5A
            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 20:45:59 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-tqJP39/ca.crt -keystore /tmp/openshift-logging-ansible-tqJP39/elasticsearch.jks -storepass kspass -noprompt -alias sig-ca
Certificate was added to keystore
+ keytool -import -file /tmp/openshift-logging-ansible-tqJP39/elasticsearch.crt -keystore /tmp/openshift-logging-ansible-tqJP39/elasticsearch.jks -storepass kspass -noprompt -alias elasticsearch
Certificate reply was installed in keystore
+ echo All done for elasticsearch
+ [[ ! -f /tmp/openshift-logging-ansible-tqJP39/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-tqJP39
+ 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-tqJP39/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-tqJP39/logging-es.jks -storepass kspass -file /tmp/openshift-logging-ansible-tqJP39/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-tqJP39/logging-es.csr -notext -out /tmp/openshift-logging-ansible-tqJP39/logging-es.crt -config /tmp/openshift-logging-ansible-tqJP39/signing.conf -extensions v3_req -batch -extensions server_ext
Using configuration from /tmp/openshift-logging-ansible-tqJP39/signing.conf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 8 (0x8)
        Validity
            Not Before: Jun  8 20:46:00 2017 GMT
            Not After : Jun  8 20:46:00 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: 
                D8:75:ED:A7:25:CB:96:1C:43:B6:8D:AA:86:3C:F4:71:B1:E8:1C:8D
            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 20:46:00 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-tqJP39/ca.crt -keystore /tmp/openshift-logging-ansible-tqJP39/logging-es.jks -storepass kspass -noprompt -alias sig-ca
Certificate was added to keystore
+ keytool -import -file /tmp/openshift-logging-ansible-tqJP39/logging-es.crt -keystore /tmp/openshift-logging-ansible-tqJP39/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-tqJP39/truststore.jks ']'
+ createTruststore
+ echo 'Import CA to truststore for validating client certs'
+ keytool -import -file /tmp/openshift-logging-ansible-tqJP39/ca.crt -keystore /tmp/openshift-logging-ansible-tqJP39/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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:66
changed: [openshift] => {
    "changed": true, 
    "checksum": "2ad254566a5dd53be26aa06899fbc540eccdaa70", 
    "dest": "/etc/origin/logging/elasticsearch.jks", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "e5e82efc6cf7954c0897304bc89cca09", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "system_u:object_r:etc_t:s0", 
    "size": 3769, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496954761.48-138389661212324/source", 
    "state": "file", 
    "uid": 0
}

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

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

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

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

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

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

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

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

TASK [openshift_logging_elasticsearch : Validate Elasticsearch cluster size] ***
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.002108", 
    "end": "2017-06-08 16:46:03.090325", 
    "rc": 0, 
    "start": "2017-06-08 16:46:03.088217"
}

STDOUT:

/tmp/openshift-logging-ansible-gnbagc

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

TASK [openshift_logging_elasticsearch : Create templates subdirectory] *********
task path: /tmp/tmp.Dr7eHw6FTr/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-gnbagc/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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-862gj"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T20:46:03Z", 
                    "name": "aggregated-logging-elasticsearch", 
                    "namespace": "logging", 
                    "resourceVersion": "1337", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-elasticsearch", 
                    "uid": "7cfdf6df-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-elasticsearch-token-r0ksm"
                    }, 
                    {
                        "name": "aggregated-logging-elasticsearch-dockercfg-862gj"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

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

TASK [openshift_logging_elasticsearch : Create rolebinding-reader role] ********
task path: /tmp/tmp.Dr7eHw6FTr/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-08T20:46:05Z", 
                    "name": "rolebinding-reader", 
                    "resourceVersion": "122", 
                    "selfLink": "/oapi/v1/clusterroles/rolebinding-reader", 
                    "uid": "7da641a7-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "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.Dr7eHw6FTr/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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:81
ok: [openshift] => {
    "changed": false, 
    "checksum": "d752c09323565f80ed14fa806d42284f0c5aef2a", 
    "dest": "/tmp/openshift-logging-ansible-gnbagc/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-1496954765.99-138646389513226/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : Set logging-elasticsearch-view-role role] ***
task path: /tmp/tmp.Dr7eHw6FTr/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-08T20:46:06Z", 
                    "name": "logging-elasticsearch-view-role", 
                    "namespace": "logging", 
                    "resourceVersion": "764", 
                    "selfLink": "/oapi/v1/namespaces/logging/rolebindings/logging-elasticsearch-view-role", 
                    "uid": "7ea99b7c-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:105
ok: [openshift] => {
    "changed": false, 
    "checksum": "f91458d5dad42c496e2081ef872777a6f6eb9ff9", 
    "dest": "/tmp/openshift-logging-ansible-gnbagc/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-1496954766.98-121871295095478/source", 
    "state": "file", 
    "uid": 0
}

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

TASK [openshift_logging_elasticsearch : copy] **********************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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-08T20:46:08Z", 
                    "name": "logging-elasticsearch", 
                    "namespace": "logging", 
                    "resourceVersion": "1345", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-elasticsearch", 
                    "uid": "7f7f7dd9-4c8b-11e7-b203-0e7af10b3ca4"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : Set ES secret] *************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:168
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.172.227", 
        "cmd": "/bin/oc get service logging-es-cluster -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T20:46:09Z", 
                    "name": "logging-es-cluster", 
                    "namespace": "logging", 
                    "resourceVersion": "1349", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-es-cluster", 
                    "uid": "80877227-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "spec": {
                    "clusterIP": "172.30.172.227", 
                    "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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:182
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.51.218", 
        "cmd": "/bin/oc get service logging-es -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T20:46:10Z", 
                    "name": "logging-es", 
                    "namespace": "logging", 
                    "resourceVersion": "1352", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-es", 
                    "uid": "81229d32-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "spec": {
                    "clusterIP": "172.30.51.218", 
                    "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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:237
ok: [openshift] => {
    "ansible_facts": {
        "es_deploy_name": "logging-es-data-master-5ufvzrs6"
    }, 
    "changed": false
}

TASK [openshift_logging_elasticsearch : set_fact] ******************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:246
changed: [openshift] => {
    "changed": true, 
    "checksum": "02bf04680ab2e780c4f01a102b494219150abdd4", 
    "dest": "/tmp/openshift-logging-ansible-gnbagc/templates/logging-es-dc.yml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "c379d98710356008bf97c4663bbb6c1a", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 3138, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496954771.35-26302123703139/source", 
    "state": "file", 
    "uid": 0
}

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

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

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

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

TASK [openshift_logging_elasticsearch : Validate Elasticsearch cluster size] ***
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.002213", 
    "end": "2017-06-08 16:46:13.233110", 
    "rc": 0, 
    "start": "2017-06-08 16:46:13.230897"
}

STDOUT:

/tmp/openshift-logging-ansible-DCpv0x

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

TASK [openshift_logging_elasticsearch : Create templates subdirectory] *********
task path: /tmp/tmp.Dr7eHw6FTr/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-DCpv0x/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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-862gj"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T20:46:03Z", 
                    "name": "aggregated-logging-elasticsearch", 
                    "namespace": "logging", 
                    "resourceVersion": "1337", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-elasticsearch", 
                    "uid": "7cfdf6df-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-elasticsearch-token-r0ksm"
                    }, 
                    {
                        "name": "aggregated-logging-elasticsearch-dockercfg-862gj"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

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

TASK [openshift_logging_elasticsearch : Create rolebinding-reader role] ********
task path: /tmp/tmp.Dr7eHw6FTr/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-08T20:46:05Z", 
                    "name": "rolebinding-reader", 
                    "resourceVersion": "122", 
                    "selfLink": "/oapi/v1/clusterroles/rolebinding-reader", 
                    "uid": "7da641a7-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "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.Dr7eHw6FTr/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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:81
ok: [openshift] => {
    "changed": false, 
    "checksum": "d752c09323565f80ed14fa806d42284f0c5aef2a", 
    "dest": "/tmp/openshift-logging-ansible-DCpv0x/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-1496954775.45-254539146119213/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_elasticsearch : Set logging-elasticsearch-view-role role] ***
task path: /tmp/tmp.Dr7eHw6FTr/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-08T20:46:06Z", 
                    "name": "logging-elasticsearch-view-role", 
                    "namespace": "logging", 
                    "resourceVersion": "1343", 
                    "selfLink": "/oapi/v1/namespaces/logging/rolebindings/logging-elasticsearch-view-role", 
                    "uid": "7ea99b7c-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:105
ok: [openshift] => {
    "changed": false, 
    "checksum": "f91458d5dad42c496e2081ef872777a6f6eb9ff9", 
    "dest": "/tmp/openshift-logging-ansible-DCpv0x/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-1496954776.99-82934163932858/source", 
    "state": "file", 
    "uid": 0
}

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

TASK [openshift_logging_elasticsearch : copy] **********************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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-08T20:46:18Z", 
                    "name": "logging-elasticsearch-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1370", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-elasticsearch-ops", 
                    "uid": "8571892f-4c8b-11e7-b203-0e7af10b3ca4"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_elasticsearch : Set ES secret] *************************
task path: /tmp/tmp.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:144
ok: [openshift] => {
    "changed": false, 
    "results": {
        "apiVersion": "v1", 
        "data": {
            "admin-ca": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREl3TkRVek9Gb1hEVEl5TURZd056SXdORFV6T1ZvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQU1oMmFiZXlKdzhIcEtkZ3Y5ek9COVo5QnRhSXZ0NGliUDdrWDlQN2k2SWYKdHZvSnVpTHB1bVFTVkxxU3lyNzRxN3ZXRGVCOWRNN3ROMzN2aitodVlhOEF4Qk5vdSt5SURMalgxTzRmZWptSwpHbDhRWG9VaURobHpiak95Z054RDU1TThQR0NVT1F3NFpzK3JWT2tkaDFlT0NIUUxrZ09PWnh5dGVSc2V6SVl1Ckw3Q21hdHJQVHZQTkxXaEhHbDg4eFBwRHVZd3c4bVlkdks5R0g3bWFQNVdUMDdBcVVza0ttS3J3VjhHbEFYT3IKRnZlV09kenN6dzVtUTlmaHBSYXJQeDl5QW9LOTErclAzd05IbEpJcUl2eTduWHBscVV1TC9qZ2VrQ2s4SXlXRwpCa1ZWemdMWjBYSGt1dk1MV20wRVlMdklWQW5pMUZIRHVCL2F6MVByZWJVQ0F3RUFBYU1qTUNFd0RnWURWUjBQCkFRSC9CQVFEQWdLa01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFIRUwKUTI0aEZoTDR3aVZXVFlpWm9QN0F2Zmw2Mkx3SXZaZjcrakZQbHdTZFFTbXVKTmxtL1BLMzRTRXJXSURZNXJ4QwpLTzUxREl1c3F2NHE0dW1HTHgrSnZKRlAwZnJJVjNJREdhdmw1QkZzNzVmd3FFSFJiSjdnd1ZTTHRVaDlFaUJQCm9QWThaT1Q0WndBTm4wOXI3Z3NOU1U3MVUyWXdwTTNDL0t3SHd4anUrZ0RpRjhPMWZSamxqMG81Y1ozNG1lRUcKc0hGYlRpTTVOVkxpVmRpYzlWNGtWaysrUXRMdENRNnFXUndGdzdlc3dkbDVuRGVMbzN2d0lsOXNIc0orNkdVSwpRNlljMmE3ZENrUkI1SmlWaVJ6clJrNmNCV25EaHhXNnVRRm1uQW4vNit5QTB4dHdMTnBBV1VYaStBNGM3a2ZqCllGdE1IeTBOai9RSDdiUGtVTTg9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K", 
            "admin-cert": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURQRENDQWlTZ0F3SUJBZ0lCQlRBTkJna3Foa2lHOXcwQkFRVUZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREl3TkRVME5Wb1hEVEU1TURZd09ESXdORFUwTlZvdwpQVEVRTUE0R0ExVUVDZ3dIVEc5bloybHVaekVTTUJBR0ExVUVDd3dKVDNCbGJsTm9hV1owTVJVd0V3WURWUVFECkRBeHplWE4wWlcwdVlXUnRhVzR3Z2dFaU1BMEdDU3FHU0liM0RRRUJBUVVBQTRJQkR3QXdnZ0VLQW9JQkFRREIKR1dtdlpGWDJWbXZkQjVhQ20yTjQrenJ4UUdQcnljcUJFc0NYRmdSR1lTS25HM2gwWnA0RmlEZW1IU0NhNnZTVwo4WVVRdHY4VytUOE4zWWJVbVYrWkZldkhOR1NRS0F6QnE5S29ZbWVSWVhZMEJYOVpzczhVbm02R3hiN3ZYU0RYClNTbGZKOWNuZmgwOVhkSWZiZS80QnJjTXpxMWVVZDlxV1RWWEIwa0dRUHgxVWJsa0lxMnh3MWZ1UEMxcElYbjIKTWJjL3AzODBTZVFwV1BUM0JkayszRjdRakRtd2dtTWxndEVXRzc4aW82RkEwZzlPMWFlYnA0R3VQZjQ4Tm83eApyUjIwelk5NExIL3J0ZnVzQnZuaWl3bFBZZkJTUWJDaWlrQnpiZVZXZTJicVhaS1NKT3Y0TFpxY2UvdGV0dEoxCm1sdmppTy9QNG1iOUlRcytjKzRYQWdNQkFBR2paakJrTUE0R0ExVWREd0VCL3dRRUF3SUZvREFKQmdOVkhSTUUKQWpBQU1CMEdBMVVkSlFRV01CUUdDQ3NHQVFVRkJ3TUJCZ2dyQmdFRkJRY0RBakFkQmdOVkhRNEVGZ1FVSktVRAo3YmtPWEJmMzkzSnkya0xVdkpKajc4SXdDUVlEVlIwakJBSXdBREFOQmdrcWhraUc5dzBCQVFVRkFBT0NBUUVBCkMvWnU4bktoVnhtMWdxczNJV2dWZGNXV0dnZ3Y0bzlhbzZsaDRkSG1kMGhvOW5EL2l0Z2RTV1lId1VmT2FrRFAKZE5LZzg0YnYrMmZvMVNQVmdhdEgraUdRSVZLOXpOQkE2U2pRUm01bGVycmZJUkJLSmZRUUxJSXQvK1FRVHhwMwpPTlcvN0ZoQ0VoQXpJMDloTis1VjZXaTN1TjNXZlY0R1NvaDFZbG5NMGRjdUp0aG1lbWl1NUd3QXFpZDJJcWZOCktiN0YrUFlkMmRnck1RU0hJTVEvcnMwcFdEU2Z3dHdQUTNwVnk1Z2l1QU9zYkRUaC9pOVc2NTg1ZGZ4blU1SUsKK21mRFFiZGlCMXJ2WUJRdmZQSzMvcnhqQW9iZEVLV0l3MVZHcUFHc0FOd3REMmZVelM3Nk9mQXFvRCsydC8vTwo2M01KUXB4UCtBNXRiUjlISXNDdGp3PT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=", 
            "admin-key": "LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUV2Z0lCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktnd2dnU2tBZ0VBQW9JQkFRREJHV212WkZYMlZtdmQKQjVhQ20yTjQrenJ4UUdQcnljcUJFc0NYRmdSR1lTS25HM2gwWnA0RmlEZW1IU0NhNnZTVzhZVVF0djhXK1Q4TgozWWJVbVYrWkZldkhOR1NRS0F6QnE5S29ZbWVSWVhZMEJYOVpzczhVbm02R3hiN3ZYU0RYU1NsZko5Y25maDA5ClhkSWZiZS80QnJjTXpxMWVVZDlxV1RWWEIwa0dRUHgxVWJsa0lxMnh3MWZ1UEMxcElYbjJNYmMvcDM4MFNlUXAKV1BUM0JkayszRjdRakRtd2dtTWxndEVXRzc4aW82RkEwZzlPMWFlYnA0R3VQZjQ4Tm83eHJSMjB6WTk0TEgvcgp0ZnVzQnZuaWl3bFBZZkJTUWJDaWlrQnpiZVZXZTJicVhaS1NKT3Y0TFpxY2UvdGV0dEoxbWx2amlPL1A0bWI5CklRcytjKzRYQWdNQkFBRUNnZ0VCQUpEMnN4Q3BFcC9NWVUyZDFMQllWMlVMdGtSSFFyeFEwV1gwM2dDTzFzYS8KUlhTT2V1OW4ybG5zMlZvcm83NnBoTldNbTRqZzJNQTJmYys2N3UzTDlxakdmQ3NnZWg1KzhwU3ltWU12M1BDWAphbFhEaXNlY0pUb2xkblJYSC9BeXllVFZWK25Ienc0bTcyeVNjcHlGdkJGSGVVUjBKRk1hdzg3akNkZzc3K1p3CnM3K3hQRVlDSGZZcFRrcFBkZC9EcndpMzVZT1dFZm5tbEdyb3V0T050SXdScXQ3TVoySnVmWFZIT01ZTUtEczgKSVM2dFMrSE1MbzZ4clRsY3BoWUIvZXJTL2FLaG5JRHMwSXh6KytVdk5JdnRCVEE4RG1oSzRya3ZTdkovSk5NSQpYVFlIQWh6UFRGdFBzaXBjeFJEbS9FRDZBU2JUOTAwY2VPdThPSVE1NW9FQ2dZRUE5SUpTWUMxeGcwQndSemdjClM5WVhIa2Fvd09xdU4va3kwRVJFSWxBbEx5TE1Db3d4OXE0eWFqVFdaekxJSWVJZHBEcXBic2F3UDUwTTk1MjcKcXNnVko5ekVsdnlraUR1VGkzQjg1TlhuYy9EU2NpNUdEOGx1Y3IrR3puT1lnaEtzZDVyZWJDNnRJWWMxMDNPRwo1Rm9JY014dW9kNWsvZHEyTGQzZFZiNmh0djBDZ1lFQXlpeVUrUysxRHRmYWFQQ1VSRHRvMnY4cnovbnJRMUZ3CnY3Z2ozSlFFcTZQN1paUzhkNHdRWGxKTnhDVzhjQUg2ZWdNclp4ZTJ3eTZqalVEK1g5Z29Tc3JrZkhNN1E5UzcKMUhiZXpQRzBmbVRFYUFYaEJtUTZxcTBPUHgrQUJDNEN6SytoZlozblRRSXVFa2pENUJTRkJTQmE2MkpiSnFhUQpMV3lVTVFzQmg2TUNnWUFmVVJuUDY4SWdOMzZxQUl2UFFzcVBQQ21kRy9IWWhYaDJxR2U1cFY0OTNVMFpCTC9aCmdwSStmQ29CNmNVc1lkTytGeTFnWE41eUoyRmp6YllkdDZiT0JqNi92L2dxNHNhUkU0VkxvZ0lWSFlFMjBxcHkKbHpBb1RsT3IyYTVzNm90Z2ZsdUNxNi9OSFk1TldQeXIvc1FaL25VbEVtRUpDcHhPMzUzYnY2RGkyUUtCZ0V6Ywo3alplb09ObnhTMm9hWFlYY0NIeWFXSEVqbUVsa1V3U1llLzJobUFMRkFUbXExQjMrN0VnY1ZobFVHTDFIWmxOCm95NnFvVjFMV2ZyVi90L0plbWdWQXhFZGJpYTN0a0ZzZ0FCQzFIQkpOektsS1l3WWh3VmtqY29KMjgyN0FHMTUKU0ZoTnRDWmU4YzBaeFAvdG5UVDV2QmRKYVlZa1JTUS81NGROdStNcEFvR0JBTGtDUFpCcW9NNGNGTTR6L0JjTAo5WFZpMCthR3NybG1jbW4zT3RKSm1UZ1E1aUdMZXR2YU5sZTZBeE9LYlJ5RHEvUlV1SEQvS2NYV25rZTZLZUNNCndCNTZXRmNrUldUUThOQ3M2ZGkxOHFHczdPcWlDbzI5VC9DejB5eXhzOWF4czVzRzBXaTBrL0FoL0hLaXJhOU8KOFdJeHpOV3RCYnREQ1ZSRmh4Wjh6c2FrCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K", 
            "admin.jks": "/u3+7QAAAAIAAAACAAAAAQAMc3lzdGVtLmFkbWluAAABXIl05LsAAAUBMIIE/TAOBgorBgEEASoCEQEBBQAEggTpEOuaK4QLy+2S76NPXyKa9KrGvG4Fv1tMxnIRenvzEuu2C0Lbde3gehNK9Q7oXPQaZhRMCJyEkAYHzFEH2nk7BMjjKcwf0SvOGTfR45CpAdzKNQE+fBR77YxUsHvEvcVvHjmrddgVlNRhuXInm6k52kpIRq16hpTGPXHLotwUTpiG9JZK5hwAj5fNUdhXIQpG6DHzEpKaWwjBYWgZT3GVqsc9NHYKM6nRUJh4qd8Q50pV5yud2RU6d2Q2ccwkhRg/uKCmxu6e0fq+HrNZYdYU86wmFMcM+qnuAHHKk8AGS1kuFATK3qkPsP7tveOQR0JRV3nE2eQDN2EMe1/Q1iEqJD4nmL33RQE3hMOII+nexBhPlglI+tU/I720TZ/LR/sp6jTke8aVabx4derDaNVDX9AHkUuiuvbJ1JZhV8GU2pdzYc1Ka3o3y+MUzRMIUAvwfmhnZ6WUvFVso9DIw6ZWty8EB5zprJUjpThjTNqYu++ASkNjC9h9EPmK08oXpLhmcser1igM9ImOeeFAF9X0617mjJDnDt5gUUAG198L6AkjYs5pfaHiF5dirKa63g04shnu9uCDXP7rUDVlIEH8wZegW7rkiZS/tslSiTP24puQVighrvyM2dTSSVsvkSf5i9N7Ha6RIMswxJ/CTBGJAfqrfMWyDaSE7ZjQRuVDrAmeyRr8KsokJkobe5fSckbWOF02uiwOOJyNuNiNzyX2+i3JAFd+poL2zgfQGCEtNX+g+B3SE316XiEhl6Kg3pwoFz38td580AY5jbVvNSyx7aY42gabeFl4U/W3BWhhvIXhtd3QyD9rbtDnXJQHNZulzGh+n3y3NEcMfj6vHLilkvwfmP2y5ekKLFFz9pzQLfb2YEEu6caM5PZu+OiGd8WOhvHZkNY2hCsc70zeb2iJ6DI1geeEG0YWULc8SzJNFQH+v6q+0e3sRXLRyruq1y84OO7qYxswWq9owfnLGcGuxpFv6u/Z5UQUEMqKUbANaE9LLiEQeNWKdg6eeSePbcqEONUg6XotQt6GztpsGTpeeH1oPkhtxZcIqv64hxSIM84Pe5b3IEataYRny8MBx4vJBRaxyPY5i87h58M8EaDYYSY1c4osru5c1YbuIM/yPjQmzroLC+pU6ied7ySrw1I+NZvHVT/RilpH1Shw1Cc+GdB3glmtz4Ea0/MhqQfG9060iLquxfsnG9MIbD2+EAkhK4PoYWa+WyvFRGG1xpo1JP/IcvP9a5j4/JWt9wUevWpnkNRGl0QlRWKBSaVZwy63bOO9P3+8T7cxiVRWfUQxY0qwuuUP/cOJ3eyS13IbsqO8/xZtf0i9bAEKQ2y8X/eT2m7LFSerMbJdXwLyHoiUggA6MKOP35G2zmbfx76ShrKkCxV575WEtPckf7QSlpy0L+vnRoegDAzGLpoxxcCc0Tv3e2y6YqI0XmGL91iXHJ//1aCGH3IBGYEQLlqFDhavUg5qU+r6gQp2lTQDysbZGX8LDzVoxTKnB+n3MlHQp+iA4pyxrtXoMyFsMy6tH5ZN67vrxz5Ic3pQ81mv7r5+zBhlpsp9UwN6icqfI+bFshx/l2VjBYPO0a4As0dJijwJMr6u0fWO2VSN221j03biTLtvGKcQPbkOjUhGbS13fQFPtwQ4l8wxbOEye/yJ1tu2JSwsL6F3IN1fAAAAAgAFWC41MDkAAANAMIIDPDCCAiSgAwIBAgIBBjANBgkqhkiG9w0BAQUFADAeMRwwGgYDVQQDExNsb2dnaW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODIwNDU1OFoXDTE5MDYwODIwNDU1OFowPTEQMA4GA1UEChMHTG9nZ2luZzESMBAGA1UECxMJT3BlblNoaWZ0MRUwEwYDVQQDEwxzeXN0ZW0uYWRtaW4wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCTFNVfmTilfOgLNGo8u4jJCRVPx+Ogrm9//uRPcidEs+zz/J2SPMUr4hbUSvLNnJvc2+CYh3XgorhE/M424m3UPRzfD9CkvrjfpnDpqmqSuEerZZRcpzAgUBtU34s+b+M5tJEuVPNwZs/TK1++S4Upj25B5w4XpThgEvMDR11kIZEmbGCcZAIOS/uprNHuOyzqFPzluEZyjEzt6TtaTL5n/FE2DFoaTwToDFGDwWxJfiyBLoxB9MMVCSxRaJfftQvbBV68SI1FC5e3pc7zuvLEkM7Xjc/pXtnCvm3TioqpPpxnhRKfgKeVHbTnETtSof1Mtw3y1wVFeLtYtUSYwsAxAgMBAAGjZjBkMA4GA1UdDwEB/wQEAwIFoDAJBgNVHRMEAjAAMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAdBgNVHQ4EFgQUzycMw3vi3Pcil0+xuF8JLexYue0wCQYDVR0jBAIwADANBgkqhkiG9w0BAQUFAAOCAQEAbwxvRwA1AeC7huozoAW+A6mVyBePGYcT3uXjpLGPjDe4VrGUaRr8KE3hbd0GywqORr24ov/GCxs1kaOaYR6GNogYSxAWM+adR792tmM3tx3wOBH2rXRgsbAGCAVxvfgXgOCLoLRcoDFLO7oEb9rIVfs0b81kgHPzqZuTquTh2N0VBsGRybIYHcir0FxdXFYUpmam+TXwHaCDL8exfg2v5gpKgIA7Jrs+WMC5CMMxSIgHkTzsT3zCESCT9ZRdaCKWHTcgW+XYXn6E5UQmLIbuR6JHCr5z5OqZg8Mv0D8u4d1SbWRwwB8S2ab0OpBKblqOju1DDjqXwMKBCCqC6KS77gAFWC41MDkAAALeMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dnaW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODIwNDUzOFoXDTIyMDYwNzIwNDUzOVowHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMh2abeyJw8HpKdgv9zOB9Z9BtaIvt4ibP7kX9P7i6IftvoJuiLpumQSVLqSyr74q7vWDeB9dM7tN33vj+huYa8AxBNou+yIDLjX1O4fejmKGl8QXoUiDhlzbjOygNxD55M8PGCUOQw4Zs+rVOkdh1eOCHQLkgOOZxyteRsezIYuL7CmatrPTvPNLWhHGl88xPpDuYww8mYdvK9GH7maP5WT07AqUskKmKrwV8GlAXOrFveWOdzszw5mQ9fhpRarPx9yAoK91+rP3wNHlJIqIvy7nXplqUuL/jgekCk8IyWGBkVVzgLZ0XHkuvMLWm0EYLvIVAni1FHDuB/az1PrebUCAwEAAaMjMCEwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHELQ24hFhL4wiVWTYiZoP7Avfl62LwIvZf7+jFPlwSdQSmuJNlm/PK34SErWIDY5rxCKO51DIusqv4q4umGLx+JvJFP0frIV3IDGavl5BFs75fwqEHRbJ7gwVSLtUh9EiBPoPY8ZOT4ZwANn09r7gsNSU71U2YwpM3C/KwHwxju+gDiF8O1fRjlj0o5cZ34meEGsHFbTiM5NVLiVdic9V4kVk++QtLtCQ6qWRwFw7eswdl5nDeLo3vwIl9sHsJ+6GUKQ6Yc2a7dCkRB5JiViRzrRk6cBWnDhxW6uQFmnAn/6+yA0xtwLNpAWUXi+A4c7kfjYFtMHy0Nj/QH7bPkUM8AAAACAAZzaWctY2EAAAFciXTkMQAFWC41MDkAAALeMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dnaW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODIwNDUzOFoXDTIyMDYwNzIwNDUzOVowHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMh2abeyJw8HpKdgv9zOB9Z9BtaIvt4ibP7kX9P7i6IftvoJuiLpumQSVLqSyr74q7vWDeB9dM7tN33vj+huYa8AxBNou+yIDLjX1O4fejmKGl8QXoUiDhlzbjOygNxD55M8PGCUOQw4Zs+rVOkdh1eOCHQLkgOOZxyteRsezIYuL7CmatrPTvPNLWhHGl88xPpDuYww8mYdvK9GH7maP5WT07AqUskKmKrwV8GlAXOrFveWOdzszw5mQ9fhpRarPx9yAoK91+rP3wNHlJIqIvy7nXplqUuL/jgekCk8IyWGBkVVzgLZ0XHkuvMLWm0EYLvIVAni1FHDuB/az1PrebUCAwEAAaMjMCEwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHELQ24hFhL4wiVWTYiZoP7Avfl62LwIvZf7+jFPlwSdQSmuJNlm/PK34SErWIDY5rxCKO51DIusqv4q4umGLx+JvJFP0frIV3IDGavl5BFs75fwqEHRbJ7gwVSLtUh9EiBPoPY8ZOT4ZwANn09r7gsNSU71U2YwpM3C/KwHwxju+gDiF8O1fRjlj0o5cZ34meEGsHFbTiM5NVLiVdic9V4kVk++QtLtCQ6qWRwFw7eswdl5nDeLo3vwIl9sHsJ+6GUKQ6Yc2a7dCkRB5JiViRzrRk6cBWnDhxW6uQFmnAn/6+yA0xtwLNpAWUXi+A4c7kfjYFtMHy0Nj/QH7bPkUM+3XY39Cqbg5DsIiBoIq2w8yTaXBQ==", 
            "key": "/u3+7QAAAAIAAAACAAAAAQAKbG9nZ2luZy1lcwAAAVyJdPAIAAAFATCCBP0wDgYKKwYBBAEqAhEBAQUABIIE6RdmwFLyCcKxT9ytCpy6vuwcY3j6vdPfgnrhZyqLQXm/QmDMigL/edCFAvP/0AljV/kToMJuTE27QGg2PVUB/YnXiCBLaFueeLRgp4QDfoHcguzQHCHvc4wQUiMejb+yaKx4rr9b81Bd4pzIWQMypwNV5CazDGEymyQmD0IN4flnD7ONzM0OXQspW1uGiAeLhw9nKQVJ89nPt8yrksKDFnjQ6afixxBv9gs69emGxrDd+Uvjq7UMdtwlG6sfqGNJIj0Sjc4cNRHnM+Xp9h8vZ3fx6DtWW5Lw198ge7bz4WNaX2R7tPjFv31uzOnmlIYxV5c4VWlajOAwpPa+0QUDGfp7EnMmTn4H6fYKUo8zZ8wDVsLrvJRlzQo6C6ZKWm4bVEjxER82MOO4OlLoX2kn9M7tn7NShBPUPxYKURl8GGvj2DMCdQQ7VPGjDoMG6K8axsqcAuP2vOnTjQ0SETJGvq0Xx7PA8eFb6ZiKb3WePAyZzXOkW/ddRovwNIcdcBxFlkHUL6MNqxxijAOtw31xFDVx/wZWzLe7b1BgS2PisucT9bTL8g04sLUgvn/CJMpP1kbV2+k0wnqOUF7ItIciAG70PzRPLOqYMBU0EZhIAv8+0r/Ng/CtgwUDklEAnspZnFgm35l5YQaeK2ccQQ2hV7+5jMzHUX2KcizVlDdjEynphRFpPNgm2DxdiX+YUTgLVjoOfRHjxj0fY/VsARH1QUYvihhs0ICSDZ2E6ifRoJKPsjtWfT0PiFWL9Z+S4KbkO2iIVV//Afmyzts4PL3LtYv7zeelcoM8Gg46D7Bwb/d7p6Bwml70WlYmK2q84PBr3iubND2519bF5BYKQ00y7JqNkruXSgOXntGuvIlda9ZcRCOI6471LKoBn8/0OUm54yrBO5vAu6M2VXOwBWC7eQjNcRZTAHoxdDD+H8M/tLSn9SNe/p0pQFGns/UdbjEHDANGzOVyVS4DUlz6qDXAfc4rdnV4I6mMfJ7EepOF9YQD/7DLD2SijQ3drBf2GYJ4krL5cL9kZ1oO3Sln9pcdSga9JxSwP3fZHxWEpkuM3Oe+8vxyvLWWUJ5S3gN1PrliodWJIyVWfWT5QGL54Y+7/Lz8A4rANcW7PKtLKhyqGo8kWsLx2NDHhtZvADdjq2wRqaxeBUYdHrCeCf55GuFxne18Z1YyK/cv7nLpU9WvWr2+QPwpiWOJI78UYGeUUc3ZLu/FRhwGwp1yfdNF3B9C/8RUMVRv0O3YBQ1M37R6HtbXcBseJlqZQ7rI/dPdIGtgh3lj6+NxVr7RhDHM4FvPhriYjZISFk80wuFEcx3P7bT5qE7ViBy4CvY7ta+5UhDoF1xAxCYO8v7jgKCQ2M3/vtnTqNJCVCWji+3C053I/gsFo3TF2F0OH/yXB8bTJLSyUkSRLzpkj9kcKpqsrGqrXBV/pCgziO3qPWmXygy9X7eGkT5WTMKNIMQ01TR9WhbIOqk4+0RwKZYDm4/FowvVcyps+bNJw+rhX859KSAjEYo3oEznjQ2D9N1qnyDGfZMQnzn1k4u0M+ncKYsa34rXxqwIQ5e4bb1lmVcYkKUcN+CnxFJQClQkN82BTRba1mMw1DybtIjp3FRmApSvEdtzUFSKIMgSxdj+5pu5Xw6XRMh6S80kx7ZFwpAjCRCeObbQKW0uaoXsi4827QAAAAIABVguNTA5AAAEXDCCBFgwggNAoAMCAQICAQgwDQYJKoZIhvcNAQEFBQAwHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDAeFw0xNzA2MDgyMDQ2MDBaFw0xOTA2MDgyMDQ2MDBaMDsxEDAOBgNVBAoTB0xvZ2dpbmcxEjAQBgNVBAsTCU9wZW5TaGlmdDETMBEGA1UEAxMKbG9nZ2luZy1lczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAIw6adYNmW8A6XI+zox25xmxIhWFZwUbg0hyQNGSL2JF//MwMlgA4RT59A3kAYyURzPTome9vzK7d4T2iF8eLOXHfWLd8HZF18RjHxkaod1oCt8xH+26q8zfUn3gJB/PVATFRtmdFth0EPgD9/ZfMPou1VKylexQR/FrhFiF+O5YZTKDusRRJBcHFJQh+h3IZRzHdkyGbz0tJb60L3cEXho1ae6mJDPRpJ5oCfll5U1cYxBVn1IR9ET5oA2Zk3Am5VLFOegCXEZD4in4jPcujeCfYbNbuLPW5Bvr800nwv+TWlSnYAiTm3rJZ0Z4xKpK9Vg2Njvlcx4JTUQ6WRuGBzsCAwEAAaOCAYIwggF+MA4GA1UdDwEB/wQEAwIFoDAJBgNVHRMEAjAAMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAdBgNVHQ4EFgQU2HXtpyXLlhxDto2qhjz0cbHoHI0wCQYDVR0jBAIwADCCARYGA1UdEQSCAQ0wggEJgglsb2NhbGhvc3SHBH8AAAGCCmxvZ2dpbmctZXOCJGxvZ2dpbmctZXMubG9nZ2luZy5zdmMuY2x1c3Rlci5sb2NhbIISbG9nZ2luZy1lcy1jbHVzdGVygixsb2dnaW5nLWVzLWNsdXN0ZXIubG9nZ2luZy5zdmMuY2x1c3Rlci5sb2NhbIIObG9nZ2luZy1lcy1vcHOCKGxvZ2dpbmctZXMtb3BzLmxvZ2dpbmcuc3ZjLmNsdXN0ZXIubG9jYWyCFmxvZ2dpbmctZXMtb3BzLWNsdXN0ZXKCMGxvZ2dpbmctZXMtb3BzLWNsdXN0ZXIubG9nZ2luZy5zdmMuY2x1c3Rlci5sb2NhbDANBgkqhkiG9w0BAQUFAAOCAQEAF7f2h5R72w4UW76+T/XPQJ+dZ+h21AAaCt71u+29YpnCWwKmOybrk2knC63gDr1jzEiBs1lIGxHqcxRIx2syt18byT2fu+uQo+VWnP86WuOhmWzRhfHzWq2ETfg7VnpSi4qvIUaCec4P0i3Wtrwhr/EeIUEW80hsIfVdzyX48sd7/henonAS1EGuFUt9ILZUXxyV4w6bto8GcJOPTJEDlmRiU+eo+KxQCMLJMvVdxiqSLk/lLhbhX9gvlqtK03B+drgaDWAmaS9+6hPktIVrJIdtf0Y5JGV2214vefaKlEHFwb4AmXbNJy+vMBKUM6Aak2/6Ik/GZZBM86Hl1D1HKQAFWC41MDkAAALeMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dnaW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODIwNDUzOFoXDTIyMDYwNzIwNDUzOVowHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMh2abeyJw8HpKdgv9zOB9Z9BtaIvt4ibP7kX9P7i6IftvoJuiLpumQSVLqSyr74q7vWDeB9dM7tN33vj+huYa8AxBNou+yIDLjX1O4fejmKGl8QXoUiDhlzbjOygNxD55M8PGCUOQw4Zs+rVOkdh1eOCHQLkgOOZxyteRsezIYuL7CmatrPTvPNLWhHGl88xPpDuYww8mYdvK9GH7maP5WT07AqUskKmKrwV8GlAXOrFveWOdzszw5mQ9fhpRarPx9yAoK91+rP3wNHlJIqIvy7nXplqUuL/jgekCk8IyWGBkVVzgLZ0XHkuvMLWm0EYLvIVAni1FHDuB/az1PrebUCAwEAAaMjMCEwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHELQ24hFhL4wiVWTYiZoP7Avfl62LwIvZf7+jFPlwSdQSmuJNlm/PK34SErWIDY5rxCKO51DIusqv4q4umGLx+JvJFP0frIV3IDGavl5BFs75fwqEHRbJ7gwVSLtUh9EiBPoPY8ZOT4ZwANn09r7gsNSU71U2YwpM3C/KwHwxju+gDiF8O1fRjlj0o5cZ34meEGsHFbTiM5NVLiVdic9V4kVk++QtLtCQ6qWRwFw7eswdl5nDeLo3vwIl9sHsJ+6GUKQ6Yc2a7dCkRB5JiViRzrRk6cBWnDhxW6uQFmnAn/6+yA0xtwLNpAWUXi+A4c7kfjYFtMHy0Nj/QH7bPkUM8AAAACAAZzaWctY2EAAAFciXTvggAFWC41MDkAAALeMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dnaW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODIwNDUzOFoXDTIyMDYwNzIwNDUzOVowHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMh2abeyJw8HpKdgv9zOB9Z9BtaIvt4ibP7kX9P7i6IftvoJuiLpumQSVLqSyr74q7vWDeB9dM7tN33vj+huYa8AxBNou+yIDLjX1O4fejmKGl8QXoUiDhlzbjOygNxD55M8PGCUOQw4Zs+rVOkdh1eOCHQLkgOOZxyteRsezIYuL7CmatrPTvPNLWhHGl88xPpDuYww8mYdvK9GH7maP5WT07AqUskKmKrwV8GlAXOrFveWOdzszw5mQ9fhpRarPx9yAoK91+rP3wNHlJIqIvy7nXplqUuL/jgekCk8IyWGBkVVzgLZ0XHkuvMLWm0EYLvIVAni1FHDuB/az1PrebUCAwEAAaMjMCEwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHELQ24hFhL4wiVWTYiZoP7Avfl62LwIvZf7+jFPlwSdQSmuJNlm/PK34SErWIDY5rxCKO51DIusqv4q4umGLx+JvJFP0frIV3IDGavl5BFs75fwqEHRbJ7gwVSLtUh9EiBPoPY8ZOT4ZwANn09r7gsNSU71U2YwpM3C/KwHwxju+gDiF8O1fRjlj0o5cZ34meEGsHFbTiM5NVLiVdic9V4kVk++QtLtCQ6qWRwFw7eswdl5nDeLo3vwIl9sHsJ+6GUKQ6Yc2a7dCkRB5JiViRzrRk6cBWnDhxW6uQFmnAn/6+yA0xtwLNpAWUXi+A4c7kfjYFtMHy0Nj/QH7bPkUM/sZgeiJhGqyc9lB029k9OJgrYOmQ==", 
            "searchguard.key": "/u3+7QAAAAIAAAACAAAAAQANZWxhc3RpY3NlYXJjaAAAAVyJdOroAAAFAzCCBP8wDgYKKwYBBAEqAhEBAQUABIIE65rAmFjt0F24dCICqyWjLSTv9bG7QwMcREPVseC/v0ZNzqcxrcSzyXK42vEaL/BwU8hhY16LIrhLLtK8+oP2FQeZwpL4p7chgqXFriWviaXt/5BTkQ/8g8WBb3rIgJpRr+CTVWK4w2rUsJG9KjKfjEEhBSMDaFiwd3mk+AfgE4PTjsd0G56skJTFQWJszFFhpdTjSzvDAUkY70NeWBVOuvtm2Bzdvpr1BZWeO5wDrmMvxTP1u6nFgOhS9qvoswTinIIFxov2Ea+RB7Y5hA+fAWq4AFSSugbgTWEGlhMHFOuqa6ibo24fySr4JnEyDy3qHtAw4fRXf/h01uMGE4/RNphm7MdqeCIHv9xzMviv/GWhzhmgip+RxzA9+iQ0AOA3ooZnAsUAjMevidg/lnVFOw9JtTk//5X4tL0mwmvxOfrdfLYMsy+Mhf130Bjt7IkDJXe+ZMcAIZR8VsBFyFthY49xjLLa7o5S2u9qHQwVJV84SMjwmU2p0W8MyLE8bD8iGHFrT5atOGJCaCVe+VatDkodc9GProd2dsKMdSsHk8Qv4fbbQAP05Hflm06/k3FXXUWoV2Bzq5PtkVKNsQ1RI1IjTyH9ft7VJ6UNPjoBrAc9VMY9KyPOPUoCBFsCbImE1+4QcCI4Ff+8wmP6RPa2decRxzLuHUEvYjDyTYo0PoZ9OHUKNKFvIX4+sFvarrC0QnQ/oASBjcy4hY8579P7qyZX8bv8WykSHf8EAVOrbP9/ckwmBfC9cDjbogSMFv5IgTQ83YZeg4HOTmZNlR4BvEN5Ht2NhBCX/VIlM85axZivZ70Txkk6TnpPQv6IzfvKz6yhB+gCviKo/CdlDbDQBcM7Z78bG74Tltk0Yqh3+0bpahJCCQRx/lJObKGXPQ32YcjRshBtpjI4R8+cdjCztSzhQ3mYBGLpedF9YIz5BO0uy1eIx4sg/44tXyJgusTD74wn8+RGuGwmalkOZPvD1lekjLm0BeYFgSBbpnZk07k8j6h1sPFuljF2L/9C4uiKDPAWpp3k7xangLhWgu4YEN4sSe30mM6V7KYxJKa8Xuf0rIBVt6L9OheBYCvbDXY0FXkz94BDwCgBK68gh59QF17FRobKDEAe1tIyZkniHRT+NcKERcfjNTavEpHhMDDZwLP0x+q60dAmiZte94ybkUXGk0el9imywceunuRL98WPuZXapLwinAsiDzvk4cebXe1IOsn51pJC8z+fgXY/TnjyqS6uZsuJJZQrxib0fJ3nyfQv1c+AlpdmE5PHCzmyVReiRaoXvZVGnHu5qxOu4aK2MwKic57/QJpOXBxQoPL/JPlV/+KShD1GCEvb6raI22xhde2qr079VuL6+wdxXD9eJsMTN30hqUSPyiRpcvvJzxs5tdekqnL+I28YH8NaicUl2pZytGNbZb1W4rg44yu+06yixLKerxq8xBZuYb+Pbs79ya3uf02UlRZKDUgjky95asTaZKVpa6jD2P/XfHdOBAg0LQE2M93nNC2j4qWX82K5mA1uPE9xjYYCQB6/92LIPNqJcccRXr7dFqFKkQIeo3n84wU9pk0Iu+MDa8/cT5Cqjq4w4Pp7nivthHrlr4HNCp880MUKCDWcg6WBkwjgkJEc9h2mlShaOhO5lRvdRhLxBAYNcM8OPsRVvCWxMh4WJg1JF2YxLSdXAAAAAgAFWC41MDkAAAOCMIIDfjCCAmagAwIBAgIBBzANBgkqhkiG9w0BAQUFADAeMRwwGgYDVQQDExNsb2dnaW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODIwNDU1OVoXDTE5MDYwODIwNDU1OVowPjEQMA4GA1UEChMHTG9nZ2luZzESMBAGA1UECxMJT3BlblNoaWZ0MRYwFAYDVQQDEw1lbGFzdGljc2VhcmNoMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtULpOii0QHp0XeN3ywjjn0BxlsKC3Bw05Uont1HJ7cUB703nvYehsSjPtVM3lHB7NBPy/nKoyRUZDeY49CD1vzRpPX0QYaiykifsXmo/YzVboy6QPHVUUbMWFkC2MfR6qRyavGcACNUrXzGIbPGFdYvWRFdxpg6p5nEXKuRJJ9eOtLf5vWagYrkMnJ8l/SNxs6sUzjL7USJ266+FS8r1pebma4oZmkl+s75q8RTuO2aQNiqhhoIXBtPGOemBisx6qByyYRnLkD89CxwGzclsP+CnLVHy+I3r47irTFMzjffI2fVFZQ8mniYOaTaN50MprYgfiRqZLHpmCl+W3MJ/NQIDAQABo4GmMIGjMA4GA1UdDwEB/wQEAwIFoDAJBgNVHRMEAjAAMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAdBgNVHQ4EFgQUiYOHDHQfst8UNkApkQ2b/ZqyylowCQYDVR0jBAIwADA9BgNVHREENjA0gglsb2NhbGhvc3SHBH8AAAGCCmxvZ2dpbmctZXOCDmxvZ2dpbmctZXMtb3BziAUqAwQFBTANBgkqhkiG9w0BAQUFAAOCAQEAUZAj9x4aCbWHQ2rW4/Wh5kZ45zSfkV6N4T9soKVHkics1wpkGNN6Bxyd2tdVvvYuWJsOW69NicFDiPYhBB/MBPsFfLwz4pDHwkvmjLCChBtxr9kxVPj92kFpAMpUDKTx6sWRVJpdqDn7hDgetqTZ5kFHhdXm5927aMdI0bzf6A1KPALqfWXxCtmGiuPAXGppsIP/RdHmwyjj8Fy4QpdQo8QDWh5UtDkb4U7NNq6q7yVb0ca+hof9vAC69gzussdV9zG0XglNy0GLo93rz71KoGy+bbSGzLMJCpdCgixpTf7gVXP5Srs6iyqg1XRPIR6k6UMofwh2owebr7C+Py6v9AAFWC41MDkAAALeMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dnaW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODIwNDUzOFoXDTIyMDYwNzIwNDUzOVowHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMh2abeyJw8HpKdgv9zOB9Z9BtaIvt4ibP7kX9P7i6IftvoJuiLpumQSVLqSyr74q7vWDeB9dM7tN33vj+huYa8AxBNou+yIDLjX1O4fejmKGl8QXoUiDhlzbjOygNxD55M8PGCUOQw4Zs+rVOkdh1eOCHQLkgOOZxyteRsezIYuL7CmatrPTvPNLWhHGl88xPpDuYww8mYdvK9GH7maP5WT07AqUskKmKrwV8GlAXOrFveWOdzszw5mQ9fhpRarPx9yAoK91+rP3wNHlJIqIvy7nXplqUuL/jgekCk8IyWGBkVVzgLZ0XHkuvMLWm0EYLvIVAni1FHDuB/az1PrebUCAwEAAaMjMCEwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHELQ24hFhL4wiVWTYiZoP7Avfl62LwIvZf7+jFPlwSdQSmuJNlm/PK34SErWIDY5rxCKO51DIusqv4q4umGLx+JvJFP0frIV3IDGavl5BFs75fwqEHRbJ7gwVSLtUh9EiBPoPY8ZOT4ZwANn09r7gsNSU71U2YwpM3C/KwHwxju+gDiF8O1fRjlj0o5cZ34meEGsHFbTiM5NVLiVdic9V4kVk++QtLtCQ6qWRwFw7eswdl5nDeLo3vwIl9sHsJ+6GUKQ6Yc2a7dCkRB5JiViRzrRk6cBWnDhxW6uQFmnAn/6+yA0xtwLNpAWUXi+A4c7kfjYFtMHy0Nj/QH7bPkUM8AAAACAAZzaWctY2EAAAFciXTqZAAFWC41MDkAAALeMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dnaW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODIwNDUzOFoXDTIyMDYwNzIwNDUzOVowHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMh2abeyJw8HpKdgv9zOB9Z9BtaIvt4ibP7kX9P7i6IftvoJuiLpumQSVLqSyr74q7vWDeB9dM7tN33vj+huYa8AxBNou+yIDLjX1O4fejmKGl8QXoUiDhlzbjOygNxD55M8PGCUOQw4Zs+rVOkdh1eOCHQLkgOOZxyteRsezIYuL7CmatrPTvPNLWhHGl88xPpDuYww8mYdvK9GH7maP5WT07AqUskKmKrwV8GlAXOrFveWOdzszw5mQ9fhpRarPx9yAoK91+rP3wNHlJIqIvy7nXplqUuL/jgekCk8IyWGBkVVzgLZ0XHkuvMLWm0EYLvIVAni1FHDuB/az1PrebUCAwEAAaMjMCEwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHELQ24hFhL4wiVWTYiZoP7Avfl62LwIvZf7+jFPlwSdQSmuJNlm/PK34SErWIDY5rxCKO51DIusqv4q4umGLx+JvJFP0frIV3IDGavl5BFs75fwqEHRbJ7gwVSLtUh9EiBPoPY8ZOT4ZwANn09r7gsNSU71U2YwpM3C/KwHwxju+gDiF8O1fRjlj0o5cZ34meEGsHFbTiM5NVLiVdic9V4kVk++QtLtCQ6qWRwFw7eswdl5nDeLo3vwIl9sHsJ+6GUKQ6Yc2a7dCkRB5JiViRzrRk6cBWnDhxW6uQFmnAn/6+yA0xtwLNpAWUXi+A4c7kfjYFtMHy0Nj/QH7bPkUM/tBqoYsfuu8Jkxbuxh8QF8n1XDLA==", 
            "searchguard.truststore": "/u3+7QAAAAIAAAABAAAAAgAGc2lnLWNhAAABXIl08IgABVguNTA5AAAC3jCCAtowggHCoAMCAQICAQEwDQYJKoZIhvcNAQELBQAwHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDAeFw0xNzA2MDgyMDQ1MzhaFw0yMjA2MDcyMDQ1MzlaMB4xHDAaBgNVBAMTE2xvZ2dpbmctc2lnbmVyLXRlc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDIdmm3sicPB6SnYL/czgfWfQbWiL7eImz+5F/T+4uiH7b6Cboi6bpkElS6ksq++Ku71g3gfXTO7Td974/obmGvAMQTaLvsiAy419TuH3o5ihpfEF6FIg4Zc24zsoDcQ+eTPDxglDkMOGbPq1TpHYdXjgh0C5IDjmccrXkbHsyGLi+wpmraz07zzS1oRxpfPMT6Q7mMMPJmHbyvRh+5mj+Vk9OwKlLJCpiq8FfBpQFzqxb3ljnc7M8OZkPX4aUWqz8fcgKCvdfqz98DR5SSKiL8u516ZalLi/44HpApPCMlhgZFVc4C2dFx5LrzC1ptBGC7yFQJ4tRRw7gf2s9T63m1AgMBAAGjIzAhMA4GA1UdDwEB/wQEAwICpDAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQBxC0NuIRYS+MIlVk2ImaD+wL35eti8CL2X+/oxT5cEnUEpriTZZvzyt+EhK1iA2Oa8QijudQyLrKr+KuLphi8fibyRT9H6yFdyAxmr5eQRbO+X8KhB0Wye4MFUi7VIfRIgT6D2PGTk+GcADZ9Pa+4LDUlO9VNmMKTNwvysB8MY7voA4hfDtX0Y5Y9KOXGd+JnhBrBxW04jOTVS4lXYnPVeJFZPvkLS7QkOqlkcBcO3rMHZeZw3i6N78CJfbB7CfuhlCkOmHNmu3QpEQeSYlYkc60ZOnAVpw4cVurkBZpwJ/+vsgNMbcCzaQFlF4vgOHO5H42BbTB8tDY/0B+2z5FDPTvFXrotUQPsMgGwJ/pcEZvhSDpo=", 
            "truststore": "/u3+7QAAAAIAAAABAAAAAgAGc2lnLWNhAAABXIl08IgABVguNTA5AAAC3jCCAtowggHCoAMCAQICAQEwDQYJKoZIhvcNAQELBQAwHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDAeFw0xNzA2MDgyMDQ1MzhaFw0yMjA2MDcyMDQ1MzlaMB4xHDAaBgNVBAMTE2xvZ2dpbmctc2lnbmVyLXRlc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDIdmm3sicPB6SnYL/czgfWfQbWiL7eImz+5F/T+4uiH7b6Cboi6bpkElS6ksq++Ku71g3gfXTO7Td974/obmGvAMQTaLvsiAy419TuH3o5ihpfEF6FIg4Zc24zsoDcQ+eTPDxglDkMOGbPq1TpHYdXjgh0C5IDjmccrXkbHsyGLi+wpmraz07zzS1oRxpfPMT6Q7mMMPJmHbyvRh+5mj+Vk9OwKlLJCpiq8FfBpQFzqxb3ljnc7M8OZkPX4aUWqz8fcgKCvdfqz98DR5SSKiL8u516ZalLi/44HpApPCMlhgZFVc4C2dFx5LrzC1ptBGC7yFQJ4tRRw7gf2s9T63m1AgMBAAGjIzAhMA4GA1UdDwEB/wQEAwICpDAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQBxC0NuIRYS+MIlVk2ImaD+wL35eti8CL2X+/oxT5cEnUEpriTZZvzyt+EhK1iA2Oa8QijudQyLrKr+KuLphi8fibyRT9H6yFdyAxmr5eQRbO+X8KhB0Wye4MFUi7VIfRIgT6D2PGTk+GcADZ9Pa+4LDUlO9VNmMKTNwvysB8MY7voA4hfDtX0Y5Y9KOXGd+JnhBrBxW04jOTVS4lXYnPVeJFZPvkLS7QkOqlkcBcO3rMHZeZw3i6N78CJfbB7CfuhlCkOmHNmu3QpEQeSYlYkc60ZOnAVpw4cVurkBZpwJ/+vsgNMbcCzaQFlF4vgOHO5H42BbTB8tDY/0B+2z5FDPTvFXrotUQPsMgGwJ/pcEZvhSDpo="
        }, 
        "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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:168
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.95.132", 
        "cmd": "/bin/oc get service logging-es-ops-cluster -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T20:46:19Z", 
                    "name": "logging-es-ops-cluster", 
                    "namespace": "logging", 
                    "resourceVersion": "1373", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-es-ops-cluster", 
                    "uid": "8691a4d9-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "spec": {
                    "clusterIP": "172.30.95.132", 
                    "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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:182
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.217.153", 
        "cmd": "/bin/oc get service logging-es-ops -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T20:46:21Z", 
                    "name": "logging-es-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1376", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-es-ops", 
                    "uid": "874a776e-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "spec": {
                    "clusterIP": "172.30.217.153", 
                    "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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:237
ok: [openshift] => {
    "ansible_facts": {
        "es_deploy_name": "logging-es-ops-data-master-10aztz22"
    }, 
    "changed": false
}

TASK [openshift_logging_elasticsearch : set_fact] ******************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:246
changed: [openshift] => {
    "changed": true, 
    "checksum": "0faf946d8affa8b2d11df6359ff3f6c30f1c1332", 
    "dest": "/tmp/openshift-logging-ansible-DCpv0x/templates/logging-es-dc.yml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "32fbe756e40916d09bf2b60af05167d2", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 3178, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496954781.85-260160592942989/source", 
    "state": "file", 
    "uid": 0
}

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

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

TASK [openshift_logging_kibana : fail] *****************************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.002239", 
    "end": "2017-06-08 16:46:24.131906", 
    "rc": 0, 
    "start": "2017-06-08 16:46:24.129667"
}

STDOUT:

/tmp/openshift-logging-ansible-wBUwHy

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

TASK [openshift_logging_kibana : Create templates subdirectory] ****************
task path: /tmp/tmp.Dr7eHw6FTr/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-wBUwHy/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.Dr7eHw6FTr/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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:34
changed: [openshift] => {
    "changed": true, 
    "results": {
        "cmd": "/bin/oc get sa aggregated-logging-kibana -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "imagePullSecrets": [
                    {
                        "name": "aggregated-logging-kibana-dockercfg-2sn5k"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T20:46:25Z", 
                    "name": "aggregated-logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1398", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-kibana", 
                    "uid": "898fac36-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-kibana-token-q9kb6"
                    }, 
                    {
                        "name": "aggregated-logging-kibana-dockercfg-2sn5k"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREl3TkRVek9Gb1hEVEl5TURZd056SXdORFV6T1ZvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQU1oMmFiZXlKdzhIcEtkZ3Y5ek9COVo5QnRhSXZ0NGliUDdrWDlQN2k2SWYKdHZvSnVpTHB1bVFTVkxxU3lyNzRxN3ZXRGVCOWRNN3ROMzN2aitodVlhOEF4Qk5vdSt5SURMalgxTzRmZWptSwpHbDhRWG9VaURobHpiak95Z054RDU1TThQR0NVT1F3NFpzK3JWT2tkaDFlT0NIUUxrZ09PWnh5dGVSc2V6SVl1Ckw3Q21hdHJQVHZQTkxXaEhHbDg4eFBwRHVZd3c4bVlkdks5R0g3bWFQNVdUMDdBcVVza0ttS3J3VjhHbEFYT3IKRnZlV09kenN6dzVtUTlmaHBSYXJQeDl5QW9LOTErclAzd05IbEpJcUl2eTduWHBscVV1TC9qZ2VrQ2s4SXlXRwpCa1ZWemdMWjBYSGt1dk1MV20wRVlMdklWQW5pMUZIRHVCL2F6MVByZWJVQ0F3RUFBYU1qTUNFd0RnWURWUjBQCkFRSC9CQVFEQWdLa01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFIRUwKUTI0aEZoTDR3aVZXVFlpWm9QN0F2Zmw2Mkx3SXZaZjcrakZQbHdTZFFTbXVKTmxtL1BLMzRTRXJXSURZNXJ4QwpLTzUxREl1c3F2NHE0dW1HTHgrSnZKRlAwZnJJVjNJREdhdmw1QkZzNzVmd3FFSFJiSjdnd1ZTTHRVaDlFaUJQCm9QWThaT1Q0WndBTm4wOXI3Z3NOU1U3MVUyWXdwTTNDL0t3SHd4anUrZ0RpRjhPMWZSamxqMG81Y1ozNG1lRUcKc0hGYlRpTTVOVkxpVmRpYzlWNGtWaysrUXRMdENRNnFXUndGdzdlc3dkbDVuRGVMbzN2d0lsOXNIc0orNkdVSwpRNlljMmE3ZENrUkI1SmlWaVJ6clJrNmNCV25EaHhXNnVRRm1uQW4vNit5QTB4dHdMTnBBV1VYaStBNGM3a2ZqCllGdE1IeTBOai9RSDdiUGtVTTg9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K", 
    "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": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcFFJQkFBS0NBUUVBcXZBbzFaNkNnbGtiK1ZqM2tDWnpua0h2dmFud1lTNERaSURBY2wvQzQweTZEVC9kCm5Zb3pLZjNLMnRpR1dsWTBTOG5HcW80VkwwUFBCOENOTUtvdFBjeDFkQm1OelFXSnJFczJsVVVuUGFncUlaQlIKNExUWjVReGw4dTkzaVpTZ1N1Z2p5VlV1V0hDV2xFc2crNHozWWV4VmFYRVNTcm05RjNMZGlxUkdyakpQK3BhOApMeTdJdFpIaWErY25IQktwbTZEbzJMRHRqQjZvanc1bUIwdWVFNnNZelJRRm5KNXJpa1JFWFhEMDA2cmIzcXgzCmdCN3JoQkVNRDFNcTBIZVllVzlMTDR6bzRvUzgzdUdGb1k3aU5sQVY2dEZUeE14Qkxkc2plSEExaW5JM3VETkMKaWNSeEFucjRFRS85VGxpV05SeXcyaXhKWUVvRHpnVUFXSitCWndJREFRQUJBb0lCQUMzWklIcTdlekhQQ012RwpheEJFMy9ud29ZYnpqNy9oQVpQeFhLelF0b3NVeDBwS2VQeUtWdExLZWFCZE54di94eU1VeWE1eFVZbE4zTGV0Cms3RWIwK3FoYmxkbml6c1VZeXJOT2FTcjJheVY4RWIwV0tHMm9FTHBJbWNZaDYxbEtlRXRobnUzMXlodGVsWG8KR0w2ZnZyS0xHeFdlK0ZNR29vc3BpZlpudlhWM0pPVlV0ZEQyNytHcU1XZlVINnNjNmk0dlFNcm1IL2d6NUV5QwpZaDhzM01ZZVZVS2xTcmlUdlI5YlhrdXVxWmw3ZWdzN1FDVnE1T1Z3Tm5nZHF2ZW5hWDBtb2Fha2wvdXNROU5rCmZ5ZUJxSi9JMlhQWWtkUWRGcWdKUUV4V2pZMXAzVWNIbXc0NnUrOXBXMGdUa00xMTI5L1liQVZHOE9raDlYZXQKZTJoOEdwRUNnWUVBeVprMUdDUDJLOEhacXd5Ykd4SGN6UTFrWmJlMVNoQlRPTVk5T3pDMzFIZjdyOE1peFFoMQpudDBybTNOeloxa1dqWFUvQy82RVQyVmxIYjBRZ2YzSDRINVhxRGJPaWhKRUFHU3loYW81dXNwWC9YeG5xZitICnA0ZHRZVmhJdlVCbUMyQ3BpaGhYOUR5aFdLb2wvSnBHVy9MdzNnR1dyeVFZcThGQm4wcWZRRnNDZ1lFQTJSRGgKRmRIak9vV2xlTXE1dC8xVDMzdEE3T05PbkJTWlBqUXpGWTEwRVpGRlI0YzJBSUFrWjltOXlhTkkwLzV6djdUdgppbTRENW9rSFJvc09nWHRiYjh1T0J3alk5RmxvNlAwaXBGVGdzM2xZb20wbzhtN3Ixb241QXRvOGVPYkMwaEE0CnIrSE16eDBZd3JXcldDaGxaVkFlYlZBRmdjUmhJaFVNOTlGejBPVUNnWUVBcGE5YTZabzBxY1hLQlVCNUFZaHUKdGIvNThYZEljYlIxRVVZcjhNZWJiZTJtVnMvRGRiZjhJektXc2szeVhNL2xMeUZiVFpwQ1Y1WjN3amN1cUFkUgpESG9KeE9BMlkxZWJ0ODhLd2J3amNoYjJ0Z2hXa21yR3JMTXEvRVE0bEFHblhGWjNRRjI5ZTZlUTIzUUxnRTJ5CjRjTUtud3NqTXBJeURJYnFUZVpnZDkwQ2dZRUFoSlpSMW9FbzJkTk9tclRCc2tmejFsc3o4ajU2QXM1Mk9FK3MKTUdzQnpjVTlXdzZWQnNNKytZdy82QTFyNjhuT0svZzZKUVZFTHFuZW50RkxuLzJZZ1hZRm4vaGdoUWlrRTBTagp4MXJ0RWRONk4yU1VFVmw5aHNNcUxmcmQyeitoR3F5NzQzcjZIang0cGw1UGRmN2V5SDZpeDBTTXlKSUtmc1g2CjhOaW9kSjBDZ1lFQWhZODlJUVpxcVF4aUZzZE1pU0RvOExrLyt5VVZ3eElNaVlPUER5aFhmZkIxZGpDMjMramsKSmhjTk5BTVdhbU8vaHRKTzFkbTFVUVh4aFZGTlBvZ05EYXdzV29tREhBbWhqVVhadytQYitwbDVPaG0wcDczOApjeVhLRlVBRDBlQ1FHd29PY0gvYTlxaXI1WHBHN2pIT0NpT3VST0ljcjVFelJxMmVIaTUveDd3PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=", 
    "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": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURUakNDQWphZ0F3SUJBZ0lCQWpBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREl3TkRVME1Gb1hEVEU1TURZd09ESXdORFUwTVZvdwpGakVVTUJJR0ExVUVBeE1MSUd0cFltRnVZUzF2Y0hNd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJEd0F3CmdnRUtBb0lCQVFDcThDalZub0tDV1J2NVdQZVFKbk9lUWUrOXFmQmhMZ05rZ01CeVg4TGpUTG9OUDkyZGlqTXAKL2NyYTJJWmFWalJMeWNhcWpoVXZRODhId0kwd3FpMDl6SFYwR1kzTkJZbXNTemFWUlNjOXFDb2hrRkhndE5ubApER1h5NzNlSmxLQks2Q1BKVlM1WWNKYVVTeUQ3alBkaDdGVnBjUkpLdWIwWGN0MktwRWF1TWsvNmxyd3ZMc2kxCmtlSnI1eWNjRXFtYm9PallzTzJNSHFpUERtWUhTNTRUcXhqTkZBV2NubXVLUkVSZGNQVFRxdHZlckhlQUh1dUUKRVF3UFV5clFkNWg1YjBzdmpPamloTHplNFlXaGp1STJVQlhxMFZQRXpFRXQyeU40Y0RXS2NqZTRNMEtKeEhFQwpldmdRVC8xT1dKWTFITERhTEVsZ1NnUE9CUUJZbjRGbkFnTUJBQUdqZ1o0d2dac3dEZ1lEVlIwUEFRSC9CQVFECkFnV2dNQk1HQTFVZEpRUU1NQW9HQ0NzR0FRVUZCd01CTUF3R0ExVWRFd0VCL3dRQ01BQXdaZ1lEVlIwUkJGOHcKWFlJTElHdHBZbUZ1WVMxdmNIT0NMQ0JyYVdKaGJtRXRiM0J6TG5KdmRYUmxjaTVrWldaaGRXeDBMbk4yWXk1agpiSFZ6ZEdWeUxteHZZMkZzZ2hnZ2EybGlZVzVoTGpFeU55NHdMakF1TVM1NGFYQXVhVytDQm10cFltRnVZVEFOCkJna3Foa2lHOXcwQkFRc0ZBQU9DQVFFQW8xQytoWlc4elNvcE9WYUpNUWZXd290YWlOSzM1MGNSLzk5QWNxYkIKWFliMUdoOWt3MXZHVms1V1NXVmZkd1cxQXprTkkreEMvcURZQzE0R3hHQ1JMNlI4QlVjMG9RVzZqdHpWUC8vSgoraDBUNTBDdGx2SEM2MTh1TTgvWW5PRTB6NGQyZmRGVkZyYUJadndoSWdFcjA1TUw2ZXlkQjdzUXhOYXJOYkZVClRiK0dXSlJ4cXI5TUNhc09GUk92c0VUa1VuenBYNTBWcDJ0VDFOeElQVWNvc0Z0d2tTdWFBMlcwbVo2aEg5Z08KYnpGejgxNkp3aVN1QzRoZXR3K2FqYTl2VTJmV01OTnBvazY3d2VIaS9tTmFLenltSnVaWGZiSEhhdE1TaXhFLwpCS0NRMmxQSEpLSUdqdzJsSXRTZWxZWE53enhKSjVENVQ2RHo3azBWWXJ0VlJnPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQotLS0tLUJFR0lOIENFUlRJRklDQVRFLS0tLS0KTUlJQzJqQ0NBY0tnQXdJQkFnSUJBVEFOQmdrcWhraUc5dzBCQVFzRkFEQWVNUnd3R2dZRFZRUURFeE5zYjJkbgphVzVuTFhOcFoyNWxjaTEwWlhOME1CNFhEVEUzTURZd09ESXdORFV6T0ZvWERUSXlNRFl3TnpJd05EVXpPVm93CkhqRWNNQm9HQTFVRUF4TVRiRzluWjJsdVp5MXphV2R1WlhJdGRHVnpkRENDQVNJd0RRWUpLb1pJaHZjTkFRRUIKQlFBRGdnRVBBRENDQVFvQ2dnRUJBTWgyYWJleUp3OEhwS2Rndjl6T0I5WjlCdGFJdnQ0aWJQN2tYOVA3aTZJZgp0dm9KdWlMcHVtUVNWTHFTeXI3NHE3dldEZUI5ZE03dE4zM3ZqK2h1WWE4QXhCTm91K3lJRExqWDFPNGZlam1LCkdsOFFYb1VpRGhsemJqT3lnTnhENTVNOFBHQ1VPUXc0WnMrclZPa2RoMWVPQ0hRTGtnT09aeHl0ZVJzZXpJWXUKTDdDbWF0clBUdlBOTFdoSEdsODh4UHBEdVl3dzhtWWR2SzlHSDdtYVA1V1QwN0FxVXNrS21LcndWOEdsQVhPcgpGdmVXT2R6c3p3NW1ROWZocFJhclB4OXlBb0s5MStyUDN3TkhsSklxSXZ5N25YcGxxVXVML2pnZWtDazhJeVdHCkJrVlZ6Z0xaMFhIa3V2TUxXbTBFWUx2SVZBbmkxRkhEdUIvYXoxUHJlYlVDQXdFQUFhTWpNQ0V3RGdZRFZSMFAKQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCL3dRRk1BTUJBZjh3RFFZSktvWklodmNOQVFFTEJRQURnZ0VCQUhFTApRMjRoRmhMNHdpVldUWWlab1A3QXZmbDYyTHdJdlpmNytqRlBsd1NkUVNtdUpObG0vUEszNFNFcldJRFk1cnhDCktPNTFESXVzcXY0cTR1bUdMeCtKdkpGUDBmcklWM0lER2F2bDVCRnM3NWZ3cUVIUmJKN2d3VlNMdFVoOUVpQlAKb1BZOFpPVDRad0FObjA5cjdnc05TVTcxVTJZd3BNM0MvS3dId3hqdStnRGlGOE8xZlJqbGowbzVjWjM0bWVFRwpzSEZiVGlNNU5WTGlWZGljOVY0a1ZrKytRdEx0Q1E2cVdSd0Z3N2Vzd2RsNW5EZUxvM3Z3SWw5c0hzSis2R1VLClE2WWMyYTdkQ2tSQjVKaVZpUnpyUms2Y0JXbkRoeFc2dVFGbW5Bbi82K3lBMHh0d0xOcEFXVVhpK0E0YzdrZmoKWUZ0TUh5ME5qL1FIN2JQa1VNOD0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=", 
    "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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:57
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.139.62", 
        "cmd": "/bin/oc get service logging-kibana -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T20:46:26Z", 
                    "name": "logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1400", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-kibana", 
                    "uid": "8a72e30c-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "spec": {
                    "clusterIP": "172.30.139.62", 
                    "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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:89
ok: [openshift] => {
    "ansible_facts": {
        "kibana_ca": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREl3TkRVek9Gb1hEVEl5TURZd056SXdORFV6T1ZvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQU1oMmFiZXlKdzhIcEtkZ3Y5ek9COVo5QnRhSXZ0NGliUDdrWDlQN2k2SWYKdHZvSnVpTHB1bVFTVkxxU3lyNzRxN3ZXRGVCOWRNN3ROMzN2aitodVlhOEF4Qk5vdSt5SURMalgxTzRmZWptSwpHbDhRWG9VaURobHpiak95Z054RDU1TThQR0NVT1F3NFpzK3JWT2tkaDFlT0NIUUxrZ09PWnh5dGVSc2V6SVl1Ckw3Q21hdHJQVHZQTkxXaEhHbDg4eFBwRHVZd3c4bVlkdks5R0g3bWFQNVdUMDdBcVVza0ttS3J3VjhHbEFYT3IKRnZlV09kenN6dzVtUTlmaHBSYXJQeDl5QW9LOTErclAzd05IbEpJcUl2eTduWHBscVV1TC9qZ2VrQ2s4SXlXRwpCa1ZWemdMWjBYSGt1dk1MV20wRVlMdklWQW5pMUZIRHVCL2F6MVByZWJVQ0F3RUFBYU1qTUNFd0RnWURWUjBQCkFRSC9CQVFEQWdLa01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFIRUwKUTI0aEZoTDR3aVZXVFlpWm9QN0F2Zmw2Mkx3SXZaZjcrakZQbHdTZFFTbXVKTmxtL1BLMzRTRXJXSURZNXJ4QwpLTzUxREl1c3F2NHE0dW1HTHgrSnZKRlAwZnJJVjNJREdhdmw1QkZzNzVmd3FFSFJiSjdnd1ZTTHRVaDlFaUJQCm9QWThaT1Q0WndBTm4wOXI3Z3NOU1U3MVUyWXdwTTNDL0t3SHd4anUrZ0RpRjhPMWZSamxqMG81Y1ozNG1lRUcKc0hGYlRpTTVOVkxpVmRpYzlWNGtWaysrUXRMdENRNnFXUndGdzdlc3dkbDVuRGVMbzN2d0lsOXNIc0orNkdVSwpRNlljMmE3ZENrUkI1SmlWaVJ6clJrNmNCV25EaHhXNnVRRm1uQW4vNit5QTB4dHdMTnBBV1VYaStBNGM3a2ZqCllGdE1IeTBOai9RSDdiUGtVTTg9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
    }, 
    "changed": false
}

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

TASK [openshift_logging_kibana : Setting Kibana route] *************************
task path: /tmp/tmp.Dr7eHw6FTr/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-08T20:46:27Z", 
                    "labels": {
                        "component": "support", 
                        "logging-infra": "support", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1404", 
                    "selfLink": "/oapi/v1/namespaces/logging/routes/logging-kibana", 
                    "uid": "8b223efc-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "spec": {
                    "host": "kibana.router.default.svc.cluster.local", 
                    "tls": {
                        "caCertificate": "-----BEGIN CERTIFICATE-----\nMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dn\naW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODIwNDUzOFoXDTIyMDYwNzIwNDUzOVow\nHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEB\nBQADggEPADCCAQoCggEBAMh2abeyJw8HpKdgv9zOB9Z9BtaIvt4ibP7kX9P7i6If\ntvoJuiLpumQSVLqSyr74q7vWDeB9dM7tN33vj+huYa8AxBNou+yIDLjX1O4fejmK\nGl8QXoUiDhlzbjOygNxD55M8PGCUOQw4Zs+rVOkdh1eOCHQLkgOOZxyteRsezIYu\nL7CmatrPTvPNLWhHGl88xPpDuYww8mYdvK9GH7maP5WT07AqUskKmKrwV8GlAXOr\nFveWOdzszw5mQ9fhpRarPx9yAoK91+rP3wNHlJIqIvy7nXplqUuL/jgekCk8IyWG\nBkVVzgLZ0XHkuvMLWm0EYLvIVAni1FHDuB/az1PrebUCAwEAAaMjMCEwDgYDVR0P\nAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHEL\nQ24hFhL4wiVWTYiZoP7Avfl62LwIvZf7+jFPlwSdQSmuJNlm/PK34SErWIDY5rxC\nKO51DIusqv4q4umGLx+JvJFP0frIV3IDGavl5BFs75fwqEHRbJ7gwVSLtUh9EiBP\noPY8ZOT4ZwANn09r7gsNSU71U2YwpM3C/KwHwxju+gDiF8O1fRjlj0o5cZ34meEG\nsHFbTiM5NVLiVdic9V4kVk++QtLtCQ6qWRwFw7eswdl5nDeLo3vwIl9sHsJ+6GUK\nQ6Yc2a7dCkRB5JiViRzrRk6cBWnDhxW6uQFmnAn/6+yA0xtwLNpAWUXi+A4c7kfj\nYFtMHy0Nj/QH7bPkUM8=\n-----END CERTIFICATE-----\n", 
                        "destinationCACertificate": "-----BEGIN CERTIFICATE-----\nMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dn\naW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODIwNDUzOFoXDTIyMDYwNzIwNDUzOVow\nHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEB\nBQADggEPADCCAQoCggEBAMh2abeyJw8HpKdgv9zOB9Z9BtaIvt4ibP7kX9P7i6If\ntvoJuiLpumQSVLqSyr74q7vWDeB9dM7tN33vj+huYa8AxBNou+yIDLjX1O4fejmK\nGl8QXoUiDhlzbjOygNxD55M8PGCUOQw4Zs+rVOkdh1eOCHQLkgOOZxyteRsezIYu\nL7CmatrPTvPNLWhHGl88xPpDuYww8mYdvK9GH7maP5WT07AqUskKmKrwV8GlAXOr\nFveWOdzszw5mQ9fhpRarPx9yAoK91+rP3wNHlJIqIvy7nXplqUuL/jgekCk8IyWG\nBkVVzgLZ0XHkuvMLWm0EYLvIVAni1FHDuB/az1PrebUCAwEAAaMjMCEwDgYDVR0P\nAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHEL\nQ24hFhL4wiVWTYiZoP7Avfl62LwIvZf7+jFPlwSdQSmuJNlm/PK34SErWIDY5rxC\nKO51DIusqv4q4umGLx+JvJFP0frIV3IDGavl5BFs75fwqEHRbJ7gwVSLtUh9EiBP\noPY8ZOT4ZwANn09r7gsNSU71U2YwpM3C/KwHwxju+gDiF8O1fRjlj0o5cZ34meEG\nsHFbTiM5NVLiVdic9V4kVk++QtLtCQ6qWRwFw7eswdl5nDeLo3vwIl9sHsJ+6GUK\nQ6Yc2a7dCkRB5JiViRzrRk6cBWnDhxW6uQFmnAn/6+yA0xtwLNpAWUXi+A4c7kfj\nYFtMHy0Nj/QH7bPkUM8=\n-----END CERTIFICATE-----\n", 
                        "insecureEdgeTerminationPolicy": "Redirect", 
                        "termination": "reencrypt"
                    }, 
                    "to": {
                        "kind": "Service", 
                        "name": "logging-kibana", 
                        "weight": 100
                    }, 
                    "wildcardPolicy": "None"
                }, 
                "status": {
                    "ingress": [
                        {
                            "conditions": [
                                {
                                    "lastTransitionTime": "2017-06-08T20:46:27Z", 
                                    "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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:125
ok: [openshift] => {
    "ansible_facts": {
        "session_secret": "ZVFiZ71vum3PWUPyn6FLugeh8CAT5kIUYxX7IiINOfSzPfPqq8TpTOIzPx3XLKTgKpHObxIawaunuAaCExtQr9zDsqF8e28rGCv937h3jvYSn3quNBFRQQGhTtwMCF1Hxl3QM3s7ZLxsuLcAgQfdNYDIZvngHAqp1R1WQHzwy1Qtqm8pNYInq6gzsinJQbnXG4ibYvhO"
    }, 
    "changed": false
}

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

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

TASK [openshift_logging_kibana : Set kibana-proxy oauth-client] ****************
task path: /tmp/tmp.Dr7eHw6FTr/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-08T20:46:28Z", 
                    "labels": {
                        "logging-infra": "support"
                    }, 
                    "name": "kibana-proxy", 
                    "resourceVersion": "1405", 
                    "selfLink": "/oapi/v1/oauthclients/kibana-proxy", 
                    "uid": "8bd54b7a-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "redirectURIs": [
                    "https://kibana.router.default.svc.cluster.local"
                ], 
                "scopeRestrictions": [
                    {
                        "literals": [
                            "user:info", 
                            "user:check-access", 
                            "user:list-projects"
                        ]
                    }
                ], 
                "secret": "eonDdJE3N2ltTAp1OsGE0KBo7C8BVTCoTB0elL1ZUoevwTHRmwra24ygrqBhinsJ"
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : Set Kibana secret] ****************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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-2UEms9 session-secret=/tmp/session-secret-R87wZL server-key=/tmp/server-key-bsqF1H server-cert=/tmp/server-cert-zKZ5Nr server-tls.json=/tmp/server-tls.json-DFqi7w -n logging", 
        "results": "", 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : Generate Kibana DC template] ******************
task path: /tmp/tmp.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:197
changed: [openshift] => {
    "changed": true, 
    "checksum": "e33806ed288dc9a44350b4996e01a0d6ba2b984e", 
    "dest": "/tmp/openshift-logging-ansible-wBUwHy/templates/kibana-dc.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "5cdbe2c71ee27824716fa99ce1e33920", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 3737, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496954790.41-242556241335499/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_kibana : Set Kibana DC] ********************************
task path: /tmp/tmp.Dr7eHw6FTr/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-08T20:46:31Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "kibana", 
                        "logging-infra": "kibana", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1426", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-kibana", 
                    "uid": "8d3783e5-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "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.131.52: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.4.251:8443"
                                        }, 
                                        {
                                            "name": "OAP_LOGOUT_REDIRECT", 
                                            "value": "https://172.18.4.251: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.131.52: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-08T20:46:31Z", 
                            "lastUpdateTime": "2017-06-08T20:46:31Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-08T20:46:31Z", 
                            "lastUpdateTime": "2017-06-08T20:46:31Z", 
                            "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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:228
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-wBUwHy", 
    "state": "absent"
}

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

TASK [openshift_logging_kibana : fail] *****************************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.001940", 
    "end": "2017-06-08 16:46:32.391442", 
    "rc": 0, 
    "start": "2017-06-08 16:46:32.389502"
}

STDOUT:

/tmp/openshift-logging-ansible-MFLOVO

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

TASK [openshift_logging_kibana : Create templates subdirectory] ****************
task path: /tmp/tmp.Dr7eHw6FTr/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-MFLOVO/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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-2sn5k"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T20:46:25Z", 
                    "name": "aggregated-logging-kibana", 
                    "namespace": "logging", 
                    "resourceVersion": "1398", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-kibana", 
                    "uid": "898fac36-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-kibana-token-q9kb6"
                    }, 
                    {
                        "name": "aggregated-logging-kibana-dockercfg-2sn5k"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_kibana : set_fact] *************************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREl3TkRVek9Gb1hEVEl5TURZd056SXdORFV6T1ZvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQU1oMmFiZXlKdzhIcEtkZ3Y5ek9COVo5QnRhSXZ0NGliUDdrWDlQN2k2SWYKdHZvSnVpTHB1bVFTVkxxU3lyNzRxN3ZXRGVCOWRNN3ROMzN2aitodVlhOEF4Qk5vdSt5SURMalgxTzRmZWptSwpHbDhRWG9VaURobHpiak95Z054RDU1TThQR0NVT1F3NFpzK3JWT2tkaDFlT0NIUUxrZ09PWnh5dGVSc2V6SVl1Ckw3Q21hdHJQVHZQTkxXaEhHbDg4eFBwRHVZd3c4bVlkdks5R0g3bWFQNVdUMDdBcVVza0ttS3J3VjhHbEFYT3IKRnZlV09kenN6dzVtUTlmaHBSYXJQeDl5QW9LOTErclAzd05IbEpJcUl2eTduWHBscVV1TC9qZ2VrQ2s4SXlXRwpCa1ZWemdMWjBYSGt1dk1MV20wRVlMdklWQW5pMUZIRHVCL2F6MVByZWJVQ0F3RUFBYU1qTUNFd0RnWURWUjBQCkFRSC9CQVFEQWdLa01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFIRUwKUTI0aEZoTDR3aVZXVFlpWm9QN0F2Zmw2Mkx3SXZaZjcrakZQbHdTZFFTbXVKTmxtL1BLMzRTRXJXSURZNXJ4QwpLTzUxREl1c3F2NHE0dW1HTHgrSnZKRlAwZnJJVjNJREdhdmw1QkZzNzVmd3FFSFJiSjdnd1ZTTHRVaDlFaUJQCm9QWThaT1Q0WndBTm4wOXI3Z3NOU1U3MVUyWXdwTTNDL0t3SHd4anUrZ0RpRjhPMWZSamxqMG81Y1ozNG1lRUcKc0hGYlRpTTVOVkxpVmRpYzlWNGtWaysrUXRMdENRNnFXUndGdzdlc3dkbDVuRGVMbzN2d0lsOXNIc0orNkdVSwpRNlljMmE3ZENrUkI1SmlWaVJ6clJrNmNCV25EaHhXNnVRRm1uQW4vNit5QTB4dHdMTnBBV1VYaStBNGM3a2ZqCllGdE1IeTBOai9RSDdiUGtVTTg9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K", 
    "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": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcFFJQkFBS0NBUUVBcXZBbzFaNkNnbGtiK1ZqM2tDWnpua0h2dmFud1lTNERaSURBY2wvQzQweTZEVC9kCm5Zb3pLZjNLMnRpR1dsWTBTOG5HcW80VkwwUFBCOENOTUtvdFBjeDFkQm1OelFXSnJFczJsVVVuUGFncUlaQlIKNExUWjVReGw4dTkzaVpTZ1N1Z2p5VlV1V0hDV2xFc2crNHozWWV4VmFYRVNTcm05RjNMZGlxUkdyakpQK3BhOApMeTdJdFpIaWErY25IQktwbTZEbzJMRHRqQjZvanc1bUIwdWVFNnNZelJRRm5KNXJpa1JFWFhEMDA2cmIzcXgzCmdCN3JoQkVNRDFNcTBIZVllVzlMTDR6bzRvUzgzdUdGb1k3aU5sQVY2dEZUeE14Qkxkc2plSEExaW5JM3VETkMKaWNSeEFucjRFRS85VGxpV05SeXcyaXhKWUVvRHpnVUFXSitCWndJREFRQUJBb0lCQUMzWklIcTdlekhQQ012RwpheEJFMy9ud29ZYnpqNy9oQVpQeFhLelF0b3NVeDBwS2VQeUtWdExLZWFCZE54di94eU1VeWE1eFVZbE4zTGV0Cms3RWIwK3FoYmxkbml6c1VZeXJOT2FTcjJheVY4RWIwV0tHMm9FTHBJbWNZaDYxbEtlRXRobnUzMXlodGVsWG8KR0w2ZnZyS0xHeFdlK0ZNR29vc3BpZlpudlhWM0pPVlV0ZEQyNytHcU1XZlVINnNjNmk0dlFNcm1IL2d6NUV5QwpZaDhzM01ZZVZVS2xTcmlUdlI5YlhrdXVxWmw3ZWdzN1FDVnE1T1Z3Tm5nZHF2ZW5hWDBtb2Fha2wvdXNROU5rCmZ5ZUJxSi9JMlhQWWtkUWRGcWdKUUV4V2pZMXAzVWNIbXc0NnUrOXBXMGdUa00xMTI5L1liQVZHOE9raDlYZXQKZTJoOEdwRUNnWUVBeVprMUdDUDJLOEhacXd5Ykd4SGN6UTFrWmJlMVNoQlRPTVk5T3pDMzFIZjdyOE1peFFoMQpudDBybTNOeloxa1dqWFUvQy82RVQyVmxIYjBRZ2YzSDRINVhxRGJPaWhKRUFHU3loYW81dXNwWC9YeG5xZitICnA0ZHRZVmhJdlVCbUMyQ3BpaGhYOUR5aFdLb2wvSnBHVy9MdzNnR1dyeVFZcThGQm4wcWZRRnNDZ1lFQTJSRGgKRmRIak9vV2xlTXE1dC8xVDMzdEE3T05PbkJTWlBqUXpGWTEwRVpGRlI0YzJBSUFrWjltOXlhTkkwLzV6djdUdgppbTRENW9rSFJvc09nWHRiYjh1T0J3alk5RmxvNlAwaXBGVGdzM2xZb20wbzhtN3Ixb241QXRvOGVPYkMwaEE0CnIrSE16eDBZd3JXcldDaGxaVkFlYlZBRmdjUmhJaFVNOTlGejBPVUNnWUVBcGE5YTZabzBxY1hLQlVCNUFZaHUKdGIvNThYZEljYlIxRVVZcjhNZWJiZTJtVnMvRGRiZjhJektXc2szeVhNL2xMeUZiVFpwQ1Y1WjN3amN1cUFkUgpESG9KeE9BMlkxZWJ0ODhLd2J3amNoYjJ0Z2hXa21yR3JMTXEvRVE0bEFHblhGWjNRRjI5ZTZlUTIzUUxnRTJ5CjRjTUtud3NqTXBJeURJYnFUZVpnZDkwQ2dZRUFoSlpSMW9FbzJkTk9tclRCc2tmejFsc3o4ajU2QXM1Mk9FK3MKTUdzQnpjVTlXdzZWQnNNKytZdy82QTFyNjhuT0svZzZKUVZFTHFuZW50RkxuLzJZZ1hZRm4vaGdoUWlrRTBTagp4MXJ0RWRONk4yU1VFVmw5aHNNcUxmcmQyeitoR3F5NzQzcjZIang0cGw1UGRmN2V5SDZpeDBTTXlKSUtmc1g2CjhOaW9kSjBDZ1lFQWhZODlJUVpxcVF4aUZzZE1pU0RvOExrLyt5VVZ3eElNaVlPUER5aFhmZkIxZGpDMjMramsKSmhjTk5BTVdhbU8vaHRKTzFkbTFVUVh4aFZGTlBvZ05EYXdzV29tREhBbWhqVVhadytQYitwbDVPaG0wcDczOApjeVhLRlVBRDBlQ1FHd29PY0gvYTlxaXI1WHBHN2pIT0NpT3VST0ljcjVFelJxMmVIaTUveDd3PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=", 
    "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": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURUakNDQWphZ0F3SUJBZ0lCQWpBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREl3TkRVME1Gb1hEVEU1TURZd09ESXdORFUwTVZvdwpGakVVTUJJR0ExVUVBeE1MSUd0cFltRnVZUzF2Y0hNd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJEd0F3CmdnRUtBb0lCQVFDcThDalZub0tDV1J2NVdQZVFKbk9lUWUrOXFmQmhMZ05rZ01CeVg4TGpUTG9OUDkyZGlqTXAKL2NyYTJJWmFWalJMeWNhcWpoVXZRODhId0kwd3FpMDl6SFYwR1kzTkJZbXNTemFWUlNjOXFDb2hrRkhndE5ubApER1h5NzNlSmxLQks2Q1BKVlM1WWNKYVVTeUQ3alBkaDdGVnBjUkpLdWIwWGN0MktwRWF1TWsvNmxyd3ZMc2kxCmtlSnI1eWNjRXFtYm9PallzTzJNSHFpUERtWUhTNTRUcXhqTkZBV2NubXVLUkVSZGNQVFRxdHZlckhlQUh1dUUKRVF3UFV5clFkNWg1YjBzdmpPamloTHplNFlXaGp1STJVQlhxMFZQRXpFRXQyeU40Y0RXS2NqZTRNMEtKeEhFQwpldmdRVC8xT1dKWTFITERhTEVsZ1NnUE9CUUJZbjRGbkFnTUJBQUdqZ1o0d2dac3dEZ1lEVlIwUEFRSC9CQVFECkFnV2dNQk1HQTFVZEpRUU1NQW9HQ0NzR0FRVUZCd01CTUF3R0ExVWRFd0VCL3dRQ01BQXdaZ1lEVlIwUkJGOHcKWFlJTElHdHBZbUZ1WVMxdmNIT0NMQ0JyYVdKaGJtRXRiM0J6TG5KdmRYUmxjaTVrWldaaGRXeDBMbk4yWXk1agpiSFZ6ZEdWeUxteHZZMkZzZ2hnZ2EybGlZVzVoTGpFeU55NHdMakF1TVM1NGFYQXVhVytDQm10cFltRnVZVEFOCkJna3Foa2lHOXcwQkFRc0ZBQU9DQVFFQW8xQytoWlc4elNvcE9WYUpNUWZXd290YWlOSzM1MGNSLzk5QWNxYkIKWFliMUdoOWt3MXZHVms1V1NXVmZkd1cxQXprTkkreEMvcURZQzE0R3hHQ1JMNlI4QlVjMG9RVzZqdHpWUC8vSgoraDBUNTBDdGx2SEM2MTh1TTgvWW5PRTB6NGQyZmRGVkZyYUJadndoSWdFcjA1TUw2ZXlkQjdzUXhOYXJOYkZVClRiK0dXSlJ4cXI5TUNhc09GUk92c0VUa1VuenBYNTBWcDJ0VDFOeElQVWNvc0Z0d2tTdWFBMlcwbVo2aEg5Z08KYnpGejgxNkp3aVN1QzRoZXR3K2FqYTl2VTJmV01OTnBvazY3d2VIaS9tTmFLenltSnVaWGZiSEhhdE1TaXhFLwpCS0NRMmxQSEpLSUdqdzJsSXRTZWxZWE53enhKSjVENVQ2RHo3azBWWXJ0VlJnPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQotLS0tLUJFR0lOIENFUlRJRklDQVRFLS0tLS0KTUlJQzJqQ0NBY0tnQXdJQkFnSUJBVEFOQmdrcWhraUc5dzBCQVFzRkFEQWVNUnd3R2dZRFZRUURFeE5zYjJkbgphVzVuTFhOcFoyNWxjaTEwWlhOME1CNFhEVEUzTURZd09ESXdORFV6T0ZvWERUSXlNRFl3TnpJd05EVXpPVm93CkhqRWNNQm9HQTFVRUF4TVRiRzluWjJsdVp5MXphV2R1WlhJdGRHVnpkRENDQVNJd0RRWUpLb1pJaHZjTkFRRUIKQlFBRGdnRVBBRENDQVFvQ2dnRUJBTWgyYWJleUp3OEhwS2Rndjl6T0I5WjlCdGFJdnQ0aWJQN2tYOVA3aTZJZgp0dm9KdWlMcHVtUVNWTHFTeXI3NHE3dldEZUI5ZE03dE4zM3ZqK2h1WWE4QXhCTm91K3lJRExqWDFPNGZlam1LCkdsOFFYb1VpRGhsemJqT3lnTnhENTVNOFBHQ1VPUXc0WnMrclZPa2RoMWVPQ0hRTGtnT09aeHl0ZVJzZXpJWXUKTDdDbWF0clBUdlBOTFdoSEdsODh4UHBEdVl3dzhtWWR2SzlHSDdtYVA1V1QwN0FxVXNrS21LcndWOEdsQVhPcgpGdmVXT2R6c3p3NW1ROWZocFJhclB4OXlBb0s5MStyUDN3TkhsSklxSXZ5N25YcGxxVXVML2pnZWtDazhJeVdHCkJrVlZ6Z0xaMFhIa3V2TUxXbTBFWUx2SVZBbmkxRkhEdUIvYXoxUHJlYlVDQXdFQUFhTWpNQ0V3RGdZRFZSMFAKQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCL3dRRk1BTUJBZjh3RFFZSktvWklodmNOQVFFTEJRQURnZ0VCQUhFTApRMjRoRmhMNHdpVldUWWlab1A3QXZmbDYyTHdJdlpmNytqRlBsd1NkUVNtdUpObG0vUEszNFNFcldJRFk1cnhDCktPNTFESXVzcXY0cTR1bUdMeCtKdkpGUDBmcklWM0lER2F2bDVCRnM3NWZ3cUVIUmJKN2d3VlNMdFVoOUVpQlAKb1BZOFpPVDRad0FObjA5cjdnc05TVTcxVTJZd3BNM0MvS3dId3hqdStnRGlGOE8xZlJqbGowbzVjWjM0bWVFRwpzSEZiVGlNNU5WTGlWZGljOVY0a1ZrKytRdEx0Q1E2cVdSd0Z3N2Vzd2RsNW5EZUxvM3Z3SWw5c0hzSis2R1VLClE2WWMyYTdkQ2tSQjVKaVZpUnpyUms2Y0JXbkRoeFc2dVFGbW5Bbi82K3lBMHh0d0xOcEFXVVhpK0E0YzdrZmoKWUZ0TUh5ME5qL1FIN2JQa1VNOD0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=", 
    "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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:57
changed: [openshift] => {
    "changed": true, 
    "results": {
        "clusterip": "172.30.206.117", 
        "cmd": "/bin/oc get service logging-kibana-ops -o json -n logging", 
        "results": [
            {
                "apiVersion": "v1", 
                "kind": "Service", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T20:46:34Z", 
                    "name": "logging-kibana-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1428", 
                    "selfLink": "/api/v1/namespaces/logging/services/logging-kibana-ops", 
                    "uid": "8f03e179-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "spec": {
                    "clusterIP": "172.30.206.117", 
                    "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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:94
ok: [openshift] => {
    "changed": false, 
    "checksum": "53465896cd6de0264c4921ba489f9ea6db4d4c78", 
    "dest": "/tmp/openshift-logging-ansible-MFLOVO/templates/kibana-route.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "ec65f98098c974ec866a35cdeb98cfa9", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 2726, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496954794.6-74021887370860/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_kibana : Setting Kibana route] *************************
task path: /tmp/tmp.Dr7eHw6FTr/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-08T20:46:35Z", 
                    "labels": {
                        "component": "support", 
                        "logging-infra": "support", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-kibana-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1430", 
                    "selfLink": "/oapi/v1/namespaces/logging/routes/logging-kibana-ops", 
                    "uid": "8fba329b-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "spec": {
                    "host": "kibana-ops.router.default.svc.cluster.local", 
                    "tls": {
                        "caCertificate": "-----BEGIN CERTIFICATE-----\nMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dn\naW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODIwNDUzOFoXDTIyMDYwNzIwNDUzOVow\nHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEB\nBQADggEPADCCAQoCggEBAMh2abeyJw8HpKdgv9zOB9Z9BtaIvt4ibP7kX9P7i6If\ntvoJuiLpumQSVLqSyr74q7vWDeB9dM7tN33vj+huYa8AxBNou+yIDLjX1O4fejmK\nGl8QXoUiDhlzbjOygNxD55M8PGCUOQw4Zs+rVOkdh1eOCHQLkgOOZxyteRsezIYu\nL7CmatrPTvPNLWhHGl88xPpDuYww8mYdvK9GH7maP5WT07AqUskKmKrwV8GlAXOr\nFveWOdzszw5mQ9fhpRarPx9yAoK91+rP3wNHlJIqIvy7nXplqUuL/jgekCk8IyWG\nBkVVzgLZ0XHkuvMLWm0EYLvIVAni1FHDuB/az1PrebUCAwEAAaMjMCEwDgYDVR0P\nAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHEL\nQ24hFhL4wiVWTYiZoP7Avfl62LwIvZf7+jFPlwSdQSmuJNlm/PK34SErWIDY5rxC\nKO51DIusqv4q4umGLx+JvJFP0frIV3IDGavl5BFs75fwqEHRbJ7gwVSLtUh9EiBP\noPY8ZOT4ZwANn09r7gsNSU71U2YwpM3C/KwHwxju+gDiF8O1fRjlj0o5cZ34meEG\nsHFbTiM5NVLiVdic9V4kVk++QtLtCQ6qWRwFw7eswdl5nDeLo3vwIl9sHsJ+6GUK\nQ6Yc2a7dCkRB5JiViRzrRk6cBWnDhxW6uQFmnAn/6+yA0xtwLNpAWUXi+A4c7kfj\nYFtMHy0Nj/QH7bPkUM8=\n-----END CERTIFICATE-----\n", 
                        "destinationCACertificate": "-----BEGIN CERTIFICATE-----\nMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dn\naW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODIwNDUzOFoXDTIyMDYwNzIwNDUzOVow\nHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEB\nBQADggEPADCCAQoCggEBAMh2abeyJw8HpKdgv9zOB9Z9BtaIvt4ibP7kX9P7i6If\ntvoJuiLpumQSVLqSyr74q7vWDeB9dM7tN33vj+huYa8AxBNou+yIDLjX1O4fejmK\nGl8QXoUiDhlzbjOygNxD55M8PGCUOQw4Zs+rVOkdh1eOCHQLkgOOZxyteRsezIYu\nL7CmatrPTvPNLWhHGl88xPpDuYww8mYdvK9GH7maP5WT07AqUskKmKrwV8GlAXOr\nFveWOdzszw5mQ9fhpRarPx9yAoK91+rP3wNHlJIqIvy7nXplqUuL/jgekCk8IyWG\nBkVVzgLZ0XHkuvMLWm0EYLvIVAni1FHDuB/az1PrebUCAwEAAaMjMCEwDgYDVR0P\nAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHEL\nQ24hFhL4wiVWTYiZoP7Avfl62LwIvZf7+jFPlwSdQSmuJNlm/PK34SErWIDY5rxC\nKO51DIusqv4q4umGLx+JvJFP0frIV3IDGavl5BFs75fwqEHRbJ7gwVSLtUh9EiBP\noPY8ZOT4ZwANn09r7gsNSU71U2YwpM3C/KwHwxju+gDiF8O1fRjlj0o5cZ34meEG\nsHFbTiM5NVLiVdic9V4kVk++QtLtCQ6qWRwFw7eswdl5nDeLo3vwIl9sHsJ+6GUK\nQ6Yc2a7dCkRB5JiViRzrRk6cBWnDhxW6uQFmnAn/6+yA0xtwLNpAWUXi+A4c7kfj\nYFtMHy0Nj/QH7bPkUM8=\n-----END CERTIFICATE-----\n", 
                        "insecureEdgeTerminationPolicy": "Redirect", 
                        "termination": "reencrypt"
                    }, 
                    "to": {
                        "kind": "Service", 
                        "name": "logging-kibana-ops", 
                        "weight": 100
                    }, 
                    "wildcardPolicy": "None"
                }, 
                "status": {
                    "ingress": []
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

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

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

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

TASK [openshift_logging_kibana : Set kibana-proxy oauth-client] ****************
task path: /tmp/tmp.Dr7eHw6FTr/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-08T20:46:28Z", 
                    "labels": {
                        "logging-infra": "support"
                    }, 
                    "name": "kibana-proxy", 
                    "resourceVersion": "1432", 
                    "selfLink": "/oapi/v1/oauthclients/kibana-proxy", 
                    "uid": "8bd54b7a-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "redirectURIs": [
                    "https://kibana-ops.router.default.svc.cluster.local"
                ], 
                "scopeRestrictions": [
                    {
                        "literals": [
                            "user:info", 
                            "user:check-access", 
                            "user:list-projects"
                        ]
                    }
                ], 
                "secret": "xoVRdTv1mcmwFndCrMyRXrOt3FmUV3FOIhSnXfs52CCIwmTl6Kh3MlOePfZ78cka"
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

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

TASK [openshift_logging_kibana : Set Kibana Proxy secret] **********************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:197
changed: [openshift] => {
    "changed": true, 
    "checksum": "ef9baed65382e3b9914bd6facf22516b942da2e0", 
    "dest": "/tmp/openshift-logging-ansible-MFLOVO/templates/kibana-dc.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "809c3babf16a227c5cfb025e3f47f616", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 3761, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496954798.59-121514212567056/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_kibana : Set Kibana DC] ********************************
task path: /tmp/tmp.Dr7eHw6FTr/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-08T20:46:39Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "kibana-ops", 
                        "logging-infra": "kibana", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-kibana-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1447", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-kibana-ops", 
                    "uid": "9219cbbc-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "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.131.52: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.4.251:8443"
                                        }, 
                                        {
                                            "name": "OAP_LOGOUT_REDIRECT", 
                                            "value": "https://172.18.4.251: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.131.52: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-08T20:46:39Z", 
                            "lastUpdateTime": "2017-06-08T20:46:39Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-08T20:46:39Z", 
                            "lastUpdateTime": "2017-06-08T20:46:39Z", 
                            "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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:228
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-MFLOVO", 
    "state": "absent"
}

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

TASK [openshift_logging_curator : fail] ****************************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.002038", 
    "end": "2017-06-08 16:46:40.758822", 
    "rc": 0, 
    "start": "2017-06-08 16:46:40.756784"
}

STDOUT:

/tmp/openshift-logging-ansible-QWW2KO

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

TASK [openshift_logging_curator : Create templates subdirectory] ***************
task path: /tmp/tmp.Dr7eHw6FTr/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-QWW2KO/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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-ng0n0"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T20:46:41Z", 
                    "name": "aggregated-logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1455", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-curator", 
                    "uid": "93606193-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-curator-dockercfg-ng0n0"
                    }, 
                    {
                        "name": "aggregated-logging-curator-token-ljqg9"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

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

TASK [openshift_logging_curator : copy] ****************************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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-08T20:46:42Z", 
                    "name": "logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1456", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-curator", 
                    "uid": "93fbdaf8-4c8b-11e7-b203-0e7af10b3ca4"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_curator : Set Curator secret] **************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:81
ok: [openshift] => {
    "changed": false, 
    "checksum": "39266b1fd1d65451013334e5da68850c09de4de1", 
    "dest": "/tmp/openshift-logging-ansible-QWW2KO/templates/curator-dc.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "5a1f625144bd05144220645437bbea33", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 2340, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496954803.65-138534644849837/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_curator : Set Curator DC] ******************************
task path: /tmp/tmp.Dr7eHw6FTr/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-08T20:46:44Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "curator", 
                        "logging-infra": "curator", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1469", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-curator", 
                    "uid": "951edb82-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "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.131.52: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-08T20:46:44Z", 
                            "lastUpdateTime": "2017-06-08T20:46:44Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-08T20:46:44Z", 
                            "lastUpdateTime": "2017-06-08T20:46:44Z", 
                            "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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:109
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-QWW2KO", 
    "state": "absent"
}

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

TASK [openshift_logging_curator : fail] ****************************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.001987", 
    "end": "2017-06-08 16:46:46.759471", 
    "rc": 0, 
    "start": "2017-06-08 16:46:46.757484"
}

STDOUT:

/tmp/openshift-logging-ansible-PGLJGa

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

TASK [openshift_logging_curator : Create templates subdirectory] ***************
task path: /tmp/tmp.Dr7eHw6FTr/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-PGLJGa/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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-ng0n0"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T20:46:41Z", 
                    "name": "aggregated-logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1455", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-curator", 
                    "uid": "93606193-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-curator-dockercfg-ng0n0"
                    }, 
                    {
                        "name": "aggregated-logging-curator-token-ljqg9"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

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

TASK [openshift_logging_curator : copy] ****************************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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-08T20:46:42Z", 
                    "name": "logging-curator", 
                    "namespace": "logging", 
                    "resourceVersion": "1456", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-curator", 
                    "uid": "93fbdaf8-4c8b-11e7-b203-0e7af10b3ca4"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

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

TASK [openshift_logging_curator : set_fact] ************************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:81
ok: [openshift] => {
    "changed": false, 
    "checksum": "873051bf7f3d775afa33bde9883d7ea8a52b0dde", 
    "dest": "/tmp/openshift-logging-ansible-PGLJGa/templates/curator-dc.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "e564828b325c34ac1d7208d191ea545e", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 2364, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496954808.82-37877945401547/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_curator : Set Curator DC] ******************************
task path: /tmp/tmp.Dr7eHw6FTr/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-08T20:46:49Z", 
                    "generation": 2, 
                    "labels": {
                        "component": "curator-ops", 
                        "logging-infra": "curator", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-curator-ops", 
                    "namespace": "logging", 
                    "resourceVersion": "1485", 
                    "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-curator-ops", 
                    "uid": "98386e03-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "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.131.52: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-08T20:46:49Z", 
                            "lastUpdateTime": "2017-06-08T20:46:49Z", 
                            "message": "Deployment config does not have minimum availability.", 
                            "status": "False", 
                            "type": "Available"
                        }, 
                        {
                            "lastTransitionTime": "2017-06-08T20:46:49Z", 
                            "lastUpdateTime": "2017-06-08T20:46:49Z", 
                            "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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:109
ok: [openshift] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-PGLJGa", 
    "state": "absent"
}

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

TASK [openshift_logging_fluentd : fail] ****************************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.002039", 
    "end": "2017-06-08 16:46:53.038504", 
    "rc": 0, 
    "start": "2017-06-08 16:46:53.036465"
}

STDOUT:

/tmp/openshift-logging-ansible-9RSUxI

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

TASK [openshift_logging_fluentd : Create templates subdirectory] ***************
task path: /tmp/tmp.Dr7eHw6FTr/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-9RSUxI/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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-3dv24"
                    }
                ], 
                "kind": "ServiceAccount", 
                "metadata": {
                    "creationTimestamp": "2017-06-08T20:46:53Z", 
                    "name": "aggregated-logging-fluentd", 
                    "namespace": "logging", 
                    "resourceVersion": "1494", 
                    "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-fluentd", 
                    "uid": "9aca7e35-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "secrets": [
                    {
                        "name": "aggregated-logging-fluentd-dockercfg-3dv24"
                    }, 
                    {
                        "name": "aggregated-logging-fluentd-token-bs7xd"
                    }
                ]
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

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

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

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

TASK [openshift_logging_fluentd : copy] ****************************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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.Dr7eHw6FTr/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-08T20:46:57Z", 
                    "name": "logging-fluentd", 
                    "namespace": "logging", 
                    "resourceVersion": "1503", 
                    "selfLink": "/api/v1/namespaces/logging/configmaps/logging-fluentd", 
                    "uid": "9cbba2c8-4c8b-11e7-b203-0e7af10b3ca4"
                }
            }
        ], 
        "returncode": 0
    }, 
    "state": "present"
}

TASK [openshift_logging_fluentd : Set logging-fluentd secret] ******************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:154
ok: [openshift] => {
    "changed": false, 
    "checksum": "329f327941124f5027801af2a3b766502d8f09b6", 
    "dest": "/tmp/openshift-logging-ansible-9RSUxI/templates/logging-fluentd.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "d5d7133469932c7e4221112458e1e5f1", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:admin_home_t:s0", 
    "size": 3414, 
    "src": "/root/.ansible/tmp/ansible-tmp-1496954818.1-9125988931366/source", 
    "state": "file", 
    "uid": 0
}

TASK [openshift_logging_fluentd : Set logging-fluentd daemonset] ***************
task path: /tmp/tmp.Dr7eHw6FTr/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-08T20:46:59Z", 
                    "generation": 1, 
                    "labels": {
                        "component": "fluentd", 
                        "logging-infra": "fluentd", 
                        "provider": "openshift"
                    }, 
                    "name": "logging-fluentd", 
                    "namespace": "logging", 
                    "resourceVersion": "1509", 
                    "selfLink": "/apis/extensions/v1beta1/namespaces/logging/daemonsets/logging-fluentd", 
                    "uid": "9ddec22d-4c8b-11e7-b203-0e7af10b3ca4"
                }, 
                "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.131.52: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.Dr7eHw6FTr/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-08T20:29:28Z", 
                            "labels": {
                                "beta.kubernetes.io/arch": "amd64", 
                                "beta.kubernetes.io/os": "linux", 
                                "kubernetes.io/hostname": "172.18.4.251"
                            }, 
                            "name": "172.18.4.251", 
                            "namespace": "", 
                            "resourceVersion": "1510", 
                            "selfLink": "/api/v1/nodes/172.18.4.251", 
                            "uid": "2bbb31a1-4c89-11e7-b203-0e7af10b3ca4"
                        }, 
                        "spec": {
                            "externalID": "172.18.4.251", 
                            "providerID": "aws:////i-029fe27ec5c111b6f"
                        }, 
                        "status": {
                            "addresses": [
                                {
                                    "address": "172.18.4.251", 
                                    "type": "LegacyHostIP"
                                }, 
                                {
                                    "address": "172.18.4.251", 
                                    "type": "InternalIP"
                                }, 
                                {
                                    "address": "172.18.4.251", 
                                    "type": "Hostname"
                                }
                            ], 
                            "allocatable": {
                                "cpu": "4", 
                                "memory": "7129288Ki", 
                                "pods": "40"
                            }, 
                            "capacity": {
                                "cpu": "4", 
                                "memory": "7231688Ki", 
                                "pods": "40"
                            }, 
                            "conditions": [
                                {
                                    "lastHeartbeatTime": "2017-06-08T20:46:59Z", 
                                    "lastTransitionTime": "2017-06-08T20:29:28Z", 
                                    "message": "kubelet has sufficient disk space available", 
                                    "reason": "KubeletHasSufficientDisk", 
                                    "status": "False", 
                                    "type": "OutOfDisk"
                                }, 
                                {
                                    "lastHeartbeatTime": "2017-06-08T20:46:59Z", 
                                    "lastTransitionTime": "2017-06-08T20:29:28Z", 
                                    "message": "kubelet has sufficient memory available", 
                                    "reason": "KubeletHasSufficientMemory", 
                                    "status": "False", 
                                    "type": "MemoryPressure"
                                }, 
                                {
                                    "lastHeartbeatTime": "2017-06-08T20:46:59Z", 
                                    "lastTransitionTime": "2017-06-08T20:29:28Z", 
                                    "message": "kubelet has no disk pressure", 
                                    "reason": "KubeletHasNoDiskPressure", 
                                    "status": "False", 
                                    "type": "DiskPressure"
                                }, 
                                {
                                    "lastHeartbeatTime": "2017-06-08T20:46:59Z", 
                                    "lastTransitionTime": "2017-06-08T20:29:28Z", 
                                    "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:6ac12709d3236e73885b51f9d34af2c4443f988d913b24cf4fa8d446c076e901", 
                                        "docker.io/openshift/origin-docker-registry:latest"
                                    ], 
                                    "sizeBytes": 1100552981
                                }, 
                                {
                                    "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/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-sti-builder:6acabdc", 
                                        "openshift/origin-sti-builder:latest"
                                    ], 
                                    "sizeBytes": 1001728427
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-docker-builder:6acabdc", 
                                        "openshift/origin-docker-builder:latest"
                                    ], 
                                    "sizeBytes": 1001728427
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-f5-router:6acabdc", 
                                        "openshift/origin-f5-router:latest"
                                    ], 
                                    "sizeBytes": 1001728427
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-recycler:6acabdc", 
                                        "openshift/origin-recycler:latest"
                                    ], 
                                    "sizeBytes": 1001728427
                                }, 
                                {
                                    "names": [
                                        "openshift/origin-cluster-capacity:6acabdc", 
                                        "openshift/origin-cluster-capacity:latest"
                                    ], 
                                    "sizeBytes": 962455026
                                }, 
                                {
                                    "names": [
                                        "openshift/dind-master:latest"
                                    ], 
                                    "sizeBytes": 731456758
                                }, 
                                {
                                    "names": [
                                        "openshift/dind-node:latest"
                                    ], 
                                    "sizeBytes": 731453034
                                }, 
                                {
                                    "names": [
                                        "172.30.131.52:5000/logging/logging-auth-proxy@sha256:6a9f142cc25a79b09b4a1b9e6b848ae5eafb86357fbfb25a16060333e2919f3f", 
                                        "172.30.131.52:5000/logging/logging-auth-proxy:latest"
                                    ], 
                                    "sizeBytes": 715536037
                                }, 
                                {
                                    "names": [
                                        "<none>@<none>", 
                                        "<none>:<none>"
                                    ], 
                                    "sizeBytes": 709532011
                                }, 
                                {
                                    "names": [
                                        "docker.io/node@sha256:46db0dd19955beb87b841c30a6b9812ba626473283e84117d1c016deee5949a9", 
                                        "docker.io/node:0.10.36"
                                    ], 
                                    "sizeBytes": 697128386
                                }, 
                                {
                                    "names": [
                                        "172.30.131.52:5000/logging/logging-kibana@sha256:186802169d9712459d7086fd92a446fb5f0e422bf77bae490932880a00314134", 
                                        "172.30.131.52:5000/logging/logging-kibana:latest"
                                    ], 
                                    "sizeBytes": 682851529
                                }, 
                                {
                                    "names": [
                                        "openshift/dind:latest"
                                    ], 
                                    "sizeBytes": 640650210
                                }, 
                                {
                                    "names": [
                                        "172.30.131.52:5000/logging/logging-elasticsearch@sha256:345a2112895d1bd9f1c9be5f653fbfae20bcdbd5bde566619b70a160bba9a350", 
                                        "172.30.131.52:5000/logging/logging-elasticsearch:latest"
                                    ], 
                                    "sizeBytes": 623379825
                                }, 
                                {
                                    "names": [
                                        "172.30.131.52:5000/logging/logging-fluentd@sha256:bdfe76b5c66137bf186555505ca0284cdacd8c5599e8983184c4c9359617fd47", 
                                        "172.30.131.52:5000/logging/logging-fluentd:latest"
                                    ], 
                                    "sizeBytes": 472182652
                                }, 
                                {
                                    "names": [
                                        "172.30.131.52:5000/logging/logging-curator@sha256:7b2f603eb1fa58e01b2b4810d344489f491042d45b7ed80bff64e0badc500d77", 
                                        "172.30.131.52:5000/logging/logging-curator:latest"
                                    ], 
                                    "sizeBytes": 418287884
                                }, 
                                {
                                    "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": [
                                        "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": [
                                        "openshift/hello-openshift:6acabdc", 
                                        "openshift/hello-openshift:latest"
                                    ], 
                                    "sizeBytes": 5643318
                                }
                            ], 
                            "nodeInfo": {
                                "architecture": "amd64", 
                                "bootID": "613806f7-813d-4f7e-9950-d1accf002392", 
                                "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": "EC29753A-72E8-B3A9-EA68-3780FFE0C604"
                            }
                        }
                    }
                ], 
                "kind": "List", 
                "metadata": {}, 
                "resourceVersion": "", 
                "selfLink": ""
            }
        ], 
        "returncode": 0
    }, 
    "state": "list"
}

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

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

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

TASK [openshift_logging_fluentd : command] *************************************
task path: /tmp/tmp.Dr7eHw6FTr/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.503896", 
    "end": "2017-06-08 16:47:01.567060", 
    "rc": 0, 
    "start": "2017-06-08 16:47:01.063164"
}

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

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

TASK [openshift_logging : include] *********************************************
task path: /tmp/tmp.Dr7eHw6FTr/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.Dr7eHw6FTr/openhift-ansible/roles/openshift_logging/tasks/main.yaml:40
ok: [openshift -> 127.0.0.1] => {
    "changed": false, 
    "path": "/tmp/openshift-logging-ansible-tqJP39", 
    "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 17.234s: /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-5ufvzrs6-1-27kfh   0/1       ContainerCreating   0          4s
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-5ufvzrs6-1-27kfh   0/1       ContainerCreating   0          5s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-5ufvzrs6-1-27kfh   0/1       ContainerCreating   0          6s
... repeated 3 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-5ufvzrs6-1-27kfh   0/1       ContainerCreating   0          7s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-5ufvzrs6-1-27kfh   0/1       ContainerCreating   0          8s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-5ufvzrs6-1-27kfh   0/1       ContainerCreating   0          9s
... repeated 3 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-5ufvzrs6-1-27kfh   0/1       ContainerCreating   0          10s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-5ufvzrs6-1-27kfh   0/1       ContainerCreating   0          11s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-5ufvzrs6-1-27kfh   0/1       ContainerCreating   0          12s
... repeated 3 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-5ufvzrs6-1-27kfh   0/1       ContainerCreating   0          13s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-5ufvzrs6-1-27kfh   0/1       ContainerCreating   0          14s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-5ufvzrs6-1-27kfh   0/1       ContainerCreating   0          15s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-5ufvzrs6-1-27kfh   0/1       ContainerCreating   0          16s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-5ufvzrs6-1-27kfh   0/1       ContainerCreating   0          17s
... repeated 3 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-5ufvzrs6-1-27kfh   0/1       ContainerCreating   0          18s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-5ufvzrs6-1-27kfh   0/1       ContainerCreating   0          19s
... repeated 2 times
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-5ufvzrs6-1-27kfh   0/1       ContainerCreating   0          20s
NAME                                      READY     STATUS              RESTARTS   AGE
logging-es-data-master-5ufvzrs6-1-27kfh   0/1       ContainerCreating   0          21s
NAME                                      READY     STATUS    RESTARTS   AGE
logging-es-data-master-5ufvzrs6-1-27kfh   0/1       Running   0          21s
Standard error from the command:
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:171: executing 'oc get pods -l component=kibana' expecting any result and text 'Running'; re-trying every 0.2s until completion or 180.000s...
SUCCESS after 9.905s: /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-6cs5r   0/2       ContainerCreating   0          16s
... repeated 2 times
NAME                     READY     STATUS              RESTARTS   AGE
logging-kibana-1-6cs5r   0/2       ContainerCreating   0          17s
NAME                     READY     STATUS              RESTARTS   AGE
logging-kibana-1-6cs5r   0/2       ContainerCreating   0          18s
... repeated 2 times
NAME                     READY     STATUS              RESTARTS   AGE
logging-kibana-1-6cs5r   0/2       ContainerCreating   0          19s
NAME                     READY     STATUS              RESTARTS   AGE
logging-kibana-1-6cs5r   0/2       ContainerCreating   0          20s
... repeated 2 times
NAME                     READY     STATUS              RESTARTS   AGE
logging-kibana-1-6cs5r   0/2       ContainerCreating   0          21s
NAME                     READY     STATUS              RESTARTS   AGE
logging-kibana-1-6cs5r   0/2       ContainerCreating   0          22s
NAME                     READY     STATUS              RESTARTS   AGE
logging-kibana-1-6cs5r   0/2       ContainerCreating   0          23s
NAME                     READY     STATUS              RESTARTS   AGE
logging-kibana-1-6cs5r   0/2       ContainerCreating   0          24s
NAME                     READY     STATUS              RESTARTS   AGE
logging-kibana-1-6cs5r   0/2       ContainerCreating   0          25s
NAME                     READY     STATUS    RESTARTS   AGE
logging-kibana-1-6cs5r   1/2       Running   0          25s
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.405s: /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-zrmmt   1/1       Running   0          28s

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.435s: /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-10aztz22-1-j3dz5   0/1       Running   0          30s

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.423s: /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-d1f6h   1/2       Running   0          25s

There was no error output from the command.
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:177: executing 'oc get pods -l component=curator-ops' expecting any result and text 'Running'; re-trying every 0.2s until completion or 180.000s...
SUCCESS after 0.379s: /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-3cztq   1/1       Running   0          23s

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.451s: /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.131.52: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 20:47:36.310831136+00:00
added es message 224c340d-29bf-4fd8-af55-5868eeed4ee8
added es-ops message 0fcbe072-1c86-43bf-b46d-f510a32a36ae
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 224c340d-29bf-4fd8-af55-5868eeed4ee8
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 0fcbe072-1c86-43bf-b46d-f510a32a36ae
END wait_for_fluentd_to_catch_up took 13 seconds at 2017-06-08 20:47:49.746333998+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.330s: /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.4.251: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.286s: /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.264s: /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.329s: /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.4.251: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.311s: /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.218s: /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-5ufvzrs6-1-27kfh is ready
{
    "_id": "0",
    "_index": ".searchguard.logging-es-data-master-5ufvzrs6-1-27kfh",
    "_shards": {
        "failed": 0,
        "successful": 1,
        "total": 1
    },
    "_type": "rolesmapping",
    "_version": 2,
    "created": false
}
Checking if Elasticsearch logging-es-ops-data-master-10aztz22-1-j3dz5 is ready
{
    "_id": "0",
    "_index": ".searchguard.logging-es-ops-data-master-10aztz22-1-j3dz5",
    "_shards": {
        "failed": 0,
        "successful": 1,
        "total": 1
    },
    "_type": "rolesmapping",
    "_version": 2,
    "created": false
}
------------------------------------------
     Test 'admin' user can access cluster stats
------------------------------------------
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:265: executing 'test 200 = 200' expecting success...
SUCCESS after 0.010s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:265: executing 'test 200 = 200' expecting success
There was no output from the command.
There was no error output from the command.
------------------------------------------
     Test 'admin' user can access cluster stats for OPS cluster
------------------------------------------
Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:274: executing 'test 200 = 200' expecting success...
SUCCESS after 0.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.216s: 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.4.251: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.222s: 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.250s: 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.213s: 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.210s: 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.290s: 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.220s: 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.211s: 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.225s: 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-5ufvzrs6' expecting success...
SUCCESS after 0.211s: test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-es-data-master-5ufvzrs6' expecting success
Standard output from the command:
NAME                              REVISION   DESIRED   CURRENT   TRIGGERED BY
logging-es-data-master-5ufvzrs6   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-5ufvzrs6' expecting success...
SUCCESS after 0.211s: test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-es-data-master-5ufvzrs6' expecting success
Standard output from the command:
replication controller "logging-es-data-master-5ufvzrs6-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-10aztz22' expecting success...
SUCCESS after 0.217s: test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-es-ops-data-master-10aztz22' expecting success
Standard output from the command:
NAME                                  REVISION   DESIRED   CURRENT   TRIGGERED BY
logging-es-ops-data-master-10aztz22   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-10aztz22' expecting success...
SUCCESS after 0.222s: test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-es-ops-data-master-10aztz22' expecting success
Standard output from the command:
replication controller "logging-es-ops-data-master-10aztz22-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.262s: 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.221s: 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.217s: 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.51.218   <none>        9200/TCP   2m

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.225s: 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.172.227   <none>        9300/TCP   2m

There was no error output from the command.
Running test/cluster/rollout.sh:35: executing 'oc get service logging-kibana' expecting success...
SUCCESS after 0.208s: 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.139.62   <none>        443/TCP   1m

There was no error output from the command.
Running test/cluster/rollout.sh:35: executing 'oc get service logging-es-ops' expecting success...
SUCCESS after 0.216s: 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.217.153   <none>        9200/TCP   1m

There was no error output from the command.
Running test/cluster/rollout.sh:35: executing 'oc get service logging-es-ops-cluster' expecting success...
SUCCESS after 0.211s: 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.95.132   <none>        9300/TCP   1m

There was no error output from the command.
Running test/cluster/rollout.sh:35: executing 'oc get service logging-kibana-ops' expecting success...
SUCCESS after 0.214s: 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.206.117   <none>        443/TCP   1m

There was no error output from the command.
[INFO] Checking for OAuthClients...
Running test/cluster/rollout.sh:40: executing 'oc get oauthclient kibana-proxy' expecting success...
SUCCESS after 0.208s: 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   xoVRdTv1mcmwFndCrMyRXrOt3FmUV3FOIhSnXfs52CCIwmTl6Kh3MlOePfZ78cka   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.226s: test/cluster/rollout.sh:45: executing 'oc get daemonset logging-fluentd' expecting success
Standard output from the command:
NAME              DESIRED   CURRENT   READY     UP-TO-DATE   AVAILABLE   NODE-SELECTOR                AGE
logging-fluentd   1         1         1         1            1           logging-infra-fluentd=true   1m

There was no error output from the command.
Running test/cluster/rollout.sh:47: executing 'oc get daemonset logging-fluentd -o jsonpath='{ .status.numberReady }'' expecting any result and text '1'; re-trying every 0.2s until completion or 60.000s...
SUCCESS after 0.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.297s: 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 2.297s: test/cluster/functionality.sh:44: executing 'oc login --username=system:admin' expecting success
Standard output from the command:
Logged into "https://172.18.4.251:8443" as "system:admin" using existing credentials.

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

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

Using project "logging".

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

There was no error output from the command.
[INFO] Testing Kibana pod logging-kibana-1-6cs5r for a successful start...
Running test/cluster/functionality.sh:52: executing 'oc exec logging-kibana-1-6cs5r -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.302s: test/cluster/functionality.sh:52: executing 'oc exec logging-kibana-1-6cs5r -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-6cs5r -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.217s: test/cluster/functionality.sh:53: executing 'oc get pod logging-kibana-1-6cs5r -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-6cs5r -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.217s: test/cluster/functionality.sh:54: executing 'oc get pod logging-kibana-1-6cs5r -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-5ufvzrs6-1-27kfh for a successful start...
Running test/cluster/functionality.sh:59: executing 'curl_es 'logging-es-data-master-5ufvzrs6-1-27kfh' '/' -X HEAD -w '%{response_code}'' expecting any result and text '200'; re-trying every 0.2s until completion or 600.000s...
SUCCESS after 0.408s: test/cluster/functionality.sh:59: executing 'curl_es 'logging-es-data-master-5ufvzrs6-1-27kfh' '/' -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-5ufvzrs6-1-27kfh -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.210s: test/cluster/functionality.sh:60: executing 'oc get pod logging-es-data-master-5ufvzrs6-1-27kfh -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-5ufvzrs6-1-27kfh recovered its indices after starting...
Running test/cluster/functionality.sh:63: executing 'curl_es 'logging-es-data-master-5ufvzrs6-1-27kfh' '/_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.363s: test/cluster/functionality.sh:63: executing 'curl_es 'logging-es-data-master-5ufvzrs6-1-27kfh' '/_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":"Utni0dz9T-Cm3jpwV-TMcw"}200
There was no error output from the command.
[INFO] Elasticsearch pod logging-es-data-master-5ufvzrs6-1-27kfh is the master
[INFO] Checking that Elasticsearch pod logging-es-data-master-5ufvzrs6-1-27kfh has persisted indices created by Fluentd...
Running test/cluster/functionality.sh:76: executing 'curl_es 'logging-es-data-master-5ufvzrs6-1-27kfh' '/_cat/indices?h=index'' expecting any result and text '^(project|\.operations)\.'; re-trying every 0.2s until completion or 600.000s...
SUCCESS after 0.367s: test/cluster/functionality.sh:76: executing 'curl_es 'logging-es-data-master-5ufvzrs6-1-27kfh' '/_cat/indices?h=index'' expecting any result and text '^(project|\.operations)\.'; re-trying every 0.2s until completion or 600.000s
Standard output from the command:
.kibana.d033e22ae348aeb5660fc2140aec35850c4da997                
project.default.27b755f9-4c89-11e7-b203-0e7af10b3ca4.2017.06.08 
project.logging.2cf37d59-4c89-11e7-b203-0e7af10b3ca4.2017.06.08 
.kibana                                                         
.searchguard.logging-es-data-master-5ufvzrs6-1-27kfh            

There was no error output from the command.
[INFO] Cheking for index project.default.27b755f9-4c89-11e7-b203-0e7af10b3ca4 with Kibana pod logging-kibana-1-6cs5r...
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-6cs5r' 'logging-es:9200' 'project.default.27b755f9-4c89-11e7-b203-0e7af10b3ca4' '/var/log/containers/*_27b755f9-4c89-11e7-b203-0e7af10b3ca4_*.log' '500' 'admin' 'aWde2y15K85NVPSaxA--0b1mHAywVZInsRYckD3hgUw' '127.0.0.1'' expecting success...
SUCCESS after 9.518s: 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-6cs5r' 'logging-es:9200' 'project.default.27b755f9-4c89-11e7-b203-0e7af10b3ca4' '/var/log/containers/*_27b755f9-4c89-11e7-b203-0e7af10b3ca4_*.log' '500' 'admin' 'aWde2y15K85NVPSaxA--0b1mHAywVZInsRYckD3hgUw' '127.0.0.1'' expecting success
Standard output from the command:
Executing command [oc exec logging-kibana-1-6cs5r -- 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 aWde2y15K85NVPSaxA--0b1mHAywVZInsRYckD3hgUw' -H 'X-Forwarded-For: 127.0.0.1' -XGET "https://logging-es:9200/project.default.27b755f9-4c89-11e7-b203-0e7af10b3ca4.*/_search?q=hostname:ip-172-18-4-251&fields=message&size=500"]
Failure - no log entries found in Elasticsearch logging-es:9200 for index project.default.27b755f9-4c89-11e7-b203-0e7af10b3ca4

There was no error output from the command.
[INFO] Cheking for index project.logging.2cf37d59-4c89-11e7-b203-0e7af10b3ca4 with Kibana pod logging-kibana-1-6cs5r...
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-6cs5r' 'logging-es:9200' 'project.logging.2cf37d59-4c89-11e7-b203-0e7af10b3ca4' '/var/log/containers/*_2cf37d59-4c89-11e7-b203-0e7af10b3ca4_*.log' '500' 'admin' 'aWde2y15K85NVPSaxA--0b1mHAywVZInsRYckD3hgUw' '127.0.0.1'' expecting success...
SUCCESS after 0.574s: 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-6cs5r' 'logging-es:9200' 'project.logging.2cf37d59-4c89-11e7-b203-0e7af10b3ca4' '/var/log/containers/*_2cf37d59-4c89-11e7-b203-0e7af10b3ca4_*.log' '500' 'admin' 'aWde2y15K85NVPSaxA--0b1mHAywVZInsRYckD3hgUw' '127.0.0.1'' expecting success
Standard output from the command:
Executing command [oc exec logging-kibana-1-6cs5r -- 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 aWde2y15K85NVPSaxA--0b1mHAywVZInsRYckD3hgUw' -H 'X-Forwarded-For: 127.0.0.1' -XGET "https://logging-es:9200/project.logging.2cf37d59-4c89-11e7-b203-0e7af10b3ca4.*/_search?q=hostname:ip-172-18-4-251&fields=message&size=500"]
Failure - no log entries found in Elasticsearch logging-es:9200 for index project.logging.2cf37d59-4c89-11e7-b203-0e7af10b3ca4

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

There was no error output from the command.
[INFO] Testing Kibana pod logging-kibana-ops-1-d1f6h for a successful start...
Running test/cluster/functionality.sh:52: executing 'oc exec logging-kibana-ops-1-d1f6h -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.287s: test/cluster/functionality.sh:52: executing 'oc exec logging-kibana-ops-1-d1f6h -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-d1f6h -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-ops-1-d1f6h -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-d1f6h -o jsonpath='{ .status.containerStatuses[?(@.name=="kibana-proxy")].ready }'' expecting any result and text 'true'; re-trying every 0.2s until completion or 60.000s...
SUCCESS after 0.212s: test/cluster/functionality.sh:54: executing 'oc get pod logging-kibana-ops-1-d1f6h -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-10aztz22-1-j3dz5 for a successful start...
Running test/cluster/functionality.sh:59: executing 'curl_es 'logging-es-ops-data-master-10aztz22-1-j3dz5' '/' -X HEAD -w '%{response_code}'' expecting any result and text '200'; re-trying every 0.2s until completion or 600.000s...
SUCCESS after 0.380s: test/cluster/functionality.sh:59: executing 'curl_es 'logging-es-ops-data-master-10aztz22-1-j3dz5' '/' -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-10aztz22-1-j3dz5 -o jsonpath='{ .status.containerStatuses[?(@.name=="elasticsearch")].ready }'' expecting any result and text 'true'; re-trying every 0.2s until completion or 60.000s...
SUCCESS after 0.216s: test/cluster/functionality.sh:60: executing 'oc get pod logging-es-ops-data-master-10aztz22-1-j3dz5 -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-10aztz22-1-j3dz5 recovered its indices after starting...
Running test/cluster/functionality.sh:63: executing 'curl_es 'logging-es-ops-data-master-10aztz22-1-j3dz5' '/_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.356s: test/cluster/functionality.sh:63: executing 'curl_es 'logging-es-ops-data-master-10aztz22-1-j3dz5' '/_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":"DkoDhA3sRUq5lMtjR1FjOg"}200
There was no error output from the command.
[INFO] Elasticsearch pod logging-es-ops-data-master-10aztz22-1-j3dz5 is the master
[INFO] Checking that Elasticsearch pod logging-es-ops-data-master-10aztz22-1-j3dz5 has persisted indices created by Fluentd...
Running test/cluster/functionality.sh:76: executing 'curl_es 'logging-es-ops-data-master-10aztz22-1-j3dz5' '/_cat/indices?h=index'' expecting any result and text '^(project|\.operations)\.'; re-trying every 0.2s until completion or 600.000s...
SUCCESS after 0.446s: test/cluster/functionality.sh:76: executing 'curl_es 'logging-es-ops-data-master-10aztz22-1-j3dz5' '/_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         
.searchguard.logging-es-ops-data-master-10aztz22-1-j3dz5 
.operations.2017.06.08                                   
.kibana                                                  

There was no error output from the command.
[INFO] Cheking for index .operations with Kibana pod logging-kibana-ops-1-d1f6h...
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-d1f6h' 'logging-es-ops:9200' '.operations' '/var/log/messages' '500' 'admin' 'TIT4Z4IE7XvkuLJz5LJysvm7r4BOD6Q5_Q2aZOU_h-Q' '127.0.0.1'' expecting success...
SUCCESS after 0.761s: 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-d1f6h' 'logging-es-ops:9200' '.operations' '/var/log/messages' '500' 'admin' 'TIT4Z4IE7XvkuLJz5LJysvm7r4BOD6Q5_Q2aZOU_h-Q' '127.0.0.1'' expecting success
Standard output from the command:
Executing command [oc exec logging-kibana-ops-1-d1f6h -- 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 TIT4Z4IE7XvkuLJz5LJysvm7r4BOD6Q5_Q2aZOU_h-Q' -H 'X-Forwarded-For: 127.0.0.1' -XGET "https://logging-es-ops:9200/.operations.*/_search?q=hostname:ip-172-18-4-251&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-10aztz22-1-j3dz5 contains common data model index templates...
Running test/cluster/functionality.sh:105: executing 'oc exec logging-es-ops-data-master-10aztz22-1-j3dz5 -- ls -1 /usr/share/elasticsearch/index_templates' expecting success...
SUCCESS after 0.280s: test/cluster/functionality.sh:105: executing 'oc exec logging-es-ops-data-master-10aztz22-1-j3dz5 -- 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-10aztz22-1-j3dz5' '/_template/com.redhat.viaq-openshift-operations.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'...
SUCCESS after 0.359s: test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-ops-data-master-10aztz22-1-j3dz5' '/_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-10aztz22-1-j3dz5' '/_template/com.redhat.viaq-openshift-project.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'...
SUCCESS after 0.372s: test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-ops-data-master-10aztz22-1-j3dz5' '/_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-5ufvzrs6-1-27kfh
default-index.curatortest.2017.05.08
default-index.curatortest.2017.06.08
project.default.27b755f9-4c89-11e7-b203-0e7af10b3ca4.2017.06.08
project.logging.2cf37d59-4c89-11e7-b203-0e7af10b3ca4.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 20:54:45 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-5ufvzrs6-1-27kfh
default-index.curatortest.2017.06.08
project.default.27b755f9-4c89-11e7-b203-0e7af10b3ca4.2017.06.08
project.logging.2cf37d59-4c89-11e7-b203-0e7af10b3ca4.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-5ufvzrs6-1-27kfh
default-index.curatortest.2017.05.08
default-index.curatortest.2017.06.08
project.default.27b755f9-4c89-11e7-b203-0e7af10b3ca4.2017.06.08
project.logging.2cf37d59-4c89-11e7-b203-0e7af10b3ca4.2017.06.08
project.project-dev.curatortest.2017.06.07
project.project-dev.curatortest.2017.06.08
project.project-prod.curatortest.2017.05.11
project.project-prod.curatortest.2017.06.08
project.project-qe.curatortest.2017.06.01
project.project-qe.curatortest.2017.06.08
project.project2-qe.curatortest.2017.06.01
project.project2-qe.curatortest.2017.06.08
project.project3-qe.curatortest.2017.06.01
project.project3-qe.curatortest.2017.06.08
sleeping 218 seconds to see if runhour and runminute are working . . .
verify indices deletion again
current indices after 2nd deletion are:
.kibana
.kibana.d033e22ae348aeb5660fc2140aec35850c4da997
.operations.curatortest.2017.06.08
.searchguard.logging-es-data-master-5ufvzrs6-1-27kfh
default-index.curatortest.2017.06.08
project.default.27b755f9-4c89-11e7-b203-0e7af10b3ca4.2017.06.08
project.logging.2cf37d59-4c89-11e7-b203-0e7af10b3ca4.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-10aztz22-1-j3dz5
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 21:00:07 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-10aztz22-1-j3dz5
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-10aztz22-1-j3dz5
default-index.curatortest.2017.05.08
default-index.curatortest.2017.06.08
project.project-dev.curatortest.2017.06.07
project.project-dev.curatortest.2017.06.08
project.project-prod.curatortest.2017.05.11
project.project-prod.curatortest.2017.06.08
project.project-qe.curatortest.2017.06.01
project.project-qe.curatortest.2017.06.08
project.project2-qe.curatortest.2017.06.01
project.project2-qe.curatortest.2017.06.08
project.project3-qe.curatortest.2017.06.01
project.project3-qe.curatortest.2017.06.08
sleeping 218 seconds to see if runhour and runminute are working . . .
verify indices deletion again
current indices after 2nd deletion are:
.kibana
.kibana.d033e22ae348aeb5660fc2140aec35850c4da997
.operations.2017.06.08
.operations.curatortest.2017.06.08
.searchguard.logging-es-ops-data-master-10aztz22-1-j3dz5
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=NHwQPGgD_RtIickxM9ZkOVeBpQJSepb1rJ6rkHDZU-Y
+++ 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-4kl9f
+++ date +%z
++ nodetz=-0400
+++ oc exec logging-fluentd-4kl9f -- date +%z
++ podtz=-0400
++ '[' x-0400 = x-0400 ']'
+++ date +%Z
++ echo Good - node timezone -0400 EDT is equal to the fluentd pod timezone
Good - node timezone -0400 EDT is equal to the fluentd pod timezone
++ docker_uses_journal
++ type -p docker
++ sudo docker info
++ grep -q 'Logging Driver: journald'
WARNING: bridge-nf-call-ip6tables is disabled
++ 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=2iql0ZQ5klgBGRLAxGB8QXBzk7yHbLV9I364ZDKxgSc
+++ 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-4kl9f
+++ mktemp
++ cfg=/tmp/tmp.m1HAVAVV6m
++ 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-4kl9f
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-4kl9f
++ '[' -z logging-fluentd-4kl9f -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-4kl9f
++ '[' stop = start ']'
++ break
++ '[' 120 -le 0 ']'
++ return 0
++ oc process logging-fluentd-template
++ oc create -f -
daemonset "logging-fluentd" created
++ wait_for_pod_ACTION start fluentd
++ local ii=120
++ local incr=10
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
pod for component=fluentd not running yet
++ curpod=
++ '[' 120 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z '' ']'
++ '[' -n '' ']'
++ '[' -n 1 ']'
++ echo pod for component=fluentd not running yet
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=logging-fluentd-qsq8x
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-qsq8x ']'
++ 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-qsq8x
+++ mktemp
++ origconfig=/tmp/tmp.dxsN0lQ9cw
++ 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=1496956250
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 21:10:50.859385130+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 21:10:50.859385130+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-5ufvzrs6-1-27kfh
+++ 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-10aztz22-1-j3dz5
++ '[' -z logging-es-ops-data-master-10aztz22-1-j3dz5 ']'
+++ uuidgen
++ local uuid_es=5193a5cf-04b5-4dd9-a6f8-a511d3886667
+++ uuidgen
++ local uuid_es_ops=75ce711a-42a4-4260-9bca-85c032126096
++ local expected=1
++ local timeout=300
++ add_test_message 5193a5cf-04b5-4dd9-a6f8-a511d3886667
+++ 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-6cs5r
++ oc exec logging-kibana-1-6cs5r -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/5193a5cf-04b5-4dd9-a6f8-a511d3886667
++ echo added es message 5193a5cf-04b5-4dd9-a6f8-a511d3886667
added es message 5193a5cf-04b5-4dd9-a6f8-a511d3886667
++ logger -i -p local6.info -t 75ce711a-42a4-4260-9bca-85c032126096 75ce711a-42a4-4260-9bca-85c032126096
added es-ops message 75ce711a-42a4-4260-9bca-85c032126096
++ echo added es-ops message 75ce711a-42a4-4260-9bca-85c032126096
++ local rc=0
++ espod=logging-es-data-master-5ufvzrs6-1-27kfh
++ myproject=project.logging
++ mymessage=5193a5cf-04b5-4dd9-a6f8-a511d3886667
++ 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-5ufvzrs6-1-27kfh project.logging _count message 5193a5cf-04b5-4dd9-a6f8-a511d3886667
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 5193a5cf-04b5-4dd9-a6f8-a511d3886667
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 5193a5cf-04b5-4dd9-a6f8-a511d3886667
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 5193a5cf-04b5-4dd9-a6f8-a511d3886667
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 5193a5cf-04b5-4dd9-a6f8-a511d3886667
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 5193a5cf-04b5-4dd9-a6f8-a511d3886667
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 5193a5cf-04b5-4dd9-a6f8-a511d3886667
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 5193a5cf-04b5-4dd9-a6f8-a511d3886667
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 5193a5cf-04b5-4dd9-a6f8-a511d3886667
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 5193a5cf-04b5-4dd9-a6f8-a511d3886667
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ get_count_from_json
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
+++ 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
++ '[' 290 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging _count message 5193a5cf-04b5-4dd9-a6f8-a511d3886667
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5193a5cf-04b5-4dd9-a6f8-a511d3886667'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 290 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 5193a5cf-04b5-4dd9-a6f8-a511d3886667
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 5193a5cf-04b5-4dd9-a6f8-a511d3886667
++ espod=logging-es-ops-data-master-10aztz22-1-j3dz5
++ myproject=.operations
++ mymessage=75ce711a-42a4-4260-9bca-85c032126096
++ 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-10aztz22-1-j3dz5 .operations _count systemd.u.SYSLOG_IDENTIFIER 75ce711a-42a4-4260-9bca-85c032126096
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-10aztz22-1-j3dz5 '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:75ce711a-42a4-4260-9bca-85c032126096' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-10aztz22-1-j3dz5
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:75ce711a-42a4-4260-9bca-85c032126096'
+++ 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-10aztz22-1-j3dz5 -- 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:75ce711a-42a4-4260-9bca-85c032126096'
++ 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 75ce711a-42a4-4260-9bca-85c032126096
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 75ce711a-42a4-4260-9bca-85c032126096
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496956266
+++ expr 1496956266 - 1496956250
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 16 seconds at 2017-06-08 21:11:06.588838037+00:00
++ echo END wait_for_fluentd_to_catch_up took 16 seconds at 2017-06-08 21:11:06.588838037+00:00
++ return 0
++ '[' 0 -ne 0 ']'
++ return 0
++ trap cleanup INT TERM EXIT
+++ mktemp
++ nocopy=/tmp/tmp.wqbap2EBwv
++ sed /_COPY/,/value/d /tmp/tmp.dxsN0lQ9cw
+++ mktemp
++ envpatch=/tmp/tmp.8Ygrvcs2Rv
++ 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.wqbap2EBwv
++ cat
++ cat /tmp/tmp.wqbap2EBwv
++ sed '/^        - env:/r /tmp/tmp.8Ygrvcs2Rv'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.8Ygrvcs2Rv /tmp/tmp.wqbap2EBwv
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-qsq8x
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-qsq8x
++ '[' -z logging-fluentd-qsq8x -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-qsq8x
++ '[' 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-8m63h
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-8m63h ']'
++ 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-8m63h
++ write_and_verify_logs 2
++ rc=0
++ wait_for_fluentd_to_catch_up '' '' 2
+++ date +%s
++ local starttime=1496956290
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 21:11:30.240631910+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 21:11:30.240631910+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-5ufvzrs6-1-27kfh
+++ 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-10aztz22-1-j3dz5
++ '[' -z logging-es-ops-data-master-10aztz22-1-j3dz5 ']'
+++ uuidgen
++ local uuid_es=5afea6c4-28d4-4f76-829d-b9a177b3f856
+++ uuidgen
++ local uuid_es_ops=4a24a6ee-c51a-44be-938b-fec6e76d75ea
++ local expected=2
++ local timeout=300
++ add_test_message 5afea6c4-28d4-4f76-829d-b9a177b3f856
+++ 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-6cs5r
++ oc exec logging-kibana-1-6cs5r -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/5afea6c4-28d4-4f76-829d-b9a177b3f856
++ echo added es message 5afea6c4-28d4-4f76-829d-b9a177b3f856
added es message 5afea6c4-28d4-4f76-829d-b9a177b3f856
++ logger -i -p local6.info -t 4a24a6ee-c51a-44be-938b-fec6e76d75ea 4a24a6ee-c51a-44be-938b-fec6e76d75ea
added es-ops message 4a24a6ee-c51a-44be-938b-fec6e76d75ea
++ echo added es-ops message 4a24a6ee-c51a-44be-938b-fec6e76d75ea
++ local rc=0
++ espod=logging-es-data-master-5ufvzrs6-1-27kfh
++ myproject=project.logging
++ mymessage=5afea6c4-28d4-4f76-829d-b9a177b3f856
++ 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
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging _count message 5afea6c4-28d4-4f76-829d-b9a177b3f856
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 5afea6c4-28d4-4f76-829d-b9a177b3f856
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 5afea6c4-28d4-4f76-829d-b9a177b3f856
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 5afea6c4-28d4-4f76-829d-b9a177b3f856
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 5afea6c4-28d4-4f76-829d-b9a177b3f856
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 5afea6c4-28d4-4f76-829d-b9a177b3f856
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 5afea6c4-28d4-4f76-829d-b9a177b3f856
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 5afea6c4-28d4-4f76-829d-b9a177b3f856
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 5afea6c4-28d4-4f76-829d-b9a177b3f856
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 5afea6c4-28d4-4f76-829d-b9a177b3f856
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 290 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging _count message 5afea6c4-28d4-4f76-829d-b9a177b3f856
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 289 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging _count message 5afea6c4-28d4-4f76-829d-b9a177b3f856
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 288 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging _count message 5afea6c4-28d4-4f76-829d-b9a177b3f856
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 287 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging _count message 5afea6c4-28d4-4f76-829d-b9a177b3f856
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
++ local nrecs=0
++ test 0 = 2
++ sleep 1
++ let ii=ii-1
++ '[' 286 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging _count message 5afea6c4-28d4-4f76-829d-b9a177b3f856
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5afea6c4-28d4-4f76-829d-b9a177b3f856'
++ local nrecs=2
++ test 2 = 2
++ break
++ '[' 286 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 2 record project logging for 5afea6c4-28d4-4f76-829d-b9a177b3f856
good - wait_for_fluentd_to_catch_up: found 2 record project logging for 5afea6c4-28d4-4f76-829d-b9a177b3f856
++ espod=logging-es-ops-data-master-10aztz22-1-j3dz5
++ myproject=.operations
++ mymessage=4a24a6ee-c51a-44be-938b-fec6e76d75ea
++ 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-10aztz22-1-j3dz5 .operations _count systemd.u.SYSLOG_IDENTIFIER 4a24a6ee-c51a-44be-938b-fec6e76d75ea
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-10aztz22-1-j3dz5 '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:4a24a6ee-c51a-44be-938b-fec6e76d75ea' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-10aztz22-1-j3dz5
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:4a24a6ee-c51a-44be-938b-fec6e76d75ea'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-10aztz22-1-j3dz5 -- 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:4a24a6ee-c51a-44be-938b-fec6e76d75ea'
++ 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 4a24a6ee-c51a-44be-938b-fec6e76d75ea
++ echo good - wait_for_fluentd_to_catch_up: found 2 record project .operations for 4a24a6ee-c51a-44be-938b-fec6e76d75ea
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496956311
+++ expr 1496956311 - 1496956290
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 21 seconds at 2017-06-08 21:11:51.392486061+00:00
++ echo END wait_for_fluentd_to_catch_up took 21 seconds at 2017-06-08 21:11:51.392486061+00:00
++ return 0
++ '[' 0 -ne 0 ']'
++ return 0
++ oc replace --force -f /tmp/tmp.dxsN0lQ9cw
template "logging-fluentd-template" deleted
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.dxsN0lQ9cw
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-8m63h
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-8m63h
++ '[' -z logging-fluentd-8m63h -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-8m63h
++ '[' 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-t2b89
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-t2b89 ']'
++ 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-t2b89
++ write_and_verify_logs 1
++ rc=0
++ wait_for_fluentd_to_catch_up '' '' 1
+++ date +%s
++ local starttime=1496956339
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 21:12:19.968272114+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 21:12:19.968272114+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-5ufvzrs6-1-27kfh
+++ 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-10aztz22-1-j3dz5
++ '[' -z logging-es-ops-data-master-10aztz22-1-j3dz5 ']'
+++ uuidgen
++ local uuid_es=2adcedde-1d9c-44fe-a6b1-cf50e73c790a
+++ uuidgen
++ local uuid_es_ops=26baf343-8cc3-4150-85ec-54887b07e330
++ local expected=1
++ local timeout=300
++ add_test_message 2adcedde-1d9c-44fe-a6b1-cf50e73c790a
+++ 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-6cs5r
++ oc exec logging-kibana-1-6cs5r -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/2adcedde-1d9c-44fe-a6b1-cf50e73c790a
++ echo added es message 2adcedde-1d9c-44fe-a6b1-cf50e73c790a
added es message 2adcedde-1d9c-44fe-a6b1-cf50e73c790a
++ logger -i -p local6.info -t 26baf343-8cc3-4150-85ec-54887b07e330 26baf343-8cc3-4150-85ec-54887b07e330
added es-ops message 26baf343-8cc3-4150-85ec-54887b07e330
++ echo added es-ops message 26baf343-8cc3-4150-85ec-54887b07e330
++ local rc=0
++ espod=logging-es-data-master-5ufvzrs6-1-27kfh
++ myproject=project.logging
++ mymessage=2adcedde-1d9c-44fe-a6b1-cf50e73c790a
++ expected=1
++ wait_until_cmd_or_err test_count_expected test_count_err 300
++ let ii=300
++ local interval=1
++ '[' 300 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging _count message 2adcedde-1d9c-44fe-a6b1-cf50e73c790a
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 2adcedde-1d9c-44fe-a6b1-cf50e73c790a
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 2adcedde-1d9c-44fe-a6b1-cf50e73c790a
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 2adcedde-1d9c-44fe-a6b1-cf50e73c790a
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a'
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 2adcedde-1d9c-44fe-a6b1-cf50e73c790a
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 2adcedde-1d9c-44fe-a6b1-cf50e73c790a
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 2adcedde-1d9c-44fe-a6b1-cf50e73c790a
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 2adcedde-1d9c-44fe-a6b1-cf50e73c790a
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:2adcedde-1d9c-44fe-a6b1-cf50e73c790a'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 293 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 2adcedde-1d9c-44fe-a6b1-cf50e73c790a
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 2adcedde-1d9c-44fe-a6b1-cf50e73c790a
++ espod=logging-es-ops-data-master-10aztz22-1-j3dz5
++ myproject=.operations
++ mymessage=26baf343-8cc3-4150-85ec-54887b07e330
++ 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-10aztz22-1-j3dz5 .operations _count systemd.u.SYSLOG_IDENTIFIER 26baf343-8cc3-4150-85ec-54887b07e330
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-10aztz22-1-j3dz5 '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:26baf343-8cc3-4150-85ec-54887b07e330' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-10aztz22-1-j3dz5
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:26baf343-8cc3-4150-85ec-54887b07e330'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-10aztz22-1-j3dz5 -- 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:26baf343-8cc3-4150-85ec-54887b07e330'
++ 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 26baf343-8cc3-4150-85ec-54887b07e330
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 26baf343-8cc3-4150-85ec-54887b07e330
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496956351
+++ expr 1496956351 - 1496956339
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 12 seconds at 2017-06-08 21:12:31.480975148+00:00
++ echo END wait_for_fluentd_to_catch_up took 12 seconds at 2017-06-08 21:12:31.480975148+00:00
++ return 0
++ '[' 0 -ne 0 ']'
++ return 0
++ cleanup
++ '[' '!' -f /tmp/tmp.dxsN0lQ9cw ']'
++ 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=20Iqh50BA8ILKkm6df-K7gFicEuvEkE4UrqpCY9Fcnw
+++ 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-t2b89
++ write_and_verify_logs 1
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up '' ''
+++ date +%s
++ local starttime=1496956352
+++ date -u --rfc-3339=ns
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 21:12:32.851100595+00:00
START wait_for_fluentd_to_catch_up at 2017-06-08 21:12:32.851100595+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-5ufvzrs6-1-27kfh
+++ 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-10aztz22-1-j3dz5
++ '[' -z logging-es-ops-data-master-10aztz22-1-j3dz5 ']'
+++ uuidgen
++ local uuid_es=b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0
+++ uuidgen
++ local uuid_es_ops=af3d2fc9-df20-4b2c-a5da-102e009e4df8
++ local expected=1
++ local timeout=300
++ add_test_message b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0
+++ 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-6cs5r
++ oc exec logging-kibana-1-6cs5r -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0
added es message b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0
++ echo added es message b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0
++ logger -i -p local6.info -t af3d2fc9-df20-4b2c-a5da-102e009e4df8 af3d2fc9-df20-4b2c-a5da-102e009e4df8
added es-ops message af3d2fc9-df20-4b2c-a5da-102e009e4df8
++ echo added es-ops message af3d2fc9-df20-4b2c-a5da-102e009e4df8
++ local rc=0
++ espod=logging-es-data-master-5ufvzrs6-1-27kfh
++ myproject=project.logging
++ mymessage=b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0
++ 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-5ufvzrs6-1-27kfh project.logging _count message b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ get_count_from_json
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0'
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 295 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging _count message b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 295 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project logging for b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for b32648dd-2d7b-4b3c-b4a6-5d25c91eecc0
++ espod=logging-es-ops-data-master-10aztz22-1-j3dz5
++ myproject=.operations
++ mymessage=af3d2fc9-df20-4b2c-a5da-102e009e4df8
++ 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-10aztz22-1-j3dz5 .operations _count systemd.u.SYSLOG_IDENTIFIER af3d2fc9-df20-4b2c-a5da-102e009e4df8
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-10aztz22-1-j3dz5 '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:af3d2fc9-df20-4b2c-a5da-102e009e4df8' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-10aztz22-1-j3dz5
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:af3d2fc9-df20-4b2c-a5da-102e009e4df8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-10aztz22-1-j3dz5 -- 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:af3d2fc9-df20-4b2c-a5da-102e009e4df8'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 300 -le 0 ']'
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for af3d2fc9-df20-4b2c-a5da-102e009e4df8
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for af3d2fc9-df20-4b2c-a5da-102e009e4df8
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496956361
+++ expr 1496956361 - 1496956352
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 9 seconds at 2017-06-08 21:12:41.719545859+00:00
++ echo END wait_for_fluentd_to_catch_up took 9 seconds at 2017-06-08 21:12:41.719545859+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.131.52: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.4.251" 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-szw50
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-forward-fluentd-szw50 ']'
++ break
++ '[' 110 -le 0 ']'
++ return 0
++ update_current_fluentd
++ oc label node --all logging-infra-fluentd-
node "172.18.4.251" labeled
++ wait_for_pod_ACTION stop logging-fluentd-t2b89
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-t2b89
++ '[' -z logging-fluentd-t2b89 -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-t2b89
++ '[' -n 1 ']'
pod logging-fluentd-t2b89 still running
++ echo pod logging-fluentd-t2b89 still running
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' stop = start ']'
++ '[' 110 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-t2b89
++ '[' 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-szw50
+++ oc get pods/logging-forward-fluentd-szw50 '--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.4.251" 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-bw9d4
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-bw9d4 ']'
++ 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=1496956395
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 21:13:15.110280433+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 21:13:15.110280433+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-5ufvzrs6-1-27kfh
+++ 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-10aztz22-1-j3dz5
++ '[' -z logging-es-ops-data-master-10aztz22-1-j3dz5 ']'
+++ uuidgen
++ local uuid_es=db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ uuidgen
++ local uuid_es_ops=6c20b8b8-591a-417d-a537-96833ab88103
++ local expected=1
++ local timeout=300
++ add_test_message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ 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-6cs5r
++ oc exec logging-kibana-1-6cs5r -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/db59991c-66b3-4eac-9f5f-b1638fb0a8a6
++ echo added es message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
added es message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
++ logger -i -p local6.info -t 6c20b8b8-591a-417d-a537-96833ab88103 6c20b8b8-591a-417d-a537-96833ab88103
added es-ops message 6c20b8b8-591a-417d-a537-96833ab88103
++ echo added es-ops message 6c20b8b8-591a-417d-a537-96833ab88103
++ local rc=0
++ espod=logging-es-data-master-5ufvzrs6-1-27kfh
++ myproject=project.logging
++ mymessage=db59991c-66b3-4eac-9f5f-b1638fb0a8a6
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 296 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ get_count_from_json
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ get_count_from_json
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ 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
++ '[' 290 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ get_count_from_json
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 276 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ get_count_from_json
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ 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-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ 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
++ '[' 246 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 245 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 244 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 243 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 242 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging _count message db59991c-66b3-4eac-9f5f-b1638fb0a8a6
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:db59991c-66b3-4eac-9f5f-b1638fb0a8a6'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 242 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project logging for db59991c-66b3-4eac-9f5f-b1638fb0a8a6
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for db59991c-66b3-4eac-9f5f-b1638fb0a8a6
++ espod=logging-es-ops-data-master-10aztz22-1-j3dz5
++ myproject=.operations
++ mymessage=6c20b8b8-591a-417d-a537-96833ab88103
++ 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-10aztz22-1-j3dz5 .operations _count systemd.u.SYSLOG_IDENTIFIER 6c20b8b8-591a-417d-a537-96833ab88103
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-10aztz22-1-j3dz5 '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:6c20b8b8-591a-417d-a537-96833ab88103' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-10aztz22-1-j3dz5
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:6c20b8b8-591a-417d-a537-96833ab88103'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-10aztz22-1-j3dz5 -- 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:6c20b8b8-591a-417d-a537-96833ab88103'
++ 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 6c20b8b8-591a-417d-a537-96833ab88103
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 6c20b8b8-591a-417d-a537-96833ab88103
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496956477
+++ expr 1496956477 - 1496956395
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 82 seconds at 2017-06-08 21:14:37.579728035+00:00
++ echo END wait_for_fluentd_to_catch_up took 82 seconds at 2017-06-08 21:14:37.579728035+00:00
++ return 0
++ return 0
++ cleanup
++ cleanup_forward
++ oc label node --all logging-infra-fluentd-
node "172.18.4.251" labeled
++ wait_for_pod_ACTION stop logging-fluentd-t2b89
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-t2b89
++ '[' -z logging-fluentd-t2b89 -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-t2b89
++ '[' 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.4.251" 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-5l8ss
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-5l8ss ']'
++ 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-5l8ss
++ oc get events -o yaml
++ write_and_verify_logs 1
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up '' ''
+++ date +%s
++ local starttime=1496956501
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 21:15:01.124478950+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 21:15:01.124478950+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-5ufvzrs6-1-27kfh
+++ 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-10aztz22-1-j3dz5
++ '[' -z logging-es-ops-data-master-10aztz22-1-j3dz5 ']'
+++ uuidgen
++ local uuid_es=9fc34db7-1675-4341-bf60-90cdf75c335b
+++ uuidgen
++ local uuid_es_ops=43688c23-92bb-4bef-82ba-264c4ddd6510
++ local expected=1
++ local timeout=300
++ add_test_message 9fc34db7-1675-4341-bf60-90cdf75c335b
+++ 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-6cs5r
++ oc exec logging-kibana-1-6cs5r -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/9fc34db7-1675-4341-bf60-90cdf75c335b
++ echo added es message 9fc34db7-1675-4341-bf60-90cdf75c335b
added es message 9fc34db7-1675-4341-bf60-90cdf75c335b
++ logger -i -p local6.info -t 43688c23-92bb-4bef-82ba-264c4ddd6510 43688c23-92bb-4bef-82ba-264c4ddd6510
added es-ops message 43688c23-92bb-4bef-82ba-264c4ddd6510
++ echo added es-ops message 43688c23-92bb-4bef-82ba-264c4ddd6510
++ local rc=0
++ espod=logging-es-data-master-5ufvzrs6-1-27kfh
++ myproject=project.logging
++ mymessage=9fc34db7-1675-4341-bf60-90cdf75c335b
++ 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-5ufvzrs6-1-27kfh project.logging _count message 9fc34db7-1675-4341-bf60-90cdf75c335b
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 9fc34db7-1675-4341-bf60-90cdf75c335b
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 9fc34db7-1675-4341-bf60-90cdf75c335b
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 9fc34db7-1675-4341-bf60-90cdf75c335b
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 9fc34db7-1675-4341-bf60-90cdf75c335b
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 9fc34db7-1675-4341-bf60-90cdf75c335b
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 9fc34db7-1675-4341-bf60-90cdf75c335b
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 9fc34db7-1675-4341-bf60-90cdf75c335b
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 9fc34db7-1675-4341-bf60-90cdf75c335b
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 9fc34db7-1675-4341-bf60-90cdf75c335b
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
++ 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-5ufvzrs6-1-27kfh project.logging _count message 9fc34db7-1675-4341-bf60-90cdf75c335b
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9fc34db7-1675-4341-bf60-90cdf75c335b'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 290 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project logging for 9fc34db7-1675-4341-bf60-90cdf75c335b
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 9fc34db7-1675-4341-bf60-90cdf75c335b
++ espod=logging-es-ops-data-master-10aztz22-1-j3dz5
++ myproject=.operations
++ mymessage=43688c23-92bb-4bef-82ba-264c4ddd6510
++ 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-10aztz22-1-j3dz5 .operations _count systemd.u.SYSLOG_IDENTIFIER 43688c23-92bb-4bef-82ba-264c4ddd6510
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-10aztz22-1-j3dz5 '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:43688c23-92bb-4bef-82ba-264c4ddd6510' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-10aztz22-1-j3dz5
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:43688c23-92bb-4bef-82ba-264c4ddd6510'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-10aztz22-1-j3dz5 -- 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:43688c23-92bb-4bef-82ba-264c4ddd6510'
++ 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 43688c23-92bb-4bef-82ba-264c4ddd6510
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 43688c23-92bb-4bef-82ba-264c4ddd6510
++ '[' -n '' ']'
++ '[' -n '' ']'
+++ date +%s
++ local endtime=1496956516
+++ expr 1496956516 - 1496956501
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 15 seconds at 2017-06-08 21:15:16.686255778+00:00
++ echo END wait_for_fluentd_to_catch_up took 15 seconds at 2017-06-08 21:15:16.686255778+00:00
++ return 0
++ return 0
++ cleanup
++ cleanup_forward
++ oc label node --all logging-infra-fluentd-
node "172.18.4.251" labeled
++ wait_for_pod_ACTION stop logging-fluentd-5l8ss
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-5l8ss
++ '[' -z logging-fluentd-5l8ss -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-5l8ss
++ '[' -n 1 ']'
pod logging-fluentd-5l8ss still running
++ echo pod logging-fluentd-5l8ss still running
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' stop = start ']'
++ '[' 110 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-5l8ss
++ '[' 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.4.251" labeled
++ wait_for_pod_ACTION start fluentd
++ local ii=120
++ local incr=10
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=
++ '[' 120 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z '' ']'
++ '[' -n '' ']'
++ '[' -n 1 ']'
++ echo pod for component=fluentd not running yet
pod for component=fluentd not running yet
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=logging-fluentd-94h3t
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-94h3t ']'
++ 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-94h3t
++ 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-5ufvzrs6-1-27kfh
+++ uuidgen
Adding test message 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d to Kibana . . .
++ uuid_es=2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
++ echo Adding test message 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d to Kibana . . .
++ add_test_message 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
+++ 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-6cs5r
++ oc exec logging-kibana-1-6cs5r -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
++ rc=0
++ timeout=600
++ echo Waiting 600 seconds for 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d to show up in Elasticsearch . . .
Waiting 600 seconds for 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d to show up in Elasticsearch . . .
++ espod=logging-es-data-master-5ufvzrs6-1-27kfh
++ myproject=project.logging.
++ mymessage=2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
++ 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
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging. _count message 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
++ 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-5ufvzrs6-1-27kfh project.logging. _count message 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
++ 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-5ufvzrs6-1-27kfh project.logging. _count message 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
++ 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-5ufvzrs6-1-27kfh project.logging. _count message 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
+++ 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
++ '[' 596 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging. _count message 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d' --connect-timeout 1
+++ get_count_from_json
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
++ 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-5ufvzrs6-1-27kfh project.logging. _count message 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 594 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ get_count_from_json
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging. _count message 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
++ 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-5ufvzrs6-1-27kfh project.logging. _count message 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
++ 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-5ufvzrs6-1-27kfh project.logging. _count message 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 591 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging. _count message 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 590 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging. _count message 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 589 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging. _count message 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 588 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging. _count message 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 588 -le 0 ']'
++ return 0
good - ./logging.sh: found 1 record project logging for 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
++ echo good - ./logging.sh: found 1 record project logging for 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
Testing if record is in correct format . . .
++ echo Testing if record is in correct format . . .
++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging. _search message 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
++ python test-json-parsing.py 2a050c6f-f40f-423b-82d1-4a6a0aae2e9d
++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging.*/_search?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d' --connect-timeout 1
++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
++ local 'endpoint=/project.logging.*/_search?q=message:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
++ shift
++ shift
++ args=("${@:-}")
++ local args
++ local secret_dir=/etc/elasticsearch/secret/
++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- 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:2a050c6f-f40f-423b-82d1-4a6a0aae2e9d'
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=Xg2qk8R7Brf41l2vkBpWtF5cllH8mEmkD4xyLClV3dw
+++ 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-94h3t
++ 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.jIqwwFkgay
++ cat
++ add_test_volume /tmp/tmp.jIqwwFkgay
++ oc replace -f -
++ 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.jIqwwFkgay"}}); print json.dumps(obj, indent=2)'
++ oc get template logging-fluentd-template -o json
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-94h3t
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-94h3t
++ '[' -z logging-fluentd-94h3t -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-94h3t
++ '[' 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-0673q
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-0673q ']'
++ 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-0673q
++ 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=1496956580
+++ date -u --rfc-3339=ns
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 21:16:20.146614175+00:00
START wait_for_fluentd_to_catch_up at 2017-06-08 21:16:20.146614175+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-5ufvzrs6-1-27kfh
+++ 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-10aztz22-1-j3dz5
++ '[' -z logging-es-ops-data-master-10aztz22-1-j3dz5 ']'
+++ uuidgen
++ local uuid_es=eb4d1dd5-06d1-46f1-9953-3888541d8470
+++ uuidgen
++ local uuid_es_ops=c80413f6-6736-4afc-afdc-8bbbf53c2f62
++ local expected=1
++ local timeout=300
++ add_test_message eb4d1dd5-06d1-46f1-9953-3888541d8470
+++ 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-6cs5r
++ oc exec logging-kibana-1-6cs5r -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/eb4d1dd5-06d1-46f1-9953-3888541d8470
added es message eb4d1dd5-06d1-46f1-9953-3888541d8470
++ echo added es message eb4d1dd5-06d1-46f1-9953-3888541d8470
++ logger -i -p local6.info -t c80413f6-6736-4afc-afdc-8bbbf53c2f62 c80413f6-6736-4afc-afdc-8bbbf53c2f62
added es-ops message c80413f6-6736-4afc-afdc-8bbbf53c2f62
++ echo added es-ops message c80413f6-6736-4afc-afdc-8bbbf53c2f62
++ local rc=0
++ espod=logging-es-data-master-5ufvzrs6-1-27kfh
++ myproject=project.logging
++ mymessage=eb4d1dd5-06d1-46f1-9953-3888541d8470
++ 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-5ufvzrs6-1-27kfh project.logging _count message eb4d1dd5-06d1-46f1-9953-3888541d8470
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470'
++ 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-5ufvzrs6-1-27kfh project.logging _count message eb4d1dd5-06d1-46f1-9953-3888541d8470
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470'
++ 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-5ufvzrs6-1-27kfh project.logging _count message eb4d1dd5-06d1-46f1-9953-3888541d8470
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470'
++ 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-5ufvzrs6-1-27kfh project.logging _count message eb4d1dd5-06d1-46f1-9953-3888541d8470
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470'
++ 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-5ufvzrs6-1-27kfh project.logging _count message eb4d1dd5-06d1-46f1-9953-3888541d8470
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470'
++ 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-5ufvzrs6-1-27kfh project.logging _count message eb4d1dd5-06d1-46f1-9953-3888541d8470
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470'
++ 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-5ufvzrs6-1-27kfh project.logging _count message eb4d1dd5-06d1-46f1-9953-3888541d8470
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470'
++ 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-5ufvzrs6-1-27kfh project.logging _count message eb4d1dd5-06d1-46f1-9953-3888541d8470
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 293 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for eb4d1dd5-06d1-46f1-9953-3888541d8470
good - wait_for_fluentd_to_catch_up: found 1 record project logging for eb4d1dd5-06d1-46f1-9953-3888541d8470
++ espod=logging-es-ops-data-master-10aztz22-1-j3dz5
++ myproject=.operations
++ mymessage=c80413f6-6736-4afc-afdc-8bbbf53c2f62
++ 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-10aztz22-1-j3dz5 .operations _count systemd.u.SYSLOG_IDENTIFIER c80413f6-6736-4afc-afdc-8bbbf53c2f62
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-10aztz22-1-j3dz5 '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:c80413f6-6736-4afc-afdc-8bbbf53c2f62' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-10aztz22-1-j3dz5
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:c80413f6-6736-4afc-afdc-8bbbf53c2f62'
+++ 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-10aztz22-1-j3dz5 -- 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:c80413f6-6736-4afc-afdc-8bbbf53c2f62'
++ 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 c80413f6-6736-4afc-afdc-8bbbf53c2f62
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for c80413f6-6736-4afc-afdc-8bbbf53c2f62
++ '[' -n get_logmessage ']'
++ get_logmessage eb4d1dd5-06d1-46f1-9953-3888541d8470
++ logmessage=eb4d1dd5-06d1-46f1-9953-3888541d8470
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 c80413f6-6736-4afc-afdc-8bbbf53c2f62
++ logmessage2=c80413f6-6736-4afc-afdc-8bbbf53c2f62
+++ date +%s
++ local endtime=1496956591
+++ expr 1496956591 - 1496956580
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 11 seconds at 2017-06-08 21:16:31.578492461+00:00
++ echo END wait_for_fluentd_to_catch_up took 11 seconds at 2017-06-08 21:16:31.578492461+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-6cs5r
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-6cs5r logging-es project.logging _search message eb4d1dd5-06d1-46f1-9953-3888541d8470
++ python test-viaq-data-model.py test1
++ oc exec logging-kibana-1-6cs5r -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 Xg2qk8R7Brf41l2vkBpWtF5cllH8mEmkD4xyLClV3dw' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:eb4d1dd5-06d1-46f1-9953-3888541d8470'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-6cs5r logging-es-ops .operations _search message c80413f6-6736-4afc-afdc-8bbbf53c2f62
++ python test-viaq-data-model.py test1
++ oc exec logging-kibana-1-6cs5r -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 Xg2qk8R7Brf41l2vkBpWtF5cllH8mEmkD4xyLClV3dw' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:c80413f6-6736-4afc-afdc-8bbbf53c2f62'
++ :
++ '[' 0 '!=' 0 ']'
++ return 0
++ add_cdm_env_var_val CDM_USE_UNDEFINED '"true"'
+++ mktemp
++ junk=/tmp/tmp.CnTGHTqGW8
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.CnTGHTqGW8'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.CnTGHTqGW8
++ add_cdm_env_var_val CDM_EXTRA_KEEP_FIELDS method,statusCode,type,@timestamp,req,res
+++ mktemp
++ junk=/tmp/tmp.LXH4VEVG5q
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.LXH4VEVG5q'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.LXH4VEVG5q
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-0673q
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-0673q
++ '[' -z logging-fluentd-0673q -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-0673q
++ '[' 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-1v909
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-1v909 ']'
++ 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-1v909
++ write_and_verify_logs test2
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up get_logmessage get_logmessage2
+++ date +%s
++ local starttime=1496956610
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 21:16:50.798298957+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 21:16:50.798298957+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-5ufvzrs6-1-27kfh
+++ 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-10aztz22-1-j3dz5
++ '[' -z logging-es-ops-data-master-10aztz22-1-j3dz5 ']'
+++ uuidgen
++ local uuid_es=cacdeb81-7e1f-46f7-ad14-ce8d266e1579
+++ uuidgen
++ local uuid_es_ops=d3a6e0cd-53bc-4c75-89ec-d9007b280fbb
++ local expected=1
++ local timeout=300
++ add_test_message cacdeb81-7e1f-46f7-ad14-ce8d266e1579
+++ 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-6cs5r
++ oc exec logging-kibana-1-6cs5r -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/cacdeb81-7e1f-46f7-ad14-ce8d266e1579
added es message cacdeb81-7e1f-46f7-ad14-ce8d266e1579
++ echo added es message cacdeb81-7e1f-46f7-ad14-ce8d266e1579
++ logger -i -p local6.info -t d3a6e0cd-53bc-4c75-89ec-d9007b280fbb d3a6e0cd-53bc-4c75-89ec-d9007b280fbb
added es-ops message d3a6e0cd-53bc-4c75-89ec-d9007b280fbb
++ echo added es-ops message d3a6e0cd-53bc-4c75-89ec-d9007b280fbb
++ local rc=0
++ espod=logging-es-data-master-5ufvzrs6-1-27kfh
++ myproject=project.logging
++ mymessage=cacdeb81-7e1f-46f7-ad14-ce8d266e1579
++ 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-5ufvzrs6-1-27kfh project.logging _count message cacdeb81-7e1f-46f7-ad14-ce8d266e1579
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579'
++ 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-5ufvzrs6-1-27kfh project.logging _count message cacdeb81-7e1f-46f7-ad14-ce8d266e1579
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579'
++ local nrecs=0
++ test 0 = 1
++ sleep 1
++ let ii=ii-1
++ '[' 298 -gt 0 ']'
++ test_count_expected
++ myfield=message
+++ get_count_from_json
+++ query_es_from_es logging-es-data-master-5ufvzrs6-1-27kfh project.logging _count message cacdeb81-7e1f-46f7-ad14-ce8d266e1579
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579'
++ 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-5ufvzrs6-1-27kfh project.logging _count message cacdeb81-7e1f-46f7-ad14-ce8d266e1579
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579'
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579'
++ 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-5ufvzrs6-1-27kfh project.logging _count message cacdeb81-7e1f-46f7-ad14-ce8d266e1579
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579'
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579'
++ 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-5ufvzrs6-1-27kfh project.logging _count message cacdeb81-7e1f-46f7-ad14-ce8d266e1579
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579'
++ 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-5ufvzrs6-1-27kfh project.logging _count message cacdeb81-7e1f-46f7-ad14-ce8d266e1579
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579'
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579'
++ 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-5ufvzrs6-1-27kfh project.logging _count message cacdeb81-7e1f-46f7-ad14-ce8d266e1579
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 293 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project logging for cacdeb81-7e1f-46f7-ad14-ce8d266e1579
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for cacdeb81-7e1f-46f7-ad14-ce8d266e1579
++ espod=logging-es-ops-data-master-10aztz22-1-j3dz5
++ myproject=.operations
++ mymessage=d3a6e0cd-53bc-4c75-89ec-d9007b280fbb
++ 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-10aztz22-1-j3dz5 .operations _count systemd.u.SYSLOG_IDENTIFIER d3a6e0cd-53bc-4c75-89ec-d9007b280fbb
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-10aztz22-1-j3dz5 '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:d3a6e0cd-53bc-4c75-89ec-d9007b280fbb' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-10aztz22-1-j3dz5
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:d3a6e0cd-53bc-4c75-89ec-d9007b280fbb'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-10aztz22-1-j3dz5 -- 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:d3a6e0cd-53bc-4c75-89ec-d9007b280fbb'
++ 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 d3a6e0cd-53bc-4c75-89ec-d9007b280fbb
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for d3a6e0cd-53bc-4c75-89ec-d9007b280fbb
++ '[' -n get_logmessage ']'
++ get_logmessage cacdeb81-7e1f-46f7-ad14-ce8d266e1579
++ logmessage=cacdeb81-7e1f-46f7-ad14-ce8d266e1579
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 d3a6e0cd-53bc-4c75-89ec-d9007b280fbb
++ logmessage2=d3a6e0cd-53bc-4c75-89ec-d9007b280fbb
+++ date +%s
++ local endtime=1496956622
+++ expr 1496956622 - 1496956610
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 12 seconds at 2017-06-08 21:17:02.351405824+00:00
++ echo END wait_for_fluentd_to_catch_up took 12 seconds at 2017-06-08 21:17:02.351405824+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-6cs5r
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-6cs5r logging-es project.logging _search message cacdeb81-7e1f-46f7-ad14-ce8d266e1579
++ python test-viaq-data-model.py test2
++ oc exec logging-kibana-1-6cs5r -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 Xg2qk8R7Brf41l2vkBpWtF5cllH8mEmkD4xyLClV3dw' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:cacdeb81-7e1f-46f7-ad14-ce8d266e1579'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-6cs5r logging-es-ops .operations _search message d3a6e0cd-53bc-4c75-89ec-d9007b280fbb
++ python test-viaq-data-model.py test2
++ oc exec logging-kibana-1-6cs5r -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 Xg2qk8R7Brf41l2vkBpWtF5cllH8mEmkD4xyLClV3dw' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:d3a6e0cd-53bc-4c75-89ec-d9007b280fbb'
++ :
++ '[' 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.E9UpCG1w5Y
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.E9UpCG1w5Y'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.E9UpCG1w5Y
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-1v909
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-1v909
++ '[' -z logging-fluentd-1v909 -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-1v909
++ '[' 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-sczwq
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-sczwq ']'
++ 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-sczwq
++ write_and_verify_logs test3
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up get_logmessage get_logmessage2
+++ date +%s
++ local starttime=1496956638
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 21:17:18.313007022+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 21:17:18.313007022+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-5ufvzrs6-1-27kfh
+++ get_running_pod es-ops
+++ awk -v sel=es-ops '$1 ~ sel && $3 == "Running" {print $1}'
+++ oc get pods -l component=es-ops
++ local es_ops_pod=logging-es-ops-data-master-10aztz22-1-j3dz5
++ '[' -z logging-es-ops-data-master-10aztz22-1-j3dz5 ']'
+++ uuidgen
++ local uuid_es=b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
+++ uuidgen
++ local uuid_es_ops=e0e86215-8941-4820-9e32-1ba48d8c40f8
++ local expected=1
++ local timeout=300
++ add_test_message b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
+++ 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-6cs5r
++ oc exec logging-kibana-1-6cs5r -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
added es message b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
++ echo added es message b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
++ logger -i -p local6.info -t e0e86215-8941-4820-9e32-1ba48d8c40f8 e0e86215-8941-4820-9e32-1ba48d8c40f8
added es-ops message e0e86215-8941-4820-9e32-1ba48d8c40f8
++ echo added es-ops message e0e86215-8941-4820-9e32-1ba48d8c40f8
++ local rc=0
++ espod=logging-es-data-master-5ufvzrs6-1-27kfh
++ myproject=project.logging
++ mymessage=b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
++ 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-5ufvzrs6-1-27kfh project.logging _count message b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
++ 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 b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
++ espod=logging-es-ops-data-master-10aztz22-1-j3dz5
++ myproject=.operations
++ mymessage=e0e86215-8941-4820-9e32-1ba48d8c40f8
++ 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-10aztz22-1-j3dz5 .operations _count systemd.u.SYSLOG_IDENTIFIER e0e86215-8941-4820-9e32-1ba48d8c40f8
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-10aztz22-1-j3dz5 '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:e0e86215-8941-4820-9e32-1ba48d8c40f8' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-10aztz22-1-j3dz5
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:e0e86215-8941-4820-9e32-1ba48d8c40f8'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-10aztz22-1-j3dz5 -- 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:e0e86215-8941-4820-9e32-1ba48d8c40f8'
++ 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 e0e86215-8941-4820-9e32-1ba48d8c40f8
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for e0e86215-8941-4820-9e32-1ba48d8c40f8
++ '[' -n get_logmessage ']'
++ get_logmessage b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
++ logmessage=b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 e0e86215-8941-4820-9e32-1ba48d8c40f8
++ logmessage2=e0e86215-8941-4820-9e32-1ba48d8c40f8
+++ date +%s
++ local endtime=1496956652
+++ expr 1496956652 - 1496956638
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 14 seconds at 2017-06-08 21:17:32.633147759+00:00
++ echo END wait_for_fluentd_to_catch_up took 14 seconds at 2017-06-08 21:17:32.633147759+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-6cs5r
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-6cs5r logging-es project.logging _search message b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564
++ python test-viaq-data-model.py test3
++ oc exec logging-kibana-1-6cs5r -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 Xg2qk8R7Brf41l2vkBpWtF5cllH8mEmkD4xyLClV3dw' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:b7b3ee81-fdf2-4b1d-8f2c-ea3e7462e564'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-6cs5r logging-es-ops .operations _search message e0e86215-8941-4820-9e32-1ba48d8c40f8
++ python test-viaq-data-model.py test3
++ oc exec logging-kibana-1-6cs5r -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 Xg2qk8R7Brf41l2vkBpWtF5cllH8mEmkD4xyLClV3dw' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:e0e86215-8941-4820-9e32-1ba48d8c40f8'
++ :
++ '[' 0 '!=' 0 ']'
++ return 0
++ add_cdm_env_var_val CDM_UNDEFINED_NAME myname
+++ mktemp
++ junk=/tmp/tmp.HMtNjdxoVS
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.HMtNjdxoVS'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.HMtNjdxoVS
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-sczwq
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-sczwq
++ '[' -z logging-fluentd-sczwq -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-sczwq
++ '[' 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-wrwj2
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-wrwj2 ']'
++ 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-wrwj2
++ write_and_verify_logs test4
++ expected=1
++ rc=0
++ wait_for_fluentd_to_catch_up get_logmessage get_logmessage2
+++ date +%s
++ local starttime=1496956680
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 21:18:00.428579592+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 21:18:00.428579592+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-5ufvzrs6-1-27kfh
+++ 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-10aztz22-1-j3dz5
++ '[' -z logging-es-ops-data-master-10aztz22-1-j3dz5 ']'
+++ uuidgen
++ local uuid_es=b059bbfb-e5b1-4861-93c6-c32d1e12c7b2
+++ uuidgen
++ local uuid_es_ops=008d5948-e554-40b4-aa09-d9ec51eeb1de
++ local expected=1
++ local timeout=300
++ add_test_message b059bbfb-e5b1-4861-93c6-c32d1e12c7b2
+++ 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-6cs5r
++ oc exec logging-kibana-1-6cs5r -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/b059bbfb-e5b1-4861-93c6-c32d1e12c7b2
added es message b059bbfb-e5b1-4861-93c6-c32d1e12c7b2
++ echo added es message b059bbfb-e5b1-4861-93c6-c32d1e12c7b2
++ logger -i -p local6.info -t 008d5948-e554-40b4-aa09-d9ec51eeb1de 008d5948-e554-40b4-aa09-d9ec51eeb1de
added es-ops message 008d5948-e554-40b4-aa09-d9ec51eeb1de
++ echo added es-ops message 008d5948-e554-40b4-aa09-d9ec51eeb1de
++ local rc=0
++ espod=logging-es-data-master-5ufvzrs6-1-27kfh
++ myproject=project.logging
++ mymessage=b059bbfb-e5b1-4861-93c6-c32d1e12c7b2
++ 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-5ufvzrs6-1-27kfh project.logging _count message b059bbfb-e5b1-4861-93c6-c32d1e12c7b2
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b059bbfb-e5b1-4861-93c6-c32d1e12c7b2
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b059bbfb-e5b1-4861-93c6-c32d1e12c7b2
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b059bbfb-e5b1-4861-93c6-c32d1e12c7b2
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2'
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b059bbfb-e5b1-4861-93c6-c32d1e12c7b2
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b059bbfb-e5b1-4861-93c6-c32d1e12c7b2
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b059bbfb-e5b1-4861-93c6-c32d1e12c7b2
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2'
++ 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-5ufvzrs6-1-27kfh project.logging _count message b059bbfb-e5b1-4861-93c6-c32d1e12c7b2
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 293 -le 0 ']'
++ return 0
good - wait_for_fluentd_to_catch_up: found 1 record project logging for b059bbfb-e5b1-4861-93c6-c32d1e12c7b2
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for b059bbfb-e5b1-4861-93c6-c32d1e12c7b2
++ espod=logging-es-ops-data-master-10aztz22-1-j3dz5
++ myproject=.operations
++ mymessage=008d5948-e554-40b4-aa09-d9ec51eeb1de
++ 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-10aztz22-1-j3dz5 .operations _count systemd.u.SYSLOG_IDENTIFIER 008d5948-e554-40b4-aa09-d9ec51eeb1de
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-10aztz22-1-j3dz5 '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:008d5948-e554-40b4-aa09-d9ec51eeb1de' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-ops-data-master-10aztz22-1-j3dz5
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:008d5948-e554-40b4-aa09-d9ec51eeb1de'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-10aztz22-1-j3dz5 -- 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:008d5948-e554-40b4-aa09-d9ec51eeb1de'
++ 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-10aztz22-1-j3dz5 .operations _count systemd.u.SYSLOG_IDENTIFIER 008d5948-e554-40b4-aa09-d9ec51eeb1de
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-10aztz22-1-j3dz5 '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:008d5948-e554-40b4-aa09-d9ec51eeb1de' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-10aztz22-1-j3dz5
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:008d5948-e554-40b4-aa09-d9ec51eeb1de'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-10aztz22-1-j3dz5 -- 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:008d5948-e554-40b4-aa09-d9ec51eeb1de'
++ 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-10aztz22-1-j3dz5 .operations _count systemd.u.SYSLOG_IDENTIFIER 008d5948-e554-40b4-aa09-d9ec51eeb1de
+++ get_count_from_json
+++ curl_es logging-es-ops-data-master-10aztz22-1-j3dz5 '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:008d5948-e554-40b4-aa09-d9ec51eeb1de' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-10aztz22-1-j3dz5
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:008d5948-e554-40b4-aa09-d9ec51eeb1de'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-10aztz22-1-j3dz5 -- 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:008d5948-e554-40b4-aa09-d9ec51eeb1de'
++ 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-10aztz22-1-j3dz5 .operations _count systemd.u.SYSLOG_IDENTIFIER 008d5948-e554-40b4-aa09-d9ec51eeb1de
+++ curl_es logging-es-ops-data-master-10aztz22-1-j3dz5 '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:008d5948-e554-40b4-aa09-d9ec51eeb1de' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-10aztz22-1-j3dz5
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:008d5948-e554-40b4-aa09-d9ec51eeb1de'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-10aztz22-1-j3dz5 -- 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:008d5948-e554-40b4-aa09-d9ec51eeb1de'
+++ get_count_from_json
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 297 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 008d5948-e554-40b4-aa09-d9ec51eeb1de
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 008d5948-e554-40b4-aa09-d9ec51eeb1de
++ '[' -n get_logmessage ']'
++ get_logmessage b059bbfb-e5b1-4861-93c6-c32d1e12c7b2
++ logmessage=b059bbfb-e5b1-4861-93c6-c32d1e12c7b2
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 008d5948-e554-40b4-aa09-d9ec51eeb1de
++ logmessage2=008d5948-e554-40b4-aa09-d9ec51eeb1de
+++ date +%s
++ local endtime=1496956696
+++ expr 1496956696 - 1496956680
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 16 seconds at 2017-06-08 21:18:16.487783293+00:00
++ echo END wait_for_fluentd_to_catch_up took 16 seconds at 2017-06-08 21:18:16.487783293+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-6cs5r
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-6cs5r logging-es project.logging _search message b059bbfb-e5b1-4861-93c6-c32d1e12c7b2
++ python test-viaq-data-model.py test4
++ oc exec logging-kibana-1-6cs5r -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 Xg2qk8R7Brf41l2vkBpWtF5cllH8mEmkD4xyLClV3dw' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:b059bbfb-e5b1-4861-93c6-c32d1e12c7b2'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-6cs5r logging-es-ops .operations _search message 008d5948-e554-40b4-aa09-d9ec51eeb1de
++ python test-viaq-data-model.py test4
++ oc exec logging-kibana-1-6cs5r -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 Xg2qk8R7Brf41l2vkBpWtF5cllH8mEmkD4xyLClV3dw' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:008d5948-e554-40b4-aa09-d9ec51eeb1de'
++ :
++ '[' 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.Q2nRXNHKGw
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.Q2nRXNHKGw'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.Q2nRXNHKGw
++ add_cdm_env_var_val CDM_KEEP_EMPTY_FIELDS undefined4,undefined5,empty1,undefined3
+++ mktemp
++ junk=/tmp/tmp.ldfZbMg1uM
++ cat
++ oc get template logging-fluentd-template -o yaml
++ sed '/env:/r /tmp/tmp.ldfZbMg1uM'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.ldfZbMg1uM
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-wrwj2
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-wrwj2
++ '[' -z logging-fluentd-wrwj2 -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-wrwj2
++ '[' 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-kwl45
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-kwl45 ']'
++ 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-kwl45
++ 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=1496956714
+++ date -u --rfc-3339=ns
START wait_for_fluentd_to_catch_up at 2017-06-08 21:18:34.939112073+00:00
++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 21:18:34.939112073+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-5ufvzrs6-1-27kfh
+++ 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-10aztz22-1-j3dz5
++ '[' -z logging-es-ops-data-master-10aztz22-1-j3dz5 ']'
+++ uuidgen
++ local uuid_es=d56a7a34-b504-46cb-baa7-7bcce291d8ec
+++ uuidgen
++ local uuid_es_ops=7986ccf1-7a6a-4f62-b8a7-8b6063bee347
++ local expected=1
++ local timeout=300
++ add_test_message d56a7a34-b504-46cb-baa7-7bcce291d8ec
+++ 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-6cs5r
++ oc exec logging-kibana-1-6cs5r -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/d56a7a34-b504-46cb-baa7-7bcce291d8ec
added es message d56a7a34-b504-46cb-baa7-7bcce291d8ec
++ echo added es message d56a7a34-b504-46cb-baa7-7bcce291d8ec
++ logger -i -p local6.info -t 7986ccf1-7a6a-4f62-b8a7-8b6063bee347 7986ccf1-7a6a-4f62-b8a7-8b6063bee347
added es-ops message 7986ccf1-7a6a-4f62-b8a7-8b6063bee347
++ echo added es-ops message 7986ccf1-7a6a-4f62-b8a7-8b6063bee347
++ local rc=0
++ espod=logging-es-data-master-5ufvzrs6-1-27kfh
++ myproject=project.logging
++ mymessage=d56a7a34-b504-46cb-baa7-7bcce291d8ec
++ 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-5ufvzrs6-1-27kfh project.logging _count message d56a7a34-b504-46cb-baa7-7bcce291d8ec
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec'
++ 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-5ufvzrs6-1-27kfh project.logging _count message d56a7a34-b504-46cb-baa7-7bcce291d8ec
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec'
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec'
++ 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-5ufvzrs6-1-27kfh project.logging _count message d56a7a34-b504-46cb-baa7-7bcce291d8ec
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec'
+++ 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-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec'
++ 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-5ufvzrs6-1-27kfh project.logging _count message d56a7a34-b504-46cb-baa7-7bcce291d8ec
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec'
++ 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-5ufvzrs6-1-27kfh project.logging _count message d56a7a34-b504-46cb-baa7-7bcce291d8ec
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec'
++ 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-5ufvzrs6-1-27kfh project.logging _count message d56a7a34-b504-46cb-baa7-7bcce291d8ec
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec'
++ 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-5ufvzrs6-1-27kfh project.logging _count message d56a7a34-b504-46cb-baa7-7bcce291d8ec
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec'
++ 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-5ufvzrs6-1-27kfh project.logging _count message d56a7a34-b504-46cb-baa7-7bcce291d8ec
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec' --connect-timeout 1
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local 'endpoint=/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec'
++ 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-5ufvzrs6-1-27kfh project.logging _count message d56a7a34-b504-46cb-baa7-7bcce291d8ec
+++ get_count_from_json
+++ curl_es logging-es-data-master-5ufvzrs6-1-27kfh '/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec' --connect-timeout 1
+++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)'
+++ local pod=logging-es-data-master-5ufvzrs6-1-27kfh
+++ local 'endpoint=/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-data-master-5ufvzrs6-1-27kfh -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec'
good - wait_for_fluentd_to_catch_up: found 1 record project logging for d56a7a34-b504-46cb-baa7-7bcce291d8ec
++ local nrecs=1
++ test 1 = 1
++ break
++ '[' 292 -le 0 ']'
++ return 0
++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for d56a7a34-b504-46cb-baa7-7bcce291d8ec
++ espod=logging-es-ops-data-master-10aztz22-1-j3dz5
++ myproject=.operations
++ mymessage=7986ccf1-7a6a-4f62-b8a7-8b6063bee347
++ 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-10aztz22-1-j3dz5 .operations _count systemd.u.SYSLOG_IDENTIFIER 7986ccf1-7a6a-4f62-b8a7-8b6063bee347
+++ 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-10aztz22-1-j3dz5 '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:7986ccf1-7a6a-4f62-b8a7-8b6063bee347' --connect-timeout 1
+++ local pod=logging-es-ops-data-master-10aztz22-1-j3dz5
+++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:7986ccf1-7a6a-4f62-b8a7-8b6063bee347'
+++ shift
+++ shift
+++ args=("${@:-}")
+++ local args
+++ local secret_dir=/etc/elasticsearch/secret/
+++ oc exec logging-es-ops-data-master-10aztz22-1-j3dz5 -- 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:7986ccf1-7a6a-4f62-b8a7-8b6063bee347'
++ 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 7986ccf1-7a6a-4f62-b8a7-8b6063bee347
good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 7986ccf1-7a6a-4f62-b8a7-8b6063bee347
++ '[' -n get_logmessage ']'
++ get_logmessage d56a7a34-b504-46cb-baa7-7bcce291d8ec
++ logmessage=d56a7a34-b504-46cb-baa7-7bcce291d8ec
++ '[' -n get_logmessage2 ']'
++ get_logmessage2 7986ccf1-7a6a-4f62-b8a7-8b6063bee347
++ logmessage2=7986ccf1-7a6a-4f62-b8a7-8b6063bee347
+++ date +%s
++ local endtime=1496956727
+++ expr 1496956727 - 1496956714
+++ date -u --rfc-3339=ns
END wait_for_fluentd_to_catch_up took 13 seconds at 2017-06-08 21:18:47.749868902+00:00
++ echo END wait_for_fluentd_to_catch_up took 13 seconds at 2017-06-08 21:18:47.749868902+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-6cs5r
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-6cs5r logging-es project.logging _search message d56a7a34-b504-46cb-baa7-7bcce291d8ec
++ python test-viaq-data-model.py test5 allow_empty
++ oc exec logging-kibana-1-6cs5r -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 Xg2qk8R7Brf41l2vkBpWtF5cllH8mEmkD4xyLClV3dw' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:d56a7a34-b504-46cb-baa7-7bcce291d8ec'
++ :
++ '[' 0 = 0 ']'
++ curl_es_from_kibana logging-kibana-1-6cs5r logging-es-ops .operations _search message 7986ccf1-7a6a-4f62-b8a7-8b6063bee347
++ python test-viaq-data-model.py test5 allow_empty
++ oc exec logging-kibana-1-6cs5r -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 Xg2qk8R7Brf41l2vkBpWtF5cllH8mEmkD4xyLClV3dw' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:7986ccf1-7a6a-4f62-b8a7-8b6063bee347'
++ :
++ '[' 0 '!=' 0 ']'
++ return 0
++ cleanup
++ remove_test_volume
++ oc get template logging-fluentd-template -o json
++ python -c 'import json, sys; obj = json.loads(sys.stdin.read()); vm = obj["objects"][0]["spec"]["template"]["spec"]["containers"][0]["volumeMounts"]; obj["objects"][0]["spec"]["template"]["spec"]["containers"][0]["volumeMounts"] = [xx for xx in vm if xx["name"] != "cdmtest"]; vs = obj["objects"][0]["spec"]["template"]["spec"]["volumes"]; obj["objects"][0]["spec"]["template"]["spec"]["volumes"] = [xx for xx in vs if xx["name"] != "cdmtest"]; print json.dumps(obj, indent=2)'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ remove_cdm_env
++ oc get template logging-fluentd-template -o yaml
++ sed '/- name: CDM_/,/value:/d'
++ oc replace -f -
template "logging-fluentd-template" replaced
++ rm -f /tmp/tmp.jIqwwFkgay
++ restart_fluentd
++ oc delete daemonset logging-fluentd
daemonset "logging-fluentd" deleted
++ wait_for_pod_ACTION stop logging-fluentd-kwl45
++ local ii=120
++ local incr=10
++ '[' stop = start ']'
++ curpod=logging-fluentd-kwl45
++ '[' -z logging-fluentd-kwl45 -a -n '' ']'
++ '[' 120 -gt 0 ']'
++ '[' stop = stop ']'
++ oc describe pod/logging-fluentd-kwl45
++ '[' stop = start ']'
++ break
++ '[' 120 -le 0 ']'
++ return 0
++ oc process logging-fluentd-template
++ oc create -f -
daemonset "logging-fluentd" created
++ wait_for_pod_ACTION start fluentd
++ local ii=120
++ local incr=10
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
pod for component=fluentd not running yet
++ curpod=
++ '[' 120 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z '' ']'
++ '[' -n '' ']'
++ '[' -n 1 ']'
++ echo pod for component=fluentd not running yet
++ sleep 10
+++ expr 120 - 10
++ ii=110
++ '[' start = start ']'
+++ get_running_pod fluentd
+++ oc get pods -l component=fluentd
+++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}'
++ curpod=logging-fluentd-vwsj9
++ '[' 110 -gt 0 ']'
++ '[' start = stop ']'
++ '[' start = start ']'
++ '[' -z logging-fluentd-vwsj9 ']'
++ 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:  4608 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 168 seconds
2017-06-08 17:22:02.846728 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 14879e244f53e6115e475efacf7d06322d3b754071a8aa7f12e58b06cd76cc3c. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 509695f2711ecf4e76089fe6d62f2846bdf0934be477e0638cbc7ac4938bc02a. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 45974e779b733a158e761382417e8f3563a3222636a16e6c8ec94f494f437c31. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container fb09cfee904bf16872cea210d42c0f7b435fe36bc5745958aae5d0de0a3d2b58. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 5211d4e78e87aa72c8e6326fd694dc172b6051071242f034331e8d2c73b1a065. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 0c9448a89af276718eea58053ed7c045103f0b4b73c3fe116bcea3c35a0ed434. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 2d8ec2ed48546367834efddbc675106ba90ef120a3634a73c54c680a1e082150. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container c7311d7ba0f9241716fbf29da26697616afa010498e8630f1596b5c7e670cc23. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 05a7632f12ef983fb42e40c821dffb3298cf71f4ab26377e72c7c480ea024152. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container e3ef265548a68f6128e82b962c825a6627d0cc09365f4a01c8c368573073e214. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 4036753f0c528a6c1580b130a78885695153a9bd4bfb9e438a1818d981a5533b. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 5c9156b7b27e6aac44c0d3d382fe0a91faf69908a1d34819ba678c8e8a66383d. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container dd215534d1f22e6838770fcf238c7009fb999e4540ba924d8f9e628f97d5692d. Stop the container before attempting removal or use -f
Error response from daemon: You cannot remove a running container 99f0620d19beef4f306754be6c669f17f791d73c09569475ff2d92d9a56e3836. 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 00m 46s

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