Skip to content

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

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

tentacle: mon: Add command "nvme-gw listeners"#66584
batrick merged 1 commit intoceph:tentaclefrom
VallariAg:wip-74172-tentacle

Conversation

@VallariAg
Copy link
Member

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


backport of #65689
parent tracker: https://tracker.ceph.com/issues/73782

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

@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
Member Author

jenkins test docs

@VallariAg
Copy link
Member Author

qa tracker: https://tracker.ceph.com/issues/74474

@github-actions
Copy link

github-actions bot commented Feb 2, 2026

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 <vallari.agrawal@ibm.com>
(cherry picked from commit 7e106fd)
@VallariAg
Copy link
Member Author

jenkins test api

1 similar comment
@yuriw
Copy link
Contributor

yuriw commented Feb 4, 2026

jenkins test api

@shraddhaag
Copy link
Contributor

@batrick batrick merged commit e1453bd into ceph:tentacle Feb 10, 2026
12 of 13 checks passed
f->flush(rdata);
sstrm.str("");
} else {
get_gw_listeners(f.get(), group_key);
Copy link
Member

Choose a reason for hiding this comment

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

I'm puzzled how this PR was merged. The original PR has a change to

https://github.com/ceph/ceph/pull/65689/changes#diff-d2ae0d1f6b17661070357fefa3bf0383f6cc7f8eb3b71e0d766e83dcb9c0a137

but it's not in this backport. It was eventually added in

https://github.com/ceph/ceph/pull/66958/changes#diff-2f2e236298d9c0243b1e81900cdf814f5b59ac934981200912642a1675355381

but that was done weeks later.

Copy link
Member Author

@VallariAg VallariAg Mar 15, 2026

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 <pdonnell@redhat.com>
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