Port to Kilo

Use kilo upstream RPM packages

Partially-implements: blueprint port-kilo

Change-Id: Ia0b4db5dc8e40c01184871e77458dc718c3c46cd
This commit is contained in:
Steven Dake 2015-05-04 19:28:55 -07:00
parent 5ffc66cd69
commit c81b003309
14 changed files with 113 additions and 112 deletions

View File

@ -1,12 +1,12 @@
glanceregistry: glanceregistry:
image: kollaglue/centos-rdo-glance-registry:juno image: kollaglue/centos-rdo-glance-registry:kilo
name: glance-registry name: glance-registry
net: "host" net: "host"
restart: always restart: always
env_file: env_file:
- openstack.env - openstack.env
glanceapi: glanceapi:
image: kollaglue/centos-rdo-glance-api:juno image: kollaglue/centos-rdo-glance-api:kilo
name: glance-api name: glance-api
net: "host" net: "host"
restart: always restart: always

View File

@ -1,5 +1,5 @@
heatapicfn: heatapicfn:
image: kollaglue/centos-rdo-heat-api-cfn:juno image: kollaglue/centos-rdo-heat-api-cfn:kilo
name: heat-api-cfn name: heat-api-cfn
net: "host" net: "host"
restart: always restart: always

View File

@ -1,12 +1,12 @@
heatapi: heatapi:
image: kollaglue/centos-rdo-heat-api:juno image: kollaglue/centos-rdo-heat-api:kilo
name: heat-api name: heat-api
net: "host" net: "host"
restart: always restart: always
env_file: env_file:
- openstack.env - openstack.env
heatengine: heatengine:
image: kollaglue/centos-rdo-heat-engine:juno image: kollaglue/centos-rdo-heat-engine:kilo
name: heat-engine name: heat-engine
net: "host" net: "host"
restart: always restart: always

View File

@ -1,5 +1,5 @@
horizon: horizon:
image: kollaglue/centos-rdo-horizon:juno image: kollaglue/centos-rdo-horizon:kilo
name: horizon name: horizon
net: "host" net: "host"
restart: always restart: always

View File

@ -1,10 +1,10 @@
mariadbdata: mariadbdata:
image: kollaglue/centos-rdo-mariadb-data:juno image: kollaglue/centos-rdo-mariadb-data:kilo
name: mariadbdata name: mariadbdata
restart: on-failure restart: on-failure
mariadbapp: mariadbapp:
image: kollaglue/centos-rdo-mariadb-app:juno image: kollaglue/centos-rdo-mariadb-app:kilo
name: mariadbapp name: mariadbapp
restart: always restart: always
env_file: env_file:

View File

@ -1,5 +1,5 @@
neutronagents: neutronagents:
image: kollaglue/centos-rdo-neutron-agents:juno image: kollaglue/centos-rdo-neutron-agents:kilo
name: neutron-agents name: neutron-agents
net: "host" net: "host"
privileged: true privileged: true

View File

@ -1,5 +1,5 @@
neutronserver: neutronserver:
image: kollaglue/centos-rdo-neutron-server:juno image: kollaglue/centos-rdo-neutron-server:kilo
name: neutron-server name: neutron-server
net: "host" net: "host"
restart: always restart: always

View File

