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

Running agency with -d causes agents not to startup #32

Open
maetl opened this issue Feb 6, 2015 · 1 comment
Open

Running agency with -d causes agents not to startup #32

maetl opened this issue Feb 6, 2015 · 1 comment

Comments

@maetl
Copy link
Contributor

maetl commented Feb 6, 2015

agency -d behaves differently to agency when starting agents—agents never make it past the initial startup phase.

Steps to reproduce:

  1. Startup Smith using agency -d
  2. Start an agent with smithctl start {AgentName}
  3. The logs for that agent don’t go past Transition [state]: :checked -> :starting
  4. Running smithctl list -la shows the agent as starting with pid 0 and a date of 1970/01/01 10:00:00
  5. The starting agent remains in that state indefinitely and doesn’t time out.

When starting an agent with agency running in the foreground, this problem doesn’t happen.

@filterfish
Copy link
Owner

The agent tries to search the directory hierarchy from the current working directory for a config file but given that the agent has it's current working directory to / it can't find it.

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

No branches or pull requests

2 participants