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

ExternallyManaged General Verifying connectivity with different IP protocols fails to locate nmstate-cert-manager #207

Open
gkopels opened this issue Sep 18, 2024 · 1 comment
Assignees

Comments

@gkopels
Copy link
Collaborator

gkopels commented Sep 18, 2024

ExternallyManaged General Verifying connectivity with different IP protocols [externallymanaged, generalexcreated, 63527, test_id:63527, polarion-parameter-IPStack:IPv4

The latest knmstate is using openshift cert service, so no cert manager pod is not deployed.
Need to check if test case needs to be modified.

openshift-nmstate nmstate-console-plugin-8ddd7bf7-jhml9 1/1 Running 0 5m48s
openshift-nmstate nmstate-handler-7cvd4 1/1 Running 0 5m48s
openshift-nmstate nmstate-handler-b8tv9 1/1 Running 0 5m48s
openshift-nmstate nmstate-handler-ldhcj 1/1 Running 0 5m48s
openshift-nmstate nmstate-handler-m54rk 1/1 Running 0 5m48s
openshift-nmstate nmstate-handler-sxj8z 1/1 Running 0 5m48s
openshift-nmstate nmstate-handler-ztztm 1/1 Running 0 5m48s
openshift-nmstate nmstate-operator-575c8975d-flzxx 1/1 Running 0 47h
openshift-nmstate nmstate-webhook-b8648f9c9-4drhd 1/1 Running 0 5m48s
openshift-nmstate nmstate-webhook-b8648f9c9-c6n7w 1/1 Running 0 5m48s
Webhook
{"level":"info","ts":"2024-09-17T18:38:11.307Z","logger":"controller-runtime.certwatcher","msg":"Updated current TLS certificate"}
{"level":"info","ts":"2024-09-17T18:38:11.307Z","logger":"controller-runtime.webhook","msg":"Serving webhook server","host":"","port":9443}
{"level":"info","ts":"2024-09-17T18:38:11.307Z","logger":"controller-runtime.certwatcher","msg":"Starting certificate watcher"}
Controller
kubernetes-nmstate-operator.4.16.0-202409111235
{"level":"error","ts":"2024-09-17T19:16:46.248Z","msg":"Reconciler error","controller":"nmstate","controllerGroup":"nmstate.io","controllerKind":"NMState","NMState":{"name":"nmstate"},"namespace":"","name":"nmstate","reconcileID":"911d8e5c-54e0-4a39-9ee9-2a00abe317e4","error":"failed deleting obsolete cert-manager deployment at openshift: an empty namespace may not be set when a resource name is provided","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/src/github.com/openshift/kubernetes-nmstate/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:329[nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem](http://nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem)\n\t/go/src/github.com/openshift/kubernetes-nmstate/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:274\[nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2](http://nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2)\n\t/go/src/github.com/openshift/kubernetes-nmstate/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:235"}

@gkopels gkopels self-assigned this Sep 18, 2024
@gkopels
Copy link
Collaborator Author

gkopels commented Sep 18, 2024

		nmstateCertDeployment, err = deployment.Pull(
			APIClient, netparam.NMStateCertDeploymentName, NetConfig.NMStateOperatorNamespace)
		if err != nil {
			glog.V(90).Infof("Error to pull deployment %s namespace %s, retry",
				netparam.NMStateCertDeploymentName, NetConfig.NMStateOperatorNamespace)

			return false, nil
		}

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