Skip to content

squid: mon,mgr,osd: Add an rgw cap profile - #71362

Open
mheler wants to merge 6 commits into
ceph:squidfrom
mheler:wip-79936-squid
Open

mheler wants to merge 6 commits into
ceph:squidfrom
mheler:wip-79936-squid

Conversation

@mheler

@mheler mheler commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

@mheler mheler added this to the squid milestone Aug 26, 2026
@mheler
mheler requested review from a team as code owners August 26, 2026 17:12
@mheler mheler changed the title squid: null squid: mon,mgr,osd: Add an rgw cap profile Aug 26, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Aug 26, 2026
@adamemerson

Copy link
Copy Markdown
Contributor

Please explain the missing commit in the description.

@adamemerson adamemerson removed the releng-audit-fail Release engineering: failed backport verification audit. label Aug 26, 2026
@batrick batrick modified the milestones: squid, v19.2.7 Aug 26, 2026
@mheler

mheler commented Aug 26, 2026

Copy link
Copy Markdown
Contributor Author

Please explain the missing commit in the description.

@adamemerson done, thank you for pointing that out.

github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Aug 26, 2026

@batrick batrick left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

???

@mheler

mheler commented Aug 26, 2026

Copy link
Copy Markdown
Contributor Author
Image

???

@batrick I added an update to the PR description (see below), is there a better way to make this visible to the audit bot going forward?

Note: commit 853cdfa was skipped, as it's prerequisites (#69103) have not been merged to Squid.

@batrick

batrick commented Aug 26, 2026

Copy link
Copy Markdown
Member
Image ???

@batrick I added an update to the PR description (see below), is there a better way to make this visible to the audit bot going forward?

Note: commit 853cdfa was skipped, as it's prerequisites (#69103) have not been merged to Squid.

This hasn't been codified yet but IMO the best way to express this is via an empty cherry-pick commit which explains the conflict, i.e. the dependencies do not exist. It makes the bot happy and explains in the git history what happened.

@mheler

mheler commented Aug 26, 2026

Copy link
Copy Markdown
Contributor Author
Image ???

@batrick I added an update to the PR description (see below), is there a better way to make this visible to the audit bot going forward?
Note: commit 853cdfa was skipped, as it's prerequisites (#69103) have not been merged to Squid.

This hasn't been codified yet but IMO the best way to express this is via an empty cherry-pick commit which explains the conflict, i.e. the dependencies do not exist. It makes the bot happy and explains in the git history what happened.

Ack, done.. thank you for the direction here.

rgw keys have been created with mon 'allow rw' and osd 'allow rwx', far
more than the daemon uses. profile rgw grants read on the mon and pg
services, read and write on the osd service, the 'log' command that
carries cluster log warnings, and config-key get under rgw/ on the mon;
rwx on rgw-tagged pools on the osd; and nothing on the mgr. keys take it
as mon 'profile rgw' osd 'profile rgw'. bootstrap-rgw only accepts the
profile.

the osd grant stays service-wide rather than a list of commands because
Rados::pool_create() reaches the mon as MPoolOp, which is checked with
no command name. so it also covers the rest of the osd service's write
commands.

Signed-off-by: Matthew N. Heler <[email protected]>
(cherry picked from commit 488cb91)

Conflicts:
        PendingReleaseNotes
          dropped the duplicate CVE-2026-54330 note the pick added.
document profile rgw and move the rgw keyring examples onto the profile.

a gateway using it can only read config-key under the rgw/ prefix, so
say that where ssl_certificate and ssl_private_key describe config://.

Signed-off-by: Matthew N. Heler <[email protected]>
(cherry picked from commit 82c7878)

Conflicts:
        doc/radosgw/frontends.rst
          used upstream's ssl_certificate and ssl_private_key text.
parse and grant checks for profile rgw in the mon, osd, and mgr cap
tests: config-key stops at the rgw/ prefix, osd rwx stops at rgw-tagged
pools with pool narrowing honored, and the mgr form parses as a no-op.

