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

OTEL resources dependency #2

Closed
qemanuel opened this issue May 18, 2022 · 1 comment
Closed

OTEL resources dependency #2

qemanuel opened this issue May 18, 2022 · 1 comment

Comments

@qemanuel
Copy link
Contributor

Some OTEL manifests fail in the first attempt of installing because the namespace doesn't exist yet, there is a need of adding a dependency between those manifest and the namespace creation.

In the second attempt they are installed successfully

Error: API response status: Failure

  on .terraform/modules/eks_main/k8s.tf line 3, in resource "kubernetes_manifest" "otel-cert-operator-serving":
   3: resource "kubernetes_manifest" "otel-cert-operator-serving" {

namespaces "opentelemetry-operator-system" not found


Error: Kubernetes API Error: NotFound namespaces [opentelemetry-operator-system]

  on .terraform/modules/eks_main/k8s.tf line 3, in resource "kubernetes_manifest" "otel-cert-operator-serving":
   3: resource "kubernetes_manifest" "otel-cert-operator-serving" {



Error: API response status: Failure

  on .terraform/modules/eks_main/k8s.tf line 59, in resource "kubernetes_manifest" "otel-issuer-operator-selfsigned":
  59: resource "kubernetes_manifest" "otel-issuer-operator-selfsigned" {

namespaces "opentelemetry-operator-system" not found


Error: Kubernetes API Error: NotFound namespaces [opentelemetry-operator-system]

  on .terraform/modules/eks_main/k8s.tf line 59, in resource "kubernetes_manifest" "otel-issuer-operator-selfsigned":
  59: resource "kubernetes_manifest" "otel-issuer-operator-selfsigned" {



Error: API response status: Failure

  on .terraform/modules/eks_main/k8s.tf line 71, in resource "kubernetes_manifest" "otel-rolebinding-operator-leader-election":
  71: resource "kubernetes_manifest" "otel-rolebinding-operator-leader-election" {

namespaces "opentelemetry-operator-system" not found


Error: Kubernetes API Error: NotFound namespaces [opentelemetry-operator-system]

  on .terraform/modules/eks_main/k8s.tf line 71, in resource "kubernetes_manifest" "otel-rolebinding-operator-leader-election":
  71: resource "kubernetes_manifest" "otel-rolebinding-operator-leader-election" {



Error: API response status: Failure

  on .terraform/modules/eks_main/k8s.tf line 77, in resource "kubernetes_manifest" "otel-role-operator-system":
  77: resource "kubernetes_manifest" "otel-role-operator-system" {

namespaces "opentelemetry-operator-system" not found


Error: Kubernetes API Error: NotFound namespaces [opentelemetry-operator-system]

  on .terraform/modules/eks_main/k8s.tf line 77, in resource "kubernetes_manifest" "otel-role-operator-system":
  77: resource "kubernetes_manifest" "otel-role-operator-system" {



Error: API response status: Failure

  on .terraform/modules/eks_main/k8s.tf line 83, in resource "kubernetes_manifest" "otel-sa-operator-controller-manager":
  83: resource "kubernetes_manifest" "otel-sa-operator-controller-manager" {

namespaces "opentelemetry-operator-system" not found


Error: Kubernetes API Error: NotFound namespaces [opentelemetry-operator-system]

  on .terraform/modules/eks_main/k8s.tf line 83, in resource "kubernetes_manifest" "otel-sa-operator-controller-manager":
  83: resource "kubernetes_manifest" "otel-sa-operator-controller-manager" {



Error: API response status: Failure

  on .terraform/modules/eks_main/k8s.tf line 95, in resource "kubernetes_manifest" "otel-svc-operator-webhook":
  95: resource "kubernetes_manifest" "otel-svc-operator-webhook" {

namespaces "opentelemetry-operator-system" not found


Error: Kubernetes API Error: NotFound namespaces [opentelemetry-operator-system]

  on .terraform/modules/eks_main/k8s.tf line 95, in resource "kubernetes_manifest" "otel-svc-operator-webhook":
  95: resource "kubernetes_manifest" "otel-svc-operator-webhook" {

@qemanuel qemanuel mentioned this issue May 19, 2022
@qemanuel
Copy link
Contributor Author

Fixed on v3.0.1

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