Future improvement possibilities for storage-manager (MCOL-3449)

[MCOL-3954] Add'l checking for invalid bucket names Created: 2020-04-20  Updated: 2023-10-25  Resolved: 2023-10-25

Status: Closed
Project: MariaDB ColumnStore
Component/s: Storage Manager
Affects Version/s: None
Fix Version/s: Icebox

Type: Sub-Task Priority: Major
Reporter: Patrick LeBlanc (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None


 Description   

This is an interesting one. Dave Hill was starting to test the S3 functionality. Everything looked fine, but the connectivity test would fail with a cryptic SSL cert error msg from curl. It came down to his choice of bucket names. It had multiple periods, and this screwed up the SSL certificate verification.

Apparently this is a known problem. It makes sense when you think about the way the URL is constructed (bucket.s3.amazonaws.com). If the bucket has mulitple periods, it can obviously mess up the field breakout somewhere.

Even though AWS may not have a problem with a bucket named bucket1.2.3.4, we'll have to disallow that in the code.
1) Make SM log that this is an invalid bucket name
2) in the cmdline s3 options in postConfig, detect and reject



 Comments   
Comment by Patrick LeBlanc (Inactive) [ 2020-05-08 ]

Looking at the release notes for Andrew's s3 lib, this may have been fixed on that end already.

Generated at Thu Feb 08 02:46:41 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.