@ -1,9 +1,9 @@
computedata: computedata:
image: kollaglue/centos-rdo-nova-compute-data:juno image: kollaglue/centos-rdo-nova-compute-data:kilo
name: computedata name: computedata
libvirt: libvirt:
image: kollaglue/centos-rdo-nova-libvirt:juno image: kollaglue/centos-rdo-nova-libvirt:kilo
name: libvirt name: libvirt
net: host net: host
pid: host pid: host
@ -19,7 +19,7 @@ libvirt:
- computedata - computedata
novanetwork: novanetwork:
image: kollaglue/centos-rdo-nova-network:juno image: kollaglue/centos-rdo-nova-network:kilo
name: nova-network name: nova-network
net: host net: host
privileged: true privileged: true
@ -38,7 +38,7 @@ novanetwork:
# nova-metadata api is required in multi_host nova network mode. # nova-metadata api is required in multi_host nova network mode.
# http://docs.openstack.org/admin-guide-cloud/content/section_metadata-service.html # http://docs.openstack.org/admin-guide-cloud/content/section_metadata-service.html
novaapi: novaapi:
image: kollaglue/centos-rdo-nova-api:juno image: kollaglue/centos-rdo-nova-api:kilo
name: nova-api name: nova-api
privileged: True privileged: True
net: "host" net: "host"
@ -49,7 +49,7 @@ novaapi:
- /lib/modules:/lib/modules:ro - /lib/modules:/lib/modules:ro
novacompute: novacompute:
image: kollaglue/centos-rdo-nova-compute:juno image: kollaglue/centos-rdo-nova-compute:kilo
name: nova-compute name: nova-compute
net: host net: host
privileged: true privileged: true

View File

@ -1,5 +1,5 @@
novaconductor: novaconductor:
image: kollaglue/centos-rdo-nova-conductor:juno image: kollaglue/centos-rdo-nova-conductor:kilo
name: nova-conductor name: nova-conductor
net: "host" net: "host"
restart: always restart: always
@ -9,7 +9,7 @@ novaconductor:
# Unfortunately nova api needs to be privileged as it wants to run # Unfortunately nova api needs to be privileged as it wants to run
# a firewall command. # a firewall command.
novaapi: novaapi:
image: kollaglue/centos-rdo-nova-api:juno image: kollaglue/centos-rdo-nova-api:kilo
name: nova-api name: nova-api
privileged: True privileged: True
net: "host" net: "host"
@ -18,7 +18,7 @@ novaapi:
- openstack.env - openstack.env
novascheduler: novascheduler:
image: kollaglue/centos-rdo-nova-scheduler:juno image: kollaglue/centos-rdo-nova-scheduler:kilo
name: nova-scheduler name: nova-scheduler
net: "host" net: "host"
restart: always restart: always
@ -26,7 +26,7 @@ novascheduler:
- openstack.env - openstack.env
novaconsoleauth: novaconsoleauth:
image: kollaglue/centos-rdo-nova-consoleauth:juno image: kollaglue/centos-rdo-nova-consoleauth:kilo
name: nova-consoleauth name: nova-consoleauth
net: "host" net: "host"
restart: always restart: always
@ -34,7 +34,7 @@ novaconsoleauth:
- openstack.env - openstack.env
novanovncproxy: novanovncproxy:
image: kollaglue/centos-rdo-nova-novncproxy:juno image: kollaglue/centos-rdo-nova-novncproxy:kilo
name: nova-novncproxy name: nova-novncproxy
net: "host" net: "host"
restart: always restart: always

View File

@ -1,9 +1,9 @@
computedata: computedata:
image: kollaglue/centos-rdo-nova-compute-data:juno image: kollaglue/centos-rdo-nova-compute-data:kilo
name: computedata name: computedata
libvirt: libvirt:
image: kollaglue/centos-rdo-nova-libvirt:juno image: kollaglue/centos-rdo-nova-libvirt:kilo
name: libvirt name: libvirt
net: host net: host
pid: host pid: host
@ -18,7 +18,7 @@ libvirt:
- computedata - computedata
novanetwork: novanetwork:
image: kollaglue/centos-rdo-nova-network:juno image: kollaglue/centos-rdo-nova-network:kilo
name: nova-network name: nova-network
net: host net: host
privileged: true privileged: true
@ -33,7 +33,7 @@ novanetwork:
- computedata - computedata
novacompute: novacompute:
image: kollaglue/centos-rdo-nova-compute:juno image: kollaglue/centos-rdo-nova-compute:kilo
name: nova-compute name: nova-compute
net: host net: host
privileged: true privileged: true

View File

@ -1,9 +1,9 @@
computedata: computedata:
image: kollaglue/centos-rdo-nova-compute-data:juno image: kollaglue/centos-rdo-nova-compute-data:kilo
name: computedata name: computedata
libvirt: libvirt:
image: kollaglue/centos-rdo-nova-libvirt:juno image: kollaglue/centos-rdo-nova-libvirt:kilo
name: libvirt name: libvirt
net: host net: host
pid: host pid: host
@ -19,7 +19,7 @@ libvirt:
- computedata - computedata
novacompute: novacompute:
image: kollaglue/centos-rdo-nova-compute:juno image: kollaglue/centos-rdo-nova-compute:kilo
name: nova-compute name: nova-compute
net: host net: host
privileged: true privileged: true

View File

@ -1,5 +1,5 @@
rabbitmq: rabbitmq:
image: kollaglue/centos-rdo-rabbitmq:juno image: kollaglue/centos-rdo-rabbitmq:kilo
name: rabbitmq name: rabbitmq
restart: always restart: always
net: "host" net: "host"

View File

@ -2,13 +2,15 @@ FROM centos
MAINTAINER Kolla Project (https://launchpad.net/kolla) MAINTAINER Kolla Project (https://launchpad.net/kolla)
# Set up repositories # Set up repositories
RUN yum install -y https://rdo.fedorapeople.org/rdo-release.rpm RUN yum install -y https://rdoproject.org/repos/openstack-kilo/rdo-release-kilo.rpm
RUN curl https://repos.fedorapeople.org/repos/openstack/openstack-trunk/epel-7/rc2/delorean-kilo.repo -o /etc/yum.repos.d/delorean-kilo.repo
RUN curl https://copr.fedoraproject.org/coprs/larsks/crux/repo/epel-7/larsks-crux-epel-7.repo -o /etc/yum.repos.d/larsks-crux-epel-7.repo RUN curl https://copr.fedoraproject.org/coprs/larsks/crux/repo/epel-7/larsks-crux-epel-7.repo -o /etc/yum.repos.d/larsks-crux-epel-7.repo
RUN curl https://copr.fedoraproject.org/coprs/sdake/pam.noaudit/repo/epel-7/sdake-pam.noaudit-epel-7.repo -o /etc/yum.repos.d/sdake-pam.noaudit-epel-7.repo RUN curl https://copr.fedoraproject.org/coprs/sdake/pam.noaudit/repo/epel-7/sdake-pam.noaudit-epel-7.repo -o /etc/yum.repos.d/sdake-pam.noaudit-epel-7.repo
# CentOS 7.1 workaround for conflicting packages with libvirt # CentOS 7.1 workaround for conflicting packages with libvirt
RUN rpm -e --nodeps systemd-container systemd-container-libs RUN rpm -e --nodeps systemd-container systemd-container-libs
RUN yum -y install systemd systemd-libs systemd-devel && yum clean all RUN rpm -e --nodeps yum-plugin-fastestmirror
RUN yum -d 10 -y install systemd systemd-libs systemd-devel && yum clean all
RUN yum install -y epel-release && yum clean all RUN yum install -y epel-release && yum clean all
@ -17,85 +19,85 @@ RUN yum update -y && yum clean all
# Install base packages # Install base packages
RUN yum install -y \ RUN yum install -y \
crux \ crux \
mariadb \ mariadb \
mariadb-libs \ mariadb-libs \
openssl \ openssl \
openstack-utils \ openstack-utils \
pyparsing \ pyparsing \
python-alembic \ python-alembic \
python-amqp \ python-amqp \
python-amqplib \ python-amqplib \
python-anyjson \ python-anyjson \
python-boto \ python-boto \
python-cheetah \ python-cheetah \
python-cliff \ python-cliff \
python-cmd2 \ python-cmd2 \
python-croniter \ python-croniter \
python-crypto \ python-crypto \
python-d2to1 \ python-d2to1 \
python-docutils \ python-docutils \
python-dogpile-cache \ python-dogpile-cache \
python-dogpile-core \ python-dogpile-core \
python-empy \ python-empy \
python-eventlet \ python-eventlet \
python-flask \ python-flask \
python-futures \ python-futures \
python-greenlet \ python-greenlet \
python-httplib2 \ python-httplib2 \
python-iso8601 \ python-iso8601 \
python-itsdangerous \ python-itsdangerous \
python-jinja2 \ python-jinja2 \
python-jsonpatch \ python-jsonpatch \
python-jsonpath-rw \ python-jsonpath-rw \
python-jsonpointer \ python-jsonpointer \
python-jsonschema \ python-jsonschema \
python-keyring \ python-keyring \
python-kombu \ python-kombu \
python-ldap \ python-ldap \
python-lesscpy \ python-lesscpy \
python-lockfile \ python-lockfile \
python-lxml \ python-lxml \
python-markdown \ python-markdown \
python-memcached \ python-memcached \
python-migrate \ python-migrate \
python-msgpack \ python-msgpack \
python-netifaces \ python-netifaces \
python-networkx \ python-networkx \
python-oauthlib \ python-oauthlib \
python-oslo-config \ python-oslo-config \
python-oslo-messaging \ python-oslo-messaging \
python-oslo-rootwrap \ python-oslo-rootwrap \
python-paramiko \ python-paramiko \
python-passlib \ python-passlib \
python-paste-deploy \ python-paste-deploy \
python-pbr \ python-pbr \
python-pecan \ python-pecan \
python-ply \ python-ply \
python-prettytable \ python-prettytable \
python-psutil \ python-psutil \
python-pycadf \ python-pycadf \
python-pygments \ python-pygments \
python-pymongo \ python-pymongo \
python-qpid \ python-qpid \
python-repoze-lru \ python-repoze-lru \
python-requests \ python-requests \
python-routes \ python-routes \
python-simplegeneric \ python-simplegeneric \
python-simplejson \ python-simplejson \
python-singledispatch \ python-singledispatch \
python-six \ python-six \
python-sqlalchemy \ python-sqlalchemy \
python-stevedore \ python-stevedore \
python-taskflow \ python-taskflow \
python-versiontools \ python-versiontools \
python-warlock \ python-warlock \
python-webob \ python-webob \
python-websockify \ python-websockify \
python-webtest \ python-webtest \
python-werkzeug \ python-werkzeug \
python-wsme \ python-wsme \
&& yum clean all && yum clean all
# This is dirty like zebra. This works around a bug in Ubuntu 14.04 LTS. The # This is dirty like zebra. This works around a bug in Ubuntu 14.04 LTS. The
# --net=host option does not work on ubuntu 14.04 because of a kernel bug. One # --net=host option does not work on ubuntu 14.04 because of a kernel bug. One
@ -108,5 +110,4 @@ RUN yum -y install pam+noaudit && yum clean all
# End dirty like zebra # End dirty like zebra
RUN mkdir -p /opt/kolla RUN mkdir -p /opt/kolla
ADD service_hosts.sh /opt/kolla/service_hosts.sh COPY service_hosts.sh kolla-common.sh /opt/kolla/
ADD kolla-common.sh /opt/kolla/kolla-common.sh

View File

@ -7,7 +7,7 @@ RELEASE_NAMESPACE=kollaglue
NAMESPACE=kollaglue NAMESPACE=kollaglue
PREFIX=centos-rdo- PREFIX=centos-rdo-
TAG=$(git rev-parse --short HEAD) TAG=$(git rev-parse --short HEAD)
RELEASE_TAG=juno RELEASE_TAG=kilo
usage () { usage () {
cat <<EOF cat <<EOF