During the prechecks to upgrade VCF Ops for Networks from 9.0.1 to 9.0.2, the prechecks are reporting that the root "/" filesystem does not have enough space
search cancel

During the prechecks to upgrade VCF Ops for Networks from 9.0.1 to 9.0.2, the prechecks are reporting that the root "/" filesystem does not have enough space

book

Article ID: 413629

calendar_today

Updated On:

Products

VCF Operations for Networks

Issue/Introduction

  1. When trying to update from 9.0.1 to 9.0.2 and the pre-check fails.

    Error seen is:

    Disk space on / should be at least 12GB for upgrade. Current available space on / is 4.0GB in node <IP Address>

  2. Running df -h command on VCF Operations for Networks platform appliance shows "/" with 8.4 G available. 

    Refer to example output below :
    ubuntu@platform1:~$ df -h
    This is not a cluster environment. Running the command on localhost only...
    Filesystem                    Size  Used Avail Use% Mounted on
    tmpfs                         6.3G  1.2M  6.3G   1% /run
    /dev/mapper/vg-root            29G   19G  8.4G  69% /
    tmpfs                          32G  4.0K   32G   1% /dev/shm
    tmpfs                         5.0M     0  5.0M   0% /run/lock
    none                           32G     0   32G   0% /run/shm
    /dev/sda1                     1.8G  288M  1.5G  17% /boot
    /dev/mapper/vg-tmp             25G  1.1G   23G   5% /tmp
    /dev/mapper/vg-home            30G   14G   15G  48% /home
    /dev/mapper/vg-var            2.0T  525G  1.4T  29% /var
    /dev/mapper/vg-var+log         49G   21G   26G  45% /var/log
    /dev/mapper/vg-var+log+audit   20G   20M   19G   1% /var/log/audit
    tmpfs                         6.3G     0  6.3G   0% /run/user/998
    tmpfs                         6.3G     0  6.3G   0% /run/user/996
    tmpfs                         6.3G     0  6.3G   0% /run/user/1000
    tmpfs                         6.3G     0  6.3G   0% /run/user/994
    tmpfs                         6.3G     0  6.3G   0% /run/user/1001
    



  3. Running below command on the platform node shows 9.0.0 extracted bundle:

    ubuntu@platform1:~$ ls -lrth /usr/share/nginx/upgradebundleth /usr/share/nginx/upgradebundle
    total 4.0K
    drwxr-xr-x 3 www-data www-data 4.0K Jun 27 14:06 9.1.0.24694676
    drwxr-xr-x 3 www-data www-data 4.0K Feb 04 21:06 9.0.1.24950933



    NOTE:  VCF Operations for Networks was formerly named Aria Operations for Networks (AON), and prior to that was named vRealize Network Insight (vRNI).

Environment

VCF Operations for Networks 9.0.0
VCF Operations for Networks 9.0.1

Cause

VCF Operations for Networks upgrade fails because the old bundle did not get auto cleaned up during the previous upgrades hence consuming space  on "/" (root) partition.

Resolution

  1. Execute below command for manual clean up depending on the older bundle file name on VCF Operations for Networks platform node

    ubuntu@platform1:~$ sudo rm -rf /usr/share/nginx/upgradebundle/9.0.0.24694676/
    ubuntu@platform1:~$ sudo rm -rf /usr/share/nginx/upgradebundle/9.0.1.24950933/

     

  2. To validate if clean/manual removal of bundle is successful run below command and it should no show any bundle folder
    ubuntu@platform1:~$ ls -lrth /usr/share/nginx/upgradebundle
    total 0


  3. Now run below command to see that VCF Operations for Networks platform appliance shows "/" should show more space available
    Refer below command used and output

    ubuntu@ubuntu@platform1:~$ df -h
    Filesystem                    Size  Used Avail Use% Mounted on
    udev                           32G     0   32G   0% /dev
    tmpfs                         6.3G   16M  6.3G   1% /run
    /dev/mapper/vg-root          29G   11G   17G  40% /
    tmpfs                          32G   16K   32G   1% /dev/shm
    tmpfs                         5.0M     0  5.0M   0% /run/lock
    /dev/sda1                     1.9G  122M  1.6G   8% /boot
    none                           32G     0   32G   0% /run/shm
    /dev/mapper/vg-tmp             25G  1.7G   22G   8% /tmp
    /dev/mapper/vg-home            30G  8.7G   20G  32% /home
    /dev/mapper/vg-var            852G   14G  794G   2% /var
    /dev/mapper/vg-var+log         49G   18G   29G  38% /var/log
    /dev/mapper/vg-var+log+audit   20G   64M   19G   1% /var/log/audit
    tmpfs                         6.3G     0  6.3G   0% /run/user/998
    tmpfs                         6.3G     0  6.3G   0% /run/user/115
    tmpfs                         6.3G     0  6.3G   0% /run/user/119
    tmpfs                         6.3G     0  6.3G   0% /run/user/117
    tmpfs                         6.3G     0  6.3G   0% /run/user/120
    tmpfs                         6.3G     0  6.3G   0% /run/user/1001
    ubuntu@ubuntu@platform1:~$


  4. Once above steps are executed for manual clean up., attempt to rerun the precheck from Fleet Manager  again  and  precheck should pass.

    Refer to screenshots below:




  5. Upgrade to VCF Operations for Networks should proceeds as normal.