add-disk action returns failed status (and disk is actually added)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph OSD Charm |
Fix Released
|
Critical
|
Frode Nordahl |
Bug Description
2018-06-01 18:12:15 DEBUG add-disk partx: /dev/vdb: failed to read partition table
2018-06-01 18:12:15 DEBUG juju-log get partitions: []
2018-06-01 18:12:15 DEBUG add-disk Failed to find physical volume "/dev/vdb".
2018-06-01 18:12:18 INFO juju-log osdize cmd: ['ceph-disk', 'prepare', '--fs-type', 'xfs', '/dev/vdb']
2018-06-01 18:12:19 DEBUG add-disk Creating new GPT entries.
2018-06-01 18:12:19 DEBUG add-disk Setting name!
2018-06-01 18:12:19 DEBUG add-disk partNum is 1
2018-06-01 18:12:19 DEBUG add-disk REALLY setting name!
2018-06-01 18:12:19 DEBUG add-disk The operation has completed successfully.
2018-06-01 18:12:21 DEBUG add-disk Setting name!
2018-06-01 18:12:21 DEBUG add-disk partNum is 0
2018-06-01 18:12:21 DEBUG add-disk REALLY setting name!
2018-06-01 18:12:21 DEBUG add-disk The operation has completed successfully.
2018-06-01 18:12:21 DEBUG add-disk meta-data=/dev/vdb1 isize=2048 agcount=4, agsize=1155102 blks
2018-06-01 18:12:21 DEBUG add-disk = sectsz=512 attr=2, projid32bit=1
2018-06-01 18:12:21 DEBUG add-disk = crc=1 finobt=1, sparse=0
2018-06-01 18:12:21 DEBUG add-disk data = bsize=4096 blocks=4620408, imaxpct=25
2018-06-01 18:12:21 DEBUG add-disk = sunit=0 swidth=0 blks
2018-06-01 18:12:21 DEBUG add-disk naming =version 2 bsize=4096 ascii-ci=0 ftype=1
2018-06-01 18:12:21 DEBUG add-disk log =internal log bsize=4096 blocks=2560, version=2
2018-06-01 18:12:21 DEBUG add-disk = sectsz=512 sunit=0 blks, lazy-count=1
2018-06-01 18:12:21 DEBUG add-disk realtime =none extsz=4096 blocks=0, rtextents=0
2018-06-01 18:12:22 DEBUG add-disk Warning: The kernel is still using the old partition table.
2018-06-01 18:12:22 DEBUG add-disk The new table will be used at the next reboot or after you
2018-06-01 18:12:22 DEBUG add-disk run partprobe(8) or kpartx(8)
2018-06-01 18:12:22 DEBUG add-disk The operation has completed successfully.
2018-06-01 18:12:22 DEBUG add-disk Traceback (most recent call last):
2018-06-01 18:12:22 DEBUG add-disk File "/var/lib/
2018-06-01 18:12:22 DEBUG add-disk bucket=
2018-06-01 18:12:22 DEBUG add-disk File "/var/lib/
2018-06-01 18:12:22 DEBUG add-disk osd = mounts[0]
2018-06-01 18:12:22 DEBUG add-disk TypeError: 'filter' object is not subscriptable
summary: |
- add-disk action returns failed status, but disk is actually added + add-disk action returns failed status (and disk is actually added) |
Changed in charm-ceph-osd: | |
status: | Fix Committed → Fix Released |
Related to new workflow developed in response to bug 1698154