<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hi Satish,<div><br></div><div>Have you raised a bug in Launchpad (bugs.launchpad.net/kolla) for this?</div><div><br></div><div>You have also not mentioned what distribution and Kolla release are you using, so please do that in the bug report.</div><div>Looking at the output probably it’s stable/yoga and Debian - being fixed in <a href="https://review.opendev.org/c/openstack/kolla/+/873913">https://review.opendev.org/c/openstack/kolla/+/873913</a></div><div><br></div><div>Michal<br><div><br><blockquote type="cite"><div>On 31 Mar 2023, at 05:05, Satish Patel <satish.txt@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr">Folks,<br><div><br></div><div>All other images build successfully but when i am trying to build horizon which failed with following error:</div><div><br></div><div>$ kolla-build --registry docker-reg:4000 -b ubuntu -t source --tag zed horizon</div><div><br></div><div><br></div><div>INFO:kolla.common.utils.horizon:Collecting XStatic-Dagre>=0.6.4.0<br>INFO:kolla.common.utils.horizon: Downloading XStatic_Dagre-0.6.4.1-py2.py3-none-any.whl (140 kB)<br>INFO:kolla.common.utils.horizon: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.0/140.0 kB 14.4 MB/s eta 0:00:00<br>INFO:kolla.common.utils.horizon:Collecting XStatic-Dagre-D3>=0.4.17.0<br>INFO:kolla.common.utils.horizon: Downloading XStatic_Dagre_D3-0.4.17.0-py2.py3-none-any.whl (357 kB)<br>INFO:kolla.common.utils.horizon: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 357.4/357.4 kB 13.5 MB/s eta 0:00:00<br>INFO:kolla.common.utils.horizon:Requirement already satisfied: XStatic-Font-Awesome>=4.7.0.0 in /var/lib/kolla/venv/lib/python3.10/site-packages (from vitrage-dashboard==3.6.1.dev2) (4.7.0.0)<br>INFO:kolla.common.utils.horizon:Collecting XStatic-Graphlib>=2.1.7.0<br>INFO:kolla.common.utils.horizon: Downloading XStatic_Graphlib-2.1.7.0-py2.py3-none-any.whl (51 kB)<br>INFO:kolla.common.utils.horizon: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.5/51.5 kB 114.3 MB/s eta 0:00:00<br>INFO:kolla.common.utils.horizon:Requirement already satisfied: XStatic-jQuery>=1.8.2.1 in /var/lib/kolla/venv/lib/python3.10/site-packages (from vitrage-dashboard==3.6.1.dev2) (1.12.4.1)<br>INFO:kolla.common.utils.horizon:Collecting XStatic-lodash>=4.16.4.1<br>INFO:kolla.common.utils.horizon: Downloading XStatic_lodash-4.16.4.2-py3-none-any.whl (167 kB)<br>INFO:kolla.common.utils.horizon: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.9/167.9 kB 12.4 MB/s eta 0:00:00<br>INFO:kolla.common.utils.horizon:Collecting XStatic-moment>=2.8.4.1<br>INFO:kolla.common.utils.horizon: Downloading XStatic_moment-2.8.4.3-py3-none-any.whl (58 kB)<br>INFO:kolla.common.utils.horizon: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.0/58.0 kB 66.7 MB/s eta 0:00:00<br>INFO:kolla.common.utils.horizon:Collecting XStatic-Moment-Timezone>=0.5.22.0<br>INFO:kolla.common.utils.horizon: Downloading XStatic-Moment-Timezone-0.5.22.0.tar.gz (99 kB)<br>INFO:kolla.common.utils.horizon: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.7/99.7 kB 45.1 MB/s eta 0:00:00<br>INFO:kolla.common.utils.horizon: Preparing metadata (setup.py): started<br>INFO:kolla.common.utils.horizon: Preparing metadata (setup.py): finished with status 'error'<br>INFO:kolla.common.utils.horizon: error: subprocess-exited-with-error<br>INFO:kolla.common.utils.horizon:<br>INFO:kolla.common.utils.horizon: × python setup.py egg_info did not run successfully.<br>INFO:kolla.common.utils.horizon: │ exit code: 1<br>INFO:kolla.common.utils.horizon: ╰─> [6 lines of output]<br>INFO:kolla.common.utils.horizon: Traceback (most recent call last):<br>INFO:kolla.common.utils.horizon: File "<string>", line 2, in <module><br>INFO:kolla.common.utils.horizon: File "<pip-setuptools-caller>", line 34, in <module><br>INFO:kolla.common.utils.horizon: File "/tmp/pip-install-dqag1zef/xstatic-moment-timezone_60eeadc1dfb9492781fe3ca90e3b95c2/setup.py", line 2, in <module><br>INFO:kolla.common.utils.horizon: from xstatic.pkg import moment_timezone as xs<br>INFO:kolla.common.utils.horizon: ImportError: cannot import name 'moment_timezone' from 'xstatic.pkg' (unknown location)<br>INFO:kolla.common.utils.horizon: [end of output]<br>INFO:kolla.common.utils.horizon:<br>INFO:kolla.common.utils.horizon: note: This error originates from a subprocess, and is likely not a problem with pip.<br>INFO:kolla.common.utils.horizon:<br>INFO:kolla.common.utils.horizon:error: metadata-generation-failed<br>INFO:kolla.common.utils.horizon:× Encountered error while generating package metadata.<br>INFO:kolla.common.utils.horizon:╰─> See above for output.<br>INFO:kolla.common.utils.horizon:note: This is an issue with the package mentioned above, not pip.<br>INFO:kolla.common.utils.horizon:hint: See above for details.<br>INFO:kolla.common.utils.horizon:<br>INFO:kolla.common.utils.horizon:Removing intermediate container e6cd437ba529<br>ERROR:kolla.common.utils.horizon:Error'd with the following message<br>ERROR:kolla.common.utils.horizon:The command '/bin/sh -c ln -s horizon-source/* horizon && sed -i /^horizon=/d /requirements/upper-constraints.txt && SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m pip --no-cache-dir install --upgrade -c /requirements/upper-constraints.txt /horizon && mkdir -p /etc/openstack-dashboard && cp -r /horizon/openstack_dashboard/conf/* /etc/openstack-dashboard/ && cp /horizon/openstack_dashboard/local/local_settings.py.example /etc/openstack-dashboard/local_settings && cp /horizon/manage.py /var/lib/kolla/venv/bin/manage.py && if [ "$(ls /plugins)" ]; then SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m pip --no-cache-dir install --upgrade -c /requirements/upper-constraints.txt /plugins/*; fi && for locale in /var/lib/kolla/venv/lib/python3.10/site-packages/*/locale; do (cd ${locale%/*} && /var/lib/kolla/venv/bin/django-admin compilemessages) done && chmod 644 /usr/local/bin/kolla_extend_start' returned a non-zero code: 1<br>INFO:kolla.common.utils:=========================<br>INFO:kolla.common.utils:Successfully built images<br>INFO:kolla.common.utils:=========================<br>INFO:kolla.common.utils:base<br>INFO:kolla.common.utils:openstack-base<br>INFO:kolla.common.utils:===========================<br>INFO:kolla.common.utils:Images that failed to build<br>INFO:kolla.common.utils:===========================<br></div></div>
</div></blockquote></div><br></div></body></html>