Create the TripleO container images using the command in Xena

Suranga Prabhath surangap at hsenidmobile.com
Tue Sep 27 04:24:36 UTC 2022


Hi All,

I.m going to install OpenStack Xena on CentOS 8.5. I'm following the
TripleO in RDO Xena Release. I followed the RDO guide & enable the required
packages. Package installation is successful, but the pulling of the triple
container imagers using the command was unsuccessful. Here is the command I
use.

 openstack tripleo container image build --base ubi8 --debug --distro
centos \
 --namespace tripleoxena --prefix openstack --tag cloudsig-xena \
 --push --registry 172.22.1.10::8787 \
 --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume
/etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/dnf/vars:/etc/dnf/vars:z \
 --work-dir ~/workdir

After executing the above command error was received & I attach it to this
mail.

Please provide me with a solution for this.

-- 
Thanks & Regards,

*Suranga Prabhath,*
System Administrator

hSenid Software International
*Sri Lanka*
*M* : +94 00 000 0000
*P* : +94 11 268 3751
*F* : +94 11 268 3951
*Singapore*
*M* : +65 00 000 000
*P* : +65 65 332 140
*F* : +65 62 910 023

<http://www.hsenid.com/>   <http://www.hsenidmobile.com/>
<https://www.facebook.com/hSenid.Software.International/>
<https://twitter.com/hsenid_biz>
<https://www.linkedin.com/company/hsenid-business-solutions>
<https://www.youtube.com/user/hsenidbiz> *www.hSenid.com*
<http://www.hsenid.com/>
<https://www.google.com/url?q=http://www.hsenidmobile.com/&source=gmail-html&ust=1630670716868000&usg=AFQjCNGq31WUp1TMmFUQjIuDHaKf_BdIvQ>

