From a4d2a2aa64a3076fc5e7a2b1f6b3fea3fd2dd711 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Thu, 27 Jun 2019 07:22:21 +0100 Subject: [PATCH] Use the admin endpoint to upload glance images The deploy host may not have access to the public endpoint. The public endpoint SSL certificate may not be trusted. Both of these things will cause a failure to upload the image. Depends-On: I8de48eb1fb4c8d321098ca54b9e21270edc7ac87 Depends-On: Ide70b5d8f67d8c8a87e3f16671f0f7fb72338b89 Depends-On: Ia5fda5d417b79189d048c8891b84d57331df1404 Change-Id: Iddc604e852e0ceb7ef6fd68a123f44a14d8762fa Closes-Bug: 1831183 --- tasks/octavia_amp_image.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/octavia_amp_image.yml b/tasks/octavia_amp_image.yml index a40df2e3..8ac6bc8b 100644 --- a/tasks/octavia_amp_image.yml +++ b/tasks/octavia_amp_image.yml @@ -72,6 +72,7 @@ command: >- openstack image create --os-cloud default + --os-interface admin --file {{ octavia_download_result.dest }} --disk-format qcow2 --tag {{ octavia_glance_image_tag }}