From 0b04175782630ed562902a3be5cf7af1cf2c7332 Mon Sep 17 00:00:00 2001 From: Don Penney Date: Thu, 4 Apr 2019 22:56:12 -0400 Subject: [PATCH] Create stable image directives for Openstack services This update creates the image directives files for building the Openstack services in the stable build, based on the Stein release. Depends-On: I6852620b05f58509c93877d9d8c5754e9aa64c0e Change-Id: I2f53eab28acfa1038e9c6a1c2783d71ec9dfed47 Story: 2005248 Task: 30356 Signed-off-by: Don Penney --- centos_stable_docker_images.inc | 15 +++++++++++++++ centos_stable_wheels.inc | 11 ----------- .../centos/stx-aodh.stable_docker_image | 8 ++++++++ .../centos/stx-ironic.stable_docker_image | 8 ++++++++ .../centos/stx-magnum.stable_docker_image | 9 +++++++++ .../centos/stx-murano.stable_docker_image | 8 ++++++++ .../centos/stx-panko.stable_docker_image | 8 ++++++++ .../centos/stx-barbican.stable_docker_image | 7 +++++++ .../centos/stx-ceilometer.stable_docker_image | 8 ++++++++ .../centos/stx-cinder.stable_docker_image | 8 ++++++++ .../centos/stx-glance.stable_docker_image | 9 +++++++++ .../centos/stx-gnocchi.stable_docker_image | 14 ++++++++++++++ .../centos/stx-heat.stable_docker_image | 8 ++++++++ .../centos/stx-horizon.stable_docker_image | 15 +++++++++++++++ .../centos/stx-keystone.stable_docker_image | 8 ++++++++ .../centos/stx-neutron.stable_docker_image | 14 ++++++++++++++ .../centos/stx-nova.stable_docker_image | 10 ++++++++++ 17 files changed, 157 insertions(+), 11 deletions(-) create mode 100644 centos_stable_docker_images.inc create mode 100644 openstack/openstack-aodh/centos/stx-aodh.stable_docker_image create mode 100644 openstack/openstack-ironic/centos/stx-ironic.stable_docker_image create mode 100644 openstack/openstack-magnum/centos/stx-magnum.stable_docker_image create mode 100644 openstack/openstack-murano/centos/stx-murano.stable_docker_image create mode 100644 openstack/openstack-panko/centos/stx-panko.stable_docker_image create mode 100644 openstack/python-barbican/centos/stx-barbican.stable_docker_image create mode 100644 openstack/python-ceilometer/centos/stx-ceilometer.stable_docker_image create mode 100644 openstack/python-cinder/centos/stx-cinder.stable_docker_image create mode 100644 openstack/python-glance/centos/stx-glance.stable_docker_image create mode 100644 openstack/python-gnocchi/centos/stx-gnocchi.stable_docker_image create mode 100644 openstack/python-heat/openstack-heat/centos/stx-heat.stable_docker_image create mode 100644 openstack/python-horizon/centos/stx-horizon.stable_docker_image create mode 100644 openstack/python-keystone/centos/stx-keystone.stable_docker_image create mode 100644 openstack/python-neutron/centos/stx-neutron.stable_docker_image create mode 100644 openstack/python-nova/centos/stx-nova.stable_docker_image diff --git a/centos_stable_docker_images.inc b/centos_stable_docker_images.inc new file mode 100644 index 00000000..be65b132 --- /dev/null +++ b/centos_stable_docker_images.inc @@ -0,0 +1,15 @@ +openstack/openstack-aodh +openstack/openstack-ironic +openstack/openstack-magnum +openstack/openstack-murano +openstack/openstack-panko +openstack/python-barbican +openstack/python-ceilometer +openstack/python-cinder +openstack/python-glance +openstack/python-gnocchi +openstack/python-heat/openstack-heat +openstack/python-horizon +openstack/python-keystone +openstack/python-neutron +openstack/python-nova diff --git a/centos_stable_wheels.inc b/centos_stable_wheels.inc index dc336ad5..60164017 100644 --- a/centos_stable_wheels.inc +++ b/centos_stable_wheels.inc @@ -1,13 +1,2 @@ distributedcloud-client-wheels distributedcloud-wheels -openstack-keystone-wheels -python-cinderclient-wheels -python-django-horizon-wheels -python-glanceclient-wheels -python-gnocchiclient-wheels -python-ironicclient-wheels -python-magnumclient-wheels -python-muranoclient-wheels -python-neutronclient-wheels -python-novaclient-wheels -python-openstacksdk-wheels diff --git a/openstack/openstack-aodh/centos/stx-aodh.stable_docker_image b/openstack/openstack-aodh/centos/stx-aodh.stable_docker_image new file mode 100644 index 00000000..7be3335c --- /dev/null +++ b/openstack/openstack-aodh/centos/stx-aodh.stable_docker_image @@ -0,0 +1,8 @@ +BUILDER=loci +LABEL=stx-aodh +PROJECT=aodh +PROJECT_REPO=https://github.com/openstack/aodh.git +PROJECT_REF=stable/stein +PIP_PACKAGES="pylint SQLAlchemy gnocchiclient aodhclient" +PROFILES="apache" + diff --git a/openstack/openstack-ironic/centos/stx-ironic.stable_docker_image b/openstack/openstack-ironic/centos/stx-ironic.stable_docker_image new file mode 100644 index 00000000..4640d231 --- /dev/null +++ b/openstack/openstack-ironic/centos/stx-ironic.stable_docker_image @@ -0,0 +1,8 @@ +BUILDER=loci +LABEL=stx-ironic +PROJECT=ironic +PROJECT_REPO=https://github.com/openstack/ironic.git +PROJECT_REF=stable/stein +PIP_PACKAGES="pylint alembic pysnmp" +PROFILES="ironic apache" + diff --git a/openstack/openstack-magnum/centos/stx-magnum.stable_docker_image b/openstack/openstack-magnum/centos/stx-magnum.stable_docker_image new file mode 100644 index 00000000..306f3ff2 --- /dev/null +++ b/openstack/openstack-magnum/centos/stx-magnum.stable_docker_image @@ -0,0 +1,9 @@ +BUILDER=loci +LABEL=stx-magnum +PROJECT=magnum +PROJECT_REPO=https://github.com/openstack/magnum.git +PROJECT_REF=stable/stein +PIP_PACKAGES="pylint" +DIST_PACKAGES="which vim" +PROFILES="magnum apache" + diff --git a/openstack/openstack-murano/centos/stx-murano.stable_docker_image b/openstack/openstack-murano/centos/stx-murano.stable_docker_image new file mode 100644 index 00000000..20d33f38 --- /dev/null +++ b/openstack/openstack-murano/centos/stx-murano.stable_docker_image @@ -0,0 +1,8 @@ +BUILDER=loci +LABEL=stx-murano +PROJECT=murano +PROJECT_REPO=https://github.com/openstack/murano.git +PROJECT_REF=stable/stein +PIP_PACKAGES="pylint python-glanceclient murano-pkg-check" +PROFILES="murano apache" + diff --git a/openstack/openstack-panko/centos/stx-panko.stable_docker_image b/openstack/openstack-panko/centos/stx-panko.stable_docker_image new file mode 100644 index 00000000..cc2cc5d4 --- /dev/null +++ b/openstack/openstack-panko/centos/stx-panko.stable_docker_image @@ -0,0 +1,8 @@ +BUILDER=loci +LABEL=stx-panko +PROJECT=panko +PROJECT_REPO=https://github.com/openstack/panko.git +PROJECT_REF=stable/stein +PIP_PACKAGES="pylint python-openstackclient pankoclient" +PROFILES="apache" + diff --git a/openstack/python-barbican/centos/stx-barbican.stable_docker_image b/openstack/python-barbican/centos/stx-barbican.stable_docker_image new file mode 100644 index 00000000..6f4eba94 --- /dev/null +++ b/openstack/python-barbican/centos/stx-barbican.stable_docker_image @@ -0,0 +1,7 @@ +BUILDER=loci +LABEL=stx-barbican +PROJECT=barbican +PROJECT_REPO=https://github.com/openstack/barbican.git +PROJECT_REF=stable/stein +PIP_PACKAGES="pycrypto" +PROFILES="fluent" diff --git a/openstack/python-ceilometer/centos/stx-ceilometer.stable_docker_image b/openstack/python-ceilometer/centos/stx-ceilometer.stable_docker_image new file mode 100644 index 00000000..60b3afaa --- /dev/null +++ b/openstack/python-ceilometer/centos/stx-ceilometer.stable_docker_image @@ -0,0 +1,8 @@ +BUILDER=loci +LABEL=stx-ceilometer +PROJECT=ceilometer +PROJECT_REPO=https://github.com/openstack/ceilometer.git +PROJECT_REF=stable/stein +PIP_PACKAGES="pylint libvirt-python panko==5.0.0 gnocchiclient" +DIST_PACKAGES="libvirt ipmitool" + diff --git a/openstack/python-cinder/centos/stx-cinder.stable_docker_image b/openstack/python-cinder/centos/stx-cinder.stable_docker_image new file mode 100644 index 00000000..2e38186c --- /dev/null +++ b/openstack/python-cinder/centos/stx-cinder.stable_docker_image @@ -0,0 +1,8 @@ +BUILDER=loci +LABEL=stx-cinder +PROJECT=cinder +PROJECT_REPO=https://github.com/openstack/cinder.git +PROJECT_REF=stable/stein +PIP_PACKAGES="pycrypto python-swiftclient pylint" +PROFILES="fluent cinder lvm ceph qemu" + diff --git a/openstack/python-glance/centos/stx-glance.stable_docker_image b/openstack/python-glance/centos/stx-glance.stable_docker_image new file mode 100644 index 00000000..f7b9882b --- /dev/null +++ b/openstack/python-glance/centos/stx-glance.stable_docker_image @@ -0,0 +1,9 @@ +BUILDER=loci +LABEL=stx-glance +PROJECT=glance +PROJECT_REPO=https://github.com/openstack/glance.git +PROJECT_REF=stable/stein +PIP_PACKAGES="pycrypto python-swiftclient psutil pylint" +DIST_PACKAGES="postgresql-libs" +PROFILES="fluent glance ceph" + diff --git a/openstack/python-gnocchi/centos/stx-gnocchi.stable_docker_image b/openstack/python-gnocchi/centos/stx-gnocchi.stable_docker_image new file mode 100644 index 00000000..6be0c062 --- /dev/null +++ b/openstack/python-gnocchi/centos/stx-gnocchi.stable_docker_image @@ -0,0 +1,14 @@ +BUILDER=loci +LABEL=stx-gnocchi +PROJECT=gnocchi +# Temporarily pointing to forked gnocchi repo +# This is necessary to revert a specific commit that does +# not support the older CEPH currently in starlingx. +# Once the CEPH upgrade is complete, we can go back +# to using the main repo +PROJECT_REPO=https://github.com/donpenney/gnocchi.git +PIP_PACKAGES="pylint SQLAlchemy SQLAlchemy-Utils oslo.db keystonemiddleware gnocchiclient pymemcache psycopg2" +# python-rados is provided by ceph, so specify an older version to install +DIST_PACKAGES="python-rados-10.2.6" +PROFILES="gnocchi apache" + diff --git a/openstack/python-heat/openstack-heat/centos/stx-heat.stable_docker_image b/openstack/python-heat/openstack-heat/centos/stx-heat.stable_docker_image new file mode 100644 index 00000000..ce024dde --- /dev/null +++ b/openstack/python-heat/openstack-heat/centos/stx-heat.stable_docker_image @@ -0,0 +1,8 @@ +BUILDER=loci +LABEL=stx-heat +PROJECT=heat +PROJECT_REPO=https://github.com/openstack/heat.git +PROJECT_REF=stable/stein +PIP_PACKAGES="pycrypto pylint" +PROFILES="fluent heat apache" + diff --git a/openstack/python-horizon/centos/stx-horizon.stable_docker_image b/openstack/python-horizon/centos/stx-horizon.stable_docker_image new file mode 100644 index 00000000..935f3f26 --- /dev/null +++ b/openstack/python-horizon/centos/stx-horizon.stable_docker_image @@ -0,0 +1,15 @@ +BUILDER=loci +LABEL=stx-horizon +PROJECT=horizon +PROJECT_REPO=https://github.com/openstack/horizon.git +PROJECT_REF=stable/stein +PIP_PACKAGES="pycrypto python-ceilometerclient \ + coverage pyudev \ + ldap starlingx-dashboard pylint" +PROFILES="fluent horizon apache" +CUSTOMIZATION="\ + ln -s /bin/true /usr/bin/a2enmod && \ + sed -i 's/Listen 80/#Listen 80/' /etc/httpd/conf/httpd.conf && \ + ln -s /var/lib/openstack/lib/python2.7/site-packages/starlingx_dashboard/themes/starlingx /var/lib/openstack/lib/python2.7/site-packages/openstack_dashboard/themes/starlingx \ +" + diff --git a/openstack/python-keystone/centos/stx-keystone.stable_docker_image b/openstack/python-keystone/centos/stx-keystone.stable_docker_image new file mode 100644 index 00000000..b3824f59 --- /dev/null +++ b/openstack/python-keystone/centos/stx-keystone.stable_docker_image @@ -0,0 +1,8 @@ +BUILDER=loci +LABEL=stx-keystone +PROJECT=keystone +PROJECT_REPO=https://github.com/openstack/keystone.git +PROJECT_REF=stable/stein +PIP_PACKAGES="python-openstackclient ldap ldappool python-ldap pylint" +PROFILES="fluent apache" + diff --git a/openstack/python-neutron/centos/stx-neutron.stable_docker_image b/openstack/python-neutron/centos/stx-neutron.stable_docker_image new file mode 100644 index 00000000..babc690d --- /dev/null +++ b/openstack/python-neutron/centos/stx-neutron.stable_docker_image @@ -0,0 +1,14 @@ +BUILDER=loci +LABEL=stx-neutron +PROJECT=neutron +# Temporarily pointing to forked neutron repo +# This is necessary to pull in specific commits +# that have not yet merged upstream. +# Once all required commits are merged, this can +# revert back to the upstream repo. +PROJECT_REPO=https://github.com/mpeters-wrs/neutron +PROJECT_REF=stx-networking +PIP_PACKAGES="networking-sfc pycrypto pylint tinyrpc lxml" +DIST_PACKAGES="ethtool lshw" +PROFILES="fluent neutron linuxbridge openvswitch" + diff --git a/openstack/python-nova/centos/stx-nova.stable_docker_image b/openstack/python-nova/centos/stx-nova.stable_docker_image new file mode 100644 index 00000000..6d03e6f4 --- /dev/null +++ b/openstack/python-nova/centos/stx-nova.stable_docker_image @@ -0,0 +1,10 @@ +BUILDER=loci +LABEL=stx-nova +PROJECT=nova +PROJECT_REPO=https://github.com/openstack/nova.git +PROJECT_REF=stable/stein +PIP_PACKAGES="pycrypto httplib2 pylint" +DIST_PACKAGES="openssh-clients openssh-server libvirt e2fsprogs" +PROFILES="fluent nova ceph linuxbridge openvswitch configdrive qemu apache" +CUSTOMIZATION="yum install -y openssh-clients" +