demon: ImageService.Mount: use structured logs#48770
Merged
vvoland merged 1 commit intomoby:masterfrom Oct 28, 2024
Merged
Conversation
Before this patch:
DEBU[2024-10-26T15:51:12.666160042Z] stat snapshot key="sha256:12660636fe55438cc3ae7424da7ac56e845cdb52493ff9cf949c47a7f57f8b43"
DEBU[2024-10-26T15:51:12.669595334Z] prepare snapshot key=7e947822249514b6239657a0c54d091d90e0fed4b09da472f3f6258f2b4920bc-init-key parent="sha256:12660636fe55438cc3ae7424da7ac56e845cdb52493ff9cf949c47a7f57f8b43"
DEBU[2024-10-26T15:51:12.678485001Z] commit snapshot key=7e947822249514b6239657a0c54d091d90e0fed4b09da472f3f6258f2b4920bc-init-key name=7e947822249514b6239657a0c54d091d90e0fed4b09da472f3f6258f2b4920bc-init
DEBU[2024-10-26T15:51:12.679995167Z] prepare snapshot key=7e947822249514b6239657a0c54d091d90e0fed4b09da472f3f6258f2b4920bc parent=7e947822249514b6239657a0c54d091d90e0fed4b09da472f3f6258f2b4920bc-init
DEBU[2024-10-26T15:51:12.681101209Z] get snapshot mounts key=7e947822249514b6239657a0c54d091d90e0fed4b09da472f3f6258f2b4920bc
DEBU[2024-10-26T15:51:12.681547126Z] container mounted via snapshotter: /var/lib/docker/rootfs/overlayfs/7e947822249514b6239657a0c54d091d90e0fed4b09da472f3f6258f2b4920bc container=7e947822249514b6239657a0c54d091d90e0fed4b09da472f3f6258f2b4920bc
...
With this patch:
DEBU[2024-10-26T16:43:40.724448597Z] stat snapshot key="sha256:12660636fe55438cc3ae7424da7ac56e845cdb52493ff9cf949c47a7f57f8b43"
DEBU[2024-10-26T16:43:40.728187889Z] prepare snapshot key=3d6442ad828a043c5bd3a466aae17946da9df9c89d5aeeb7b5af160491e8a6fa-init-key parent="sha256:12660636fe55438cc3ae7424da7ac56e845cdb52493ff9cf949c47a7f57f8b43"
DEBU[2024-10-26T16:43:40.734372930Z] commit snapshot key=3d6442ad828a043c5bd3a466aae17946da9df9c89d5aeeb7b5af160491e8a6fa-init-key name=3d6442ad828a043c5bd3a466aae17946da9df9c89d5aeeb7b5af160491e8a6fa-init
DEBU[2024-10-26T16:43:40.735592180Z] prepare snapshot key=3d6442ad828a043c5bd3a466aae17946da9df9c89d5aeeb7b5af160491e8a6fa parent=3d6442ad828a043c5bd3a466aae17946da9df9c89d5aeeb7b5af160491e8a6fa-init
DEBU[2024-10-26T16:43:40.736778055Z] get snapshot mounts key=3d6442ad828a043c5bd3a466aae17946da9df9c89d5aeeb7b5af160491e8a6fa
DEBU[2024-10-26T16:43:40.737387847Z] container mounted via snapshotter container=3d6442ad828a043c5bd3a466aae17946da9df9c89d5aeeb7b5af160491e8a6fa root=/var/lib/docker/rootfs/overlayfs/3d6442ad828a043c5bd3a466aae17946da9df9c89d5aeeb7b5af160491e8a6fa snapshotter=overlayfs
...
And for graphdrivers:
DEBU[2024-10-26T16:51:21.612155255Z] container mounted via layerStore container=a339b74e0d90fc31dea2b79ba7478a0acf4172e6d7bc11ee4a0053531fa5455f storage-driver=overlay2 root=/var/lib/docker/overlay2/35132769364e5d139d8e52f5b6e3d6a8826649c9ad99b843199b3525645f52d2/merged
DEBU[2024-10-26T16:51:21.620449046Z] attach: stdout: begin
DEBU[2024-10-26T16:51:21.620482380Z] attach: stderr: begin
DEBU[2024-10-26T16:51:21.622254796Z] container mounted via layerStore container=a339b74e0d90fc31dea2b79ba7478a0acf4172e6d7bc11ee4a0053531fa5455f storage-driver=overlay2 root=/var/lib/docker/overlay2/35132769364e5d139d8e52f5b6e3d6a8826649c9ad99b843199b3525645f52d2/merged
...
Signed-off-by: Sebastiaan van Stijn <[email protected]>
vvoland
approved these changes
Oct 28, 2024
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before this patch:
With this patch:
And for graphdrivers:
- A picture of a cute animal (not mandatory but encouraged)