Re: v17.2.8 Quincy released - failed on Debian 11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I guess there is a missing dependency (which really should be auto-installed), which is not also documented in the release notes as a new requirement.  This seems to fix it:

$ apt install --no-install-recommends python3-packaging

On 2024-11-26 08:03, Matthew Darwin wrote:
I have upgraded from 17.2.7 to 17.2.8 on debian 11 and the OSDs fail to start.  Advise how to proceed would be welcome.

This is my log from ceph-volume-systemd.log

[2024-11-26 12:51:30,251][systemd][INFO  ] raw systemd input received: lvm-1-1c136e54-6f58-4f36-af10-d47d215b991b [2024-11-26 12:51:30,252][systemd][INFO  ] parsed sub-command: lvm, extra data: 1-1c136e54-6f58-4f36-af10-d47d215b991b [2024-11-26 12:51:30,252][ceph_volume.process][INFO  ] Running command: /usr/sbin/ceph-volume lvm trigger 1-1c136e54-6f58-4f36-af10-d47d215b991b [2024-11-26 12:51:30,254][systemd][INFO  ] raw systemd input received: lvm-0-d10daf58-916d-46b5-8021-c4874c25f005 [2024-11-26 12:51:30,254][systemd][INFO  ] parsed sub-command: lvm, extra data: 0-d10daf58-916d-46b5-8021-c4874c25f005 [2024-11-26 12:51:30,255][ceph_volume.process][INFO  ] Running command: /usr/sbin/ceph-volume lvm trigger 0-d10daf58-916d-46b5-8021-c4874c25f005 [2024-11-26 12:51:30,257][systemd][INFO  ] raw systemd input received: lvm-2-a655797b-4fc3-4fbb-aa24-510d4db32b1a [2024-11-26 12:51:30,258][systemd][INFO  ] parsed sub-command: lvm, extra data: 2-a655797b-4fc3-4fbb-aa24-510d4db32b1a [2024-11-26 12:51:30,258][ceph_volume.process][INFO  ] Running command: /usr/sbin/ceph-volume lvm trigger 2-a655797b-4fc3-4fbb-aa24-510d4db32b1a [2024-11-26 12:51:30,262][systemd][INFO  ] raw systemd input received: lvm-1-dfa56525-0016-4a1d-af33-f24295c06849 [2024-11-26 12:51:30,262][systemd][INFO  ] parsed sub-command: lvm, extra data: 1-dfa56525-0016-4a1d-af33-f24295c06849 [2024-11-26 12:51:30,263][ceph_volume.process][INFO  ] Running command: /usr/sbin/ceph-volume lvm trigger 1-dfa56525-0016-4a1d-af33-f24295c06849 [2024-11-26 12:51:30,427][ceph_volume.process][INFO  ] stderr Traceback (most recent call last):
 File "/usr/sbin/ceph-volume", line 33, in <module>
[2024-11-26 12:51:30,427][ceph_volume.process][INFO  ] stderr Traceback (most recent call last):
 File "/usr/sbin/ceph-volume", line 33, in <module>
[2024-11-26 12:51:30,427][ceph_volume.process][INFO  ] stderr Traceback (most recent call last):
 File "/usr/sbin/ceph-volume", line 33, in <module>
[2024-11-26 12:51:30,427][ceph_volume.process][INFO  ] stderr sys.exit(load_entry_point('ceph-volume==1.0.0', 'console_scripts', 'ceph-volume')())
 File "/usr/sbin/ceph-volume", line 25, in importlib_load_entry_point
   return next(matches).load()
 File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
   module = import_module(match.group('module'))
 File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module [2024-11-26 12:51:30,428][ceph_volume.process][INFO  ] stderr return _bootstrap._gcd_import(name[level:], package, level)
 File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
 File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
[2024-11-26 12:51:30,428][ceph_volume.process][INFO  ] stderr sys.exit(load_entry_point('ceph-volume==1.0.0', 'console_scripts', 'ceph-volume')())
 File "/usr/sbin/ceph-volume", line 25, in importlib_load_entry_point
   return next(matches).load()
 File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
   module = import_module(match.group('module'))
 File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
   return _bootstrap._gcd_import(name[level:], package, level)
 File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
 File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
