Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

mount: Log params and validate #171

Merged
merged 1 commit into from
Mar 21, 2018

Conversation

jodh-intel
Copy link
Contributor

Validate mount parameters where possible and log all parameters to help
debug scenarios where the client gRPC protocol is out-of-sync with the
agents (master) version.

Added a new test for mount().

Fixes #170.

Signed-off-by: James O. D. Hunt james.o.hunt@intel.com

Validate mount parameters where possible and log all parameters to help
debug scenarios where the client gRPC protocol is out-of-sync with the
agents (master) version.

Added a new test for `mount()`.

Fixes kata-containers#170.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
@jodh-intel
Copy link
Contributor Author

/cc @sboeuf, @devimc.

@sboeuf
Copy link

sboeuf commented Mar 15, 2018

Thanks for adding this necessary check here.
LGTM

@jodh-intel
Copy link
Contributor Author

CI failing due to another vendoring issue by the looks of it:

docker: Error response from daemon: OCI runtime create failed: rpc error: code = InvalidArgument desc = Unknown storage driver "": unknown.

That looks like the gRPC Storage.Driver is being handed the value of Storage.DriverOptions or similar.

/cc @sboeuf.

@sboeuf
Copy link

sboeuf commented Mar 15, 2018

@jodh-intel yeah we know we have to fix things first. All the PR on this repo are gonna fail until then.

@eadamsintel
Copy link

As an FYI this failed for me when I setup Kata containers from source on 3/16

@jodh-intel
Copy link
Contributor Author

@jodh-intel
Copy link
Contributor Author

Tests passing so this is ready for review.

@devimc
Copy link

devimc commented Mar 20, 2018

lgtm

@jodh-intel
Copy link
Contributor Author

@egernst, @bergwolf - ptal.

@sboeuf
Copy link

sboeuf commented Mar 21, 2018

@bergwolf @laijs PTAL

@bergwolf
Copy link
Member

bergwolf commented Mar 21, 2018

lgtm

Approved with PullApprove

@bergwolf bergwolf merged commit 93e2512 into kata-containers:master Mar 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants