Table of Contents
< All Topics
Print

[VDI] Upgrade VMP Show VDC Required Precheck Error

Issue Description

When user upgrading VMP, it showing error "The package used to check system environment before upgrading VDC failed to pass check. No VDC was detected. Please check whether VDC is managed by VMP and the VDC package for pre-upgrade check is installed on that VDC".

Error/Warning Information

file

Handling Process

  1. If the user do not deploy VDC, we can backend by pass the VDC precheck.
    Command: vim /usr/share/perl5/VTP/VAPI/Update.pm +1212
    file

  2. Add a "return;" word under "sub check_vdc" section. Please refer to below screenshot:
    Before:
    file
    After:
    file

  3. Check and verify the update.pm code file syntax is correct.
    Command: perl -c /usr/share/perl5/VTP/VAPI/Update.pm
    file

  4. Restart vtpdaemon and apache2 services.
    Command: /sf/etc/init.d/vtpdaemon restart;/etc/init.d/apache2 restart
    file

  5. Lastly, go to VMP and continue the upgrade activity.

Solution

Backend bypass the VDC checking.