Description of problem (please be detailed as possible and provide log snippests): Public access noobaa bucket not allowed. Version of all relevant components (if applicable): Does this issue impact your ability to continue to work with the product (please explain in detail what is the user impact)? Cannot use Noobaa on public cloud Is there any workaround available to the best of your knowledge? Fix is already available Rate from 1 - 5 the complexity of the scenario you performed that caused this bug (1 - very simple, 5 - very complex)? 2 Can this issue reproducible? Yes Can this issue reproduce from the UI? From a CLI If this is a regression, please provide more details to justify this: Steps to Reproduce: Actual results: (base) jeniawhite@MacBook-Pro noobaa-operator % aws s3api --endpoint-url https://192.168.64.44:30261 get-bucket-website --bucket first.bucket --no-verify-ssl /usr/local/Cellar/awscli/2.0.28_1/libexec/lib/python3.8/site-packages/urllib3/connectionpool.py:979: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.64.44'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings warnings.warn( { "IndexDocument": { "Suffix": "index.html" }, "ErrorDocument": { "Key": "error.html" } } Expected results: (base) jeniawhite@MacBook-Pro noobaa-operator % aws s3api --endpoint-url https://192.168.64.44:30261 get-bucket-policy --bucket first.bucket --no-verify-ssl /usr/local/Cellar/awscli/2.0.28_1/libexec/lib/python3.8/site-packages/urllib3/connectionpool.py:979: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.64.44'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings warnings.warn( { "Policy": "{\"version\":\"2012-10-17\",\"statement\":[{\"sid\":\"publicreadforgetbucketobjects\",\"effect\":\"allow\",\"principal\":[\"*\"],\"action\":[\"s3:getobject\"],\"resource\":[\"arn:aws:s3:::first.bucket/*\"]}]}" } Additional info:
I uploaded the index.html and error.html files to first.bucket, placed a bucket policy and website, entered the bucket site, and it showed the index page I created. Verified OCS v4.6.0-141.ci OCP 4.6.0-0.nightly-2020-10-22-034051
*** Bug 1891117 has been marked as a duplicate of this bug. ***
Nimrpd, please add doc_text
done
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Red Hat OpenShift Container Storage 4.6.0 security, bug fix, enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5605