/var/lib/waagent zip files
See original GitHub issueHi Everyone,
I know we had some fixes for this issue in the past: https://github.com/Azure/WALinuxAgent/issues/1730
We still see cases where there’s tons of old zip files in the folder and recently I noticed that specifically the WALinuxAgent install files are still there?
drwxr-xr-x 3 root root 4096 Sep 15 19:42 WALinuxAgent-2.2.44
-rw-r--r-- 1 root root 502139 Sep 15 19:42 WALinuxAgent-2.2.44.zip
drwxr-xr-x 3 root root 4096 Sep 15 19:42 WALinuxAgent-2.2.45
-rw-r--r-- 1 root root 517593 Sep 15 19:42 WALinuxAgent-2.2.45.zip
drwxr-xr-x 3 root root 4096 Sep 15 19:42 WALinuxAgent-2.2.46
-rw-r--r-- 1 root root 530463 Sep 15 19:42 WALinuxAgent-2.2.46.zip
drwxr-xr-x 3 root root 4096 Sep 15 19:42 WALinuxAgent-2.2.48.1
-rw-r--r-- 1 root root 531494 Sep 15 19:42 WALinuxAgent-2.2.48.1.zip
drwxr-xr-x 3 root root 4096 Sep 15 19:42 WALinuxAgent-2.2.49.2
-rw-r--r-- 1 root root 547951 Sep 15 19:42 WALinuxAgent-2.2.49.2.zip
drwxr-xr-x 3 root root 4096 Oct 6 19:43 WALinuxAgent-2.2.51
-rw-r--r-- 1 root root 547144 Oct 6 19:43 WALinuxAgent-2.2.51.zip
Are there any plans to manage these leftovers better moving forward? We have many users that ask about it.
As far as old ZIP files, if a user wants to clean up let’s say 100+ VM’s what is the safest way to do that? Do we have any proper guidance on how to do that safely?
Would let’s say:
stop the agent
mv /var/lib/waagent /var/lib/waagent.old
start the waagent
cp /var/lib/waagent.old/ovf-env.xml /var/lib/waagent/lib
Be a good solution so the waagent would re-download the most recent extensions only?
Thank you, Marco
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
var/lib/waagent keeps filling up with zip files #1730 - GitHub
var /lib/waagent keeps filling up with zip files. Users reported issues with VM not booting up because of /var being full ...
Read more >Azure Linux VM Agent Overview - Virtual Machines
The Microsoft Azure Linux Agent (waagent) manages Linux & FreeBSD provisioning, and VM interaction with the Azure Fabric Controller.
Read more >Developers - /var/lib/waagent keeps filling up with zip files -
/var/lib/waagent keeps filling up with zip files. Users reported issues with VM not booting up because of /var being full ...
Read more >How to deploy a shell script to private linux vm - Stack Overflow
Use @{file} to load script from a file. Therefore, you can do deploymentScript() { echo '#! /usr/bin/env bash ...
Read more >Bug #1690854 “walinuxagent 2.2.12” - Launchpad Bugs
[#688] Agent should purge /var/lib/waagent/events if it gets full [#689] Remove superseded extension folders / zip files
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Deleted the older version 2.2.44, 2.2.45 and 2.2.46
@itsafire This should be resolved. In case the agent did not remove old ZIPs, please go ahead and remove them manually.