This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 111
agent hangs using kernel 4.14.36+ #278
Comments
@jcvenegas I agree with 1 and 2, but about 3, I thought this was not working (adding |
jcvenegas
added a commit
to jcvenegas/agent
that referenced
this issue
Jun 26, 2018
Using random char generation at early boot may slow the process due to low entropy. Also from kernel 4.14.36 rand call hangs due to low-entropy. Lets remove decency on rand at early sandbox creation. Fixes: kata-containers#278 Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
@jcvenegas Sounds good. I had added the randomness in case more than one namespace needed to be created of the same type. But that is not required as of now. |
jcvenegas
added a commit
to jcvenegas/agent
that referenced
this issue
Jun 26, 2018
Using random char generation at early boot may slow the process due to low entropy. Also from kernel 4.14.36 rand call hangs due to low-entropy. Lets remove dependency on rand at early sandbox creation. Fixes: kata-containers#278 Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
jcvenegas
added a commit
to jcvenegas/agent
that referenced
this issue
Jun 26, 2018
Using random char generation at early boot may slow the process due to low entropy. Also from kernel 4.14.36 rand call hangs due to low-entropy. Lets remove dependency on rand at early sandbox creation. Depends-on:github.com/kata-containers/runtime#436 Fixes: kata-containers#278 Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
jcvenegas
added a commit
to jcvenegas/agent
that referenced
this issue
Jun 26, 2018
Using random char generation at early boot may slow the process due to low entropy. Also from kernel 4.14.36 rand call hangs due to low-entropy. Lets remove dependency on rand at early sandbox creation. Depends-on: github.com/kata-containers/runtime#436 Fixes: kata-containers#278 Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
jcvenegas
added a commit
to jcvenegas/agent
that referenced
this issue
Jun 26, 2018
Using random char generation at early boot may slow the process due to low entropy. Also from kernel 4.14.36 rand call hangs due to low-entropy. Lets remove dependency on rand at early sandbox creation. Depends-on: github.com/kata-containers/runtime#436 Depends-on: github.com/kata-containers/tests#443 Fixes: kata-containers#278 Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
jcvenegas
added a commit
to jcvenegas/agent
that referenced
this issue
Jun 26, 2018
Using random char generation at early boot may slow the process due to low entropy. Also from kernel 4.14.36 rand call hangs due to low-entropy. Lets remove dependency on rand at early sandbox creation. Fixes: kata-containers#278 Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
jshachm
pushed a commit
to jshachm/agent
that referenced
this issue
Nov 22, 2018
Using random char generation at early boot may slow the process due to low entropy. Also from kernel 4.14.36 rand call hangs due to low-entropy. Lets remove dependency on rand at early sandbox creation. Fixes: kata-containers#278 Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description of problem
When we try to use kata with the latest kata 4.14.x. The container creation hangs at
create
command.Expected result
The agent can be created with a new kernel
Actual result
The kata containers master fails to create kata. This does not happend to kata 1.0.0
Looking to the cause of the issue grpc request
CreateSandbox
never finish. This is due to the agent in early versions create a nspath usingrand
golang module https://github.com/kata-containers/agent/blob/master/namespace.go#L52.rand
is failing not returning due to the low-entropy. This is related to https://github.com/kata-containers/agent/blob/master/namespace.go#L52 as pointed in linuxkit/linuxkit#3032.For this issue I think we should split in two:
The text was updated successfully, but these errors were encountered: