logging-operator icon indicating copy to clipboard operation
logging-operator copied to clipboard

Secret not found error not reported in Output status

Open aslafy-z opened this issue 2 years ago • 4 comments
trafficstars

Describe the bug: If an Output references a wrong or inexistent secret, the error is not reported into the Output's status.

Expected behaviour: Output.status.active is set to false, Flow.status.active is set to false. Output should reference the error message in its status, and Flow should get, if there was a single output configured in it, status.active: false too.

Steps to reproduce the bug:

  • Create an Output that references a non existing secret.
  • Create a Flow that references the previous Output.
  • Check Output/Flow status

Environment details:

  • logging-operator version (e.g. 2.1.1): 3.17.10

/kind bug

aslafy-z avatar Nov 28 '22 15:11 aslafy-z

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

stale[bot] avatar Apr 12 '23 09:04 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

stale[bot] avatar Jun 12 '23 08:06 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

stale[bot] avatar Aug 26 '23 12:08 stale[bot]

Idea: the validation reconciler runs after the configuration is generated so in theory we can already depend on the loggingResources variable which contains all the outputs to also register and associate the error with the given outputs and let the validation reconciler report it in the status.

pepov avatar Jan 09 '24 12:01 pepov