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
(cherry picked from commit a4d2a2aa64a3076fc5e7a2b1f6b3fea3fd2dd711)
This commit is contained in:
Jonathan Rosser 2019-06-27 07:22:21 +01:00
parent ace8b076a5
commit db15fc1728

View File

@ -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 }}