Bug 1776778

Summary: oc adm diagnostics agregatedlogging failing constantly
Product: OpenShift Container Platform Reporter: Abhinay Purty <apurty>
Component: LoggingAssignee: Jeff Cantrill <jcantril>
Status: CLOSED DUPLICATE QA Contact: Anping Li <anli>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.11.0CC: aos-bugs, rmeggins
Target Milestone: ---   
Target Release: 3.11.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-31 16:08:54 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:

Description Abhinay Purty 2019-11-26 11:22:19 UTC
Description of problem:

The 'oc adm diagnostics agregatedlogging' command fails with the error:

ERROR: [AGL0065 from diagnostic AggregatedLogging@openshift/origin/pkg/oc/cli/admin/diagnostics/diagnostics/cluster/aggregated_logging/diagnostic.go:138]
       Did not find a DeploymentConfig to support component 'curator'

ERROR: [AGL0805 from diagnostic AggregatedLogging@openshift/origin/pkg/oc/cli/admin/diagnostics/diagnostics/cluster/aggregated_logging/diagnostic.go:138]
       There was an error while trying to retrieve the CronJobs in project 'logging': the server could not find the requested resource

This bug was raised in https://bugzilla.redhat.com/show_bug.cgi?id=1676720 and it was supposed to be fixed with errata RHBA-2019:1753. But it stills persists in v3.11.153

Version-Release number of selected component (if applicable):

v3.11.153
How reproducible:
Install logging stack in v3.11.153 OCP cluster.

Steps to Reproduce:
1.
2.
3.

Actual results:

ERROR: [AGL0065 from diagnostic AggregatedLogging@openshift/origin/pkg/oc/cli/admin/diagnostics/diagnostics/cluster/aggregated_logging/diagnostic.go:138]
       Did not find a DeploymentConfig to support component 'curator'

ERROR: [AGL0805 from diagnostic AggregatedLogging@openshift/origin/pkg/oc/cli/admin/diagnostics/diagnostics/cluster/aggregated_logging/diagnostic.go:138]
       There was an error while trying to retrieve the CronJobs in project 'logging': the server could not find the requested resource


Expected results:

The cronjob resource is present in the logging namespace, hence it shouldn't throw any error. 
Additional info:

Comment 2 Abhinay Purty 2019-12-04 05:19:16 UTC
Hello Team, 

Any update on this bug ?

Comment 3 Abhinay Purty 2019-12-19 10:14:33 UTC
Hello Team,

Can we have an update on this ?


Thanks,
Abhinay

Comment 4 Jeff Cantrill 2019-12-19 15:26:33 UTC
(In reply to Abhinay Purty from comment #3)
> Hello Team,
> 
> Can we have an update on this ?
> 
> 
> Thanks,
> Abhinay

This is a non-critical error and will be addressed and prioritized accordingly

Comment 5 Jeff Cantrill 2020-01-31 16:08:54 UTC

*** This bug has been marked as a duplicate of bug 1761930 ***