clh: update CLH to stable/v0.5.x #2487
clh: update CLH to stable/v0.5.x #2487
Conversation
/test-ch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides the kernel cmdline typo, I'd appreciate if this could be done in 2 separate commits: One for the client package update, and another one for the ro fixes.
virtcontainers/clh.go
Outdated
@@ -120,6 +120,7 @@ var clhKernelParams = []Param{ | |||
{"no_timer_check", ""}, // do not check broken timer IRQ resources | |||
{"noreplace-smp", ""}, // do not replace SMP instructions | |||
{"agent.log_vport", fmt.Sprintf("%d", vSockLogsPort)}, // tell the agent where to send the logs | |||
{"rootflags", "data=ordered,errors=remount -ro ro"}, // mount the root filesystem as readonly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: remount -ro
should be remount-ro
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sameo Thanks for correcting me. Just being updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sameo Just separate the two commits. Any other comments are appreciated. Thanks.
48f1072
to
c98790c
Compare
cloud-hypervisor.yaml
cloud-hypervisor.yaml
/test-clh |
/test-ubuntu |
c98790c
to
8529af0
Compare
/test-clh |
@@ -5,9 +5,13 @@ | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**Path** | **string** | | | |||
**Readonly** | **bool** | | [optional] [default to true] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we agreed this shouldn't default to true.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes this needs to be fixed from CH directly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, this is fixed now. @likebreath You probaly want to fix accordingly.
8529af0
to
0539cb6
Compare
/test-clh |
/test-ubuntu |
@likebreath Travis is failing with |
@amshinde Thanks for pointing this out. Yes, I am looking at the same failure. I am wondering do I need to put |
You need a Fixes in at least one commit. You can have multiple different ones if you need across multiple commits (but generally we go with one-PR fixes one-Issue, generally) |
b6a992b
to
da5daf3
Compare
/test-clh |
/test-ubuntu |
da5daf3
to
e49166a
Compare
/test-clh |
/test-ubuntu |
cloud-hypervisor.yaml
/test-clh |
e49166a
to
6036b8a
Compare
/test-clh |
/test-ubuntu |
6036b8a
to
d36bfaa
Compare
/test-clh |
/test-ubuntu |
Codecov Report
@@ Coverage Diff @@
## master #2487 +/- ##
==========================================
+ Coverage 45.63% 51.07% +5.44%
==========================================
Files 114 114
Lines 16219 16220 +1
==========================================
+ Hits 7401 8285 +884
+ Misses 8001 6919 -1082
- Partials 817 1016 +199 |
d36bfaa
to
12d10eb
Compare
/test-clh |
/test-ubuntu |
Use CLH branch stable/v0.5.x, and also re-generate the openAPI client code with the new 'cloud-hypervisor.yaml'. Fixes: kata-containers#2488 Signed-off-by: Bo Chen <chen.bo@intel.com>
We leverage the new openAPI knobs from CLH to set readonly for disk image and we also pass kernel cmd to set guest root filesystem readonly. Signed-off-by: Bo Chen <chen.bo@intel.com>
Use CLH branch stable/v0.5.x, and also re-generate the openAPI client
code with the new 'cloud-hypervisor.yaml'.
Fixes: #2488
Signed-off-by: Bo Chen chen.bo@intel.com