Started by upstream project "test_pull_request_origin_aggregated_logging" build number 83 originally caused by: Started by remote host 50.17.198.52 [EnvInject] - Loading node environment variables. Building in workspace /var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace@2 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content OS_ROOT=/data/src/github.com/openshift/origin INSTANCE_TYPE=c4.xlarge GITHUB_REPO=openshift OS=rhel7 TESTNAME=logging [EnvInject] - Variables injected successfully. [workspace@2] $ /bin/sh -xe /tmp/hudson3708550923739448816.sh + false + unset GOPATH + REPO_NAME=origin-aggregated-logging + rm -rf origin-aggregated-logging + vagrant origin-local-checkout --replace --repo origin-aggregated-logging -b master You don't seem to have the GOPATH environment variable set on your system. See: 'go help gopath' for more details about GOPATH. Waiting for the cloning process to finish Cloning origin-aggregated-logging ... Submodule 'deployer/common' (https://github.com/openshift/origin-integration-common) registered for path 'deployer/common' Submodule 'kibana-proxy' (https://github.com/fabric8io/openshift-auth-proxy.git) registered for path 'kibana-proxy' Cloning into 'deployer/common'... Submodule path 'deployer/common': checked out '45bf993212cdcbab5cbce3b3fab74a72b851402e' Cloning into 'kibana-proxy'... Submodule path 'kibana-proxy': checked out '118dfb40f7a8082d370ba7f4805255c9ec7c8178' Origin repositories cloned into /var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace@2 + pushd origin-aggregated-logging ~/jobs/test-origin-aggregated-logging/workspace@2/origin-aggregated-logging ~/jobs/test-origin-aggregated-logging/workspace@2 + git checkout master Already on 'master' + popd ~/jobs/test-origin-aggregated-logging/workspace@2 + '[' -n '' ']' + vagrant origin-local-checkout --replace You don't seem to have the GOPATH environment variable set on your system. See: 'go help gopath' for more details about GOPATH. Waiting for the cloning process to finish Checking repo integrity for /var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace@2/origin ~/jobs/test-origin-aggregated-logging/workspace@2/origin ~/jobs/test-origin-aggregated-logging/workspace@2 # On branch master # Untracked files: # (use "git add <file>..." to include in what will be committed) # # artifacts/ nothing added to commit but untracked files present (use "git add" to track) ~/jobs/test-origin-aggregated-logging/workspace@2 Replacing: /var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace@2/origin ~/jobs/test-origin-aggregated-logging/workspace@2/origin ~/jobs/test-origin-aggregated-logging/workspace@2 From https://github.com/openshift/origin 4bf7022..596d795 master -> origin/master Already on 'master' Your branch is behind 'origin/master' by 2 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/ Removing artifacts/ fatal: branch name required ~/jobs/test-origin-aggregated-logging/workspace@2 Origin repositories cloned into /var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace@2 + pushd origin ~/jobs/test-origin-aggregated-logging/workspace@2/origin ~/jobs/test-origin-aggregated-logging/workspace@2 + INSTANCE_NAME=origin_logging-rhel7-1639 + 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=#1639 BUILD_ID=1639 BUILD_NUMBER=1639 BUILD_TAG=jenkins-test-origin-aggregated-logging-1639 BUILD_URL=https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/1639/ EXECUTOR_NUMBER=43 GITHUB_REPO=openshift HOME=/var/lib/jenkins HUDSON_COOKIE=99e964eb-90ab-4601-99b7-269026dd3848 HUDSON_HOME=/var/lib/jenkins HUDSON_SERVER_COOKIE=ec11f8b2841c966f HUDSON_URL=https://ci.openshift.redhat.com/jenkins/ INSTANCE_TYPE=c4.xlarge JENKINS_HOME=/var/lib/jenkins JENKINS_SERVER_COOKIE=ec11f8b2841c966f JENKINS_URL=https://ci.openshift.redhat.com/jenkins/ JOB_BASE_NAME=test-origin-aggregated-logging JOB_DISPLAY_URL=https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/display/redirect JOB_NAME=test-origin-aggregated-logging JOB_URL=https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/ LANG=en_US.UTF-8 LOGNAME=jenkins MERGE=false MERGE_SEVERITY=none NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat NODE_LABELS=master NODE_NAME=master OLDPWD=/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace@2 OPENSHIFT_ANSIBLE_TARGET_BRANCH=master ORIGIN_AGGREGATED_LOGGING_PULL_ID=477 ORIGIN_AGGREGATED_LOGGING_TARGET_BRANCH=master OS_ANSIBLE_BRANCH=master OS_ANSIBLE_REPO=https://github.com/openshift/openshift-ansible OS=rhel7 OS_ROOT=/data/src/github.com/openshift/origin PATH=/sbin:/usr/sbin:/bin:/usr/bin PWD=/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace@2/origin ROOT_BUILD_CAUSE=REMOTECAUSE ROOT_BUILD_CAUSE_REMOTECAUSE=true RUN_CHANGES_DISPLAY_URL=https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/1639/display/redirect?page=changes RUN_DISPLAY_URL=https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/1639/display/redirect SHELL=/bin/bash SHLVL=3 TESTNAME=logging TEST_PERF=false USER=jenkins WORKSPACE=/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace@2 XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt + vagrant origin-init --stage inst --os rhel7 --instance-type c4.xlarge origin_logging-rhel7-1639 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-26651-1ihjv0k.sh ==> openshiftdev: Host: ec2-34-207-75-158.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-28117-k2qrcf /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 '34.207.75.158' (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 45a2e645736c: Verifying Checksum 45a2e645736c: Download complete 78efc9e155c4: Verifying Checksum 78efc9e155c4: Download complete 45a2e645736c: Pull complete 734fb161cf89: Pull complete 78efc9e155c4: Pull complete 8a3400b7e31a: Pull complete Digest: sha256:aea292a3bddba020cde0ee83e6a45807931eb607c164ec6a3674f67039d8cd7c + echo done with openshift/base-centos7 done with openshift/base-centos7 + for image in openshift/base-centos7 centos:centos7 openshift/origin-logging-elasticsearch openshift/origin-logging-fluentd openshift/origin-logging-curator openshift/origin-logging-kibana + echo pulling image centos:centos7 ... pulling image centos:centos7 ... + vagrant ssh -c 'docker pull centos:centos7' -- -n Trying to pull repository docker.io/library/centos ... centos7: Pulling from docker.io/library/centos Digest: sha256:aebf12af704307dfa0079b3babdca8d7e8ff6564696882bcb5d11f1d461f9ee9 + echo done with centos:centos7 done with centos:centos7 + for image in openshift/base-centos7 centos:centos7 openshift/origin-logging-elasticsearch openshift/origin-logging-fluentd openshift/origin-logging-curator openshift/origin-logging-kibana + echo pulling image openshift/origin-logging-elasticsearch ... pulling image openshift/origin-logging-elasticsearch ... + vagrant ssh -c 'docker pull openshift/origin-logging-elasticsearch' -- -n Using default tag: latest Trying to pull repository docker.io/openshift/origin-logging-elasticsearch ... latest: Pulling from docker.io/openshift/origin-logging-elasticsearch d5e46245fe40: Already exists 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 f77449eb85d6: Waiting eb9125dce9a5: Waiting 3ac7e779da16: Waiting 09427247134d: Waiting 1cb971d1904a: Waiting 7f787b4c1aa4: Waiting e68089779cf0: Waiting 3a9c76d9e103: Download complete a3e21278d73b: Verifying Checksum a3e21278d73b: Download complete 1cb971d1904a: Verifying Checksum 1cb971d1904a: Download complete 7f787b4c1aa4: Verifying Checksum 7f787b4c1aa4: Download complete eb9125dce9a5: Verifying Checksum eb9125dce9a5: Download complete 09427247134d: Verifying Checksum 09427247134d: Download complete e68089779cf0: Verifying Checksum e68089779cf0: Download complete f77449eb85d6: Verifying Checksum f77449eb85d6: Download complete 68dc0402a412: Verifying Checksum 68dc0402a412: Download complete 3ac7e779da16: Verifying Checksum 3a9c76d9e103: Pull complete 68dc0402a412: Pull complete a3e21278d73b: Pull complete 1cb971d1904a: Pull complete 7f787b4c1aa4: Pull complete eb9125dce9a5: Pull complete 09427247134d: Pull complete 3ac7e779da16: Pull complete e68089779cf0: Pull complete f77449eb85d6: Pull complete Digest: sha256:273c11b82929c5f946ddb48bd49dbe1e77ba40d9c15275dc7619fd07b9c8ec54 + echo done with openshift/origin-logging-elasticsearch done with openshift/origin-logging-elasticsearch + for image in openshift/base-centos7 centos:centos7 openshift/origin-logging-elasticsearch openshift/origin-logging-fluentd openshift/origin-logging-curator openshift/origin-logging-kibana + echo pulling image openshift/origin-logging-fluentd ... pulling image openshift/origin-logging-fluentd ... + vagrant ssh -c 'docker pull openshift/origin-logging-fluentd' -- -n Using default tag: latest Trying to pull repository docker.io/openshift/origin-logging-fluentd ... latest: Pulling from docker.io/openshift/origin-logging-fluentd d5e46245fe40: Already exists 6318bc7c7f58: Pulling fs layer 3b55aa2d4d05: Pulling fs layer 814e0506d29d: Pulling fs layer ed25a891441c: Pulling fs layer 63d9bd56de92: Pulling fs layer ed25a891441c: Waiting 63d9bd56de92: Waiting 814e0506d29d: Verifying Checksum 814e0506d29d: Download complete ed25a891441c: Verifying Checksum ed25a891441c: Download complete 63d9bd56de92: Verifying Checksum 63d9bd56de92: Download complete 3b55aa2d4d05: Verifying Checksum 3b55aa2d4d05: Download complete 6318bc7c7f58: Verifying Checksum 6318bc7c7f58: Download complete 6318bc7c7f58: Pull complete 3b55aa2d4d05: Pull complete 814e0506d29d: Pull complete ed25a891441c: Pull complete 63d9bd56de92: Pull complete Digest: sha256:b55877bf5f5624c0111688db16bac54ed7b64291114323fb010d9e8e630b1c89 + echo done with openshift/origin-logging-fluentd done with openshift/origin-logging-fluentd + for image in openshift/base-centos7 centos:centos7 openshift/origin-logging-elasticsearch openshift/origin-logging-fluentd openshift/origin-logging-curator openshift/origin-logging-kibana + echo pulling image openshift/origin-logging-curator ... pulling image openshift/origin-logging-curator ... + vagrant ssh -c 'docker pull openshift/origin-logging-curator' -- -n Using default tag: latest Trying to pull repository docker.io/openshift/origin-logging-curator ... latest: Pulling from docker.io/openshift/origin-logging-curator d5e46245fe40: Already exists b84a40433153: Pulling fs layer b797c0ddd9bc: Pulling fs layer b84a40433153: Verifying Checksum b84a40433153: Download complete b797c0ddd9bc: Verifying Checksum b797c0ddd9bc: Download complete b84a40433153: Pull complete b797c0ddd9bc: Pull complete Digest: sha256:c09a1f9ef6f2ca23b4d3dca5f4a2c0f5bb76ed65351d9295d7d3344e5bce3f89 + echo done with openshift/origin-logging-curator done with openshift/origin-logging-curator + for image in openshift/base-centos7 centos:centos7 openshift/origin-logging-elasticsearch openshift/origin-logging-fluentd openshift/origin-logging-curator openshift/origin-logging-kibana + echo pulling image openshift/origin-logging-kibana ... pulling image openshift/origin-logging-kibana ... + vagrant ssh -c 'docker pull openshift/origin-logging-kibana' -- -n Using default tag: latest Trying to pull repository docker.io/openshift/origin-logging-kibana ... latest: Pulling from docker.io/openshift/origin-logging-kibana 45a2e645736c: Already exists 734fb161cf89: Already exists 78efc9e155c4: Already exists 8a3400b7e31a: Already exists d24cd3f22cc6: Pulling fs layer b64de6f5fdbe: Pulling fs layer d443465a8496: Pulling fs layer cb8fa38c6d97: Pulling fs layer 9879c78ef10f: Pulling fs layer 3f29d3f59ef3: Pulling fs layer cb8fa38c6d97: Waiting 9879c78ef10f: Waiting 3f29d3f59ef3: Waiting d24cd3f22cc6: Verifying Checksum d24cd3f22cc6: Download complete d443465a8496: Verifying Checksum d443465a8496: Download complete 9879c78ef10f: Verifying Checksum 9879c78ef10f: Download complete cb8fa38c6d97: Verifying Checksum cb8fa38c6d97: Download complete d24cd3f22cc6: Pull complete 3f29d3f59ef3: Verifying Checksum 3f29d3f59ef3: Download complete b64de6f5fdbe: Verifying Checksum b64de6f5fdbe: Download complete b64de6f5fdbe: Pull complete d443465a8496: Pull complete cb8fa38c6d97: Pull complete 9879c78ef10f: Pull complete 3f29d3f59ef3: Pull complete Digest: sha256:3b95068a8514b13780c047f955e99d481af5597bf2b214501030e7be2f4d6dc1 + echo done with openshift/origin-logging-kibana done with openshift/origin-logging-kibana + vagrant test-origin-aggregated-logging -d --env GIT_URL=https://github.com/openshift/origin-aggregated-logging --env GIT_BRANCH=master --env O_A_L_DIR=/data/src/github.com/openshift/origin-aggregated-logging --env OS_ROOT=/data/src/github.com/openshift/origin --env ENABLE_OPS_CLUSTER=true --env USE_LOCAL_SOURCE=true --env TEST_PERF=false --env VERBOSE=1 --env OS_ANSIBLE_REPO=https://github.com/openshift/openshift-ansible --env OS_ANSIBLE_BRANCH=master *************************************************** Running GIT_URL=https://github.com/openshift/origin-aggregated-logging GIT_BRANCH=master O_A_L_DIR=/data/src/github.com/openshift/origin-aggregated-logging OS_ROOT=/data/src/github.com/openshift/origin ENABLE_OPS_CLUSTER=true USE_LOCAL_SOURCE=true TEST_PERF=false VERBOSE=1 OS_ANSIBLE_REPO=https://github.com/openshift/openshift-ansible OS_ANSIBLE_BRANCH=master ./logging.sh... /data/src/github.com/openshift/origin /data/src/github.com/openshift/origin-aggregated-logging/hack/testing /data/src/github.com/openshift/origin-aggregated-logging/hack/testing /data/src/github.com/openshift/origin-aggregated-logging /data/src/github.com/openshift/origin-aggregated-logging/hack/testing /data/src/github.com/openshift/origin-aggregated-logging/hack/testing Loaded plugins: amazon-id, rhui-lb, search-disabled-repos Metadata Cache Created Loaded plugins: amazon-id, rhui-lb, search-disabled-repos Resolving Dependencies --> Running transaction check ---> Package ansible.noarch 0:2.3.0.0-3.el7 will be installed --> Processing Dependency: sshpass for package: ansible-2.3.0.0-3.el7.noarch --> Processing Dependency: python-paramiko for package: ansible-2.3.0.0-3.el7.noarch --> Processing Dependency: python-keyczar for package: ansible-2.3.0.0-3.el7.noarch --> Processing Dependency: python-httplib2 for package: ansible-2.3.0.0-3.el7.noarch --> Processing Dependency: python-crypto for package: ansible-2.3.0.0-3.el7.noarch ---> Package python2-pip.noarch 0:8.1.2-5.el7 will be installed ---> Package python2-ruamel-yaml.x86_64 0:0.12.14-9.el7 will be installed --> Processing Dependency: python2-typing for package: python2-ruamel-yaml-0.12.14-9.el7.x86_64 --> Processing Dependency: python2-ruamel-ordereddict for package: python2-ruamel-yaml-0.12.14-9.el7.x86_64 --> Running transaction check ---> Package python-httplib2.noarch 0:0.9.1-2.el7aos will be installed ---> Package python-keyczar.noarch 0:0.71c-2.el7aos will be installed --> Processing Dependency: python-pyasn1 for package: python-keyczar-0.71c-2.el7aos.noarch ---> Package python-paramiko.noarch 0:2.1.1-1.el7 will be installed --> Processing Dependency: python-cryptography for package: python-paramiko-2.1.1-1.el7.noarch ---> Package python2-crypto.x86_64 0:2.6.1-13.el7 will be installed --> Processing Dependency: libtomcrypt.so.0()(64bit) for package: python2-crypto-2.6.1-13.el7.x86_64 ---> Package python2-ruamel-ordereddict.x86_64 0:0.4.9-3.el7 will be installed ---> Package python2-typing.noarch 0:3.5.2.2-3.el7 will be installed ---> Package sshpass.x86_64 0:1.06-1.el7 will be installed --> Running transaction check ---> Package libtomcrypt.x86_64 0:1.17-23.el7 will be installed --> Processing Dependency: libtommath >= 0.42.0 for package: libtomcrypt-1.17-23.el7.x86_64 --> Processing Dependency: libtommath.so.0()(64bit) for package: libtomcrypt-1.17-23.el7.x86_64 ---> Package python2-cryptography.x86_64 0:1.3.1-3.el7 will be installed --> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.3.1-3.el7.x86_64 --> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.3.1-3.el7.x86_64 --> Processing Dependency: python-ipaddress for package: python2-cryptography-1.3.1-3.el7.x86_64 --> Processing Dependency: python-enum34 for package: python2-cryptography-1.3.1-3.el7.x86_64 ---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed --> Running transaction check ---> Package libtommath.x86_64 0:0.42.0-4.el7 will be installed ---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed --> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64 ---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed ---> Package python-idna.noarch 0:2.0-1.el7 will be installed ---> Package python-ipaddress.noarch 0:1.0.16-2.el7 will be installed --> Running transaction check ---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed --> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch --> Running transaction check ---> Package python-ply.noarch 0:3.4-10.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: ansible noarch 2.3.0.0-3.el7 epel 5.7 M python2-pip noarch 8.1.2-5.el7 epel 1.7 M python2-ruamel-yaml x86_64 0.12.14-9.el7 li 245 k Installing for dependencies: libtomcrypt x86_64 1.17-23.el7 epel 224 k libtommath x86_64 0.42.0-4.el7 epel 35 k python-cffi x86_64 1.6.0-5.el7 oso-rhui-rhel-server-releases 218 k python-enum34 noarch 1.0.4-1.el7 oso-rhui-rhel-server-releases 52 k python-httplib2 noarch 0.9.1-2.el7aos li 115 k python-idna noarch 2.0-1.el7 oso-rhui-rhel-server-releases 92 k python-ipaddress noarch 1.0.16-2.el7 oso-rhui-rhel-server-releases 34 k python-keyczar noarch 0.71c-2.el7aos rhel-7-server-ose-3.1-rpms 217 k python-paramiko noarch 2.1.1-1.el7 rhel-7-server-ose-3.4-rpms 266 k python-ply noarch 3.4-10.el7 oso-rhui-rhel-server-releases 123 k python-pycparser noarch 2.14-1.el7 oso-rhui-rhel-server-releases 105 k python2-crypto x86_64 2.6.1-13.el7 epel 476 k python2-cryptography x86_64 1.3.1-3.el7 oso-rhui-rhel-server-releases 471 k python2-pyasn1 noarch 0.1.9-7.el7 oso-rhui-rhel-server-releases 100 k python2-ruamel-ordereddict x86_64 0.4.9-3.el7 li 38 k python2-typing noarch 3.5.2.2-3.el7 epel 39 k sshpass x86_64 1.06-1.el7 epel 21 k Transaction Summary ================================================================================ Install 3 Packages (+17 Dependent packages) Total download size: 10 M Installed size: 47 M Downloading packages: -------------------------------------------------------------------------------- Total 5.2 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.o92NVe9bPs/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 17:21:47 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.5.71 in /tmp/openshift/origin-aggregated-logging/openshift.local.config/node-172.18.5.71 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 23.781s: 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.5.71:8443 was refused - did you specify the right host or port? ... repeated 45 times Error from server (Forbidden): User "system:admin" cannot "get" on "/healthz" ... repeated 9 times Running hack/lib/start.sh:353: executing 'oc get --raw https://172.18.5.71: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.225s: hack/lib/start.sh:353: executing 'oc get --raw https://172.18.5.71:10250/healthz --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting any result and text 'ok'; re-trying every 0.5s until completion or 120.000s Standard output from the command: ok There was no error output from the command. Running hack/lib/start.sh:354: executing 'oc get --raw /healthz/ready --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting any result and text 'ok'; re-trying every 0.25s until completion or 80.000s... SUCCESS after 0.827s: hack/lib/start.sh:354: executing 'oc get --raw /healthz/ready --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting any result and text 'ok'; re-trying every 0.25s until completion or 80.000s Standard output from the command: ok Standard error from the command: Error from server (InternalError): an error on the server ("") has prevented the request from succeeding Running hack/lib/start.sh:355: executing 'oc get service kubernetes --namespace default --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting success; re-trying every 0.25s until completion or 160.000s... SUCCESS after 0.452s: hack/lib/start.sh:355: executing 'oc get service kubernetes --namespace default --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting success; re-trying every 0.25s until completion or 160.000s Standard output from the command: NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE kubernetes 172.30.0.1 <none> 443/TCP,53/UDP,53/TCP 5s There was no error output from the command. Running hack/lib/start.sh:356: executing 'oc get --raw /api/v1/nodes/172.18.5.71 --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.847s: hack/lib/start.sh:356: executing 'oc get --raw /api/v1/nodes/172.18.5.71 --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.5.71","selfLink":"/api/v1/nodes/172.18.5.71","uid":"931fcafe-4c90-11e7-ae5f-0e23e0dfe868","resourceVersion":"300","creationTimestamp":"2017-06-08T21:22:28Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/os":"linux","kubernetes.io/hostname":"172.18.5.71"},"annotations":{"volumes.kubernetes.io/controller-managed-attach-detach":"true"}},"spec":{"externalID":"172.18.5.71","providerID":"aws:////i-0c1f54357dd154f84"},"status":{"capacity":{"cpu":"4","memory":"7231688Ki","pods":"40"},"allocatable":{"cpu":"4","memory":"7129288Ki","pods":"40"},"conditions":[{"type":"OutOfDisk","status":"False","lastHeartbeatTime":"2017-06-08T21:22:28Z","lastTransitionTime":"2017-06-08T21:22:28Z","reason":"KubeletHasSufficientDisk","message":"kubelet has sufficient disk space available"},{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2017-06-08T21:22:28Z","lastTransitionTime":"2017-06-08T21:22:28Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2017-06-08T21:22:28Z","lastTransitionTime":"2017-06-08T21:22:28Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"Ready","status":"True","lastHeartbeatTime":"2017-06-08T21:22:28Z","lastTransitionTime":"2017-06-08T21:22:28Z","reason":"KubeletReady","message":"kubelet is posting ready status"}],"addresses":[{"type":"LegacyHostIP","address":"172.18.5.71"},{"type":"InternalIP","address":"172.18.5.71"},{"type":"Hostname","address":"172.18.5.71"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"f9370ed252a14f73b014c1301a9b6d1b","systemUUID":"EC2C0CF0-3EF8-9005-BD48-0C03B6323EDC","bootID":"d3370eaf-e742-4660-b900-93beb2fba1ba","kernelVersion":"3.10.0-327.22.2.el7.x86_64","osImage":"Red Hat Enterprise Linux Server 7.3 (Maipo)","containerRuntimeVersion":"docker://1.12.6","kubeletVersion":"v1.6.1+5115d708d7","kubeProxyVersion":"v1.6.1+5115d708d7","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["openshift/origin-federation:6acabdc","openshift/origin-federation:latest"],"sizeBytes":1205885664},{"names":["openshift/origin-docker-registry:6acabdc","openshift/origin-docker-registry:latest"],"sizeBytes":1100164272},{"names":["openshift/origin-gitserver:6acabdc","openshift/origin-gitserver:latest"],"sizeBytes":1086520226},{"names":["openshift/openvswitch:6acabdc","openshift/openvswitch:latest"],"sizeBytes":1053403667},{"names":["openshift/node:6acabdc","openshift/node:latest"],"sizeBytes":1051721928},{"names":["openshift/origin-keepalived-ipfailover:6acabdc","openshift/origin-keepalived-ipfailover:latest"],"sizeBytes":1028529711},{"names":["openshift/origin-haproxy-router:6acabdc","openshift/origin-haproxy-router:latest"],"sizeBytes":1022758742},{"names":["openshift/origin:6acabdc","openshift/origin:latest"],"sizeBytes":1001728427},{"names":["openshift/origin-f5-router:6acabdc","openshift/origin-f5-router:latest"],"sizeBytes":1001728427},{"names":["openshift/origin-sti-builder:6acabdc","openshift/origin-sti-builder:latest"],"sizeBytes":1001728427},{"names":["openshift/origin-recycler:6acabdc","openshift/origin-recycler:latest"],"sizeBytes":1001728427},{"names":["openshift/origin-deployer:6acabdc","openshift/origin-deployer:latest"],"sizeBytes":1001728427},{"names":["openshift/origin-docker-builder:6acabdc","openshift/origin-docker-builder:latest"],"sizeBytes":1001728427},{"names":["openshift/origin-cluster-capacity:6acabdc","openshift/origin-cluster-capacity:latest"],"sizeBytes":962455026},{"names":["rhel7.1:latest"],"sizeBytes":765301508},{"names":["openshift/dind-master:latest"],"sizeBytes":731456758},{"names":["openshift/dind-node:latest"],"sizeBytes":731453034},{"names":["\u003cnone\u003e@\u003cnone\u003e","\u003cnone\u003e:\u003cnone\u003e"],"sizeBytes":709532011},{"names":["docker.io/openshift/origin-logging-kibana@sha256:3b95068a8514b13780c047f955e99d481af5597bf2b214501030e7be2f4d6dc1","docker.io/openshift/origin-logging-kibana:latest"],"sizeBytes":682851503},{"names":["openshift/dind:latest"],"sizeBytes":640650210},{"names":["docker.io/openshift/origin-logging-elasticsearch@sha256:273c11b82929c5f946ddb48bd49dbe1e77ba40d9c15275dc7619fd07b9c8ec54","docker.io/openshift/origin-logging-elasticsearch:latest"],"sizeBytes":425433879},{"names":["docker.io/openshift/base-centos7@sha256:aea292a3bddba020cde0ee83e6a45807931eb607c164ec6a3674f67039d8cd7c","docker.io/openshift/base-centos7:latest"],"sizeBytes":383049978},{"names":["rhel7.2:latest"],"sizeBytes":377493597},{"names":["openshift/origin-egress-router:6acabdc","openshift/origin-egress-router:latest"],"sizeBytes":364745713},{"names":["openshift/origin-base:latest"],"sizeBytes":363070172},{"names":["\u003cnone\u003e@\u003cnone\u003e","\u003cnone\u003e:\u003cnone\u003e"],"sizeBytes":363024702},{"names":["docker.io/openshift/origin-logging-fluentd@sha256:b55877bf5f5624c0111688db16bac54ed7b64291114323fb010d9e8e630b1c89","docker.io/openshift/origin-logging-fluentd:latest"],"sizeBytes":359219273},{"names":["docker.io/fedora@sha256:69281ddd7b2600e5f2b17f1e12d7fba25207f459204fb2d15884f8432c479136","docker.io/fedora:25"],"sizeBytes":230864375},{"names":["docker.io/openshift/origin-logging-curator@sha256:c09a1f9ef6f2ca23b4d3dca5f4a2c0f5bb76ed65351d9295d7d3344e5bce3f89","docker.io/openshift/origin-logging-curator:latest"],"sizeBytes":224977447},{"names":["rhel7.3:latest","rhel7:latest"],"sizeBytes":219121266},{"names":["openshift/origin-pod:6acabdc","openshift/origin-pod:latest"],"sizeBytes":213199843},{"names":["registry.access.redhat.com/rhel7.2@sha256:98e6ca5d226c26e31a95cd67716afe22833c943e1926a21daf1a030906a02249","registry.access.redhat.com/rhel7.2:latest"],"sizeBytes":201376319},{"names":["registry.access.redhat.com/rhel7.3@sha256:1e232401d8e0ba53b36b757b4712fbcbd1dab9c21db039c45a84871a74e89e68","registry.access.redhat.com/rhel7.3:latest"],"sizeBytes":192693772},{"names":["docker.io/centos@sha256:bba1de7c9d900a898e3cadbae040dfe8a633c06bc104a0df76ae24483e03c077"],"sizeBytes":192548999},{"names":["openshift/origin-source:latest"],"sizeBytes":192548894},{"names":["docker.io/centos@sha256:aebf12af704307dfa0079b3babdca8d7e8ff6564696882bcb5d11f1d461f9ee9","docker.io/centos:7","docker.io/centos:centos7"],"sizeBytes":192548537},{"names":["registry.access.redhat.com/rhel7.1@sha256:1bc5a4c43bbb29a5a96a61896ff696933be3502e2f5fdc4cde02d9e101731fdd","registry.access.redhat.com/rhel7.1:latest"],"sizeBytes":158229901},{"names":["openshift/hello-openshift:6acabdc","openshift/hello-openshift:latest"],"sizeBytes":5643318}]}} Standard error from the command: Error from server (NotFound): nodes "172.18.5.71" not found serviceaccount "registry" created clusterrolebinding "registry-registry-role" created deploymentconfig "docker-registry" created service "docker-registry" created --> Creating router router ... info: password for stats user admin has been set to k3MdwO1KTI 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.449s: /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.250s: /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.355s: 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 0.637s: 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 Less than a second ago sha256:d8af300e072a46c4298dc4b2db682a8b104964c1113d93819ce296e185a6cc4a Standard error from the command: Error from server (NotFound): imagestreamtags.image.openshift.io "origin:latest" not found 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 0.247s: hack/testing/build-images:33: executing 'wait_for_builds_complete' expecting success Standard output from the command: Builds are complete There was no error output from the command. /tmp/tmp.o92NVe9bPs/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.5.71:8443 openshift_logging_image_prefix=172.30.169.251:5000/logging/ openshift_logging_use_ops=true openshift_logging_fluentd_journal_read_from_head=False openshift_logging_es_log_appenders=['console'] openshift_logging_use_mux=false openshift_logging_mux_allow_external=false openshift_logging_use_mux_client=false ################################### Running hack/testing/init-log-stack:58: executing 'oc login -u system:admin' expecting success... SUCCESS after 0.223s: hack/testing/init-log-stack:58: executing 'oc login -u system:admin' expecting success Standard output from the command: Logged into "https://172.18.5.71: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.o92NVe9bPs/openhift-ansible/ansible.cfg as config file PLAYBOOK: openshift-logging.yml ************************************************ 4 plays in /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:43 TASK [Evaluate oo_masters] ***************************************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:52 TASK [Evaluate oo_first_master] ************************************************ task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:70 TASK [Evaluate oo_etcd_to_config] ********************************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:79 TASK [Evaluate oo_first_etcd] ************************************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:100 TASK [Evaluate oo_etcd_hosts_to_backup] **************************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:114 TASK [Add master to oo_nodes_to_config] **************************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:124 TASK [Evaluate oo_lb_to_config] ************************************************ task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:134 TASK [Evaluate oo_nfs_to_config] *********************************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/playbooks/common/openshift-cluster/evaluate_groups.yml:143 TASK [Evaluate oo_glusterfs_to_config] ***************************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_facts/tasks/main.yml:53 ok: [openshift] => (item=/tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_facts/vars/default.yml) => { "ansible_facts": { "required_packages": [ "iproute", "python-dbus", "PyYAML", "yum-utils" ] }, "item": "/tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_facts/vars/default.yml" } TASK [openshift_facts : Ensure various deps are installed] ********************* task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_facts/tasks/main.yml:71 changed: [openshift] => { "ansible_facts": { "openshift": { "common": { "admin_binary": "/usr/local/bin/oadm", "all_hostnames": [ "172.18.5.71", "ec2-34-207-75-158.compute-1.amazonaws.com", "ip-172-18-5-71.ec2.internal", "34.207.75.158" ], "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-5-71.ec2.internal", "install_examples": true, "internal_hostnames": [ "172.18.5.71", "ip-172-18-5-71.ec2.internal" ], "ip": "172.18.5.71", "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-34-207-75-158.compute-1.amazonaws.com", "public_ip": "34.207.75.158", "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-5-71.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-5-71.ec2.internal", "instance-action": "none", "instance-id": "i-0c1f54357dd154f84", "instance-type": "c4.xlarge", "local-hostname": "ip-172-18-5-71.ec2.internal", "local-ipv4": "172.18.5.71", "mac": "0e:23:e0:df:e8:68", "metrics": { "vhostmd": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" }, "network": { "interfaces": { "macs": { "0e:23:e0:df:e8:68": { "device-number": "0", "interface-id": "eni-f1796f2b", "ipv4-associations": { "34.207.75.158": "172.18.5.71" }, "local-hostname": "ip-172-18-5-71.ec2.internal", "local-ipv4s": "172.18.5.71", "mac": "0e:23:e0:df:e8:68", "owner-id": "531415883065", "public-hostname": "ec2-34-207-75-158.compute-1.amazonaws.com", "public-ipv4s": "34.207.75.158", "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-34-207-75-158.compute-1.amazonaws.com", "public-ipv4": "34.207.75.158", "public-keys/": "0=libra", "reservation-id": "r-06bfb40e89ba885e4", "security-groups": "default", "services": { "domain": "amazonaws.com", "partition": "aws" } }, "name": "aws", "network": { "hostname": "ip-172-18-5-71.ec2.internal", "interfaces": [ { "ips": [ "172.18.5.71" ], "network_id": "subnet-cf57c596", "network_type": "vpc", "public_ips": [ "34.207.75.158" ] } ], "ip": "172.18.5.71", "ipv6_enabled": false, "public_hostname": "ec2-34-207-75-158.compute-1.amazonaws.com", "public_ip": "34.207.75.158" }, "zone": "us-east-1d" } } }, "changed": true } TASK [openshift_facts : Set repoquery command] ********************************* task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/main.yaml:6 ok: [openshift] => (item=/tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging/vars/default_images.yml" } TASK [openshift_logging : Set logging image facts] ***************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/main.yaml:12 ok: [openshift] => { "ansible_facts": { "openshift_logging_image_prefix": "172.30.169.251:5000/logging/", "openshift_logging_image_version": "latest" }, "changed": false } TASK [openshift_logging : Create temp directory for doing work in] ************* task path: /tmp/tmp.o92NVe9bPs/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.002247", "end": "2017-06-08 17:36:06.793456", "rc": 0, "start": "2017-06-08 17:36:06.791209" } STDOUT: /tmp/openshift-logging-ansible-DxeH48 TASK [openshift_logging : debug] *********************************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/main.yaml:24 ok: [openshift] => { "changed": false } MSG: Created temp dir /tmp/openshift-logging-ansible-DxeH48 TASK [openshift_logging : Create local temp directory for doing work in] ******* task path: /tmp/tmp.o92NVe9bPs/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.002264", "end": "2017-06-08 17:36:06.951137", "rc": 0, "start": "2017-06-08 17:36:06.948873" } STDOUT: /tmp/openshift-logging-ansible-RP1j3u TASK [openshift_logging : include] ********************************************* task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/main.yaml:33 included: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml for openshift TASK [openshift_logging : Gather OpenShift Logging Facts] ********************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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-08T21:22:31Z", "name": "logging", "resourceVersion": "765", "selfLink": "/api/v1/namespaces/logging", "uid": "94a95d28-4c90-11e7-ae5f-0e23e0dfe868" }, "spec": { "finalizers": [ "openshift.io/origin", "kubernetes" ] }, "status": { "phase": "Active" } }, "returncode": 0 }, "state": "present" } TASK [openshift_logging : Labeling logging project] **************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:13 TASK [openshift_logging : Labeling logging project] **************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:47 included: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml for openshift TASK [openshift_logging : Checking for ca.key] ********************************* task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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-DxeH48/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.312832", "end": "2017-06-08 17:36:11.337265", "rc": 0, "start": "2017-06-08 17:36:11.024433" } TASK [openshift_logging : Checking for signing.conf] *************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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-1496957771.5-216311949962706/source", "state": "file", "uid": 0 } TASK [openshift_logging : include] ********************************************* task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:39 included: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml for openshift included: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml for openshift included: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/procure_server_certs.yaml for openshift TASK [openshift_logging : Checking for kibana.crt] ***************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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-DxeH48/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.704865", "end": "2017-06-08 17:36:13.883265", "rc": 0, "start": "2017-06-08 17:36:13.178400" } TASK [openshift_logging : Copying server key for kibana-internal to generated certs directory] *** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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-1496957774.36-182462289431184/source", "state": "file", "uid": 0 } TASK [openshift_logging : Copy proxy TLS configuration file] ******************* task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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-1496957774.74-276292855633633/source", "state": "file", "uid": 0 } TASK [openshift_logging : Checking for ca.crt.srl] ***************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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-1496957775.09-228378689695882/source", "state": "file", "uid": 0 } TASK [openshift_logging : Generate PEM certs] ********************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:111 included: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml for openshift included: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml for openshift included: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml for openshift included: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/generate_pems.yaml for openshift TASK [openshift_logging : Checking for system.logging.fluentd.key] ************* task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.212628", "end": "2017-06-08 17:36:16.143889", "rc": 0, "start": "2017-06-08 17:36:15.931261" } 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.o92NVe9bPs/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.007933", "end": "2017-06-08 17:36:16.279080", "rc": 0, "start": "2017-06-08 17:36:16.271147" } 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 21:36:16 2017 GMT Not After : Jun 8 21:36:16 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: B6:B5:97:F8:E3:63:E7:95:58:75:5A:6B:AB:1C:92:95:34:0C:44:26 X509v3 Authority Key Identifier: 0. Certificate is to be certified until Jun 8 21:36:16 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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.203987", "end": "2017-06-08 17:36:16.884854", "rc": 0, "start": "2017-06-08 17:36:16.680867" } 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.o92NVe9bPs/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.007956", "end": "2017-06-08 17:36:17.017862", "rc": 0, "start": "2017-06-08 17:36:17.009906" } 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 21:36:17 2017 GMT Not After : Jun 8 21:36:17 2019 GMT Subject: organizationName = Logging organizationalUnitName = OpenShift commonName = system.logging.kibana X509v3 extensions: X509v3 Key Usage: critical Digital Signature, Key Encipherment X509v3 Basic Constraints: CA:FALSE X509v3 Extended Key Usage: TLS Web Server Authentication, TLS Web Client Authentication X509v3 Subject Key Identifier: C1:74:93:8B:94:3B:1D:36:7D:37:BD:22:48:01:87:10:37:09:A8:70 X509v3 Authority Key Identifier: 0. Certificate is to be certified until Jun 8 21:36:17 2019 GMT (730 days) Write out database with 1 new entries Data Base Updated TASK [openshift_logging : Checking for system.logging.curator.key] ************* task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.035163", "end": "2017-06-08 17:36:17.449057", "rc": 0, "start": "2017-06-08 17:36:17.413894" } 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.o92NVe9bPs/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.007708", "end": "2017-06-08 17:36:17.580845", "rc": 0, "start": "2017-06-08 17:36:17.573137" } 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 21:36:17 2017 GMT Not After : Jun 8 21:36:17 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: F1:AD:90:9F:D7:1F:58:27:67:8C:ED:0D:E0:0C:AA:38:F7:61:50:B0 X509v3 Authority Key Identifier: 0. Certificate is to be certified until Jun 8 21:36:17 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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.045775", "end": "2017-06-08 17:36:18.025434", "rc": 0, "start": "2017-06-08 17:36:17.979659" } 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.o92NVe9bPs/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.007947", "end": "2017-06-08 17:36:18.159061", "rc": 0, "start": "2017-06-08 17:36:18.151114" } 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 21:36:18 2017 GMT Not After : Jun 8 21:36:18 2019 GMT Subject: organizationName = Logging organizationalUnitName = OpenShift commonName = system.admin X509v3 extensions: X509v3 Key Usage: critical Digital Signature, Key Encipherment X509v3 Basic Constraints: CA:FALSE X509v3 Extended Key Usage: TLS Web Server Authentication, TLS Web Client Authentication X509v3 Subject Key Identifier: 4E:23:A8:D1:A5:53:CF:02:5F:F0:FF:E7:5B:0D:CB:80:1E:B1:06:F9 X509v3 Authority Key Identifier: 0. Certificate is to be certified until Jun 8 21:36:18 2019 GMT (730 days) Write out database with 1 new entries Data Base Updated TASK [openshift_logging : Generate PEM cert for mux] *************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:137 included: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml for openshift TASK [openshift_logging : Checking for elasticsearch.jks] ********************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:43 changed: [openshift] => (item=ca.crt) => { "changed": true, "checksum": "5fc91bfe9792aa432706679e8c6f6ffaa8e4bfb5", "dest": "/tmp/openshift-logging-ansible-RP1j3u/ca.crt", "item": "ca.crt", "md5sum": "bc2856034b9e315ae65454622c4cc3f9", "remote_checksum": "5fc91bfe9792aa432706679e8c6f6ffaa8e4bfb5", "remote_md5sum": null } changed: [openshift] => (item=ca.key) => { "changed": true, "checksum": "19dafd4804be9072e4b171e803004d5c1963ed72", "dest": "/tmp/openshift-logging-ansible-RP1j3u/ca.key", "item": "ca.key", "md5sum": "cc7b9ab99fdf724a2f35eb4a0515c043", "remote_checksum": "19dafd4804be9072e4b171e803004d5c1963ed72", "remote_md5sum": null } changed: [openshift] => (item=ca.serial.txt) => { "changed": true, "checksum": "b649682b92a811746098e5c91e891e5142a41950", "dest": "/tmp/openshift-logging-ansible-RP1j3u/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": "5c2d0fc6c36ca3e57a1d37bea1a0f27517db47fa", "dest": "/tmp/openshift-logging-ansible-RP1j3u/ca.db", "item": "ca.db", "md5sum": "e06eba9b8f7bdf27cf094c0d3edd2984", "remote_checksum": "5c2d0fc6c36ca3e57a1d37bea1a0f27517db47fa", "remote_md5sum": null } TASK [openshift_logging : template] ******************************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:56 changed: [openshift -> 127.0.0.1] => { "changed": true, "checksum": "8d9876e80d052e1b4fcc18554f1c0fc60df9853e", "dest": "/tmp/openshift-logging-ansible-RP1j3u/signing.conf", "gid": 0, "group": "root", "md5sum": "072cda6544dbecb74f60716b174b8290", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 4281, "src": "/root/.ansible/tmp/ansible-tmp-1496957779.68-169018718396697/source", "state": "file", "uid": 0 } TASK [openshift_logging : Run JKS generation script] *************************** task path: /tmp/tmp.o92NVe9bPs/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-RP1j3u + SCRATCH_DIR=/tmp/openshift-logging-ansible-RP1j3u + PROJECT=logging + [[ ! -f /tmp/openshift-logging-ansible-RP1j3u/system.admin.jks ]] + generate_JKS_client_cert system.admin + NODE_NAME=system.admin + ks_pass=kspass + ts_pass=tspass + dir=/tmp/openshift-logging-ansible-RP1j3u + echo Generating keystore and certificate for node system.admin + keytool -genkey -alias system.admin -keystore /tmp/openshift-logging-ansible-RP1j3u/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-RP1j3u/system.admin.jks -file /tmp/openshift-logging-ansible-RP1j3u/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-RP1j3u/system.admin.jks.csr -notext -out /tmp/openshift-logging-ansible-RP1j3u/system.admin.jks.crt -config /tmp/openshift-logging-ansible-RP1j3u/signing.conf -extensions v3_req -batch -extensions server_ext Using configuration from /tmp/openshift-logging-ansible-RP1j3u/signing.conf Check that the request matches the signature Signature ok Certificate Details: Serial Number: 6 (0x6) Validity Not Before: Jun 8 21:36:30 2017 GMT Not After : Jun 8 21:36:30 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: E6:98:76:7A:DE:D3:FB:87:CA:F3:8B:8B:72:3A:41:F9:68:71:4B:97 X509v3 Authority Key Identifier: 0. Certificate is to be certified until Jun 8 21:36:30 2019 GMT (730 days) Write out database with 1 new entries Data Base Updated + echo 'Import back to keystore (including CA chain)' + keytool -import -file /tmp/openshift-logging-ansible-RP1j3u/ca.crt -keystore /tmp/openshift-logging-ansible-RP1j3u/system.admin.jks -storepass kspass -noprompt -alias sig-ca Certificate was added to keystore + keytool -import -file /tmp/openshift-logging-ansible-RP1j3u/system.admin.jks.crt -keystore /tmp/openshift-logging-ansible-RP1j3u/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-RP1j3u/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-RP1j3u + 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-RP1j3u/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-RP1j3u/elasticsearch.jks -storepass kspass -file /tmp/openshift-logging-ansible-RP1j3u/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-RP1j3u/elasticsearch.csr -notext -out /tmp/openshift-logging-ansible-RP1j3u/elasticsearch.crt -config /tmp/openshift-logging-ansible-RP1j3u/signing.conf -extensions v3_req -batch -extensions server_ext Using configuration from /tmp/openshift-logging-ansible-RP1j3u/signing.conf Check that the request matches the signature Signature ok Certificate Details: Serial Number: 7 (0x7) Validity Not Before: Jun 8 21:36:31 2017 GMT Not After : Jun 8 21:36:31 2019 GMT Subject: organizationName = Logging organizationalUnitName = OpenShift commonName = elasticsearch X509v3 extensions: X509v3 Key Usage: critical Digital Signature, Key Encipherment X509v3 Basic Constraints: CA:FALSE X509v3 Extended Key Usage: TLS Web Server Authentication, TLS Web Client Authentication X509v3 Subject Key Identifier: 86:8B:F8:E8:2E:F6:51:80:9E:D1:89:4B:69:BA:06:47:FB:AC:D7:27 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 21:36:31 2019 GMT (730 days) Write out database with 1 new entries Data Base Updated + echo 'Import back to keystore (including CA chain)' + keytool -import -file /tmp/openshift-logging-ansible-RP1j3u/ca.crt -keystore /tmp/openshift-logging-ansible-RP1j3u/elasticsearch.jks -storepass kspass -noprompt -alias sig-ca Certificate was added to keystore + keytool -import -file /tmp/openshift-logging-ansible-RP1j3u/elasticsearch.crt -keystore /tmp/openshift-logging-ansible-RP1j3u/elasticsearch.jks -storepass kspass -noprompt -alias elasticsearch Certificate reply was installed in keystore + echo All done for elasticsearch + [[ ! -f /tmp/openshift-logging-ansible-RP1j3u/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-RP1j3u + 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-RP1j3u/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-RP1j3u/logging-es.jks -storepass kspass -file /tmp/openshift-logging-ansible-RP1j3u/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-RP1j3u/logging-es.csr -notext -out /tmp/openshift-logging-ansible-RP1j3u/logging-es.crt -config /tmp/openshift-logging-ansible-RP1j3u/signing.conf -extensions v3_req -batch -extensions server_ext Using configuration from /tmp/openshift-logging-ansible-RP1j3u/signing.conf Check that the request matches the signature Signature ok Certificate Details: Serial Number: 8 (0x8) Validity Not Before: Jun 8 21:36:32 2017 GMT Not After : Jun 8 21:36:32 2019 GMT Subject: organizationName = Logging organizationalUnitName = OpenShift commonName = logging-es X509v3 extensions: X509v3 Key Usage: critical Digital Signature, Key Encipherment X509v3 Basic Constraints: CA:FALSE X509v3 Extended Key Usage: TLS Web Server Authentication, TLS Web Client Authentication X509v3 Subject Key Identifier: 1F:E9:F4:6E:27:33:5B:CE:5A:6D:55:90:6D:19:2D:78:2D:12:4E:0D 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 21:36:32 2019 GMT (730 days) Write out database with 1 new entries Data Base Updated + echo 'Import back to keystore (including CA chain)' + keytool -import -file /tmp/openshift-logging-ansible-RP1j3u/ca.crt -keystore /tmp/openshift-logging-ansible-RP1j3u/logging-es.jks -storepass kspass -noprompt -alias sig-ca Certificate was added to keystore + keytool -import -file /tmp/openshift-logging-ansible-RP1j3u/logging-es.crt -keystore /tmp/openshift-logging-ansible-RP1j3u/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-RP1j3u/truststore.jks ']' + createTruststore + echo 'Import CA to truststore for validating client certs' + keytool -import -file /tmp/openshift-logging-ansible-RP1j3u/ca.crt -keystore /tmp/openshift-logging-ansible-RP1j3u/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:66 changed: [openshift] => { "changed": true, "checksum": "190fd7de7e384df35b2d4421d2ec5e6566149ac4", "dest": "/etc/origin/logging/elasticsearch.jks", "gid": 0, "group": "root", "md5sum": "0e076d39eff184471c7fb8bbbf0da315", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 3768, "src": "/root/.ansible/tmp/ansible-tmp-1496957793.11-73072056132655/source", "state": "file", "uid": 0 } TASK [openshift_logging : Pushing locally generated JKS certs to remote host...] *** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:72 changed: [openshift] => { "changed": true, "checksum": "1a239a9ce37834d45abe32047a880ce6f589eece", "dest": "/etc/origin/logging/logging-es.jks", "gid": 0, "group": "root", "md5sum": "463aaaa47ebfb4b91225f74142508b30", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 3982, "src": "/root/.ansible/tmp/ansible-tmp-1496957793.36-137627287240241/source", "state": "file", "uid": 0 } TASK [openshift_logging : Pushing locally generated JKS certs to remote host...] *** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:78 changed: [openshift] => { "changed": true, "checksum": "75a3ec533f433e5cda8d67ed9a9d7b09b4be328f", "dest": "/etc/origin/logging/system.admin.jks", "gid": 0, "group": "root", "md5sum": "86784eb44658b9df3d01f5c39fbffc45", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 3700, "src": "/root/.ansible/tmp/ansible-tmp-1496957793.59-264639826684279/source", "state": "file", "uid": 0 } TASK [openshift_logging : Pushing locally generated JKS certs to remote host...] *** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/generate_jks.yaml:84 changed: [openshift] => { "changed": true, "checksum": "9cb419b577aa4cf21eac38c2de136562dadf20ee", "dest": "/etc/origin/logging/truststore.jks", "gid": 0, "group": "root", "md5sum": "36a07e2fb0e5cfadcd065be150386284", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 797, "src": "/root/.ansible/tmp/ansible-tmp-1496957793.82-154023566259016/source", "state": "file", "uid": 0 } TASK [openshift_logging : Generate proxy session] ****************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:141 ok: [openshift] => { "ansible_facts": { "session_secret": "iRqutIxbf5rqiQ58lkKQNsisjsRHDOmfdCsfIbzgq4NHoQmeANiWVmsZI6SR57wKa5BoTytxeUH3IQF9aKH1IOT4p3N8m9MNkJziowYOKBU0JtZiZKRXsaqJN3usTZAWvpUQEisvtvhW9D5dHj6CLaSM3Oquw0WI9KLyaMGwFwh7JyUUANjIvsBCrflmr2OlwEvSApLh" }, "changed": false } TASK [openshift_logging : Generate oauth client secret] ************************ task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/generate_certs.yaml:146 ok: [openshift] => { "ansible_facts": { "oauth_secret": "o7chFF8azqQ0usJBSm1lTx4OVHBhrKQ75uSYMLDOYLMIPLRiJm0rv2C146F0gfM9" }, "changed": false } TASK [openshift_logging : set_fact] ******************************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:53 TASK [openshift_logging : set_fact] ******************************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:64 TASK [openshift_logging : include_role] **************************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:85 statically included: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/determine_version.yaml TASK [openshift_logging_elasticsearch : Validate Elasticsearch cluster size] *** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.002256", "end": "2017-06-08 17:36:34.769351", "rc": 0, "start": "2017-06-08 17:36:34.767095" } STDOUT: /tmp/openshift-logging-ansible-kPGPHk TASK [openshift_logging_elasticsearch : set_fact] ****************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:26 ok: [openshift] => { "ansible_facts": { "tempdir": "/tmp/openshift-logging-ansible-kPGPHk" }, "changed": false } TASK [openshift_logging_elasticsearch : Create templates subdirectory] ********* task path: /tmp/tmp.o92NVe9bPs/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-kPGPHk/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.o92NVe9bPs/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.o92NVe9bPs/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-gx6ws" } ], "kind": "ServiceAccount", "metadata": { "creationTimestamp": "2017-06-08T21:36:35Z", "name": "aggregated-logging-elasticsearch", "namespace": "logging", "resourceVersion": "1276", "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-elasticsearch", "uid": "8c06a4d5-4c92-11e7-ae5f-0e23e0dfe868" }, "secrets": [ { "name": "aggregated-logging-elasticsearch-dockercfg-gx6ws" }, { "name": "aggregated-logging-elasticsearch-token-bm2m1" } ] } ], "returncode": 0 }, "state": "present" } TASK [openshift_logging_elasticsearch : copy] ********************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:57 changed: [openshift] => { "changed": true, "checksum": "e5015364391ac609da8655a9a1224131599a5cea", "dest": "/tmp/openshift-logging-ansible-kPGPHk/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-1496957795.97-129290168427111/source", "state": "file", "uid": 0 } TASK [openshift_logging_elasticsearch : Create rolebinding-reader role] ******** task path: /tmp/tmp.o92NVe9bPs/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-08T21:36:36Z", "name": "rolebinding-reader", "resourceVersion": "122", "selfLink": "/oapi/v1/clusterroles/rolebinding-reader", "uid": "8cb01224-4c92-11e7-ae5f-0e23e0dfe868" }, "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.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:81 ok: [openshift] => { "changed": false, "checksum": "d752c09323565f80ed14fa806d42284f0c5aef2a", "dest": "/tmp/openshift-logging-ansible-kPGPHk/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-1496957797.73-107536790658442/source", "state": "file", "uid": 0 } TASK [openshift_logging_elasticsearch : Set logging-elasticsearch-view-role role] *** task path: /tmp/tmp.o92NVe9bPs/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-08T21:36:38Z", "name": "logging-elasticsearch-view-role", "namespace": "logging", "resourceVersion": "837", "selfLink": "/oapi/v1/namespaces/logging/rolebindings/logging-elasticsearch-view-role", "uid": "8dbc8754-4c92-11e7-ae5f-0e23e0dfe868" }, "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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:105 ok: [openshift] => { "changed": false, "checksum": "f91458d5dad42c496e2081ef872777a6f6eb9ff9", "dest": "/tmp/openshift-logging-ansible-kPGPHk/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-1496957798.78-113758067546197/source", "state": "file", "uid": 0 } TASK [openshift_logging_elasticsearch : template] ****************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:111 ok: [openshift] => { "changed": false, "checksum": "6d4f976f6e77a6e0c8dca7e01fb5bedb68678b1d", "dest": "/tmp/openshift-logging-ansible-kPGPHk/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-1496957799.02-188888760913450/source", "state": "file", "uid": 0 } TASK [openshift_logging_elasticsearch : copy] ********************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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-08T21:36:39Z", "name": "logging-elasticsearch", "namespace": "logging", "resourceVersion": "1284", "selfLink": "/api/v1/namespaces/logging/configmaps/logging-elasticsearch", "uid": "8e968298-4c92-11e7-ae5f-0e23e0dfe868" } } ], "returncode": 0 }, "state": "present" } TASK [openshift_logging_elasticsearch : Set ES secret] ************************* task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:168 changed: [openshift] => { "changed": true, "results": { "clusterip": "172.30.5.77", "cmd": "/bin/oc get service logging-es-cluster -o json -n logging", "results": [ { "apiVersion": "v1", "kind": "Service", "metadata": { "creationTimestamp": "2017-06-08T21:36:41Z", "name": "logging-es-cluster", "namespace": "logging", "resourceVersion": "1288", "selfLink": "/api/v1/namespaces/logging/services/logging-es-cluster", "uid": "8faa6460-4c92-11e7-ae5f-0e23e0dfe868" }, "spec": { "clusterIP": "172.30.5.77", "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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:182 changed: [openshift] => { "changed": true, "results": { "clusterip": "172.30.103.73", "cmd": "/bin/oc get service logging-es -o json -n logging", "results": [ { "apiVersion": "v1", "kind": "Service", "metadata": { "creationTimestamp": "2017-06-08T21:36:42Z", "name": "logging-es", "namespace": "logging", "resourceVersion": "1291", "selfLink": "/api/v1/namespaces/logging/services/logging-es", "uid": "904b3ffa-4c92-11e7-ae5f-0e23e0dfe868" }, "spec": { "clusterIP": "172.30.103.73", "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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:237 ok: [openshift] => { "ansible_facts": { "es_deploy_name": "logging-es-data-master-nh0txix5" }, "changed": false } TASK [openshift_logging_elasticsearch : set_fact] ****************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:246 changed: [openshift] => { "changed": true, "checksum": "eef07d059ece9f73e3d3c3f77b3723fd04c1da23", "dest": "/tmp/openshift-logging-ansible-kPGPHk/templates/logging-es-dc.yml", "gid": 0, "group": "root", "md5sum": "333a7d56029c989dbb8b9632d74ac9fe", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 3139, "src": "/root/.ansible/tmp/ansible-tmp-1496957803.29-34462957155683/source", "state": "file", "uid": 0 } TASK [openshift_logging_elasticsearch : Set ES dc] ***************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:262 changed: [openshift] => { "changed": true, "results": { "cmd": "/bin/oc get dc logging-es-data-master-nh0txix5 -o json -n logging", "results": [ { "apiVersion": "v1", "kind": "DeploymentConfig", "metadata": { "creationTimestamp": "2017-06-08T21:36:44Z", "generation": 2, "labels": { "component": "es", "deployment": "logging-es-data-master-nh0txix5", "logging-infra": "elasticsearch", "provider": "openshift" }, "name": "logging-es-data-master-nh0txix5", "namespace": "logging", "resourceVersion": "1305", "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-es-data-master-nh0txix5", "uid": "910c4e49-4c92-11e7-ae5f-0e23e0dfe868" }, "spec": { "replicas": 1, "selector": { "component": "es", "deployment": "logging-es-data-master-nh0txix5", "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-nh0txix5", "logging-infra": "elasticsearch", "provider": "openshift" }, "name": "logging-es-data-master-nh0txix5" }, "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.169.251: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-08T21:36:44Z", "lastUpdateTime": "2017-06-08T21:36:44Z", "message": "Deployment config does not have minimum availability.", "status": "False", "type": "Available" }, { "lastTransitionTime": "2017-06-08T21:36:44Z", "lastUpdateTime": "2017-06-08T21:36:44Z", "message": "replication controller \"logging-es-data-master-nh0txix5-1\" is waiting for pod \"logging-es-data-master-nh0txix5-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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:274 ok: [openshift] => { "changed": false, "path": "/tmp/openshift-logging-ansible-kPGPHk", "state": "absent" } TASK [openshift_logging : set_fact] ******************************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:99 TASK [openshift_logging : set_fact] ******************************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:109 TASK [openshift_logging : include_role] **************************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:132 statically included: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/determine_version.yaml TASK [openshift_logging_elasticsearch : Validate Elasticsearch cluster size] *** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.002411", "end": "2017-06-08 17:36:45.390219", "rc": 0, "start": "2017-06-08 17:36:45.387808" } STDOUT: /tmp/openshift-logging-ansible-YKKrqu TASK [openshift_logging_elasticsearch : set_fact] ****************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:26 ok: [openshift] => { "ansible_facts": { "tempdir": "/tmp/openshift-logging-ansible-YKKrqu" }, "changed": false } TASK [openshift_logging_elasticsearch : Create templates subdirectory] ********* task path: /tmp/tmp.o92NVe9bPs/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-YKKrqu/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.o92NVe9bPs/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.o92NVe9bPs/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-gx6ws" } ], "kind": "ServiceAccount", "metadata": { "creationTimestamp": "2017-06-08T21:36:35Z", "name": "aggregated-logging-elasticsearch", "namespace": "logging", "resourceVersion": "1276", "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-elasticsearch", "uid": "8c06a4d5-4c92-11e7-ae5f-0e23e0dfe868" }, "secrets": [ { "name": "aggregated-logging-elasticsearch-dockercfg-gx6ws" }, { "name": "aggregated-logging-elasticsearch-token-bm2m1" } ] } ], "returncode": 0 }, "state": "present" } TASK [openshift_logging_elasticsearch : copy] ********************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:57 changed: [openshift] => { "changed": true, "checksum": "e5015364391ac609da8655a9a1224131599a5cea", "dest": "/tmp/openshift-logging-ansible-YKKrqu/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-1496957806.14-23905573787364/source", "state": "file", "uid": 0 } TASK [openshift_logging_elasticsearch : Create rolebinding-reader role] ******** task path: /tmp/tmp.o92NVe9bPs/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-08T21:36:36Z", "name": "rolebinding-reader", "resourceVersion": "122", "selfLink": "/oapi/v1/clusterroles/rolebinding-reader", "uid": "8cb01224-4c92-11e7-ae5f-0e23e0dfe868" }, "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.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:81 ok: [openshift] => { "changed": false, "checksum": "d752c09323565f80ed14fa806d42284f0c5aef2a", "dest": "/tmp/openshift-logging-ansible-YKKrqu/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-1496957807.88-69712445251490/source", "state": "file", "uid": 0 } TASK [openshift_logging_elasticsearch : Set logging-elasticsearch-view-role role] *** task path: /tmp/tmp.o92NVe9bPs/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-08T21:36:38Z", "name": "logging-elasticsearch-view-role", "namespace": "logging", "resourceVersion": "1281", "selfLink": "/oapi/v1/namespaces/logging/rolebindings/logging-elasticsearch-view-role", "uid": "8dbc8754-4c92-11e7-ae5f-0e23e0dfe868" }, "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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:105 ok: [openshift] => { "changed": false, "checksum": "f91458d5dad42c496e2081ef872777a6f6eb9ff9", "dest": "/tmp/openshift-logging-ansible-YKKrqu/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-1496957809.24-91497701707737/source", "state": "file", "uid": 0 } TASK [openshift_logging_elasticsearch : template] ****************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:111 ok: [openshift] => { "changed": false, "checksum": "6d4f976f6e77a6e0c8dca7e01fb5bedb68678b1d", "dest": "/tmp/openshift-logging-ansible-YKKrqu/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-1496957809.52-46049383218215/source", "state": "file", "uid": 0 } TASK [openshift_logging_elasticsearch : copy] ********************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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-08T21:36:50Z", "name": "logging-elasticsearch-ops", "namespace": "logging", "resourceVersion": "1334", "selfLink": "/api/v1/namespaces/logging/configmaps/logging-elasticsearch-ops", "uid": "94e99787-4c92-11e7-ae5f-0e23e0dfe868" } } ], "returncode": 0 }, "state": "present" } TASK [openshift_logging_elasticsearch : Set ES secret] ************************* task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:144 ok: [openshift] => { "changed": false, "results": { "apiVersion": "v1", "data":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yZx4epqS7NN7l8AcHRbbHonKWNIlSr88CPOTvCxckrp1slDelo10rAJoMW2bN2KFIXu2EHf8Y+hULKb3K5Wb+TvY7gh90v+ooqc6sAThbscgXgQoVjasMDM6P7LtJgg/qSaQYLEFvDhJmbonDJ//4kTcb5gzW+pZEaTHz/CNhVTE3/TXz/0fDl4uDrntYua3o=" }, "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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:168 changed: [openshift] => { "changed": true, "results": { "clusterip": "172.30.90.21", "cmd": "/bin/oc get service logging-es-ops-cluster -o json -n logging", "results": [ { "apiVersion": "v1", "kind": "Service", "metadata": { "creationTimestamp": "2017-06-08T21:36:52Z", "name": "logging-es-ops-cluster", "namespace": "logging", "resourceVersion": "1336", "selfLink": "/api/v1/namespaces/logging/services/logging-es-ops-cluster", "uid": "9605f33d-4c92-11e7-ae5f-0e23e0dfe868" }, "spec": { "clusterIP": "172.30.90.21", "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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:182 changed: [openshift] => { "changed": true, "results": { "clusterip": "172.30.181.90", "cmd": "/bin/oc get service logging-es-ops -o json -n logging", "results": [ { "apiVersion": "v1", "kind": "Service", "metadata": { "creationTimestamp": "2017-06-08T21:36:53Z", "name": "logging-es-ops", "namespace": "logging", "resourceVersion": "1339", "selfLink": "/api/v1/namespaces/logging/services/logging-es-ops", "uid": "96c5a7b6-4c92-11e7-ae5f-0e23e0dfe868" }, "spec": { "clusterIP": "172.30.181.90", "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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:237 ok: [openshift] => { "ansible_facts": { "es_deploy_name": "logging-es-ops-data-master-kw4v1jbu" }, "changed": false } TASK [openshift_logging_elasticsearch : set_fact] ****************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:246 changed: [openshift] => { "changed": true, "checksum": "f6a76139bc2c67bc4c8a4a3d6c185674bc3bd5a2", "dest": "/tmp/openshift-logging-ansible-YKKrqu/templates/logging-es-dc.yml", "gid": 0, "group": "root", "md5sum": "3ebd6b76b16bf6287a592c448a5afcd7", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 3179, "src": "/root/.ansible/tmp/ansible-tmp-1496957814.28-18208504467316/source", "state": "file", "uid": 0 } TASK [openshift_logging_elasticsearch : Set ES dc] ***************************** task path: /tmp/tmp.o92NVe9bPs/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-kw4v1jbu -o json -n logging", "results": [ { "apiVersion": "v1", "kind": "DeploymentConfig", "metadata": { "creationTimestamp": "2017-06-08T21:36:55Z", "generation": 2, "labels": { "component": "es-ops", "deployment": "logging-es-ops-data-master-kw4v1jbu", "logging-infra": "elasticsearch", "provider": "openshift" }, "name": "logging-es-ops-data-master-kw4v1jbu", "namespace": "logging", "resourceVersion": "1346", "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-es-ops-data-master-kw4v1jbu", "uid": "97ad4934-4c92-11e7-ae5f-0e23e0dfe868" }, "spec": { "replicas": 1, "selector": { "component": "es-ops", "deployment": "logging-es-ops-data-master-kw4v1jbu", "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-kw4v1jbu", "logging-infra": "elasticsearch", "provider": "openshift" }, "name": "logging-es-ops-data-master-kw4v1jbu" }, "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.169.251: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-08T21:36:55Z", "lastUpdateTime": "2017-06-08T21:36:55Z", "message": "Deployment config does not have minimum availability.", "status": "False", "type": "Available" }, { "lastTransitionTime": "2017-06-08T21:36:55Z", "lastUpdateTime": "2017-06-08T21:36:55Z", "message": "Created new replication controller \"logging-es-ops-data-master-kw4v1jbu-1\" for version 1", "reason": "NewReplicationControllerCreated", "status": "True", "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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:274 ok: [openshift] => { "changed": false, "path": "/tmp/openshift-logging-ansible-YKKrqu", "state": "absent" } TASK [openshift_logging : include_role] **************************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:151 statically included: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/determine_version.yaml TASK [openshift_logging_kibana : fail] ***************************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.002152", "end": "2017-06-08 17:36:56.550770", "rc": 0, "start": "2017-06-08 17:36:56.548618" } STDOUT: /tmp/openshift-logging-ansible-mM8bqQ TASK [openshift_logging_kibana : set_fact] ************************************* task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:12 ok: [openshift] => { "ansible_facts": { "tempdir": "/tmp/openshift-logging-ansible-mM8bqQ" }, "changed": false } TASK [openshift_logging_kibana : Create templates subdirectory] **************** task path: /tmp/tmp.o92NVe9bPs/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-mM8bqQ/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.o92NVe9bPs/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.o92NVe9bPs/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-drwxn" } ], "kind": "ServiceAccount", "metadata": { "creationTimestamp": "2017-06-08T21:36:57Z", "name": "aggregated-logging-kibana", "namespace": "logging", "resourceVersion": "1362", "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-kibana", "uid": "99178348-4c92-11e7-ae5f-0e23e0dfe868" }, "secrets": [ { "name": "aggregated-logging-kibana-dockercfg-drwxn" }, { "name": "aggregated-logging-kibana-token-fmhhg" } ] } ], "returncode": 0 }, "state": "present" } TASK [openshift_logging_kibana : set_fact] ************************************* task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREl4TXpZeE1Gb1hEVEl5TURZd056SXhNell4TVZvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQUwrbjVIOXhRQzNyVDJhRFNWcTFkTHZNaTFaaG9oMU95Rm14UTNuMmxLZzgKM21vL3FjWGVNd3kzc1FpcVprSXNNekVDU0pnZHpsTUsyNW91TloxRW5pK3hxM3dwRVdWU0xvdm8zeFAydU1VKwpaUEluTlkrYjFnYzNGRlFXWmd5YzR3bVZTKzdtMkkrdXFwUXl2QjVYQ015dk03bVVEZTFtamZiNExlc0ZqQVkwCmJKdFN2ZUpRRnRzQ2pJVkFJQUxWTnZPVEt6OCtZeW5NaldaQWNpNzlBdHFZVndEYXJUM3FuV2Myc05iK0wvYU4KWk9KcFA0T3l0eE5ZUGhPbU1Dd1FEWUJkcy9CZ083U2RzV255RmVOZmppZkRzRGErTTF5VFJScmlZN3h3Umo1dwpmWmVlbEV3UnMxMFdCSFowMEkwVnRoNDZ3QkFGRDdEZ1lLS1h3VFViUFMwQ0F3RUFBYU1qTUNFd0RnWURWUjBQCkFRSC9CQVFEQWdLa01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFDUm4KODFUWUFETWhFTmZFaEs5V3RjK1ZVeXYyMVp0WHZOdmorMWJiUjc5bjVmOC9ocG9UMTNmRUVvdTQ3MXVsZXZmZwp4VnE1MFE2SkZuMlUrVE9pc0QxTFB2ZFRjaHNoTzBYLysrVHpQN3RPdkJTV055enlZNVFINGlBK3ZUODJWVzIwCmFKYU9McDBXSXUwT3luU2VKbkl0RmRPcm05TmRWWEx2MU9TK1lUMGYrUGU2ckpuSGg2bXBMczAzdVh3QndkRnQKc2VpY3BZMGlWS3Z6d0k4NU84TEZ5U3VuV3lVTjZXalhTc0FtZ3hiWnMzWW9VaGU3WVFkL3hqNkZRc3B2Y3JsWgp2NU85anVDSDNTLzZpaXB6cXdCT0Z1eHlCZUJDaFdOcXd3TXpvL3N1MG1DRCtwSnBCZ3NRVzhPRW1adWljTW4vCi9pUk54dm1ETmI2bGtScE1mUDg9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K", "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": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcFFJQkFBS0NBUUVBekwvb2VsZFI5cXhFNW90eDRHZi96aE84ZDNTMFVuTFdQb3M5V3dnM3U5c3grNmdzCm1ZbHlWR0FkNW5uckZhRHFqNUFKT3F5SVQxTU9WZkhFdnRkWTJ5T2d2UDlLUHI2alhLczhEN1RjWjRWTjVOS0oKU1MxTW42UWkyYnFKT2pkbmd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psQk91ZnhDNkxaVzl6cGtmN0cwbnNqaUMxRWVxU2JTNzRLYzdJbQpSQlZHRTdod3VyNnJpTlJsTnVkallJcExUWWxtdEx3Z1JjZ21qN1NnYlNIblpQTHBQQmFycnZPNGZObFZ2WlNpClhPR3JyeUZ2dmVGeGhRMkVzWEpRUUFvUFBVRzNobklXQ0JqZ1h5TXZBb0dBTlBXVDZONFNTRzFKZnh4dFU1UVIKcGZtMytQNHAvOVU3S1FwVHo5RWhldEhZamJJc092L3N3UnF0UWtYdGlPKzJLanZLSElGQ1lrUkZoMVBKYXhLMwpJcG9hVzM1RXplOGptWVpLZHJwUGJNTklTZFp2K0I3Mmd1TFUwQzQ4OHJ4bndYcWZ5dGltdUNMaTVoRklXTkswClpEY1BwSlFMQVpHeE9aZUhwR1JGUU9rQ2dZRUF1K3JQNTI4MHZGMVh5eTI1TzJyVU1wUXVsaTVDaHBGS1lFY0sKbnNVdjBRQVcwRmg4Z0RGVE9JVnpXS3BleXJId0ZQRmNjZUx6a3IzbHZIODZNeFFWWStXVEFaWmJPOE9KdnY1SwpNdG1aNXkrdmhObWtlUTQrZ1AzK3ArMDBCUXRHWlozOW1KWTBOenVGcmNMWWxibTNReTY0VzdtV1lpSkcxSC9VCm1lUCtkOE1DZ1lFQXJEUXo2N0tTTmhSSTU1dXRkckRYQ2kwNVNwakJNRFAzbElIMGFWV25Xb1ZOZENhOG5CbE8KamN4SlpYeUE1R3ZFL2N2M1BwRkx4REFpbEtnMmx6NzN0RXlTaExScWV6RDdLUGlOYjlTeFF0RTBSbXZoTURDMgpvMUd1WDN6UXBORHQwRitJeElCRnJTcUNDNHJ4VjQwejlibXNHcXBvMTQwdXdybmFTTWl4bDZ3PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=", "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.cr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WStiMWdjM0ZGUVdaZ3ljNHdtVlMrN20ySSt1cXBReXZCNVhDTXl2TTdtVURlMW1qZmI0TGVzRmpBWTAKYkp0U3ZlSlFGdHNDaklWQUlBTFZOdk9US3o4K1l5bk1qV1pBY2k3OUF0cVlWd0RhclQzcW5XYzJzTmIrTC9hTgpaT0pwUDRPeXR4TllQaE9tTUN3UURZQmRzL0JnTzdTZHNXbnlGZU5mamlmRHNEYStNMXlUUlJyaVk3eHdSajV3CmZaZWVsRXdSczEwV0JIWjAwSTBWdGg0NndCQUZEN0RnWUtLWHdUVWJQUzBDQXdFQUFhTWpNQ0V3RGdZRFZSMFAKQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCL3dRRk1BTUJBZjh3RFFZSktvWklodmNOQVFFTEJRQURnZ0VCQUNSbgo4MVRZQURNaEVOZkVoSzlXdGMrVlV5djIxWnRYdk52aisxYmJSNzluNWY4L2hwb1QxM2ZFRW91NDcxdWxldmZnCnhWcTUwUTZKRm4yVStUT2lzRDFMUHZkVGNoc2hPMFgvKytUelA3dE92QlNXTnl6eVk1UUg0aUErdlQ4MlZXMjAKYUphT0xwMFdJdTBPeW5TZUpuSXRGZE9ybTlOZFZYTHYxT1MrWVQwZitQZTZySm5IaDZtcExzMDN1WHdCd2RGdApzZWljcFkwaVZLdnp3STg1TzhMRnlTdW5XeVVONldqWFNzQW1neGJaczNZb1VoZTdZUWQveGo2RlFzcHZjcmxaCnY1TzlqdUNIM1MvNmlpcHpxd0JPRnV4eUJlQkNoV05xd3dNem8vc3UwbUNEK3BKcEJnc1FXOE9FbVp1aWNNbi8KL2lSTnh2bUROYjZsa1JwTWZQOD0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=", "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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:57 changed: [openshift] => { "changed": true, "results": { "clusterip": "172.30.15.165", "cmd": "/bin/oc get service logging-kibana -o json -n logging", "results": [ { "apiVersion": "v1", "kind": "Service", "metadata": { "creationTimestamp": "2017-06-08T21:36:59Z", "name": "logging-kibana", "namespace": "logging", "resourceVersion": "1381", "selfLink": "/api/v1/namespaces/logging/services/logging-kibana", "uid": "9a67a0be-4c92-11e7-ae5f-0e23e0dfe868" }, "spec": { "clusterIP": "172.30.15.165", "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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:89 ok: [openshift] => { "ansible_facts": { "kibana_ca": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREl4TXpZeE1Gb1hEVEl5TURZd056SXhNell4TVZvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQUwrbjVIOXhRQzNyVDJhRFNWcTFkTHZNaTFaaG9oMU95Rm14UTNuMmxLZzgKM21vL3FjWGVNd3kzc1FpcVprSXNNekVDU0pnZHpsTUsyNW91TloxRW5pK3hxM3dwRVdWU0xvdm8zeFAydU1VKwpaUEluTlkrYjFnYzNGRlFXWmd5YzR3bVZTKzdtMkkrdXFwUXl2QjVYQ015dk03bVVEZTFtamZiNExlc0ZqQVkwCmJKdFN2ZUpRRnRzQ2pJVkFJQUxWTnZPVEt6OCtZeW5NaldaQWNpNzlBdHFZVndEYXJUM3FuV2Myc05iK0wvYU4KWk9KcFA0T3l0eE5ZUGhPbU1Dd1FEWUJkcy9CZ083U2RzV255RmVOZmppZkRzRGErTTF5VFJScmlZN3h3Umo1dwpmWmVlbEV3UnMxMFdCSFowMEkwVnRoNDZ3QkFGRDdEZ1lLS1h3VFViUFMwQ0F3RUFBYU1qTUNFd0RnWURWUjBQCkFRSC9CQVFEQWdLa01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFDUm4KODFUWUFETWhFTmZFaEs5V3RjK1ZVeXYyMVp0WHZOdmorMWJiUjc5bjVmOC9ocG9UMTNmRUVvdTQ3MXVsZXZmZwp4VnE1MFE2SkZuMlUrVE9pc0QxTFB2ZFRjaHNoTzBYLysrVHpQN3RPdkJTV055enlZNVFINGlBK3ZUODJWVzIwCmFKYU9McDBXSXUwT3luU2VKbkl0RmRPcm05TmRWWEx2MU9TK1lUMGYrUGU2ckpuSGg2bXBMczAzdVh3QndkRnQKc2VpY3BZMGlWS3Z6d0k4NU84TEZ5U3VuV3lVTjZXalhTc0FtZ3hiWnMzWW9VaGU3WVFkL3hqNkZRc3B2Y3JsWgp2NU85anVDSDNTLzZpaXB6cXdCT0Z1eHlCZUJDaFdOcXd3TXpvL3N1MG1DRCtwSnBCZ3NRVzhPRW1adWljTW4vCi9pUk54dm1ETmI2bGtScE1mUDg9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K" }, "changed": false } TASK [openshift_logging_kibana : Generating Kibana route template] ************* task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:94 ok: [openshift] => { "changed": false, "checksum": "3e088905d7d37e3877a480c622c4aa66821a1bf7", "dest": "/tmp/openshift-logging-ansible-mM8bqQ/templates/kibana-route.yaml", "gid": 0, "group": "root", "md5sum": "651d3ecb67e234a320ff8c206231fe54", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 2714, "src": "/root/.ansible/tmp/ansible-tmp-1496957820.37-19337201623832/source", "state": "file", "uid": 0 } TASK [openshift_logging_kibana : Setting Kibana route] ************************* task path: /tmp/tmp.o92NVe9bPs/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-08T21:37:01Z", "labels": { "component": "support", "logging-infra": "support", "provider": "openshift" }, "name": "logging-kibana", "namespace": "logging", "resourceVersion": "1387", "selfLink": "/oapi/v1/namespaces/logging/routes/logging-kibana", "uid": "9b69cfc8-4c92-11e7-ae5f-0e23e0dfe868" }, "spec": { "host": "kibana.router.default.svc.cluster.local", "tls": { "caCertificate": "-----BEGIN CERTIFICATE-----\nMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dn\naW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODIxMzYxMFoXDTIyMDYwNzIxMzYxMVow\nHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEB\nBQADggEPADCCAQoCggEBAL+n5H9xQC3rT2aDSVq1dLvMi1Zhoh1OyFmxQ3n2lKg8\n3mo/qcXeMwy3sQiqZkIsMzECSJgdzlMK25ouNZ1Eni+xq3wpEWVSLovo3xP2uMU+\nZPInNY+b1gc3FFQWZgyc4wmVS+7m2I+uqpQyvB5XCMyvM7mUDe1mjfb4LesFjAY0\nbJtSveJQFtsCjIVAIALVNvOTKz8+YynMjWZAci79AtqYVwDarT3qnWc2sNb+L/aN\nZOJpP4OytxNYPhOmMCwQDYBds/BgO7SdsWnyFeNfjifDsDa+M1yTRRriY7xwRj5w\nfZeelEwRs10WBHZ00I0Vth46wBAFD7DgYKKXwTUbPS0CAwEAAaMjMCEwDgYDVR0P\nAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBACRn\n81TYADMhENfEhK9Wtc+VUyv21ZtXvNvj+1bbR79n5f8/hpoT13fEEou471ulevfg\nxVq50Q6JFn2U+TOisD1LPvdTchshO0X/++TzP7tOvBSWNyzyY5QH4iA+vT82VW20\naJaOLp0WIu0OynSeJnItFdOrm9NdVXLv1OS+YT0f+Pe6rJnHh6mpLs03uXwBwdFt\nseicpY0iVKvzwI85O8LFySunWyUN6WjXSsAmgxbZs3YoUhe7YQd/xj6FQspvcrlZ\nv5O9juCH3S/6iipzqwBOFuxyBeBChWNqwwMzo/su0mCD+pJpBgsQW8OEmZuicMn/\n/iRNxvmDNb6lkRpMfP8=\n-----END CERTIFICATE-----\n", "destinationCACertificate": "-----BEGIN CERTIFICATE-----\nMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dn\naW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODIxMzYxMFoXDTIyMDYwNzIxMzYxMVow\nHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEB\nBQADggEPADCCAQoCggEBAL+n5H9xQC3rT2aDSVq1dLvMi1Zhoh1OyFmxQ3n2lKg8\n3mo/qcXeMwy3sQiqZkIsMzECSJgdzlMK25ouNZ1Eni+xq3wpEWVSLovo3xP2uMU+\nZPInNY+b1gc3FFQWZgyc4wmVS+7m2I+uqpQyvB5XCMyvM7mUDe1mjfb4LesFjAY0\nbJtSveJQFtsCjIVAIALVNvOTKz8+YynMjWZAci79AtqYVwDarT3qnWc2sNb+L/aN\nZOJpP4OytxNYPhOmMCwQDYBds/BgO7SdsWnyFeNfjifDsDa+M1yTRRriY7xwRj5w\nfZeelEwRs10WBHZ00I0Vth46wBAFD7DgYKKXwTUbPS0CAwEAAaMjMCEwDgYDVR0P\nAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBACRn\n81TYADMhENfEhK9Wtc+VUyv21ZtXvNvj+1bbR79n5f8/hpoT13fEEou471ulevfg\nxVq50Q6JFn2U+TOisD1LPvdTchshO0X/++TzP7tOvBSWNyzyY5QH4iA+vT82VW20\naJaOLp0WIu0OynSeJnItFdOrm9NdVXLv1OS+YT0f+Pe6rJnHh6mpLs03uXwBwdFt\nseicpY0iVKvzwI85O8LFySunWyUN6WjXSsAmgxbZs3YoUhe7YQd/xj6FQspvcrlZ\nv5O9juCH3S/6iipzqwBOFuxyBeBChWNqwwMzo/su0mCD+pJpBgsQW8OEmZuicMn/\n/iRNxvmDNb6lkRpMfP8=\n-----END CERTIFICATE-----\n", "insecureEdgeTerminationPolicy": "Redirect", "termination": "reencrypt" }, "to": { "kind": "Service", "name": "logging-kibana", "weight": 100 }, "wildcardPolicy": "None" }, "status": { "ingress": [ { "conditions": [ { "lastTransitionTime": "2017-06-08T21:37:01Z", "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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:125 ok: [openshift] => { "ansible_facts": { "session_secret": "NJ2OY9DEPVrZYWAjQNp6DVrrdmm8WlvTJO6TfY9sMHrtpBl0n42cibBiZwtotFCajFGMNqBW6U7hazdgDmlBpBPQM5mLOsJdHfasJcrUWIyFKKCmHBvhgUhMm41yM1pQc7JHuPkN7osg1iBITUIDuSTxHPqd1VFhVfhgzJvgYa6QLHnNvTCMU8A0FzootnSett2Febhh" }, "changed": false } TASK [openshift_logging_kibana : Generate oauth client secret] ***************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:132 ok: [openshift] => { "ansible_facts": { "oauth_secret": "kQH7hKM8KILYaLvgxcw691C6J1H5vWYCBR2VKBCce0rtqYkyJ1Y312k09PP9Sxsu" }, "changed": false } TASK [openshift_logging_kibana : Create oauth-client template] ***************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:138 changed: [openshift] => { "changed": true, "checksum": "ccbd8b229aac8bd52ff6638b3e7489b904f19d9c", "dest": "/tmp/openshift-logging-ansible-mM8bqQ/templates/oauth-client.yml", "gid": 0, "group": "root", "md5sum": "cd662a69de012c12aa08030b1cb0bc74", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 328, "src": "/root/.ansible/tmp/ansible-tmp-1496957821.97-226647364168705/source", "state": "file", "uid": 0 } TASK [openshift_logging_kibana : Set kibana-proxy oauth-client] **************** task path: /tmp/tmp.o92NVe9bPs/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-08T21:37:03Z", "labels": { "logging-infra": "support" }, "name": "kibana-proxy", "resourceVersion": "1392", "selfLink": "/oapi/v1/oauthclients/kibana-proxy", "uid": "9c57b57b-4c92-11e7-ae5f-0e23e0dfe868" }, "redirectURIs": [ "https://kibana.router.default.svc.cluster.local" ], "scopeRestrictions": [ { "literals": [ "user:info", "user:check-access", "user:list-projects" ] } ], "secret": "kQH7hKM8KILYaLvgxcw691C6J1H5vWYCBR2VKBCce0rtqYkyJ1Y312k09PP9Sxsu" } ], "returncode": 0 }, "state": "present" } TASK [openshift_logging_kibana : Set Kibana secret] **************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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-zw4D8q session-secret=/tmp/session-secret-quOClk server-key=/tmp/server-key-G2lzdN server-cert=/tmp/server-cert-OvAQE1 server-tls.json=/tmp/server-tls.json-WJ_Lnh -n logging", "results": "", "returncode": 0 }, "state": "present" } TASK [openshift_logging_kibana : Generate Kibana DC template] ****************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:197 changed: [openshift] => { "changed": true, "checksum": "9f8a7303f14e5800a3268fd6d67361b96f41eba8", "dest": "/tmp/openshift-logging-ansible-mM8bqQ/templates/kibana-dc.yaml", "gid": 0, "group": "root", "md5sum": "a901cd4474ca018bd259be92143661e0", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 3737, "src": "/root/.ansible/tmp/ansible-tmp-1496957824.83-186145779713839/source", "state": "file", "uid": 0 } TASK [openshift_logging_kibana : Set Kibana DC] ******************************** task path: /tmp/tmp.o92NVe9bPs/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-08T21:37:05Z", "generation": 2, "labels": { "component": "kibana", "logging-infra": "kibana", "provider": "openshift" }, "name": "logging-kibana", "namespace": "logging", "resourceVersion": "1411", "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-kibana", "uid": "9df9f08f-4c92-11e7-ae5f-0e23e0dfe868" }, "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.169.251: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.5.71:8443" }, { "name": "OAP_LOGOUT_REDIRECT", "value": "https://172.18.5.71: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.169.251: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-08T21:37:05Z", "lastUpdateTime": "2017-06-08T21:37:05Z", "message": "Deployment config does not have minimum availability.", "status": "False", "type": "Available" }, { "lastTransitionTime": "2017-06-08T21:37:05Z", "lastUpdateTime": "2017-06-08T21:37:05Z", "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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:228 ok: [openshift] => { "changed": false, "path": "/tmp/openshift-logging-ansible-mM8bqQ", "state": "absent" } TASK [openshift_logging : include_role] **************************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:166 statically included: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/determine_version.yaml TASK [openshift_logging_kibana : fail] ***************************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.002322", "end": "2017-06-08 17:37:07.665421", "rc": 0, "start": "2017-06-08 17:37:07.663099" } STDOUT: /tmp/openshift-logging-ansible-hr4U1u TASK [openshift_logging_kibana : set_fact] ************************************* task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:12 ok: [openshift] => { "ansible_facts": { "tempdir": "/tmp/openshift-logging-ansible-hr4U1u" }, "changed": false } TASK [openshift_logging_kibana : Create templates subdirectory] **************** task path: /tmp/tmp.o92NVe9bPs/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-hr4U1u/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.o92NVe9bPs/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.o92NVe9bPs/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-drwxn" } ], "kind": "ServiceAccount", "metadata": { "creationTimestamp": "2017-06-08T21:36:57Z", "name": "aggregated-logging-kibana", "namespace": "logging", "resourceVersion": "1362", "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-kibana", "uid": "99178348-4c92-11e7-ae5f-0e23e0dfe868" }, "secrets": [ { "name": "aggregated-logging-kibana-dockercfg-drwxn" }, { "name": "aggregated-logging-kibana-token-fmhhg" } ] } ], "returncode": 0 }, "state": "present" } TASK [openshift_logging_kibana : set_fact] ************************************* task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREl4TXpZeE1Gb1hEVEl5TURZd056SXhNell4TVZvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQUwrbjVIOXhRQzNyVDJhRFNWcTFkTHZNaTFaaG9oMU95Rm14UTNuMmxLZzgKM21vL3FjWGVNd3kzc1FpcVprSXNNekVDU0pnZHpsTUsyNW91TloxRW5pK3hxM3dwRVdWU0xvdm8zeFAydU1VKwpaUEluTlkrYjFnYzNGRlFXWmd5YzR3bVZTKzdtMkkrdXFwUXl2QjVYQ015dk03bVVEZTFtamZiNExlc0ZqQVkwCmJKdFN2ZUpRRnRzQ2pJVkFJQUxWTnZPVEt6OCtZeW5NaldaQWNpNzlBdHFZVndEYXJUM3FuV2Myc05iK0wvYU4KWk9KcFA0T3l0eE5ZUGhPbU1Dd1FEWUJkcy9CZ083U2RzV255RmVOZmppZkRzRGErTTF5VFJScmlZN3h3Umo1dwpmWmVlbEV3UnMxMFdCSFowMEkwVnRoNDZ3QkFGRDdEZ1lLS1h3VFViUFMwQ0F3RUFBYU1qTUNFd0RnWURWUjBQCkFRSC9CQVFEQWdLa01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFDUm4KODFUWUFETWhFTmZFaEs5V3RjK1ZVeXYyMVp0WHZOdmorMWJiUjc5bjVmOC9ocG9UMTNmRUVvdTQ3MXVsZXZmZwp4VnE1MFE2SkZuMlUrVE9pc0QxTFB2ZFRjaHNoTzBYLysrVHpQN3RPdkJTV055enlZNVFINGlBK3ZUODJWVzIwCmFKYU9McDBXSXUwT3luU2VKbkl0RmRPcm05TmRWWEx2MU9TK1lUMGYrUGU2ckpuSGg2bXBMczAzdVh3QndkRnQKc2VpY3BZMGlWS3Z6d0k4NU84TEZ5U3VuV3lVTjZXalhTc0FtZ3hiWnMzWW9VaGU3WVFkL3hqNkZRc3B2Y3JsWgp2NU85anVDSDNTLzZpaXB6cXdCT0Z1eHlCZUJDaFdOcXd3TXpvL3N1MG1DRCtwSnBCZ3NRVzhPRW1adWljTW4vCi9pUk54dm1ETmI2bGtScE1mUDg9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K", "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": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcFFJQkFBS0NBUUVBekwvb2VsZFI5cXhFNW90eDRHZi96aE84ZDNTMFVuTFdQb3M5V3dnM3U5c3grNmdzCm1ZbHlWR0FkNW5uckZhRHFqNUFKT3F5SVQxTU9WZkhFdnRkWTJ5T2d2UDlLUHI2alhLczhEN1RjWjRWTjVOS0oKU1MxTW42UWkyYnFKT2pkbmdUSXVnMnZ5N0lGMmp5NE1TYXRzWGo2L1VKTFc2NTZYM2VCU21jSGFwU3VsOWhWYwptaHhYOTVNaTdsalg3ajZDaTJTZjVRRGJOak9OaUdkL2tqUms5VFliL3hwcTRBTnByS043THdvMFVKQ2Y0ZCs0Ci9PcVY0NG9maHBRalJ6OGZEVmt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zNobklXQ0JqZ1h5TXZBb0dBTlBXVDZONFNTRzFKZnh4dFU1UVIKcGZtMytQNHAvOVU3S1FwVHo5RWhldEhZamJJc092L3N3UnF0UWtYdGlPKzJLanZLSElGQ1lrUkZoMVBKYXhLMwpJcG9hVzM1RXplOGptWVpLZHJwUGJNTklTZFp2K0I3Mmd1TFUwQzQ4OHJ4bndYcWZ5dGltdUNMaTVoRklXTkswClpEY1BwSlFMQVpHeE9aZUhwR1JGUU9rQ2dZRUF1K3JQNTI4MHZGMVh5eTI1TzJyVU1wUXVsaTVDaHBGS1lFY0sKbnNVdjBRQVcwRmg4Z0RGVE9JVnpXS3BleXJId0ZQRmNjZUx6a3IzbHZIODZNeFFWWStXVEFaWmJPOE9KdnY1SwpNdG1aNXkrdmhObWtlUTQrZ1AzK3ArMDBCUXRHWlozOW1KWTBOenVGcmNMWWxibTNReTY0VzdtV1lpSkcxSC9VCm1lUCtkOE1DZ1lFQXJEUXo2N0tTTmhSSTU1dXRkckRYQ2kwNVNwakJNRFAzbElIMGFWV25Xb1ZOZENhOG5CbE8KamN4SlpYeUE1R3ZFL2N2M1BwRkx4REFpbEtnMmx6NzN0RXlTaExScWV6RDdLUGlOYjlTeFF0RTBSbXZoTURDMgpvMUd1WDN6UXBORHQwRitJeElCRnJTcUNDNHJ4VjQwejlibXNHcXBvMTQwdXdybmFTTWl4bDZ3PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=", "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": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURUakNDQWphZ0F3SUJBZ0lCQWpBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYR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RPeXR4TllQaE9tTUN3UURZQmRzL0JnTzdTZHNXbnlGZU5mamlmRHNEYStNMXlUUlJyaVk3eHdSajV3CmZaZWVsRXdSczEwV0JIWjAwSTBWdGg0NndCQUZEN0RnWUtLWHdUVWJQUzBDQXdFQUFhTWpNQ0V3RGdZRFZSMFAKQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCL3dRRk1BTUJBZjh3RFFZSktvWklodmNOQVFFTEJRQURnZ0VCQUNSbgo4MVRZQURNaEVOZkVoSzlXdGMrVlV5djIxWnRYdk52aisxYmJSNzluNWY4L2hwb1QxM2ZFRW91NDcxdWxldmZnCnhWcTUwUTZKRm4yVStUT2lzRDFMUHZkVGNoc2hPMFgvKytUelA3dE92QlNXTnl6eVk1UUg0aUErdlQ4MlZXMjAKYUphT0xwMFdJdTBPeW5TZUpuSXRGZE9ybTlOZFZYTHYxT1MrWVQwZitQZTZySm5IaDZtcExzMDN1WHdCd2RGdApzZWljcFkwaVZLdnp3STg1TzhMRnlTdW5XeVVONldqWFNzQW1neGJaczNZb1VoZTdZUWQveGo2RlFzcHZjcmxaCnY1TzlqdUNIM1MvNmlpcHpxd0JPRnV4eUJlQkNoV05xd3dNem8vc3UwbUNEK3BKcEJnc1FXOE9FbVp1aWNNbi8KL2lSTnh2bUROYjZsa1JwTWZQOD0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=", "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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:57 changed: [openshift] => { "changed": true, "results": { "clusterip": "172.30.227.117", "cmd": "/bin/oc get service logging-kibana-ops -o json -n logging", "results": [ { "apiVersion": "v1", "kind": "Service", "metadata": { "creationTimestamp": "2017-06-08T21:37:11Z", "name": "logging-kibana-ops", "namespace": "logging", "resourceVersion": "1421", "selfLink": "/api/v1/namespaces/logging/services/logging-kibana-ops", "uid": "a129f23a-4c92-11e7-ae5f-0e23e0dfe868" }, "spec": { "clusterIP": "172.30.227.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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:94 ok: [openshift] => { "changed": false, "checksum": "5e1f3f27ed73e1f6323ba04a3fae1b52410aea00", "dest": "/tmp/openshift-logging-ansible-hr4U1u/templates/kibana-route.yaml", "gid": 0, "group": "root", "md5sum": "931f28f033157e7bd4779c52921b5587", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 2726, "src": "/root/.ansible/tmp/ansible-tmp-1496957832.08-145324732503272/source", "state": "file", "uid": 0 } TASK [openshift_logging_kibana : Setting Kibana route] ************************* task path: /tmp/tmp.o92NVe9bPs/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-08T21:37:13Z", "labels": { "component": "support", "logging-infra": "support", "provider": "openshift" }, "name": "logging-kibana-ops", "namespace": "logging", "resourceVersion": "1433", "selfLink": "/oapi/v1/namespaces/logging/routes/logging-kibana-ops", "uid": "a2b42223-4c92-11e7-ae5f-0e23e0dfe868" }, "spec": { "host": "kibana-ops.router.default.svc.cluster.local", "tls": { "caCertificate": "-----BEGIN CERTIFICATE-----\nMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dn\naW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODIxMzYxMFoXDTIyMDYwNzIxMzYxMVow\nHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEB\nBQADggEPADCCAQoCggEBAL+n5H9xQC3rT2aDSVq1dLvMi1Zhoh1OyFmxQ3n2lKg8\n3mo/qcXeMwy3sQiqZkIsMzECSJgdzlMK25ouNZ1Eni+xq3wpEWVSLovo3xP2uMU+\nZPInNY+b1gc3FFQWZgyc4wmVS+7m2I+uqpQyvB5XCMyvM7mUDe1mjfb4LesFjAY0\nbJtSveJQFtsCjIVAIALVNvOTKz8+YynMjWZAci79AtqYVwDarT3qnWc2sNb+L/aN\nZOJpP4OytxNYPhOmMCwQDYBds/BgO7SdsWnyFeNfjifDsDa+M1yTRRriY7xwRj5w\nfZeelEwRs10WBHZ00I0Vth46wBAFD7DgYKKXwTUbPS0CAwEAAaMjMCEwDgYDVR0P\nAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBACRn\n81TYADMhENfEhK9Wtc+VUyv21ZtXvNvj+1bbR79n5f8/hpoT13fEEou471ulevfg\nxVq50Q6JFn2U+TOisD1LPvdTchshO0X/++TzP7tOvBSWNyzyY5QH4iA+vT82VW20\naJaOLp0WIu0OynSeJnItFdOrm9NdVXLv1OS+YT0f+Pe6rJnHh6mpLs03uXwBwdFt\nseicpY0iVKvzwI85O8LFySunWyUN6WjXSsAmgxbZs3YoUhe7YQd/xj6FQspvcrlZ\nv5O9juCH3S/6iipzqwBOFuxyBeBChWNqwwMzo/su0mCD+pJpBgsQW8OEmZuicMn/\n/iRNxvmDNb6lkRpMfP8=\n-----END CERTIFICATE-----\n", "destinationCACertificate": "-----BEGIN CERTIFICATE-----\nMIIC2jCCAcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAeMRwwGgYDVQQDExNsb2dn\naW5nLXNpZ25lci10ZXN0MB4XDTE3MDYwODIxMzYxMFoXDTIyMDYwNzIxMzYxMVow\nHjEcMBoGA1UEAxMTbG9nZ2luZy1zaWduZXItdGVzdDCCASIwDQYJKoZIhvcNAQEB\nBQADggEPADCCAQoCggEBAL+n5H9xQC3rT2aDSVq1dLvMi1Zhoh1OyFmxQ3n2lKg8\n3mo/qcXeMwy3sQiqZkIsMzECSJgdzlMK25ouNZ1Eni+xq3wpEWVSLovo3xP2uMU+\nZPInNY+b1gc3FFQWZgyc4wmVS+7m2I+uqpQyvB5XCMyvM7mUDe1mjfb4LesFjAY0\nbJtSveJQFtsCjIVAIALVNvOTKz8+YynMjWZAci79AtqYVwDarT3qnWc2sNb+L/aN\nZOJpP4OytxNYPhOmMCwQDYBds/BgO7SdsWnyFeNfjifDsDa+M1yTRRriY7xwRj5w\nfZeelEwRs10WBHZ00I0Vth46wBAFD7DgYKKXwTUbPS0CAwEAAaMjMCEwDgYDVR0P\nAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBACRn\n81TYADMhENfEhK9Wtc+VUyv21ZtXvNvj+1bbR79n5f8/hpoT13fEEou471ulevfg\nxVq50Q6JFn2U+TOisD1LPvdTchshO0X/++TzP7tOvBSWNyzyY5QH4iA+vT82VW20\naJaOLp0WIu0OynSeJnItFdOrm9NdVXLv1OS+YT0f+Pe6rJnHh6mpLs03uXwBwdFt\nseicpY0iVKvzwI85O8LFySunWyUN6WjXSsAmgxbZs3YoUhe7YQd/xj6FQspvcrlZ\nv5O9juCH3S/6iipzqwBOFuxyBeBChWNqwwMzo/su0mCD+pJpBgsQW8OEmZuicMn/\n/iRNxvmDNb6lkRpMfP8=\n-----END CERTIFICATE-----\n", "insecureEdgeTerminationPolicy": "Redirect", "termination": "reencrypt" }, "to": { "kind": "Service", "name": "logging-kibana-ops", "weight": 100 }, "wildcardPolicy": "None" }, "status": { "ingress": [ { "conditions": [ { "lastTransitionTime": "2017-06-08T21:37:13Z", "status": "True", "type": "Admitted" } ], "host": "kibana-ops.router.default.svc.cluster.local", "routerName": "router", "wildcardPolicy": "None" } ] } } ], "returncode": 0 }, "state": "present" } TASK [openshift_logging_kibana : Generate proxy session] *********************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:125 ok: [openshift] => { "ansible_facts": { "session_secret": "V3g6O23AtZIP3iVB7vbtsSngc18n6XLfUDKcd5q8AtanPfYw6BQGg2Py0TeqpMkmbaWmMZ0zLAlvIRwJpqilzsBM17mGpsqUnPgVhuOq6iXgrN5yWsEowA8zUC6Y11HwW3TGEs3abPguueyPa8XPr451aedKGYvQwHbahf70DZ9oQbo8xCLxREls9ONA9p0tqamXrnJ0" }, "changed": false } TASK [openshift_logging_kibana : Generate oauth client secret] ***************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:132 ok: [openshift] => { "ansible_facts": { "oauth_secret": "aFXf2AjRA044QZhKgu3PuXIzFJBYqAmzwfFUqJJsIAgncHwPH9NaupSPHQVFeogU" }, "changed": false } TASK [openshift_logging_kibana : Create oauth-client template] ***************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:138 changed: [openshift] => { "changed": true, "checksum": "1d7a444b69230e52579eef1a29c74dfba44b0012", "dest": "/tmp/openshift-logging-ansible-hr4U1u/templates/oauth-client.yml", "gid": 0, "group": "root", "md5sum": "f4968c5b0c3ae21319efe4f3844306c0", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 332, "src": "/root/.ansible/tmp/ansible-tmp-1496957834.24-269547997452335/source", "state": "file", "uid": 0 } TASK [openshift_logging_kibana : Set kibana-proxy oauth-client] **************** task path: /tmp/tmp.o92NVe9bPs/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-08T21:37:03Z", "labels": { "logging-infra": "support" }, "name": "kibana-proxy", "resourceVersion": "1446", "selfLink": "/oapi/v1/oauthclients/kibana-proxy", "uid": "9c57b57b-4c92-11e7-ae5f-0e23e0dfe868" }, "redirectURIs": [ "https://kibana-ops.router.default.svc.cluster.local" ], "scopeRestrictions": [ { "literals": [ "user:info", "user:check-access", "user:list-projects" ] } ], "secret": "aFXf2AjRA044QZhKgu3PuXIzFJBYqAmzwfFUqJJsIAgncHwPH9NaupSPHQVFeogU" } ], "returncode": 0 }, "state": "present" } TASK [openshift_logging_kibana : Set Kibana secret] **************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:157 ok: [openshift] => { "changed": false, "results": { "apiVersion": "v1", "data": { "ca": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREl4TXpZeE1Gb1hEVEl5TURZd056SXhNell4TVZvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQUwrbjVIOXhRQzNyVDJhRFNWcTFkTHZNaTFaaG9oMU95Rm14UTNuMmxLZzgKM21vL3FjWGVNd3kzc1FpcVprSXNNekVDU0pnZHpsTUsyNW91TloxRW5pK3hxM3dwRVdWU0xvdm8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Hb3JGYWMKWnVyL3hzemc2Mnk3d3ZLNStaRXFibnBZcGVjU2JaZEJkMDc4Vk5TTmRoUm5zVm9wTFdIblBObTIyUUtCZ0NEKwpUS2dPVUV0UzRmL2gvNWd0VWlSUTdxYWNLVGVKbXBueFRoMG1VajA1Z0J3ciswRFBYUlp2SmoxRG5TcVlvaVI5CktiWksvcWROdlZjVHF1bzJxdk5rRXpvTnZ2SzE4TVc1U283ckIySVNyemRDeEx4aGVJbFdXZFpCL01XanQxN3cKYjEveWY2WHlISWh1MTJTUGhEZjNkVmZqbHlscWRQMlhsR3Z1ZkhQUkFvR0FTMU9yY05mS042T2crbmxGVy9mKwpUWmFlSzA5ejk0SXIyU0FxV3dQdDFiQ05RRUJoT1kwdVJlU0k4K2pZVlhZZ3FqckNTWEgxRnhIcVlCSTJzL1huCmx5L2VJTVRwYzlCR0owb3ZXM2svQ2hTMFFVeXpFZ0tCREIyTVR3bTFYV0thRXdRRFlndHhQeHZsdmdtZnFVWmcKbDcxaWZuSFpmMWs2ZUNEN1FVbCtaUmc9Ci0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K" }, "kind": "Secret", "metadata": { "creationTimestamp": null, "name": "logging-kibana" }, "type": "Opaque" }, "state": "present" } TASK [openshift_logging_kibana : Set Kibana Proxy secret] ********************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:197 changed: [openshift] => { "changed": true, "checksum": "be107a97c1b897da800407db7d1b7d5b008dc68f", "dest": "/tmp/openshift-logging-ansible-hr4U1u/templates/kibana-dc.yaml", "gid": 0, "group": "root", "md5sum": "3a58f88f34c4b61e99e7a4b42bbd0d4c", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 3761, "src": "/root/.ansible/tmp/ansible-tmp-1496957838.11-142930347385117/source", "state": "file", "uid": 0 } TASK [openshift_logging_kibana : Set Kibana DC] ******************************** task path: /tmp/tmp.o92NVe9bPs/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-08T21:37:18Z", "generation": 2, "labels": { "component": "kibana-ops", "logging-infra": "kibana", "provider": "openshift" }, "name": "logging-kibana-ops", "namespace": "logging", "resourceVersion": "1466", "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-kibana-ops", "uid": "a5ddcbb7-4c92-11e7-ae5f-0e23e0dfe868" }, "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.169.251: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.5.71:8443" }, { "name": "OAP_LOGOUT_REDIRECT", "value": "https://172.18.5.71: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.169.251: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-08T21:37:18Z", "lastUpdateTime": "2017-06-08T21:37:18Z", "message": "Deployment config does not have minimum availability.", "status": "False", "type": "Available" }, { "lastTransitionTime": "2017-06-08T21:37:19Z", "lastUpdateTime": "2017-06-08T21:37:19Z", "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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_kibana/tasks/main.yaml:228 ok: [openshift] => { "changed": false, "path": "/tmp/openshift-logging-ansible-hr4U1u", "state": "absent" } TASK [openshift_logging : include_role] **************************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:195 statically included: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_curator/tasks/determine_version.yaml TASK [openshift_logging_curator : fail] **************************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.003221", "end": "2017-06-08 17:37:20.803532", "rc": 0, "start": "2017-06-08 17:37:20.800311" } STDOUT: /tmp/openshift-logging-ansible-d8mDC8 TASK [openshift_logging_curator : set_fact] ************************************ task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:10 ok: [openshift] => { "ansible_facts": { "tempdir": "/tmp/openshift-logging-ansible-d8mDC8" }, "changed": false } TASK [openshift_logging_curator : Create templates subdirectory] *************** task path: /tmp/tmp.o92NVe9bPs/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-d8mDC8/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.o92NVe9bPs/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.o92NVe9bPs/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-8l729" } ], "kind": "ServiceAccount", "metadata": { "creationTimestamp": "2017-06-08T21:37:21Z", "name": "aggregated-logging-curator", "namespace": "logging", "resourceVersion": "1477", "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-curator", "uid": "a7933b98-4c92-11e7-ae5f-0e23e0dfe868" }, "secrets": [ { "name": "aggregated-logging-curator-token-8n9f6" }, { "name": "aggregated-logging-curator-dockercfg-8l729" } ] } ], "returncode": 0 }, "state": "present" } TASK [openshift_logging_curator : copy] **************************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:41 ok: [openshift] => { "changed": false, "checksum": "9008efd9a8892dcc42c28c6dfb6708527880a6d8", "dest": "/tmp/openshift-logging-ansible-d8mDC8/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-1496957842.37-101542438047975/source", "state": "file", "uid": 0 } TASK [openshift_logging_curator : copy] **************************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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-08T21:37:23Z", "name": "logging-curator", "namespace": "logging", "resourceVersion": "1479", "selfLink": "/api/v1/namespaces/logging/configmaps/logging-curator", "uid": "a886c1e6-4c92-11e7-ae5f-0e23e0dfe868" } } ], "returncode": 0 }, "state": "present" } TASK [openshift_logging_curator : Set Curator secret] ************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:81 ok: [openshift] => { "changed": false, "checksum": "e00f3cd090c062f75638713fe6c9424870e847a2", "dest": "/tmp/openshift-logging-ansible-d8mDC8/templates/curator-dc.yaml", "gid": 0, "group": "root", "md5sum": "397c3ab3c145772f15261b8b4d9037bd", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 2341, "src": "/root/.ansible/tmp/ansible-tmp-1496957845.44-81378114180197/source", "state": "file", "uid": 0 } TASK [openshift_logging_curator : Set Curator DC] ****************************** task path: /tmp/tmp.o92NVe9bPs/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-08T21:37:26Z", "generation": 2, "labels": { "component": "curator", "logging-infra": "curator", "provider": "openshift" }, "name": "logging-curator", "namespace": "logging", "resourceVersion": "1502", "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-curator", "uid": "aa7a5af2-4c92-11e7-ae5f-0e23e0dfe868" }, "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.169.251: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-08T21:37:26Z", "lastUpdateTime": "2017-06-08T21:37:26Z", "message": "Deployment config does not have minimum availability.", "status": "False", "type": "Available" }, { "lastTransitionTime": "2017-06-08T21:37:26Z", "lastUpdateTime": "2017-06-08T21:37:26Z", "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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:109 ok: [openshift] => { "changed": false, "path": "/tmp/openshift-logging-ansible-d8mDC8", "state": "absent" } TASK [openshift_logging : include_role] **************************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:207 statically included: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_curator/tasks/determine_version.yaml TASK [openshift_logging_curator : fail] **************************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.007364", "end": "2017-06-08 17:37:29.920218", "rc": 0, "start": "2017-06-08 17:37:29.912854" } STDOUT: /tmp/openshift-logging-ansible-E4gy9Z TASK [openshift_logging_curator : set_fact] ************************************ task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:10 ok: [openshift] => { "ansible_facts": { "tempdir": "/tmp/openshift-logging-ansible-E4gy9Z" }, "changed": false } TASK [openshift_logging_curator : Create templates subdirectory] *************** task path: /tmp/tmp.o92NVe9bPs/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-E4gy9Z/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.o92NVe9bPs/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.o92NVe9bPs/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-8l729" } ], "kind": "ServiceAccount", "metadata": { "creationTimestamp": "2017-06-08T21:37:21Z", "name": "aggregated-logging-curator", "namespace": "logging", "resourceVersion": "1477", "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-curator", "uid": "a7933b98-4c92-11e7-ae5f-0e23e0dfe868" }, "secrets": [ { "name": "aggregated-logging-curator-token-8n9f6" }, { "name": "aggregated-logging-curator-dockercfg-8l729" } ] } ], "returncode": 0 }, "state": "present" } TASK [openshift_logging_curator : copy] **************************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:41 ok: [openshift] => { "changed": false, "checksum": "9008efd9a8892dcc42c28c6dfb6708527880a6d8", "dest": "/tmp/openshift-logging-ansible-E4gy9Z/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-1496957850.85-169372665911948/source", "state": "file", "uid": 0 } TASK [openshift_logging_curator : copy] **************************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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-08T21:37:23Z", "name": "logging-curator", "namespace": "logging", "resourceVersion": "1479", "selfLink": "/api/v1/namespaces/logging/configmaps/logging-curator", "uid": "a886c1e6-4c92-11e7-ae5f-0e23e0dfe868" } } ], "returncode": 0 }, "state": "present" } TASK [openshift_logging_curator : Set Curator secret] ************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:62 ok: [openshift] => { "changed": false, "results": { "apiVersion": "v1", "data": { "ca": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMyakNDQWNLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFlTVJ3d0dnWURWUVFERXhOc2IyZG4KYVc1bkxYTnBaMjVsY2kxMFpYTjBNQjRYRFRFM01EWXdPREl4TXpZeE1Gb1hEVEl5TURZd056SXhNell4TVZvdwpIakVjTUJvR0ExVUVBeE1UYkc5bloybHVaeTF6YVdkdVpYSXRkR1Z6ZERDQ0FTSXdEUVlKS29aSWh2Y05BUUVCCkJRQURnZ0VQQURDQ0FRb0NnZ0VCQUwrbjVIOXhRQzNyVDJhRFNWcTFkTHZNaTFaaG9oMU95Rm14UTNuMmxLZzgKM21vL3FjWGVNd3kzc1FpcVprSXNNekVDU0pnZHpsTUsyNW91TloxRW5pK3hxM3dwRVdWU0xvdm8zeFAydU1VKwpaUEluTlkrYjFnYzNGRlFXWmd5YzR3bVZTKzdtMkkrdXFwUXl2QjVYQ015dk03bVVEZTFtamZiNExlc0ZqQVkwCmJKdFN2ZUpRRnRzQ2pJVkFJQUxWTnZPVEt6OCtZeW5NaldaQWNpNzlBdHFZVndEYXJUM3FuV2Myc05iK0wvYU4KWk9KcFA0T3l0eE5ZUGhPbU1Dd1FEWUJkcy9CZ083U2RzV255RmVOZmppZkRzRGErTTF5VF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lHSU9DejVlK05HSFgwMGxIcFIKQ0cwcW8reTFvZDEyT3Y5NmpoVEQreE5oNlV1VWJRMkg2eHVJVk1VS2tRS0JnRTFwRDRJWHJZZGJuR2ZLNkNIeAovVXl5bFhIUjA1MEFvM0lHdFRadEZFQ3NmaDFhQXptcTQ1MTlZZStOdXhMVmtHN1N4NXowUGxSTzhZUnpHaHhGCjJacEhFOWh0RThVZ3VQcmt3SHp3NVMzdVRySTcrdWhQeVFlOUJ4bDcxOTR1Y3NyT3BmT1pzQUZ2bVlzdEc4b2EKN0dQUXVqbngyTE14K1FFcjdiZ0lERC83Ci0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K" }, "kind": "Secret", "metadata": { "creationTimestamp": null, "name": "logging-curator" }, "type": "Opaque" }, "state": "present" } TASK [openshift_logging_curator : set_fact] ************************************ task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:81 ok: [openshift] => { "changed": false, "checksum": "a37f834320a3356c65d9586a9b5ce741b57d9df5", "dest": "/tmp/openshift-logging-ansible-E4gy9Z/templates/curator-dc.yaml", "gid": 0, "group": "root", "md5sum": "62b41eb51bcc6d000af7dcf097b40fae", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 2365, "src": "/root/.ansible/tmp/ansible-tmp-1496957852.4-93590315057949/source", "state": "file", "uid": 0 } TASK [openshift_logging_curator : Set Curator DC] ****************************** task path: /tmp/tmp.o92NVe9bPs/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-08T21:37:33Z", "generation": 2, "labels": { "component": "curator-ops", "logging-infra": "curator", "provider": "openshift" }, "name": "logging-curator-ops", "namespace": "logging", "resourceVersion": "1544", "selfLink": "/oapi/v1/namespaces/logging/deploymentconfigs/logging-curator-ops", "uid": "ae7146e4-4c92-11e7-ae5f-0e23e0dfe868" }, "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.169.251: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-08T21:37:33Z", "lastUpdateTime": "2017-06-08T21:37:33Z", "message": "Deployment config does not have minimum availability.", "status": "False", "type": "Available" }, { "lastTransitionTime": "2017-06-08T21:37:33Z", "lastUpdateTime": "2017-06-08T21:37:33Z", "message": "Created new replication controller \"logging-curator-ops-1\" for version 1", "reason": "NewReplicationControllerCreated", "status": "True", "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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_curator/tasks/main.yaml:109 ok: [openshift] => { "changed": false, "path": "/tmp/openshift-logging-ansible-E4gy9Z", "state": "absent" } TASK [openshift_logging : include_role] **************************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:241 statically included: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_fluentd/tasks/determine_version.yaml TASK [openshift_logging_fluentd : fail] **************************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.002542", "end": "2017-06-08 17:37:37.407575", "rc": 0, "start": "2017-06-08 17:37:37.405033" } STDOUT: /tmp/openshift-logging-ansible-PgEnzD TASK [openshift_logging_fluentd : set_fact] ************************************ task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:38 ok: [openshift] => { "ansible_facts": { "tempdir": "/tmp/openshift-logging-ansible-PgEnzD" }, "changed": false } TASK [openshift_logging_fluentd : Create templates subdirectory] *************** task path: /tmp/tmp.o92NVe9bPs/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-PgEnzD/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.o92NVe9bPs/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.o92NVe9bPs/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-9qdcp" } ], "kind": "ServiceAccount", "metadata": { "creationTimestamp": "2017-06-08T21:37:38Z", "name": "aggregated-logging-fluentd", "namespace": "logging", "resourceVersion": "1568", "selfLink": "/api/v1/namespaces/logging/serviceaccounts/aggregated-logging-fluentd", "uid": "b16cceb6-4c92-11e7-ae5f-0e23e0dfe868" }, "secrets": [ { "name": "aggregated-logging-fluentd-token-gh7ns" }, { "name": "aggregated-logging-fluentd-dockercfg-9qdcp" } ] } ], "returncode": 0 }, "state": "present" } TASK [openshift_logging_fluentd : Set privileged permissions for Fluentd] ****** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:86 ok: [openshift] => { "changed": false, "checksum": "a8c8596f5fc2c5dd7c8d33d244af17a2555be086", "dest": "/tmp/openshift-logging-ansible-PgEnzD/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-1496957860.11-190983430247631/source", "state": "file", "uid": 0 } TASK [openshift_logging_fluentd : copy] **************************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:94 ok: [openshift] => { "changed": false, "checksum": "b3e75eddc4a0765edc77da092384c0c6f95440e1", "dest": "/tmp/openshift-logging-ansible-PgEnzD/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-1496957860.6-125962867442594/source", "state": "file", "uid": 0 } TASK [openshift_logging_fluentd : copy] **************************************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:100 ok: [openshift] => { "changed": false, "checksum": "a3aa36da13f3108aa4ad5b98d4866007b44e9798", "dest": "/tmp/openshift-logging-ansible-PgEnzD/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-1496957860.98-241530630144394/source", "state": "file", "uid": 0 } TASK [openshift_logging_fluentd : copy] **************************************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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.o92NVe9bPs/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-08T21:37:41Z", "name": "logging-fluentd", "namespace": "logging", "resourceVersion": "1583", "selfLink": "/api/v1/namespaces/logging/configmaps/logging-fluentd", "uid": "b380d2ed-4c92-11e7-ae5f-0e23e0dfe868" } } ], "returncode": 0 }, "state": "present" } TASK [openshift_logging_fluentd : Set logging-fluentd secret] ****************** task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:154 ok: [openshift] => { "changed": false, "checksum": "b417e7938ae616fcbebddbaa0a956350d79cbf3a", "dest": "/tmp/openshift-logging-ansible-PgEnzD/templates/logging-fluentd.yaml", "gid": 0, "group": "root", "md5sum": "38a72f47e360ce3f9968cd02f98eb390", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 3415, "src": "/root/.ansible/tmp/ansible-tmp-1496957862.92-115133027518336/source", "state": "file", "uid": 0 } TASK [openshift_logging_fluentd : Set logging-fluentd daemonset] *************** task path: /tmp/tmp.o92NVe9bPs/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-08T21:37:43Z", "generation": 1, "labels": { "component": "fluentd", "logging-infra": "fluentd", "provider": "openshift" }, "name": "logging-fluentd", "namespace": "logging", "resourceVersion": "1589", "selfLink": "/apis/extensions/v1beta1/namespaces/logging/daemonsets/logging-fluentd", "uid": "b4bb25fe-4c92-11e7-ae5f-0e23e0dfe868" }, "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.169.251: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.o92NVe9bPs/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-08T21:22:28Z", "labels": { "beta.kubernetes.io/arch": "amd64", "beta.kubernetes.io/os": "linux", "kubernetes.io/hostname": "172.18.5.71" }, "name": "172.18.5.71", "namespace": "", "resourceVersion": "1570", "selfLink": "/api/v1/nodes/172.18.5.71", "uid": "931fcafe-4c90-11e7-ae5f-0e23e0dfe868" }, "spec": { "externalID": "172.18.5.71", "providerID": "aws:////i-0c1f54357dd154f84" }, "status": { "addresses": [ { "address": "172.18.5.71", "type": "LegacyHostIP" }, { "address": "172.18.5.71", "type": "InternalIP" }, { "address": "172.18.5.71", "type": "Hostname" } ], "allocatable": { "cpu": "4", "memory": "7129288Ki", "pods": "40" }, "capacity": { "cpu": "4", "memory": "7231688Ki", "pods": "40" }, "conditions": [ { "lastHeartbeatTime": "2017-06-08T21:37:39Z", "lastTransitionTime": "2017-06-08T21:22:28Z", "message": "kubelet has sufficient disk space available", "reason": "KubeletHasSufficientDisk", "status": "False", "type": "OutOfDisk" }, { "lastHeartbeatTime": "2017-06-08T21:37:39Z", "lastTransitionTime": "2017-06-08T21:22:28Z", "message": "kubelet has sufficient memory available", "reason": "KubeletHasSufficientMemory", "status": "False", "type": "MemoryPressure" }, { "lastHeartbeatTime": "2017-06-08T21:37:39Z", "lastTransitionTime": "2017-06-08T21:22:28Z", "message": "kubelet has no disk pressure", "reason": "KubeletHasNoDiskPressure", "status": "False", "type": "DiskPressure" }, { "lastHeartbeatTime": "2017-06-08T21:37:39Z", "lastTransitionTime": "2017-06-08T21:22: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/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:latest" ], "sizeBytes": 1022758742 }, { "names": [ "openshift/origin-sti-builder:6acabdc", "openshift/origin-sti-builder:latest" ], "sizeBytes": 1001728427 }, { "names": [ "openshift/origin-recycler:6acabdc", "openshift/origin-recycler:latest" ], "sizeBytes": 1001728427 }, { "names": [ "openshift/origin-docker-builder:6acabdc", "openshift/origin-docker-builder:latest" ], "sizeBytes": 1001728427 }, { "names": [ "openshift/origin:6acabdc", "openshift/origin:latest" ], "sizeBytes": 1001728427 }, { "names": [ "openshift/origin-f5-router:6acabdc", "openshift/origin-f5-router:latest" ], "sizeBytes": 1001728427 }, { "names": [ "openshift/origin-deployer:6acabdc", "openshift/origin-deployer:latest" ], "sizeBytes": 1001728427 }, { "names": [ "openshift/origin-cluster-capacity:6acabdc", "openshift/origin-cluster-capacity:latest" ], "sizeBytes": 962455026 }, { "names": [ "openshift/dind-node:latest" ], "sizeBytes": 731453034 }, { "names": [ "172.30.169.251:5000/logging/logging-auth-proxy@sha256:b0de27e972c307f529cbe889da981fda3f844288752b4528b451ddc23e8b2009", "172.30.169.251: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.169.251:5000/logging/logging-kibana@sha256:61ce4ec20ce61de474fb1350941e8016f628a70c553d6bf76d4f7e8d1f1a996f", "172.30.169.251:5000/logging/logging-kibana:latest" ], "sizeBytes": 682851529 }, { "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": [ "172.30.169.251:5000/logging/logging-elasticsearch@sha256:2afac73e7beb9715b76c783997978550f024a48149678215d1c2f2f1abe7c865", "172.30.169.251:5000/logging/logging-elasticsearch:latest" ], "sizeBytes": 623379825 }, { "names": [ "172.30.169.251:5000/logging/logging-fluentd@sha256:9dc5365ca2009c54e52f554ce41a3a8505d60debdd306fece1f267da240f6649", "172.30.169.251:5000/logging/logging-fluentd:latest" ], "sizeBytes": 472182654 }, { "names": [ "172.30.169.251:5000/logging/logging-curator@sha256:8cfd198de6a32f9decd3e192e36ce4db494e068086bda62095a8486bd287bc64", "172.30.169.251:5000/logging/logging-curator:latest" ], "sizeBytes": 418287892 }, { "names": [ "docker.io/openshift/base-centos7@sha256:aea292a3bddba020cde0ee83e6a45807931eb607c164ec6a3674f67039d8cd7c", "docker.io/openshift/base-centos7:latest" ], "sizeBytes": 383049978 }, { "names": [ "rhel7.2:latest" ], "sizeBytes": 377493597 }, { "names": [ "openshift/origin-egress-router:6acabdc", "openshift/origin-egress-router:latest" ], "sizeBytes": 364745713 }, { "names": [ "openshift/origin-base:latest" ], "sizeBytes": 363070172 }, { "names": [ "<none>@<none>", "<none>:<none>" ], "sizeBytes": 363024702 }, { "names": [ "docker.io/openshift/origin-logging-fluentd@sha256: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 } ], "nodeInfo": { "architecture": "amd64", "bootID": "d3370eaf-e742-4660-b900-93beb2fba1ba", "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": "EC2C0CF0-3EF8-9005-BD48-0C03B6323EDC" } } } ], "kind": "List", "metadata": {}, "resourceVersion": "", "selfLink": "" } ], "returncode": 0 }, "state": "list" } TASK [openshift_logging_fluentd : Set openshift_logging_fluentd_hosts] ********* task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:190 ok: [openshift] => { "ansible_facts": { "openshift_logging_fluentd_hosts": [ "172.18.5.71" ] }, "changed": false } TASK [openshift_logging_fluentd : include] ************************************* task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:195 included: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_fluentd/tasks/label_and_wait.yaml for openshift TASK [openshift_logging_fluentd : Label 172.18.5.71 for Fluentd deployment] **** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_fluentd/tasks/label_and_wait.yaml:2 changed: [openshift] => { "changed": true, "results": { "cmd": "/bin/oc label node 172.18.5.71 logging-infra-fluentd=true --overwrite", "results": "", "returncode": 0 }, "state": "add" } TASK [openshift_logging_fluentd : command] ************************************* task path: /tmp/tmp.o92NVe9bPs/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.507118", "end": "2017-06-08 17:37:46.751793", "rc": 0, "start": "2017-06-08 17:37:46.244675" } TASK [openshift_logging_fluentd : Delete temp directory] *********************** task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging_fluentd/tasks/main.yaml:202 ok: [openshift] => { "changed": false, "path": "/tmp/openshift-logging-ansible-PgEnzD", "state": "absent" } TASK [openshift_logging : include] ********************************************* task path: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/install_logging.yaml:253 included: /tmp/tmp.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/update_master_config.yaml for openshift TASK [openshift_logging : include] ********************************************* task path: /tmp/tmp.o92NVe9bPs/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.o92NVe9bPs/openhift-ansible/roles/openshift_logging/tasks/main.yaml:40 ok: [openshift -> 127.0.0.1] => { "changed": false, "path": "/tmp/openshift-logging-ansible-RP1j3u", "state": "absent" } META: ran handlers META: ran handlers PLAY [Update Master configs] *************************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* localhost : ok=2 changed=0 unreachable=0 failed=0 openshift : ok=207 changed=70 unreachable=0 failed=0 /data/src/github.com/openshift/origin-aggregated-logging Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:170: executing 'oc get pods -l component=es' expecting any result and text 'Running'; re-trying every 0.2s until completion or 180.000s... SUCCESS after 0.347s: /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-nh0txix5-1-psfc8 1/1 Running 0 1m There was no error output from the command. Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:171: executing 'oc get pods -l component=kibana' expecting any result and text 'Running'; re-trying every 0.2s until completion or 180.000s... SUCCESS after 0.266s: /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-jg9t8 2/2 Running 0 36s There was no error output from the command. Running /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:172: executing 'oc get pods -l component=curator' expecting any result and text 'Running'; re-trying every 0.2s until completion or 180.000s... SUCCESS after 4.811s: /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-8fx7z 0/1 ContainerCreating 0 16s NAME READY STATUS RESTARTS AGE logging-curator-1-8fx7z 0/1 ContainerCreating 0 17s ... repeated 2 times NAME READY STATUS RESTARTS AGE logging-curator-1-8fx7z 0/1 ContainerCreating 0 18s ... repeated 2 times NAME READY STATUS RESTARTS AGE logging-curator-1-8fx7z 0/1 ContainerCreating 0 19s ... repeated 3 times NAME READY STATUS RESTARTS AGE logging-curator-1-8fx7z 0/1 ContainerCreating 0 20s ... repeated 2 times NAME READY STATUS RESTARTS AGE logging-curator-1-8fx7z 1/1 Running 0 21s Standard error 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.259s: /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-kw4v1jbu-1-h8r1q 1/1 Running 0 55s 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 4.360s: /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-hbck3 0/2 ContainerCreating 0 23s NAME READY STATUS RESTARTS AGE logging-kibana-ops-1-hbck3 0/2 ContainerCreating 0 24s ... repeated 2 times NAME READY STATUS RESTARTS AGE logging-kibana-ops-1-hbck3 0/2 ContainerCreating 0 25s ... repeated 2 times NAME READY STATUS RESTARTS AGE logging-kibana-ops-1-hbck3 0/2 ContainerCreating 0 26s ... repeated 2 times NAME READY STATUS RESTARTS AGE logging-kibana-ops-1-hbck3 0/2 ContainerCreating 0 27s ... repeated 2 times NAME READY STATUS RESTARTS AGE logging-kibana-ops-1-hbck3 1/2 Running 0 28s Standard error 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.294s: /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-c0g4w 1/1 Running 0 13s 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.245s: /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.169.251: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 21:38:12.480852962+00:00 added es message 1959b2be-911f-47c3-b5be-d7036936062c added es-ops message 48054b20-0860-41be-9437-f37a22af4a9e good - wait_for_fluentd_to_catch_up: found 1 record project logging for 1959b2be-911f-47c3-b5be-d7036936062c good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 48054b20-0860-41be-9437-f37a22af4a9e END wait_for_fluentd_to_catch_up took 11 seconds at 2017-06-08 21:38:23.555498374+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.240s: /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.327s: /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.5.71: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.306s: /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.249s: /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 1.079s: /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.5.71: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.337s: /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.238s: /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-nh0txix5-1-psfc8 is ready { "_id": "0", "_index": ".searchguard.logging-es-data-master-nh0txix5-1-psfc8", "_shards": { "failed": 0, "successful": 1, "total": 1 }, "_type": "rolesmapping", "_version": 2, "created": false } Checking if Elasticsearch logging-es-ops-data-master-kw4v1jbu-1-h8r1q is ready { "_id": "0", "_index": ".searchguard.logging-es-ops-data-master-kw4v1jbu-1-h8r1q", "_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.010s: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:274: executing 'test 200 = 200' expecting success There was no output from the command. There was no error output from the command. Running e2e tests Checking installation of the EFK stack... Running test/cluster/rollout.sh:20: executing 'oc project logging' expecting success... SUCCESS after 0.240s: 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.5.71: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.229s: 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.281s: 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.245s: 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.222s: 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.227s: 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.221s: 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.235s: 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.230s: 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-nh0txix5' expecting success... SUCCESS after 0.294s: test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-es-data-master-nh0txix5' expecting success Standard output from the command: NAME REVISION DESIRED CURRENT TRIGGERED BY logging-es-data-master-nh0txix5 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-nh0txix5' expecting success... SUCCESS after 0.215s: test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-es-data-master-nh0txix5' expecting success Standard output from the command: replication controller "logging-es-data-master-nh0txix5-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-kw4v1jbu' expecting success... SUCCESS after 0.223s: test/cluster/rollout.sh:24: executing 'oc get deploymentconfig logging-es-ops-data-master-kw4v1jbu' expecting success Standard output from the command: NAME REVISION DESIRED CURRENT TRIGGERED BY logging-es-ops-data-master-kw4v1jbu 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-kw4v1jbu' expecting success... SUCCESS after 0.218s: test/cluster/rollout.sh:25: executing 'oc rollout status deploymentconfig/logging-es-ops-data-master-kw4v1jbu' expecting success Standard output from the command: replication controller "logging-es-ops-data-master-kw4v1jbu-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.279s: 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.250s: 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.242s: 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.103.73 <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.234s: 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.5.77 <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.220s: 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.15.165 <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.247s: 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.181.90 <none> 9200/TCP 1m There was no error output from the command. Running test/cluster/rollout.sh:35: executing 'oc get service logging-es-ops-cluster' expecting success... SUCCESS after 0.229s: test/cluster/rollout.sh:35: executing 'oc get service logging-es-ops-cluster' expecting success Standard output from the command: NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE logging-es-ops-cluster 172.30.90.21 <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.219s: 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.227.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.245s: 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 aFXf2AjRA044QZhKgu3PuXIzFJBYqAmzwfFUqJJsIAgncHwPH9NaupSPHQVFeogU 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.249s: 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.229s: 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.241s: 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.234s: test/cluster/functionality.sh:44: executing 'oc login --username=system:admin' expecting success Standard output from the command: Logged into "https://172.18.5.71: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.224s: 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.5.71:8443". There was no error output from the command. [INFO] Testing Kibana pod logging-kibana-1-jg9t8 for a successful start... Running test/cluster/functionality.sh:52: executing 'oc exec logging-kibana-1-jg9t8 -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.355s: test/cluster/functionality.sh:52: executing 'oc exec logging-kibana-1-jg9t8 -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-jg9t8 -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.223s: test/cluster/functionality.sh:53: executing 'oc get pod logging-kibana-1-jg9t8 -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-jg9t8 -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.230s: test/cluster/functionality.sh:54: executing 'oc get pod logging-kibana-1-jg9t8 -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-nh0txix5-1-psfc8 for a successful start... Running test/cluster/functionality.sh:59: executing 'curl_es 'logging-es-data-master-nh0txix5-1-psfc8' '/' -X HEAD -w '%{response_code}'' expecting any result and text '200'; re-trying every 0.2s until completion or 600.000s... SUCCESS after 0.390s: test/cluster/functionality.sh:59: executing 'curl_es 'logging-es-data-master-nh0txix5-1-psfc8' '/' -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-nh0txix5-1-psfc8 -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.266s: test/cluster/functionality.sh:60: executing 'oc get pod logging-es-data-master-nh0txix5-1-psfc8 -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-nh0txix5-1-psfc8 recovered its indices after starting... Running test/cluster/functionality.sh:63: executing 'curl_es 'logging-es-data-master-nh0txix5-1-psfc8' '/_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.415s: test/cluster/functionality.sh:63: executing 'curl_es 'logging-es-data-master-nh0txix5-1-psfc8' '/_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":"FRqOXSESQLGrS_eBRkiqDQ"}200 There was no error output from the command. [INFO] Elasticsearch pod logging-es-data-master-nh0txix5-1-psfc8 is the master [INFO] Checking that Elasticsearch pod logging-es-data-master-nh0txix5-1-psfc8 has persisted indices created by Fluentd... Running test/cluster/functionality.sh:76: executing 'curl_es 'logging-es-data-master-nh0txix5-1-psfc8' '/_cat/indices?h=index'' expecting any result and text '^(project|\.operations)\.'; re-trying every 0.2s until completion or 600.000s... SUCCESS after 0.380s: test/cluster/functionality.sh:76: executing 'curl_es 'logging-es-data-master-nh0txix5-1-psfc8' '/_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 .kibana project.default.8efca8c2-4c90-11e7-ae5f-0e23e0dfe868.2017.06.08 .searchguard.logging-es-data-master-nh0txix5-1-psfc8 project.logging.94a95d28-4c90-11e7-ae5f-0e23e0dfe868.2017.06.08 There was no error output from the command. [INFO] Cheking for index project.default.8efca8c2-4c90-11e7-ae5f-0e23e0dfe868 with Kibana pod logging-kibana-1-jg9t8... 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-jg9t8' 'logging-es:9200' 'project.default.8efca8c2-4c90-11e7-ae5f-0e23e0dfe868' '/var/log/containers/*_8efca8c2-4c90-11e7-ae5f-0e23e0dfe868_*.log' '500' 'admin' '2qwRDBMzmitwEuERnOEoK30pJqv0dBaQjdDgzMdqVPM' '127.0.0.1'' expecting success... SUCCESS after 6.732s: 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-jg9t8' 'logging-es:9200' 'project.default.8efca8c2-4c90-11e7-ae5f-0e23e0dfe868' '/var/log/containers/*_8efca8c2-4c90-11e7-ae5f-0e23e0dfe868_*.log' '500' 'admin' '2qwRDBMzmitwEuERnOEoK30pJqv0dBaQjdDgzMdqVPM' '127.0.0.1'' expecting success Standard output from the command: Executing command [oc exec logging-kibana-1-jg9t8 -- 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 2qwRDBMzmitwEuERnOEoK30pJqv0dBaQjdDgzMdqVPM' -H 'X-Forwarded-For: 127.0.0.1' -XGET "https://logging-es:9200/project.default.8efca8c2-4c90-11e7-ae5f-0e23e0dfe868.*/_search?q=hostname:ip-172-18-5-71&fields=message&size=500"] Failure - no log entries found in Elasticsearch logging-es:9200 for index project.default.8efca8c2-4c90-11e7-ae5f-0e23e0dfe868 There was no error output from the command. [INFO] Cheking for index project.logging.94a95d28-4c90-11e7-ae5f-0e23e0dfe868 with Kibana pod logging-kibana-1-jg9t8... 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-jg9t8' 'logging-es:9200' 'project.logging.94a95d28-4c90-11e7-ae5f-0e23e0dfe868' '/var/log/containers/*_94a95d28-4c90-11e7-ae5f-0e23e0dfe868_*.log' '500' 'admin' '2qwRDBMzmitwEuERnOEoK30pJqv0dBaQjdDgzMdqVPM' '127.0.0.1'' expecting success... SUCCESS after 0.596s: 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-jg9t8' 'logging-es:9200' 'project.logging.94a95d28-4c90-11e7-ae5f-0e23e0dfe868' '/var/log/containers/*_94a95d28-4c90-11e7-ae5f-0e23e0dfe868_*.log' '500' 'admin' '2qwRDBMzmitwEuERnOEoK30pJqv0dBaQjdDgzMdqVPM' '127.0.0.1'' expecting success Standard output from the command: Executing command [oc exec logging-kibana-1-jg9t8 -- 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 2qwRDBMzmitwEuERnOEoK30pJqv0dBaQjdDgzMdqVPM' -H 'X-Forwarded-For: 127.0.0.1' -XGET "https://logging-es:9200/project.logging.94a95d28-4c90-11e7-ae5f-0e23e0dfe868.*/_search?q=hostname:ip-172-18-5-71&fields=message&size=500"] Failure - no log entries found in Elasticsearch logging-es:9200 for index project.logging.94a95d28-4c90-11e7-ae5f-0e23e0dfe868 There was no error output from the command. [INFO] Checking that Elasticsearch pod logging-es-data-master-nh0txix5-1-psfc8 contains common data model index templates... Running test/cluster/functionality.sh:105: executing 'oc exec logging-es-data-master-nh0txix5-1-psfc8 -- ls -1 /usr/share/elasticsearch/index_templates' expecting success... SUCCESS after 0.306s: test/cluster/functionality.sh:105: executing 'oc exec logging-es-data-master-nh0txix5-1-psfc8 -- 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-nh0txix5-1-psfc8' '/_template/com.redhat.viaq-openshift-operations.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'... SUCCESS after 0.385s: test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-data-master-nh0txix5-1-psfc8' '/_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-nh0txix5-1-psfc8' '/_template/com.redhat.viaq-openshift-project.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'... SUCCESS after 0.382s: test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-data-master-nh0txix5-1-psfc8' '/_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.243s: 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.247s: test/cluster/functionality.sh:44: executing 'oc login --username=system:admin' expecting success Standard output from the command: Logged into "https://172.18.5.71: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.235s: 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.5.71:8443". There was no error output from the command. [INFO] Testing Kibana pod logging-kibana-ops-1-hbck3 for a successful start... Running test/cluster/functionality.sh:52: executing 'oc exec logging-kibana-ops-1-hbck3 -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.313s: test/cluster/functionality.sh:52: executing 'oc exec logging-kibana-ops-1-hbck3 -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-hbck3 -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.226s: test/cluster/functionality.sh:53: executing 'oc get pod logging-kibana-ops-1-hbck3 -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-hbck3 -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.224s: test/cluster/functionality.sh:54: executing 'oc get pod logging-kibana-ops-1-hbck3 -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-kw4v1jbu-1-h8r1q for a successful start... Running test/cluster/functionality.sh:59: executing 'curl_es 'logging-es-ops-data-master-kw4v1jbu-1-h8r1q' '/' -X HEAD -w '%{response_code}'' expecting any result and text '200'; re-trying every 0.2s until completion or 600.000s... SUCCESS after 0.403s: test/cluster/functionality.sh:59: executing 'curl_es 'logging-es-ops-data-master-kw4v1jbu-1-h8r1q' '/' -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-kw4v1jbu-1-h8r1q -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.234s: test/cluster/functionality.sh:60: executing 'oc get pod logging-es-ops-data-master-kw4v1jbu-1-h8r1q -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-kw4v1jbu-1-h8r1q recovered its indices after starting... Running test/cluster/functionality.sh:63: executing 'curl_es 'logging-es-ops-data-master-kw4v1jbu-1-h8r1q' '/_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.399s: test/cluster/functionality.sh:63: executing 'curl_es 'logging-es-ops-data-master-kw4v1jbu-1-h8r1q' '/_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":"WsRYxGtvSLKDDwJEAFMxFA"}200 There was no error output from the command. [INFO] Elasticsearch pod logging-es-ops-data-master-kw4v1jbu-1-h8r1q is the master [INFO] Checking that Elasticsearch pod logging-es-ops-data-master-kw4v1jbu-1-h8r1q has persisted indices created by Fluentd... Running test/cluster/functionality.sh:76: executing 'curl_es 'logging-es-ops-data-master-kw4v1jbu-1-h8r1q' '/_cat/indices?h=index'' expecting any result and text '^(project|\.operations)\.'; re-trying every 0.2s until completion or 600.000s... SUCCESS after 0.386s: test/cluster/functionality.sh:76: executing 'curl_es 'logging-es-ops-data-master-kw4v1jbu-1-h8r1q' '/_cat/indices?h=index'' expecting any result and text '^(project|\.operations)\.'; re-trying every 0.2s until completion or 600.000s Standard output from the command: .kibana.d033e22ae348aeb5660fc2140aec35850c4da997 .operations.2017.06.08 .searchguard.logging-es-ops-data-master-kw4v1jbu-1-h8r1q .kibana There was no error output from the command. [INFO] Cheking for index .operations with Kibana pod logging-kibana-ops-1-hbck3... 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-hbck3' 'logging-es-ops:9200' '.operations' '/var/log/messages' '500' 'admin' 'BfPPQ5PFK0ltkveQtupRu0iWDDEuXrZVn9MQuDitAyY' '127.0.0.1'' expecting success... SUCCESS after 0.807s: 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-hbck3' 'logging-es-ops:9200' '.operations' '/var/log/messages' '500' 'admin' 'BfPPQ5PFK0ltkveQtupRu0iWDDEuXrZVn9MQuDitAyY' '127.0.0.1'' expecting success Standard output from the command: Executing command [oc exec logging-kibana-ops-1-hbck3 -- 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 BfPPQ5PFK0ltkveQtupRu0iWDDEuXrZVn9MQuDitAyY' -H 'X-Forwarded-For: 127.0.0.1' -XGET "https://logging-es-ops:9200/.operations.*/_search?q=hostname:ip-172-18-5-71&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-kw4v1jbu-1-h8r1q contains common data model index templates... Running test/cluster/functionality.sh:105: executing 'oc exec logging-es-ops-data-master-kw4v1jbu-1-h8r1q -- ls -1 /usr/share/elasticsearch/index_templates' expecting success... SUCCESS after 0.387s: test/cluster/functionality.sh:105: executing 'oc exec logging-es-ops-data-master-kw4v1jbu-1-h8r1q -- 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-kw4v1jbu-1-h8r1q' '/_template/com.redhat.viaq-openshift-operations.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'... SUCCESS after 0.431s: test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-ops-data-master-kw4v1jbu-1-h8r1q' '/_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-kw4v1jbu-1-h8r1q' '/_template/com.redhat.viaq-openshift-project.template.json' -X HEAD -w '%{response_code}'' expecting success and text '200'... SUCCESS after 0.389s: test/cluster/functionality.sh:107: executing 'curl_es 'logging-es-ops-data-master-kw4v1jbu-1-h8r1q' '/_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-nh0txix5-1-psfc8 default-index.curatortest.2017.05.08 default-index.curatortest.2017.06.08 project.default.8efca8c2-4c90-11e7-ae5f-0e23e0dfe868.2017.06.08 project.logging.94a95d28-4c90-11e7-ae5f-0e23e0dfe868.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:45:08 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-nh0txix5-1-psfc8 default-index.curatortest.2017.06.08 project.default.8efca8c2-4c90-11e7-ae5f-0e23e0dfe868.2017.06.08 project.logging.94a95d28-4c90-11e7-ae5f-0e23e0dfe868.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-nh0txix5-1-psfc8 default-index.curatortest.2017.05.08 default-index.curatortest.2017.06.08 project.default.8efca8c2-4c90-11e7-ae5f-0e23e0dfe868.2017.06.08 project.logging.94a95d28-4c90-11e7-ae5f-0e23e0dfe868.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 221 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-nh0txix5-1-psfc8 default-index.curatortest.2017.06.08 project.default.8efca8c2-4c90-11e7-ae5f-0e23e0dfe868.2017.06.08 project.logging.94a95d28-4c90-11e7-ae5f-0e23e0dfe868.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-kw4v1jbu-1-h8r1q 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:50:32 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-kw4v1jbu-1-h8r1q 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-kw4v1jbu-1-h8r1q 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 211 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-kw4v1jbu-1-h8r1q 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=Q7b0wAOAzSXLRh47AAqE7rtc1UjbmE2yiGie0rCN5dU +++ 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-z69dg +++ date +%z ++ nodetz=-0400 +++ oc exec logging-fluentd-z69dg -- 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 ++ echo The rest of the test is not applicable when using the journal - skipping 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=YY4hnh5f_KNztjNKedy_z7gTPDG6mX3mcdKN7nP9hKM +++ 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-z69dg +++ mktemp ++ cfg=/tmp/tmp.YfotP2Sb2y ++ 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-z69dg ++ local ii=120 ++ local incr=10 ++ '[' stop = start ']' ++ curpod=logging-fluentd-z69dg ++ '[' -z logging-fluentd-z69dg -a -n '' ']' ++ '[' 120 -gt 0 ']' ++ '[' stop = stop ']' ++ oc describe pod/logging-fluentd-z69dg ++ '[' 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-970lw ++ '[' 110 -gt 0 ']' ++ '[' start = stop ']' ++ '[' start = start ']' ++ '[' -z logging-fluentd-970lw ']' ++ 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-970lw +++ mktemp ++ origconfig=/tmp/tmp.gACUDchgej ++ 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=1496959280 +++ date -u --rfc-3339=ns START wait_for_fluentd_to_catch_up at 2017-06-08 22:01:20.613765172+00:00 ++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 22:01:20.613765172+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-nh0txix5-1-psfc8 +++ 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-kw4v1jbu-1-h8r1q ++ '[' -z logging-es-ops-data-master-kw4v1jbu-1-h8r1q ']' +++ uuidgen ++ local uuid_es=985b0c60-ca81-4e90-aedc-159ee7cf290e +++ uuidgen ++ local uuid_es_ops=41a3e484-ce7a-441f-8ced-ac29a5f798c2 ++ local expected=1 ++ local timeout=300 ++ add_test_message 985b0c60-ca81-4e90-aedc-159ee7cf290e +++ 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-jg9t8 ++ oc exec logging-kibana-1-jg9t8 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/985b0c60-ca81-4e90-aedc-159ee7cf290e ++ echo added es message 985b0c60-ca81-4e90-aedc-159ee7cf290e added es message 985b0c60-ca81-4e90-aedc-159ee7cf290e ++ logger -i -p local6.info -t 41a3e484-ce7a-441f-8ced-ac29a5f798c2 41a3e484-ce7a-441f-8ced-ac29a5f798c2 added es-ops message 41a3e484-ce7a-441f-8ced-ac29a5f798c2 ++ echo added es-ops message 41a3e484-ce7a-441f-8ced-ac29a5f798c2 ++ local rc=0 ++ espod=logging-es-data-master-nh0txix5-1-psfc8 ++ myproject=project.logging ++ mymessage=985b0c60-ca81-4e90-aedc-159ee7cf290e ++ 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-nh0txix5-1-psfc8 project.logging _count message 985b0c60-ca81-4e90-aedc-159ee7cf290e +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' ++ 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-nh0txix5-1-psfc8 project.logging _count message 985b0c60-ca81-4e90-aedc-159ee7cf290e +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' --connect-timeout 1 +++ get_count_from_json +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' +++ 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-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' ++ 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-nh0txix5-1-psfc8 project.logging _count message 985b0c60-ca81-4e90-aedc-159ee7cf290e +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' ++ 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-nh0txix5-1-psfc8 project.logging _count message 985b0c60-ca81-4e90-aedc-159ee7cf290e +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' ++ 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-nh0txix5-1-psfc8 project.logging _count message 985b0c60-ca81-4e90-aedc-159ee7cf290e +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' +++ shift +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' ++ 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-nh0txix5-1-psfc8 project.logging _count message 985b0c60-ca81-4e90-aedc-159ee7cf290e +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' ++ 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-nh0txix5-1-psfc8 project.logging _count message 985b0c60-ca81-4e90-aedc-159ee7cf290e +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' ++ 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-nh0txix5-1-psfc8 project.logging _count message 985b0c60-ca81-4e90-aedc-159ee7cf290e +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' ++ 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-nh0txix5-1-psfc8 project.logging _count message 985b0c60-ca81-4e90-aedc-159ee7cf290e +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' ++ 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-nh0txix5-1-psfc8 project.logging _count message 985b0c60-ca81-4e90-aedc-159ee7cf290e +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' ++ 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-nh0txix5-1-psfc8 project.logging _count message 985b0c60-ca81-4e90-aedc-159ee7cf290e +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:985b0c60-ca81-4e90-aedc-159ee7cf290e' ++ 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 985b0c60-ca81-4e90-aedc-159ee7cf290e ++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 985b0c60-ca81-4e90-aedc-159ee7cf290e ++ espod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q ++ myproject=.operations ++ mymessage=41a3e484-ce7a-441f-8ced-ac29a5f798c2 ++ 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-kw4v1jbu-1-h8r1q .operations _count systemd.u.SYSLOG_IDENTIFIER 41a3e484-ce7a-441f-8ced-ac29a5f798c2 +++ get_count_from_json +++ curl_es logging-es-ops-data-master-kw4v1jbu-1-h8r1q '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:41a3e484-ce7a-441f-8ced-ac29a5f798c2' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q +++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:41a3e484-ce7a-441f-8ced-ac29a5f798c2' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-ops-data-master-kw4v1jbu-1-h8r1q -- 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:41a3e484-ce7a-441f-8ced-ac29a5f798c2' ++ 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 41a3e484-ce7a-441f-8ced-ac29a5f798c2 ++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 41a3e484-ce7a-441f-8ced-ac29a5f798c2 ++ '[' -n '' ']' ++ '[' -n '' ']' +++ date +%s ++ local endtime=1496959296 +++ expr 1496959296 - 1496959280 +++ date -u --rfc-3339=ns END wait_for_fluentd_to_catch_up took 16 seconds at 2017-06-08 22:01:36.453107417+00:00 ++ echo END wait_for_fluentd_to_catch_up took 16 seconds at 2017-06-08 22:01:36.453107417+00:00 ++ return 0 ++ '[' 0 -ne 0 ']' ++ return 0 ++ trap cleanup INT TERM EXIT +++ mktemp ++ nocopy=/tmp/tmp.k2FRuwo45p ++ sed /_COPY/,/value/d /tmp/tmp.gACUDchgej +++ mktemp ++ envpatch=/tmp/tmp.AyxWseYPFZ ++ 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.k2FRuwo45p ++ cat ++ cat /tmp/tmp.k2FRuwo45p ++ sed '/^ - env:/r /tmp/tmp.AyxWseYPFZ' ++ oc replace -f - template "logging-fluentd-template" replaced ++ rm -f /tmp/tmp.AyxWseYPFZ /tmp/tmp.k2FRuwo45p ++ restart_fluentd ++ oc delete daemonset logging-fluentd daemonset "logging-fluentd" deleted ++ wait_for_pod_ACTION stop logging-fluentd-970lw ++ local ii=120 ++ local incr=10 ++ '[' stop = start ']' ++ curpod=logging-fluentd-970lw ++ '[' -z logging-fluentd-970lw -a -n '' ']' ++ '[' 120 -gt 0 ']' ++ '[' stop = stop ']' ++ oc describe pod/logging-fluentd-970lw ++ '[' 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-34jq6 ++ '[' 110 -gt 0 ']' ++ '[' start = stop ']' ++ '[' start = start ']' ++ '[' -z logging-fluentd-34jq6 ']' ++ 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-34jq6 ++ write_and_verify_logs 2 ++ rc=0 ++ wait_for_fluentd_to_catch_up '' '' 2 +++ date +%s ++ local starttime=1496959320 +++ date -u --rfc-3339=ns START wait_for_fluentd_to_catch_up at 2017-06-08 22:02:00.139426056+00:00 ++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 22:02:00.139426056+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-nh0txix5-1-psfc8 +++ 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-kw4v1jbu-1-h8r1q ++ '[' -z logging-es-ops-data-master-kw4v1jbu-1-h8r1q ']' +++ uuidgen ++ local uuid_es=38748d66-7490-4c37-aafc-21c23d9b68a0 +++ uuidgen ++ local uuid_es_ops=2b4a5d9f-8a0e-430a-8f9a-35d616ab1a0e ++ local expected=2 ++ local timeout=300 ++ add_test_message 38748d66-7490-4c37-aafc-21c23d9b68a0 +++ 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-jg9t8 ++ oc exec logging-kibana-1-jg9t8 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/38748d66-7490-4c37-aafc-21c23d9b68a0 ++ echo added es message 38748d66-7490-4c37-aafc-21c23d9b68a0 added es message 38748d66-7490-4c37-aafc-21c23d9b68a0 ++ logger -i -p local6.info -t 2b4a5d9f-8a0e-430a-8f9a-35d616ab1a0e 2b4a5d9f-8a0e-430a-8f9a-35d616ab1a0e ++ echo added es-ops message 2b4a5d9f-8a0e-430a-8f9a-35d616ab1a0e added es-ops message 2b4a5d9f-8a0e-430a-8f9a-35d616ab1a0e ++ local rc=0 ++ espod=logging-es-data-master-nh0txix5-1-psfc8 ++ myproject=project.logging ++ mymessage=38748d66-7490-4c37-aafc-21c23d9b68a0 ++ expected=2 ++ wait_until_cmd_or_err test_count_expected test_count_err 300 ++ let ii=300 ++ local interval=1 ++ '[' 300 -gt 0 ']' ++ test_count_expected ++ myfield=message +++ query_es_from_es logging-es-data-master-nh0txix5-1-psfc8 project.logging _count message 38748d66-7490-4c37-aafc-21c23d9b68a0 +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message 38748d66-7490-4c37-aafc-21c23d9b68a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message 38748d66-7490-4c37-aafc-21c23d9b68a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message 38748d66-7490-4c37-aafc-21c23d9b68a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message 38748d66-7490-4c37-aafc-21c23d9b68a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message 38748d66-7490-4c37-aafc-21c23d9b68a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message 38748d66-7490-4c37-aafc-21c23d9b68a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message 38748d66-7490-4c37-aafc-21c23d9b68a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message 38748d66-7490-4c37-aafc-21c23d9b68a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message 38748d66-7490-4c37-aafc-21c23d9b68a0 +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message 38748d66-7490-4c37-aafc-21c23d9b68a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:38748d66-7490-4c37-aafc-21c23d9b68a0' ++ local nrecs=2 ++ test 2 = 2 ++ break ++ '[' 290 -le 0 ']' ++ return 0 good - wait_for_fluentd_to_catch_up: found 2 record project logging for 38748d66-7490-4c37-aafc-21c23d9b68a0 ++ echo good - wait_for_fluentd_to_catch_up: found 2 record project logging for 38748d66-7490-4c37-aafc-21c23d9b68a0 ++ espod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q ++ myproject=.operations ++ mymessage=2b4a5d9f-8a0e-430a-8f9a-35d616ab1a0e ++ 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-kw4v1jbu-1-h8r1q .operations _count systemd.u.SYSLOG_IDENTIFIER 2b4a5d9f-8a0e-430a-8f9a-35d616ab1a0e +++ get_count_from_json +++ curl_es logging-es-ops-data-master-kw4v1jbu-1-h8r1q '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:2b4a5d9f-8a0e-430a-8f9a-35d616ab1a0e' --connect-timeout 1 +++ local pod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q +++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:2b4a5d9f-8a0e-430a-8f9a-35d616ab1a0e' +++ shift +++ shift +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-ops-data-master-kw4v1jbu-1-h8r1q -- 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:2b4a5d9f-8a0e-430a-8f9a-35d616ab1a0e' ++ 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 2b4a5d9f-8a0e-430a-8f9a-35d616ab1a0e ++ echo good - wait_for_fluentd_to_catch_up: found 2 record project .operations for 2b4a5d9f-8a0e-430a-8f9a-35d616ab1a0e ++ '[' -n '' ']' ++ '[' -n '' ']' +++ date +%s ++ local endtime=1496959336 +++ expr 1496959336 - 1496959320 +++ date -u --rfc-3339=ns ++ echo END wait_for_fluentd_to_catch_up took 16 seconds at 2017-06-08 22:02:16.267737701+00:00 END wait_for_fluentd_to_catch_up took 16 seconds at 2017-06-08 22:02:16.267737701+00:00 ++ return 0 ++ '[' 0 -ne 0 ']' ++ return 0 ++ oc replace --force -f /tmp/tmp.gACUDchgej template "logging-fluentd-template" deleted template "logging-fluentd-template" replaced ++ rm -f /tmp/tmp.gACUDchgej ++ restart_fluentd ++ oc delete daemonset logging-fluentd daemonset "logging-fluentd" deleted ++ wait_for_pod_ACTION stop logging-fluentd-34jq6 ++ local ii=120 ++ local incr=10 ++ '[' stop = start ']' ++ curpod=logging-fluentd-34jq6 ++ '[' -z logging-fluentd-34jq6 -a -n '' ']' ++ '[' 120 -gt 0 ']' ++ '[' stop = stop ']' ++ oc describe pod/logging-fluentd-34jq6 ++ '[' 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-hxjz4 ++ '[' 110 -gt 0 ']' ++ '[' start = stop ']' ++ '[' start = start ']' ++ '[' -z logging-fluentd-hxjz4 ']' ++ 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-hxjz4 ++ write_and_verify_logs 1 ++ rc=0 ++ wait_for_fluentd_to_catch_up '' '' 1 +++ date +%s ++ local starttime=1496959352 +++ date -u --rfc-3339=ns START wait_for_fluentd_to_catch_up at 2017-06-08 22:02:32.005297979+00:00 ++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 22:02:32.005297979+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-nh0txix5-1-psfc8 +++ 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-kw4v1jbu-1-h8r1q ++ '[' -z logging-es-ops-data-master-kw4v1jbu-1-h8r1q ']' +++ uuidgen ++ local uuid_es=a7a8ad86-3e54-47d8-b92f-e27349febfc0 +++ uuidgen ++ local uuid_es_ops=8bb54afd-be49-417b-b552-dfa644ba0038 ++ local expected=1 ++ local timeout=300 ++ add_test_message a7a8ad86-3e54-47d8-b92f-e27349febfc0 +++ 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-jg9t8 ++ oc exec logging-kibana-1-jg9t8 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/a7a8ad86-3e54-47d8-b92f-e27349febfc0 ++ echo added es message a7a8ad86-3e54-47d8-b92f-e27349febfc0 added es message a7a8ad86-3e54-47d8-b92f-e27349febfc0 ++ logger -i -p local6.info -t 8bb54afd-be49-417b-b552-dfa644ba0038 8bb54afd-be49-417b-b552-dfa644ba0038 added es-ops message 8bb54afd-be49-417b-b552-dfa644ba0038 ++ echo added es-ops message 8bb54afd-be49-417b-b552-dfa644ba0038 ++ local rc=0 ++ espod=logging-es-data-master-nh0txix5-1-psfc8 ++ myproject=project.logging ++ mymessage=a7a8ad86-3e54-47d8-b92f-e27349febfc0 ++ 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-nh0txix5-1-psfc8 project.logging _count message a7a8ad86-3e54-47d8-b92f-e27349febfc0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' ++ local nrecs=0 ++ test 0 = 1 ++ sleep 1 ++ let ii=ii-1 ++ '[' 299 -gt 0 ']' ++ test_count_expected ++ myfield=message +++ get_count_from_json +++ query_es_from_es logging-es-data-master-nh0txix5-1-psfc8 project.logging _count message a7a8ad86-3e54-47d8-b92f-e27349febfc0 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' ++ 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-nh0txix5-1-psfc8 project.logging _count message a7a8ad86-3e54-47d8-b92f-e27349febfc0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' ++ 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-nh0txix5-1-psfc8 project.logging _count message a7a8ad86-3e54-47d8-b92f-e27349febfc0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' ++ 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-nh0txix5-1-psfc8 project.logging _count message a7a8ad86-3e54-47d8-b92f-e27349febfc0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' ++ 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-nh0txix5-1-psfc8 project.logging _count message a7a8ad86-3e54-47d8-b92f-e27349febfc0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' ++ 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-nh0txix5-1-psfc8 project.logging _count message a7a8ad86-3e54-47d8-b92f-e27349febfc0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' ++ 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-nh0txix5-1-psfc8 project.logging _count message a7a8ad86-3e54-47d8-b92f-e27349febfc0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' ++ 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-nh0txix5-1-psfc8 project.logging _count message a7a8ad86-3e54-47d8-b92f-e27349febfc0 +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' +++ 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 ++ '[' 291 -gt 0 ']' ++ test_count_expected ++ myfield=message +++ query_es_from_es logging-es-data-master-nh0txix5-1-psfc8 project.logging _count message a7a8ad86-3e54-47d8-b92f-e27349febfc0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:a7a8ad86-3e54-47d8-b92f-e27349febfc0' ++ local nrecs=1 ++ test 1 = 1 ++ break ++ '[' 291 -le 0 ']' ++ return 0 ++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for a7a8ad86-3e54-47d8-b92f-e27349febfc0 good - wait_for_fluentd_to_catch_up: found 1 record project logging for a7a8ad86-3e54-47d8-b92f-e27349febfc0 ++ espod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q ++ myproject=.operations ++ mymessage=8bb54afd-be49-417b-b552-dfa644ba0038 ++ 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-kw4v1jbu-1-h8r1q .operations _count systemd.u.SYSLOG_IDENTIFIER 8bb54afd-be49-417b-b552-dfa644ba0038 +++ get_count_from_json +++ curl_es logging-es-ops-data-master-kw4v1jbu-1-h8r1q '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:8bb54afd-be49-417b-b552-dfa644ba0038' --connect-timeout 1 +++ local pod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q +++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:8bb54afd-be49-417b-b552-dfa644ba0038' +++ 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-kw4v1jbu-1-h8r1q -- 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:8bb54afd-be49-417b-b552-dfa644ba0038' ++ 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 8bb54afd-be49-417b-b552-dfa644ba0038 ++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 8bb54afd-be49-417b-b552-dfa644ba0038 ++ '[' -n '' ']' ++ '[' -n '' ']' +++ date +%s ++ local endtime=1496959366 +++ expr 1496959366 - 1496959352 +++ date -u --rfc-3339=ns END wait_for_fluentd_to_catch_up took 14 seconds at 2017-06-08 22:02:46.585077454+00:00 ++ echo END wait_for_fluentd_to_catch_up took 14 seconds at 2017-06-08 22:02:46.585077454+00:00 ++ return 0 ++ '[' 0 -ne 0 ']' ++ return 0 ++ cleanup ++ '[' '!' -f /tmp/tmp.gACUDchgej ']' ++ 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=91wfzW616C2x_ANrplSOb5ilkuMTfT5-kbjgGeUulqM +++ 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-hxjz4 ++ write_and_verify_logs 1 ++ expected=1 ++ rc=0 ++ wait_for_fluentd_to_catch_up '' '' +++ date +%s ++ local starttime=1496959368 +++ date -u --rfc-3339=ns START wait_for_fluentd_to_catch_up at 2017-06-08 22:02:48.027964927+00:00 ++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 22:02:48.027964927+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-nh0txix5-1-psfc8 +++ 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-kw4v1jbu-1-h8r1q ++ '[' -z logging-es-ops-data-master-kw4v1jbu-1-h8r1q ']' +++ uuidgen ++ local uuid_es=d9f75928-2013-42f5-8577-afb1c0a2a1e6 +++ uuidgen ++ local uuid_es_ops=b7dca73b-9f8c-4c26-9d9d-429198705abe ++ local expected=1 ++ local timeout=300 ++ add_test_message d9f75928-2013-42f5-8577-afb1c0a2a1e6 +++ 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-jg9t8 ++ oc exec logging-kibana-1-jg9t8 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/d9f75928-2013-42f5-8577-afb1c0a2a1e6 ++ echo added es message d9f75928-2013-42f5-8577-afb1c0a2a1e6 added es message d9f75928-2013-42f5-8577-afb1c0a2a1e6 ++ logger -i -p local6.info -t b7dca73b-9f8c-4c26-9d9d-429198705abe b7dca73b-9f8c-4c26-9d9d-429198705abe added es-ops message b7dca73b-9f8c-4c26-9d9d-429198705abe ++ echo added es-ops message b7dca73b-9f8c-4c26-9d9d-429198705abe ++ local rc=0 ++ espod=logging-es-data-master-nh0txix5-1-psfc8 ++ myproject=project.logging ++ mymessage=d9f75928-2013-42f5-8577-afb1c0a2a1e6 ++ 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-nh0txix5-1-psfc8 project.logging _count message d9f75928-2013-42f5-8577-afb1c0a2a1e6 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:d9f75928-2013-42f5-8577-afb1c0a2a1e6' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:d9f75928-2013-42f5-8577-afb1c0a2a1e6' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d9f75928-2013-42f5-8577-afb1c0a2a1e6' ++ 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-nh0txix5-1-psfc8 project.logging _count message d9f75928-2013-42f5-8577-afb1c0a2a1e6 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:d9f75928-2013-42f5-8577-afb1c0a2a1e6' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:d9f75928-2013-42f5-8577-afb1c0a2a1e6' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d9f75928-2013-42f5-8577-afb1c0a2a1e6' ++ 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-nh0txix5-1-psfc8 project.logging _count message d9f75928-2013-42f5-8577-afb1c0a2a1e6 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:d9f75928-2013-42f5-8577-afb1c0a2a1e6' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:d9f75928-2013-42f5-8577-afb1c0a2a1e6' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d9f75928-2013-42f5-8577-afb1c0a2a1e6' ++ 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-nh0txix5-1-psfc8 project.logging _count message d9f75928-2013-42f5-8577-afb1c0a2a1e6 +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:d9f75928-2013-42f5-8577-afb1c0a2a1e6' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:d9f75928-2013-42f5-8577-afb1c0a2a1e6' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d9f75928-2013-42f5-8577-afb1c0a2a1e6' ++ 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-nh0txix5-1-psfc8 project.logging _count message d9f75928-2013-42f5-8577-afb1c0a2a1e6 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:d9f75928-2013-42f5-8577-afb1c0a2a1e6' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:d9f75928-2013-42f5-8577-afb1c0a2a1e6' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d9f75928-2013-42f5-8577-afb1c0a2a1e6' ++ 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-nh0txix5-1-psfc8 project.logging _count message d9f75928-2013-42f5-8577-afb1c0a2a1e6 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:d9f75928-2013-42f5-8577-afb1c0a2a1e6' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:d9f75928-2013-42f5-8577-afb1c0a2a1e6' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:d9f75928-2013-42f5-8577-afb1c0a2a1e6' ++ local nrecs=1 ++ test 1 = 1 ++ break ++ '[' 295 -le 0 ']' ++ return 0 ++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for d9f75928-2013-42f5-8577-afb1c0a2a1e6 good - wait_for_fluentd_to_catch_up: found 1 record project logging for d9f75928-2013-42f5-8577-afb1c0a2a1e6 ++ espod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q ++ myproject=.operations ++ mymessage=b7dca73b-9f8c-4c26-9d9d-429198705abe ++ 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-kw4v1jbu-1-h8r1q .operations _count systemd.u.SYSLOG_IDENTIFIER b7dca73b-9f8c-4c26-9d9d-429198705abe +++ get_count_from_json +++ curl_es logging-es-ops-data-master-kw4v1jbu-1-h8r1q '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:b7dca73b-9f8c-4c26-9d9d-429198705abe' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q +++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:b7dca73b-9f8c-4c26-9d9d-429198705abe' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-ops-data-master-kw4v1jbu-1-h8r1q -- 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:b7dca73b-9f8c-4c26-9d9d-429198705abe' ++ 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 b7dca73b-9f8c-4c26-9d9d-429198705abe good - wait_for_fluentd_to_catch_up: found 1 record project .operations for b7dca73b-9f8c-4c26-9d9d-429198705abe ++ '[' -n '' ']' ++ '[' -n '' ']' +++ date +%s ++ local endtime=1496959376 +++ expr 1496959376 - 1496959368 +++ date -u --rfc-3339=ns END wait_for_fluentd_to_catch_up took 8 seconds at 2017-06-08 22:02:56.729001967+00:00 ++ echo END wait_for_fluentd_to_catch_up took 8 seconds at 2017-06-08 22:02:56.729001967+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.169.251: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.5.71" labeled ++ wait_for_pod_ACTION start forward-fluentd ++ local ii=120 ++ local incr=10 ++ '[' start = start ']' +++ get_running_pod forward-fluentd +++ oc get pods -l component=forward-fluentd +++ awk -v sel=forward-fluentd '$1 ~ sel && $3 == "Running" {print $1}' ++ curpod= ++ '[' 120 -gt 0 ']' ++ '[' start = stop ']' ++ '[' start = start ']' ++ '[' -z '' ']' ++ '[' -n '' ']' ++ '[' -n 1 ']' pod for component=forward-fluentd not running yet ++ echo pod for component=forward-fluentd not running yet ++ sleep 10 +++ expr 120 - 10 ++ ii=110 ++ '[' start = start ']' +++ get_running_pod forward-fluentd +++ oc get pods -l component=forward-fluentd +++ awk -v sel=forward-fluentd '$1 ~ sel && $3 == "Running" {print $1}' ++ curpod=logging-forward-fluentd-p27k1 ++ '[' 110 -gt 0 ']' ++ '[' start = stop ']' ++ '[' start = start ']' ++ '[' -z logging-forward-fluentd-p27k1 ']' ++ break ++ '[' 110 -le 0 ']' ++ return 0 ++ update_current_fluentd ++ oc label node --all logging-infra-fluentd- node "172.18.5.71" labeled ++ wait_for_pod_ACTION stop logging-fluentd-hxjz4 ++ local ii=120 ++ local incr=10 ++ '[' stop = start ']' ++ curpod=logging-fluentd-hxjz4 ++ '[' -z logging-fluentd-hxjz4 -a -n '' ']' ++ '[' 120 -gt 0 ']' ++ '[' stop = stop ']' ++ oc describe pod/logging-fluentd-hxjz4 ++ '[' -n 1 ']' ++ echo pod logging-fluentd-hxjz4 still running pod logging-fluentd-hxjz4 still running ++ sleep 10 +++ expr 120 - 10 ++ ii=110 ++ '[' stop = start ']' ++ '[' 110 -gt 0 ']' ++ '[' stop = stop ']' ++ oc describe pod/logging-fluentd-hxjz4 ++ '[' 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-p27k1 +++ oc get pods/logging-forward-fluentd-p27k1 '--template={{.status.podIP}}' ++ FLUENTD_FORWARD=172.17.0.10 ++ oc patch configmap/logging-fluentd --type=json --patch '[{ "op": "replace", "path": "/data/secure-forward.conf", "value": "\ @type secure_forward\n\ self_hostname forwarding-${HOSTNAME}\n\ shared_key aggregated_logging_ci_testing\n\ secure no\n\ buffer_queue_limit \"#{ENV['\''BUFFER_QUEUE_LIMIT'\'']}\"\n\ buffer_chunk_limit \"#{ENV['\''BUFFER_SIZE_LIMIT'\'']}\"\n\ <server>\n\ host 172.17.0.10\n\ port 24284\n\ </server>"}]' configmap "logging-fluentd" patched ++ oc label node --all logging-infra-fluentd=true node "172.18.5.71" 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-4zkjm ++ '[' 110 -gt 0 ']' ++ '[' start = stop ']' ++ '[' start = start ']' ++ '[' -z logging-fluentd-4zkjm ']' ++ 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=1496959410 +++ date -u --rfc-3339=ns START wait_for_fluentd_to_catch_up at 2017-06-08 22:03:30.227433268+00:00 ++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 22:03:30.227433268+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-nh0txix5-1-psfc8 +++ 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-kw4v1jbu-1-h8r1q ++ '[' -z logging-es-ops-data-master-kw4v1jbu-1-h8r1q ']' +++ uuidgen ++ local uuid_es=e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ uuidgen ++ local uuid_es_ops=4f377eae-4929-4aa5-8feb-216259955e20 ++ local expected=1 ++ local timeout=300 ++ add_test_message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ 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-jg9t8 ++ oc exec logging-kibana-1-jg9t8 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/e8f18efe-b099-46aa-87e3-b035c2fb26a0 added es message e8f18efe-b099-46aa-87e3-b035c2fb26a0 added es-ops message 4f377eae-4929-4aa5-8feb-216259955e20 ++ echo added es message e8f18efe-b099-46aa-87e3-b035c2fb26a0 ++ logger -i -p local6.info -t 4f377eae-4929-4aa5-8feb-216259955e20 4f377eae-4929-4aa5-8feb-216259955e20 ++ echo added es-ops message 4f377eae-4929-4aa5-8feb-216259955e20 ++ local rc=0 ++ espod=logging-es-data-master-nh0txix5-1-psfc8 ++ myproject=project.logging ++ mymessage=e8f18efe-b099-46aa-87e3-b035c2fb26a0 ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ 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-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ 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 ++ '[' 286 -gt 0 ']' ++ test_count_expected ++ myfield=message +++ query_es_from_es logging-es-data-master-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ local nrecs=0 ++ test 0 = 1 ++ sleep 1 ++ let ii=ii-1 ++ '[' 276 -gt 0 ']' ++ test_count_expected ++ myfield=message +++ query_es_from_es logging-es-data-master-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ 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-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ 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-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ 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-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ 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-nh0txix5-1-psfc8 project.logging _count message e8f18efe-b099-46aa-87e3-b035c2fb26a0 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:e8f18efe-b099-46aa-87e3-b035c2fb26a0' ++ local nrecs=1 ++ test 1 = 1 ++ break ++ '[' 247 -le 0 ']' ++ return 0 good - wait_for_fluentd_to_catch_up: found 1 record project logging for e8f18efe-b099-46aa-87e3-b035c2fb26a0 ++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for e8f18efe-b099-46aa-87e3-b035c2fb26a0 ++ espod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q ++ myproject=.operations ++ mymessage=4f377eae-4929-4aa5-8feb-216259955e20 ++ 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-kw4v1jbu-1-h8r1q .operations _count systemd.u.SYSLOG_IDENTIFIER 4f377eae-4929-4aa5-8feb-216259955e20 +++ get_count_from_json +++ curl_es logging-es-ops-data-master-kw4v1jbu-1-h8r1q '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:4f377eae-4929-4aa5-8feb-216259955e20' --connect-timeout 1 +++ local pod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q +++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:4f377eae-4929-4aa5-8feb-216259955e20' +++ shift +++ shift +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-ops-data-master-kw4v1jbu-1-h8r1q -- 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:4f377eae-4929-4aa5-8feb-216259955e20' ++ 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 4f377eae-4929-4aa5-8feb-216259955e20 ++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 4f377eae-4929-4aa5-8feb-216259955e20 ++ '[' -n '' ']' ++ '[' -n '' ']' +++ date +%s ++ local endtime=1496959486 +++ expr 1496959486 - 1496959410 +++ date -u --rfc-3339=ns END wait_for_fluentd_to_catch_up took 76 seconds at 2017-06-08 22:04:46.130698190+00:00 ++ echo END wait_for_fluentd_to_catch_up took 76 seconds at 2017-06-08 22:04:46.130698190+00:00 ++ return 0 ++ return 0 ++ cleanup ++ cleanup_forward ++ oc label node --all logging-infra-fluentd- node "172.18.5.71" labeled ++ wait_for_pod_ACTION stop logging-fluentd-hxjz4 ++ local ii=120 ++ local incr=10 ++ '[' stop = start ']' ++ curpod=logging-fluentd-hxjz4 ++ '[' -z logging-fluentd-hxjz4 -a -n '' ']' ++ '[' 120 -gt 0 ']' ++ '[' stop = stop ']' ++ oc describe pod/logging-fluentd-hxjz4 ++ '[' 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.5.71" 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-kqrk0 ++ '[' 110 -gt 0 ']' ++ '[' start = stop ']' ++ '[' start = start ']' ++ '[' -z logging-fluentd-kqrk0 ']' ++ 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-kqrk0 ++ oc get events -o yaml ++ write_and_verify_logs 1 ++ expected=1 ++ rc=0 ++ wait_for_fluentd_to_catch_up '' '' +++ date +%s ++ local starttime=1496959500 +++ date -u --rfc-3339=ns START wait_for_fluentd_to_catch_up at 2017-06-08 22:05:00.801582778+00:00 ++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 22:05:00.801582778+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-nh0txix5-1-psfc8 +++ 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-kw4v1jbu-1-h8r1q ++ '[' -z logging-es-ops-data-master-kw4v1jbu-1-h8r1q ']' +++ uuidgen ++ local uuid_es=ff5992e0-d890-4d4b-b8ad-f821abab28bf +++ uuidgen ++ local uuid_es_ops=03ee4287-9b0d-4025-8c53-6ad319f391b3 ++ local expected=1 ++ local timeout=300 ++ add_test_message ff5992e0-d890-4d4b-b8ad-f821abab28bf +++ 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-jg9t8 ++ oc exec logging-kibana-1-jg9t8 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/ff5992e0-d890-4d4b-b8ad-f821abab28bf added es message ff5992e0-d890-4d4b-b8ad-f821abab28bf ++ echo added es message ff5992e0-d890-4d4b-b8ad-f821abab28bf ++ logger -i -p local6.info -t 03ee4287-9b0d-4025-8c53-6ad319f391b3 03ee4287-9b0d-4025-8c53-6ad319f391b3 added es-ops message 03ee4287-9b0d-4025-8c53-6ad319f391b3 ++ echo added es-ops message 03ee4287-9b0d-4025-8c53-6ad319f391b3 ++ local rc=0 ++ espod=logging-es-data-master-nh0txix5-1-psfc8 ++ myproject=project.logging ++ mymessage=ff5992e0-d890-4d4b-b8ad-f821abab28bf ++ 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-nh0txix5-1-psfc8 project.logging _count message ff5992e0-d890-4d4b-b8ad-f821abab28bf +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' +++ shift +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' ++ 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-nh0txix5-1-psfc8 project.logging _count message ff5992e0-d890-4d4b-b8ad-f821abab28bf +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' ++ 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-nh0txix5-1-psfc8 project.logging _count message ff5992e0-d890-4d4b-b8ad-f821abab28bf +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' ++ 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-nh0txix5-1-psfc8 project.logging _count message ff5992e0-d890-4d4b-b8ad-f821abab28bf +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' +++ 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-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' ++ 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-nh0txix5-1-psfc8 project.logging _count message ff5992e0-d890-4d4b-b8ad-f821abab28bf +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' ++ 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-nh0txix5-1-psfc8 project.logging _count message ff5992e0-d890-4d4b-b8ad-f821abab28bf +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' ++ 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-nh0txix5-1-psfc8 project.logging _count message ff5992e0-d890-4d4b-b8ad-f821abab28bf +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' ++ 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-nh0txix5-1-psfc8 project.logging _count message ff5992e0-d890-4d4b-b8ad-f821abab28bf +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' ++ 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-nh0txix5-1-psfc8 project.logging _count message ff5992e0-d890-4d4b-b8ad-f821abab28bf +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' +++ 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-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' ++ 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-nh0txix5-1-psfc8 project.logging _count message ff5992e0-d890-4d4b-b8ad-f821abab28bf +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' ++ 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-nh0txix5-1-psfc8 project.logging _count message ff5992e0-d890-4d4b-b8ad-f821abab28bf +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:ff5992e0-d890-4d4b-b8ad-f821abab28bf' ++ 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 ff5992e0-d890-4d4b-b8ad-f821abab28bf ++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for ff5992e0-d890-4d4b-b8ad-f821abab28bf ++ espod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q ++ myproject=.operations ++ mymessage=03ee4287-9b0d-4025-8c53-6ad319f391b3 ++ 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-kw4v1jbu-1-h8r1q .operations _count systemd.u.SYSLOG_IDENTIFIER 03ee4287-9b0d-4025-8c53-6ad319f391b3 +++ get_count_from_json +++ curl_es logging-es-ops-data-master-kw4v1jbu-1-h8r1q '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:03ee4287-9b0d-4025-8c53-6ad319f391b3' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q +++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:03ee4287-9b0d-4025-8c53-6ad319f391b3' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-ops-data-master-kw4v1jbu-1-h8r1q -- 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:03ee4287-9b0d-4025-8c53-6ad319f391b3' ++ 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 03ee4287-9b0d-4025-8c53-6ad319f391b3 ++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 03ee4287-9b0d-4025-8c53-6ad319f391b3 ++ '[' -n '' ']' ++ '[' -n '' ']' +++ date +%s ++ local endtime=1496959516 +++ expr 1496959516 - 1496959500 +++ date -u --rfc-3339=ns END wait_for_fluentd_to_catch_up took 16 seconds at 2017-06-08 22:05:16.567436428+00:00 ++ echo END wait_for_fluentd_to_catch_up took 16 seconds at 2017-06-08 22:05:16.567436428+00:00 ++ return 0 ++ return 0 ++ cleanup ++ cleanup_forward ++ oc label node --all logging-infra-fluentd- node "172.18.5.71" labeled ++ wait_for_pod_ACTION stop logging-fluentd-kqrk0 ++ local ii=120 ++ local incr=10 ++ '[' stop = start ']' ++ curpod=logging-fluentd-kqrk0 ++ '[' -z logging-fluentd-kqrk0 -a -n '' ']' ++ '[' 120 -gt 0 ']' ++ '[' stop = stop ']' ++ oc describe pod/logging-fluentd-kqrk0 ++ '[' -n 1 ']' pod logging-fluentd-kqrk0 still running ++ echo pod logging-fluentd-kqrk0 still running ++ sleep 10 +++ expr 120 - 10 ++ ii=110 ++ '[' stop = start ']' ++ '[' 110 -gt 0 ']' ++ '[' stop = stop ']' ++ oc describe pod/logging-fluentd-kqrk0 ++ '[' -n 1 ']' pod logging-fluentd-kqrk0 still running ++ echo pod logging-fluentd-kqrk0 still running ++ sleep 10 +++ expr 110 - 10 ++ ii=100 ++ '[' stop = start ']' ++ '[' 100 -gt 0 ']' ++ '[' stop = stop ']' ++ oc describe pod/logging-fluentd-kqrk0 ++ '[' stop = start ']' ++ break ++ '[' 100 -le 0 ']' ++ return 0 ++ oc delete daemonset/logging-forward-fluentd Error from server (NotFound): daemonsets.extensions "logging-forward-fluentd" not found ++ : +++ oc get configmap/logging-fluentd -o yaml +++ grep '<match \*\*>' ++ '[' -n '' ']' ++ oc patch configmap/logging-fluentd --type=json --patch '[{ "op": "replace", "path": "/data/secure-forward.conf", "value": "\ # @type secure_forward\n\ # self_hostname forwarding-${HOSTNAME}\n\ # shared_key aggregated_logging_ci_testing\n\ # secure no\n\ # <server>\n\ # host ${FLUENTD_FORWARD}\n\ # port 24284\n\ # </server>"}]' configmap "logging-fluentd" not patched ++ oc label node --all logging-infra-fluentd=true node "172.18.5.71" 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-httd4 ++ '[' 110 -gt 0 ']' ++ '[' start = stop ']' ++ '[' start = start ']' ++ '[' -z logging-fluentd-httd4 ']' ++ 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-httd4 ++ 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-nh0txix5-1-psfc8 +++ uuidgen ++ uuid_es=afc61d63-13b2-40d5-97a6-28f059ab165c ++ echo Adding test message afc61d63-13b2-40d5-97a6-28f059ab165c to Kibana . . . Adding test message afc61d63-13b2-40d5-97a6-28f059ab165c to Kibana . . . ++ add_test_message afc61d63-13b2-40d5-97a6-28f059ab165c +++ 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-jg9t8 ++ oc exec logging-kibana-1-jg9t8 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/afc61d63-13b2-40d5-97a6-28f059ab165c ++ rc=0 ++ timeout=600 ++ echo Waiting 600 seconds for afc61d63-13b2-40d5-97a6-28f059ab165c to show up in Elasticsearch . . . Waiting 600 seconds for afc61d63-13b2-40d5-97a6-28f059ab165c to show up in Elasticsearch . . . ++ espod=logging-es-data-master-nh0txix5-1-psfc8 ++ myproject=project.logging. ++ mymessage=afc61d63-13b2-40d5-97a6-28f059ab165c ++ expected=1 ++ wait_until_cmd_or_err test_count_expected test_count_err 600 ++ let ii=600 ++ local interval=1 ++ '[' 600 -gt 0 ']' ++ test_count_expected ++ myfield=message +++ query_es_from_es logging-es-data-master-nh0txix5-1-psfc8 project.logging. _count message afc61d63-13b2-40d5-97a6-28f059ab165c +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' ++ 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-nh0txix5-1-psfc8 project.logging. _count message afc61d63-13b2-40d5-97a6-28f059ab165c +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' +++ 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-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' ++ 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-nh0txix5-1-psfc8 project.logging. _count message afc61d63-13b2-40d5-97a6-28f059ab165c +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' ++ 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-nh0txix5-1-psfc8 project.logging. _count message afc61d63-13b2-40d5-97a6-28f059ab165c +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' ++ 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-nh0txix5-1-psfc8 project.logging. _count message afc61d63-13b2-40d5-97a6-28f059ab165c +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' ++ 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-nh0txix5-1-psfc8 project.logging. _count message afc61d63-13b2-40d5-97a6-28f059ab165c +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' +++ 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-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' ++ local nrecs=0 ++ test 0 = 1 ++ sleep 1 ++ let ii=ii-1 ++ '[' 594 -gt 0 ']' ++ test_count_expected ++ myfield=message +++ query_es_from_es logging-es-data-master-nh0txix5-1-psfc8 project.logging. _count message afc61d63-13b2-40d5-97a6-28f059ab165c +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' ++ 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-nh0txix5-1-psfc8 project.logging. _count message afc61d63-13b2-40d5-97a6-28f059ab165c +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' ++ 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-nh0txix5-1-psfc8 project.logging. _count message afc61d63-13b2-40d5-97a6-28f059ab165c +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging.*/_count?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' ++ local nrecs=1 ++ test 1 = 1 ++ break ++ '[' 592 -le 0 ']' ++ return 0 good - ./logging.sh: found 1 record project logging for afc61d63-13b2-40d5-97a6-28f059ab165c ++ echo good - ./logging.sh: found 1 record project logging for afc61d63-13b2-40d5-97a6-28f059ab165c Testing if record is in correct format . . . ++ echo Testing if record is in correct format . . . ++ query_es_from_es logging-es-data-master-nh0txix5-1-psfc8 project.logging. _search message afc61d63-13b2-40d5-97a6-28f059ab165c ++ python test-json-parsing.py afc61d63-13b2-40d5-97a6-28f059ab165c ++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging.*/_search?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' --connect-timeout 1 ++ local pod=logging-es-data-master-nh0txix5-1-psfc8 ++ local 'endpoint=/project.logging.*/_search?q=message:afc61d63-13b2-40d5-97a6-28f059ab165c' ++ shift ++ shift ++ args=("${@:-}") ++ local args ++ local secret_dir=/etc/elasticsearch/secret/ ++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- 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:afc61d63-13b2-40d5-97a6-28f059ab165c' 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=bUkbJLQX-5PA5Zxr0POXhpyVK2i4z1CtyPR-eteXA3E +++ 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-httd4 ++ 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.poloaJ2AK9 ++ cat ++ add_test_volume /tmp/tmp.poloaJ2AK9 ++ 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.poloaJ2AK9"}}); print json.dumps(obj, indent=2)' ++ oc replace -f - ++ 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-httd4 ++ local ii=120 ++ local incr=10 ++ '[' stop = start ']' ++ curpod=logging-fluentd-httd4 ++ '[' -z logging-fluentd-httd4 -a -n '' ']' ++ '[' 120 -gt 0 ']' ++ '[' stop = stop ']' ++ oc describe pod/logging-fluentd-httd4 ++ '[' 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-k5jwz ++ '[' 110 -gt 0 ']' ++ '[' start = stop ']' ++ '[' start = start ']' ++ '[' -z logging-fluentd-k5jwz ']' ++ 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-k5jwz ++ 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=1496959580 +++ date -u --rfc-3339=ns START wait_for_fluentd_to_catch_up at 2017-06-08 22:06:20.813820986+00:00 ++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 22:06:20.813820986+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-nh0txix5-1-psfc8 +++ 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-kw4v1jbu-1-h8r1q ++ '[' -z logging-es-ops-data-master-kw4v1jbu-1-h8r1q ']' +++ uuidgen ++ local uuid_es=1dc7936a-ce14-4d6b-a694-4ffa0132f3ab +++ uuidgen ++ local uuid_es_ops=d6429b8e-589c-4567-8720-f84f7fd3b477 ++ local expected=1 ++ local timeout=300 ++ add_test_message 1dc7936a-ce14-4d6b-a694-4ffa0132f3ab +++ 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-jg9t8 ++ oc exec logging-kibana-1-jg9t8 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/1dc7936a-ce14-4d6b-a694-4ffa0132f3ab added es message 1dc7936a-ce14-4d6b-a694-4ffa0132f3ab ++ echo added es message 1dc7936a-ce14-4d6b-a694-4ffa0132f3ab ++ logger -i -p local6.info -t d6429b8e-589c-4567-8720-f84f7fd3b477 d6429b8e-589c-4567-8720-f84f7fd3b477 added es-ops message d6429b8e-589c-4567-8720-f84f7fd3b477 ++ echo added es-ops message d6429b8e-589c-4567-8720-f84f7fd3b477 ++ local rc=0 ++ espod=logging-es-data-master-nh0txix5-1-psfc8 ++ myproject=project.logging ++ mymessage=1dc7936a-ce14-4d6b-a694-4ffa0132f3ab ++ 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-nh0txix5-1-psfc8 project.logging _count message 1dc7936a-ce14-4d6b-a694-4ffa0132f3ab +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' ++ 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-nh0txix5-1-psfc8 project.logging _count message 1dc7936a-ce14-4d6b-a694-4ffa0132f3ab +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' ++ 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-nh0txix5-1-psfc8 project.logging _count message 1dc7936a-ce14-4d6b-a694-4ffa0132f3ab +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' +++ 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 ++ '[' 297 -gt 0 ']' ++ test_count_expected ++ myfield=message +++ query_es_from_es logging-es-data-master-nh0txix5-1-psfc8 project.logging _count message 1dc7936a-ce14-4d6b-a694-4ffa0132f3ab +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' +++ 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-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' ++ 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-nh0txix5-1-psfc8 project.logging _count message 1dc7936a-ce14-4d6b-a694-4ffa0132f3ab +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' ++ 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-nh0txix5-1-psfc8 project.logging _count message 1dc7936a-ce14-4d6b-a694-4ffa0132f3ab +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' +++ 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-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' ++ 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-nh0txix5-1-psfc8 project.logging _count message 1dc7936a-ce14-4d6b-a694-4ffa0132f3ab +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' ++ 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-nh0txix5-1-psfc8 project.logging _count message 1dc7936a-ce14-4d6b-a694-4ffa0132f3ab +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' ++ local nrecs=0 ++ test 0 = 1 ++ sleep 1 ++ let ii=ii-1 ++ '[' 292 -gt 0 ']' ++ test_count_expected ++ myfield=message +++ query_es_from_es logging-es-data-master-nh0txix5-1-psfc8 project.logging _count message 1dc7936a-ce14-4d6b-a694-4ffa0132f3ab +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' --connect-timeout 1 +++ get_count_from_json +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' +++ 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-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' ++ 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-nh0txix5-1-psfc8 project.logging _count message 1dc7936a-ce14-4d6b-a694-4ffa0132f3ab +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' ++ 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-nh0txix5-1-psfc8 project.logging _count message 1dc7936a-ce14-4d6b-a694-4ffa0132f3ab +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' ++ 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 1dc7936a-ce14-4d6b-a694-4ffa0132f3ab ++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 1dc7936a-ce14-4d6b-a694-4ffa0132f3ab ++ espod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q ++ myproject=.operations ++ mymessage=d6429b8e-589c-4567-8720-f84f7fd3b477 ++ 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-kw4v1jbu-1-h8r1q .operations _count systemd.u.SYSLOG_IDENTIFIER d6429b8e-589c-4567-8720-f84f7fd3b477 +++ get_count_from_json +++ curl_es logging-es-ops-data-master-kw4v1jbu-1-h8r1q '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:d6429b8e-589c-4567-8720-f84f7fd3b477' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q +++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:d6429b8e-589c-4567-8720-f84f7fd3b477' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-ops-data-master-kw4v1jbu-1-h8r1q -- 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:d6429b8e-589c-4567-8720-f84f7fd3b477' ++ 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 d6429b8e-589c-4567-8720-f84f7fd3b477 good - wait_for_fluentd_to_catch_up: found 1 record project .operations for d6429b8e-589c-4567-8720-f84f7fd3b477 ++ '[' -n get_logmessage ']' ++ get_logmessage 1dc7936a-ce14-4d6b-a694-4ffa0132f3ab ++ logmessage=1dc7936a-ce14-4d6b-a694-4ffa0132f3ab ++ '[' -n get_logmessage2 ']' ++ get_logmessage2 d6429b8e-589c-4567-8720-f84f7fd3b477 ++ logmessage2=d6429b8e-589c-4567-8720-f84f7fd3b477 +++ date +%s ++ local endtime=1496959596 +++ expr 1496959596 - 1496959580 +++ date -u --rfc-3339=ns END wait_for_fluentd_to_catch_up took 16 seconds at 2017-06-08 22:06:36.581066652+00:00 ++ echo END wait_for_fluentd_to_catch_up took 16 seconds at 2017-06-08 22:06:36.581066652+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-jg9t8 ++ '[' 0 = 0 ']' ++ curl_es_from_kibana logging-kibana-1-jg9t8 logging-es project.logging _search message 1dc7936a-ce14-4d6b-a694-4ffa0132f3ab ++ python test-viaq-data-model.py test1 ++ oc exec logging-kibana-1-jg9t8 -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 bUkbJLQX-5PA5Zxr0POXhpyVK2i4z1CtyPR-eteXA3E' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:1dc7936a-ce14-4d6b-a694-4ffa0132f3ab' ++ : ++ '[' 0 = 0 ']' ++ curl_es_from_kibana logging-kibana-1-jg9t8 logging-es-ops .operations _search message d6429b8e-589c-4567-8720-f84f7fd3b477 ++ python test-viaq-data-model.py test1 ++ oc exec logging-kibana-1-jg9t8 -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 bUkbJLQX-5PA5Zxr0POXhpyVK2i4z1CtyPR-eteXA3E' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:d6429b8e-589c-4567-8720-f84f7fd3b477' ++ : ++ '[' 0 '!=' 0 ']' ++ return 0 ++ add_cdm_env_var_val CDM_USE_UNDEFINED '"true"' +++ mktemp ++ junk=/tmp/tmp.h5YNlA2Pys ++ cat ++ oc get template logging-fluentd-template -o yaml ++ sed '/env:/r /tmp/tmp.h5YNlA2Pys' ++ oc replace -f - template "logging-fluentd-template" replaced ++ rm -f /tmp/tmp.h5YNlA2Pys ++ add_cdm_env_var_val CDM_EXTRA_KEEP_FIELDS method,statusCode,type,@timestamp,req,res +++ mktemp ++ junk=/tmp/tmp.TpulKdng48 ++ cat ++ oc get template logging-fluentd-template -o yaml ++ sed '/env:/r /tmp/tmp.TpulKdng48' ++ oc replace -f - template "logging-fluentd-template" replaced ++ rm -f /tmp/tmp.TpulKdng48 ++ restart_fluentd ++ oc delete daemonset logging-fluentd daemonset "logging-fluentd" deleted ++ wait_for_pod_ACTION stop logging-fluentd-k5jwz ++ local ii=120 ++ local incr=10 ++ '[' stop = start ']' ++ curpod=logging-fluentd-k5jwz ++ '[' -z logging-fluentd-k5jwz -a -n '' ']' ++ '[' 120 -gt 0 ']' ++ '[' stop = stop ']' ++ oc describe pod/logging-fluentd-k5jwz ++ '[' 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-xnr18 ++ '[' 110 -gt 0 ']' ++ '[' start = stop ']' ++ '[' start = start ']' ++ '[' -z logging-fluentd-xnr18 ']' ++ 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-xnr18 ++ write_and_verify_logs test2 ++ expected=1 ++ rc=0 ++ wait_for_fluentd_to_catch_up get_logmessage get_logmessage2 +++ date +%s ++ local starttime=1496959619 +++ date -u --rfc-3339=ns START wait_for_fluentd_to_catch_up at 2017-06-08 22:06:59.957318709+00:00 ++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 22:06:59.957318709+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-nh0txix5-1-psfc8 +++ 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-kw4v1jbu-1-h8r1q ++ '[' -z logging-es-ops-data-master-kw4v1jbu-1-h8r1q ']' +++ uuidgen ++ local uuid_es=5db938ea-e092-4bc3-b7c8-280bb8e69a90 +++ uuidgen ++ local uuid_es_ops=68367465-8f39-48ca-8e4b-2ab73921ef1e ++ local expected=1 ++ local timeout=300 ++ add_test_message 5db938ea-e092-4bc3-b7c8-280bb8e69a90 +++ 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-jg9t8 ++ oc exec logging-kibana-1-jg9t8 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/5db938ea-e092-4bc3-b7c8-280bb8e69a90 ++ echo added es message 5db938ea-e092-4bc3-b7c8-280bb8e69a90 added es message 5db938ea-e092-4bc3-b7c8-280bb8e69a90 ++ logger -i -p local6.info -t 68367465-8f39-48ca-8e4b-2ab73921ef1e 68367465-8f39-48ca-8e4b-2ab73921ef1e added es-ops message 68367465-8f39-48ca-8e4b-2ab73921ef1e ++ echo added es-ops message 68367465-8f39-48ca-8e4b-2ab73921ef1e ++ local rc=0 ++ espod=logging-es-data-master-nh0txix5-1-psfc8 ++ myproject=project.logging ++ mymessage=5db938ea-e092-4bc3-b7c8-280bb8e69a90 ++ 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-nh0txix5-1-psfc8 project.logging _count message 5db938ea-e092-4bc3-b7c8-280bb8e69a90 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' ++ 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-nh0txix5-1-psfc8 project.logging _count message 5db938ea-e092-4bc3-b7c8-280bb8e69a90 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' ++ 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-nh0txix5-1-psfc8 project.logging _count message 5db938ea-e092-4bc3-b7c8-280bb8e69a90 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' ++ 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-nh0txix5-1-psfc8 project.logging _count message 5db938ea-e092-4bc3-b7c8-280bb8e69a90 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' ++ 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-nh0txix5-1-psfc8 project.logging _count message 5db938ea-e092-4bc3-b7c8-280bb8e69a90 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' ++ 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-nh0txix5-1-psfc8 project.logging _count message 5db938ea-e092-4bc3-b7c8-280bb8e69a90 +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' ++ 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-nh0txix5-1-psfc8 project.logging _count message 5db938ea-e092-4bc3-b7c8-280bb8e69a90 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' ++ 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-nh0txix5-1-psfc8 project.logging _count message 5db938ea-e092-4bc3-b7c8-280bb8e69a90 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' ++ 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-nh0txix5-1-psfc8 project.logging _count message 5db938ea-e092-4bc3-b7c8-280bb8e69a90 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' ++ 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-nh0txix5-1-psfc8 project.logging _count message 5db938ea-e092-4bc3-b7c8-280bb8e69a90 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' ++ 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-nh0txix5-1-psfc8 project.logging _count message 5db938ea-e092-4bc3-b7c8-280bb8e69a90 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' ++ 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-nh0txix5-1-psfc8 project.logging _count message 5db938ea-e092-4bc3-b7c8-280bb8e69a90 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' ++ local nrecs=1 ++ test 1 = 1 ++ break ++ '[' 289 -le 0 ']' ++ return 0 good - wait_for_fluentd_to_catch_up: found 1 record project logging for 5db938ea-e092-4bc3-b7c8-280bb8e69a90 ++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 5db938ea-e092-4bc3-b7c8-280bb8e69a90 ++ espod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q ++ myproject=.operations ++ mymessage=68367465-8f39-48ca-8e4b-2ab73921ef1e ++ 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-kw4v1jbu-1-h8r1q .operations _count systemd.u.SYSLOG_IDENTIFIER 68367465-8f39-48ca-8e4b-2ab73921ef1e +++ get_count_from_json +++ curl_es logging-es-ops-data-master-kw4v1jbu-1-h8r1q '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:68367465-8f39-48ca-8e4b-2ab73921ef1e' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q +++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:68367465-8f39-48ca-8e4b-2ab73921ef1e' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-ops-data-master-kw4v1jbu-1-h8r1q -- 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:68367465-8f39-48ca-8e4b-2ab73921ef1e' ++ 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 68367465-8f39-48ca-8e4b-2ab73921ef1e ++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 68367465-8f39-48ca-8e4b-2ab73921ef1e ++ '[' -n get_logmessage ']' ++ get_logmessage 5db938ea-e092-4bc3-b7c8-280bb8e69a90 ++ logmessage=5db938ea-e092-4bc3-b7c8-280bb8e69a90 ++ '[' -n get_logmessage2 ']' ++ get_logmessage2 68367465-8f39-48ca-8e4b-2ab73921ef1e ++ logmessage2=68367465-8f39-48ca-8e4b-2ab73921ef1e +++ date +%s ++ local endtime=1496959637 +++ expr 1496959637 - 1496959619 +++ date -u --rfc-3339=ns END wait_for_fluentd_to_catch_up took 18 seconds at 2017-06-08 22:07:17.119904932+00:00 ++ echo END wait_for_fluentd_to_catch_up took 18 seconds at 2017-06-08 22:07:17.119904932+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-jg9t8 ++ '[' 0 = 0 ']' ++ curl_es_from_kibana logging-kibana-1-jg9t8 logging-es project.logging _search message 5db938ea-e092-4bc3-b7c8-280bb8e69a90 ++ python test-viaq-data-model.py test2 ++ oc exec logging-kibana-1-jg9t8 -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 bUkbJLQX-5PA5Zxr0POXhpyVK2i4z1CtyPR-eteXA3E' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:5db938ea-e092-4bc3-b7c8-280bb8e69a90' ++ : ++ '[' 0 = 0 ']' ++ curl_es_from_kibana logging-kibana-1-jg9t8 logging-es-ops .operations _search message 68367465-8f39-48ca-8e4b-2ab73921ef1e ++ python test-viaq-data-model.py test2 ++ oc exec logging-kibana-1-jg9t8 -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 bUkbJLQX-5PA5Zxr0POXhpyVK2i4z1CtyPR-eteXA3E' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:68367465-8f39-48ca-8e4b-2ab73921ef1e' ++ : ++ '[' 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.kp8V5S1DGO ++ cat ++ oc get template logging-fluentd-template -o yaml ++ sed '/env:/r /tmp/tmp.kp8V5S1DGO' ++ oc replace -f - template "logging-fluentd-template" replaced ++ rm -f /tmp/tmp.kp8V5S1DGO ++ restart_fluentd ++ oc delete daemonset logging-fluentd daemonset "logging-fluentd" deleted ++ wait_for_pod_ACTION stop logging-fluentd-xnr18 ++ local ii=120 ++ local incr=10 ++ '[' stop = start ']' ++ curpod=logging-fluentd-xnr18 ++ '[' -z logging-fluentd-xnr18 -a -n '' ']' ++ '[' 120 -gt 0 ']' ++ '[' stop = stop ']' ++ oc describe pod/logging-fluentd-xnr18 ++ '[' 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-v86b9 ++ '[' 110 -gt 0 ']' ++ '[' start = stop ']' ++ '[' start = start ']' ++ '[' -z logging-fluentd-v86b9 ']' ++ 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-v86b9 ++ write_and_verify_logs test3 ++ expected=1 ++ rc=0 ++ wait_for_fluentd_to_catch_up get_logmessage get_logmessage2 +++ date +%s ++ local starttime=1496959654 +++ date -u --rfc-3339=ns START wait_for_fluentd_to_catch_up at 2017-06-08 22:07:34.186541631+00:00 ++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 22:07:34.186541631+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-nh0txix5-1-psfc8 +++ 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-kw4v1jbu-1-h8r1q ++ '[' -z logging-es-ops-data-master-kw4v1jbu-1-h8r1q ']' +++ uuidgen ++ local uuid_es=60cf9a0c-f2d5-455b-823d-74a8878d64a1 +++ uuidgen ++ local uuid_es_ops=bc4aa684-9f7d-4054-bcff-ea6fa8b291f2 ++ local expected=1 ++ local timeout=300 ++ add_test_message 60cf9a0c-f2d5-455b-823d-74a8878d64a1 +++ 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-jg9t8 ++ oc exec logging-kibana-1-jg9t8 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/60cf9a0c-f2d5-455b-823d-74a8878d64a1 added es message 60cf9a0c-f2d5-455b-823d-74a8878d64a1 ++ echo added es message 60cf9a0c-f2d5-455b-823d-74a8878d64a1 ++ logger -i -p local6.info -t bc4aa684-9f7d-4054-bcff-ea6fa8b291f2 bc4aa684-9f7d-4054-bcff-ea6fa8b291f2 added es-ops message bc4aa684-9f7d-4054-bcff-ea6fa8b291f2 ++ echo added es-ops message bc4aa684-9f7d-4054-bcff-ea6fa8b291f2 ++ local rc=0 ++ espod=logging-es-data-master-nh0txix5-1-psfc8 ++ myproject=project.logging ++ mymessage=60cf9a0c-f2d5-455b-823d-74a8878d64a1 ++ 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-nh0txix5-1-psfc8 project.logging _count message 60cf9a0c-f2d5-455b-823d-74a8878d64a1 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' ++ 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-nh0txix5-1-psfc8 project.logging _count message 60cf9a0c-f2d5-455b-823d-74a8878d64a1 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' ++ 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-nh0txix5-1-psfc8 project.logging _count message 60cf9a0c-f2d5-455b-823d-74a8878d64a1 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' ++ 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-nh0txix5-1-psfc8 project.logging _count message 60cf9a0c-f2d5-455b-823d-74a8878d64a1 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' ++ 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-nh0txix5-1-psfc8 project.logging _count message 60cf9a0c-f2d5-455b-823d-74a8878d64a1 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' ++ 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-nh0txix5-1-psfc8 project.logging _count message 60cf9a0c-f2d5-455b-823d-74a8878d64a1 +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' +++ 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 ++ '[' 294 -gt 0 ']' ++ test_count_expected ++ myfield=message +++ query_es_from_es logging-es-data-master-nh0txix5-1-psfc8 project.logging _count message 60cf9a0c-f2d5-455b-823d-74a8878d64a1 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' ++ 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-nh0txix5-1-psfc8 project.logging _count message 60cf9a0c-f2d5-455b-823d-74a8878d64a1 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' ++ 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-nh0txix5-1-psfc8 project.logging _count message 60cf9a0c-f2d5-455b-823d-74a8878d64a1 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' ++ 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 60cf9a0c-f2d5-455b-823d-74a8878d64a1 good - wait_for_fluentd_to_catch_up: found 1 record project logging for 60cf9a0c-f2d5-455b-823d-74a8878d64a1 ++ espod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q ++ myproject=.operations ++ mymessage=bc4aa684-9f7d-4054-bcff-ea6fa8b291f2 ++ expected=1 ++ myfield=systemd.u.SYSLOG_IDENTIFIER ++ wait_until_cmd_or_err test_count_expected test_count_err 300 ++ let ii=300 ++ local interval=1 ++ '[' 300 -gt 0 ']' ++ test_count_expected ++ myfield=systemd.u.SYSLOG_IDENTIFIER +++ get_count_from_json +++ query_es_from_es logging-es-ops-data-master-kw4v1jbu-1-h8r1q .operations _count systemd.u.SYSLOG_IDENTIFIER bc4aa684-9f7d-4054-bcff-ea6fa8b291f2 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-ops-data-master-kw4v1jbu-1-h8r1q '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:bc4aa684-9f7d-4054-bcff-ea6fa8b291f2' --connect-timeout 1 +++ local pod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q +++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:bc4aa684-9f7d-4054-bcff-ea6fa8b291f2' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-ops-data-master-kw4v1jbu-1-h8r1q -- 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:bc4aa684-9f7d-4054-bcff-ea6fa8b291f2' ++ 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 bc4aa684-9f7d-4054-bcff-ea6fa8b291f2 ++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for bc4aa684-9f7d-4054-bcff-ea6fa8b291f2 ++ '[' -n get_logmessage ']' ++ get_logmessage 60cf9a0c-f2d5-455b-823d-74a8878d64a1 ++ logmessage=60cf9a0c-f2d5-455b-823d-74a8878d64a1 ++ '[' -n get_logmessage2 ']' ++ get_logmessage2 bc4aa684-9f7d-4054-bcff-ea6fa8b291f2 ++ logmessage2=bc4aa684-9f7d-4054-bcff-ea6fa8b291f2 +++ date +%s ++ local endtime=1496959667 +++ expr 1496959667 - 1496959654 +++ date -u --rfc-3339=ns END wait_for_fluentd_to_catch_up took 13 seconds at 2017-06-08 22:07:47.244561351+00:00 ++ echo END wait_for_fluentd_to_catch_up took 13 seconds at 2017-06-08 22:07:47.244561351+00:00 ++ return 0 +++ get_running_pod kibana +++ awk -v sel=kibana '$1 ~ sel && $3 == "Running" {print $1}' +++ oc get pods -l component=kibana ++ kpod=logging-kibana-1-jg9t8 ++ '[' 0 = 0 ']' ++ curl_es_from_kibana logging-kibana-1-jg9t8 logging-es project.logging _search message 60cf9a0c-f2d5-455b-823d-74a8878d64a1 ++ python test-viaq-data-model.py test3 ++ oc exec logging-kibana-1-jg9t8 -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 bUkbJLQX-5PA5Zxr0POXhpyVK2i4z1CtyPR-eteXA3E' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:60cf9a0c-f2d5-455b-823d-74a8878d64a1' ++ : ++ '[' 0 = 0 ']' ++ curl_es_from_kibana logging-kibana-1-jg9t8 logging-es-ops .operations _search message bc4aa684-9f7d-4054-bcff-ea6fa8b291f2 ++ python test-viaq-data-model.py test3 ++ oc exec logging-kibana-1-jg9t8 -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 bUkbJLQX-5PA5Zxr0POXhpyVK2i4z1CtyPR-eteXA3E' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:bc4aa684-9f7d-4054-bcff-ea6fa8b291f2' ++ : ++ '[' 0 '!=' 0 ']' ++ return 0 ++ add_cdm_env_var_val CDM_UNDEFINED_NAME myname +++ mktemp ++ junk=/tmp/tmp.dQZ2PdIwRR ++ cat ++ oc get template logging-fluentd-template -o yaml ++ sed '/env:/r /tmp/tmp.dQZ2PdIwRR' ++ oc replace -f - template "logging-fluentd-template" replaced ++ rm -f /tmp/tmp.dQZ2PdIwRR ++ restart_fluentd ++ oc delete daemonset logging-fluentd daemonset "logging-fluentd" deleted ++ wait_for_pod_ACTION stop logging-fluentd-v86b9 ++ local ii=120 ++ local incr=10 ++ '[' stop = start ']' ++ curpod=logging-fluentd-v86b9 ++ '[' -z logging-fluentd-v86b9 -a -n '' ']' ++ '[' 120 -gt 0 ']' ++ '[' stop = stop ']' ++ oc describe pod/logging-fluentd-v86b9 ++ '[' stop = start ']' ++ break ++ '[' 120 -le 0 ']' ++ return 0 ++ oc process logging-fluentd-template ++ oc create -f - daemonset "logging-fluentd" created ++ wait_for_pod_ACTION start fluentd ++ local ii=120 ++ local incr=10 ++ '[' start = start ']' +++ get_running_pod fluentd +++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}' +++ oc get pods -l component=fluentd ++ curpod= ++ '[' 120 -gt 0 ']' ++ '[' start = stop ']' ++ '[' start = start ']' ++ '[' -z '' ']' ++ '[' -n '' ']' ++ '[' -n 1 ']' ++ echo pod for component=fluentd not running yet pod for component=fluentd not running yet ++ sleep 10 +++ expr 120 - 10 ++ ii=110 ++ '[' start = start ']' +++ get_running_pod fluentd +++ oc get pods -l component=fluentd +++ awk -v sel=fluentd '$1 ~ sel && $3 == "Running" {print $1}' ++ curpod=logging-fluentd-m9zlg ++ '[' 110 -gt 0 ']' ++ '[' start = stop ']' ++ '[' start = start ']' ++ '[' -z logging-fluentd-m9zlg ']' ++ 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-m9zlg ++ write_and_verify_logs test4 ++ expected=1 ++ rc=0 ++ wait_for_fluentd_to_catch_up get_logmessage get_logmessage2 +++ date +%s ++ local starttime=1496959690 +++ date -u --rfc-3339=ns START wait_for_fluentd_to_catch_up at 2017-06-08 22:08:10.098572502+00:00 ++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 22:08:10.098572502+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-nh0txix5-1-psfc8 +++ 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-kw4v1jbu-1-h8r1q ++ '[' -z logging-es-ops-data-master-kw4v1jbu-1-h8r1q ']' +++ uuidgen ++ local uuid_es=3bee3368-9972-49ab-8e9d-a4b428e44e70 +++ uuidgen ++ local uuid_es_ops=02851942-1d45-4547-907b-08a7b152ad92 ++ local expected=1 ++ local timeout=300 ++ add_test_message 3bee3368-9972-49ab-8e9d-a4b428e44e70 +++ 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-jg9t8 ++ oc exec logging-kibana-1-jg9t8 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/3bee3368-9972-49ab-8e9d-a4b428e44e70 ++ echo added es message 3bee3368-9972-49ab-8e9d-a4b428e44e70 added es message 3bee3368-9972-49ab-8e9d-a4b428e44e70 ++ logger -i -p local6.info -t 02851942-1d45-4547-907b-08a7b152ad92 02851942-1d45-4547-907b-08a7b152ad92 added es-ops message 02851942-1d45-4547-907b-08a7b152ad92 ++ echo added es-ops message 02851942-1d45-4547-907b-08a7b152ad92 ++ local rc=0 ++ espod=logging-es-data-master-nh0txix5-1-psfc8 ++ myproject=project.logging ++ mymessage=3bee3368-9972-49ab-8e9d-a4b428e44e70 ++ 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-nh0txix5-1-psfc8 project.logging _count message 3bee3368-9972-49ab-8e9d-a4b428e44e70 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' ++ 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-nh0txix5-1-psfc8 project.logging _count message 3bee3368-9972-49ab-8e9d-a4b428e44e70 +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' ++ 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-nh0txix5-1-psfc8 project.logging _count message 3bee3368-9972-49ab-8e9d-a4b428e44e70 +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' ++ 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-nh0txix5-1-psfc8 project.logging _count message 3bee3368-9972-49ab-8e9d-a4b428e44e70 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' ++ 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-nh0txix5-1-psfc8 project.logging _count message 3bee3368-9972-49ab-8e9d-a4b428e44e70 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' ++ 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-nh0txix5-1-psfc8 project.logging _count message 3bee3368-9972-49ab-8e9d-a4b428e44e70 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' ++ 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-nh0txix5-1-psfc8 project.logging _count message 3bee3368-9972-49ab-8e9d-a4b428e44e70 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' +++ shift +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' ++ 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-nh0txix5-1-psfc8 project.logging _count message 3bee3368-9972-49ab-8e9d-a4b428e44e70 +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' ++ 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 3bee3368-9972-49ab-8e9d-a4b428e44e70 ++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 3bee3368-9972-49ab-8e9d-a4b428e44e70 ++ espod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q ++ myproject=.operations ++ mymessage=02851942-1d45-4547-907b-08a7b152ad92 ++ 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-kw4v1jbu-1-h8r1q .operations _count systemd.u.SYSLOG_IDENTIFIER 02851942-1d45-4547-907b-08a7b152ad92 +++ get_count_from_json +++ curl_es logging-es-ops-data-master-kw4v1jbu-1-h8r1q '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:02851942-1d45-4547-907b-08a7b152ad92' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q +++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:02851942-1d45-4547-907b-08a7b152ad92' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-ops-data-master-kw4v1jbu-1-h8r1q -- 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:02851942-1d45-4547-907b-08a7b152ad92' ++ 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-kw4v1jbu-1-h8r1q .operations _count systemd.u.SYSLOG_IDENTIFIER 02851942-1d45-4547-907b-08a7b152ad92 +++ get_count_from_json +++ curl_es logging-es-ops-data-master-kw4v1jbu-1-h8r1q '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:02851942-1d45-4547-907b-08a7b152ad92' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q +++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:02851942-1d45-4547-907b-08a7b152ad92' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-ops-data-master-kw4v1jbu-1-h8r1q -- 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:02851942-1d45-4547-907b-08a7b152ad92' ++ 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-kw4v1jbu-1-h8r1q .operations _count systemd.u.SYSLOG_IDENTIFIER 02851942-1d45-4547-907b-08a7b152ad92 +++ 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-kw4v1jbu-1-h8r1q '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:02851942-1d45-4547-907b-08a7b152ad92' --connect-timeout 1 +++ local pod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q +++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:02851942-1d45-4547-907b-08a7b152ad92' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-ops-data-master-kw4v1jbu-1-h8r1q -- 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:02851942-1d45-4547-907b-08a7b152ad92' ++ 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-kw4v1jbu-1-h8r1q .operations _count systemd.u.SYSLOG_IDENTIFIER 02851942-1d45-4547-907b-08a7b152ad92 +++ get_count_from_json +++ curl_es logging-es-ops-data-master-kw4v1jbu-1-h8r1q '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:02851942-1d45-4547-907b-08a7b152ad92' --connect-timeout 1 +++ local pod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:02851942-1d45-4547-907b-08a7b152ad92' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-ops-data-master-kw4v1jbu-1-h8r1q -- 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:02851942-1d45-4547-907b-08a7b152ad92' ++ local nrecs=1 ++ test 1 = 1 ++ break ++ '[' 297 -le 0 ']' ++ return 0 good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 02851942-1d45-4547-907b-08a7b152ad92 ++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 02851942-1d45-4547-907b-08a7b152ad92 ++ '[' -n get_logmessage ']' ++ get_logmessage 3bee3368-9972-49ab-8e9d-a4b428e44e70 ++ logmessage=3bee3368-9972-49ab-8e9d-a4b428e44e70 ++ '[' -n get_logmessage2 ']' ++ get_logmessage2 02851942-1d45-4547-907b-08a7b152ad92 ++ logmessage2=02851942-1d45-4547-907b-08a7b152ad92 +++ date +%s ++ local endtime=1496959705 +++ expr 1496959705 - 1496959690 +++ date -u --rfc-3339=ns ++ echo END wait_for_fluentd_to_catch_up took 15 seconds at 2017-06-08 22:08:25.905279127+00:00 END wait_for_fluentd_to_catch_up took 15 seconds at 2017-06-08 22:08:25.905279127+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-jg9t8 ++ '[' 0 = 0 ']' ++ curl_es_from_kibana logging-kibana-1-jg9t8 logging-es project.logging _search message 3bee3368-9972-49ab-8e9d-a4b428e44e70 ++ python test-viaq-data-model.py test4 ++ oc exec logging-kibana-1-jg9t8 -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 bUkbJLQX-5PA5Zxr0POXhpyVK2i4z1CtyPR-eteXA3E' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:3bee3368-9972-49ab-8e9d-a4b428e44e70' ++ : ++ '[' 0 = 0 ']' ++ curl_es_from_kibana logging-kibana-1-jg9t8 logging-es-ops .operations _search message 02851942-1d45-4547-907b-08a7b152ad92 ++ python test-viaq-data-model.py test4 ++ oc exec logging-kibana-1-jg9t8 -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 bUkbJLQX-5PA5Zxr0POXhpyVK2i4z1CtyPR-eteXA3E' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:02851942-1d45-4547-907b-08a7b152ad92' ++ : ++ '[' 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.SPm2QLuW4s ++ cat ++ oc get template logging-fluentd-template -o yaml ++ sed '/env:/r /tmp/tmp.SPm2QLuW4s' ++ oc replace -f - template "logging-fluentd-template" replaced ++ rm -f /tmp/tmp.SPm2QLuW4s ++ add_cdm_env_var_val CDM_KEEP_EMPTY_FIELDS undefined4,undefined5,empty1,undefined3 +++ mktemp ++ junk=/tmp/tmp.43LALPXVY3 ++ cat ++ oc get template logging-fluentd-template -o yaml ++ oc replace -f - ++ sed '/env:/r /tmp/tmp.43LALPXVY3' template "logging-fluentd-template" replaced ++ rm -f /tmp/tmp.43LALPXVY3 ++ restart_fluentd ++ oc delete daemonset logging-fluentd daemonset "logging-fluentd" deleted ++ wait_for_pod_ACTION stop logging-fluentd-m9zlg ++ local ii=120 ++ local incr=10 ++ '[' stop = start ']' ++ curpod=logging-fluentd-m9zlg ++ '[' -z logging-fluentd-m9zlg -a -n '' ']' ++ '[' 120 -gt 0 ']' ++ '[' stop = stop ']' ++ oc describe pod/logging-fluentd-m9zlg ++ '[' 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-70n8c ++ '[' 110 -gt 0 ']' ++ '[' start = stop ']' ++ '[' start = start ']' ++ '[' -z logging-fluentd-70n8c ']' ++ 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-70n8c ++ 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=1496959729 +++ date -u --rfc-3339=ns START wait_for_fluentd_to_catch_up at 2017-06-08 22:08:49.723871851+00:00 ++ echo START wait_for_fluentd_to_catch_up at 2017-06-08 22:08:49.723871851+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-nh0txix5-1-psfc8 +++ 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-kw4v1jbu-1-h8r1q ++ '[' -z logging-es-ops-data-master-kw4v1jbu-1-h8r1q ']' +++ uuidgen ++ local uuid_es=9cb1e56d-6610-44f1-b3c2-d16651b4b12f +++ uuidgen ++ local uuid_es_ops=593d06ec-4aab-4b35-b2c8-d1711895e526 ++ local expected=1 ++ local timeout=300 ++ add_test_message 9cb1e56d-6610-44f1-b3c2-d16651b4b12f +++ 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-jg9t8 ++ oc exec logging-kibana-1-jg9t8 -c kibana -- curl --connect-timeout 1 -s http://localhost:5601/9cb1e56d-6610-44f1-b3c2-d16651b4b12f ++ echo added es message 9cb1e56d-6610-44f1-b3c2-d16651b4b12f added es message 9cb1e56d-6610-44f1-b3c2-d16651b4b12f ++ logger -i -p local6.info -t 593d06ec-4aab-4b35-b2c8-d1711895e526 593d06ec-4aab-4b35-b2c8-d1711895e526 added es-ops message 593d06ec-4aab-4b35-b2c8-d1711895e526 ++ echo added es-ops message 593d06ec-4aab-4b35-b2c8-d1711895e526 ++ local rc=0 ++ espod=logging-es-data-master-nh0txix5-1-psfc8 ++ myproject=project.logging ++ mymessage=9cb1e56d-6610-44f1-b3c2-d16651b4b12f ++ 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-nh0txix5-1-psfc8 project.logging _count message 9cb1e56d-6610-44f1-b3c2-d16651b4b12f +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' ++ 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-nh0txix5-1-psfc8 project.logging _count message 9cb1e56d-6610-44f1-b3c2-d16651b4b12f +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' ++ local nrecs=0 ++ test 0 = 1 ++ sleep 1 ++ let ii=ii-1 ++ '[' 298 -gt 0 ']' ++ test_count_expected ++ myfield=message +++ query_es_from_es logging-es-data-master-nh0txix5-1-psfc8 project.logging _count message 9cb1e56d-6610-44f1-b3c2-d16651b4b12f +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' ++ 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-nh0txix5-1-psfc8 project.logging _count message 9cb1e56d-6610-44f1-b3c2-d16651b4b12f +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' ++ 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-nh0txix5-1-psfc8 project.logging _count message 9cb1e56d-6610-44f1-b3c2-d16651b4b12f +++ get_count_from_json +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' ++ 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-nh0txix5-1-psfc8 project.logging _count message 9cb1e56d-6610-44f1-b3c2-d16651b4b12f +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' ++ 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-nh0txix5-1-psfc8 project.logging _count message 9cb1e56d-6610-44f1-b3c2-d16651b4b12f +++ get_count_from_json +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' --connect-timeout 1 +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' ++ 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-nh0txix5-1-psfc8 project.logging _count message 9cb1e56d-6610-44f1-b3c2-d16651b4b12f +++ curl_es logging-es-data-master-nh0txix5-1-psfc8 '/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' --connect-timeout 1 +++ local pod=logging-es-data-master-nh0txix5-1-psfc8 +++ local 'endpoint=/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ get_count_from_json +++ oc exec logging-es-data-master-nh0txix5-1-psfc8 -- curl --silent --insecure --connect-timeout 1 --key /etc/elasticsearch/secret/admin-key --cert /etc/elasticsearch/secret/admin-cert 'https://localhost:9200/project.logging*/_count?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' ++ 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 9cb1e56d-6610-44f1-b3c2-d16651b4b12f ++ echo good - wait_for_fluentd_to_catch_up: found 1 record project logging for 9cb1e56d-6610-44f1-b3c2-d16651b4b12f ++ espod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q ++ myproject=.operations ++ mymessage=593d06ec-4aab-4b35-b2c8-d1711895e526 ++ 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-kw4v1jbu-1-h8r1q .operations _count systemd.u.SYSLOG_IDENTIFIER 593d06ec-4aab-4b35-b2c8-d1711895e526 +++ get_count_from_json +++ curl_es logging-es-ops-data-master-kw4v1jbu-1-h8r1q '/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:593d06ec-4aab-4b35-b2c8-d1711895e526' --connect-timeout 1 +++ local pod=logging-es-ops-data-master-kw4v1jbu-1-h8r1q +++ python -c 'import json, sys; print json.loads(sys.stdin.read()).get("count", 0)' +++ local 'endpoint=/.operations*/_count?q=systemd.u.SYSLOG_IDENTIFIER:593d06ec-4aab-4b35-b2c8-d1711895e526' +++ shift +++ shift +++ args=("${@:-}") +++ local args +++ local secret_dir=/etc/elasticsearch/secret/ +++ oc exec logging-es-ops-data-master-kw4v1jbu-1-h8r1q -- 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:593d06ec-4aab-4b35-b2c8-d1711895e526' ++ 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 593d06ec-4aab-4b35-b2c8-d1711895e526 ++ echo good - wait_for_fluentd_to_catch_up: found 1 record project .operations for 593d06ec-4aab-4b35-b2c8-d1711895e526 ++ '[' -n get_logmessage ']' ++ get_logmessage 9cb1e56d-6610-44f1-b3c2-d16651b4b12f ++ logmessage=9cb1e56d-6610-44f1-b3c2-d16651b4b12f ++ '[' -n get_logmessage2 ']' ++ get_logmessage2 593d06ec-4aab-4b35-b2c8-d1711895e526 ++ logmessage2=593d06ec-4aab-4b35-b2c8-d1711895e526 +++ date +%s ++ local endtime=1496959741 +++ expr 1496959741 - 1496959729 +++ date -u --rfc-3339=ns END wait_for_fluentd_to_catch_up took 12 seconds at 2017-06-08 22:09:01.456910743+00:00 ++ echo END wait_for_fluentd_to_catch_up took 12 seconds at 2017-06-08 22:09:01.456910743+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-jg9t8 ++ '[' 0 = 0 ']' ++ curl_es_from_kibana logging-kibana-1-jg9t8 logging-es project.logging _search message 9cb1e56d-6610-44f1-b3c2-d16651b4b12f ++ python test-viaq-data-model.py test5 allow_empty ++ oc exec logging-kibana-1-jg9t8 -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 bUkbJLQX-5PA5Zxr0POXhpyVK2i4z1CtyPR-eteXA3E' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es:9200/project.logging*/_search?q=message:9cb1e56d-6610-44f1-b3c2-d16651b4b12f' ++ : ++ '[' 0 = 0 ']' ++ curl_es_from_kibana logging-kibana-1-jg9t8 logging-es-ops .operations _search message 593d06ec-4aab-4b35-b2c8-d1711895e526 ++ oc exec logging-kibana-1-jg9t8 -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 bUkbJLQX-5PA5Zxr0POXhpyVK2i4z1CtyPR-eteXA3E' -H 'X-Forwarded-For: 127.0.0.1' 'https://logging-es-ops:9200/.operations*/_search?q=message:593d06ec-4aab-4b35-b2c8-d1711895e526' ++ python test-viaq-data-model.py test5 allow_empty ++ : ++ '[' 0 '!=' 0 ']' ++ return 0 ++ cleanup ++ remove_test_volume ++ oc get template logging-fluentd-template -o json ++ oc replace -f - ++ python -c 'import json, sys; obj = json.loads(sys.stdin.read()); vm = obj["objects"][0]["spec"]["template"]["spec"]["containers"][0]["volumeMounts"]; obj["objects"][0]["spec"]["template"]["spec"]["containers"][0]["volumeMounts"] = [xx for xx in vm if xx["name"] != "cdmtest"]; vs = obj["objects"][0]["spec"]["template"]["spec"]["volumes"]; obj["objects"][0]["spec"]["template"]["spec"]["volumes"] = [xx for xx in vs if xx["name"] != "cdmtest"]; print json.dumps(obj, indent=2)' template "logging-fluentd-template" replaced ++ remove_cdm_env ++ oc get template logging-fluentd-template -o yaml ++ sed '/- name: CDM_/,/value:/d' ++ oc replace -f - template "logging-fluentd-template" replaced ++ rm -f /tmp/tmp.poloaJ2AK9 ++ restart_fluentd ++ oc delete daemonset logging-fluentd daemonset "logging-fluentd" deleted ++ wait_for_pod_ACTION stop logging-fluentd-70n8c ++ local ii=120 ++ local incr=10 ++ '[' stop = start ']' ++ curpod=logging-fluentd-70n8c ++ '[' -z logging-fluentd-70n8c -a -n '' ']' ++ '[' 120 -gt 0 ']' ++ '[' stop = stop ']' ++ oc describe pod/logging-fluentd-70n8c ++ '[' 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-0wwf4 ++ '[' 110 -gt 0 ']' ++ '[' start = stop ']' ++ '[' start = start ']' ++ '[' -z logging-fluentd-0wwf4 ']' ++ 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: 4607 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 110 seconds 2017-06-08 18:11:25.490241 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 c1a1185338d2a75d79d4c1224236f278fb48a4d5fa498d44f78e6cbd414d946d. Stop the container before attempting removal or use -f Error response from daemon: You cannot remove a running container f437255b8c8c602272b0890c0fb02f74e81c3fa26236460ec85fdb02e028e125. Stop the container before attempting removal or use -f Error response from daemon: You cannot remove a running container 9602e26a4981150f161a62f203d3c161e83167b39a49de0e913c4509be03a002. Stop the container before attempting removal or use -f Error response from daemon: You cannot remove a running container 26908dd9d66dc62381a593cbf8599b01040d7641080bac7032d1fb07335f1a6f. Stop the container before attempting removal or use -f Error response from daemon: You cannot remove a running container 7bc65b63f052281d95ff7dc89c9bca42a504804e74d60608434bc1de7fe13611. Stop the container before attempting removal or use -f Error response from daemon: You cannot remove a running container 349f74594f14626bdd565c4cd7b4f3026eff6945fec3134a5931c2820f362874. Stop the container before attempting removal or use -f Error response from daemon: You cannot remove a running container 5afae608915e332198bbfcc323e8fc56e80fa4d65e5d8844e7d92c78449b4306. Stop the container before attempting removal or use -f Error response from daemon: You cannot remove a running container f07af443777ed409dd855d1345e5ec1934ea78b678e96b3b979884eed8d0cb5c. Stop the container before attempting removal or use -f Error response from daemon: You cannot remove a running container cd45499f0bc4ef6a7e891e03fed3691fbce55130fc9baf2e7f76dae67c9c9e19. Stop the container before attempting removal or use -f Error response from daemon: You cannot remove a running container a631ed27fa0f6454ea87498c7a77a06a3d044b07be7dec6c267f57d43b4bcb24. Stop the container before attempting removal or use -f Error response from daemon: You cannot remove a running container 5dbb3e957aa0854bc6b5b0255104c8079a70438dfba62311dc2b07b6778f8717. Stop the container before attempting removal or use -f Error response from daemon: You cannot remove a running container 3a3bf6c2d5093b72108f11fd7cfec70e6a5c590b55c4776681e036950dcd0c31. Stop the container before attempting removal or use -f Error response from daemon: You cannot remove a running container 8be8b5b3fc2efa6c179c1b74755dfd331f823820f6c09c2d8a77584523ed375a. Stop the container before attempting removal or use -f Error response from daemon: You cannot remove a running container 19451b08b42b963e4fd9bc1dff929e742e27df9a94c7c86284712bac77d4ab70. Stop the container before attempting removal or use -f Error response from daemon: You cannot remove a running container d594a193c5ade671f9ff74ab06c4855a4f92fafe341fc5152a6568f7ee2f8b47. Stop the container before attempting removal or use -f Error response from daemon: You cannot remove a running container 056ac3bb38917b786bc43ed5abd4397aa033596b4ae7777272c7f65be17b7a2d. Stop the container before attempting removal or use -f [INFO] [CLEANUP] Killing child processes [INFO] [CLEANUP] Pruning etcd data directory [INFO] /data/src/github.com/openshift/origin-aggregated-logging/logging.sh exited with code 0 after 00h 57m 03s 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 *************************************************** real 57m2.570s user 5m30.852s sys 1m5.691s ==> openshiftdev: Downloading logs ==> openshiftdev: Downloading artifacts from '/var/log/yum.log' to '/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace@2/origin/artifacts/yum.log' ==> openshiftdev: Downloading artifacts from '/var/log/secure' to '/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace@2/origin/artifacts/secure' ==> openshiftdev: Downloading artifacts from '/var/log/audit/audit.log' to '/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace@2/origin/artifacts/audit.log' ==> openshiftdev: Downloading artifacts from '/tmp/origin-aggregated-logging/' to '/var/lib/jenkins/jobs/test-origin-aggregated-logging/workspace@2/origin/artifacts' + false + false + test_pull_requests --mark_test_success --repo origin-aggregated-logging --config /var/lib/jenkins/.test_pull_requests_logging.json Rate limit remaining: 3377 Marking SUCCESS for pull request #--repo in repo '' /usr/share/ruby/net/http/response.rb:119:in `error!': 404 "Not Found" (Net::HTTPServerException) from /bin/test_pull_requests:543:in `block in get_comments' from /bin/test_pull_requests:535:in `each' from /bin/test_pull_requests:535:in `get_comments' from /bin/test_pull_requests:1074:in `get_comment_matching_regex' from /bin/test_pull_requests:1090:in `get_comment_with_prefix' from /bin/test_pull_requests:779:in `mark_test_success' from /bin/test_pull_requests:2361:in `<main>' + true [description-setter] Could not determine description. [PostBuildScript] - Execution post build scripts. [workspace@2] $ /bin/sh -xe /tmp/hudson3870563122715187706.sh + INSTANCE_NAME=origin_logging-rhel7-1639 + pushd origin ~/jobs/test-origin-aggregated-logging/workspace@2/origin ~/jobs/test-origin-aggregated-logging/workspace@2 + rc=0 + '[' -f .vagrant-openshift.json ']' ++ /usr/bin/vagrant ssh -c 'sudo ausearch -m avc' + ausearchresult='<no matches>' + rc=1 + '[' '<no matches>' = '<no matches>' ']' + rc=0 + /usr/bin/vagrant destroy -f ==> openshiftdev: Terminating the instance... ==> openshiftdev: Running cleanup tasks for 'shell' provisioner... + popd ~/jobs/test-origin-aggregated-logging/workspace@2 + exit 0 Finished: SUCCESS