Signed-off-by: Matthew N. Heler <[email protected]>
(cherry picked from commit 29df658)

Conflicts:
        src/test/mgr/test_mgrcap.cc
          kept squid's array form and added the two profile rgw entries.
dev clusters exercise the profile instead of blanket rw caps.

Signed-off-by: Matthew N. Heler <[email protected]>
(cherry picked from commit d91f40c)
@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown

⚠️ Audit Override Removed

New commits were pushed to this PR, so the previous override has been removed.

View workflow run

github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Nov 8, 2026
@adamemerson

Copy link
Copy Markdown
Contributor

/audit override

@adamemerson

Copy link
Copy Markdown
Contributor

Override again and again and again and again…

@github-actions github-actions Bot added releng-audit-override and removed releng-audit-fail Release engineering: failed backport verification audit. labels Nov 9, 2026
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

✅ Audit Override Applied by @adamemerson.

View workflow run

@mheler

mheler commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

Override again and again and again and again…

there has to be a better way for this

@adamemerson

Copy link
Copy Markdown
Contributor

jenkins test make check

@Tom-Sollers

Copy link
Copy Markdown
Contributor

@anthonyeleven

Copy link
Copy Markdown
Contributor

Override again and again and again and again…

there has to be a better way for this

From your keyboard to Claude's ears.

@batrick

batrick commented Nov 25, 2026

Copy link
Copy Markdown
Member

jenkins test make check

@batrick

batrick commented Nov 25, 2026

Copy link
Copy Markdown
Member
12:55:07  =================================== FAILURES ===================================
12:55:07  _____________________ TestCephadm.test_daemon_action_fail ______________________
12:55:07  
12:55:07  self = <cephadm.tests.test_cephadm.TestCephadm object at 0x71684e3e6f20>
12:55:07  cephadm_module = <cephadm.module.CephadmOrchestrator object at 0x7167d0135db0>
12:55:07  
12:55:07      @mock.patch("cephadm.serve.CephadmServe._run_cephadm", _run_cephadm('[]'))
12:55:07      def test_daemon_action_fail(self, cephadm_module: CephadmOrchestrator):
12:55:07          cephadm_module.service_cache_timeout = 10
12:55:07          with with_host(cephadm_module, 'test'):
12:55:07              with with_service(cephadm_module, RGWSpec(service_id='myrgw.foobar', unmanaged=True)) as _, \
12:55:07                      with_daemon(cephadm_module, RGWSpec(service_id='myrgw.foobar'), 'test') as daemon_id:
12:55:07                  with mock.patch('ceph_module.BaseMgrModule._ceph_send_command') as _ceph_send_command:
12:55:07      
12:55:07                      _ceph_send_command.side_effect = Exception("myerror")
12:55:07      
12:55:07                      # Make sure, _check_daemons does a redeploy due to monmap change:
12:55:07                      cephadm_module.mock_store_set('_ceph_get', 'mon_map', {
12:55:07                          'modified': datetime_to_str(datetime_now()),
12:55:07                          'fsid': 'foobar',
12:55:07                      })
12:55:07                      cephadm_module.notify('mon_map', None)
12:55:07      
12:55:07                      CephadmServe(cephadm_module)._check_daemons()
12:55:07      
12:55:07                      evs = [e.message for e in cephadm_module.events.get_for_daemon(
12:55:07                          f'rgw.{daemon_id}')]
12:55:07      
12:55:07  >                   assert 'myerror' in ''.join(evs)
12:55:07  E                   assert 'myerror' in "Deployed rgw.myrgw.foobar.test.snhuly on host 'test''mons'"
12:55:07  E                    +  where "Deployed rgw.myrgw.foobar.test.snhuly on host 'test''mons'" = <built-in method join of str object at 0x716852660030>(["Deployed rgw.myrgw.foobar.test.snhuly on host 'test'", "'mons'"])
12:55:07  E                    +    where <built-in method join of str object at 0x716852660030> = ''.join
12:55:07  
12:55:07 
 cephadm/tests/test_cephadm.py:410: AssertionError

