Tuned daemon fails to start after VM reboot
search cancel

Tuned daemon fails to start after VM reboot

book

Article ID: 325395

calendar_today

Updated On:

Products

VMware VMware Telco Cloud Automation VMware Telco Cloud Platform RAN

Issue/Introduction

This KB article aims to offer a workaround solution for resolving the issue of tuned failing to start.

Symptoms:
Occasionally, following a virtual machine reboot, an error message may appear on the VM console indicating that the tuned daemon failed to start. Upon user login to the VM and execution of commands such as "tuned-adm active" or "systemctl status tuned," it becomes evident that the tuned service did not successfully start. This issue has the potential to result in performance deterioration.

Environment

VMware Telco Cloud Automation 3.0

Resolution

This will be addressed in an upcoming release of TCA.



Workaround:
The workaround is to update the customer CSAR to restart the tuned service.

1. Create a text file tuned-restart.conf with the following contents:
[Service]
Restart=on-failure
RestartSec=1s
ExecStartPre=/bin/sleep 60


2. In the TCA UI, select the CSAR to edit (Catalog --> Network Function, choose the CNF, click the "..." and select Edit)

tuned edit csar.png
3. In the Network Function Designer, choose Resources, open Artifacts --> scripts, click "+" and upload tuned-restart.conf file.

image.png
4. In the Network Function Designer, choose Infrastructure Requirements, open Files, choose the newly added ../Artifacts/scripts/tuned-restart.conf to Path /etc/systemd/system/tuned.service.d/tuned-restart.conf.
tuned add file.png

5. Click "SAVE” at the bottom, followed by "UPDATE PACKAGE" or "SAVE NEW
6. Use the updated CSAR to instantiate the CNF.

 
 
 


Additional Information

Impact/Risks:
The issue has been observed on TCP-RAN 4.0 / TCA 3.1.0.