OSD fails to start after 17.2.6 to 17.2.7 update

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


Firstly I'm rolling out a rook update from v1.12.2 to v1.12.7 (latest
stable) and ceph from 17.2.6 to 17.2.7 at the same time. I mention this in
case the problem is actually caused by rook rather than ceph. It looks like
ceph to my uninitiated eyes, though.

The update just started bumping my OSDs and the first one fails in the
'activate' init container. The complete logs for this container are:

+ OSD_ID=5
+ CEPH_FSID=<redacted>
+ OSD_UUID=<redacted>
+ OSD_STORE_FLAG=--bluestore
+ OSD_DATA_DIR=/var/lib/ceph/osd/ceph-5
+ CV_MODE=raw
+ DEVICE=/dev/sdc
+ cp --no-preserve=mode /etc/temp-ceph/ceph.conf /etc/ceph/ceph.conf
+ python3 -c '
import configparser

config = configparser.ConfigParser()

if not config.has_section('\''global'\''):
    config['\''global'\''] = {}

if not config.has_option('\''global'\'','\''fsid'\''):
    config['\''global'\'']['\''fsid'\''] = '\''<redacted>'\''

with open('\''/etc/ceph/ceph.conf'\'', '\''w'\'') as configfile:
+ ceph -n client.admin auth get-or-create osd.5 mon 'allow profile osd' mgr
'allow profile osd' osd 'allow *' -k /etc/ceph/admin-keyring-store/keyring
        key = <redacted>
+ [[ raw == \l\v\m ]]
++ mktemp
+ OSD_LIST=/tmp/tmp.CekJVsr9gr
+ ceph-volume raw list /dev/sdc
Traceback (most recent call last):
  File "/usr/sbin/ceph-volume", line 11, in <module>
    load_entry_point('ceph-volume==1.0.0', 'console_scripts',
  File "/usr/lib/python3.6/site-packages/ceph_volume/main.py", line 41, in
  File "/usr/lib/python3.6/site-packages/ceph_volume/decorators.py", line
59, in newfunc
    return f(*a, **kw)
  File "/usr/lib/python3.6/site-packages/ceph_volume/main.py", line 153, in
    terminal.dispatch(self.mapper, subcommand_args)
  File "/usr/lib/python3.6/site-packages/ceph_volume/terminal.py", line
194, in dispatch
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/raw/main.py",
line 32, in main
    terminal.dispatch(self.mapper, self.argv)
  File "/usr/lib/python3.6/site-packages/ceph_volume/terminal.py", line
194, in dispatch
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/raw/list.py",
line 166, in main
  File "/usr/lib/python3.6/site-packages/ceph_volume/decorators.py", line
16, in is_root
    return func(*a, **kw)
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/raw/list.py",
line 122, in list
    report = self.generate(args.device)
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/raw/list.py",
line 91, in generate
    info_device = [info for info in info_devices if info['NAME'] == dev][0]
IndexError: list index out of range

So it has failed executing `ceph-volume raw list /dev/sdc`.

It looks like this code is new in 17.2.7. Is this a regression? What would
be the simplest way to back out of it?

Matthew Booth
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