Hi Thierry,
Multicloud-733 has been fixed just recently on master last week. I'm not
sure if latest docker image (onap/multicloud/k8s) already contains this
change. Maybe Ritu could help answer this.
As a workaround you can try to modify entrypoint of k8s container in
deployment to remove plugins/*network.so files before launching
k8splugin (I'm not sure if runtime modification would work, so I suggest
doing it before it starts).
``` kubectl edit -n onap deployment onap-multicloud-multicloud-k8s
:w !diff -u % -
--- /tmp/kubectl-edit-ktj8x.yaml 2019-09-09 16:23:08.736332452 +0200
+++ - 2019-09-09 16:25:15.966612197 +0200
@@ -44,7 +44,9 @@
spec:
containers:
- command:
- - /opt/multicloud/k8splugin/k8plugin
+ - sh
+ - -c
+ - 'rm plugins/*network.so; /opt/multicloud/k8splugin/k8plugin'
image: nexus3.onap.org:10001/onap/multicloud/k8s:0.4.0
imagePullPolicy: Always
livenessProbe:
```
[root@infra ~]# kubectl exec -n onap $(kubectl get pods -n onap -l
app=multicloud-k8s -o 'jsonpath={.items[0].metadata.name}') -c
multicloud-k8s ls plugins
generic.so namespace.so service.so
```
In terms of logs, k8splugin logs to stdout/stderr so it should be
directly accessible by `kubectl logs`:
kubectl logs -n onap $(kubectl get pods -n onap -l app=multicloud-k8s -o
'jsonpath={.items[0].metadata.name}') multicloud-k8s
Best Regards,
Konrad Bańka
On 09.09.2019 09:15, thierry.hardy via Lists.Onap.Org wrote:
>
> Hello,
>
> I run the multicloud-k8s vfw usecase and I met also the error
> described in jira https://jira.onap.org/browse/MULTICLOUD-733.
>
> When I look in the multicloud pod and in the log file
> “multivimbroker.log”, I see:
>
> 2019-09-06
> 15:58:14|||||multivimbroker.pub.utils.restcall||139786059012968||call_req||DEBUG||request=http://msb-iag.onap:80/api/multicloud-k8s/v1/OPNFV/k8sregion/infra_workload)||||requestID=766690fd-ccb8-3135-82b2-678e9825c2ba
>
> invocationID=2a5bddb2-0bbc-4a6d-ab4f-7960c088a596
> serviceName=multicloud-broker serviceIP=10.233.69.18
>
> 2019-09-06
> 15:58:14|||||multivimbroker.forwarder.base||139786059012968||_request||ERROR||Status
>
> code is 500, detail is Create Kubernetes Resources: *Error creating
> kind: k8s.plugin.opnfv.org/v1alpha1, Kind=Network: Error in plugin
> Network plugin: No plugin for resource found*
>
> I succeed to deploy the same helm package on targeted k8s environment
> (kud one) running directly helm install firewall and all objects
> included Network ones are created. But using ONAP plugin, the Network
> objects are not created.
>
> I don’t see logs in the multicloud-k8s pod. How to activate them to
> see the API request that is sent from this plugin?
>
> Regards
>
> Thierry
>
> Orange Labs
>
> _________________________________________________________________________________________________________________________
>
> Ce message et ses pieces jointes peuvent contenir des informations
> confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu
> ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
> electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou
> falsifie. Merci.
>
> This message and its attachments may contain confidential or privileged
> information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete
> this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been
> modified, changed or falsified.
> Thank you.
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18865): https://lists.onap.org/g/onap-discuss/message/18865
Mute This Topic: https://lists.onap.org/mt/34077193/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-