Skip to content

Add explicit ipc-base-path config to the agent watcher #1640

Open
@achimnol

Description

@achimnol

Although we are planning to implement a separate watcher framework, until then, we need to live with the single-module agent watcher.

It currently uses a hard-coded ipc-base-path /tmp/backend.ai/ipc, which is the default for other service daemons like storage-proxy, manager, etc.

The problem is that, after #1246, there are cases that agent + agent watcher runs together with storage-proxy, and if storage-proxy's ipc-base-path option is left as the default, storage-proxy may fail to initialize the logger socket when the agent watcher starts earlier and creates the ipc directory as the root privilege.

We need to teach the agent watcher to use a separate ipc-base-path configuration.In the meanwhile, we could explicitly configure storage-proxy's ipc-base-path to other than the default to workaround the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions