You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Telephony Network Service deployment on K3S with v0.5.0 is broken
Overview
Hello,
I am working on a usecase to deploy multi-clustered applications with TOSCA on K3S, so I am trying to reproduce the Telephony Network Service example, but I did not managed to succeed yet.
Issue
During the deployment, the service is blocked in 'Instantiating' state :
$ turandot service deploy telephony-network-service --template=telephony-network-service --kubeconfig ~/.kube/tns-central --namespace turandot --input namespace=turandot
$ turandot service list --kubeconfig ~/.kube/tns-central --namespace turandot
Name State Mode Inputs Outputs
═════════════════════════╤═════════════╤════╤══════╤═══════
telephony-network-service│Instantiating│ │ │
═════════════════════════╧═════════════╧════╧══════╧═══════
The kubernetes events are a little more explicit :
$ kubectl get events -n turandot
3m22s Warning InstantiationError service/telephony-network-service Service instantiation error: could not parse policies:...
3m18s Warning InstantiationError service/telephony-network-service Service instantiation error: could not parse policies:...
3m17s Normal Compiled service/telephony-network-service Service template compiled successfully
I do not understand what is happening here. One of the logs says Turandot compiled the TOSCA template successfully, with parsing errors, but the service cannot be deployed. How can I get more debug information ?
Walkthrough
I installed two K3S clusters (one-node installation) on two different hosts :
host tns-central :
k3s site tns-central
host tns-edge
k3s site tns-edge
I am using 2 kubeconfig files : one for the cluster tns-central and one for the cluster tns-edge, due to the K3S installation.
I installed Multus on both of the cluster. I used the 'thick' daemonset manifest and I modified it to configure the proper path to the cni configurations for K3S:
A Reposure registry is mandatory for turandot services and templates in K3S even though it appears to be missing in Turandot v0.5.0 documentation (it concerns other distribution like Kind). Can you confirm ?
If I install the turandot operator without reposure I get an error saying :
$ turandot template list --kubeconfig $HOME/.kube/tns-central -n turandot
registries.reposure.puccini.cloud "default" not found
So I installed Reposure using the reposure client v0.1.4 in tns-central in the namespace turandot :
The text was updated successfully, but these errors were encountered:
KaioKei
changed the title
Telephony Network Service deployment on K3S with v0.5.0 is broken
Problem with Telephony Network Service v0.5.0 deployment on K3S
Mar 28, 2022
Telephony Network Service deployment on K3S with v0.5.0 is broken
Overview
Hello,
I am working on a usecase to deploy multi-clustered applications with TOSCA on K3S, so I am trying to reproduce the Telephony Network Service example, but I did not managed to succeed yet.
Issue
During the deployment, the service is blocked in 'Instantiating' state :
Its description brings no more information :
turandot service describe telephony-network-service --kubeconfig ~/.kube/tns-central --namespace turandot Name: telephony-network-service ServiceTemplate: Indirect: Registry: default Name: turandot/service-templates-telephony-network-service:latest InstantiationState: Instantiating CloutPath: /cache/clout/turandot-telephony-network-service-cd586faf-30df-4795-b75e-cf3e10b080d5.yaml CloutHash: 7GwmvvHG7nT9Q+5/L9T3mg== Mode:
The kubernetes events are a little more explicit :
More precisely :
I do not understand what is happening here. One of the logs says Turandot compiled the TOSCA template successfully, with parsing errors, but the service cannot be deployed. How can I get more debug information ?
Walkthrough
I installed two K3S clusters (one-node installation) on two different hosts :
tns-central
:tns-central
tns-edge
tns-edge
I am using 2 kubeconfig files : one for the cluster
tns-central
and one for the clustertns-edge
, due to the K3S installation.I installed Multus on both of the cluster. I used the 'thick' daemonset manifest and I modified it to configure the proper path to the cni configurations for K3S:
and args :
I installed Kubevirt on
tns-central
.A Reposure registry is mandatory for turandot services and templates in K3S even though it appears to be missing in Turandot v0.5.0 documentation (it concerns other distribution like Kind). Can you confirm ?
If I install the turandot operator without reposure I get an error saying :
So I installed Reposure using the reposure client v0.1.4 in
tns-central
in the namespaceturandot
:Then I installed the Turandot operator using the cli v0.5.0 :
turandot operator install --kubeconfig $HOME/.kube/tns-central -n turandot --site=tns-central
I delegated
tns-edge
totns-central
.I downloaded the Turandot repository and built the container images as mentioned in this example instructions :
I registered the templates using the proper kubeconfig and namespace :
Finally, I deployed the service :
turandot service deploy telephony-network-service --template=telephony-network-service --kubeconfig ~/.kube/tns-central --namespace turandot --input namespace=turandot
The text was updated successfully, but these errors were encountered: