Skip to content

node-proxy: fix NodeProxySpec deserialization from JSON - #69882

Merged
rkachach merged 1 commit into
ceph:mainfrom
guits:node-proxy-spec-fix
Jul 9, 2026
Merged

rkachach merged 1 commit into
ceph:mainfrom
guits:node-proxy-spec-fix

Conversation

@guits

@guits guits commented Jul 1, 2026 •

Copy link
Copy Markdown
Contributor

NodeProxySpec.init() only accepts service_type and placement, but ServiceSpec.from_json() passes all stored fields (ssl, certificate_source, unmanaged, ...)

This breaks 'ceph orch ls' after the mgr reloads a node-proxy spec.

This commit forwards the standard ServiceSpec parameters to the parent.

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

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)

@guits
guits requested a review from a team as a code owner July 1, 2026 13:50
@guits
guits force-pushed the node-proxy-spec-fix branch from 898ba9d to e3d69f4 Compare July 2, 2026 10:42
NodeProxySpec.__init__() only accepts service_type and placement,
but ServiceSpec.from_json() passes all stored fields (ssl,
certificate_source, unmanaged, ...)

This breaks 'ceph orch ls' after the mgr reloads a node-proxy spec.

This commit forwards the standard ServiceSpec parameters to the
parent.

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

Signed-off-by: Guillaume Abrioux <[email protected]>
@guits
guits force-pushed the node-proxy-spec-fix branch from e3d69f4 to 4288984 Compare July 2, 2026 15:47
@guits

guits commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

jenkins test api

1 similar comment
@rkachach

rkachach commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

jenkins test api

@rkachach

rkachach commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@rkachach
rkachach merged commit a46915d into ceph:main Jul 9, 2026
6 checks passed
@guits
guits deleted the node-proxy-spec-fix branch July 10, 2026 10:16
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.

3 participants