-
Bug
-
Resolution: Done
-
Blocker
-
None
-
None
-
None
I as a customer I want to deploy 3scale with external system database but all the other databases should remain internal.
When I set
externalComponents:
system:
database: true
in APIManager, 3scale operator fails to deploy 3scale successfully.
3scale-operator logs:
{"level":"error","ts":1654676834.7092304,"logger":"controller","msg":"Reconciler error","reconcilerGroup":"apps.3scale.net","reconcilerKind":"APIManager","controller":"apimanager","name":"3scale-aws","namespace":"3scale-granular-test","error":"Secret \"backend-redis\" not found","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/remote-source/deps/gomod/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.3/pkg/internal/controller/controller.go:246\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.3/pkg/internal/controller/controller.go:218\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.3/pkg/internal/controller/controller.go:197...
It seems that with this setting external backend and system redises are required as well but they shouldn't be required.
When we set
externalComponents: system: database: true redis: true
it doesn't work either. and it fails with the same error.
When only backend-redis is externalized we're getting
Unable to attach or mount volumes:
unmounted volumes=[redis-config], unattached volumes=[redis-config
kube-api-access-dfkqd system-redis-storage]: timed out waiting for the
condition
and the redis-config configmap is not found
- is related to
-
THREESCALE-6836 Externalize database components separately
- Closed
- links to
-
RHEA-2023:112722 Red Hat 3scale API Management 2.14.0 Release - Container Images
-
RHEA-2023:115392 Red Hat 3scale API Management 2.13.5 Release - Container Images
-
RHEA-2023:119803 Release of 3scale operator 0.11.8 for RHOAM - Containers
- mentioned on