Hi again,
I've managed to launch some more basic tests today and it looks like my change doesn't fix this issue completely. It fixes creating network resources and they are created correctly (please see log below), however pods are having issues with creating sandbox due to multus issues. Nevertheless I think that pod sandbox issue may have root cause anchored somewhere else, so probably additional fix may be needed.
``` k8plugin logs:
2019/07/22 14:14:42 Generate MAC address
2019/07/22 14:14:42 ovn4nfvk8s_protected-private-net created
2019/07/22 14:14:42 Processing Kind: Network
2019/07/22 14:14:42 Processing file: /tmp/helm-tmpl-522893518/firewall/templates/unprotected-private-net.yaml-0
2019/07/22 14:14:42 Reading YAML file
2019/07/22 14:14:42 Decoding deployment YAML
2019/07/22 14:14:42 Generate MAC address
2019/07/22 14:14:42 ovn4nfvk8s_unprotected-private-net created
::1 - - [22/Jul/2019:14:14:41 +0000] "POST /v1/instance HTTP/1.1" 201 844
```
``` ovn ports status (previously logical switches were not created)
vagrant@multicloud"~/multicloud-k8s/kud/tests [0]$ ovn-nbctl --db tcp:$OVN_CENTRAL_ADDRESS lrp-list ovn4nfv-master
d5845420-25d9-4906-86c7-772cfee7abef (rtoj-ovn4nfv-master)
ccfd83e0-6b9f-43fb-aa54-1b7c5b462220 (rtos-onap-private-net)
9ad14ed7-ab33-479f-a336-cb9702e57daf (rtos-protected-private-net)
bee4790a-af0b-4f4f-9270-018e04e2a606 (rtos-unprotected-private-net)
```
``` pods status
vagrant@multicloud"~/multicloud-k8s/kud/tests [0]$ kubectl describe -n vfw-test pods test-sink-5 | tail -n 3
Normal SandboxChanged 3m28s (x12 over 4m46s) kubelet, minion02 Pod sandbox changed, it will be killed and re-created.
Warning FailedCreatePodSandBox 3m21s (x4 over 3m43s) kubelet, minion02 (combined from similar events): Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "525b3aae9d1c2fe4b778ec4efa65460aa5d867ac2593ead1d71c30fd87f715dd" network for pod "test-sink-5456988b6c-qq754": NetworkPlugin cni failed to set up pod "test-sink-5456988b6c-qq754_vfw-test" network: Multus: Err in loading K8s Delegates k8s args: Multus: Err in getting k8s network from pod: GetPodNetwork: failed getting the delegate: getKubernetesDelegate: failed to get network resource, refer Multus README.md for the usage guide: the server could not find the requested resource
```
--------- Original Message ---------
Sender : Łukasz Rajewski <[email protected]>
Date : 2019-07-22 16:00 (GMT+2)
Title : Re: Re: K8s in ONAP - DDF follow up
So I have reported it in here
https://jira.onap.org/browse/MULTICLOUD-731
Lukasz
|
On Mon, Jul 22, 2019 at 3:54 PM Konrad Banka <[email protected]> wrote:
|
With Regards,
Konrad Bańka
|
|
Links:
You receive all messages sent to this group.
View/Reply Online (#18250) |
Reply To Group
| Reply To Sender
|
Mute This Topic
| New Topic
Your Subscription |
Contact Group Owner |
Unsubscribe
[[email protected]]
