network: Remove grpc AddInterface and RemoveInterface api#457
network: Remove grpc AddInterface and RemoveInterface api#457sboeuf merged 1 commit intokata-containers:masterfrom
Conversation
|
/test |
|
Since I assume |
|
I need to fix this PR by removing unused mock code as well.
I dont really think we need to wait for 2.0 for this, as this change really does not break anything. The functions although present in the API, they are not used anywhere. |
|
@jon may have input on this (see kata-containers/documentation#196). |
d714484 to
6fc1818
Compare
|
/retest |
|
@amshinde ping any update on this.? I like the PR but, still see some jobs failing. |
|
I see an unrelated java.io.EOFException for the metrics job, I'll restart that. Similarly, I see unrelated failure for the firecracker one. Is the fircracker CI supposed to pass? |
|
@amshinde no the Firecracker CI is being affected by the kernel issue kata-containers/runtime#1203 so I will disable it |
|
thanks @GabyCT |
|
@amshinde now the CI of firecracker is working as I change it from using Ubuntu to Centos (which is using a kernel that is not broken with vsocks) |
|
ooi @GabyCT - is that because the Centos kernel is old (did not get the vsock breaking patch), or is very new and updated (has the patch of a patch that fixes the broken vsocks again) ? |
|
@grahamwhaley the kernel is very old |
|
@amshinde @GabyCT @grahamwhaley what's the status on this? Is it okay to move forward and merge this PR without having FC CI passing? @amshinde As you mentioned, this won't break anything, so let's move forward with it. |
|
@sboeuf , I enable the FC with centos and it is working if we want the whole CI running this PR needs to be pushed again |
|
@GabyCT I could manually retrigger the FC job, right? Any reason that would prevent me from doing this? |
|
@sboeuf , I do not think that is able just to re-trigger the job as it does not find |
|
Oh sorry I missed the fact that you recently moved FC testing from ubuntu to centos because of the vsock regression in recent ubuntu kernels... @amshinde could you please repush so that it will trigger proper CI? |
|
/test |
|
just ignore the old dead ubuntu fc one, and watch the new shiny centos fc one ;-) |
These grpc APIs are not really used/called by the runtime. Remove this to clean the code. Fixes kata-containers#456 Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
6fc1818 to
ae9ce6e
Compare
|
/test |
|
cool! let's see how this goes and I'll merge if all green :) |
|
@jodh-intel @grahamwhaley PTAL |
Re-vendored the agent to access the new `StartTracing()` and
`StopTracing()` gRPC APIs.
Changes introduced:
d8813c1 release: Kata Containers 1.6.0
f64fe3c docs: Don't mention runtime guest kernel CLI for agent tracing
58fcce0 docs: Simplify trace terminology
8b34866 release: Kata Containers 1.6.0-rc2
6bd0f7c tracing: Hide trace messages unless tracing enabled
00cf907 tracing: Add OpenTracing support
cbd0aae docs: Explain developer mode
0b7cae1 docs: Add debug options to README
5cc1df7 docs: Update README
4383dbf git: Don't ignore "agent"
ab3e2c7 api: Remove unused variables
30d98fe build: Indent ifeq test
46ec60a build: Remove tabs
272f273 service: Don't shutdown the VM when agent terminates
bbe06a4 agent: Properly stop the gRPC server
30bebf5 agent: increase the number of tries to online vcpus
d5e64f6 tests: Add test for cheking sysctls
1f9ac24 cpu: re-arrange code to reduce cyclomatic complexity
4f249bf sysctl: Add complete sysctl support
94b601b release: Kata Containers 1.6.0-rc1
e6006cc CODEOWNERS: add group review trigger for proto file changes
42e664f mount: add virtio-fs mount driver
ae9ce6e network: Remove grpc AddInterface and RemoveInterface api
67b2559 cpuset: update parents with all cpus from guest.
201c487 cgroup: ignore cpuset if can not be applied.
00f0cf9 pullapprove: remove it
44d8478 ci: Add a CODEOWNERS file for github ack checks
0cb5f22 agent: refine unit test for func GetGuestDetails
96d7acb agent: add interface memHotplugByProbe for memory hotplug
6007523 agent: add memory hotplug probe interface check in GetGuestDetails
b4dae5c release: Kata Containers 1.5.0
56a779e release: Kata Containers 1.5.0-rc2
Note: this change required removing the `AddInterface()` and `RemoveInterface()` implementations
(removed from the agent on kata-containers/agent#457).
Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
Re-vendored the agent to access the new `StartTracing()` and
`StopTracing()` gRPC APIs.
Changes introduced:
00cf907 tracing: Add OpenTracing support
cbd0aae docs: Explain developer mode
0b7cae1 docs: Add debug options to README
5cc1df7 docs: Update README
4383dbf git: Don't ignore "agent"
ab3e2c7 api: Remove unused variables
30d98fe build: Indent ifeq test
46ec60a build: Remove tabs
272f273 service: Don't shutdown the VM when agent terminates
bbe06a4 agent: Properly stop the gRPC server
30bebf5 agent: increase the number of tries to online vcpus
d5e64f6 tests: Add test for cheking sysctls
1f9ac24 cpu: re-arrange code to reduce cyclomatic complexity
4f249bf sysctl: Add complete sysctl support
94b601b release: Kata Containers 1.6.0-rc1
e6006cc CODEOWNERS: add group review trigger for proto file changes
42e664f mount: add virtio-fs mount driver
ae9ce6e network: Remove grpc AddInterface and RemoveInterface api
67b2559 cpuset: update parents with all cpus from guest.
201c487 cgroup: ignore cpuset if can not be applied.
00f0cf9 pullapprove: remove it
Note: this change required removing the `AddInterface()` and `RemoveInterface()` implementations
(removed from the agent on kata-containers/agent#457).
Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
Taking a look at the network code, I saw that the AddInterface and RemoveInterface APIs are not really used/called by the runtime.
Removing unused code.
Fixes #456
Signed-off-by: Archana Shinde archana.m.shinde@intel.com