Fix Heat container env vars and dependencies
This commit adds a few dependencies (that are actually packaging errors) present in all of the containers, as well as specifically in heat-engine. Some of the environment variables were not set correctly in the heat-api-cfn container. The environment variables have also been correctly added to the genenv script. Also removed duplicated compose file data already present in heat-api-engine. Closes-Bug: #1461872 Change-Id: I9631d1bc6ea42425272570a9dda8cbf5edcef4f3
This commit is contained in:
parent
b87f16fac5
commit
1962bfb16e
@ -1,7 +0,0 @@
|
|||||||
heatapicfn:
|
|
||||||
image: kollaglue/centos-rdo-heat-api-cfn:latest
|
|
||||||
name: heat-api-cfn
|
|
||||||
net: "host"
|
|
||||||
restart: always
|
|
||||||
env_file:
|
|
||||||
- openstack.env
|
|
@ -1,5 +1,8 @@
|
|||||||
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
|
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
|
||||||
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
||||||
|
|
||||||
|
# necessary until https://bugzilla.redhat.com/show_bug.cgi?id=1229477 is fixed
|
||||||
|
RUN yum -y install python-oslo-policy && yum clean all
|
||||||
|
|
||||||
RUN mkdir -p /opt/kolla
|
RUN mkdir -p /opt/kolla
|
||||||
COPY config-heat.sh /opt/kolla/config-heat.sh
|
COPY config-heat.sh /opt/kolla/config-heat.sh
|
||||||
|
@ -2,6 +2,10 @@ FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%heat-base:%%KOLLA_TAG%%
|
|||||||
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
||||||
|
|
||||||
RUN yum -y install \
|
RUN yum -y install \
|
||||||
|
# until http://pkgs.fedoraproject.org/cgit/openstack-heat.git/tree/openstack-heat.spec#n248 \
|
||||||
|
# is updated, the clients must remain here: \
|
||||||
|
python-barbicanclient \
|
||||||
|
python-zaqarclient \
|
||||||
openstack-heat-engine \
|
openstack-heat-engine \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
|
@ -15,7 +15,9 @@ set -e
|
|||||||
: ${RABBIT_PASSWORD:=guest}
|
: ${RABBIT_PASSWORD:=guest}
|
||||||
|
|
||||||
check_required_vars HEAT_DB_PASSWORD HEAT_KEYSTONE_PASSWORD \
|
check_required_vars HEAT_DB_PASSWORD HEAT_KEYSTONE_PASSWORD \
|
||||||
KEYSTONE_PUBLIC_SERVICE_HOST RABBITMQ_SERVICE_HOST
|
HEAT_API_CFN_URL_HOST HEAT_API_CFN_SERVICE_PORT \
|
||||||
|
KEYSTONE_PUBLIC_SERVICE_HOST KEYSTONE_PUBLIC_SERVICE_PORT \
|
||||||
|
RABBITMQ_SERVICE_HOST MARIADB_SERVICE_HOST
|
||||||
|
|
||||||
fail_unless_db
|
fail_unless_db
|
||||||
dump_vars
|
dump_vars
|
||||||
|
11
tools/genenv
11
tools/genenv
@ -126,9 +126,13 @@ NEUTRON_SHARED_SECRET=sharedsecret
|
|||||||
# Heat
|
# Heat
|
||||||
HEAT_DB_NAME=heat
|
HEAT_DB_NAME=heat
|
||||||
HEAT_DB_PASSWORD=kolla
|
HEAT_DB_PASSWORD=kolla
|
||||||
|
HEAT_KEYSTONE_USER=heat
|
||||||
HEAT_KEYSTONE_PASSWORD=heat
|
HEAT_KEYSTONE_PASSWORD=heat
|
||||||
|
HEAT_CFN_KEYSTONE_USER=heat-cfn
|
||||||
|
HEAT_CFN_KEYSTONE_PASSWORD=heat
|
||||||
HEAT_API_SERVICE_HOST=$HOST_IP
|
HEAT_API_SERVICE_HOST=$HOST_IP
|
||||||
HEAT_API_CFN_SERVICE_HOST=$HOST_IP
|
HEAT_API_CFN_SERVICE_HOST=$HOST_IP
|
||||||
|
HEAT_API_CFN_SERVICE_PORT=8000
|
||||||
HEAT_API_CFN_URL_HOST=$HOST_IP
|
HEAT_API_CFN_URL_HOST=$HOST_IP
|
||||||
|
|
||||||
# Magnum
|
# Magnum
|
||||||
@ -267,8 +271,14 @@ NEUTRON_FLAT_NETWORK_NAME=$NEUTRON_FLAT_NETWORK_NAME
|
|||||||
NEUTRON_FLAT_NETWORK_INTERFACE=$NEUTRON_FLAT_NETWORK_INTERFACE
|
NEUTRON_FLAT_NETWORK_INTERFACE=$NEUTRON_FLAT_NETWORK_INTERFACE
|
||||||
HEAT_DB_NAME=$HEAT_DB_NAME
|
HEAT_DB_NAME=$HEAT_DB_NAME
|
||||||
HEAT_DB_PASSWORD=$HEAT_DB_PASSWORD
|
HEAT_DB_PASSWORD=$HEAT_DB_PASSWORD
|
||||||
|
HEAT_KEYSTONE_USER=$HEAT_KEYSTONE_USER
|
||||||
HEAT_KEYSTONE_PASSWORD=$HEAT_KEYSTONE_PASSWORD
|
HEAT_KEYSTONE_PASSWORD=$HEAT_KEYSTONE_PASSWORD
|
||||||
|
HEAT_CFN_KEYSTONE_USER=$HEAT_CFN_KEYSTONE_USER
|
||||||
|
HEAT_CFN_KEYSTONE_PASSWORD=$HEAT_CFN_KEYSTONE_PASSWORD
|
||||||
HEAT_API_SERVICE_HOST=$HEAT_API_SERVICE_HOST
|
HEAT_API_SERVICE_HOST=$HEAT_API_SERVICE_HOST
|
||||||
|
HEAT_API_CFN_SERVICE_HOST=$HEAT_API_CFN_SERVICE_HOST
|
||||||
|
HEAT_API_CFN_SERVICE_PORT=$HEAT_API_CFN_SERVICE_PORT
|
||||||
|
HEAT_API_CFN_URL_HOST=$HEAT_API_CFN_URL_HOST
|
||||||
MAGNUM_DB_NAME=$MAGNUM_DB_NAME
|
MAGNUM_DB_NAME=$MAGNUM_DB_NAME
|
||||||
MAGNUM_DB_PASSWORD=$MAGNUM_DB_PASSWORD
|
MAGNUM_DB_PASSWORD=$MAGNUM_DB_PASSWORD
|
||||||
MAGNUM_KEYSTONE_PASSWORD=$MAGNUM_KEYSTONE_PASSWORD
|
MAGNUM_KEYSTONE_PASSWORD=$MAGNUM_KEYSTONE_PASSWORD
|
||||||
@ -281,7 +291,6 @@ RABBITMQ_SERVICE_HOST=$RABBITMQ_SERVICE_HOST
|
|||||||
RABBITMQ_USER=$RABBIT_USER
|
RABBITMQ_USER=$RABBIT_USER
|
||||||
RABBIT_PASSWORD=$RABBIT_PASSWORD
|
RABBIT_PASSWORD=$RABBIT_PASSWORD
|
||||||
RABBIT_USERID=$RABBIT_USER
|
RABBIT_USERID=$RABBIT_USER
|
||||||
HEAT_API_CFN_SERVICE_HOST=$HEAT_API_CFN_SERVICE_HOST
|
|
||||||
DESIGNATE_DB_NAME=$DESIGNATE_DB_NAME
|
DESIGNATE_DB_NAME=$DESIGNATE_DB_NAME
|
||||||
DESIGNATE_DB_USER=$DESIGNATE_DB_USER
|
DESIGNATE_DB_USER=$DESIGNATE_DB_USER
|
||||||
DESIGNATE_DB_PASSWORD=$DESIGNATE_DB_PASSWORD
|
DESIGNATE_DB_PASSWORD=$DESIGNATE_DB_PASSWORD
|
||||||
|
Loading…
Reference in New Issue
Block a user