Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime: Fix firecracker config #1002

Merged

Conversation

jodh-intel
Copy link
Contributor

@jodh-intel jodh-intel commented Oct 20, 2020

The build was setting a FCVALIDPATHS variable for firecracker, but
that was never being used. Conversely, the firecracker configuration
template was expecting a FCVALIDHYPERVISORPATHS, but that variable was
never being set.

Resolve by only setting the FCVALIDHYPERVISORPATHS variable to ensure
the generated firecracker config is valid once again.

Fixes: #1001.

Signed-off-by: James O. D. Hunt [email protected]

Simplify definition of the `CLHVALIDHYPERVISORPATHS` build variable to
use the already defined `CLHPATH`.

Signed-off-by: James O. D. Hunt <[email protected]>
The build was setting a `FCVALIDPATHS` variable for firecracker, but
that was never being used. Conversely, the firecracker configuration
template was expecting a `FCVALIDHYPERVISORPATHS`, but that variable was
never being set.

Resolve by only setting the `FCVALIDHYPERVISORPATHS` variable to ensure
the generated firecracker config is valid once again.

Fixes: kata-containers#1001.

Signed-off-by: James O. D. Hunt <[email protected]>
@jodh-intel jodh-intel changed the title 2.0 dev unbreak fc config runtime: Fix firecracker config Oct 20, 2020
@jodh-intel
Copy link
Contributor Author

/test

Copy link
Member

@fidencio fidencio left a comment

Choose a reason for hiding this comment

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

lgtm, thanks @jodh-intel!

@jodh-intel
Copy link
Contributor Author

These fixes should get applied to kata-containers/runtime#3005 so this PR won't need to be backported to 1.x. However, it will need to be backported to the stable 2.0 branch in this repo.

I don't know who created the stable-2.0.0 branch (?), but it needs renaming to stable-2.0 to match all the other stable branches imho.

@bergwolf - do you know anything about this?

Copy link
Member

@c3d c3d left a comment

Choose a reason for hiding this comment

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

Ooops, my bad. Good catch.

c3d pushed a commit to c3d/runtime that referenced this pull request Oct 20, 2020
The build was setting a `FCVALIDPATHS` variable for firecracker, but
that was never being used. Conversely, the firecracker configuration
template was expecting a `FCVALIDHYPERVISORPATHS`, but that variable was
never being set.

Resolve by only setting the `FCVALIDHYPERVISORPATHS` variable to ensure
the generated firecracker config is valid once again.

Fixes: kata-containers#3005

From kata-containers/kata-containers#1002
Fixing kata-containers/kata-containers#1001

Signed-off-by: James O. D. Hunt <[email protected]>
Signed-off-by: Christophe de Dinechin <[email protected]>
@devimc
Copy link

devimc commented Oct 20, 2020

restarting clh CIs

c3d pushed a commit to c3d/runtime that referenced this pull request Oct 21, 2020
The build was setting a `FCVALIDPATHS` variable for firecracker, but
that was never being used. Conversely, the firecracker configuration
template was expecting a `FCVALIDHYPERVISORPATHS`, but that variable was
never being set.

Resolve by only setting the `FCVALIDHYPERVISORPATHS` variable to ensure
the generated firecracker config is valid once again.

Fixes: kata-containers#3005

From kata-containers/kata-containers#1002
Fixing kata-containers/kata-containers#1001

Signed-off-by: James O. D. Hunt <[email protected]>
Signed-off-by: Christophe de Dinechin <[email protected]>
c3d pushed a commit to c3d/runtime that referenced this pull request Oct 22, 2020
The build was setting a `FCVALIDPATHS` variable for firecracker, but
that was never being used. Conversely, the firecracker configuration
template was expecting a `FCVALIDHYPERVISORPATHS`, but that variable was
never being set.

Resolve by only setting the `FCVALIDHYPERVISORPATHS` variable to ensure
the generated firecracker config is valid once again.

Fixes: kata-containers#3005

