Mount /usr/share/openstack-octavia-amphora-images into mistral-executor
With containerized undercloud, the Octavia playbook shipping with tripleo-common can no longer install the octavia-amphora-image RPM available in RHOSP-based environments as the yum repository list is empty. Thus, the amphora QCOW2 file needs to be made available by the undercloud base OS via a volume mount. This will also help in uniformizing default placement of amphora images across different OpenStack distributions. Change Icae47e76f71b739cf0e1f5633b15432fd531e645 will close the loop. Partial-Bug: #1800916 Change-Id: I84943a5e6e2b08baaf8e61a1cd9f2fe92286ad9a
This commit is contained in:
parent
1ef3efc61f
commit
70162488bf
@ -158,6 +158,11 @@ outputs:
|
|||||||
path: /usr/share/ceph-ansible
|
path: /usr/share/ceph-ansible
|
||||||
state: directory
|
state: directory
|
||||||
setype: svirt_sandbox_file_t
|
setype: svirt_sandbox_file_t
|
||||||
|
- name: create octavia-amphora-images directory
|
||||||
|
file:
|
||||||
|
path: /usr/share/openstack-octavia-amphora-images
|
||||||
|
state: directory
|
||||||
|
setype: svirt_sandbox_file_t
|
||||||
upgrade_tasks:
|
upgrade_tasks:
|
||||||
- when: step|int == 0
|
- when: step|int == 0
|
||||||
tags: common
|
tags: common
|
||||||
|
@ -42,10 +42,12 @@ parameters:
|
|||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
OctaviaAmphoraImageFilename:
|
OctaviaAmphoraImageFilename:
|
||||||
description: Filename for the amphora image. Using the default of an empty
|
description: Filename for the amphora image. Image files are expected to be
|
||||||
string will cause a distro specific default to be used. (e.g.
|
located in directory /usr/share/openstack-octavia-amphora-images.
|
||||||
|
Using the default of an empty string will cause a distro
|
||||||
|
specific default to be used. (e.g.
|
||||||
/usr/share/openstack-octavia-amphora-images/amphora-x64-haproxy.qcow2
|
/usr/share/openstack-octavia-amphora-images/amphora-x64-haproxy.qcow2
|
||||||
on CentOS and /usr/share/rhosp-director-images/octavia-amphora.qcow2
|
on CentOS and /usr/share/openstack-octavia-amphora-images/octavia-amphora.qcow2
|
||||||
on Red Hat Enterprise Linux).
|
on Red Hat Enterprise Linux).
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
|
@ -146,5 +146,6 @@ parameter_defaults:
|
|||||||
connect_timeout: 60
|
connect_timeout: 60
|
||||||
MistralExecutorExtraVolumes:
|
MistralExecutorExtraVolumes:
|
||||||
- /usr/share/ceph-ansible:/usr/share/ceph-ansible:ro
|
- /usr/share/ceph-ansible:/usr/share/ceph-ansible:ro
|
||||||
|
- /usr/share/openstack-octavia-amphora-images:/usr/share/openstack-octavia-amphora-images:ro
|
||||||
NeutronMetadataProxySharedSecret: ''
|
NeutronMetadataProxySharedSecret: ''
|
||||||
MetadataNATRule: true
|
MetadataNATRule: true
|
||||||
|
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
Octavia amphora images are now expected to be located in directory
|
||||||
|
/usr/share/openstack-octavia-amphora-images on the undercloud node
|
||||||
|
for uniformization across different OpenStack distributions.
|
||||||
|
deprecations:
|
||||||
|
- |
|
||||||
|
Ensure Octavia amphora image files are placed in directory
|
||||||
|
/usr/share/openstack-octavia-amphora-images on the undercloud node.
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fix an issue where Octavia amphora images were not accessible during
|
||||||
|
overcloud deployment.
|
Loading…
Reference in New Issue
Block a user