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

Rebase openshift/kuryr-kubernetes from https://opendev.org/openstack/kuryr-kubernetes #166

Merged
merged 33 commits into from Feb 20, 2020

Conversation

ghost
Copy link

@ghost ghost commented Feb 19, 2020

No description provided.

dulek and others added 30 commits January 20, 2020 17:05
Seems like AddHandler and DelHandler are not used by kuryr-daemon or CNI
code anymore and this commit gets rid of them.

Change-Id: I28f4a1b7d6b683d81970bf6a4cfb3fe6d95dfb90
There's no point to keep non-voting jobs on the gate pipeline and this
commit makes sure that OVN job there is voting.

Change-Id: I1fddc58d30e8d38f7922fe48f8e57453f82d72ef
The USE_SYSTEMD variable is to be dropped from devstack[0], as running
with systemd is the only option now. Drop it's usage in our plugin.

[0] https://review.opendev.org/703734

Change-Id: I79085c247f64cf52ad7d4ee66a775607491faa2f
OpenStackSDK is raising a SDKException when a subnet does not
exist, causing the controller to continuosly restart.
This commit protects from such scenario by ignoring when
such exception happens with certain message.

Closes-bug: 1861314

Change-Id: I82238280a2924f1979c5b0b99399c4570093b360
Implements: blueprint switch-to-openstacksdk
Change-Id: I5db29bcd65e5f97e1c94ee2d863e81cd63bf8d4a
Drivers nested_macvlan_vif and sriov have _get_port_request helper
method for generating payload used for port creation. There was
inconsistency in it's usage. In this patch we stright this up.

Implements: blueprint switch-to-openstacksdk
Change-Id: Iab77c0ba67d836c49f91aa9d896d47448e734e79
Route pods from openshift can be used instead and the code
is not being used/maintained.

Change-Id: I76448752ba07f4b30dbfa783c2ae99d46e730eaf
Support for OpenShift Routes (Ingress) is not maintained by anyone, not
really tested and there are better ways to do it, so let's remove that
code from Kuryr.

Support for namespace isolation was done to mimic one of the modes of
openshift-sdn. It doesn't seem to make any sense to keep supporting it
if Network Policy support can provide the same isolation.

Change-Id: I8cfb3c50f491a5dbbfe6fa20b81ee1d0f8c6b4a7
When a network policy is updated we compare all the existing sg rules
with the current sg rules in order to add/remove rules.
When there are existing rules repeated only the first occurence
of the rule is identified as to be kept, and the second one
is not, causing the rule on the current sg rules to not be created,
as it matches an existent sg rule that was not meant to be kept,
causing a breakage on the update NP CRD which does not allow sg rules
with no ID.

This commit fixes the issue by ensuring that no sg rule is repeated
on the NP CRD.

Closes-bug: 1861624

Change-Id: I5170e0177a87c2dde77f19f6a7ae09ca2a06c65e
NetworkPolicy can replicate what namespace isolation does (and much
more), so we are removing the code that is not needed

Change-Id: Ib79c21cb92c522744658a204001383b6c0e98846
Add DPDK support for nested K8s pods. Patch includes a new VIF driver on
the controller and a new CNI binding driver.

This patch introduces dependency from os-vif v.1.12.0, since there
a new vif type.

Change-Id: I6be9110192f524325e24fb97d905faff86d0cfef
Implements: blueprint nested-dpdk-support
Co-Authored-By: Kural Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Co-Authored-By: Marco Chiappero <marco.chiappero@intel.com>
Signed-off-by: Alexey Perevalov <a.perevalov@samsung.com>
Signed-off-by: Danil Golov <d.golov@samsung.com>
… not found"

This reverts commit 7691e94. The 0.41.0
version of openstacksdk is free of this issue. Also we still need to
keep the handle_neutron_errors for support of older openstacksdks.

Change-Id: I5bffda72cc8f1e348581ef38cb68cb8336e2af59
Recently, we switched almost all drivers and handlers within
kuryr-kubernetes to use OpenStackSDK client instead of neutron client.
In this change we propose to deprecate further usage of neutron client
in favor od openstacksdk-client.

Change-Id: Iea6c4c8a9181f3e2987fc28718c52fe1b230b931
With the removal of OpenShift Routes support we don't need permissions
to access it anymore. Same happens with Ingress resources.

Change-Id: I9ba464c9c485e4f186dd02763a6ef4c270df9e77
This commit adds information about required Kuryr Kubernetes user
permissions when RBAC is enabled to manual installation guide.

Change-Id: I6175350eff4a8f05b7fa9ba020ad129a455feacd
This commit enables basic support for IPv6 pod and service subnet. Also
two gates are added - an OVS and OVN one, both as non-voting at the
moment.

The DevStack changes are mostly about putting correct --ethertype on
SGs, using ip6tables and IPv6 subnetpool.

The Kuryr change required putting IPv6 address of K8s API in brackets.

Please note that this unblocks just the most basic use case, network
policy support will still not work with IPv6.

Depends-On: https://review.opendev.org/#/c/707103/
Implements: blueprint kuryr-ipv6-support
Change-Id: Id56b622a5038d8e5c072aa00a9f38a2418e6268f
@openshift-ci-robot openshift-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Feb 19, 2020
@openshift-ci-robot
Copy link

Hi @kuryr-bot. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Feb 19, 2020
@luis5tb luis5tb closed this Feb 19, 2020
@dulek dulek reopened this Feb 19, 2020
@dulek
Copy link
Contributor

dulek commented Feb 19, 2020

/ok-to-test

@openshift-ci-robot openshift-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Feb 19, 2020
@dulek
Copy link
Contributor

dulek commented Feb 19, 2020

/retest

Everything seems unrelated here.

@dulek
Copy link
Contributor

dulek commented Feb 19, 2020

/retest

@dulek
Copy link
Contributor

dulek commented Feb 20, 2020

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 20, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dulek, kuryr-bot

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 20, 2020
@openshift-merge-robot openshift-merge-robot merged commit 3aaa581 into openshift:master Feb 20, 2020
MaysaMacedo pushed a commit to MaysaMacedo/kuryr-kubernetes-1 that referenced this pull request Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants