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

Fix the Ansible playbook for dev-desktops #620

Merged
merged 4 commits into from
Oct 22, 2024
Merged

Conversation

jdno
Copy link
Member

@jdno jdno commented Oct 22, 2024

The Ansible playbook for the dev-desktops did not apply cleanly anymore after a few recent changes.

  • The latest minor version of the Datadog agent (7.57.x) fails to install with an unexpected end of file or stream error from dpkg.
  • After installing earlyoom in Add earlyoom to dev desktop #480, the Ansible playbook cannot be applied to staging anymore since earlyoom will kill the Rustup installer.
  • Debugging the installation step for Rust was quite painful. The inline script with multiple steps has been refactored into separate Ansible tasks, which makes this much better.
  • The previous Rustup version was from June 2021 and has been upgraded to the latest release.

The installation of versions 7.57.x fail due to an error unpacking the
software archive. Locking the version to the 7.56 release avoids this
problem for the time being, but we should figure out the actual cause
soon.
The previous iteration of the installation task executed an inline Bash
script that was hard to debug. A better approach is to execute the
individual steps of the script as separate Ansible tasks.
The staging instance is quite small and running the playbook fails
because earlyoom terminates its execution.
@MarcoIeni
Copy link
Member

MarcoIeni commented Oct 22, 2024

Another possiblity could be enabling earlyoom for processes ran by admins
Maybe this is possible from the config

@jdno jdno merged commit 03c2717 into master Oct 22, 2024
3 checks passed
@jdno jdno deleted the fix-dev-desktop-role branch October 22, 2024 12:54
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