This issue is due to be fixed in future version of VMware Cloud Director.
Workaround:
There are two current workarounds available:
Workaround 1 (recommended) :Manually input the values for the
system.external.http.link and
system.external.link so that when the API payload is sent the values are not null.
- Note down the public address of Cloud director (Provider portal -> Administration -> Settings -> Public Addresses)
- SSH to the primary cell
- Run the following
/opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n system.external.http.link -v '<Public address>'
/opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n system.external.link -v '<Public address>'
- The shh session will indicate that a new property has been stored
- This can be checked on the database by running the following
select * from config where name like '%system.external%';
Example:
[ /opt/vmware/vcloud-director ]# /opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n system.external.http.link -v 'http://vcdlab.vcloud.local'
New property being stored: Property "system.external.http.link" has value "http://vcdlab.vcloud.local"
[ /opt/vmware/vcloud-director ]# /opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n system.external.link -v 'https://vcdlab.vcloud.local'
New property being stored: Property "system.external.link" has value "https://vcdlab.vcloud.local"
vcloud=# select * from config where name like '%system.external%';
config_id | cat | name | value | sortorder | timestamp | is_hidden
-----------+--------+---------------------------+--------------------+-----------+----------------------------+-----------
225661 | vcloud | system.external.http.link | http://vcdlab.vcloud.local | 0 | 2022-09-15 10:33:06.328+00 | f
225681 | vcloud | system.external.link | https://vcdlab.vcloud.local | 0 | 2022-09-15 10:33:29.238+00 | f
(2 rows)
Workaround 2 (Not recommended) :
- Remove the Global load balancer namespace and make the change required (once this setting is removed, logging into VMware Cloud Director portal will not be possible).