From 2e544c97a9ebc99720a0904f185240b96ccbfa10 Mon Sep 17 00:00:00 2001 From: chris Date: Sun, 28 Aug 2022 20:53:52 -0400 Subject: [PATCH] updates for hardcoded openstack version --- init.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/init.sh b/init.sh index 24fb836..9675000 100644 --- a/init.sh +++ b/init.sh @@ -24,7 +24,11 @@ if [[ "$OPENSTACK_VERSION" == "xena" ]]; then fi #build images locally and get list of rpms that need to be cached. -kolla-build --skip-existing -t binary --openstack-release "$OPENSTACK_VERSION" --tag "$OPENSTACK_VERSION" --registry rpm_repo barbican ceilometer cinder cron designate dnsmasq elasticsearch etcd glance gnocchi grafana hacluster haproxy heat horizon influxdb iscsid keepalived keystone kibana logstash magnum manila mariadb memcached multipathd neutron nova octavia openstack-base openvswitch placement qdrouterd rabbitmq redis swift telegraf trove murano panko +if [[ "$OPENSTACK_VERSION" == "wallaby" ]]; then + kolla-build --skip-existing -t binary --openstack-release "$OPENSTACK_VERSION" --tag "$OPENSTACK_VERSION" --registry rpm_repo barbican ceilometer cinder cron designate dnsmasq elasticsearch etcd glance gnocchi grafana hacluster haproxy heat horizon influxdb iscsid keepalived keystone kibana logstash magnum manila mariadb memcached multipathd neutron nova octavia openstack-base openvswitch placement qdrouterd rabbitmq redis swift telegraf trove murano panko +elif [[ "$OPENSTACK_VERSION" == "xena" ]]; then + kolla-build --skip-existing -t binary --openstack-release "$OPENSTACK_VERSION" --tag "$OPENSTACK_VERSION" --registry rpm_repo barbican ceilometer cinder cron designate dnsmasq elasticsearch etcd glance gnocchi grafana hacluster haproxy heat horizon influxdb iscsid keepalived keystone kibana logstash magnum manila mariadb memcached multipathd neutron nova octavia openstack-base openvswitch placement qdrouterd rabbitmq redis swift telegraf trove murano +fi for i in `docker images |grep rpm_repo|grep -v centos-binary-base |awk '{print $3}'`; do docker run --rm -u root -v /out:/out -v /var/run/docker.sock:/var/run/docker.sock $i bash -c "rpm -qa >>/out/all_rpms_$OPENSTACK_VERSION.txt";