Browse Source

Add vitrage-persistor image

Kolla was missing vitrage-persistor image required by Vitrage
for data storage.

Change-Id: Id5e143636f9a81e7294b775f3d8b9134bee58054
Closes-Bug: #1869319
(cherry picked from commit ad06096448)
changes/78/719178/1
Q.hongtao 1 year ago
committed by caoyuan
parent
commit
f7cf4df5ad
  1. 42
      docker/vitrage/vitrage-persistor/Dockerfile.j2
  2. 6
      releasenotes/notes/bug-1869319-aa032c1330b540dc.yaml

42
docker/vitrage/vitrage-persistor/Dockerfile.j2

@ -0,0 +1,42 @@
FROM {{ namespace }}/{{ image_prefix }}vitrage-base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}
{% block vitrage_persistor_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}
{% if base_package_type == 'rpm' %}
{% set vitrage_persistor_packages = [
'openstack-vitrage-persistor'
] %}
{{ macros.install_packages(vitrage_persistor_packages | customizable("packages")) }}
{% elif base_package_type == 'deb' %}
{% if base_distro == 'debian' %}
{% set vitrage_persistor_packages = [
'vitrage-persistor'
] %}
{{ macros.install_packages(vitrage_persistor_packages | customizable("packages")) }}
{% else %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
{% endif %}
{% endif %}
{% endif %}
{% block vitrage_persistor_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER vitrage

6
releasenotes/notes/bug-1869319-aa032c1330b540dc.yaml

@ -0,0 +1,6 @@
---
fixes:
- |
Adds missing ``vitrage-persistor`` image, required by Vitrage
deployments for storing data.
`LP#1869319 <https://launchpad.net/bugs/1869319>`__
Loading…
Cancel
Save