[2024-11-26 12:51:30,428][ceph_volume.process][INFO  ] stderr sys.exit(load_entry_point('ceph-volume==1.0.0', 'console_scripts', 'ceph-volume')())
 File "/usr/sbin/ceph-volume", line 25, in importlib_load_entry_point
   return next(matches).load()
 File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
   module = import_module(match.group('module'))
 File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
   return _bootstrap._gcd_import(name[level:], package, level)
 File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
 File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
[2024-11-26 12:51:30,428][ceph_volume.process][INFO  ] stderr File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
 File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
[2024-11-26 12:51:30,428][ceph_volume.process][INFO  ] stderr File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
 File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
[2024-11-26 12:51:30,428][ceph_volume.process][INFO  ] stderr File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
 File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
[2024-11-26 12:51:30,428][ceph_volume.process][INFO  ] stderr File "<frozen importlib._bootstrap_external>", line 790, in exec_module [2024-11-26 12:51:30,428][ceph_volume.process][INFO  ] stderr File "<frozen importlib._bootstrap_external>", line 790, in exec_module [2024-11-26 12:51:30,428][ceph_volume.process][INFO  ] stderr File "<frozen importlib._bootstrap_external>", line 790, in exec_module  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed [2024-11-26 12:51:30,428][ceph_volume.process][INFO  ] stderr File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed  File "/usr/lib/python3/dist-packages/ceph_volume/main.py", line 22, in <module> [2024-11-26 12:51:30,428][ceph_volume.process][INFO  ] stderr File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed  File "/usr/lib/python3/dist-packages/ceph_volume/main.py", line 22, in <module> [2024-11-26 12:51:30,429][ceph_volume.process][INFO  ] stderr File "/usr/lib/python3/dist-packages/ceph_volume/main.py", line 22, in <module> [2024-11-26 12:51:30,429][ceph_volume.process][INFO  ] stderr from ceph_volume import log, devices, configuration, conf, exceptions, terminal, inventory, drive_group, activate  File "/usr/lib/python3/dist-packages/ceph_volume/devices/__init__.py", line 1, in <module> [2024-11-26 12:51:30,429][ceph_volume.process][INFO  ] stderr from ceph_volume import log, devices, configuration, conf, exceptions, terminal, inventory, drive_group, activate  File "/usr/lib/python3/dist-packages/ceph_volume/devices/__init__.py", line 1, in <module> [2024-11-26 12:51:30,429][ceph_volume.process][INFO  ] stderr from ceph_volume import log, devices, configuration, conf, exceptions, terminal, inventory, drive_group, activate  File "/usr/lib/python3/dist-packages/ceph_volume/devices/__init__.py", line 1, in <module> [2024-11-26 12:51:30,429][ceph_volume.process][INFO  ] stderr from . import lvm, simple, raw # noqa  File "/usr/lib/python3/dist-packages/ceph_volume/devices/lvm/__init__.py", line 1, in <module> [2024-11-26 12:51:30,429][ceph_volume.process][INFO  ] stderr from . import lvm, simple, raw # noqa  File "/usr/lib/python3/dist-packages/ceph_volume/devices/lvm/__init__.py", line 1, in <module>
   from .main import LVM # noqa