*Disclaimer*: This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to which they
are addressed. The content and opinions contained in this email are not
necessarily those of hSenid Mobile Solutions. If you have received this
email in error please contact the sender.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20220927/b1fdc2ea/attachment-0001.htm>
-------------- next part --------------
Stderr: 'time="2022-09-14T16:16:16+05:30" level=debug msg="Pull Policy for pull [ifnewer]"\nerror building at STEP "RUN dnf -y install libqb pacemaker pacemaker-remote pcs procps-ng redis resource-agents stunnel && dnf clean all && rm -rf /var/cache/dnf": error while running runtime: exit status 1\nFailed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/redis/redis-build.log: file already closed\nFailed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/redis/redis-build.log: file already closed\n'
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder Traceback (most recent call last):
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder   File "/usr/lib/python3.6/site-packages/tripleo_common/image/builder/buildah.py", line 143, in _generate_container
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder     self._find_container_dir(container_name))
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder   File "/usr/lib/python3.6/site-packages/tenacity/__init__.py", line 329, in wrapped_f
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder     return self.call(f, *args, **kw)
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder   File "/usr/lib/python3.6/site-packages/tenacity/__init__.py", line 409, in call
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder     do = self.iter(retry_state=retry_state)
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder   File "/usr/lib/python3.6/site-packages/tenacity/__init__.py", line 368, in iter
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder     raise retry_exc.reraise()
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder   File "/usr/lib/python3.6/site-packages/tenacity/__init__.py", line 186, in reraise
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder     raise self.last_attempt.result()
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder   File "/usr/lib64/python3.6/concurrent/futures/_base.py", line 425, in result
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder     return self.__get_result()
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder   File "/usr/lib64/python3.6/concurrent/futures/_base.py", line 384, in __get_result
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder     raise self._exception
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder   File "/usr/lib/python3.6/site-packages/tenacity/__init__.py", line 412, in call
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder     result = fn(*args, **kwargs)
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder   File "/usr/lib/python3.6/site-packages/tripleo_common/image/builder/buildah.py", line 196, in build
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder     use_standard_locale=True
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder   File "/usr/lib/python3.6/site-packages/tripleo_common/utils/process.py", line 53, in execute
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder     result = processutils.execute(*cmd, **kwargs)
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder   File "/usr/lib/python3.6/site-packages/oslo_concurrency/processutils.py", line 441, in execute
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder     cmd=sanitized_cmd)
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder Command: sudo buildah --log-level=debug bud --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/dnf/vars:/etc/dnf/vars:z --loglevel=3 --format docker --tls-verify=False --logfile /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/redis/redis-build.log -t localhost/tripleoxena/openstack-redis:cloudsig-xena /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/redis
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder Exit code: 1
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder Stdout: ''
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder Stderr: 'time="2022-09-14T16:16:16+05:30" level=debug msg="Pull Policy for pull [ifnewer]"\nerror building at STEP "RUN dnf -y install libqb pacemaker pacemaker-remote pcs procps-ng redis resource-agents stunnel && dnf clean all && rm -rf /var/cache/dnf": error while running runtime: exit status 1\nFailed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/redis/redis-build.log: file already closed\nFailed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/redis/redis-build.log: file already closed\n'
2022-09-14 16:18:58.426 2667667 ERROR tripleo_common.image.builder.buildah.BuildahBuilder 
2022-09-14 16:19:47.206 2667667 DEBUG oslo_concurrency.processutils [-] CMD "sudo buildah --log-level=debug bud --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/dnf/vars:/etc/dnf/vars:z --loglevel=3 --format docker --tls-verify=False --logfile /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/tripleoclient/tripleoclient-build.log -t localhost/tripleoxena/openstack-tripleoclient:cloudsig-xena /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/tripleoclient" returned: 0 in 557.069s execute /usr/lib/python3.6/site-packages/oslo_concurrency/processutils.py:423
2022-09-14 16:19:47.209 2667667 DEBUG tripleo_common.utils.process [-] Execution completed, command line is "sudo buildah --log-level=debug bud --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/dnf/vars:/etc/dnf/vars:z --loglevel=3 --format docker --tls-verify=False --logfile /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/tripleoclient/tripleoclient-build.log -t localhost/tripleoxena/openstack-tripleoclient:cloudsig-xena /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/tripleoclient" execute /usr/lib/python3.6/site-packages/tripleo_common/utils/process.py:55
2022-09-14 16:19:47.209 2667667 DEBUG tripleo_common.utils.process [-] Command stdout is: "" execute /usr/lib/python3.6/site-packages/tripleo_common/utils/process.py:57
2022-09-14 16:19:47.210 2667667 DEBUG tripleo_common.utils.process [-] Command stderr is: "time="2022-09-14T16:10:30+05:30" level=debug msg="Pull Policy for pull [ifnewer]"
Failed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/tripleoclient/tripleoclient-build.log: file already closed
Failed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/tripleoclient/tripleoclient-build.log: file already closed
" execute /usr/lib/python3.6/site-packages/tripleo_common/utils/process.py:58
2022-09-14 16:19:49.096 2667667 DEBUG oslo_concurrency.processutils [-] CMD "sudo buildah --log-level=debug bud --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/dnf/vars:/etc/dnf/vars:z --loglevel=3 --format docker --tls-verify=False --logfile /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/ovn-base/ovn-base-build.log -t localhost/tripleoxena/openstack-ovn-base:cloudsig-xena /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/ovn-base" returned: 0 in 227.527s execute /usr/lib/python3.6/site-packages/oslo_concurrency/processutils.py:423
2022-09-14 16:19:49.097 2667667 DEBUG tripleo_common.utils.process [-] Execution completed, command line is "sudo buildah --log-level=debug bud --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/dnf/vars:/etc/dnf/vars:z --loglevel=3 --format docker --tls-verify=False --logfile /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/ovn-base/ovn-base-build.log -t localhost/tripleoxena/openstack-ovn-base:cloudsig-xena /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/ovn-base" execute /usr/lib/python3.6/site-packages/tripleo_common/utils/process.py:55
2022-09-14 16:19:49.097 2667667 DEBUG tripleo_common.utils.process [-] Command stdout is: "" execute /usr/lib/python3.6/site-packages/tripleo_common/utils/process.py:57
2022-09-14 16:19:49.097 2667667 DEBUG tripleo_common.utils.process [-] Command stderr is: "time="2022-09-14T16:16:01+05:30" level=debug msg="Pull Policy for pull [ifnewer]"
Failed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/ovn-base/ovn-base-build.log: file already closed
Failed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/ovn-base/ovn-base-build.log: file already closed
" execute /usr/lib/python3.6/site-packages/tripleo_common/utils/process.py:58
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build [-] Exception occured while running the command: RuntimeError: 
The following errors were detected during container build(s):

