Created attachment 1137317 [details] logging_deployer_pod_log Problem description: Logging deployer failed when creating logging-kibana-template, the "oc process -v" commands is lack of "-f -" in the following lines of run.sh: https://github.com/openshift/origin-aggregated-logging/blob/master/deployment/run.sh#L232 https://github.com/openshift/origin-aggregated-logging/blob/master/deployment/run.sh#L239 https://github.com/openshift/origin-aggregated-logging/blob/master/deployment/run.sh#L257 https://github.com/openshift/origin-aggregated-logging/blob/master/deployment/run.sh#L264 Version-Release number of selected component (if applicable): logging images built from https://github.com/openshift/origin-aggregated-logging How reproducible: Always Steps to Reproduce: 0.Define local builds according to https://github.com/openshift/origin-aggregated-logging#defining-local-builds 1. Login openshift, create a project oc new-project logging 2. Create supporting service account and deployer secrets oc create -f - <<API apiVersion: v1 kind: ServiceAccount metadata: name: logging-deployer secrets: - name: logging-deployer API oc secrets new logging-deployer nothing=/dev/null oc policy add-role-to-user edit system:serviceaccount:logging:logging-deployer #Note: need 'cluster-admin' role to run below commands oadm policy add-scc-to-user hostmount-anyuid system:serviceaccount:logging:aggregated-logging-fluentd oadm policy add-cluster-role-to-user cluster-reader system:serviceaccount:logging:aggregated-logging-fluentd 3. Run the deployer with nodeSelector specified for ES, Kibana, Curator: wget https://raw.githubusercontent.com/openshift/origin-aggregated-logging/master/deployment/deployer.yaml oc process -f deployer.yaml -v IMAGE_PREFIX=${image_prefix},\ KIBANA_HOSTNAME=${kibana_route},\ PUBLIC_MASTER_URL=https://${master_dns}:8443,\ ES_INSTANCE_RAM=1024M,\ ES_CLUSTER_SIZE=1,\ ES_NODESELECTOR=logging-infra=true,\ ES_OPS_NODESELECTOR=logging-infra=true,\ KIBANA_NODESELECTOR=logging-infra=true,\ KIBANA_OPS_NODESELECTOR=logging-infra=true,\ CURATOR_NODESELECTOR=logging-infra=true,\ CURATOR_OPS_NODESELECTOR=logging-infra=true\ | oc create -f - 4. Check the deployer pod status Actual Result: Deployer pod failed when creating the logging-kibana-template , pod log attached oc get po| grep deployer logging-deployer-kr9ll 0/1 Error 0 37m Expected Result: Deployer pod should succeed
Verified with latest built images from upstream. Issue has been fixed well. Successfully deployed logging system by the deployer. Thanks, Xia