Piyush Shakya
08/07/2025, 2:41 PM/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version
/docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
20-envsubst-on-templates.sh: Running envsubst on /etc/nginx/templates/default.conf.template to /etc/nginx/conf.d/default.conf
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2025/08/07 14:35:58 [emerg] 1#1: host not found in upstream "airbyte-airbyte-keycloak-svc.airbyte-dev:8180" in /etc/nginx/conf.d/default.conf:10
nginx: [emerg] host not found in upstream "airbyte-airbyte-keycloak-svc.airbyte-dev:8180" in /etc/nginx/conf.d/default.conf:10
even when keycloak is disablexkapa.ai
08/07/2025, 2:41 PMhost not found in upstream "airbyte-airbyte-keycloak-svc.airbyte-dev:8180" in /etc/nginx/conf.d/default.conf:10 indicates that NGINX is trying to proxy requests to a service (Keycloak) that does not exist or is not resolvable in your environment, even though you have Keycloak disabled. Based on the knowledge sources, this issue can occur if your NGINX (Ingress) configuration or your Helm values still reference the Keycloak service, even when it is disabled. In Airbyte's Kubernetes and Docker deployments, the ingress or NGINX configuration often includes a path for /auth that points to the Keycloak service. If Keycloak is disabled, but the configuration is not updated accordingly, NGINX will fail to resolve the upstream and throw this error. What you should check: 1. Ingress/NGINX Configuration: Review your ingress or NGINX config (such as /etc/nginx/conf.d/default.conf or your Helm chart's ingress section) and ensure that any references to the Keycloak service are removed or commented out if Keycloak is disabled. For example, in the provided ingress examples, there is a path for /auth that points to the Keycloak service. If Keycloak is not running, this path should not be present in your configuration: yaml - backend: service: name: airbyte-enterprise-airbyte-keycloak-svc port: number: 8180 path: /auth pathType: Prefix Remove or comment out this block if Keycloak is disabled in your deployment [see example ingress config](https://docs.airbyte.com/platform/next/enterprise-setup/upgrading-from-community#step-3-deploy-self-managed-enterprise). 2. Helm Values: If you are using Helm, make sure your values.yaml does not enable Keycloak or reference it in any way. If you previously deployed with Keycloak enabled, you may need to manually update or override the ingress configuration to remove the /auth path and its backend. 3. Restart NGINX/Ingress Controller: After making changes, ensure you restart or redeploy your NGINX or ingress controller so it picks up the new configuration. Summary: The error is caused by a stale or incorrect NGINX/Ingress configuration that still references the Keycloak service. Remove any references to Keycloak from your configuration if it is disabled, and redeploy/restart your NGINX or ingress controller. If you need a reference for what the ingress should look like without Keycloak, you can use the examples in the Airbyte documentation and simply omit the /auth path and its backend service for Keycloak. If you need more specific guidance, please provide your current ingress or NGINX configuration. --- If you need to see the relevant documentation, refer to the ingress configuration examples here: [Enterprise Setup: Upgrading from Community](https://docs.airbyte.com/platform/next/enterprise-setup/upgrading-from-community#step-3-deploy-self-managed-enterprise) and [Enterprise Implementation Guide](https://docs.airbyte.com/platform/1.6/enterprise-setup/implementation-guide#configuring-ingress).Piyush Shakya
08/07/2025, 2:52 PMMessage: No bean of type [io.micronaut.security.utils.SecurityService] exists.
* [SecurityService] is disabled because it is within the package [io.micronaut.security] which is disabled due to bean requirements:
- Property [micronaut.security.enabled] with value [false] should not equal: false
Path Taken: new SourceDefinitionApiController(SourceDefinitionsHandler sourceDefinitionsHandler,EnterpriseSourceStubsHandler enterpriseSourceStubsHandler,ActorDefinitionAccessValidator accessValidator) --> new SourceDefinitionApiController(SourceDefinitionsHandler sourceDefinitionsHandler,EnterpriseSourceStubsHandler enterpriseSourceStubsHandler,[ActorDefinitionAccessValidator accessValidator]) --> new EnterpriseActorDefinitionAccessValidator(PermissionPersistence permissionPersistence,[SecurityService securityService])
io.micronaut.context.exceptions.BeanInstantiationException: Bean definition [io.airbyte.server.apis.controllers.SourceDefinitionApiController] could not be loaded: Failed to inject value for parameter [securityService] of class: io.airbyte.commons.server.validation.EnterpriseActorDefinitionAccessValidatorkapa.ai
08/07/2025, 2:52 PMkapa.ai
08/07/2025, 2:52 PMMessage: No bean of type [io.micronaut.security.utils.SecurityService] exists. * [SecurityService] is disabled because it is within the package [io.micronaut.security] which is disabled due to bean requirements: - Property [micronaut.security.enabled] with value [false] should not equal: false indicates that the Micronaut Security module is disabled because the property micronaut.security.enabled is set to false. As a result, the SecurityService bean is not available for dependency injection, causing the application to fail when it tries to inject this bean into EnterpriseActorDefinitionAccessValidator. How to resolve: You need to enable Micronaut Security by setting the property micronaut.security.enabled to true in your configuration (for example, in your application.yml or as an environment variable). This will allow the SecurityService bean to be created and injected where needed. Example: yaml micronaut: security: enabled: true or as an environment variable: MICRONAUT_SECURITY_ENABLED=true I'm sorry, but the knowledge sources provided do not contain more specific information about this exact error or additional troubleshooting steps for this property. However, the error message itself is clear about the cause and resolution. If you need further details specific to Airbyte's use of Micronaut Security, please provide more context or refer to the official Airbyte documentation or support channels.Piyush Shakya
08/07/2025, 2:53 PMmicronaut:
security:
enabled: true
environments: ["k8s"]
@kapa.aikapa.ai
08/07/2025, 2:53 PMkapa.ai
08/07/2025, 2:53 PMmicronaut.security.enabled: true or configuring micronaut.environments directly in Airbyte's configuration files. However, the error message you encountered indicates that the Micronaut Security module must be enabled for certain beans (like SecurityService) to be available, and this is controlled by the micronaut.security.enabled property. The use of micronaut.environments: ["k8s"] is also not directly documented in the Airbyte operator or deployment guides, but there is a related mention in a forum post where setting the MICRONAUT_ENVIRONMENTS environment variable to control-plane resolved a similar dependency injection issue during an upgrade. This suggests that setting the correct Micronaut environment can be important for proper bean initialization in Airbyte deployments, especially on Kubernetes or when using enterprise features [Upgrade from 0.39 to 0.40.x in k8s](https://discuss.airbyte.io/t/3100). Summary: - Setting micronaut.security.enabled: true is necessary if your Airbyte deployment or customizations require Micronaut Security beans. - Setting micronaut.environments: ["k8s"] may be appropriate for Kubernetes deployments, but the official documentation does not specify this as a required step. - If you encounter bean instantiation errors related to security, enabling Micronaut Security is a valid troubleshooting step, but always test changes in a non-production environment first. If you need more detailed or official guidance, please consult the [Airbyte configuration documentation](https://docs.airbyte.com/platform/operator-guides/configuring-airbyte) or reach out to Airbyte support. The knowledge sources do not provide further details on these specific Micronaut settings.