ops-cli.py import of a dashboard to all users hangs for hours or indefinitely
book
Article ID: 409553
calendar_today
Updated On:
Products
VCF Operations/Automation (formerly VMware Aria Suite)
Environment
VMware Aria Operations 8.x
Cause
Importing the dashboard to all users leads to stuck threads in the internal Gemfire process resulting in long delays before command completion.
Resolution
Use the Content Import feature to import the dashboard
- Log in to the Aria Operations UI and navigate to Administration > Control Panel > Content Management > Import
- Click BROWSE and locate the exported dashboard zip file
- Select the desired behavior In case of conflict and click IMPORT
Use the REST API to import the dashboard
- Log in to the Aria Operations UI and navigate to Home > Launchpad > Developer Center then click API documentation in the API tile
- Expand Content Management
- Expand POST /api/content/operations/import
- Follow the instructions to upload and import the exported dashboard zip file
Use ops-cli.py to import the dashboard to a single user and then share it with all users
- SCP copy the dashboard zip file to the /tmp directory of the primary node
- Log in to the primary node as root via SSH
- Import the dashboard as admin and share with all users
$VMWARE_PYTHON_3_BIN /usr/lib/vmware-vcops/tools/opscli/ops-cli.py dashboard import admin /tmp/dashboard.zip --force --share Everyone
Feedback
thumb_up
Yes
thumb_down
No