Tenant App Plugin Upload to vCloud Director Instance Fails with Upstream Error in the Network Tab

The Tenant App plugin upload fails if the port 80 is not open on the vCloud Director instance.

Workaround: Open the Port 80 only during plugin registration or upload the plugin through a customized portal from the path '/opt/vmware/plugin/plugin.zip' and restart the plugin.

Unable to Access Tenant App Plugin from vCloud Director and the Network Tab Displays CORS Error

Unable to access Tenant App plugin from vCloud Director operations manager and the Network tab displays Cross-Origin Resource Sharing (CORS) error 'making/api/sources'.

  1. SSH to the vRealize Operations Tenant App instance.
  2. Execute the command docker exec -it tenant-app-ui bash.
  3. Edit the nginx.conf file: vi /etc/nginx/nginx.conf.
  4. In the nginx.conf file, search for the section 'location /suite-api/' and append the following attributes with #
    • #proxy_hide_header Access-Control-Allow-Origin
    • #proxy_hide_header Access-Control-Allow-Credentials
  5. Reload the nginx server with the command /usr/sbin/nginx -s reload.

Tenant Reports Option Missing on the Manage Pages Tab

After upgrading Tenant App from 2.5 to 8.6, the Tenant Reports option is missing on the Manage Pages tab.

Workaround: Refer to the KB article 88080.

Access Denied for vCloud Director Operations Manager Plugin, as the new permission is not added for the existing plugin user in vRealize Operations Manager

Due to the new permission 'administration.accesscontrol.viewpage' that is added for the vCloud DirectorTenant Admin Role in vRealize Operations Manager, the message 'Access Denied' is displayed in Operations Manager Plugin in vCloud Director.

  1. Login to the VMware vRealize Operations Tenant App as an admin user.
  2. Go to Administration -> Access Management -> Access Management.
  3. Disable the Organizations for which the Plugin has been enabled, and then Enable again.

Metrics collected for the current date cannot be billed

Tenant App does not bill metrics that are collected on the current date in vRealize Operations. The bills for these metrics are generated after a day.

Workaround: None

Bills cannot be generated for the same day

You cannot generate bills for the same day, for example, you cannot give the date range as '16/10/2019 - 16/10/2019' as the billing is done from 12 AM to 12 AM.

Workaround: To perform billing for one day, the date range should be '15/10/2019/ - 16/10/2019'

Virtual Machine deployed under vSAN Datastore does not display the Datastore Hierarchy in Metric Chart in Dashboards

vSAN Datastore deployed Virtual Machines will have Virtual Disk Metric Hierarchy rather than the Datastore Hierarchy.

Workaround: None

Billing in the vRealize Operations Tenant App for vCenter does not work if the Virtual Machines are placed under host/cluster

In vRealize Operations Tenant App for vCenter, the bill value is zero for Virtual Machines if they are not placed under a resource pool.

  1. Add a resource pool under your cluster and move the Virtual Machines under that resource pool.
  2. Generate a bill from Tenant App using the resource pool or the cluster.

Upgrade of Tenant App fails in VAMI with an error 'Failed to install updates(Error while running installation tests) on <Day>, <Year> <Month> <Date> <Time>'

When you try to upgrade the Tenant App from an older version, it fails with an error 'Failed to install updates (Error while running installation tests)'.You can check if the /opt/vmware/var/log/vami/updatecli.log file contains the error 'Installing package tenant-app-2.0.0-15579401.noarch needs X MB on the / filesystem and X free MB is available in the system'.

Workaround: Run the 'docker image prune -a' to clear the space in Tenant App without affecting the functionality.

Customer security scanning report displays the 'TenantApp exposing Internal IP Address' message

While performing security scanning on Tenant App in the customer environment, the scanning report displays a message that the Tenant App could expose the internal IP address. This is due to the Ngnix configuration.

  1. SH into Tenant App using root credentials.
  2. Run "docker ps" and note the "CONTAINER ID" of tenant-app-ui docker from the list of dockers that is displayed.
  3. Go to tenant-app-ui using "docker exec -it bash" and e dit the nginx.conf file in "/etc/nginx/nginx.conf" location.
  4. Search for 'server_name _;' and replace '_' with the tenant-app-ip or tenant-app-hostname.
  5. Searh for 'add_header X-Upstream $upstream_addr always;' and include a comment by adding an '#' in front of it, '#add_header X-Upstream $upstream_addr always;'.
  6. Save the nginx.conf file.
  7. Run the following command to stop the nginx server:

    /usr/sbin/nginx -s stop

  8. Run the following command to restart the nginx server:

    /usr/sbin/nginx -s reload

    If the above step results in the error 'nginx: [error] open() "/var/run/nginx.pid" failed (2: No such file or directory)', then execute the following commands:
    • /usr/sbin/nginx -c /etc/nginx/nginx.conf
    • docker restart <containerid>
    • Restart the Tenant App instance.

Operation Manager menu is not available in VMware Cloud Director 10.3 (Tenant Login)

Customers with Tenant App 2.6.1 and vCD 10.3 cannot access the Tenant App UI with the vCD tenant login even when the vCD plugin registration is successful in the Tenant App admin login.

  1. SSH to Tenant App VA with root access.
  2. Navigate to the location: “/opt/vmware/plugin”.
  3. Download the “plugin.zip” to your location machine from the above location.
  4. Login to vCD (https://<VCD FQDN>/provider) with root access.
  5. Navigate to More -> Customize Portal -> Manage Plugins -> Plugins.
  6. Remove existing 'Operations Plugin' (vRealize Operations Tenant App for VMware Cloud Director extension), if any.
  7. Click Upload, and then click SELECT PLUGIN FILE in the popup wizard.
  8. Select the plugin.zip that you downloaded and click NEXT.
  9. Select the 'Scope' and 'Publish to' in the Select Scope & Publishing tab.
  10. Click NEXT.
  11. Review and click FINISH.
  12. Logout from vCD (Provider login).
  13. Log in to vCD as a tenant.
  14. Verify the Operation Manager under the More drop-down menu.
  15. Access Tenant App by clicking the “Operation Manager”.

Incorrect information is displayed in the vCenter mode for Metering configuration

When assigning a policy to a resource in the Metering configuration section in the vCenter mode, it displays "OVDC assignment" instead of "VC resource".

Workaround: None