Bug 1276235
Summary: | [AEP]Got deployer pod Error when deploy logging on AEP | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | OKD | Reporter: | wyue | ||||||
Component: | Logging | Assignee: | Luke Meyer <lmeyer> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | chunchen <chunchen> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 3.x | CC: | aos-bugs, wsun, xtian | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2015-11-23 21:17:03 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
wyue
2015-10-29 08:01:00 UTC
Created attachment 1087398 [details]
result of 'oc logs'
Created attachment 1087399 [details]
result of 'oc describe'
From pod log: + oc delete all --selector logging-infra=kibana Unable to find "buildconfigs" that match the selector "logging-infra=kibana": the server could not find the requested resource Unable to find "builds" that match the selector "logging-infra=kibana": the server could not find the requested resource I would consider this an AEP bug as evidently the "all" alias still includes buildconfigs and builds which are removed from the resource mapper. We can, however, work around this in the deployer by being more explicit about what we're deleting. Actually the problem is using the OSE client against AEP. Apparently the client is what translates "all" to its individual components. The workaround stands. It's fixed, checked against latest AEP env, so mark it as verified. Please refer to the below messages: [root@openshift-161 ~]# oc version oc v3.0.2.905 kubernetes v1.2.0-alpha.1-1107-g4c8e6f4 [chunchen@F17-CCY daily]$ oc logs logging-deployer-c18r5 <------------snip------------> + oc create -f - + oc process logging-support-pre-template serviceaccount "aggregated-logging-kibana" created serviceaccount "aggregated-logging-elasticsearch" created serviceaccount "aggregated-logging-fluentd" created service "logging-es" created service "logging-es-cluster" created service "logging-es-ops" created service "logging-es-ops-cluster" created service "logging-kibana" created service "logging-kibana-ops" created + oc delete dc,rc,pod --selector logging-infra=kibana No resources found + oc delete dc,rc,pod --selector logging-infra=fluentd No resources found + oc delete dc,rc,pod --selector logging-infra=elasticsearch No resources found + (( n=0 )) + (( n<1 )) + oc process logging-es-template + oc create -f - deploymentconfig "logging-es-kla3hsdv" created + (( n++ )) + (( n<1 )) + oc process logging-fluentd-template + oc create -f - deploymentconfig "logging-fluentd" created + oc process logging-kibana-template + oc create -f - deploymentconfig "logging-kibana" created Success! + '[' false == true ']' + set +x ================================= |