java.lang.IllegalStateException: Invalid URL parameters provided to construct NSX url - Invalid URL parameters provided to construct NSX url
VMware Cloud Director 10.3.3
This issue occurs because the segment ID is missing from the vCloud Director database, making it impossible to construct the URL
/opt/vmware/appliance/bin/create-backup.sh
sudo -i -u postgres psql vcloud
SELECT real_network.id,opaque_network_inv.name, opaque_network_inv.moref,real_network.name AS real_network_name, real_network.portgroup_moref,real_network.logical_switch_id
FROM opaque_network_inv
LEFT JOIN real_network ON real_network.logical_switch_id = opaque_network_inv.network_id
WHERE real_network.name IN (select name from real_network where id in (select rnet_id from logical_network where name in (select name from real_network where portgroup_moref IS NULL) and scope_type=2))
ORDER BY opaque_network_inv.moref ;
Note: All displayed results will be networks without any reference to the 'portgroup_moref' (segment id) inside the table 'real_network'
https://<vc-url>/mob/?moid=network-XXX
Note: Replace 'network-XXX' by the appropriate value from Step3, column 'moref'
UPDATE real_network
SET portgroup_moref = 'segment_id from STEP6'
where id = 'id from STEP3';
Note: id will come from Step3,from row where it matches with 'moref' from Step4