ppc64le: Fix hotplug issue#1186
Conversation
|
/test |
| coreID := fmt.Sprintf("%d", hc.Properties.Core) | ||
| threadID := fmt.Sprintf("%d", hc.Properties.Thread) | ||
|
|
||
| // If CPU type pseries, we do not set socketID and threadID |
There was a problem hiding this comment.
Nit: I'd say "IBM pSeries" as wikipedia tells me there are atleast two other hardware platforms with this name so it doesn't hurt to be specific ;)
|
lgtm But let's get feedback from @markdryan on his chosen approach... |
|
I'm happy with the govmm patch and will merge as soon as the travis builds pass. Note you should probably revendor govmm in this PR, otherwise the PR isn't actually going to fix #1155 |
|
Updated my PR. |
| "github.com/containernetworking/plugins/pkg/ns", | ||
| "github.com/dlespiau/covertool/pkg/cover", | ||
| "github.com/docker/go-units", | ||
| "github.com/firecracker-microvm/firecracker-go-sdk", |
There was a problem hiding this comment.
uhmm I wonder why this was removed
cc @mcastelino
There was a problem hiding this comment.
@nitkon did this get removed automatically. Is it possible the vendoring tool is not picking up the firecracker dependency properly.
We do use the swagger generated files from the firecracker-go-sdk
There was a problem hiding this comment.
Ok. I think I have an explanation for this but still need to test this PR.
In fc.go we only use the generated files
"github.com/firecracker-microvm/firecracker-go-sdk/client"
models "github.com/firecracker-microvm/firecracker-go-sdk/client/models"
ops "github.com/firecracker-microvm/firecracker-go-sdk/client/operations"
The files that are getting deleted are under github.com/firecracker-microvm/firecracker-go-sdk, which I think are not used by fc.go or its dependencies. (I will verify).
Somehow the vendoring tool did not do the right thing when I vendored the code and is now doing the right set of files.
Let me retest and confirm.
| packages = ["qemu"] | ||
| pruneopts = "NUT" | ||
| revision = "737f03de595e216116264cc74a58e5f2a1df789a" | ||
| revision = "78d079db6d1f3e32e3ed7578a54baa6257b058a7" |
ppc64le qemu does not need threadID and socketID parameters when hotplugging. Fixes: kata-containers#1155 Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
Shortlog: 78d079d Merge pull request kata-containers#84 from nitkon/master 4692f6b qmp: Conditionally pass threadID and socketID when CPU device add b9c8f76 Merge pull request kata-containers#85 from markdryan/fix-travis 1f51b43 Update the versions of Go used to build GoVMM ad310f9 Fix staticcheck S1023 932fdc7 Fix staticcheck S1023 cb2ce93 Fix staticcheck S1008 f0172cd Fix staticcheck (S1002) 5f2e630 Fix staticcheck (S1025) 4beea51 Fix staticcheck (ST1005) errors Fixes: kata-containers#1155 Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
|
/retest |
|
Jenkins metrics is failing ... ARM CI is failing due to |
|
Adding dnm label as we need to get input from @mcastelino about the firecracker files being deleted here. They were added on #1044 fwics. |
|
Metrics CI we are aware of - I'm working on why the values have 'shifted'. I'll adjust the bounds soon so we stop failing (but we still need to understand why things moved). See: kata-containers/ci#102 |
|
@grahamwhaley @Pennyzct : ARM CI still fails ... |
|
ARM CI looks like it may be failing for a different reason? |
|
I've added the ARM CI breaking to the CI status page |
|
@nitkon can we merge this? |
|
@devimc: Sure. |
|
@grahamwhaley @nitkon Sorry for the keeping failing, there exited some bugs on unit tests under |
|
I'm going to merge this as the change is ppc64le-specific but we also have CI assurances it works for atleast one other arch... |
|
Thanks @Pennyzct - let's keep the ARM CI active for the moment and see if we can fix the errors. The ARM CI is listed as failing on the CI Status page, so folks can check its status etc. |
|
Hi~ @grahamwhaley thanks for updating the ARM CI status. I have already fired a PR to fix related issues. ;). |
ppc64le qemu does not need threadID and
socketID parameters when hotplugging.
Fixes: #1155
Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com