Skip links

{{ dns_domain }} in build_vars conversion and clearing corrupted inventory

Jinja2 substitution in deployment files is not currently supported.  Many build_vars files included “{{ dns_domain }}” tags.  In the v3.0.0 convert_build_vars_to_deployment script, it carried these substitutions into the deployment files and thus corrupted them.  This is fixed in v3.0.1 to perform the substitution beforehand.

If the inventory is corrupted, the following steps should be performed to clear it (no deployment data will be lost):

Replace the corrupted hosts file with a clean version (from nuage-metro directory):

git show origin/master:src/inventory/hosts > src/inventory/hosts

Perform a reset build to clean out the remainder of the corrupted inventory:

metroae reset_build

Bitnami