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

Update data collection script based on review feedback #102

Merged

Conversation

jodh-intel
Copy link
Contributor

Implement review feedback from @devimc on #93.

  • Look for other runtime packages (Clear Containers and runv-based) in data collection script.
  • Fix bug where collect script was looking for Clear Containers images rather than Kata Containers ones.
  • Don't hard-code the architecture when looking for hypervisor packages.

Fixes #101.

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

Look for other runtime packages (Clear Containers and `runv`-based) in
data collection script.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
Fix bug where collect script was looking for Clear Containers images
rather than Kata Containers ones.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
Don't hard-code the architecture when looking for hypervisor packages.

Fixes kata-containers#101.

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

@grahamwhaley grahamwhaley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@devimc
Copy link

devimc commented Mar 22, 2018

lgtm

@jodh-intel
Copy link
Contributor Author

Hi @bergwolf, @laijs - ptal.

@bergwolf
Copy link
Member

bergwolf commented Mar 23, 2018

lgtm

Approved with PullApprove

@bergwolf bergwolf merged commit 003313c into kata-containers:master Mar 23, 2018
@amshinde amshinde removed the review label Mar 23, 2018
zklei pushed a commit to zklei/runtime that referenced this pull request Jun 13, 2019
Cleanup grpc.go in order to remove some unused variables.

Fixes kata-containers#102

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
zklei pushed a commit to zklei/runtime that referenced this pull request Jun 13, 2019
We have to lock the container creation since libcontainer expects
to reap the spawning process on its own.

Fixes kata-containers#102

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
zklei pushed a commit to zklei/runtime that referenced this pull request Jun 13, 2019
After the execProcess() detected that we are starting a container
because the proc pointer is nil, we have to assign this pointer to
the actual process held by the container structure, otherwise we end
up with some segmentation fault trying to access a nil pointer.

Fixes kata-containers#102

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
zklei pushed a commit to zklei/runtime that referenced this pull request Jun 13, 2019
With recent changes and in order to support the shim connection
after the container has been created, we need to initialize the
exit code channel and to setup the terminal from the container
creation step. StartContainer becomes a very simple function and
actually fits completely the expected libcontainer behavior.

Fixes kata-containers#102

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
zklei pushed a commit to zklei/runtime that referenced this pull request Jun 13, 2019
This commit fixes an error in our OCI spec converter implemented
into utils.go. Indeed, all pointers were allocated, even if the
"from" value was nil.

Fixes kata-containers#102

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
zklei pushed a commit to zklei/runtime that referenced this pull request Jun 13, 2019
This commit splits execProcess() function which was doing more than
only starting a process, into two more comprehensive functions.

Fixes kata-containers#102

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
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