https://jenkins.ceph.com/job/ceph-pr-pipeline/11070/consoleFull#-5465264246733401c-e9d0-4737-9832-6594c5da0afa

Maybe relevant.

@mheler

mheler commented Nov 25, 2026

Copy link
Copy Markdown
Contributor Author
12:55:07  =================================== FAILURES ===================================
12:55:07  _____________________ TestCephadm.test_daemon_action_fail ______________________
12:55:07  
12:55:07  self = <cephadm.tests.test_cephadm.TestCephadm object at 0x71684e3e6f20>
12:55:07  cephadm_module = <cephadm.module.CephadmOrchestrator object at 0x7167d0135db0>
12:55:07  
12:55:07      @mock.patch("cephadm.serve.CephadmServe._run_cephadm", _run_cephadm('[]'))
12:55:07      def test_daemon_action_fail(self, cephadm_module: CephadmOrchestrator):
12:55:07          cephadm_module.service_cache_timeout = 10
12:55:07          with with_host(cephadm_module, 'test'):
12:55:07              with with_service(cephadm_module, RGWSpec(service_id='myrgw.foobar', unmanaged=True)) as _, \
12:55:07                      with_daemon(cephadm_module, RGWSpec(service_id='myrgw.foobar'), 'test') as daemon_id:
12:55:07                  with mock.patch('ceph_module.BaseMgrModule._ceph_send_command') as _ceph_send_command:
12:55:07      
12:55:07                      _ceph_send_command.side_effect = Exception("myerror")
12:55:07      
12:55:07                      # Make sure, _check_daemons does a redeploy due to monmap change:
12:55:07                      cephadm_module.mock_store_set('_ceph_get', 'mon_map', {
12:55:07                          'modified': datetime_to_str(datetime_now()),
12:55:07                          'fsid': 'foobar',
12:55:07                      })
12:55:07                      cephadm_module.notify('mon_map', None)
12:55:07      
12:55:07                      CephadmServe(cephadm_module)._check_daemons()
12:55:07      
12:55:07                      evs = [e.message for e in cephadm_module.events.get_for_daemon(
12:55:07                          f'rgw.{daemon_id}')]
12:55:07      
12:55:07  >                   assert 'myerror' in ''.join(evs)
12:55:07  E                   assert 'myerror' in "Deployed rgw.myrgw.foobar.test.snhuly on host 'test''mons'"
12:55:07  E                    +  where "Deployed rgw.myrgw.foobar.test.snhuly on host 'test''mons'" = <built-in method join of str object at 0x716852660030>(["Deployed rgw.myrgw.foobar.test.snhuly on host 'test'", "'mons'"])
12:55:07  E                    +    where <built-in method join of str object at 0x716852660030> = ''.join
12:55:07  
12:55:07 
 cephadm/tests/test_cephadm.py:410: AssertionError

https://jenkins.ceph.com/job/ceph-pr-pipeline/11070/consoleFull#-5465264246733401c-e9d0-4737-9832-6594c5da0afa

Maybe relevant.

Looking into this

replace mon 'allow *', mgr 'allow rw', osd 'allow rwx tag rgw *=*' with
the rgw profile once every mon and osd reports version 19.2.8 or newer.
require_osd_release cannot distinguish squid point releases. check
metadata for every mapped daemon, including down osds, and keep the
old caps when metadata is missing or the version cannot be parsed.
existing keys pick up the profile through auth caps on redeployment.

nfs embeds librgw, so its rgw key takes the same osd profile behind the
shared rgw_profile_supported() helper. its mon cap stays 'allow r'.

Signed-off-by: Matthew N. Heler <[email protected]>
(cherry picked from commit ecdc7ab)

Conflicts:
        src/pybind/mgr/cephadm/services/cephadmservice.py
          omitted upstream's docstring; gated the profile on 19.2.8.
          the version check reads mon and osd metadata, tolerates a
          mon map with no mons, and keeps the metadata lookup in its
          own statement so the cephadm unit tests still pass.
        src/pybind/mgr/cephadm/services/nfs.py
          kept squid's imports and used the shared version helper.
        src/pybind/mgr/cephadm/tests/services/test_rgw.py
          dropped; only the fixture defaults it needs are kept.
