Description of problem: When deploying osp12 you have to download the correct image definition file to be able to run a containerized deployment. Currently that looks like this: REPO="$(find /etc/yum.repos.d/ -iname 'rhos-release-??.*')" REPO_URL="$(grep -B2 enabled=1 $REPO | grep -m1 puddle | sed -E 's/.*(http.*[0-9]-RHEL-.\/).*/\1/')" curl -L -o {{ containers_default_parameters }} $REPO_URL/last_containers/docker-osp12.yaml Could it be possible to have it packaged in tht as it is currently the case for upstream (in /usr/share/openstack-tripleo-heat-templates/environments/docker-centos-tripleoupstream.yaml) Version-Release number of selected component (if applicable): openstack-tripleo-heat-templates-7.0.0-0.20170803094851.el7ost.noarch
Hi Sofer - we have now the prepare command creating this file -> TAG=`curl http://download-node-02.eng.bos.redhat.com/rcm-guest/puddles/OpenStack/12.0-RHEL-7/latest_containers/container_images.yaml|awk -F':' '/imagename/ {print $NF; exit}'` openstack overcloud container image prepare --namespace=docker-registry.engineering.redhat.com/rhosp12 --env-file=/home/stack/rhos12.yaml --prefix=openstack- --suffix=-docker --tag=$TAG Can you check if that answering the requirement ?
Hi Omri, not super user friendly and I still don't see why it's not package with tht as the upstream is. The only way this could be useful (image tag not synch with tht package) would be to give the user to update the docker image without updating the tht template. This would be another update procedure. Or am I missing something.
Closing as now we are using the 'openstack overcloud container image prepare' command to generate this environment file.