-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stop logging
cloud_init_bytes
in sled-agent (#6439)
aka "want sled-agent to stop screaming at base64 floppy disks" Fixes #6387. 1. Create a `NoDebug` wrapper struct for this purpose in omicron-common. (Note that the OpenAPI schema for sled-agent does not change; schemars seems to honor `#[serde(transparent)]`.) 2. Apply `NoDebug` inside the `cloud_init_bytes` `Option`. Thus we log everything else about the instance hardware, and whether or not there is cidata, but not the cidata itself. 3. Demote an INFO-level log of the Propolis client's `InstanceEnsureRequest` to DEBUG.
- Loading branch information
Showing
3 changed files
with
30 additions
and
4 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