[2024-11-26 12:51:30,429][ceph_volume.process][INFO  ] stderr from . import lvm, simple, raw # noqa  File "/usr/lib/python3/dist-packages/ceph_volume/devices/lvm/__init__.py", line 1, in <module>
   from .main import LVM # noqa
 File "/usr/lib/python3/dist-packages/ceph_volume/devices/lvm/main.py", line 4, in <module> [2024-11-26 12:51:30,429][ceph_volume.process][INFO  ] stderr from .main import LVM # noqa  File "/usr/lib/python3/dist-packages/ceph_volume/devices/lvm/main.py", line 4, in <module>
   from . import activate
 File "/usr/lib/python3/dist-packages/ceph_volume/devices/lvm/activate.py", line 9, in <module> [2024-11-26 12:51:30,429][ceph_volume.process][INFO  ] stderr File "/usr/lib/python3/dist-packages/ceph_volume/devices/lvm/main.py", line 4, in <module>
   from . import activate
 File "/usr/lib/python3/dist-packages/ceph_volume/devices/lvm/activate.py", line 9, in <module> [2024-11-26 12:51:30,429][ceph_volume.process][INFO  ] stderr from . import activate  File "/usr/lib/python3/dist-packages/ceph_volume/devices/lvm/activate.py", line 9, in <module> [2024-11-26 12:51:30,429][ceph_volume.process][INFO  ] stderr from ceph_volume.util import encryption as encryption_utils  File "/usr/lib/python3/dist-packages/ceph_volume/util/encryption.py", line 10, in <module> [2024-11-26 12:51:30,429][ceph_volume.process][INFO  ] stderr from ceph_volume.util import encryption as encryption_utils  File "/usr/lib/python3/dist-packages/ceph_volume/util/encryption.py", line 10, in <module> [2024-11-26 12:51:30,429][ceph_volume.process][INFO  ] stderr Traceback (most recent call last):
 File "/usr/sbin/ceph-volume", line 33, in <module>
[2024-11-26 12:51:30,429][ceph_volume.process][INFO  ] stderr from ceph_volume.util import encryption as encryption_utils  File "/usr/lib/python3/dist-packages/ceph_volume/util/encryption.py", line 10, in <module>
   from packaging import version
[2024-11-26 12:51:30,429][ceph_volume.process][INFO  ] stderr from packaging import version
ModuleNotFoundError: No module named 'packaging'
[2024-11-26 12:51:30,429][ceph_volume.process][INFO  ] stderr from packaging import version
ModuleNotFoundError: No module named 'packaging'
[2024-11-26 12:51:30,429][ceph_volume.process][INFO  ] stderr ModuleNotFoundError: No module named 'packaging' [2024-11-26 12:51:30,430][ceph_volume.process][INFO  ] stderr sys.exit(load_entry_point('ceph-volume==1.0.0', 'console_scripts', 'ceph-volume')())
 File "/usr/sbin/ceph-volume", line 25, in importlib_load_entry_point
   return next(matches).load()
 File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
   module = import_module(match.group('module'))
 File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
   return _bootstrap._gcd_import(name[level:], package, level)
 File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
 File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
[2024-11-26 12:51:30,430][ceph_volume.process][INFO  ] stderr File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
 File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
[2024-11-26 12:51:30,430][ceph_volume.process][INFO  ] stderr File "<frozen importlib._bootstrap_external>", line 790, in exec_module  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed [2024-11-26 12:51:30,430][ceph_volume.process][INFO  ] stderr File "/usr/lib/python3/dist-packages/ceph_volume/main.py", line 22, in <module>    from ceph_volume import log, devices, configuration, conf, exceptions, terminal, inventory, drive_group, activate  File "/usr/lib/python3/dist-packages/ceph_volume/devices/__init__.py", line 1, in <module> [2024-11-26 12:51:30,430][ceph_volume.process][INFO  ] stderr from . import lvm, simple, raw # noqa  File "/usr/lib/python3/dist-packages/ceph_volume/devices/lvm/__init__.py", line 1, in <module> [2024-11-26 12:51:30,431][ceph_volume.process][INFO  ] stderr from .main import LVM # noqa  File "/usr/lib/python3/dist-packages/ceph_volume/devices/lvm/main.py", line 4, in <module>
   from . import activate
 File "/usr/lib/python3/dist-packages/ceph_volume/devices/lvm/activate.py", line 9, in <module> [2024-11-26 12:51:30,431][ceph_volume.process][INFO  ] stderr from ceph_volume.util import encryption as encryption_utils  File "/usr/lib/python3/dist-packages/ceph_volume/util/encryption.py", line 10, in <module> [2024-11-26 12:51:30,431][ceph_volume.process][INFO  ] stderr from packaging import version
ModuleNotFoundError: No module named 'packaging'
[2024-11-26 12:51:30,448][systemd][WARNING] command returned non-zero exit status: 1 [2024-11-26 12:51:30,448][systemd][WARNING] command returned non-zero exit status: 1 [2024-11-26 12:51:30,448][systemd][WARNING] failed activating OSD, retries left: 30 [2024-11-26 12:51:30,448][systemd][WARNING] failed activating OSD, retries left: 30 [2024-11-26 12:51:30,449][systemd][WARNING] command returned non-zero exit status: 1 [2024-11-26 12:51:30,449][systemd][WARNING] failed activating OSD, retries left: 30 [2024-11-26 12:51:30,449][systemd][WARNING] command returned non-zero exit status: 1 [2024-11-26 12:51:30,450][systemd][WARNING] failed activating OSD, retries left: 30



On 2024-11-25 21:15, Yuri Weinstein wrote:
We're happy to announce the 8th backport release in the Quincy series.

https://ceph.io/en/news/blog/2024/v17-2-8-quincy-released/

v17.2.8 will have RPM/centos 9 packages instead of  RPM/centos 8 built.

v17.2.8 container images, now based on CentOS 9, may be incompatible
on older kernels (e.g., Ubuntu 18.04) due to differences in thread
creation methods.
Users upgrading to v17.2.8 container images with older OS versions may
encounter crashes during `pthread_create`.
However, we recommend upgrading your OS to avoid this unsupported combination.

Users should expect to see the el8 rpm subdirectory empty and the
"dnf" commands are expected to fail with 17.2.8.
They can choose to use 17.2.8 RPM packages for centos 8/el8 provided
by CERN as a community member or continue to stay at 17.2.7 following
instructions from
https://docs.ceph.com/en/latest/install/get-packages/#rhel,
the ceph.repo file should point to
https://download.ceph.com/rpm-17.2.7/el8 ; instead of
https://download.ceph.com/rpm-quincy/el8

These CERN packages come with no warranty and have not been tested.
The software in them has been tested by Ceph according to
[platforms](https://docs.ceph.com/en/latest/start/os-recommendations/#platforms).
The repository for el8 builds is hosted by CERN on [Linux @
CERN](https://linuxsoft.cern.ch/repos/ceph-ext-quincy8el-stable/).
The public part of the GPG key used to sign the packages is available at [RPM-GPG-KEY-Ceph-Community](https://linuxsoft.cern.ch/repos/RPM-GPG-KEY-Ceph-Community).

Notable Changes
---------------

* RADOS: `get_pool_is_selfmanaged_snaps_mode` C++ API has been deprecated    due to being prone to false negative results.  It's safer replacement is
   `pool_is_in_selfmanaged_snaps_mode`.
* RBD: When diffing against the beginning of time (`fromsnapname == NULL`) in    fast-diff mode (`whole_object == true` with `fast-diff` image feature enabled    and valid), diff-iterate is now guaranteed to execute locally if exclusive    lock is available.  This brings a dramatic performance improvement for QEMU
   live disk synchronization and backup use cases.
* RBD: The option ``--image-id`` has been added to `rbd children` CLI command,
   so it can be run for images in the trash.
* RBD: `RBD_IMAGE_OPTION_CLONE_FORMAT` option has been exposed in Python    bindings via `clone_format` optional parameter to `clone`, `deep_copy` and
   `migration_prepare` methods.
* RBD: `RBD_IMAGE_OPTION_FLATTEN` option has been exposed in Python bindings via    `flatten` optional parameter to `deep_copy` and `migration_prepare` methods.

Getting Ceph
------------
* Git at git://github.com/ceph/ceph.git
* Tarball athttps://download.ceph.com/tarballs/ceph-17.2.8.tar.gz
* Containers athttps://quay.io/repository/ceph/ceph
* For packages, seehttps://docs.ceph.com/en/latest/install/get-packages/
* Release git sha1: f817ceb7f187defb1d021d6328fa833eb8e943b3
_______________________________________________
ceph-users mailing list --ceph-users@xxxxxxx
To unsubscribe send an email toceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux