vmware-nsx/vmware_nsx/shell
Kobi Samoray 0e97278c8a NSXv: admin util metadata breakage recovery
Due to neutron bug, some metadata components in the various backend Edge
appliances are missing. The patch is supposed to address these
issues.

Admin util command can run per Edge, per AZ or for the whole cloud.

Cases handled by the utility:
- Existing metadata proxies' internal IP is different than the IPs which are
defined in the Edge's loadbalancer object.
This case can happen when the metadata proxies are recreated for some reason.

- Edge appliance is lacking the metadata network connectivity, and the
loadbalancer objects.
This case can happen while a router or a DHCP was created by the Neutron
parent process, which failed to initialize with metadata due to a bug.

- The Edge is missing the metadata firewall rules.
This case can happen while the first interface attachment to the router was
done in the Neutron parent process context due to the bug described above.

Command syntax:
Update AZ:
    nsxadmin -r metadata -o nsx-update --property az-name=az123

Update single Edge appliance:
    nsxadmin -r metadata -o nsx-update --property edge-id=edge-15

Update entire cloud:
    nsxadmin -r metadata -o nsx-update

Change-Id: I77de9e0a0c627e43d3b1c95573d151e0414a34a9
2019-03-15 12:06:50 +02:00
..
admin NSXv: admin util metadata breakage recovery 2019-03-15 12:06:50 +02:00
__init__.py Switch to oslo_log 2017-02-23 10:34:53 +02:00
commands.py Use the correct _ from vmware_nsx._i18n file 2015-12-06 07:04:17 -08:00
hk_trigger.sh Housekeeper: trigger execution 2017-12-28 16:17:27 +00:00
nsx_instance_if_migrate.py make python 3 the default for tox.ini 2018-06-21 07:43:22 +00:00
nsxadmin.py NSX|P: Initial admin utilities 2018-11-14 12:29:14 +00:00
resources.py NSX|V admin utils: Find and fix spoofguard policies mismatches 2019-03-04 12:05:20 +02:00