VMWare Instance Doesn't Show IP Address in OpenStack UI or CLI
Problem
VMware instances did not show any IP address in the OpenStack UI or OpenStack CLI but have an IP address in the VMware console.
Environment
- Platform9 Managed OpenStack - v4.4 and Higher
- VMware
- pf9-discovery
Cause
pf9-discovery service is not removing IPs from discovered VMs when they are unallocated from a VC perspective. It's only adding new IPs, but not checking existing ones.
Sometimes VC returns NIC info with DVS UUID as network name, instead of PortGroup name. This issue was fixed by a lookup using PortGroup moID (physical_network) in case the name lookup fails.
Port creation in Neutron was always using 'service' tenant causing missing IPs in nova and was fixed using instance's project_id in neutron port creation.
Resolution
The issue is now fixed in PMO v5.2 and now back ported to the latest v5.1 and v5.0 release.
Additional Information
The issue was tracked under IAAS-10585