forked from facebook/chef-cookbooks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BOR-449: fb_apt: Add
apt_update_strace_path
(#21)
## Description Add option to `fb_apt` to capture `strace` logs of `apt-get update` commands. There is no intent to upstream this. We can revert after we (hopefully) smash this bug! ## Context / Why are we making this change? Per our discussion today, because we haven't been able to reproduce this on 2 nodes running `apt update` in a loop, we're going to attempt to `strace` `apt-get update` in `fb_apt` on all nodes. ## Testing and QA Plan `image-tool test` ## Impact In this PR, none as it does nothing by default. In the follow-up PR, the impact will be some extra disk across all ChefNS nodes for the strace logs, slower Chef runs that run apt, and extra CPU for strace overhead.
- Loading branch information
Showing
3 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters