Skip to content

squid: rgw/s3: fix PutObject's canned_acl comparisons for BlockPublicAcls - #69481

Merged
neha-ojha merged 1 commit into
ceph:squidfrom
cbodley:wip-72080-squid
Jun 27, 2026
Merged

neha-ojha merged 1 commit into
ceph:squidfrom
cbodley:wip-72080-squid

Conversation

@cbodley

@cbodley cbodley commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

canned_acl.compare() returns 0 for matches, so this was rejecting all canned acls

Fixes: https://tracker.ceph.com/issues/49135

Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit e9eedec)
@cbodley
cbodley requested a review from a team as a code owner June 15, 2026 13:38
@cbodley cbodley added this to the squid milestone Jun 15, 2026
@cbodley cbodley added the rgw label Jun 15, 2026
@github-actions github-actions Bot added the releng-audit-pass Release engineering: passed backport verification audit. label Jun 15, 2026
@yuriw

yuriw commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri9-testing-20260622.172413-squid.

@adamemerson

Copy link
Copy Markdown
Contributor

jenkins test make check

1 similar comment
@neha-ojha

Copy link
Copy Markdown
Member

jenkins test make check

@neha-ojha

Copy link
Copy Markdown
Member

make check is failing with:

Traceback (most recent call last):
  File "/ceph/src/pybind/mgr/cephadm/serve.py", line 602, in _apply_all_services
    if self._apply_service(spec):
  File "/ceph/src/pybind/mgr/cephadm/serve.py", line 947, in _apply_service
    daemon_spec = svc.prepare_create(daemon_spec)
  File "/ceph/src/pybind/mgr/cephadm/services/monitoring.py", line 27, in prepare_create
    daemon_spec.final_config, daemon_spec.deps = self.generate_config(daemon_spec)
  File "/ceph/src/pybind/mgr/cephadm/services/monitoring.py", line 102, in generate_config
    cert, pkey = self.prepare_certificates(daemon_spec)
  File "/ceph/src/pybind/mgr/cephadm/services/monitoring.py", line 148, in prepare_certificates
    cert, pkey = create_self_signed_cert('Ceph', host_fqdn)
  File "/ceph/src/pybind/mgr/mgr_util.py", line 545, in create_self_signed_cert
    req = crypto.X509Req()
  File "/ceph/src/pybind/mgr/.tox/py3/lib/python3.10/site-packages/cryptography/utils.py", line 76, in __getattr__
    obj = getattr(self._module, name)
AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'

@neha-ojha

Copy link
Copy Markdown
Member

jenkins test make check

2 similar comments
@neha-ojha

Copy link
Copy Markdown
Member

jenkins test make check

@neha-ojha

Copy link
Copy Markdown
Member

jenkins test make check

@neha-ojha
neha-ojha merged commit ddc2e64 into ceph:squid Jun 27, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-qa releng-audit-pass Release engineering: passed backport verification audit. rgw wip-yuri9-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants