metal3-io / ironic-image

Container image to run OpenStack Ironic as part of Metal³
Apache License 2.0
57 stars 118 forks source link

🐛SQLite: fix Ironic container restarting issue #566

Closed metal3-io-bot closed 1 month ago

metal3-io-bot commented 2 months ago

This is an automated cherry-pick of #563

/assign tuminoid

tuminoid commented 2 months ago

/test metal3-centos-e2e-integration-test-release-1-7 metal3-ubuntu-e2e-integration-test-release-1-7

tuminoid commented 2 months ago

/retitle 🐛SQLite: fix Ironic container restarting issue

elfosardo commented 2 months ago

/retest

tuminoid commented 2 months ago

/retest

tuminoid commented 2 months ago

Are we having some Python or baseimage issues?

[2024-09-23T16:25:16.133Z]     ERROR: Command errored out with exit status 1:
[2024-09-23T16:25:16.133Z]      command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-nz17nwvr/jsonpath-rw_2f5f16245ab54bd99221743caaa430f5/setup.py'"'"'; __file__='"'"'/tmp/pip-install-nz17nwvr/jsonpath-rw_2f5f16245ab54bd99221743caaa430f5/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ux3_xuwh/install-record.txt --single-version-externally-managed --prefix /usr --compile --install-headers /usr/include/python3.9/jsonpath-rw
[2024-09-23T16:25:16.133Z]          cwd: /tmp/pip-install-nz17nwvr/jsonpath-rw_2f5f16245ab54bd99221743caaa430f5/
[2024-09-23T16:25:16.133Z]     Complete output (19 lines):
[2024-09-23T16:25:16.133Z]     Traceback (most recent call last):
[2024-09-23T16:25:16.133Z]       File "<string>", line 1, in <module>
[2024-09-23T16:25:16.133Z]       File "/tmp/pip-install-nz17nwvr/jsonpath-rw_2f5f16245ab54bd99221743caaa430f5/setup.py", line 7, in <module>
[2024-09-23T16:25:16.133Z]         setuptools.setup(
[2024-09-23T16:25:16.133Z]       File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 117, in setup
[2024-09-23T16:25:16.133Z]         return distutils.core.setup(**attrs)
[2024-09-23T16:25:16.133Z]       File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 145, in setup
[2024-09-23T16:25:16.133Z]         _setup_distribution = dist = klass(attrs)
[2024-09-23T16:25:16.133Z]       File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 283, in __init__
[2024-09-23T16:25:16.133Z]         _Distribution.__init__(self, dist_attrs)
[2024-09-23T16:25:16.133Z]       File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 279, in __init__
[2024-09-23T16:25:16.133Z]         self.finalize_options()
[2024-09-23T16:25:16.133Z]       File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 635, in finalize_options
[2024-09-23T16:25:16.133Z]         ep(self)
[2024-09-23T16:25:16.133Z]       File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 655, in _finalize_setup_keywords
[2024-09-23T16:25:16.133Z]         ep.load()(self, ep.name, value)
[2024-09-23T16:25:16.133Z]       File "/usr/lib/python3.9/site-packages/importlib_metadata/__init__.py", line 211, in load
[2024-09-23T16:25:16.133Z]         return functools.reduce(getattr, attrs, module)
[2024-09-23T16:25:16.134Z]     AttributeError: module 'setuptools.dist' has no attribute 'check_test_suite'
tuminoid commented 2 months ago

/retest

tuminoid commented 1 month ago

/retest

Maybe needs rebase?

tuminoid commented 1 month ago

Ah even the fix is still pending merging. Maybe next week then.

tuminoid commented 1 month ago

/test metal3-centos-e2e-integration-test-release-1-7 metal3-ubuntu-e2e-integration-test-release-1-7

tuminoid commented 1 month ago

/retest

elfosardo commented 1 month ago

/approve

metal3-io-bot commented 1 month ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: elfosardo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/metal3-io/ironic-image/blob/release-24.1/OWNERS)~~ [elfosardo] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment