Repository navigation
mgr/cephadm: Add degraded namespace flag to NVMEoF spec file - #69632
Conversation
There was a problem hiding this comment.
Pull request overview
This PR extends Ceph’s cephadm NVMeoF service support by adding a new spec/config option (degrade_namespace_on_kmip_error) and wiring it through to the generated ceph-nvmeof.conf, along with updating unit-test expectations accordingly.
Changes:
- Add
degrade_namespace_on_kmip_errortoNvmeofServiceSpec(init + validation). - Render the new option into the NVMeoF gateway config template.
- Update NVMeoF service tests to expect the new config line.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/python-common/ceph/deployment/service_spec.py | Adds the new NVMeoF spec field and validates it. |
| src/pybind/mgr/cephadm/templates/services/nvmeof/ceph-nvmeof.conf.j2 | Emits the new flag into the generated gateway config. |
| src/pybind/mgr/cephadm/tests/services/test_nvmeof.py | Updates expected config output in tests to include the new flag. |
|
This is an automated message by src/script/redmine-upkeep.py. I found one or more
The referenced tickets are: Those tickets do not reference this merged Pull Request. If this Pull Request merge resolves any of those tickets, please update the "Pull Request ID" field on each ticket. A future run of this script will appropriately update them. |
mgr/cephadm: Add degraded namespace flag to NVMEoF spec file
Fixes: https://tracker.ceph.com/issues/77556
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.