Hi Ritu, Can you check? Could this be due to not using default namespace in helm charts? Srini
From: Konrad Banka [mailto:[email protected]] Sent: Monday, July 22, 2019 7:18 AM To: Łukasz Rajewski <[email protected]>; Konrad Banka <[email protected]> Cc: Rajewski Łukasz - Korpo <[email protected]>; [email protected]; Kamineni, Kiran K <[email protected]>; Addepalli, Srinivasa R <[email protected]>; Zhu, Libo <[email protected]>; Sood, Ritu <[email protected]>; Jayathirth, Pramod Raghavendra <[email protected]>; Multanen, Eric W <[email protected]> Subject: RE: Re: Re: K8s in ONAP - DDF follow up 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<mailto:vagrant@multicloud%22~/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<mailto:vagrant@multicloud%22~/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]<mailto:[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]<mailto:[email protected]>> wrote: Hi Łukasz, All I came across the same issue as you today. I think I've located culprit of this error and I've addressed it in review https://gerrit.onap.org/r/c/multicloud/k8s/+/91812. Please note it's work in progress as I didn't manage today to thoroughly test it, but I expect to do it tomorrow morning. With Regards, Konrad Bańka [cid:[email protected]] With Regards, Konrad Bańka [cid:[email protected]] [http://ext.w1.samsung.net/mail/ext/v1/external/status/update?userid=k.banka&do=bWFpbElEPTIwMTkwNzIyMTQxNzM2ZXVjbXMxcDM3NTkyMDMwZmRmYmQzNjA1N2RhM2MxOTNjZmNjZDZkMiZyZWNpcGllbnRBZGRyZXNzPXNyaW5pdmFzYS5yLmFkZGVwYWxsaUBpbnRlbC5jb20_] -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18236): https://lists.onap.org/g/onap-discuss/message/18236 Mute This Topic: https://lists.onap.org/mt/32501097/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
