
Duplicate declaration were not cought by CI checks in https://review.openstack.org/#/c/582621/ . If we run nova api and metadata in wsgi on the same host we have duplicate declaration. This change moves config into a condition in nova::api to only consider them if we do not run metadata api via httpd wsgi. Related-Bug: 1781405 Change-Id: I3d572dda2e90b7e24f2f8912d704462b9332d807