Exception information: Unexpected error while running command.
Command: sudo buildah --log-level=debug bud --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/dnf/vars:/etc/dnf/vars:z --loglevel=3 --format docker --tls-verify=False --logfile /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb/mariadb-build.log -t localhost/tripleoxena/openstack-mariadb:cloudsig-xena /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb
Exit code: 1
Stdout: ''
Stderr: 'time="2022-09-14T15:54:53+05:30" level=debug msg="Pull Policy for pull [ifnewer]"\nerror building at STEP "RUN dnf -y install expect galera hostname libqb mariadb mariadb-backup mariadb-server-galera mariadb-server-utils pacemaker pacemaker-remote pcs python3-pynacl resource-agents rsync socat tar && dnf clean all && rm -rf /var/cache/dnf": error while running runtime: exit status 1\nFailed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb/mariadb-build.log: file already closed\nFailed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb/mariadb-build.log: file already closed\n'
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build Traceback (most recent call last):
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build   File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 34, in run
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build     super(Command, self).run(parsed_args)
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build   File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 39, in run
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build     return super(Command, self).run(parsed_args)
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build   File "/usr/lib/python3.6/site-packages/cliff/command.py", line 186, in run
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build     return_code = self.take_action(parsed_args) or 0
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build   File "/usr/lib/python3.6/site-packages/tripleoclient/v2/tripleo_container_image.py", line 707, in take_action
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build     bb.build_all()
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build   File "/usr/lib/python3.6/site-packages/tripleo_common/image/builder/buildah.py", line 248, in build_all
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build     self._multi_build(containers=containers)
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build   File "/usr/lib/python3.6/site-packages/tripleo_common/image/builder/buildah.py", line 362, in _multi_build
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build     exceptions='\n'.join(exceptions)
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build RuntimeError: 
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build The following errors were detected during container build(s):
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build 
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build Exception information: Unexpected error while running command.
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build Command: sudo buildah --log-level=debug bud --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/dnf/vars:/etc/dnf/vars:z --loglevel=3 --format docker --tls-verify=False --logfile /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb/mariadb-build.log -t localhost/tripleoxena/openstack-mariadb:cloudsig-xena /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build Exit code: 1
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build Stdout: ''
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build Stderr: 'time="2022-09-14T15:54:53+05:30" level=debug msg="Pull Policy for pull [ifnewer]"\nerror building at STEP "RUN dnf -y install expect galera hostname libqb mariadb mariadb-backup mariadb-server-galera mariadb-server-utils pacemaker pacemaker-remote pcs python3-pynacl resource-agents rsync socat tar && dnf clean all && rm -rf /var/cache/dnf": error while running runtime: exit status 1\nFailed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb/mariadb-build.log: file already closed\nFailed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb/mariadb-build.log: file already closed\n'
2022-09-14 16:19:49.100 2667667 ERROR tripleoclient.v2.tripleo_container_image.Build 
2022-09-14 16:19:49.109 2667667 ERROR openstack [-] 
The following errors were detected during container build(s):

Exception information: Unexpected error while running command.
Command: sudo buildah --log-level=debug bud --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/dnf/vars:/etc/dnf/vars:z --loglevel=3 --format docker --tls-verify=False --logfile /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb/mariadb-build.log -t localhost/tripleoxena/openstack-mariadb:cloudsig-xena /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb
Exit code: 1
Stdout: ''
Stderr: 'time="2022-09-14T15:54:53+05:30" level=debug msg="Pull Policy for pull [ifnewer]"\nerror building at STEP "RUN dnf -y install expect galera hostname libqb mariadb mariadb-backup mariadb-server-galera mariadb-server-utils pacemaker pacemaker-remote pcs python3-pynacl resource-agents rsync socat tar && dnf clean all && rm -rf /var/cache/dnf": error while running runtime: exit status 1\nFailed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb/mariadb-build.log: file already closed\nFailed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb/mariadb-build.log: file already closed\n': RuntimeError: 
The following errors were detected during container build(s):

