[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

Handling Process
-
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

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

After:

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

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

-
Lastly, go to VMP and continue the upgrade activity.
Solution
Backend bypass the VDC checking.