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

linux deployment - set agent socket path #2500

Open
qrkourier opened this issue Oct 22, 2024 · 3 comments
Open

linux deployment - set agent socket path #2500

qrkourier opened this issue Oct 22, 2024 · 3 comments
Assignees

Comments

@qrkourier
Copy link
Member

qrkourier commented Oct 22, 2024

The Linux deployments place the agent's socket file in the default path which requires the admin to mount the filesystem namespace.

systemctl show -p MainPID --value ziti-controller.service \
| xargs -rIPID sudo nsenter --target PID --mount -- \
ziti agent stats

It will be a better experience if the agent's socket is reachable directly by the admin, e.g., after this issue is resolved:

sudo ziti agent stats --client-agent-addr /var/lib/ziti-controller/gops-agent.sock

Or, after this issue is resolved, simply:

sudo ziti agent stats
@qrkourier
Copy link
Member Author

qrkourier commented Oct 22, 2024

After some discussion in the linked issue #2499, the Linux deployments will use a socket filename that more closely resembles the default socket filename, e.g., gops-agent.1110840.sock:

  • /var/lib/ziti-controller/gops-agent.sock
  • /var/lib/ziti-router/gops-agent.sock

It's crucial the filename is predictable, or appears in a predictable location, so that orchestration/wrappers can self-configure

@qrkourier
Copy link
Member Author

blocked by #2502

@dovholuknf
Copy link
Member

this seems liek the sort of thing we can do later, no?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants