VMware Cloud Director 10.1 – Fat Finger Base URL Fix – cell-management-tool manage-config

Setup – VMware Cloud Director 10.1 – you fat finger (fingar in the screen caps to prove the point) the http/https/api public addresses.
You can no longer login with the FQDN or IP addres.

provider/administration/settings/public-addresses

HTTP(non-secure) Base URL – http://fat.fingar.lab
HTTPS(secure) Base URL – https://fat.fingar.lab
VMware Cloud Director console proxy access point host[:port] – fat.fingar.lab

Log out and log back into the same provider url FQDN or IP address reports

Failed to Start
An error occurred during the initialization. Accessing the application through an unsupported public URL or poor connectivity might cause this error.

 

SSH into the VM.
Reading https://docs.vmware.com/en/VMware-Cloud-Director/10.1/VMware-Cloud-Director-Install-Configure-Upgrade-Guide/GUID-78E3AC64-4747-4FAB-A1D0-5605564A1D0C.html

/opt/vmware/vcloud-director/bin/./cell-management-tool manage-config -n webapp.allowed.origins -l
Property “webapp.allowed.origins” has value “http://fat.fingar.lab,vcd.my.lab,http://192.168.0.241,https://192.168.0.241,https://fat.fingar.lab,192.168.0.241”

Remove the fat fingers
/opt/vmware/vcloud-director/bin/./cell-management-tool manage-config -n webapp.allowed.origins -v “https://vcd.my.lab,vcd.my.lab,http://192.168.0.241,http://vcd.my.lab,https://192.168.0.241,192.168.0.241”

Same error page via the FQDN or IP address /provider/bootstrap-failure?url=%2Fprovider%2F

Reviewing:

/opt/vmware/vcloud-director/bin/./cell-management-tool manage-config -n ui.baseUri -l
Property “ui.baseUri” has value “https://fat.fingar.lab”

/opt/vmware/vcloud-director/bin/./cell-management-tool manage-config -n restapi.baseUrl -l
Property “restapi.baseUrl” does not exist

Fix:

/opt/vmware/vcloud-director/bin/./cell-management-tool manage-config -n ui.baseUri -v “https://vcd.my.lab”
Updating property: Property “ui.baseUri” has value “https://vcd.my.lab”

/opt/vmware/vcloud-director/bin/./cell-management-tool manage-config -n restapi.baseUri -v “https://vcd.my.lab”
Updating property: Property “restapi.baseUri” has value “https://vcd.my.lab”

Open a Incognito window and the https FQND /provider/ now logs in.
Correct the fat fingers for the http and Console Proxy

Issue

Setup – VMware Cloud Director 10.1 – you fat finger (fingar in the screen caps to prove the point) the http/https/api public addresses.
You can no longer login with the FQDN or IP addres.

provider/administration/settings/public-addresses

HTTP(non-secure) Base URL – http://fat.fingar.lab
HTTPS(secure) Base URL – https://fat.fingar.lab
VMware Cloud Director console proxy access point host[:port] – fat.fingar.lab

Log out and log back into the same provider url FQDN or IP address reports

Failed to Start
An error occurred during the initialization. Accessing the application through an unsupported public URL or poor connectivity might cause this error.

 

Fix

SSH into the VM.
Reading https://docs.vmware.com/en/VMware-Cloud-Director/10.1/VMware-Cloud-Director-Install-Configure-Upgrade-Guide/GUID-78E3AC64-4747-4FAB-A1D0-5605564A1D0C.html

/opt/vmware/vcloud-director/bin/./cell-management-tool manage-config -n webapp.allowed.origins -l
Property “webapp.allowed.origins” has value “http://fat.fingar.lab,vcd.my.lab,http://192.168.0.241,https://192.168.0.241,https://fat.fingar.lab,192.168.0.241”

Remove the fat fingers
/opt/vmware/vcloud-director/bin/./cell-management-tool manage-config -n webapp.allowed.origins -v “https://vcd.my.lab,vcd.my.lab,http://192.168.0.241,http://vcd.my.lab,https://192.168.0.241,192.168.0.241”

Same error page via the FQDN or IP address /provider/bootstrap-failure?url=%2Fprovider%2F

Reviewing:

/opt/vmware/vcloud-director/bin/./cell-management-tool manage-config -n ui.baseUri -l
Property “ui.baseUri” has value “https://fat.fingar.lab”

/opt/vmware/vcloud-director/bin/./cell-management-tool manage-config -n restapi.baseUrl -l
Property “restapi.baseUrl” does not exist

Fix:

/opt/vmware/vcloud-director/bin/./cell-management-tool manage-config -n ui.baseUri -v “https://vcd.my.lab”
Updating property: Property “ui.baseUri” has value “https://vcd.my.lab”

/opt/vmware/vcloud-director/bin/./cell-management-tool manage-config -n restapi.baseUri -v “https://vcd.my.lab”
Updating property: Property “restapi.baseUri” has value “https://vcd.my.lab”

Correct HTTP and Console Proxy

Open a Incognito window and the https FQND /provider/ now logs in.
Correct the fat fingers for the http and Console Proxy

Menu