Services/ Services Management tab no longer visible on the portal after upgrading to VCF Automation 9.1.x
search cancel

Services/ Services Management tab no longer visible on the portal after upgrading to VCF Automation 9.1.x

book

Article ID: 458325

calendar_today

Updated On:

Products

VCF Automation

Issue/Introduction

  • Unable to view/ Manage services extensions from VCFA provider/Tenant portal as no 'Services Management' option/ tab is available on the UI after upgrade to VCFA 9.1 from a VCFA 9.0.x 
  • Fetching the list of UI extensions from VCF Automation Provider Portal > Click on the down arrow next to the account name > API Documents > Provider Management > Tenant Manager APIs > Look for the UiPlugins API Section and run the Get API for /extensions/ui to fetch all UI extensions > Try it out > Execute : Show plugins for Service Manager of version 9.1.x and the 9.0.x and have the field 'enabled' set to 'false'. 
    • Alternative the following curl command can be run to fetch all UI Extensions: 
      curl -k -X 'GET' \
        'https://<vcfa-fqdn>/cloudapi/extensions/ui' \
        -H 'accept: application/json;version=9.1.0' \
        -H 'Authorization: Bearer <Bearer Token for Admin@System>' 

Environment

  • VCF Automation 9.1.x

Cause

  • The cause of the issue is due to the presence of a 9.0.x addons for custom resource `userinterfaceplugins.vcd.addon.vcf.vmware.com`, that failed to have been removed as part of the ideal upgrade flow causing issues with the enablement of new user interface extensions / plugins. 

Resolution

To restore the Services Management Extension, the stale / older plugins would need to cleaned up before reloading the Services Management Plugin. 

  • SSH to the VCFA node using vmware-system-user and switch to root using sudo su -.
  • Identify the 9.0.x CRs and Addons:
    • kubectl -n prelude get addons 
      • If returns 'secret-service-manager-ui' or "vcfa-services-manager-ui", they would need to be deleted.
    • kubectl -n prelude get userinterfaceplugins.vcd.addon.vcf.vmware.com
      • If returns vcfa-service-manager-ui-ui is returned, it would need to be deleted.
  • Delete the Addons:
    • kubectl -n prelude delete addons secret-store-service
    • kubectl -n prleude delete addons vcfa-service-manager-ui
  • Remove the finalizer for the CR:
    • kubectl -n prelude edit userinterfaceplugins.vcd.addon.vcf.vmware.com vcfa-service-manager-ui-ui
    • Press 'i' and remove the section named "Finalizers:" (if present) 
      Sample: 
         Finalizers:
             addons.vcf.vmware.com/finalizer
  • Delete the vcd CR:
    • kubectl -n prelude delete userinterfaceplugins.vcd.addon.vcf.vmware.com vcfa-service-manager-ui-ui
  • Reload the Service Manager UI extension:
    • kubectl rollout restart userinterfaceplugins.services.vcfa.broadcom.com/vcfa-serice-manager-ui
  • Reload the VCFA Ui and validate the Service Management is now visible.