diff --git a/tests/templates/globals-default.j2 b/tests/templates/globals-default.j2
index 2ba7dbd3031fb0c25aab23c95790329890bb4e21..991d16eccb4db5ef6fe23a2c1c144974ef2ab7b3 100644
--- a/tests/templates/globals-default.j2
+++ b/tests/templates/globals-default.j2
@@ -24,6 +24,11 @@ openstack_release: "{{ build_image_tag }}"
 {% else %}
 # use docker hub images
 docker_namespace: "kolla"
+{% if need_build_image and is_previous_release %}
+# NOTE(mgoddard): Ensure that the insecure local registry is trusted, since it
+# will be the source of images during the upgrade.
+docker_custom_option: "--insecure-registry {{ api_interface_address }}:4000"
+{% endif %}
 {% if not is_previous_release %}
 openstack_release: "{{ zuul.branch | basename }}"
 {% else %}