Description of problem:
During WALA deprovisioning,WALA remove it's log file(/var/log/waagent.log),but doesn't remove extension's log(/var/log/azure/*).
Version-Release number of selected component (if applicable):
WALinuxAgent-2.2.11-upstream
RHEL Version:
RHEL-7.4/RHEL-6.9
How reproducible:
100%
Steps to Reproduce:
1. Prepare a RHEL7.4 VM in Azure. Install WALA and enable it while booting
2. Install an extension for this VM
3. Waitting for extension completely install,check "/var/log/azure" folder
4. Do WALA deprovision process
5. Check "/var/log/azure" folder
Actual results:
For step 3:
extension's log files exist here
For step 4:
the file still exists
Expected results:
Should clean up this folder or remove this folder