Skip to content

Added parallel light compose config#196

Merged
BrianSipos merged 5 commits intomainfrom
169-light-deployment
Jul 23, 2025
Merged

Added parallel light compose config#196
BrianSipos merged 5 commits intomainfrom
169-light-deployment

Conversation

@BrianSipos
Copy link
Copy Markdown
Collaborator

This refactors all ION to outside of ANMS project, with a volume mount on the host to share transport proxy socket between the ANMS and testenv projects.

Closes #169

@BrianSipos BrianSipos added this to the ANMS v2.0.0 milestone Jul 1, 2025
@BrianSipos BrianSipos requested a review from a team July 1, 2025 15:02
@BrianSipos BrianSipos self-assigned this Jul 1, 2025
@BrianSipos BrianSipos added this to ANMS Jul 1, 2025
@github-project-automation github-project-automation Bot moved this to Todo in ANMS Jul 1, 2025
@BrianSipos BrianSipos moved this from Todo to In Progress in ANMS Jul 1, 2025
Copy link
Copy Markdown
Contributor

@d-linko d-linko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After deploying the light-compose file the amp-manager's refdm-proxy.service fails with error:

Jul 09 18:39:11 amp-manager refdm-proxy[79]: 2025-07-09T18:39:11.858449 T:203002B3FFFF0000 <ERROR> [proxy_cli.c:82:cace_amp_proxy_cli_real_connect] Failed to connect socket /var/tmp/nm/proxy.sock with errno 111
Jul 09 18:39:21 amp-manager refdm-proxy[79]: 2025-07-09T18:39:21.862803 T:203002B3FFFF0000 <INFO> [proxy_cli.c:78:cace_amp_proxy_cli_real_connect] Connecting to socket /var/tmp/nm/proxy.sock
Jul 09 18:39:21 amp-manager refdm-proxy[79]: 2025-07-09T18:39:21.862940 T:203002B3FFFF0000 <ERROR> [proxy_cli.c:82:cace_amp_proxy_cli_real_connect] Failed to connect socket /var/tmp/nm/proxy.sock with errno 111
Jul 09 18:39:32 amp-manager refdm-proxy[79]: 2025-07-09T18:39:32.864997 T:203002B3FFFF0000 <INFO> [proxy_cli.c:78:cace_amp_proxy_cli_real_connect] Connecting to socket /var/tmp/nm/proxy.sock
Jul 09 18:39:32 amp-manager refdm-proxy[79]: 2025-07-09T18:39:32.865047 T:203002B3FFFF0000 <ERROR> [proxy_cli.c:82:cace_amp_proxy_cli_real_connect] Failed to connect socket /var/tmp/nm/proxy.sock with errno 111
Jul 09 18:39:44 amp-manager refdm-proxy[79]: 2025-07-09T18:39:44.870152 T:203002B3FFFF0000 <INFO> [proxy_cli.c:78:cace_amp_proxy_cli_real_connect] Connecting to socket /var/tmp/nm/proxy.sock
Jul 09 18:39:44 amp-manager refdm-proxy[79]: 2025-07-09T18:39:44.870236 T:203002B3FFFF0000 <ERROR> [proxy_cli.c:82:cace_amp_proxy_cli_real_connect] Failed to connect socket /var/tmp/nm/proxy.sock with errno 111
Jul 09 18:39:56 amp-manager systemd[1]: refdm-proxy.service: start operation timed out. Terminating.
Jul 09 18:39:56 amp-manager systemd[1]: refdm-proxy.service: Failed with result 'timeout'.
Jul 09 18:39:56 amp-manager systemd[1]: Failed to start refdm-proxy.service - REFDM with proxy SEQPACKET socket transport.

and the core is unable to communicate with the amp-manager.

I think this might be due not having the shared sockdir volume but not 100% sure that that is the fix

@d-linko
Copy link
Copy Markdown
Contributor

d-linko commented Jul 10, 2025

I just pushed changes that updated the sockdir to an external volume. Doing that fixed the proxy.service error and I was able to roundtrip sending a command to an agent from core and receive the report back

@BrianSipos
Copy link
Copy Markdown
Collaborator Author

I just pushed changes that updated the sockdir to an external volume. Doing that fixed the proxy.service error and I was able to roundtrip sending a command to an agent from core and receive the report back

Unfortunately doing this only works if the BP node is also running in a container to access the volume. The filesystem mount is needed to isolate the ANMS from whatever provides the socket, in a container or not. I will add an env variable to set the FS path with a default for system and override for test operation.

@BrianSipos BrianSipos requested a review from a team July 22, 2025 20:26
Comment thread README.md
Comment thread create_volume.sh
Comment thread docker-compose.yml
Comment thread docker-compose.yml
@sonarqubecloud
Copy link
Copy Markdown

@BrianSipos BrianSipos merged commit 62dc15e into main Jul 23, 2025
9 checks passed
@BrianSipos BrianSipos deleted the 169-light-deployment branch July 23, 2025 18:35
@github-project-automation github-project-automation Bot moved this from In Progress to Done in ANMS Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Provide a "light" deployment

3 participants