airbytehq / airbytehq/airbyte

Init container connector not finding Azure clientSecret

Đang mở
#69,233 9 bình luận 8 reaction 0 người được giao Xem trên GitHub
area/platform autoteam community needs-triage team/compose team/platform-move type/bug
Ngôn ngữ chính
Python
Star
22.1k
Fork
5.3k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

### Helm Chart Version

2.0.19 (airbyte-v2)

### What step the error happened?

None

### Relevant information

airbyte v2 is deployed with these values :

```
secretsManager:
enabled: true
type: AZURE_KEY_VAULT
secretName: airbyte-config-secrets
azureKeyVault:
vaultUrl: MY-KEYVAULT-URL
tenantId: MY-AZURE_TENANT
clientIdSecretKey: "AB_AZURE_KEY_VAULT_CLIENT_ID"
clientSecretSecretKey: "AB_AZURE_KEY_VAULT_CLIENT_SECRET"
```

In the UI, when trying to create a connection with an oracle database, I get the following error log message on the init container ource-oracle-check :

`{"az.sdk.message":"Failed to acquire a new access token.","exception":"clientSecret is null or empty"} `

The UI then displays `Failed to save Oracle DB due to the following error: Failed to run connection tests.`

When I check in my azure keyvault, I do see the secret containing the oracle db password in my keyvault, meaning airbyte is able to connect to my keyvault.

But for some reason, the init container is not able to get the azureKeyVault values.

Any fix or workaround ?

### Relevant log output

```shell
ERROR c.a.c.u.l.ClientLogger(performLogging):531 - Azure Identity => ERROR in getToken() call for scopes [https://vault.azure.net/.default]: clientSecret is null or empty │

ERROR c.a.c.u.l.LoggingEventBuilder(performLogging):383 - {"az.sdk.message":"Failed to acquire a new access token.","exception":"clientSecret is null or empty"}

ERROR c.a.c.u.l.ClientLogger(performLogging):531 - Azure Identity => ERROR in getToken() call for scopes [https://vault.azure.net/.default]: clientSecret is null or empty

ERROR c.a.c.u.l.LoggingEventBuilder(performLogging):383 - {"az.sdk.message":"Failed to acquire a new access token.","exception":"clientSecret is null or empty"}

ERROR c.a.c.u.l.ClientLogger(performLogging):531 - Azure Identity => ERROR in getToken() call for scopes [https://vault.azure.net/.default]: clientSecret is null or empty

ERROR c.a.c.u.l.LoggingEventBuilder(performLogging):383 - {"az.sdk.message":"Failed to acquire a new access token.","exception":"clientSecret is null or empty"}
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.