Exception information: Unexpected error while running command.
Command: sudo buildah --log-level=debug bud --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/dnf/vars:/etc/dnf/vars:z --loglevel=3 --format docker --tls-verify=False --logfile /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb/mariadb-build.log -t localhost/tripleoxena/openstack-mariadb:cloudsig-xena /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb
Exit code: 1
Stdout: ''
Stderr: 'time="2022-09-14T15:54:53+05:30" level=debug msg="Pull Policy for pull [ifnewer]"\nerror building at STEP "RUN dnf -y install expect galera hostname libqb mariadb mariadb-backup mariadb-server-galera mariadb-server-utils pacemaker pacemaker-remote pcs python3-pynacl resource-agents rsync socat tar && dnf clean all && rm -rf /var/cache/dnf": error while running runtime: exit status 1\nFailed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb/mariadb-build.log: file already closed\nFailed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb/mariadb-build.log: file already closed\n'
2022-09-14 16:19:49.109 2667667 ERROR openstack Traceback (most recent call last):
2022-09-14 16:19:49.109 2667667 ERROR openstack   File "/usr/lib/python3.6/site-packages/cliff/app.py", line 407, in run_subcommand
2022-09-14 16:19:49.109 2667667 ERROR openstack     result = cmd.run(parsed_args)
2022-09-14 16:19:49.109 2667667 ERROR openstack   File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 34, in run
2022-09-14 16:19:49.109 2667667 ERROR openstack     super(Command, self).run(parsed_args)
2022-09-14 16:19:49.109 2667667 ERROR openstack   File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 39, in run
2022-09-14 16:19:49.109 2667667 ERROR openstack     return super(Command, self).run(parsed_args)
2022-09-14 16:19:49.109 2667667 ERROR openstack   File "/usr/lib/python3.6/site-packages/cliff/command.py", line 186, in run
2022-09-14 16:19:49.109 2667667 ERROR openstack     return_code = self.take_action(parsed_args) or 0
2022-09-14 16:19:49.109 2667667 ERROR openstack   File "/usr/lib/python3.6/site-packages/tripleoclient/v2/tripleo_container_image.py", line 707, in take_action
2022-09-14 16:19:49.109 2667667 ERROR openstack     bb.build_all()
2022-09-14 16:19:49.109 2667667 ERROR openstack   File "/usr/lib/python3.6/site-packages/tripleo_common/image/builder/buildah.py", line 248, in build_all
2022-09-14 16:19:49.109 2667667 ERROR openstack     self._multi_build(containers=containers)
2022-09-14 16:19:49.109 2667667 ERROR openstack   File "/usr/lib/python3.6/site-packages/tripleo_common/image/builder/buildah.py", line 362, in _multi_build
2022-09-14 16:19:49.109 2667667 ERROR openstack     exceptions='\n'.join(exceptions)
2022-09-14 16:19:49.109 2667667 ERROR openstack RuntimeError: 
2022-09-14 16:19:49.109 2667667 ERROR openstack The following errors were detected during container build(s):
2022-09-14 16:19:49.109 2667667 ERROR openstack 
2022-09-14 16:19:49.109 2667667 ERROR openstack Exception information: Unexpected error while running command.
2022-09-14 16:19:49.109 2667667 ERROR openstack Command: sudo buildah --log-level=debug bud --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/dnf/vars:/etc/dnf/vars:z --loglevel=3 --format docker --tls-verify=False --logfile /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb/mariadb-build.log -t localhost/tripleoxena/openstack-mariadb:cloudsig-xena /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb
2022-09-14 16:19:49.109 2667667 ERROR openstack Exit code: 1
2022-09-14 16:19:49.109 2667667 ERROR openstack Stdout: ''
2022-09-14 16:19:49.109 2667667 ERROR openstack Stderr: 'time="2022-09-14T15:54:53+05:30" level=debug msg="Pull Policy for pull [ifnewer]"\nerror building at STEP "RUN dnf -y install expect galera hostname libqb mariadb mariadb-backup mariadb-server-galera mariadb-server-utils pacemaker pacemaker-remote pcs python3-pynacl resource-agents rsync socat tar && dnf clean all && rm -rf /var/cache/dnf": error while running runtime: exit status 1\nFailed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb/mariadb-build.log: file already closed\nFailed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb/mariadb-build.log: file already closed\n'
2022-09-14 16:19:49.109 2667667 ERROR openstack 
2022-09-14 16:19:49.110 2667667 DEBUG osc_lib.shell [-] clean_up Build: 
The following errors were detected during container build(s):

Exception information: Unexpected error while running command.
Command: sudo buildah --log-level=debug bud --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/dnf/vars:/etc/dnf/vars:z --loglevel=3 --format docker --tls-verify=False --logfile /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb/mariadb-build.log -t localhost/tripleoxena/openstack-mariadb:cloudsig-xena /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb
Exit code: 1
Stdout: ''
Stderr: 'time="2022-09-14T15:54:53+05:30" level=debug msg="Pull Policy for pull [ifnewer]"\nerror building at STEP "RUN dnf -y install expect galera hostname libqb mariadb mariadb-backup mariadb-server-galera mariadb-server-utils pacemaker pacemaker-remote pcs python3-pynacl resource-agents rsync socat tar && dnf clean all && rm -rf /var/cache/dnf": error while running runtime: exit status 1\nFailed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb/mariadb-build.log: file already closed\nFailed to write to log, write /home/ceph/workdir/b1245609-dada-47f5-8dea-379c2c78d179/base/mariadb/mariadb-build.log: file already closed\n' clean_up /usr/lib/python3.6/site-packages/osc_lib/shell.py:496
2022-09-14 16:19:49.114 2667667 INFO osc_lib.shell [-] END return value: 1


More information about the openstack-discuss mailing list