From kata-containers/kata-containers#1002
Fixing kata-containers/kata-containers#1001

Signed-off-by: James O. D. Hunt <[email protected]>
Signed-off-by: Christophe de Dinechin <[email protected]>
@chavafg
Copy link
Contributor

chavafg commented Oct 23, 2020

/test-arm

@amshinde amshinde merged commit e833e3b into kata-containers:2.0-dev Oct 23, 2020
@amshinde
Copy link
Member

@jodh-intel Needs port to stable 2.0.0 branch.

c3d pushed a commit to c3d/runtime that referenced this pull request Oct 27, 2020
The build was setting a `FCVALIDPATHS` variable for firecracker, but
that was never being used. Conversely, the firecracker configuration
template was expecting a `FCVALIDHYPERVISORPATHS`, but that variable was
never being set.

Resolve by only setting the `FCVALIDHYPERVISORPATHS` variable to ensure
the generated firecracker config is valid once again.

Fixes: kata-containers#3005

From kata-containers/kata-containers#1002
Fixing kata-containers/kata-containers#1001

Signed-off-by: James O. D. Hunt <[email protected]>
Signed-off-by: Christophe de Dinechin <[email protected]>
c3d pushed a commit to c3d/runtime that referenced this pull request Nov 5, 2020
The build was setting a `FCVALIDPATHS` variable for firecracker, but
that was never being used. Conversely, the firecracker configuration
template was expecting a `FCVALIDHYPERVISORPATHS`, but that variable was
never being set.

Resolve by only setting the `FCVALIDHYPERVISORPATHS` variable to ensure
the generated firecracker config is valid once again.

Fixes: kata-containers#3005

From kata-containers/kata-containers#1002
Fixing kata-containers/kata-containers#1001

Signed-off-by: James O. D. Hunt <[email protected]>
Signed-off-by: Christophe de Dinechin <[email protected]>
c3d pushed a commit to c3d/runtime that referenced this pull request Nov 10, 2020
The build was setting a `FCVALIDPATHS` variable for firecracker, but
that was never being used. Conversely, the firecracker configuration
template was expecting a `FCVALIDHYPERVISORPATHS`, but that variable was
never being set.

Resolve by only setting the `FCVALIDHYPERVISORPATHS` variable to ensure
the generated firecracker config is valid once again.

Fixes: kata-containers#3005

From kata-containers/kata-containers#1002
Fixing kata-containers/kata-containers#1001

Signed-off-by: James O. D. Hunt <[email protected]>
Signed-off-by: Christophe de Dinechin <[email protected]>
fidencio pushed a commit to fidencio/kata-runtime that referenced this pull request Nov 11, 2020
The build was setting a `FCVALIDPATHS` variable for firecracker, but
that was never being used. Conversely, the firecracker configuration
template was expecting a `FCVALIDHYPERVISORPATHS`, but that variable was
never being set.

Resolve by only setting the `FCVALIDHYPERVISORPATHS` variable to ensure
the generated firecracker config is valid once again.

Fixes: kata-containers#3005

From kata-containers/kata-containers#1002
Fixing kata-containers/kata-containers#1001

Signed-off-by: James O. D. Hunt <[email protected]>
Signed-off-by: Christophe de Dinechin <[email protected]>
fidencio pushed a commit to fidencio/kata-runtime that referenced this pull request Nov 11, 2020
The build was setting a `FCVALIDPATHS` variable for firecracker, but
that was never being used. Conversely, the firecracker configuration
template was expecting a `FCVALIDHYPERVISORPATHS`, but that variable was
never being set.

Resolve by only setting the `FCVALIDHYPERVISORPATHS` variable to ensure
the generated firecracker config is valid once again.

Fixes: kata-containers#3005

From kata-containers/kata-containers#1002
Fixing kata-containers/kata-containers#1001

Signed-off-by: James O. D. Hunt <[email protected]>
Signed-off-by: Christophe de Dinechin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix generation of firecracker config
6 participants