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

Getting error in operator while following docs/deploy-operator.md #35

Open
onprem opened this issue Jan 12, 2021 · 0 comments
Open

Getting error in operator while following docs/deploy-operator.md #35

onprem opened this issue Jan 12, 2021 · 0 comments

Comments

@onprem
Copy link
Member

onprem commented Jan 12, 2021

I was trying to deploy Observatorium in a local cluster. I followed the instructions in docs/deploy-operator.md, everything worked fine until the "Deploy an example CR" step.

After deploying the CR, nothing was showing up in the observatorium namespace, so I checked the operator logs and found this:

level=warn ts=2021-01-12T16:32:00.533807848Z caller=resource.go:167 msg="sync failed" key=observatorium/observatorium-xyz err="failed to render: failed to evaluate: RUNTIME ERROR: Field does not exist: table_manager\n\tvendor/github.com/observatorium/deployments/components/loki.libsonnet:129:22-53\tthunk <replicas> from <function <anonymous>>\n\tvendor/github.com/observatorium/deployments/components/loki.libsonnet:140:26-34\tthunk from <function <anonymous>>\n\tvendor/ksonnet/ksonnet.beta.4/k8s.libsonnet:1010:164-172\tthunk from <function <anonymous>>\n\tvendor/ksonnet/ksonnet.beta.4/k8s.libsonnet:1084:69-77\tobject <anonymous>\n\tDuring manifestation\t\n"

E0112 16:32:00.533843       1 resource.go:169] Sync "observatorium/observatorium-xyz" failed: failed to render: failed to evaluate: RUNTIME ERROR: Field does not exist: table_manager
	vendor/github.com/observatorium/deployments/components/loki.libsonnet:129:22-53	thunk <replicas> from <function <anonymous>>
	vendor/github.com/observatorium/deployments/components/loki.libsonnet:140:26-34	thunk from <function <anonymous>>
	vendor/ksonnet/ksonnet.beta.4/k8s.libsonnet:1010:164-172	thunk from <function <anonymous>>
	vendor/ksonnet/ksonnet.beta.4/k8s.libsonnet:1084:69-77	object <anonymous>
	During manifestation	

Some observations

  • The error RUNTIME ERROR: Field does not exist: table_manager seems to be related to Loki configuration.
  • I tried removing the Loki part from example/manifests/observatorium.yaml. Deploying it worked, this further solidifies the speculation that the Loki part is causing some problems.
  • I also tried running ./tests/e2e.sh kind and then ./tests/e2e.sh deploy-operator and it worked.
haoqing0110 referenced this issue in stolostron/observatorium-operator Apr 7, 2021
Add query and query_range as generic handlers forwarding all verbs
saswatamcode pushed a commit to saswatamcode/observatorium-operator that referenced this issue May 21, 2024
ceil for ignoreDeletionMarksDelay when deleteDelay is odd number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant