-
Bug
-
Resolution: Done
-
Normal
-
AMQ 7.11.0.OPR.1.GA
Operator doesn't respect the existing PodDisruptionBudget object because it's not on the list of deployed resources and tries to create new one every time it goes through reconciliation process. it results in following error log:
2023-03-23T06:25:14.272Z INFO controller_v1beta1activemqartemis Creating {"ActiveMQArtemis Name": "broker-app", "kind ": "v1.PodDisruptionBudget", "named ": "broker-app-pdb"}
2023-03-23T06:25:14.272Z INFO package k8s_actions Creating new *v1.PodDisruptionBudget {"ActiveMQArtemis Name": "broker-app-pdb", "Namespace": "broker-version-test"}
2023-03-23T06:25:14.280Z ERROR package k8s_actions Failed to create new *v1.PodDisruptionBudget {"ActiveMQArtemis Name": "broker-app-pdb", "Namespace": "broker-version-test", "error": "poddisruptionbudgets.policy \"broker-app-pdb\" already exists"}
github.com/artemiscloud/activemq-artemis-operator/controllers.(*ActiveMQArtemisReconcilerImpl).createRequestedResource
/workspace/app/controllers/activemqartemis_reconciler.go:1163
github.com/artemiscloud/activemq-artemis-operator/controllers.(*ActiveMQArtemisReconcilerImpl).createResource
/workspace/app/controllers/activemqartemis_reconciler.go:1146
github.com/artemiscloud/activemq-artemis-operator/controllers.(*ActiveMQArtemisReconcilerImpl).ProcessResources
/workspace/app/controllers/activemqartemis_reconciler.go:1126
github.com/artemiscloud/activemq-artemis-operator/controllers.(*ActiveMQArtemisReconcilerImpl).Process
/workspace/app/controllers/activemqartemis_reconciler.go:158
github.com/artemiscloud/activemq-artemis-operator/controllers.(*ActiveMQArtemisReconciler).Reconcile
/workspace/app/controllers/activemqartemis_controller.go:163
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/workspace/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/workspace/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/workspace/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/workspace/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227
- mentioned in
-
Page Loading...