Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Status does not reflect status of generated workloads #780

Open
siegenthalerroger opened this issue Apr 8, 2024 · 0 comments
Open
Labels
bug Something isn't working untriaged Issues that have not yet been triaged

Comments

@siegenthalerroger
Copy link

What is the bug?

The operator did not reliably inform me, that the Opensearch Cluster was unhealthy. Despite the OS statefulset being misconfigured, resulting in it never becoming ready the OpenSearchCluster CR never reflected this state. As I was monitoring the Pods directly for issues I never realised the issue was in fact with the statefulset config (misconfiguration caused by myself).

How can one reproduce the bug?

  1. Create an OS CR with a misconfiguration of the statefulset, e.g. accessMode: ReadWriteOnce instead of accessModes: [ReadWriteOnce].
  2. Deploy the CR
  3. Watch the bootstrap, dashboard and initJob Pods start, log errors and restart endlessly.
  4. Check the Status of the CR, where there is no indication of the fault or it's origin.

What is the expected behavior?

I would expect the status of the OS CR to reflect the error state of the dependent statefulset. I don't expect the operator to sanity check the statefulset configuration, but surfacing the errors of generated resources on the CR would be very beneficial.

What is your host/environment?

Azure Linux, AKS, OS Operator 2.5.1

@siegenthalerroger siegenthalerroger added bug Something isn't working untriaged Issues that have not yet been triaged labels Apr 8, 2024
@siegenthalerroger siegenthalerroger changed the title [BUG] [BUG] Status does not reflect status of generated workloads Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged Issues that have not yet been triaged
Projects
None yet
Development

No branches or pull requests

1 participant