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

Update machine setup docs #402

Closed

Conversation

pietroalbini
Copy link
Member

@Mark-Simulacrum
Copy link
Member

Mark-Simulacrum commented Mar 5, 2019

I believe the direction on setting up the attached disk are missing (i.e., how to mount, move docker, setup /tmp, etc.)

@Mark-Simulacrum
Copy link
Member

When trying to stand up a machine I was also unable to figure out how to view current logs beyond just literally running the command outside of systemd -- is there something I'm missing?

@Mark-Simulacrum
Copy link
Member

I also ran into trouble getting the crater image to actually start -- it turns out that if the version of the crater agent and server aren't in sync then it might not start; however, another agent that is already running on an older commit is fine. It feels like we need a version negotiation or something so that at least there's a better error than this: rust-lang/rust#58899 (comment) which is essentially impossible to debug.

@pietroalbini
Copy link
Member Author

I believe the direction on setting up the attached disk are missing (i.e., how to mount, move docker, setup /tmp, etc.)

I'll try to remember how to do that.

When trying to stand up a machine I was also unable to figure out how to view current logs beyond just literally running the command outside of systemd -- is there something I'm missing?

journalctl -u crater-agent should do the trick.

I also ran into trouble getting the crater image to actually start -- it turns out that if the version of the crater agent and server aren't in sync then it might not start; however, another agent that is already running on an older commit is fine. It feels like we need a version negotiation or something so that at least there's a better error than this: rust-lang/rust#58899 (comment) which is essentially impossible to debug.

Yeah, the problem is that a recent PR changed the protocol and I didn't deploy the changes yet. Version negotiation would be awesome indeed.

@Mark-Simulacrum
Copy link
Member

journalctl -u crater-agent should do the trick.

Unfortunately, it didn't. On crater-2, running that command ends with Nov 29 01:31:49 ip-172-30-0-241 systemd[1]: Starting Crater agent... which is quite long ago.

@Mark-Simulacrum
Copy link
Member

Hm, that does work on a freshly created machine, so I'm not sure what the problem is.

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

Successfully merging this pull request may close these issues.

2 participants