Azure MySQL SSL Connection Configuration (Metadata Store Server)
- Dominant language
- C++
- Stars
- 685
- Forks
- 185
- PR merge metrics
- No merged PRs in 30d
Description
Have tried to modify the metadata-grpc service which is packaged in https://github.com/kubeflow/pipelines to pass the following config in text protobuf format to `/bin/metadata_store_server`:
```
connection_config {
mysql {
host: "..."
port: int
database: "..."
user: "..."
password: "..."
ssl_options {
verify_server_cert: true
capath: "/etc/ssl/certs/my-cert.pem"
}
}
}
```
Observing the following exception without much details:
```
2021-10-11 18:04:01.536992: F
ml_metadata/metadata_store/metadata_store_server_main.cc:226]
Non-OK-status: status status: Internal: mysql_real_connect failed:
errno: 0, error: MetadataStore cannot be created with the given connection config.
```
To my knowledge, there is no way to enable additional verbosity on `metadata_store_server`.
As part of Kubeflow Pipelines 1.7.0-alpha.1, `metadata-grpc-service` is deployed using `gcr.io/tfx-oss-public/ml_metadata_store_server:1.0.0` image.
We are using Azure Database for MySQL server, MySQL Version 5.7 with SSL Connections enforced.
Contributor guide
Assessment
This issue has not been assessed yet.