Skip to content

tentacle: mon: Add command "nvme-gw listeners" - #66584

Merged
batrick merged 1 commit into
ceph:tentaclefrom
VallariAg:wip-74172-tentacle
Feb 10, 2026
Merged

batrick merged 1 commit into
ceph:tentaclefrom
VallariAg:wip-74172-tentacle

Conversation

@VallariAg

Copy link
Copy Markdown
Member

@VallariAg
VallariAg requested a review from a team as a code owner December 10, 2025 08:56
@VallariAg VallariAg added this to the tentacle milestone Dec 10, 2025
@VallariAg VallariAg added the core label Dec 10, 2025
@VallariAg
VallariAg requested a review from athanatos December 10, 2025 08:57
@VallariAg

Copy link
Copy Markdown
Member Author

jenkins test docs

@VallariAg

Copy link
Copy Markdown
Member Author

@github-actions

github-actions Bot commented Feb 2, 2026

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

This command will help to list all existing listeners,
even when they are not in OMAP (eg, auto-listeners).

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

Signed-off-by: Vallari Agrawal <[email protected]>
(cherry picked from commit 7e106fd)
@VallariAg

Copy link
Copy Markdown
Member Author

jenkins test api

1 similar comment
@yuriw

yuriw commented Feb 4, 2026

Copy link
Copy Markdown
Contributor

jenkins test api

@shraddhaag

Copy link
Copy Markdown
Contributor

@batrick
batrick merged commit e1453bd into ceph:tentacle Feb 10, 2026
6 of 7 checks passed
Comment thread src/mon/NVMeofGwMon.cc
f->flush(rdata);
sstrm.str("");
} else {
get_gw_listeners(f.get(), group_key);

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.

@VallariAg VallariAg Mar 15, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Hi @batrick, so the main PRs were merged in order. First #65689 (which introduced the change) was merged to main and then #65563 was merged to main.

Then the tentacle backport PR for 65563 accidentally included that change from my PR 65689 (see https://github.com/ceph/ceph/pull/66958/changes#diff-2f2e236298d9c0243b1e81900cdf814f5b59ac934981200912642a1675355381) and it was merged to tentacle first. So I saw merge conflict in this backport PR of 65689 (since that change was already in tentacle now). I confirmed that the line in src/mon/NVMeofGwMon.h was in tentacle (I also realised then what had happened) and rebase this backport PR.

While main PRs were independent, the tentacle PR 66584 (this one) ended up being dependent on tentacle PR 66958. Since the change was only a function declaration, it probably didn't cause any problem being accidentally introduced in tentacle first and raised no alarms in builds and QA.

I see you're reverting backport PR 66958, please don't remove the change. Your revert commit batrick@ddef0d1#diff-2f2e236298d9c0243b1e81900cdf814f5b59ac934981200912642a1675355381 src/mon/NVMeofGwMon.h looks right to me - sorry about the confusion!

batrick added a commit to batrick/ceph that referenced this pull request Mar 15, 2026
This reverts commit 6dddf54, reversing
changes made to 07ec509.

Backport 6dddf54 introduced a new connection feature bit
NVMEOF_BEACON_DIFF but there are plans (ceph#66624) to make further
enhancements on that feature bit. This would cause the mons to crash
during upgrades.

However, this connection feature bit should not have been added to
begin with. The correct way to do this is extend
e55ad7b by @athanatos to require
`CEPH_MON_FEATURE_INCOMPAT_NVMEOF_BEACON_DIFF` if all mons support it.
This should be done by having mons add/update their supported features
the MonMap via an update from `MMonJoin` (see for instance `crush_loc`
which was recently added to `mon_info_t`). Once the supported features
indicated for each mon in the `MonMap` show they understand the new
NVMEOF_BEACON_DIFF, then it should be turned on globally in the
`MonMap` as a required feature (added to the incompat set).

Conflicts:
	src/mon/NVMeofGwMon.h: conflicts with header change from 19c9be2
                               fix missing header change in ceph#66584

Signed-off-by: Patrick Donnelly <[email protected]>
mertsunacoglu pushed a commit to mertsunacoglu/ceph that referenced this pull request Aug 26, 2026
This reverts commit 6dddf54, reversing
changes made to 07ec509.

Backport 6dddf54 introduced a new connection feature bit
NVMEOF_BEACON_DIFF but there are plans (ceph#66624) to make further
enhancements on that feature bit. This would cause the mons to crash
during upgrades.

However, this connection feature bit should not have been added to
begin with. The correct way to do this is extend
e55ad7b by @athanatos to require
`CEPH_MON_FEATURE_INCOMPAT_NVMEOF_BEACON_DIFF` if all mons support it.
This should be done by having mons add/update their supported features
the MonMap via an update from `MMonJoin` (see for instance `crush_loc`
which was recently added to `mon_info_t`). Once the supported features
indicated for each mon in the `MonMap` show they understand the new
NVMEOF_BEACON_DIFF, then it should be turned on globally in the
`MonMap` as a required feature (added to the incompat set).

Conflicts:
	src/mon/NVMeofGwMon.h: conflicts with header change from 19c9be2
                               fix missing header change in ceph#66584

Signed-off-by: Patrick Donnelly <[email protected]>
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.

5 participants