Skip to content

umbrella: cephadm: disable/enable NVMe-oF gateways during host maintenance - #70415

Merged
batrick merged 1 commit into
ceph:umbrellafrom
baum:wip-78522-umbrella
Aug 3, 2026
Merged

batrick merged 1 commit into
ceph:umbrellafrom
baum:wip-78522-umbrella

Conversation

@baum

@baum baum commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

backport tracker: https://tracker.ceph.com/issues/78522


backport of #69650
parent tracker: https://tracker.ceph.com/issues/77631

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)

@baum baum added this to the umbrella milestone Jul 22, 2026
@baum
baum requested a review from a team as a code owner July 22, 2026 05:06
@github-actions github-actions Bot added cephadm pybind releng-audit-pass Release engineering: passed backport verification audit. labels Jul 22, 2026
@baum
baum force-pushed the wip-78522-umbrella branch from f23e30f to 3f34ce8 Compare July 22, 2026 07:30
@github-actions github-actions Bot removed the releng-audit-pass Release engineering: passed backport verification audit. label Jul 22, 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 Jul 22, 2026
@baum
baum force-pushed the wip-78522-umbrella branch 2 times, most recently from f4218d6 to d17082f Compare July 22, 2026 13:57
@baum baum removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 22, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added releng-audit-fail Release engineering: failed backport verification audit. and removed releng-audit-fail Release engineering: failed backport verification audit. labels Jul 22, 2026
Automatically run nvme-gw disable before stopping daemons on maintenance
enter and nvme-gw enable after daemons restart on maintenance exit so
gateways fail over in a controlled way.

Signed-off-by: Alexander Indenbaum <[email protected]>
(cherry picked from commit 048d253)

Conflicts:
	src/pybind/mgr/cephadm/tests/test_cephadm.py
- import cephadmNoImage from cephadm.utils in the test module; on this
  branch the test file imported only SpecialHostLabels (cephadmNoImage
  was added to this import on main by a separate change), so the
  cherry-picked test referenced an undefined name.
@baum
baum force-pushed the wip-78522-umbrella branch from d17082f to 56713f6 Compare July 22, 2026 14:02
@github-actions github-actions Bot added releng-audit-fail Release engineering: failed backport verification audit. and removed releng-audit-fail Release engineering: failed backport verification audit. labels Jul 22, 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 Jul 22, 2026
@baum baum closed this Jul 22, 2026
@baum baum reopened this Jul 22, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 22, 2026

@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 #70415 SOURCE PR SOURCE STATUS
56713f6 cephadm: disable/enable NVMe-oF gateways during host maintenance PR #69650 048d253 cephadm: disable/enable NVMe-oF gateways during host maintenance

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 56713f6 (cherry-pick of 048d253)

Affected File(s)

Range Diff

Click to expand
--- Original (048d2534)
+++ Backport (56713f68)
@@ -5,3 +5,11 @@
 gateways fail over in a controlled way.
 
 Signed-off-by: Alexander Indenbaum <[email protected]>
+(cherry picked from commit 048d2534a6f63635aca79ad62b327cc38f0f2df4)
+
+Conflicts:
+	src/pybind/mgr/cephadm/tests/test_cephadm.py
+- import cephadmNoImage from cephadm.utils in the test module; on this
+  branch the test file imported only SpecialHostLabels (cephadmNoImage
+  was added to this import on main by a separate change), so the
+  cherry-picked test referenced an undefined name.

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

1:  048d2534a6f ! 1:  56713f68574 cephadm: disable/enable NVMe-oF gateways during host maintenance
    @@ Commit message
         gateways fail over in a controlled way.
     
         Signed-off-by: Alexander Indenbaum <[email protected]>
    +    (cherry picked from commit 048d2534a6f63635aca79ad62b327cc38f0f2df4)
    +
    +    Conflicts:
    +            src/pybind/mgr/cephadm/tests/test_cephadm.py
    +    - import cephadmNoImage from cephadm.utils in the test module; on this
    +      branch the test file imported only SpecialHostLabels (cephadmNoImage
    +      was added to this import on main by a separate change), so the
    +      cherry-picked test referenced an undefined name.
     
      ## src/pybind/mgr/cephadm/module.py ##
     @@ src/pybind/mgr/cephadm/module.py: Then run the following:
    @@ src/pybind/mgr/cephadm/module.py: Then run the following:
              self.inventory._inventory[hostname] = tgt_host
     
      ## src/pybind/mgr/cephadm/tests/test_cephadm.py ##
    +@@ src/pybind/mgr/cephadm/tests/test_cephadm.py: from cephadm.inventory import (
    + )
    + from cephadm.services.osd import OSD, OSDRemovalQueue, OsdIdClaims
    + from cephadm.services.nvmeof import NvmeofService
    +-from cephadm.utils import SpecialHostLabels
    ++from cephadm.utils import SpecialHostLabels, cephadmNoImage
    + 
    + try:
    +     from typing import List
     @@ src/pybind/mgr/cephadm/tests/test_cephadm.py: class TestCephadm(object):
      
              assert cephadm_module.inventory._inventory[hostname]['status'] == 'maintenance'

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 Jul 22, 2026
@baum

baum commented Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

jenkins test api

@rkachach

Copy link
Copy Markdown
Contributor

/audit override

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

Copy link
Copy Markdown

✅ Audit Override Applied by @rkachach.

View workflow run

@rkachach rkachach left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@yuriw

yuriw commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri9-testing-20260729.135117-umbrella.

@batrick
batrick merged commit 516a9ff into ceph:umbrella Aug 3, 2026
18 of 20 checks passed
@batrick batrick modified the milestones: umbrella, v21.1.1 Aug 3, 2026
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.

4 participants