Skip to content

Advice to make a custom worker Tree-capable #435

Closed
@mattaezell

Description

@mattaezell

I have a custom Worker class that inherits from DistantWorker. It works great with topology disabled, but when topology is enabled, it no longer works. It seems that the distant_worker is being called on each gateway with the command set to ClusterShell.Gateway -Bu. My worker doesn't exec the command, but it seems like that's what is expected here? It also appears that my worker is seeing some of the XML handshake for tree mode, and any output sent upstream isn't being properly wrapped in XML.

I know this is likely very cryptic without seeing my custom code, and I expect this is a use case that hasn't seen much interest. Any insights or pointers you could provide would be very much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions