Skip to content

api: new mount type "introspection"#1642

Closed
AkihiroSuda wants to merge 1 commit intomoby:masterfrom
AkihiroSuda:add-introspection-mount
Closed

api: new mount type "introspection"#1642
AkihiroSuda wants to merge 1 commit intomoby:masterfrom
AkihiroSuda:add-introspection-mount

Conversation

@AkihiroSuda
Copy link
Member

This mount type will be used for implementing "introspection" mount that allows you to introspect the
metadata about the container from the container itself, via a procfs-like filesystem.
(moby/moby#26331)

Signed-off-by: Akihiro Suda [email protected]

@AkihiroSuda
Copy link
Member Author

@AkihiroSuda
Copy link
Member Author

AkihiroSuda commented Oct 14, 2016

CI failure seems unrelated #1643

$ cd "$WORKDIR" && make ci
🐳 fmt
🐳 bin/swarmd
🐳 bin/swarmctl
🐳 bin/swarm-bench
🐳 bin/protoc-gen-gogoswarm
🐳 binaries
🐳 vet
🐳 lint
agent/exec/controller_test.go:347:1: context.Context should be the first parameter of a function
make: *** [lint] Error 1

cd "$WORKDIR" && make ci returned exit code 2

@AkihiroSuda AkihiroSuda force-pushed the add-introspection-mount branch from a1ecdae to 6e15c6e Compare October 18, 2016 01:40
@aaronlehmann
Copy link
Collaborator

@AkihiroSuda: If you rebase, CI should pass.

ping @stevvooe for protobuf review

@stevvooe
Copy link
Contributor

We need to decide whether the current INTROSPECTION api is what we want in docker before merging this. Relevant conversation in moby/moby#26331.

Other than that, this looks like the right structure. I would add a comment that introspection doesn't have any options.

@codecov-io
Copy link

codecov-io commented Oct 22, 2016

Codecov Report

Merging #1642 into master will increase coverage by 1.53%.

@@            Coverage Diff             @@
##           master    #1642      +/-   ##
==========================================
+ Coverage   53.62%   55.15%   +1.53%     
==========================================
  Files         107       97      -10     
  Lines       18403    15481    -2922     
==========================================
- Hits         9868     8539    -1329     
+ Misses       7319     5811    -1508     
+ Partials     1216     1131      -85

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 40647d3...99ee7b7. Read the comment docs.

@AkihiroSuda AkihiroSuda force-pushed the add-introspection-mount branch from 6e15c6e to 2a19823 Compare November 8, 2016 15:01
@AkihiroSuda
Copy link
Member Author

Rebased and improved the comment

@AkihiroSuda
Copy link
Member Author

Test failure seems unrelated

https://circleci.com/gh/docker/swarmkit/5403

--- FAIL: TestPromoteDemote (66.66s)
    Error Trace:    integration_test.go:229
            integration_test.go:251
    Error:      Received unexpected error error stop manager meequidxvxjmu8mq88rwfb27a: context deadline exceeded

This mount type will be used for implementing "introspection" mount that allows you to introspect the
metadata about the container from the container itself, via a procfs-like filesystem.
(moby/moby#26331)

Signed-off-by: Akihiro Suda <[email protected]>
@AkihiroSuda AkihiroSuda force-pushed the add-introspection-mount branch from 3aa3156 to 99ee7b7 Compare January 23, 2017 09:08
@AkihiroSuda
Copy link
Member Author

Closing until we fix the design in moby/moby#26331

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants