[kolla] horizon image build failed

Michał Nasiadka mnasiadka at gmail.com
Fri Mar 31 05:51:42 UTC 2023


Hi Satish,

Have you raised a bug in Launchpad (bugs.launchpad.net/kolla) for this?

You have also not mentioned what distribution and Kolla release are you using, so please do that in the bug report.
Looking at the output probably it’s stable/yoga and Debian - being fixed in https://review.opendev.org/c/openstack/kolla/+/873913

Michal

> On 31 Mar 2023, at 05:05, Satish Patel <satish.txt at gmail.com> wrote:
> 
> Folks,
> 
> All other images build successfully but when i am trying to build horizon which failed with following error:
> 
> $ kolla-build --registry docker-reg:4000 -b ubuntu -t source --tag zed horizon
> 
> 
> INFO:kolla.common.utils.horizon:Collecting XStatic-Dagre>=0.6.4.0
> INFO:kolla.common.utils.horizon:  Downloading XStatic_Dagre-0.6.4.1-py2.py3-none-any.whl (140 kB)
> INFO:kolla.common.utils.horizon:     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.0/140.0 kB 14.4 MB/s eta 0:00:00
> INFO:kolla.common.utils.horizon:Collecting XStatic-Dagre-D3>=0.4.17.0
> INFO:kolla.common.utils.horizon:  Downloading XStatic_Dagre_D3-0.4.17.0-py2.py3-none-any.whl (357 kB)
> INFO:kolla.common.utils.horizon:     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 357.4/357.4 kB 13.5 MB/s eta 0:00:00
> 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)
> INFO:kolla.common.utils.horizon:Collecting XStatic-Graphlib>=2.1.7.0
> INFO:kolla.common.utils.horizon:  Downloading XStatic_Graphlib-2.1.7.0-py2.py3-none-any.whl (51 kB)
> INFO:kolla.common.utils.horizon:     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.5/51.5 kB 114.3 MB/s eta 0:00:00
> 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)
> INFO:kolla.common.utils.horizon:Collecting XStatic-lodash>=4.16.4.1
> INFO:kolla.common.utils.horizon:  Downloading XStatic_lodash-4.16.4.2-py3-none-any.whl (167 kB)
> INFO:kolla.common.utils.horizon:     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.9/167.9 kB 12.4 MB/s eta 0:00:00
> INFO:kolla.common.utils.horizon:Collecting XStatic-moment>=2.8.4.1
> INFO:kolla.common.utils.horizon:  Downloading XStatic_moment-2.8.4.3-py3-none-any.whl (58 kB)
> INFO:kolla.common.utils.horizon:     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.0/58.0 kB 66.7 MB/s eta 0:00:00
> INFO:kolla.common.utils.horizon:Collecting XStatic-Moment-Timezone>=0.5.22.0
> INFO:kolla.common.utils.horizon:  Downloading XStatic-Moment-Timezone-0.5.22.0.tar.gz (99 kB)
> INFO:kolla.common.utils.horizon:     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.7/99.7 kB 45.1 MB/s eta 0:00:00
> INFO:kolla.common.utils.horizon:  Preparing metadata (setup.py): started
> INFO:kolla.common.utils.horizon:  Preparing metadata (setup.py): finished with status 'error'
> INFO:kolla.common.utils.horizon:  error: subprocess-exited-with-error
> INFO:kolla.common.utils.horizon:
> INFO:kolla.common.utils.horizon:  × python setup.py egg_info did not run successfully.
> INFO:kolla.common.utils.horizon:  │ exit code: 1
> INFO:kolla.common.utils.horizon:  ╰─> [6 lines of output]
> INFO:kolla.common.utils.horizon:      Traceback (most recent call last):
> INFO:kolla.common.utils.horizon:        File "<string>", line 2, in <module>
> INFO:kolla.common.utils.horizon:        File "<pip-setuptools-caller>", line 34, in <module>
> INFO:kolla.common.utils.horizon:        File "/tmp/pip-install-dqag1zef/xstatic-moment-timezone_60eeadc1dfb9492781fe3ca90e3b95c2/setup.py", line 2, in <module>
> INFO:kolla.common.utils.horizon:          from xstatic.pkg import moment_timezone as xs
> INFO:kolla.common.utils.horizon:      ImportError: cannot import name 'moment_timezone' from 'xstatic.pkg' (unknown location)
> INFO:kolla.common.utils.horizon:      [end of output]
> INFO:kolla.common.utils.horizon:
> INFO:kolla.common.utils.horizon:  note: This error originates from a subprocess, and is likely not a problem with pip.
> INFO:kolla.common.utils.horizon:
> INFO:kolla.common.utils.horizon:error: metadata-generation-failed
> INFO:kolla.common.utils.horizon:× Encountered error while generating package metadata.
> INFO:kolla.common.utils.horizon:╰─> See above for output.
> INFO:kolla.common.utils.horizon:note: This is an issue with the package mentioned above, not pip.
> INFO:kolla.common.utils.horizon:hint: See above for details.
> INFO:kolla.common.utils.horizon:
> INFO:kolla.common.utils.horizon:Removing intermediate container e6cd437ba529
> ERROR:kolla.common.utils.horizon:Error'd with the following message
> 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
> INFO:kolla.common.utils:=========================
> INFO:kolla.common.utils:Successfully built images
> INFO:kolla.common.utils:=========================
> INFO:kolla.common.utils:base
> INFO:kolla.common.utils:openstack-base
> INFO:kolla.common.utils:===========================
> INFO:kolla.common.utils:Images that failed to build
> INFO:kolla.common.utils:===========================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230331/c21d296a/attachment.htm>


More information about the openstack-discuss mailing list