[ironic][dib] Ubuntu ramdisk images victoria ironic-python-agent run error
Hi, I made a victoria ramdisk image of ubuntu using the following command, ```shell export DIB_DEV_USER_USERNAME=ipa export DIB_DEV_USER_PWDLESS_SUDO=yes export DIB_DEV_USER_PASSWORD='123' export DIB_REPOLOCATION_ironic_python_agent=/root/ironic-python-agent export DIB_REPOREF_ironic_python_agent=victoria-self export DIB_PYPI_MIRROR_URL=https://pypi.tuna.tsinghua.edu.cn/simple export DIB_NO_PYPI_PIP=1 ironic-python-agent-builder -o my-ssh-ubuntu-ipa-victoria -e selinux-permissive -e devuser ubuntu -e pypi -e pip-cache -e dynamic-login ``` But, in baremtal node clean step, I got the error log from ironic-python-agent (The error.png[1] is a screenshot of the log) ``` Started Ironic Python Agent. ... ImportError: canot import name 'json' from 'werkzeug.wrappers' ``` Is the werkzeug version installed by default too high and incompatible? If this is the reason, can I manually specify a lower version? I have tried to specify Werkzeug in the requirements.txt in the local ironic_python_agent git warehouse as a lower version, but the following error is reported when making image ``` 2023-02-15 13:05:02.689 | ERROR: Cannot install ironic-python-agent==6.4.5.dev3 because these package versions have conflicting dependencies. 2023-02-15 13:05:02.690 | 2023-02-15 13:05:02.690 | The conflict is caused by: 2023-02-15 13:05:02.690 | ironic-python-agent 6.4.5.dev3 depends on Werkzeug==1.0.1 2023-02-15 13:05:02.690 | The user requested (constraint) werkzeug===2.2.2 2023-02-15 13:05:02.690 | 2023-02-15 13:05:02.690 | To fix this you could try to: 2023-02-15 13:05:02.691 | 1. loosen the range of package versions you've specified 2023-02-15 13:05:02.691 | 2. remove package versions to allow pip attempt to solve the dependency conflict 2023-02-15 13:05:02.691 | 2023-02-15 13:05:02.691 | ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies ``` I would appreciate any kind of guidance or help. Thank you so so much. [1]: https://photos.app.goo.gl/pimvYyzh3iRXxt5B9
participants (1)
-
韩光宇