elastic / curator

Curator: Tending your Elasticsearch indices
Other
3.04k stars 635 forks source link

Docker build fail to create runable image #1672

Closed christian-kessler closed 1 year ago

christian-kessler commented 1 year ago

Hi, I tried to create an image as is with the branch 8.x but ldd prints a lot of issues:

docker build -t xyz . [...] Error relocating /usr/local/lib/python3.11/lib-dynload/termios.cpython-311-x86_64-linux-musl.so: _Py_NoneStruct: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/termios.cpython-311-x86_64-linux-musl.so: PyExc_OverflowError: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/termios.cpython-311-x86_64-linux-musl.so: PyExc_TypeError: symbol not found [...]

Although the build is going to complete, but the image is not startable, because there is no executable curator/curator.

Do I miss something? thank you for your help!

untergeek commented 1 year ago

Are you building from an M1 or M2 MacBook Pro, by any chance? If so, you would be trying to build for x86_64 from arm64. There is a way to do this, but that would explain what's going on.

If true, you need to follow the instructions to use buildx instead. This will build cross-platform images.

christian-kessler commented 1 year ago

Thank you for your fast reply! I'm building with Ubuntu 20.x

untergeek commented 1 year ago

Please attach the entire output so I can go over it. This sounds like something else is going on. I will spin up a 20.04 image somewhere an see if I can replicate what you're seeing.

christian-kessler commented 1 year ago

Sending build context to Docker daemon 5.801MB Step 1/21 : ARG PYVER=3.11.1 Step 2/21 : ARG ALPTAG=3.17 Step 3/21 : FROM python:3.11.1-alpine as builder ---> ffc28cbd185e Step 4/21 : ARG ALPTAG ---> Using cache ---> 0bc1c3760513 Step 5/21 : RUN echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPTAG}/community/" >> /etc/apk/repositories ---> Using cache ---> bfbc8960c8af Step 6/21 : RUN apk --no-cache upgrade && apk --no-cache add build-base tar musl-utils openssl-dev patchelf git libstdc++ unixodbc unixodbc-dev freetds-dev ---> Running in b565238deda2 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz (1/3) Upgrading libcrypto3 (3.0.7-r2 -> 3.0.8-r0) (2/3) Upgrading libcom_err (1.46.5-r4 -> 1.46.6-r0) (3/3) Upgrading libssl3 (3.0.7-r2 -> 3.0.8-r0) Executing ca-certificates-20220614-r4.trigger OK: 16 MiB in 37 packages fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz (1/34) Installing libgcc (12.2.1_git20220924-r4) (2/34) Installing libstdc++ (12.2.1_git20220924-r4) (3/34) Installing binutils (2.39-r2) (4/34) Installing libmagic (5.43-r0) (5/34) Installing file (5.43-r0) (6/34) Installing libgomp (12.2.1_git20220924-r4) (7/34) Installing libatomic (12.2.1_git20220924-r4) (8/34) Installing gmp (6.2.1-r2) (9/34) Installing isl25 (0.25-r0) (10/34) Installing mpfr4 (4.1.0-r0) (11/34) Installing mpc1 (1.2.1-r1) (12/34) Installing gcc (12.2.1_git20220924-r4) (13/34) Installing libstdc++-dev (12.2.1_git20220924-r4) (14/34) Installing musl-dev (1.2.3-r4) (15/34) Installing libc-dev (0.7.2-r3) (16/34) Installing g++ (12.2.1_git20220924-r4) (17/34) Installing make (4.3-r1) (18/34) Installing fortify-headers (1.1-r1) (19/34) Installing patch (2.7.6-r8) (20/34) Installing build-base (0.5-r3) (21/34) Installing unixodbc (2.3.11-r0) (22/34) Installing freetds (1.3.16-r0) (23/34) Installing freetds-dev (1.3.16-r0) (24/34) Installing brotli-libs (1.0.9-r9) (25/34) Installing nghttp2-libs (1.51.0-r0) (26/34) Installing libcurl (7.88.1-r0) (27/34) Installing pcre2 (10.42-r0) (28/34) Installing git (2.38.4-r1) (29/34) Installing pkgconf (1.9.4-r0) (30/34) Installing openssl-dev (3.0.8-r0) (31/34) Installing patchelf (0.17.0-r0) (32/34) Installing libacl (2.3.1-r1) (33/34) Installing tar (1.34-r2) (34/34) Installing unixodbc-dev (2.3.11-r0) Executing busybox-1.35.0-r29.trigger OK: 266 MiB in 71 packages Removing intermediate container b565238deda2 ---> cc529e1875e9 Step 7/21 : RUN pip3 install setuptools patchelf-wrapper ---> Running in 128e0bae696f Requirement already satisfied: setuptools in /usr/local/lib/python3.11/site-packages (65.5.1) Collecting patchelf-wrapper Downloading patchelf-wrapper-1.2.0.tar.gz (197 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 197.0/197.0 kB 173.6 kB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Building wheels for collected packages: patchelf-wrapper Building wheel for patchelf-wrapper (setup.py): started Building wheel for patchelf-wrapper (setup.py): finished with status 'done' Created wheel for patchelf-wrapper: filename=patchelf_wrapper-1.2.0-py3-none-any.whl size=2181 sha256=04a925bcc850068ec86f79e300727b01956f1b2ea47bea4be0d13091e6a562af Stored in directory: /root/.cache/pip/wheels/e9/41/a4/3f9e0160bd54c3d2a8e8e2819556a844e46dab6dbda55aa5f8 Successfully built patchelf-wrapper Installing collected packages: patchelf-wrapper Successfully installed patchelf-wrapper-1.2.0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

[notice] A new release of pip available: 22.3.1 -> 23.0.1 [notice] To update, run: pip install --upgrade pip Removing intermediate container 128e0bae696f ---> 397ecbed74d8 Step 8/21 : COPY . . ---> a769cfc08813 Step 9/21 : RUN /bin/sh alpine4docker.sh ---> Running in 9b2a24e5e7f3 ln: /lib/libc.musl-x86_64.so.1: File exists Removing intermediate container 9b2a24e5e7f3 ---> 80242ab4ce23 Step 10/21 : RUN pip3 install --upgrade git+https://github.com/anthony-tuininga/cx_Freeze.git@6.14.2 ---> Running in 9ce12602f9c4 Collecting git+https://github.com/anthony-tuininga/cx_Freeze.git@6.14.2 Cloning https://github.com/anthony-tuininga/cx_Freeze.git (to revision 6.14.2) to /tmp/pip-req-build-nayx__p0 Running command git clone --filter=blob:none --quiet https://github.com/anthony-tuininga/cx_Freeze.git /tmp/pip-req-build-nayx__p0 Running command git checkout -q b211d07965c76ee4cf37813f2ff59dfc41d8b7c4 Resolved https://github.com/anthony-tuininga/cx_Freeze.git to commit b211d07965c76ee4cf37813f2ff59dfc41d8b7c4 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Requirement already satisfied: setuptools<67,>=61.2 in /usr/local/lib/python3.11/site-packages (from cx-Freeze==6.14.2) (65.5.1) Collecting patchelf>=0.14 Downloading patchelf-0.17.2.1-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.musllinux_1_1_x86_64.whl (425 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 425.7/425.7 kB 228.3 kB/s eta 0:00:00 Building wheels for collected packages: cx-Freeze Building wheel for cx-Freeze (pyproject.toml): started Building wheel for cx-Freeze (pyproject.toml): finished with status 'done' Created wheel for cx-Freeze: filename=cx_Freeze-6.14.2-cp311-cp311-linux_x86_64.whl size=353700 sha256=6660e61a1057f37f73fae71281ba0f8110b6a0697bcd37917a9fd1324bb5ea22 Stored in directory: /tmp/pip-ephem-wheel-cache-d28b1uj8/wheels/74/8e/f5/f5cd8dfd1051ec0c5189e788401aaaa4855cfd3fc4cd8eed3c Successfully built cx-Freeze Installing collected packages: patchelf, cx-Freeze Successfully installed cx-Freeze-6.14.2 patchelf-0.17.2.1 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

[notice] A new release of pip available: 22.3.1 -> 23.0.1 [notice] To update, run: pip install --upgrade pip Removing intermediate container 9ce12602f9c4 ---> 4ca74cdcac63 Step 11/21 : RUN pip3 install . ---> Running in a2b0659149b8 Processing / Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting certifi>=2022.12.7 Downloading certifi-2022.12.7-py3-none-any.whl (155 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 317.4 kB/s eta 0:00:00 Collecting click==8.1.3 Downloading click-8.1.3-py3-none-any.whl (96 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 214.5 kB/s eta 0:00:00 Collecting opensearch-py>=2.2.0 Downloading opensearch_py-2.2.0-py2.py3-none-any.whl (291 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 291.0/291.0 kB 77.8 kB/s eta 0:00:00 Collecting pyyaml==6.0.0 Downloading PyYAML-6.0.tar.gz (124 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.0/125.0 kB 118.8 kB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting six>=1.16.0 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting voluptuous>=0.13.1 Downloading voluptuous-0.13.1-py3-none-any.whl (29 kB) Collecting urllib3<2,>=1.21.1 Downloading urllib3-1.26.15-py2.py3-none-any.whl (140 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.9/140.9 kB 65.6 kB/s eta 0:00:00 Collecting requests<3.0.0,>=2.4.0 Downloading requests-2.28.2-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 81.5 kB/s eta 0:00:00 Collecting python-dateutil Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 83.2 kB/s eta 0:00:00 Collecting charset-normalizer<4,>=2 Downloading charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_x86_64.whl (190 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 191.0/191.0 kB 175.2 kB/s eta 0:00:00 Collecting idna<4,>=2.5 Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 142.7 kB/s eta 0:00:00 Building wheels for collected packages: opensearch-curator, pyyaml Building wheel for opensearch-curator (pyproject.toml): started Building wheel for opensearch-curator (pyproject.toml): finished with status 'done' Created wheel for opensearch-curator: filename=opensearch_curator-8.0.3-py3-none-any.whl size=129411 sha256=3fdfd9bac00882844fd044ab276708728a34d5375dba4d40b2a5f30141e36093 Stored in directory: /tmp/pip-ephem-wheel-cache-bpu1zq4b/wheels/0a/e6/5f/7890bed7e6ede0be54e51a5211aa22f3998e0f39a540b02155 Building wheel for pyyaml (pyproject.toml): started Building wheel for pyyaml (pyproject.toml): finished with status 'done' Created wheel for pyyaml: filename=PyYAML-6.0-cp311-cp311-linux_x86_64.whl size=45331 sha256=80bcf53d3df618ce7f98ba0d29441c26835e55c2fc6521f4c093b02cfe0712f4 Stored in directory: /root/.cache/pip/wheels/e4/64/08/efad557443d4ad855cd74372fe1906f8c800bcfa611ea50df6 Successfully built opensearch-curator pyyaml Installing collected packages: voluptuous, urllib3, six, pyyaml, idna, click, charset-normalizer, certifi, requests, python-dateutil, opensearch-py, opensearch-curator Successfully installed certifi-2022.12.7 charset-normalizer-3.1.0 click-8.1.3 idna-3.4 opensearch-curator-8.0.3 opensearch-py-2.2.0 python-dateutil-2.8.2 pyyaml-6.0 requests-2.28.2 six-1.16.0 urllib3-1.26.15 voluptuous-0.13.1 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

[notice] A new release of pip available: 22.3.1 -> 23.0.1 [notice] To update, run: pip install --upgrade pip Removing intermediate container a2b0659149b8 ---> 4395d5f9cc68 Step 12/21 : RUN python3 setup.py build_exe ---> Running in 19fe917435ad /usr/local/lib/python3.11/site-packages/cx_Freeze/common.py:172: UserWarning: camelCase values is obsolete and will be removed in the next major version -> use the new name 'target_name' warnings.warn( Command option build_exe.excludes is not defined Command option build_exe.zip_include_packages is not defined running build_exe creating directory /build/exe.linux-x86_64-3.11/lib copying /usr/local/lib/libpython3.11.so.1.0 -> /build/exe.linux-x86_64-3.11/lib/libpython3.11.so.1.0 copying /usr/local/lib/python3.11/site-packages/cx_Freeze/bases/console-cpython-311-x86_64-linux-musl -> /build/exe.linux-x86_64-3.11/curator copying /usr/local/lib/python3.11/site-packages/cx_Freeze/initscripts/frozen_application_license.txt -> /build/exe.linux-x86_64-3.11/frozen_application_license.txt copying /usr/local/lib/python3.11/site-packages/cx_Freeze/bases/console-cpython-311-x86_64-linux-musl -> /build/exe.linux-x86_64-3.11/curator_cli copying /usr/local/lib/python3.11/site-packages/cx_Freeze/bases/console-cpython-311-x86_64-linux-musl -> /build/exe.linux-x86_64-3.11/es_repo_mgr writing zip file /build/exe.linux-x86_64-3.11/lib/library.zip

Name File


m BUILD_CONSTANTS /tmp/cxfreeze-a9hw94de/constants.py m future /usr/local/lib/python3.11/future.py m startup /usr/local/lib/python3.11/site-packages/cx_Freeze/initscripts/startup.py m _abc
m _aix_support /usr/local/lib/python3.11/_aix_support.py m _ast
m _bisect /usr/local/lib/python3.11/lib-dynload/_bisect.cpython-311-x86_64-linux-musl.so m _blake2 /usr/local/lib/python3.11/lib-dynload/_blake2.cpython-311-x86_64-linux-musl.so m _bootsubprocess /usr/local/lib/python3.11/_bootsubprocess.py m _bz2 /usr/local/lib/python3.11/lib-dynload/_bz2.cpython-311-x86_64-linux-musl.so m _codecs
m _codecs_cn /usr/local/lib/python3.11/lib-dynload/_codecs_cn.cpython-311-x86_64-linux-musl.so m _codecs_hk /usr/local/lib/python3.11/lib-dynload/_codecs_hk.cpython-311-x86_64-linux-musl.so m _codecs_iso2022 /usr/local/lib/python3.11/lib-dynload/_codecs_iso2022.cpython-311-x86_64-linux-musl.so m _codecs_jp /usr/local/lib/python3.11/lib-dynload/_codecs_jp.cpython-311-x86_64-linux-musl.so m _codecs_kr /usr/local/lib/python3.11/lib-dynload/_codecs_kr.cpython-311-x86_64-linux-musl.so m _codecs_tw /usr/local/lib/python3.11/lib-dynload/_codecs_tw.cpython-311-x86_64-linux-musl.so m _collections
m _collections_abc /usr/local/lib/python3.11/_collections_abc.py m _compat_pickle /usr/local/lib/python3.11/_compat_pickle.py m _compression /usr/local/lib/python3.11/_compression.py m _contextvars /usr/local/lib/python3.11/lib-dynload/_contextvars.cpython-311-x86_64-linux-musl.so m _csv /usr/local/lib/python3.11/lib-dynload/_csv.cpython-311-x86_64-linux-musl.so m _ctypes /usr/local/lib/python3.11/lib-dynload/_ctypes.cpython-311-x86_64-linux-musl.so m _datetime /usr/local/lib/python3.11/lib-dynload/_datetime.cpython-311-x86_64-linux-musl.so m _decimal /usr/local/lib/python3.11/lib-dynload/_decimal.cpython-311-x86_64-linux-musl.so m _functools
m _hashlib /usr/local/lib/python3.11/lib-dynload/_hashlib.cpython-311-x86_64-linux-musl.so m _heapq /usr/local/lib/python3.11/lib-dynload/_heapq.cpython-311-x86_64-linux-musl.so m _imp
m _io
m _json /usr/local/lib/python3.11/lib-dynload/_json.cpython-311-x86_64-linux-musl.so m _locale
m _lzma /usr/local/lib/python3.11/lib-dynload/_lzma.cpython-311-x86_64-linux-musl.so m _md5 /usr/local/lib/python3.11/lib-dynload/_md5.cpython-311-x86_64-linux-musl.so m _multibytecodec /usr/local/lib/python3.11/lib-dynload/_multibytecodec.cpython-311-x86_64-linux-musl.so m _opcode /usr/local/lib/python3.11/lib-dynload/_opcode.cpython-311-x86_64-linux-musl.so m _operator
m _osx_support /usr/local/lib/python3.11/_osx_support.py m _pickle /usr/local/lib/python3.11/lib-dynload/_pickle.cpython-311-x86_64-linux-musl.so m _posixsubprocess /usr/local/lib/python3.11/lib-dynload/_posixsubprocess.cpython-311-x86_64-linux-musl.so m _py_abc /usr/local/lib/python3.11/_py_abc.py m _pydecimal /usr/local/lib/python3.11/_pydecimal.py m _random /usr/local/lib/python3.11/lib-dynload/_random.cpython-311-x86_64-linux-musl.so m _sha1 /usr/local/lib/python3.11/lib-dynload/_sha1.cpython-311-x86_64-linux-musl.so m _sha256 /usr/local/lib/python3.11/lib-dynload/_sha256.cpython-311-x86_64-linux-musl.so m _sha3 /usr/local/lib/python3.11/lib-dynload/_sha3.cpython-311-x86_64-linux-musl.so m _sha512 /usr/local/lib/python3.11/lib-dynload/_sha512.cpython-311-x86_64-linux-musl.so m _signal
m _socket /usr/local/lib/python3.11/lib-dynload/_socket.cpython-311-x86_64-linux-musl.so m _sre
m _ssl /usr/local/lib/python3.11/lib-dynload/_ssl.cpython-311-x86_64-linux-musl.so m _stat
m _statistics /usr/local/lib/python3.11/lib-dynload/_statistics.cpython-311-x86_64-linux-musl.so m _string
m _strptime /usr/local/lib/python3.11/_strptime.py m _struct /usr/local/lib/python3.11/lib-dynload/_struct.cpython-311-x86_64-linux-musl.so m _sysconfigdatalinux_x86_64-linux-musl /usr/local/lib/python3.11/_sysconfigdata__linux_x86_64-linux-musl.py m _thread
m _threading_local /usr/local/lib/python3.11/_threading_local.py m _tokenize
m _tracemalloc
m _typing /usr/local/lib/python3.11/lib-dynload/_typing.cpython-311-x86_64-linux-musl.so m _uuid /usr/local/lib/python3.11/lib-dynload/_uuid.cpython-311-x86_64-linux-musl.so m _warnings
m _weakref
m _weakrefset /usr/local/lib/python3.11/_weakrefset.py m abc /usr/local/lib/python3.11/abc.py m argparse /usr/local/lib/python3.11/argparse.py m array /usr/local/lib/python3.11/lib-dynload/array.cpython-311-x86_64-linux-musl.so m ast /usr/local/lib/python3.11/ast.py m atexit
m base64 /usr/local/lib/python3.11/base64.py m bdb /usr/local/lib/python3.11/bdb.py m binascii /usr/local/lib/python3.11/lib-dynload/binascii.cpython-311-x86_64-linux-musl.so m bisect /usr/local/lib/python3.11/bisect.py m builtins
m bz2 /usr/local/lib/python3.11/bz2.py m calendar /usr/local/lib/python3.11/calendar.py P click /usr/local/lib/python3.11/site-packages/click/
init.py m click._compat /usr/local/lib/python3.11/site-packages/click/_compat.py m click._termui_impl /usr/local/lib/python3.11/site-packages/click/_termui_impl.py m click._textwrap /usr/local/lib/python3.11/site-packages/click/_textwrap.py m click._winconsole /usr/local/lib/python3.11/site-packages/click/_winconsole.py m click.core /usr/local/lib/python3.11/site-packages/click/core.py m click.decorators /usr/local/lib/python3.11/site-packages/click/decorators.py m click.exceptions /usr/local/lib/python3.11/site-packages/click/exceptions.py m click.formatting /usr/local/lib/python3.11/site-packages/click/formatting.py m click.globals /usr/local/lib/python3.11/site-packages/click/globals.py m click.parser /usr/local/lib/python3.11/site-packages/click/parser.py m click.shell_completion /usr/local/lib/python3.11/site-packages/click/shell_completion.py m click.termui /usr/local/lib/python3.11/site-packages/click/termui.py m click.types /usr/local/lib/python3.11/site-packages/click/types.py m click.utils /usr/local/lib/python3.11/site-packages/click/utils.py m cmd /usr/local/lib/python3.11/cmd.py m code /usr/local/lib/python3.11/code.py m codecs /usr/local/lib/python3.11/codecs.py m codeop /usr/local/lib/python3.11/codeop.py P collections /usr/local/lib/python3.11/collections/init.py m collections.abc /usr/local/lib/python3.11/collections/abc.py m contextlib /usr/local/lib/python3.11/contextlib.py m contextvars /usr/local/lib/python3.11/contextvars.py m copy /usr/local/lib/python3.11/copy.py m copyreg /usr/local/lib/python3.11/copyreg.py m csv /usr/local/lib/python3.11/csv.py P ctypes /usr/local/lib/python3.11/ctypes/init.py m ctypes._endian /usr/local/lib/python3.11/ctypes/_endian.py m ctypes.wintypes /usr/local/lib/python3.11/ctypes/wintypes.py P curator /curator/init.py m curator._version /curator/_version.py P curator.actions /curator/actions/init.py m curator.actions.alias /curator/actions/alias.py m curator.actions.allocation /curator/actions/allocation.py m curator.actions.close /curator/actions/close.py m curator.actions.cluster_routing /curator/actions/cluster_routing.py m curator.actions.cold2frozen /curator/actions/cold2frozen.py m curator.actions.create_index /curator/actions/create_index.py m curator.actions.delete_indices /curator/actions/delete_indices.py m curator.actions.forcemerge /curator/actions/forcemerge.py m curator.actions.index_settings /curator/actions/index_settings.py m curator.actions.open /curator/actions/open.py m curator.actions.reindex /curator/actions/reindex.py m curator.actions.replicas /curator/actions/replicas.py m curator.actions.rollover /curator/actions/rollover.py m curator.actions.shrink /curator/actions/shrink.py m curator.actions.snapshot /curator/actions/snapshot.py m curator.classdef /curator/classdef.py m curator.cli /curator/cli.py P curator.cli_singletons /curator/cli_singletons/init.py m curator.cli_singletons.alias /curator/cli_singletons/alias.py m curator.cli_singletons.allocation /curator/cli_singletons/allocation.py m curator.cli_singletons.close /curator/cli_singletons/close.py m curator.cli_singletons.delete /curator/cli_singletons/delete.py m curator.cli_singletons.forcemerge /curator/cli_singletons/forcemerge.py m curator.cli_singletons.object_class /curator/cli_singletons/object_class.py m curator.cli_singletons.open_indices /curator/cli_singletons/open_indices.py m curator.cli_singletons.replicas /curator/cli_singletons/replicas.py m curator.cli_singletons.restore /curator/cli_singletons/restore.py m curator.cli_singletons.rollover /curator/cli_singletons/rollover.py m curator.cli_singletons.show /curator/cli_singletons/show.py m curator.cli_singletons.shrink /curator/cli_singletons/shrink.py m curator.cli_singletons.snapshot /curator/cli_singletons/snapshot.py m curator.cli_singletons.utils /curator/cli_singletons/utils.py m curator.config_utils /curator/config_utils.py P curator.defaults /curator/defaults/init.py m curator.defaults.filter_elements /curator/defaults/filter_elements.py m curator.defaults.filtertypes /curator/defaults/filtertypes.py m curator.defaults.logging_defaults /curator/defaults/logging_defaults.py m curator.defaults.option_defaults /curator/defaults/option_defaults.py m curator.defaults.settings /curator/defaults/settings.py m curator.exceptions /curator/exceptions.py P curator.helpers /curator/helpers/init.py m curator.helpers.date_ops /curator/helpers/date_ops.py m curator.helpers.getters /curator/helpers/getters.py m curator.helpers.testers /curator/helpers/testers.py m curator.helpers.utils /curator/helpers/utils.py m curator.helpers.waiters /curator/helpers/waiters.py m curator.indexlist /curator/indexlist.py m curator.logtools /curator/logtools.py m curator.repomgrcli /curator/repomgrcli.py m curator.singletons /curator/singletons.py m curator.snapshotlist /curator/snapshotlist.py P curator.validators /curator/validators/init.py m curator.validators.actions /curator/validators/actions.py m curator.validators.filter_functions /curator/validators/filter_functions.py m curator.validators.options /curator/validators/options.py m curator.validators.schemacheck /curator/validators/schemacheck.py m curatorinit /usr/local/lib/python3.11/site-packages/cx_Freeze/initscripts/console.py m curatormain run_curator.py m curator_cliinit /usr/local/lib/python3.11/site-packages/cx_Freeze/initscripts/console.py m curator_climain run_singleton.py m dataclasses /usr/local/lib/python3.11/dataclasses.py m datetime /usr/local/lib/python3.11/datetime.py m decimal /usr/local/lib/python3.11/decimal.py m difflib /usr/local/lib/python3.11/difflib.py m dis /usr/local/lib/python3.11/dis.py m doctest /usr/local/lib/python3.11/doctest.py P email /usr/local/lib/python3.11/email/init.py m email._encoded_words /usr/local/lib/python3.11/email/_encoded_words.py m email._header_value_parser /usr/local/lib/python3.11/email/_header_value_parser.py m email._parseaddr /usr/local/lib/python3.11/email/_parseaddr.py m email._policybase /usr/local/lib/python3.11/email/_policybase.py m email.base64mime /usr/local/lib/python3.11/email/base64mime.py m email.charset /usr/local/lib/python3.11/email/charset.py m email.contentmanager /usr/local/lib/python3.11/email/contentmanager.py m email.encoders /usr/local/lib/python3.11/email/encoders.py m email.errors /usr/local/lib/python3.11/email/errors.py m email.feedparser /usr/local/lib/python3.11/email/feedparser.py m email.generator /usr/local/lib/python3.11/email/generator.py m email.header /usr/local/lib/python3.11/email/header.py m email.headerregistry /usr/local/lib/python3.11/email/headerregistry.py m email.iterators /usr/local/lib/python3.11/email/iterators.py m email.message /usr/local/lib/python3.11/email/message.py m email.parser /usr/local/lib/python3.11/email/parser.py m email.policy /usr/local/lib/python3.11/email/policy.py m email.quoprimime /usr/local/lib/python3.11/email/quoprimime.py m email.utils /usr/local/lib/python3.11/email/utils.py P encodings /usr/local/lib/python3.11/encodings/init.py m encodings.aliases /usr/local/lib/python3.11/encodings/aliases.py m encodings.ascii /usr/local/lib/python3.11/encodings/ascii.py m encodings.base64_codec /usr/local/lib/python3.11/encodings/base64_codec.py m encodings.big5 /usr/local/lib/python3.11/encodings/big5.py m encodings.big5hkscs /usr/local/lib/python3.11/encodings/big5hkscs.py m encodings.bz2_codec /usr/local/lib/python3.11/encodings/bz2_codec.py m encodings.charmap /usr/local/lib/python3.11/encodings/charmap.py m encodings.cp037 /usr/local/lib/python3.11/encodings/cp037.py m encodings.cp1006 /usr/local/lib/python3.11/encodings/cp1006.py m encodings.cp1026 /usr/local/lib/python3.11/encodings/cp1026.py m encodings.cp1125 /usr/local/lib/python3.11/encodings/cp1125.py m encodings.cp1140 /usr/local/lib/python3.11/encodings/cp1140.py m encodings.cp1250 /usr/local/lib/python3.11/encodings/cp1250.py m encodings.cp1251 /usr/local/lib/python3.11/encodings/cp1251.py m encodings.cp1252 /usr/local/lib/python3.11/encodings/cp1252.py m encodings.cp1253 /usr/local/lib/python3.11/encodings/cp1253.py m encodings.cp1254 /usr/local/lib/python3.11/encodings/cp1254.py m encodings.cp1255 /usr/local/lib/python3.11/encodings/cp1255.py m encodings.cp1256 /usr/local/lib/python3.11/encodings/cp1256.py m encodings.cp1257 /usr/local/lib/python3.11/encodings/cp1257.py m encodings.cp1258 /usr/local/lib/python3.11/encodings/cp1258.py m encodings.cp273 /usr/local/lib/python3.11/encodings/cp273.py m encodings.cp424 /usr/local/lib/python3.11/encodings/cp424.py m encodings.cp437 /usr/local/lib/python3.11/encodings/cp437.py m encodings.cp500 /usr/local/lib/python3.11/encodings/cp500.py m encodings.cp720 /usr/local/lib/python3.11/encodings/cp720.py m encodings.cp737 /usr/local/lib/python3.11/encodings/cp737.py m encodings.cp775 /usr/local/lib/python3.11/encodings/cp775.py m encodings.cp850 /usr/local/lib/python3.11/encodings/cp850.py m encodings.cp852 /usr/local/lib/python3.11/encodings/cp852.py m encodings.cp855 /usr/local/lib/python3.11/encodings/cp855.py m encodings.cp856 /usr/local/lib/python3.11/encodings/cp856.py m encodings.cp857 /usr/local/lib/python3.11/encodings/cp857.py m encodings.cp858 /usr/local/lib/python3.11/encodings/cp858.py m encodings.cp860 /usr/local/lib/python3.11/encodings/cp860.py m encodings.cp861 /usr/local/lib/python3.11/encodings/cp861.py m encodings.cp862 /usr/local/lib/python3.11/encodings/cp862.py m encodings.cp863 /usr/local/lib/python3.11/encodings/cp863.py m encodings.cp864 /usr/local/lib/python3.11/encodings/cp864.py m encodings.cp865 /usr/local/lib/python3.11/encodings/cp865.py m encodings.cp866 /usr/local/lib/python3.11/encodings/cp866.py m encodings.cp869 /usr/local/lib/python3.11/encodings/cp869.py m encodings.cp874 /usr/local/lib/python3.11/encodings/cp874.py m encodings.cp875 /usr/local/lib/python3.11/encodings/cp875.py m encodings.cp932 /usr/local/lib/python3.11/encodings/cp932.py m encodings.cp949 /usr/local/lib/python3.11/encodings/cp949.py m encodings.cp950 /usr/local/lib/python3.11/encodings/cp950.py m encodings.euc_jis_2004 /usr/local/lib/python3.11/encodings/euc_jis_2004.py m encodings.euc_jisx0213 /usr/local/lib/python3.11/encodings/euc_jisx0213.py m encodings.euc_jp /usr/local/lib/python3.11/encodings/euc_jp.py m encodings.euc_kr /usr/local/lib/python3.11/encodings/euc_kr.py m encodings.gb18030 /usr/local/lib/python3.11/encodings/gb18030.py m encodings.gb2312 /usr/local/lib/python3.11/encodings/gb2312.py m encodings.gbk /usr/local/lib/python3.11/encodings/gbk.py m encodings.hex_codec /usr/local/lib/python3.11/encodings/hex_codec.py m encodings.hp_roman8 /usr/local/lib/python3.11/encodings/hp_roman8.py m encodings.hz /usr/local/lib/python3.11/encodings/hz.py m encodings.idna /usr/local/lib/python3.11/encodings/idna.py m encodings.iso2022_jp /usr/local/lib/python3.11/encodings/iso2022_jp.py m encodings.iso2022_jp_1 /usr/local/lib/python3.11/encodings/iso2022_jp_1.py m encodings.iso2022_jp_2 /usr/local/lib/python3.11/encodings/iso2022_jp_2.py m encodings.iso2022_jp_2004 /usr/local/lib/python3.11/encodings/iso2022_jp_2004.py m encodings.iso2022_jp_3 /usr/local/lib/python3.11/encodings/iso2022_jp_3.py m encodings.iso2022_jp_ext /usr/local/lib/python3.11/encodings/iso2022_jp_ext.py m encodings.iso2022_kr /usr/local/lib/python3.11/encodings/iso2022_kr.py m encodings.iso8859_1 /usr/local/lib/python3.11/encodings/iso8859_1.py m encodings.iso8859_10 /usr/local/lib/python3.11/encodings/iso8859_10.py m encodings.iso8859_11 /usr/local/lib/python3.11/encodings/iso8859_11.py m encodings.iso8859_13 /usr/local/lib/python3.11/encodings/iso8859_13.py m encodings.iso8859_14 /usr/local/lib/python3.11/encodings/iso8859_14.py m encodings.iso8859_15 /usr/local/lib/python3.11/encodings/iso8859_15.py m encodings.iso8859_16 /usr/local/lib/python3.11/encodings/iso8859_16.py m encodings.iso8859_2 /usr/local/lib/python3.11/encodings/iso8859_2.py m encodings.iso8859_3 /usr/local/lib/python3.11/encodings/iso8859_3.py m encodings.iso8859_4 /usr/local/lib/python3.11/encodings/iso8859_4.py m encodings.iso8859_5 /usr/local/lib/python3.11/encodings/iso8859_5.py m encodings.iso8859_6 /usr/local/lib/python3.11/encodings/iso8859_6.py m encodings.iso8859_7 /usr/local/lib/python3.11/encodings/iso8859_7.py m encodings.iso8859_8 /usr/local/lib/python3.11/encodings/iso8859_8.py m encodings.iso8859_9 /usr/local/lib/python3.11/encodings/iso8859_9.py m encodings.johab /usr/local/lib/python3.11/encodings/johab.py m encodings.koi8_r /usr/local/lib/python3.11/encodings/koi8_r.py m encodings.koi8_t /usr/local/lib/python3.11/encodings/koi8_t.py m encodings.koi8_u /usr/local/lib/python3.11/encodings/koi8_u.py m encodings.kz1048 /usr/local/lib/python3.11/encodings/kz1048.py m encodings.latin_1 /usr/local/lib/python3.11/encodings/latin_1.py m encodings.mac_arabic /usr/local/lib/python3.11/encodings/mac_arabic.py m encodings.mac_croatian /usr/local/lib/python3.11/encodings/mac_croatian.py m encodings.mac_cyrillic /usr/local/lib/python3.11/encodings/mac_cyrillic.py m encodings.mac_farsi /usr/local/lib/python3.11/encodings/mac_farsi.py m encodings.mac_greek /usr/local/lib/python3.11/encodings/mac_greek.py m encodings.mac_iceland /usr/local/lib/python3.11/encodings/mac_iceland.py m encodings.mac_latin2 /usr/local/lib/python3.11/encodings/mac_latin2.py m encodings.mac_roman /usr/local/lib/python3.11/encodings/mac_roman.py m encodings.mac_romanian /usr/local/lib/python3.11/encodings/mac_romanian.py m encodings.mac_turkish /usr/local/lib/python3.11/encodings/mac_turkish.py m encodings.mbcs /usr/local/lib/python3.11/encodings/mbcs.py m encodings.oem /usr/local/lib/python3.11/encodings/oem.py m encodings.palmos /usr/local/lib/python3.11/encodings/palmos.py m encodings.ptcp154 /usr/local/lib/python3.11/encodings/ptcp154.py m encodings.punycode /usr/local/lib/python3.11/encodings/punycode.py m encodings.quopri_codec /usr/local/lib/python3.11/encodings/quopri_codec.py m encodings.raw_unicode_escape /usr/local/lib/python3.11/encodings/raw_unicode_escape.py m encodings.rot_13 /usr/local/lib/python3.11/encodings/rot_13.py m encodings.shift_jis /usr/local/lib/python3.11/encodings/shift_jis.py m encodings.shift_jis_2004 /usr/local/lib/python3.11/encodings/shift_jis_2004.py m encodings.shift_jisx0213 /usr/local/lib/python3.11/encodings/shift_jisx0213.py m encodings.tis_620 /usr/local/lib/python3.11/encodings/tis_620.py m encodings.undefined /usr/local/lib/python3.11/encodings/undefined.py m encodings.unicode_escape /usr/local/lib/python3.11/encodings/unicode_escape.py m encodings.utf_16 /usr/local/lib/python3.11/encodings/utf_16.py m encodings.utf_16_be /usr/local/lib/python3.11/encodings/utf_16_be.py m encodings.utf_16_le /usr/local/lib/python3.11/encodings/utf_16_le.py m encodings.utf_32 /usr/local/lib/python3.11/encodings/utf_32.py m encodings.utf_32_be /usr/local/lib/python3.11/encodings/utf_32_be.py m encodings.utf_32_le /usr/local/lib/python3.11/encodings/utf_32_le.py m encodings.utf_7 /usr/local/lib/python3.11/encodings/utf_7.py m encodings.utf_8 /usr/local/lib/python3.11/encodings/utf_8.py m encodings.utf_8_sig /usr/local/lib/python3.11/encodings/utf_8_sig.py m encodings.uu_codec /usr/local/lib/python3.11/encodings/uu_codec.py m encodings.zlib_codec /usr/local/lib/python3.11/encodings/zlib_codec.py m enum /usr/local/lib/python3.11/enum.py m errno
m es_repo_mgr
init /usr/local/lib/python3.11/site-packages/cx_Freeze/initscripts/console.py m es_repo_mgrmain run_es_repo_mgr.py m fcntl /usr/local/lib/python3.11/lib-dynload/fcntl.cpython-311-x86_64-linux-musl.so m fnmatch /usr/local/lib/python3.11/fnmatch.py m fractions /usr/local/lib/python3.11/fractions.py m functools /usr/local/lib/python3.11/functools.py m gc
m genericpath /usr/local/lib/python3.11/genericpath.py m getopt /usr/local/lib/python3.11/getopt.py m getpass /usr/local/lib/python3.11/getpass.py m gettext /usr/local/lib/python3.11/gettext.py m glob /usr/local/lib/python3.11/glob.py m grp /usr/local/lib/python3.11/lib-dynload/grp.cpython-311-x86_64-linux-musl.so m gzip /usr/local/lib/python3.11/gzip.py m hashlib /usr/local/lib/python3.11/hashlib.py m heapq /usr/local/lib/python3.11/heapq.py P html /usr/local/lib/python3.11/html/
init.py m html.entities /usr/local/lib/python3.11/html/entities.py P http /usr/local/lib/python3.11/http/init.py m http.client /usr/local/lib/python3.11/http/client.py m http.server /usr/local/lib/python3.11/http/server.py P importlib /usr/local/lib/python3.11/importlib/init.py m importlib._abc /usr/local/lib/python3.11/importlib/_abc.py m importlib._bootstrap /usr/local/lib/python3.11/importlib/_bootstrap.py m importlib._bootstrap_external /usr/local/lib/python3.11/importlib/_bootstrap_external.py m importlib.abc /usr/local/lib/python3.11/importlib/abc.py m importlib.machinery /usr/local/lib/python3.11/importlib/machinery.py P importlib.metadata /usr/local/lib/python3.11/importlib/metadata/init.py m importlib.metadata._adapters /usr/local/lib/python3.11/importlib/metadata/_adapters.py m importlib.metadata._collections /usr/local/lib/python3.11/importlib/metadata/_collections.py m importlib.metadata._functools /usr/local/lib/python3.11/importlib/metadata/_functools.py m importlib.metadata._itertools /usr/local/lib/python3.11/importlib/metadata/_itertools.py m importlib.metadata._meta /usr/local/lib/python3.11/importlib/metadata/_meta.py m importlib.metadata._text /usr/local/lib/python3.11/importlib/metadata/_text.py m importlib.readers /usr/local/lib/python3.11/importlib/readers.py P importlib.resources /usr/local/lib/python3.11/importlib/resources/init.py m importlib.resources._adapters /usr/local/lib/python3.11/importlib/resources/_adapters.py m importlib.resources._common /usr/local/lib/python3.11/importlib/resources/_common.py m importlib.resources._itertools /usr/local/lib/python3.11/importlib/resources/_itertools.py m importlib.resources._legacy /usr/local/lib/python3.11/importlib/resources/_legacy.py m importlib.resources.abc /usr/local/lib/python3.11/importlib/resources/abc.py m importlib.resources.readers /usr/local/lib/python3.11/importlib/resources/readers.py m importlib.util /usr/local/lib/python3.11/importlib/util.py m inspect /usr/local/lib/python3.11/inspect.py m io /usr/local/lib/python3.11/io.py m itertools
P json /usr/local/lib/python3.11/json/
init.py m json.decoder /usr/local/lib/python3.11/json/decoder.py m json.encoder /usr/local/lib/python3.11/json/encoder.py m json.scanner /usr/local/lib/python3.11/json/scanner.py m keyword /usr/local/lib/python3.11/keyword.py m linecache /usr/local/lib/python3.11/linecache.py m locale /usr/local/lib/python3.11/locale.py P logging /usr/local/lib/python3.11/logging/init.py m lzma /usr/local/lib/python3.11/lzma.py m marshal
m math /usr/local/lib/python3.11/lib-dynload/math.cpython-311-x86_64-linux-musl.so m mimetypes /usr/local/lib/python3.11/mimetypes.py m ntpath /usr/local/lib/python3.11/ntpath.py m numbers /usr/local/lib/python3.11/numbers.py m opcode /usr/local/lib/python3.11/opcode.py m operator /usr/local/lib/python3.11/operator.py m os /usr/local/lib/python3.11/os.py m pathlib /usr/local/lib/python3.11/pathlib.py m pdb /usr/local/lib/python3.11/pdb.py m pickle /usr/local/lib/python3.11/pickle.py m pkgutil /usr/local/lib/python3.11/pkgutil.py m platform /usr/local/lib/python3.11/platform.py m plistlib /usr/local/lib/python3.11/plistlib.py m posix
m posixpath /usr/local/lib/python3.11/posixpath.py m pprint /usr/local/lib/python3.11/pprint.py m pwd
m py_compile /usr/local/lib/python3.11/py_compile.py m pydoc /usr/local/lib/python3.11/pydoc.py P pydoc_data /usr/local/lib/python3.11/pydoc_data/init.py m pydoc_data.topics /usr/local/lib/python3.11/pydoc_data/topics.py m pyexpat /usr/local/lib/python3.11/lib-dynload/pyexpat.cpython-311-x86_64-linux-musl.so m quopri /usr/local/lib/python3.11/quopri.py m random /usr/local/lib/python3.11/random.py P re /usr/local/lib/python3.11/re/
init.py m re._casefix /usr/local/lib/python3.11/re/_casefix.py m re._compiler /usr/local/lib/python3.11/re/_compiler.py m re._constants /usr/local/lib/python3.11/re/_constants.py m re._parser /usr/local/lib/python3.11/re/_parser.py m readline /usr/local/lib/python3.11/lib-dynload/readline.cpython-311-x86_64-linux-musl.so m reprlib /usr/local/lib/python3.11/reprlib.py m runpy /usr/local/lib/python3.11/runpy.py m select /usr/local/lib/python3.11/lib-dynload/select.cpython-311-x86_64-linux-musl.so m selectors /usr/local/lib/python3.11/selectors.py m shlex /usr/local/lib/python3.11/shlex.py m shutil /usr/local/lib/python3.11/shutil.py m signal /usr/local/lib/python3.11/signal.py m six /usr/local/lib/python3.11/site-packages/six.py m socket /usr/local/lib/python3.11/socket.py m socketserver /usr/local/lib/python3.11/socketserver.py m ssl /usr/local/lib/python3.11/ssl.py m stat /usr/local/lib/python3.11/stat.py m statistics /usr/local/lib/python3.11/statistics.py m string /usr/local/lib/python3.11/string.py m stringprep /usr/local/lib/python3.11/stringprep.py m struct /usr/local/lib/python3.11/struct.py m subprocess /usr/local/lib/python3.11/subprocess.py m sys
m sysconfig /usr/local/lib/python3.11/sysconfig.py m tarfile /usr/local/lib/python3.11/tarfile.py m tempfile /usr/local/lib/python3.11/tempfile.py m termios /usr/local/lib/python3.11/lib-dynload/termios.cpython-311-x86_64-linux-musl.so m textwrap /usr/local/lib/python3.11/textwrap.py m threading /usr/local/lib/python3.11/threading.py m time
m token /usr/local/lib/python3.11/token.py m tokenize /usr/local/lib/python3.11/tokenize.py m traceback /usr/local/lib/python3.11/traceback.py m tracemalloc /usr/local/lib/python3.11/tracemalloc.py m tty /usr/local/lib/python3.11/tty.py m types /usr/local/lib/python3.11/types.py m typing /usr/local/lib/python3.11/typing.py m unicodedata /usr/local/lib/python3.11/lib-dynload/unicodedata.cpython-311-x86_64-linux-musl.so P urllib /usr/local/lib/python3.11/urllib/
init.py m urllib.parse /usr/local/lib/python3.11/urllib/parse.py m uuid /usr/local/lib/python3.11/uuid.py P voluptuous /usr/local/lib/python3.11/site-packages/voluptuous/init.py m voluptuous.error /usr/local/lib/python3.11/site-packages/voluptuous/error.py m voluptuous.schema_builder /usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py m voluptuous.util /usr/local/lib/python3.11/site-packages/voluptuous/util.py m voluptuous.validators /usr/local/lib/python3.11/site-packages/voluptuous/validators.py m warnings /usr/local/lib/python3.11/warnings.py m weakref /usr/local/lib/python3.11/weakref.py m webbrowser /usr/local/lib/python3.11/webbrowser.py P xml /usr/local/lib/python3.11/xml/init.py P xml.parsers /usr/local/lib/python3.11/xml/parsers/init__.py m xml.parsers.expat /usr/local/lib/python3.11/xml/parsers/expat.py m zipfile /usr/local/lib/python3.11/zipfile.py m zipimport /usr/local/lib/python3.11/zipimport.py m zlib /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so Missing modules: ? StringIO imported from six ? main imported from bdb, pdb ? _frozen_importlib imported from importlib, importlib.abc, zipimport ? _frozen_importlib_external imported from importlib, importlib._bootstrap, importlib.abc, zipimport ? _winapi imported from encodings, mimetypes, ntpath, subprocess ? _winreg imported from platform ? colorama imported from click._compat ? ecs_logging imported from curator.logtools ? elasticsearch8 imported from curator.helpers.getters, curator.helpers.testers, curator.repomgrcli ? elasticsearch8.exceptions imported from curator.actions.create_index, curator.helpers.date_ops, curator.helpers.testers, curator.indexlist ? es_client.builder imported from curator.actions.reindex, curator.cli, curator.cli_singletons.object_class, curator.helpers.getters, curator.repomgrcli, curator.singletons ? es_client.defaults imported from curator.helpers.getters ? es_client.exceptions imported from curator.actions.reindex, curator.classdef ? es_client.helpers.utils imported from curator.actions.reindex, curator.actions.snapshot, curator.classdef, curator.cli, curator.cli_singletons.object_class, curator.cli_singletons.rollover, curator.cli_singletons.utils, curator.config_utils, curator.helpers.testers, curator.helpers.utils, curator.indexlist, curator.repomgrcli, curator.singletons, curator.validators.filter_functions ? importlib_metadata imported from click.decorators ? java.lang imported from platform ? msvcrt imported from click._termui_impl, click._winconsole, getpass, subprocess ? nt imported from ctypes, importlib._bootstrap_external, ntpath, os, shutil ? org.python.core imported from copy, pickle ? os.path imported from os, pkgutil, py_compile, sysconfig, tracemalloc ? typing_extensions imported from click.core, click.globals, click.parser, click.types, click.utils ? unittest imported from doctest ? urlparse imported from voluptuous.validators ? vms_lib imported from platform ? winreg imported from importlib._bootstrap_external, mimetypes, platform This is not necessarily a problem - the modules may not be needed on this platform.

copying data from package click... creating directory /build/exe.linux-x86_64-3.11/lib/click copying /usr/local/lib/python3.11/site-packages/click/py.typed -> /build/exe.linux-x86_64-3.11/lib/click/py.typed copying data from package collections... creating directory /build/exe.linux-x86_64-3.11/lib/collections copying data from package ctypes... creating directory /build/exe.linux-x86_64-3.11/lib/ctypes creating directory /build/exe.linux-x86_64-3.11/lib/ctypes/macholib copying /usr/local/lib/python3.11/ctypes/macholib/README.ctypes -> /build/exe.linux-x86_64-3.11/lib/ctypes/macholib/README.ctypes copying /usr/local/lib/python3.11/ctypes/macholib/fetch_macholib -> /build/exe.linux-x86_64-3.11/lib/ctypes/macholib/fetch_macholib copying /usr/local/lib/python3.11/ctypes/macholib/fetch_macholib.bat -> /build/exe.linux-x86_64-3.11/lib/ctypes/macholib/fetch_macholib.bat copying data from package curator... creating directory /build/exe.linux-x86_64-3.11/lib/curator creating directory /build/exe.linux-x86_64-3.11/lib/curator/validators creating directory /build/exe.linux-x86_64-3.11/lib/curator/helpers creating directory /build/exe.linux-x86_64-3.11/lib/curator/cli_singletons creating directory /build/exe.linux-x86_64-3.11/lib/curator/defaults creating directory /build/exe.linux-x86_64-3.11/lib/curator/actions copying data from package email... creating directory /build/exe.linux-x86_64-3.11/lib/email copying /usr/local/lib/python3.11/email/architecture.rst -> /build/exe.linux-x86_64-3.11/lib/email/architecture.rst creating directory /build/exe.linux-x86_64-3.11/lib/email/mime copying data from package encodings... creating directory /build/exe.linux-x86_64-3.11/lib/encodings copying data from package html... creating directory /build/exe.linux-x86_64-3.11/lib/html copying data from package http... creating directory /build/exe.linux-x86_64-3.11/lib/http copying data from package importlib... creating directory /build/exe.linux-x86_64-3.11/lib/importlib creating directory /build/exe.linux-x86_64-3.11/lib/importlib/resources creating directory /build/exe.linux-x86_64-3.11/lib/importlib/metadata copying data from package json... creating directory /build/exe.linux-x86_64-3.11/lib/json copying data from package logging... creating directory /build/exe.linux-x86_64-3.11/lib/logging copying data from package pydoc_data... creating directory /build/exe.linux-x86_64-3.11/lib/pydoc_data copying /usr/local/lib/python3.11/pydoc_data/_pydoc.css -> /build/exe.linux-x86_64-3.11/lib/pydoc_data/_pydoc.css copying data from package re... creating directory /build/exe.linux-x86_64-3.11/lib/re copying data from package urllib... creating directory /build/exe.linux-x86_64-3.11/lib/urllib copying data from package voluptuous... creating directory /build/exe.linux-x86_64-3.11/lib/voluptuous copying data from package xml... creating directory /build/exe.linux-x86_64-3.11/lib/xml creating directory /build/exe.linux-x86_64-3.11/lib/xml/dom creating directory /build/exe.linux-x86_64-3.11/lib/xml/parsers creating directory /build/exe.linux-x86_64-3.11/lib/xml/etree creating directory /build/exe.linux-x86_64-3.11/lib/xml/sax copying /usr/local/lib/python3.11/lib-dynload/_bisect.cpython-311-x86_64-linux-musl.so -> /build/exe.linux-x86_64-3.11/lib/_bisect.cpython-311-x86_64-linux-musl.so WARNING: ldd /usr/local/lib/python3.11/lib-dynload/_bisect.cpython-311-x86_64-linux-musl.so returns: Error relocating /usr/local/lib/python3.11/lib-dynload/_bisect.cpython-311-x86_64-linux-musl.so: PySequence_GetItem: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/_bisect.cpython-311-x86_64-linux-musl.so: PyErr_SetString: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/_bisect.cpython-311-x86_64-linux-musl.so: PyModuleDef_Init: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/_bisect.cpython-311-x86_64-linux-musl.so: PyErr_Occurred: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/_bisect.cpython-311-x86_64-linux-musl.so: _PyObject_CallMethod: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/_bisect.cpython-311-x86_64-linux-musl.so: _PyArg_UnpackKeywords: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/_bisect.cpython-311-x86_64-linux-musl.so: PyModule_GetState: symbol not found [...] many, many lines WARNING: ldd /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so returns: Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyMem_RawFree: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyObject_Free: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: _PyArg_BadArgument: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyLong_AsUnsignedLongMask: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyThread_acquire_lock: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyThread_allocate_lock: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyErr_SetString: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyUnicode_FromString: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: _PyArg_CheckPositional: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyModuleDef_Init: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyErr_Occurred: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: _PyArg_UnpackKeywords: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyModule_AddStringConstant: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyType_GetModule: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyEval_RestoreThread: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: _PyLong_AsInt: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyThread_release_lock: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: _PyObject_New: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyBytes_FromStringAndSize: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyModule_GetState: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyModule_AddObject: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyList_Append: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyList_New: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyEval_SaveThread: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyThread_free_lock: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: _Py_Dealloc: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyBuffer_IsContiguous: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyErr_Format: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyBuffer_Release: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyObject_GetBuffer: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyErr_NoMemory: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyModule_AddIntConstant: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyLong_FromUnsignedLong: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyLong_AsSsize_t: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyMem_RawMalloc: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: _PyNumber_Index: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyObject_CheckBuffer: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyType_GetModuleState: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyType_FromModuleAndSpec: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyErr_NewException: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyExc_OverflowError: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyExc_SystemError: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyExc_ValueError: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyExc_TypeError: symbol not found Error relocating /usr/local/lib/python3.11/lib-dynload/zlib.cpython-311-x86_64-linux-musl.so: PyExc_MemoryError: symbol not found Removing intermediate container 19fe917435ad ---> 5e36426777b8 Step 13/21 : RUN python3 post4docker.py ---> Running in 49a33b2e4923 Removing intermediate container 49a33b2e4923 ---> abe0f85fa3fb Step 14/21 : ARG ALPTAG ---> Running in 0cc6dd7a11bd Removing intermediate container 0cc6dd7a11bd ---> c9f3734c3566 Step 15/21 : FROM alpine:${ALPTAG} ---> b2aa39c304c2 Step 16/21 : RUN apk --no-cache upgrade && apk --no-cache add openssl-dev expat ---> Using cache ---> f322fa112478 Step 17/21 : COPY --from=builder curator_build /curator/ ---> 60ecf1870224 Step 18/21 : RUN mkdir /.curator ---> Running in b41a7aa77b36 Removing intermediate container b41a7aa77b36 ---> 28354bf42b06 Step 19/21 : USER nobody:nobody ---> Running in b04d2ca15d35 Removing intermediate container b04d2ca15d35 ---> c191047ba076 Step 20/21 : ENV LD_LIBRARY_PATH /curator/lib:$LD_LIBRARY_PATH ---> Running in 603599d510b2 Removing intermediate container 603599d510b2 ---> b726597c9325 Step 21/21 : ENTRYPOINT ["/curator/curator"] ---> Running in aaf781a8aa95 Removing intermediate container aaf781a8aa95 ---> 7e5b37508cdb Successfully built 7e5b37508cdb

untergeek commented 1 year ago

Does the image work anyway? With the musl errors, these may be a false positive as Curator may not be affected.

untergeek commented 1 year ago

I'm going to be afk for a while today, but I haven't forgotten about you, fyi.

christian-kessler commented 1 year ago

Thank you :) I thought that as well, but when I start the image I got the following error:

Error: failed to create containerd task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/curator/curator": stat /curator/curator: no such file or directory: unknown

untergeek commented 1 year ago

Also: What version of Docker are you using?

christian-kessler commented 1 year ago

Client: Docker Engine - Community Version: 20.10.23 API version: 1.41 Go version: go1.18.10

untergeek commented 1 year ago

I have tried, but cannot replicate your experience, and that might be due to the older version of Docker.

Here's my test bed:

ubuntu2004:~/curator# uname -a
Linux ubuntu2004 5.15.85-1-pve #1 SMP PVE 5.15.85-1 (2023-02-01T00:00Z) x86_64 x86_64 x86_64 GNU/Linux
ubuntu2004:~/curator# cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

I followed these instructions and installed what appears to be:

# docker version
Client: Docker Engine - Community
 Version:           23.0.1
 API version:       1.42
 Go version:        go1.19.5
 Git commit:        a5ee5b1
 Built:             Thu Feb  9 19:46:56 2023
 OS/Arch:           linux/amd64
 Context:           default

When I build Curator from branch 8.x, I did see some of those errors, but it still works for me:

# docker build -t untergeek/curator:8.0.3 .
[+] Building 1.9s (21/21) FINISHED
 => [internal] load build definition from Dockerfile                                                                                                         0.1s
 => => transferring dockerfile: 1.52kB                                                                                                                       0.0s
 => [internal] load .dockerignore                                                                                                                            0.1s
 => => transferring context: 2B                                                                                                                              0.0s
 => resolve image config for docker.io/docker/dockerfile:1                                                                                                   0.4s
 => CACHED docker-image://docker.io/docker/dockerfile:1@sha256:39b85bbfa7536a5feceb7372a0817649ecb2724562a38360f4d6a7782a409b14                              0.0s
 => [internal] load metadata for docker.io/library/python:3.11.1-alpine3.17                                                                                  0.9s
 => [internal] load metadata for docker.io/library/alpine:3.17                                                                                               0.9s
 => [stage-1 1/4] FROM docker.io/library/alpine:3.17@sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517                                 0.0s
 => [builder 1/9] FROM docker.io/library/python:3.11.1-alpine3.17@sha256:d8b0703ce84fe5a52d485f212e9d852bcdb8606798064f5f21af57325a7cf73f                    0.0s
 => [internal] load build context                                                                                                                            0.1s
 => => transferring context: 11.47kB                                                                                                                         0.0s
 => CACHED [stage-1 2/4] RUN apk --no-cache upgrade && apk --no-cache add openssl-dev expat                                                                  0.0s
 => CACHED [builder 2/9] RUN echo "https://dl-cdn.alpinelinux.org/alpine/v3.17/community/" >> /etc/apk/repositories                                          0.0s
 => CACHED [builder 3/9] RUN apk --no-cache upgrade && apk --no-cache add build-base tar musl-utils openssl-dev patchelf                                     0.0s
 => CACHED [builder 4/9] RUN pip3 install setuptools cx_Freeze patchelf-wrapper                                                                              0.0s
 => CACHED [builder 5/9] COPY . .                                                                                                                            0.0s
 => CACHED [builder 6/9] RUN /bin/sh alpine4docker.sh                                                                                                        0.0s
 => CACHED [builder 7/9] RUN pip3 install .                                                                                                                  0.0s
 => CACHED [builder 8/9] RUN python3 setup.py build_exe                                                                                                      0.0s
 => CACHED [builder 9/9] RUN python3 post4docker.py                                                                                                          0.0s
 => CACHED [stage-1 3/4] COPY --from=builder curator_build /curator/                                                                                         0.0s
 => CACHED [stage-1 4/4] RUN mkdir /.curator                                                                                                                 0.0s
 => exporting to image                                                                                                                                       0.0s
 => => exporting layers                                                                                                                                      0.0s
 => => writing image sha256:6a06ea792b4d50d14fc646c968795054aaea35d1f0b063bad9578e0617793bc3                                                                 0.0s
 => => naming to docker.io/untergeek/curator:8.0.3                                                                                                           0.0s
(test_curator) ubuntu2004:~/curator# docker run untergeek/curator:8.0.3 --version
curator, version 8.0.3
(test_curator) ubuntu2004:~/curator# docker run untergeek/curator:8.0.3 --help
Usage: curator [OPTIONS] ACTION_FILE

  Curator for Elasticsearch indices.

  See http://elastic.co/guide/en/elasticsearch/client/curator/current

Options:
  --config PATH                   Path to configuration file.
  --hosts TEXT                    Elasticsearch URL to connect to
  --cloud_id TEXT                 Shorthand to connect to Elastic Cloud
                                  instance
  --id TEXT                       API Key "id" value
  --api_key TEXT                  API Key "api_key" value
  --username TEXT                 Username used to create "basic_auth" tuple
  --password TEXT                 Password used to create "basic_auth" tuple
[etc. more text here]

I can perhaps verify that your version of Docker doesn't work if you can show me how to install the older version instead of the current one, but I don't know if that will work without me spinning up another VM (which I'm willing to do). What I have verified is that this release of Docker builds a Curator release that works.

christian-kessler commented 1 year ago

Thanks for this! I will update my Docker and try it one more time. Have a nice day!

christian-kessler commented 1 year ago

I tried it today with docker v23.0.1 which work very well, thank you for your support!

Client: Docker Engine - Community Version: 20.10.23

Server: Docker Engine - Community Engine: Version: 23.0.1