-
Notifications
You must be signed in to change notification settings - Fork 29
fix : updated "add_bucket_name_suffix" var to true #1003
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
/run pipeline |
|
@HarikaPonna, you also need to make a change here-
Please check thoroughly and make the changes accordingly. |
|
/run pipeline |
|
Andrej just fixed this in #1002 |
|
Just realised Andrej's PR didnt update fscloud submodule so re-opening this.. |
|
/run pipeline |
|
(I suspect this might fail an upgrade test btw - lets see first before skipping) |
ocofaigh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh looks like we need to make an update to the test. The test is not taking into consideration the suffix I guess:
pr_test.go:253:
Error Trace: /__w/terraform-ibm-cos/terraform-ibm-cos/tests/pr_test.go:253
Error: Should be true
Test: TestRunFSCloudExample
Messages: CBRs are Not working as expected. Bucket cos-fscloud-6nr-bucket can be accessed at https://cos-fscloud-6nr-bucket.s3.us-south.cloud-object-storage.appdomain.cloud/ with response code: 404 and body: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><Error><Code>NoSuchBucket</Code><Message>The specified bucket does not exist.</Message><Resource>/cos-fscloud-6nr-bucket/</Resource><RequestId>2c8b4eb8-595d-4555-9519-037b5efdc70d</RequestId><httpStatusCode>404</httpStatusCode></Error>
CBRs are working as expected, blocked at https://cos-fscloud-6nr-bucket.s3.private.us-south.cloud-object-storage.appdomain.cloud/ with error. Bucket cos-fscloud-6nr-bucket is not exposed. Bucket cannot be accessed. error: Get "https://cos-fscloud-6nr-bucket.s3.private.us-south.cloud-object-storage.appdomain.cloud/": dial tcp 10.1.129.45:443: i/o timeout
CBRs are working as expected, blocked at https://cos-fscloud-6nr-bucket.s3.direct.us-south.cloud-object-storage.appdomain.cloud/ with error. Bucket cos-fscloud-6nr-bucket is not exposed. Bucket cannot be accessed. error: Get "https://cos-fscloud-6nr-bucket.s3.direct.us-south.cloud-object-storage.appdomain.cloud/": dial tcp 161.26.0.34:443: i/o timeout
Description
Set add_bucket_name_suffix to true by default to prevent bucket name conflicts.
When upgrading existing deployments, set add_bucket_name_suffix = false to preserve existing bucket names and avoid recreation.
Release required?
x.x.X)x.X.x)X.x.x)Release notes content
Set add_bucket_name_suffix to true by default to prevent bucket name conflicts.
When upgrading existing deployments, set add_bucket_name_suffix = false to preserve existing bucket names and avoid recreation.
Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
Checklist for reviewers
For mergers