[MDEV-27283] MariaDB S3 storgae - MinIO (Couldn't resolve host name) Created: 2021-12-16 Updated: 2023-01-09 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - S3 |
| Affects Version/s: | 10.6.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Szabolcs Hegedus | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | MinIO,, S3, storge | ||
| Environment: |
OS: Debian GNU/Linux 10
|
||
| Description |
|
I have MinIO S3 storage MariaDB S3 config: s3.cnf [mariadbd] plugin-maturity = alpha [aria_s3_copy] When I try to run the aria_s3_copy test I get the following result: Command: Error source: [libmarias3] /home/buildbot/buildbot/build/mariadb-10.6.5/storage/maria/libmarias3/src/request.c:127 URI: *http://databases-on-object-storage.staging.s3.example.com/test/s3_test/aria* [libmarias3] /home/buildbot/buildbot/build/mariadb-10.6.5/storage/maria/libmarias3/src/request.c:605 Header: host:databases-on-object-storage.storage.staging.s3.example.com Same result when I am trying the *ALTER TABLE old_table ENGINE=S3 *command. How can it be used the path style? Example: |
| Comments |
| Comment by Daniel Warner [ 2023-01-09 ] |
|
I'm experiencing the same issue. I'm not using Minio or AWS, but another S3 compatible object store and am unable to use the s3 storage engine because our provider does not provide TLS for virtual-hosted style s3 urls. An option to use path-style in the config would be ideal for us, but since this is all within a private cloud, we would also find it useful to disable TLS checking which may allow us to resolve the issue or at least test a bit more. I'm not much of a developer, but it seems like it would be possible to expose the Curl Library's CURLOPT_SSL_VERIFYPEER option as a configurable. Just thought I'd add to the Jira. Thank you. |