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.
Conflicts:
docker/services/mistral-executor.yaml
Partial-Bug: #1800916
Change-Id: I84943a5e6e2b08baaf8e61a1cd9f2fe92286ad9a
(cherry picked from commit 70162488bf
)
This commit is contained in:
parent
9e2afdb747
commit
420dd84af3
|
@ -151,6 +151,11 @@ outputs:
|
|||
Log files from mistral containers can be found under
|
||||
/var/log/containers/mistral.
|
||||
ignore_errors: true
|
||||
- name: create octavia-amphora-images directory
|
||||
file:
|
||||
path: /usr/share/openstack-octavia-amphora-images
|
||||
state: directory
|
||||
setype: svirt_sandbox_file_t
|
||||
upgrade_tasks:
|
||||
- when: step|int == 0
|
||||
tags: common
|
||||
|
|
|
@ -42,10 +42,12 @@ parameters:
|
|||
type: string
|
||||
default: ''
|
||||
OctaviaAmphoraImageFilename:
|
||||
description: Filename for the amphora image. Using the default of an empty
|
||||
string will cause a distro specific default to be used. (e.g.
|
||||
description: Filename for the amphora image. Image files are expected to be
|
||||
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
|
||||
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).
|
||||
type: string
|
||||
default: ''
|
||||
|
|
|
@ -143,5 +143,6 @@ parameter_defaults:
|
|||
connect_timeout: 60
|
||||
MistralExecutorExtraVolumes:
|
||||
- /usr/share/ceph-ansible:/usr/share/ceph-ansible:ro
|
||||
- /usr/share/openstack-octavia-amphora-images:/usr/share/openstack-octavia-amphora-images:ro
|
||||
NeutronMetadataProxySharedSecret: ''
|
||||
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