Skip to content
New issue

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

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

Already on GitHub? # to your account

Monitoring Console: Creation of the monitoring console with the appframework scope: cluster results in the operator crashing #1401

Open
gjanders opened this issue Nov 18, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request monitoring console monitoring console related

Comments

@gjanders
Copy link
Contributor

Please select the type of request

Bug

Tell us more

Describe the request

When creating a monitoring console with a particular configuration, the operator pod goes into a crash loop printing an error. On startup the pod crashes and repeats the error in an infinite loop
If I instead use scope: local on the appframework section, the pod works as expected.

Expected behavior

The operator should not crash with this configuration.

Splunk setup on K8S

5 indexer clusters , all multisite with a CM for each.
1 search head cluster
2 standalone pods

Reproduction/Testing steps

I found that the simple change of :

K8s environment

  • Useful information about the K8S environment being used. Eg. version of K8s, kind of K8s cluster etc..

Proposed changes(optional)

  • Proposed change, if any.
  appRepo:
    appSources:
    - location: adminApps/
      name: adminApps
    appsRepoPollIntervalSeconds: 60
    defaults:
      scope: cluster

To:

    defaults:
      scope: local

K8s collector data(optional)

If required I can upload this via a support case.

Additional context(optional)

The issue is easily fixed so not currently an issue, I will include:

  • The log file from the last operator pod startup failure
  • The MC yaml config that fails
  • The MC yaml config that works

operator-pod-logs.txt
mc-success.yaml.txt
mc-failure.yaml.txt

@gjanders gjanders added the monitoring console monitoring console related label Nov 18, 2024
@vivekr-splunk vivekr-splunk added the enhancement New feature or request label Dec 4, 2024
@vivekr-splunk
Copy link
Collaborator

@gjanders thank you for raising this issue. we will look into this issue , if your proposed change works we will incorporate and update it in the future release.

@gjanders
Copy link
Contributor Author

gjanders commented Dec 5, 2024

Thanks

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request monitoring console monitoring console related
Projects
None yet
Development

No branches or pull requests

3 participants