Delete locker password entries in vRealize Suite Lifecycle Manager 8.x

As of now,  vRealize Lifecycle Manager 8.x do not have the UI option to delete the locker passwords from vRSLCM UI. The only option is to remove it via API. 

Step 1: For test purpose, I created a dummy credentials

Step 2 : Login to vRSLCM via Postman
If the login is successful, you will notice a "Login successfully"Step 3: Copy the Authorization header

Step 4: List the existing passwords by running a GET 

Copy the "vmid" of the password you would like to delete 
Step 5 : Run the DELETE from CLI 
Note: this is not possible from the REST API client applications

curl -X DELETE 'http://localhost:8080/lcm/locker/api/passwords/79851802-b01e-4a5f-b8c5-2436f126cdcc' -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'Authorization: Basic YWRtaW5AbG9jYWw6Vk13YXJlMTIzIQ== ' -k
replace the highlighted
After the command to DELETE is run, you can refresh the page to see the changes. 
Hope this hel…

Unable to see vCenter server instance when creating a Provider vDC - vCloud director 10.x

Issue:  Unable to see vCenter server instance when creating a Provider vDC 

Cause: This happens if you have enabled the vCenter server instance for SDDC as highlighted below.

Fix : 
Disable the tenant access selecting the vCenter server instance and go ahead and try creating the Provider VDC 

Hope this helps 😃

How to connect to vCloud director using REST API clients ?

We all have had the use case to connect to vCloud director via API to pull some details. Below is the detailed process on how to connect using REST client.

I am using the Postman windows client. The procedure will remain the same for the other REST client applications too.

Step 1 :

Download the postman client

Step 2 (Optional) : 

You may have to disable the SSL certificate verification if you are trying this on a test environment and do not have trusted certificates

Step 3:

Enter the credentials under the Authorization tab You must append either @system to the username or @orgname. This depends on the role you have. As a system administrator, you must use @system because your admin user is not bound to a special organization. As org admin or org user, you must append your organization name.

For example: administrator@system or orgadmin@wecloud

Enter the Accept header under the Headers tabsKey : Accept  Value : application/*+xml;version=32.0
The version …

vCD HTML5 UI - Editing rights bundle fails with " Unexpected token < in JSON at position 0 "

If you have come across an error message similar to the below in the vCD HTML5 UI, the issue is due to the large payload on the load balancer

Unexpected token < in JSON at position 0

Browser console has the below error :

Failed to load resource: the server responded with a status of 502 (Bad Gateway)
service-provider.bundle.js:1 Unsupported REST exception RightsComponent#rights SyntaxError: Unexpected token < in JSON at position 0
  at JSON.parse (<anonymous>)
  at CatchSubscriber.selector (service-provider.bundle.js:1)
  at CatchSubscriber.error (vendor.bundle.js:991)
  at XMLHttpRequest.s (vendor.bundle.js:830)
  at ZoneDelegate.invokeTask (vendor.bundle.js:1040)
  at Object.onInvokeTask (vendor.bundle.js:457)
  at ZoneDelegate.invokeTask (vendor.bundle.js:1040)
  at Zone.runTask (vendor.bundle.js:1040)
  at ZoneTask.invokeTask [as invoke] (vendor.bundle.js:1040)
  at p (vendor.bundle.js:1012)

Action Plan:

In my case, I am using NSX Edge Load balancer

PUT https://<NSX-IP>/api/4.0…

vApp missing from vCloud director HTML5 UI

Symptoms :

Unable to see the vApp on the HTML5 UI The vApp is seen on vCloud director Flex UI 
-  This happens if the VM was created as a standalone VM from the HTML5 UI.   - Since there has been no improvement done recently on the Flex UI, the old UI does not have a view  to display standalone VMs seperately. Hence the standalone VMs are displayed in the vApp

Run the below statements for the list the
vcloud=# select vapp_id from vapp_vm where name like '%stdalone%';
-[ RECORD 1 ]--------------------------------- vapp_id | b1c58135-7c93-43ac-a7d2-c8412fc74c98

vcloud=# select * from vm_container where sg_id = 'b1c58135-7c93-43ac-a7d2-c8412fc74c98'; -[ RECORD 1 ]-------------+----------------------------------------------------------------------------------- sg_id                     | b1c58135-7c93-43ac-a7d2-c8412fc74c98 name                      | stdalone-04ad56d5-2a60-4a06-a750-f3e371d3284b descr                     | This vApp is created automatically on behalf o…

How to collect logs from vCloud director ?

vCloud director does not have an GUI way of exporting the support bundle as of now

To collect the vCloud Director support bundle, establish an SSH connection to one of the vCloud Director VMs and run the following command:


Above command collects only log bundle for single cell by default)

Usage: vmware-vcd-support [OPTIONS]

  -d,       --dbdump           Collects DataBase dump.

  -l,       --log              Collects logs on single cell (default)
                               or multiple cells (with --multicell)

  -a,       --all              Collects all data bundles for single cell.
                               If used with --multicell option then it collects
                               all data bundles from multiple distributed cells.

  -m,       --multicell        If used with --all option, collects all data bundles
                               from multiple cells. If used with --log then
                               collects only lo…

vCloud director 10 - Prerequisites & Deployment

This blog is talks about the way to deploy vCloud director 10.x appliance without zero errors in first attempt. 

There are just 3 requirements which is mandatory for error free deployment. 

Only prerequisites

1. Dedicate 2 IP addresses (eth0 & eth1) - Eth0 is for the HTTPS and Console proxy. Yes, both HTTPS & Console Proxy uses same interface. The console proxy uses a custom port 8443. - Eth1 is dedicated for postgres database connection only
2. Add DNS entries for the IP addresses (Forward and Reverse DNS lookup) - Reverse DNS lookup entry is a must - If you have noticed vCD appliance taking PhotosOS as the hostname, it is because the reverse DNS entry does not exist.
3. Prepare the NFS server i.Create a NFS folder with full read & write permissions. ii.The format to use isNFS_Server_name:/Directory_name (ex : nfs.wecloud.lab:/vCD97rpr )  iii.Make sure the directory contains no old deployment entries. Its better clean up the directory before using it.

Deployment :