direct ports are in DOWN state after attaching to PODs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kuryr-kubernetes |
Fix Released
|
Undecided
|
Danil Golov |
Bug Description
https:/
https:/
These two patches implement a SR-IOV functionality for kuryr-k8s. It allow to use direct neutron ports for PODs.
Problem:
After POD is in Running state, direct neutron ports remain in DOWN state, that is wrong behaviour. However it doesn't causes any problems with functionality of these ports.
Decision:
There are some ways to fix this problem:
1. Make some changes in sriov-nic-agent that should be installed in all worker nodes that use SR-IOV functionality to handle all used VFs (both attached to VMs and PODs). It allows to change status of ports to BUILD.
2. Kuryr-k8s-
2.1. Use CRD or annotations to pass information from worker nodes to master
2.2. Change device plugins to annotate master
Changed in kuryr-kubernetes: | |
assignee: | nobody → Danil Golov (d.golov) |
status: | New → In Progress |
Reviewed: https:/ /review. opendev. org/642703 /git.openstack. org/cgit/ openstack/ kuryr-kubernete s/commit/ ?id=b0ce30142ec eca9ad8d5508e9e d54930c63d3817
Committed: https:/
Submitter: Zuul
Branch: master
commit b0ce30142ececa9 ad8d5508e9ed549 30c63d3817
Author: Danil Golov <email address hidden>
Date: Mon Mar 11 15:15:26 2019 +0300
Annotate nodes with pci info for direct ports
This commit allows to add pci information for direct
neutron ports attached to PODs into nodes annotations.
It happens on binding stage when pci information can
be requested.
Also this commit allows to delete annotations for such
ports when apropriate POD is deleted and VFs are returned
into host's network namespace.
For future commits: it is necessary to update neutron
ports with pci info when POD is in Running state.
Change-Id: I5ea8da6bb3143f d689e701f5e5034 88d4a6c9b33
Closes-Bug: 1818606
Signed-off-by: Danil Golov <email address hidden>