[NON-ZIP][tacker]Troubleshooting Error in CNF Deployment with Tacker and Helm
Hello, I hope this message finds you well. I am currently working on deploying a Cloud-Native Network Function (CNF) using Tacker. For this deployment, I am utilizing Helm charts as the method of deployment. Following the guidelines provided in the official Tacker documentation (https://docs.openstack.org/tacker/latest/user/v2/cnf/deployment_using_helm/i...), I encountered an error during the instantiation process. Despite following the steps closely, the deployment did not proceed as expected. I have attached the error logs to this email for your reference. Could you please provide assistance in troubleshooting this issue? Any insights or suggestions would be greatly appreciated. Thank you for your support. Best regards, Yohei Kumamoto
Hi, Kumamoto-san Are you using the test-chart-0.1.0.tgz located at the URL at the end of the document as your Helm chart? * https://opendev.org/openstack/tacker/src/branch/stable/2023.2/tacker/tests/f... The yaml file in "2. Create a Helm chart" is an example of a template, not the entire Helm chart. For information on Helm chart, see the following: * https://helm.sh/docs/chart_template_guide/getting_started/ Thanks, Ai Hamano -----Original Message----- From: yo-kumamoto@kddi.com <yo-kumamoto@kddi.com> Sent: Tuesday, July 9, 2024 4:59 PM To: openstack-discuss@lists.openstack.org Subject: [NON-ZIP][tacker]Troubleshooting Error in CNF Deployment with Tacker and Helm Hello, I hope this message finds you well. I am currently working on deploying a Cloud-Native Network Function (CNF) using Tacker. For this deployment, I am utilizing Helm charts as the method of deployment. Following the guidelines provided in the official Tacker documentation (https://docs.openstack.org/tacker/latest/user/v2/cnf/deployment_using_helm/i...), I encountered an error during the instantiation process. Despite following the steps closely, the deployment did not proceed as expected. I have attached the error logs to this email for your reference. Could you please provide assistance in troubleshooting this issue? Any insights or suggestions would be greatly appreciated. Thank you for your support. Best regards, Yohei Kumamoto
Hi, Kumamoto-san If you instantiate with the correct Helm chart and the following error occurs, ``` ERROR tacker.sol_refactored.conductor.conductor_v2 [None req-b7cf2d6f-bb11-41a9-b685-4cdb65a35468 nfv nfv_user] PROCESSING INSTANTIATE failed: tacker.sol_refactored.common.exceptions.MgmtDriverExecutionFa iled: instantiate_start failed: b"python3: can't open file '/tmp/tmp3_mpmq27/Definitions/../Scripts/sample_script.py': [Errno 2] No such file or directory\n" ``` try modifying sample_cnf_df_simple.yaml as follows. ``` stack@vagrant:~/tacker/samples/tests/functional/sol_kubernetes_v2/test_helm_instantiate$ diff -u contents_bk/Definitions/sample_cnf_df_simple.yaml contents/Definitions/sample_cnf_df_simple.yaml --- contents_bk/Definitions/sample_cnf_df_simple.yaml +++ contents/Definitions/sample_cnf_df_simple.yaml @@ -42,31 +42,15 @@ flavour_description: A simple flavour interfaces: Vnflcm: - instantiate_start: - implementation: sample-script - instantiate_end: - implementation: sample-script - terminate_start: - implementation: sample-script - terminate_end: - implementation: sample-script - scale_start: - implementation: sample-script - scale_end: - implementation: sample-script - heal_start: - implementation: sample-script - heal_end: - implementation: sample-script - modify_information_start: - implementation: sample-script - modify_information_end: - implementation: sample-script - artifacts: - sample-script: - description: Sample script - type: tosca.artifacts.Implementation.Python - file: ../Scripts/sample_script.py + instantiate: [] + instantiate_start: [] + instantiate_end: [] + terminate: [] + terminate_start: [] + terminate_end: [] + modify_information: [] + modify_information_start: [] + modify_information_end: [] ``` Thanks, Ai Hamano -----Original Message----- From: Ai Hamano <ai.hamano@ntt-at.co.jp> Sent: Wednesday, July 10, 2024 1:27 PM To: yo-kumamoto@kddi.com; openstack-discuss@lists.openstack.org Subject: RE: [NON-ZIP][tacker]Troubleshooting Error in CNF Deployment with Tacker and Helm Hi, Kumamoto-san Are you using the test-chart-0.1.0.tgz located at the URL at the end of the document as your Helm chart? * https://opendev.org/openstack/tacker/src/branch/stable/2023.2/tacker/tests/f... The yaml file in "2. Create a Helm chart" is an example of a template, not the entire Helm chart. For information on Helm chart, see the following: * https://helm.sh/docs/chart_template_guide/getting_started/ Thanks, Ai Hamano -----Original Message----- From: yo-kumamoto@kddi.com <yo-kumamoto@kddi.com> Sent: Tuesday, July 9, 2024 4:59 PM To: openstack-discuss@lists.openstack.org Subject: [NON-ZIP][tacker]Troubleshooting Error in CNF Deployment with Tacker and Helm Hello, I hope this message finds you well. I am currently working on deploying a Cloud-Native Network Function (CNF) using Tacker. For this deployment, I am utilizing Helm charts as the method of deployment. Following the guidelines provided in the official Tacker documentation (https://docs.openstack.org/tacker/latest/user/v2/cnf/deployment_using_helm/i...), I encountered an error during the instantiation process. Despite following the steps closely, the deployment did not proceed as expected. I have attached the error logs to this email for your reference. Could you please provide assistance in troubleshooting this issue? Any insights or suggestions would be greatly appreciated. Thank you for your support. Best regards, Yohei Kumamoto
Hi Hamano-san Thank you for your prompt response and valuable advice.
Are you using the test-chart-0.1.0.tgz located at the URL at the end of the document as your Helm chart? I am not using the test-chart-0.1.0.tgz located at the URL at the end of the document. Instead, I am using my original Helm chart.
try modifying sample_cnf_df_simple.yaml as follows. Thank you very much for your advice. I will give it a try.
Best regards, Yohei Kumamoto Ai Hamano wrote:
Hi, Kumamoto-san If you instantiate with the correct Helm chart and the following error occurs, ``` ERROR tacker.sol_refactored.conductor.conductor_v2 [None req-b7cf2d6f-bb11-41a9-b685-4cdb65a35468 nfv nfv_user] PROCESSING INSTANTIATE failed: tacker.sol_refactored.common.exceptions.MgmtDriverExecutionFa iled: instantiate_start failed: b"python3: can't open file '/tmp/tmp3_mpmq27/Definitions/../Scripts/sample_script.py': [Errno 2] No such file or directory\n" ``` try modifying sample_cnf_df_simple.yaml as follows. ``` stack@vagrant:~/tacker/samples/tests/functional/sol_kubernetes_v2/test_helm_instantiate$ diff -u contents_bk/Definitions/sample_cnf_df_simple.yaml contents/Definitions/sample_cnf_df_simple.yaml --- contents_bk/Definitions/sample_cnf_df_simple.yaml +++ contents/Definitions/sample_cnf_df_simple.yaml @@ -42,31 +42,15 @@ flavour_description: A simple flavour interfaces: Vnflcm: - instantiate_start: - implementation: sample-script - instantiate_end: - implementation: sample-script - terminate_start: - implementation: sample-script - terminate_end: - implementation: sample-script - scale_start: - implementation: sample-script - scale_end: - implementation: sample-script - heal_start: - implementation: sample-script - heal_end: - implementation: sample-script - modify_information_start: - implementation: sample-script - modify_information_end: - implementation: sample-script - artifacts: - sample-script: - description: Sample script - type: tosca.artifacts.Implementation.Python - file: ../Scripts/sample_script.py + instantiate: [] + instantiate_start: [] + instantiate_end: [] + terminate: [] + terminate_start: [] + terminate_end: [] + modify_information: [] + modify_information_start: [] + modify_information_end: [] ``` Thanks, Ai Hamano -----Original Message----- From: Ai Hamano ai.hamano@ntt-at.co.jp Sent: Wednesday, July 10, 2024 1:27 PM To: yo-kumamoto@kddi.com; openstack-discuss@lists.openstack.org Subject: RE: [NON-ZIP][tacker]Troubleshooting Error in CNF Deployment with Tacker and Helm Hi, Kumamoto-san Are you using the test-chart-0.1.0.tgz located at the URL at the end of the document as your Helm chart? * https://opendev.org/openstack/tacker/src/branch/stable/2023.2/tacker/tests/f... The yaml file in "2. Create a Helm chart" is an example of a template, not the entire Helm chart. For information on Helm chart, see the following: * https://helm.sh/docs/chart_template_guide/getting_started/ Thanks, Ai Hamano -----Original Message----- From: yo-kumamoto@kddi.com yo-kumamoto@kddi.com Sent: Tuesday, July 9, 2024 4:59 PM To: openstack-discuss@lists.openstack.org Subject: [NON-ZIP][tacker]Troubleshooting Error in CNF Deployment with Tacker and Helm Hello, I hope this message finds you well. I am currently working on deploying a Cloud-Native Network Function (CNF) using Tacker. For this deployment, I am utilizing Helm charts as the method of deployment. Following the guidelines provided in the official Tacker documentation (https://docs.openstack.org/tacker/latest/user/v2/cnf/deployment_using_helm/i...), I encountered an error during the instantiation process. Despite following the steps closely, the deployment did not proceed as expected. I have attached the error logs to this email for your reference. Could you please provide assistance in troubleshooting this issue? Any insights or suggestions would be greatly appreciated. Thank you for your support. Best regards, Yohei Kumamoto
participants (3)
-
Ai Hamano
-
yo-kumamoto@kddi.com
-
Yohei Kumamoto