Replace mon 'allow *' and the osd tag cap with the rgw profile. The
profile covers pool creation on first write, which is what the mon cap
was there for.

auth get-or-create refuses an entity that already exists with different
caps, so fall back to auth caps. Anything created before this carries
the old caps and would error on the next apply.

Signed-off-by: Matthew N. Heler <[email protected]>
(cherry picked from commit 853cdfa)

Conflicts:
        src/pybind/mgr/smb/rgw_auth.py
          the mgr/smb module does not exist in squid;
          there is nothing to apply.
@github-actions

Copy link
Copy Markdown

⚠️ Audit Override Removed

New commits were pushed to this PR, so the previous override has been removed.

View workflow run

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ceph Release Engineering Audit Report

Commit Parity Visualizer

BACKPORT PR #71362 SOURCE PR SOURCE STATUS
71223bc mon,osd,mgr: add rgw cap profile PR #70538 488cb91 mon,osd,mgr: add rgw cap profile
b664905 doc: describe the rgw cap profile 82c7878 doc: describe the rgw cap profile
d9b91e2 test/mon,osd,mgr: cover the rgw cap profile 29df658 test/mon,osd,mgr: cover the rgw cap profile
c17e929 vstart: create rgw keys with the rgw profile d91f40c vstart: create rgw keys with the rgw profile
5479949 cephadm: create rgw keys with the rgw profile ecdc7ab cephadm: create rgw keys with the rgw profile
74dfeea mgr/smb: create rgw keys with the rgw profile 853cdfa mgr/smb: create rgw keys with the rgw profile

Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations

⚠️ WARNING: Cherry-pick conflicts or deviations were found that require component lead review.

A conflict or deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.

This does not necessarily indicate an issue but a maintainer should review.

**Click to expand conflict summaries.**

Deviation in Backport 71223bc (cherry-pick of 488cb91)

Affected File(s)

Range Diff

Click to expand
--- Original (488cb91e)
+++ Backport (71223bc9)
@@ -14,3 +14,8 @@
 commands.
 
 Signed-off-by: Matthew N. Heler <[email protected]>
+(cherry picked from commit 488cb91e47036475637bc7bb4fd1941daaa85663)
+
+Conflicts:
+        PendingReleaseNotes
+          dropped the duplicate CVE-2026-54330 note the pick added.

================================================================================
RANGE DIFF
================================================================================

1:  488cb91e470 ! 1:  71223bc9e91 mon,osd,mgr: add rgw cap profile
    @@ Commit message
         commands.
     
         Signed-off-by: Matthew N. Heler <[email protected]>
    +    (cherry picked from commit 488cb91e47036475637bc7bb4fd1941daaa85663)
    +
    +    Conflicts:
    +            PendingReleaseNotes
    +              dropped the duplicate CVE-2026-54330 note the pick added.
     
      ## PendingReleaseNotes ##
     @@
    -   Sigv4 requests with `host` and `x-amz-` headers not included in the
    -   signed subset. Unfortunately, the REST client used in multisite was
    -   generating such improperly signed requests.
    +   ``rgw_keystone_scope_include_roles`` (default true).
    + * RGW: S3 Select is deprecated. The default value of ``rgw_disable_s3select``
    +   changed from ``false`` to ``true``.
     +* RGW: New CephX profile ``profile rgw`` grants a Ceph Object Gateway the
     +  permissions it needs. Create keys with
     +  ``mon 'profile rgw' osd 'profile rgw'``.
      
    -   If you are running multisite, you must set the
    -   ``rgw_sigv4_insecure`` option to true before you begin to
    + 
    + * DASHBOARD: A new Overview landing page provides an at-a-glance cluster summary
     
      ## src/mgr/MgrCap.cc ##
     @@ src/mgr/MgrCap.cc: void MgrCapGrant::expand_profile(std::ostream *err) const {
    @@ src/mgr/MgrCap.cc: void MgrCapGrant::expand_profile(std::ostream *err) const {
     
      ## src/mon/MonCap.cc ##
     @@ src/mon/MonCap.cc: void MonCapGrant::expand_profile(const EntityName& name) const
    -     // alow getpoolstats for mgr modules
    -     profile_grants.push_back(MonCapGrant("pg", MON_CAP_R));
    +     profile_grants.push_back(MonCapGrant("heap"));
    +     profile_grants.push_back(MonCapGrant("dump_mempools"));
        }
     +  if (profile == "rgw") {
     +    // maps

Deviation in Backport b664905 (cherry-pick of 82c7878)

Affected File(s)

Range Diff

Click to expand
--- Original (82c78783)
+++ Backport (b6649051)
@@ -6,3 +6,8 @@
 say that where ssl_certificate and ssl_private_key describe config://.
 
 Signed-off-by: Matthew N. Heler <[email protected]>
+(cherry picked from commit 82c7878389b0e9834f03b714776ee1b1aef73b64)
+
+Conflicts:
+        doc/radosgw/frontends.rst
+          used upstream's ssl_certificate and ssl_private_key text.

================================================================================
RANGE DIFF
================================================================================

1:  82c7878389b ! 1:  b66490518f3 doc: describe the rgw cap profile
    @@ Commit message
         say that where ssl_certificate and ssl_private_key describe config://.
     
         Signed-off-by: Matthew N. Heler <[email protected]>
    +    (cherry picked from commit 82c7878389b0e9834f03b714776ee1b1aef73b64)
    +
    +    Conflicts:
    +            doc/radosgw/frontends.rst
    +              used upstream's ssl_certificate and ssl_private_key text.
     
      ## doc/install/manual-deployment.rst ##
     @@ doc/install/manual-deployment.rst: thread on the ceph-users mailing list
    @@ doc/radosgw/frontends.rst: Options
      
      :Description: Path to the SSL certificate file used for SSL-enabled endpoints.
                    If path is prefixed with ``config://``, the certificate will be
    --              pulled from the Ceph Monitor ``config-key`` database.
    +-              pulled from the ceph monitor ``config-key`` database.
     +              pulled from the Ceph Monitor ``config-key`` database. Keep
     +              certificates under the ``rgw/`` prefix; an RGW with
     +              ``profile rgw`` Monitor caps can only read keys under that
    @@ doc/radosgw/frontends.rst: Options
                    endpoints. If one is not given, the ``ssl_certificate`` file
                    is used as the private key.
     -              If path is prefixed with ``config://``, the certificate will be
    --              pulled from the Ceph Monitor ``config-key`` database.
    +-              pulled from the ceph monitor ``config-key`` database.
     +              If path is prefixed with ``config://``, the key will be
     +              pulled from the Ceph Monitor ``config-key`` database, and the
     +              same ``rgw/`` prefix restriction applies.

Deviation in Backport d9b91e2 (cherry-pick of 29df658)

Affected File(s)

Range Diff

Click to expand
--- Original (29df658c)
+++ Backport (d9b91e20)
@@ -5,3 +5,8 @@
 pools with pool narrowing honored, and the mgr form parses as a no-op.
 
 Signed-off-by: Matthew N. Heler <[email protected]>
+(cherry picked from commit 29df658cceb87a17bebd469802822efc09ad04f2)
+
+Conflicts:
+        src/test/mgr/test_mgrcap.cc
+          kept squid's array form and added the two profile rgw entries.

================================================================================
RANGE DIFF
================================================================================

1:  29df658cceb ! 1:  d9b91e20e4c test/mon,osd,mgr: cover the rgw cap profile
    @@ Commit message
         pools with pool narrowing honored, and the mgr form parses as a no-op.
     
         Signed-off-by: Matthew N. Heler <[email protected]>
    +    (cherry picked from commit 29df658cceb87a17bebd469802822efc09ad04f2)
    +
    +    Conflicts:
    +            src/test/mgr/test_mgrcap.cc
    +              kept squid's array form and added the two profile rgw entries.
     
      ## src/test/mgr/test_mgrcap.cc ##
    -@@ src/test/mgr/test_mgrcap.cc: const std::vector<std::string> parse_good = {
    -     "profile crash"s,
    -     "profile osd"s,
    -     "profile mds"s,
    -+    "profile rgw"s,
    -     "profile rbd pool=ABC namespace=NS"s,
    -     "profile \"rbd-read-only\", profile crash"s,
    -     "allow * network 1.2.3.4/24"s,
    -@@ src/test/mgr/test_mgrcap.cc: const std::vector<std::string> parse_identity = {
    -     "allow rwx"s,
    -     "allow service foo x"s,
    -     "profile crash"s,
    -+    "profile rgw"s,
    -     "profile rbd-read-only, allow *"s,
    -     "profile rbd namespace=NS pool=ABC"s,
    -     "allow command abc"s,
    +@@ src/test/mgr/test_mgrcap.cc: const char *parse_good[] = {
    +   "profile crash",
    +   "profile osd",
    +   "profile mds",
    ++  "profile rgw",
    +   "profile rbd pool=ABC namespace=NS",
    +   "profile \"rbd-read-only\", profile crash",
    +   "allow * network 1.2.3.4/24",
    +@@ src/test/mgr/test_mgrcap.cc: const char *parse_identity[] = {
    +   "allow rwx",
    +   "allow service foo x",
    +   "profile crash",
    ++  "profile rgw",
    +   "profile rbd-read-only, allow *",
    +   "profile rbd namespace=NS pool=ABC",
    +   "allow command abc",
     
      ## src/test/mon/moncap.cc ##
     @@ src/test/mon/moncap.cc: const char *parse_good[] = {

Deviation in Backport 5479949 (cherry-pick of ecdc7ab)

Affected File(s)

Range Diff

Click to expand
--- Original (ecdc7ab5)
+++ Backport (5479949d)
@@ -1,11 +1,25 @@
 cephadm: create rgw keys with the rgw profile
 
 replace mon 'allow *', mgr 'allow rw', osd 'allow rwx tag rgw *=*' with
-the rgw profile, once require_osd_release says every mon and osd can
-read it. until then keys keep the old caps. existing keys pick the
-profile up through auth caps the next time the daemon is redeployed.
+the rgw profile once every mon and osd reports version 19.2.8 or newer.
+require_osd_release cannot distinguish squid point releases. check
+metadata for every mapped daemon, including down osds, and keep the
+old caps when metadata is missing or the version cannot be parsed.
+existing keys pick up the profile through auth caps on redeployment.
 
 nfs embeds librgw, so its rgw key takes the same osd profile behind the
-same gate. its mon cap stays 'allow r'.
+shared rgw_profile_supported() helper. its mon cap stays 'allow r'.
 
 Signed-off-by: Matthew N. Heler <[email protected]>
+(cherry picked from commit ecdc7ab5fcd7fd9ffc236eed0710d8db895d54c7)
+
+Conflicts:
+        src/pybind/mgr/cephadm/services/cephadmservice.py
+          omitted upstream's docstring; gated the profile on 19.2.8.
+          the version check reads mon and osd metadata, tolerates a
+          mon map with no mons, and keeps the metadata lookup in its
+          own statement so the cephadm unit tests still pass.
+        src/pybind/mgr/cephadm/services/nfs.py
+          kept squid's imports and used the shared version helper.
+        src/pybind/mgr/cephadm/tests/services/test_rgw.py
+          dropped; only the fixture defaults it needs are kept.

================================================================================
RANGE DIFF
================================================================================

1:  ecdc7ab5fcd < -:  ----------- cephadm: create rgw keys with the rgw profile
-:  ----------- > 1:  5479949d9c6 cephadm: create rgw keys with the rgw profile

Deviation in Backport 74dfeea (cherry-pick of 853cdfa)

Affected File(s)

Range Diff

Click to expand
--- Original (853cdfa7)
+++ Backport (74dfeea8)
@@ -9,3 +9,9 @@
 the old caps and would error on the next apply.
 
 Signed-off-by: Matthew N. Heler <[email protected]>
+(cherry picked from commit 853cdfa78fb9574b0d1bd54a668ac45a9e492bd4)
+
+Conflicts:
+        src/pybind/mgr/smb/rgw_auth.py
+          the mgr/smb module does not exist in squid;
+          there is nothing to apply.

================================================================================
RANGE DIFF
================================================================================

1:  853cdfa78fb < -:  ----------- mgr/smb: create rgw keys with the rgw profile
-:  ----------- > 1:  74dfeea8734 mgr/smb: create rgw keys with the rgw profile

How to proceed:

  • Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git Conflicts: block intact) and include an explanation for changes.
  • Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
  • Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting /audit override.

Be familiar with the rules and guidelines for writing backports.


🛟 Need Help?

If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.

📋 Component Lead / Release Manager

To override the audit failure, apply releng-audit-override label or comment /audit override.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

View workflow run

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Nov 25, 2026
@mheler

mheler commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author
12:55:07  =================================== FAILURES ===================================
12:55:07  _____________________ TestCephadm.test_daemon_action_fail ______________________
12:55:07  
12:55:07  self = <cephadm.tests.test_cephadm.TestCephadm object at 0x71684e3e6f20>
12:55:07  cephadm_module = <cephadm.module.CephadmOrchestrator object at 0x7167d0135db0>
12:55:07  
12:55:07      @mock.patch("cephadm.serve.CephadmServe._run_cephadm", _run_cephadm('[]'))
12:55:07      def test_daemon_action_fail(self, cephadm_module: CephadmOrchestrator):
12:55:07          cephadm_module.service_cache_timeout = 10
12:55:07          with with_host(cephadm_module, 'test'):
12:55:07              with with_service(cephadm_module, RGWSpec(service_id='myrgw.foobar', unmanaged=True)) as _, \
12:55:07                      with_daemon(cephadm_module, RGWSpec(service_id='myrgw.foobar'), 'test') as daemon_id:
12:55:07                  with mock.patch('ceph_module.BaseMgrModule._ceph_send_command') as _ceph_send_command:
12:55:07      
12:55:07                      _ceph_send_command.side_effect = Exception("myerror")
12:55:07      
12:55:07                      # Make sure, _check_daemons does a redeploy due to monmap change:
12:55:07                      cephadm_module.mock_store_set('_ceph_get', 'mon_map', {
12:55:07                          'modified': datetime_to_str(datetime_now()),
12:55:07                          'fsid': 'foobar',
12:55:07                      })
12:55:07                      cephadm_module.notify('mon_map', None)
12:55:07      
12:55:07                      CephadmServe(cephadm_module)._check_daemons()
12:55:07      
12:55:07                      evs = [e.message for e in cephadm_module.events.get_for_daemon(
12:55:07                          f'rgw.{daemon_id}')]
12:55:07      
12:55:07  >                   assert 'myerror' in ''.join(evs)
12:55:07  E                   assert 'myerror' in "Deployed rgw.myrgw.foobar.test.snhuly on host 'test''mons'"
12:55:07  E                    +  where "Deployed rgw.myrgw.foobar.test.snhuly on host 'test''mons'" = <built-in method join of str object at 0x716852660030>(["Deployed rgw.myrgw.foobar.test.snhuly on host 'test'", "'mons'"])
12:55:07  E                    +    where <built-in method join of str object at 0x716852660030> = ''.join
12:55:07  
12:55:07 
 cephadm/tests/test_cephadm.py:410: AssertionError

https://jenkins.ceph.com/job/ceph-pr-pipeline/11070/consoleFull#-5465264246733401c-e9d0-4737-9832-6594c5da0afa

Maybe relevant.

@batrick it's relevant, that test uses a mon map with no mons and the profile's version check didn't handle it, fixed and repushed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants