Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
achimnol opened this issue Oct 19, 2023 · 1 comment
Open

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

achimnol opened this issue Oct 19, 2023 · 1 comment
Labels
comp:agent Related to Agent component urgency:3 Must be finished within a certain time frame.
Milestone

Comments

@achimnol
Copy link
Member

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.

@achimnol achimnol added type:bug Reports about that are not working comp:agent Related to Agent component urgency:3 Must be finished within a certain time frame. labels Oct 19, 2023
@achimnol achimnol added this to the 23.09 milestone Oct 19, 2023
@achimnol
Copy link
Member Author

achimnol commented Nov 2, 2023

This will be applied in #1560.

@achimnol achimnol removed the type:bug Reports about that are not working label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:agent Related to Agent component urgency:3 Must be finished within a certain time frame.
Projects
None yet
Development

No branches or pull requests

1 participant