# buildah train/ussuri recreate 1. provision a centos 8.3 instance, I use https://gitlab.cee.redhat.com/whayutin/ansible-kvm-vm w/ the latest centos8 qcow2 2. install tripleo repos from source, tripleo-repos train tripleo-ci-testing 3. install python3-tripleoclient 4. to test I backed up the tripleo_containers.yaml file and only included the cron container 5. cron and base were built.. it was very slow but worked 6. next I tried the full batch 7. ``` openstack tripleo container image build \ --push \ --namespace tripleotraincentos8 \ --registry trunk.registry.rdoproject.org \ --exclude fluentd \ --exclude opendaylight \ --exclude neutron-server-opendaylight \ --exclude neutron-mlnx-agent \ --exclude nova-serialproxy \ --exclude sahara-api \ --exclude sahara-engine \ --exclude skydive-agent \ --exclude skydive-analyzer \ --exclude sensu-client \ --exclude sensu-base \ --exclude influxdb \ --tag 52a95c4bab548d1021874011db75ffab \ --base ubi8:8.2 \ --prefix centos-binary \ --config-file /usr/share/tripleo-common/container-images/tripleo_containers.yaml \ --config-path /usr/share/tripleo-common/container-images \ --work-dir /tmp/container-builds \ --debug (virtenv) [root@localhost ~]# bash -x test.sh + openstack tripleo container image build --namespace tripleotraincentos8 --registry trunk.registry.rdoproject.org --exclude fluentd --exclude opendaylight --exclude neutron-server-opendaylight --exclude neutron-mlnx-agent --exclude nova-serialproxy --exclude sahara-api --exclude sahara-engine --exclude skydive-agent --exclude skydive-analyzer --exclude sensu-client --exclude sensu-base --exclude influxdb --tag 52a95c4bab548d1021874011db75ffab --base ubi8:8.2 --prefix centos-binary --config-file /usr/share/tripleo-common/container-images/tripleo_containers.yaml --config-path /usr/share/tripleo-common/container-images --work-dir /tmp/container-builds --debug (virtenv) [root@localhost ~]# echo $? 1 (virtenv) [root@localhost ~]# wes_debug.log:20123:CMD "sudo buildah bud --volume /etc/yum.repos.d:/etc/yum.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --format docker --tls-verify=False --logfile /tmp/container-builds/7f123a35-33b2-458b-af41-4de38173fd0d/base/os/aodh-base/aodh-notifier/aodh-notifier-build.log -t trunk.registry.rdoproject.org/tripleotraincentos8/centos-binary-aodh-notifier:52a95c4bab548d1021874011db75ffab /tmp/container-builds/7f123a35-33b2-458b-af41-4de38173fd0d/base/os/aodh-base/aodh-notifier" returned: 125 in 647.364s [root@localhost tmp]# ``` ## notes ``` buildah bud --volume /etc/yum.repos.d:/etc/yum.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --format docker --tls-verify=False --logfile /tmp/container-builds/498a6721-1d81-4c94-b8b8-1129c43cedbc/base/cron/cron-build.log -t trunk.registry.rdoproject.org/tripleotraincentos8/centos-binary-cron:52a95c4bab548d1021874011db75ffab /tmp/container-builds/498a6721-1d81-4c94-b8b8-1129c43cedbc/base/cron ```