Reports and Views Templates are blank or Missing after upgrading vRealize Operations Manager 6.x
search cancel

Reports and Views Templates are blank or Missing after upgrading vRealize Operations Manager 6.x

book

Article ID: 345634

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • Reports and View Templates are blank after upgrading vRealize Operations Manager 6.x.
  • In the /storage/vcops/log/pakManager/vcopsPakmMnager.root.post_apply_adapter_post_script.log file, you see entries similar to:

    Failed to imported content file /usr/lib/vmware-vcops/user/plugins/inbound/vmwarevi_adapter3/conf/reports/all-reports-and-views.xml: null
    Triggered Command: report:import

    Script command: " report import /usr/lib/vmware-vcops/user/plugins/inbound/vmwarevi_adapter3/conf/reports/all-reports-and-views.xml --force" failed with exit code: 3


Environment

VMware vRealize Operations Manager 6.1.x
VMware vRealize Operations Manager 6.6.x
VMware vRealize Operations Manager 6.4.x
VMware vRealize Operations Manager 6.5.x
VMware vRealize Operations Manager 6.0.x
VMware vRealize Operations Manager 6.3.x
VMware vRealize Operations Manager 6.2.x

Cause

This issue occurs when Standard and vSphere with Operations Manager licenses do not allow importing of reports.

Resolution

To resolve this issue, run the opscli command to reimport the default Reports and Views.
 
To upgrade the VMware vRealize Operations license to import reports and views:
 
  1. Log in to vRealize Operations Manager Master node as root via console or SSH.
  2. Navigate to opscli directory by running this command:

    cd /usr/lib/vmware-vcops/tools/opscli
     
  3. Run the following command to re-import all of the default Reports and Views:

Version 6.2.1 and Lower

./ops-cli.sh report import /usr/lib/vmware-vcops/user/plugins/inbound/vmwarevi_adapter3/conf/reports/all-reports-and-views/content.xml

Version 6.3.x

./ops-cli.sh report import /usr/lib/vmware-vcops/user/plugins/inbound/vmwarevi_adapter3/conf/reports/all-reports-and-views -–force
 

Version 6.4 and Up

./ops-cli.sh report import /usr/lib/vmware-vcops/user/plugins/inbound/vmwarevi_adapter3/conf/reports/all-reports-and-views -–force
./ops-cli.sh report import /usr/lib/vmware-vcops/user/plugins/inbound/vmwarevi_adapter3/conf/reports/vSphereDashboards-views -–force


Note: Run the command(s) that correspond to the version of vRealize Operations Manager.
  1. Refresh the vRealize Operations Manager UI.


Additional Information


从 vRealize Operations Manager 6.0.X 升级到 6.1 后,未导入报告和视图