https://tracker.ceph.com/
https://tracker.ceph.com/favicon.ico
2017-12-03T12:04:20Z
Ceph
ceph-volume - Bug #22305: ceph-volume should be able to handle multiple LVM (VG/LV) tags
https://tracker.ceph.com/issues/22305?journal_id=103159
2017-12-03T12:04:20Z
Stefan Kooman
ceph@kooman.org
<ul></ul><p>Removing VG / LV tags:</p>
<p><sub># vgchange osd.9 --deltag d77bfa9f-4d8d-40df-852a-692a94929ed2<br /> Volume group "osd.9" successfully changed<br /></sub># lvchange osd.9 --deltag d77bfa9f-4d8d-40df-852a-692a94929ed2<br /> Logical volume "osd.9" changed.</p>
<p>Now ceph-volume succesfully finishes:</p>
<p>~# ceph-volume lvm prepare --bluestore --data osd.9/osd.9<br />Running command: sudo mount -t tmpfs tmpfs /var/lib/ceph/osd/ceph-26<br />Running command: chown -R ceph:ceph /dev/dm-1<br />Running command: sudo ln -s /dev/osd.9/osd.9 /var/lib/ceph/osd/ceph-26/block<br />Running command: sudo ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring mon getmap -o /var/lib/ceph/osd/ceph-26/activate.monmap<br /> stderr: got monmap epoch 19<br />Running command: ceph-authtool /var/lib/ceph/osd/ceph-26/keyring --create-keyring --name osd.26 --add-key AQBC5yNamF7rBBAA7OlQFL+FsnMEpnNGq5fhrg==<br /> stdout: creating /var/lib/ceph/osd/ceph-26/keyring<br />added entity osd.26 auth auth(auid = 18446744073709551615 key=AQBC5yNamF7rBBAA7OlQFL+FsnMEpnNGq5fhrg== with 0 caps)<br />Running command: chown -R ceph:ceph /var/lib/ceph/osd/ceph-26/keyring<br />Running command: chown -R ceph:ceph /var/lib/ceph/osd/ceph-26/<br />Running command: sudo ceph-osd --cluster ceph --osd-objectstore bluestore --mkfs -i 26 --monmap /var/lib/ceph/osd/ceph-26/activate.monmap --key *<strong><b></strong>*</b>**<strong>**</strong>************************** --osd-data /var/lib/ceph/osd/ceph-26/ --osd-uuid 69ec1761-d235-469e-abe2-e15744b21330 --setuser ceph --setgroup ceph<br /> stderr: 2017-12-03 13:00:04.944344 7fa2211d4e00 -1 bluestore(/var/lib/ceph/osd/ceph-26//block) _read_bdev_label unable to decode label at offset 102: buffer::malformed_input: void bluestore_bdev_label_t::decode(ceph::buffer::list::iterator&) decode past end of struct encoding<br /> stderr: 2017-12-03 13:00:04.944699 7fa2211d4e00 -1 bluestore(/var/lib/ceph/osd/ceph-26//block) _read_bdev_label unable to decode label at offset 102: buffer::malformed_input: void bluestore_bdev_label_t::decode(ceph::buffer::list::iterator&) decode past end of struct encoding<br />2017-12-03 13:00:04.944959 7fa2211d4e00 -1 bluestore(/var/lib/ceph/osd/ceph-26//block) _read_bdev_label unable to decode label at offset 102: buffer::malformed_input: void bluestore_bdev_label_t::decode(ceph::buffer::list::iterator&) decode past end of struct encoding<br /> stderr: 2017-12-03 13:00:04.945947 7fa2211d4e00 -1 bluestore(/var/lib/ceph/osd/ceph-26/) _read_fsid unparsable uuid<br /> stderr: 2017-12-03 13:00:06.954608 7fa2211d4e00 -1 key AQBC5yNamF7rBBAA7OlQFL+FsnMEpnNGq5fhrg==<br /> stderr: 2017-12-03 13:00:07.503944 7fa2211d4e00 -1 created object store /var/lib/ceph/osd/ceph-26/ for osd.26 fsid 918084f6-66ff-4f47-8feb-e86b7b393200</p>
<p>root@ceph03:~# lvs -o vg_tags /dev/osd.9/osd.9<br /> VG Tags</p>
<p>root@ceph03:~# lvs -o lv_tags /dev/osd.9/osd.9<br /> LV Tags <br /> ceph.block_device=/dev/osd.9/osd.9,ceph.block_uuid=3NAmK8-U3Fx-KUOm-f8x8-aEtO-MbYh-uPGHhR,ceph.cluster_fsid=918084f6-66ff-4f47-8feb-e86b7b393200,ceph.cluster_name=ceph,ceph.osd_fsid=69ec1761-d235-469e-abe2-e15744b21330,ceph.osd_id=26,ceph.type=block</p>
<p>Apperently ceph-volume only uses lv tags and no vg tags.</p>
ceph-volume - Bug #22305: ceph-volume should be able to handle multiple LVM (VG/LV) tags
https://tracker.ceph.com/issues/22305?journal_id=103172
2017-12-04T12:24:26Z
Alfredo Deza
adeza@redhat.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>12</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li></ul><p>We already have a fix for this, should have a pull request out soon. Thank you for reporting it!</p>
ceph-volume - Bug #22305: ceph-volume should be able to handle multiple LVM (VG/LV) tags
https://tracker.ceph.com/issues/22305?journal_id=103173
2017-12-04T12:25:03Z
Alfredo Deza
adeza@redhat.com
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/103173/diff?detail_id=100067">diff</a>)</li></ul>
ceph-volume - Bug #22305: ceph-volume should be able to handle multiple LVM (VG/LV) tags
https://tracker.ceph.com/issues/22305?journal_id=103178
2017-12-04T14:57:16Z
Alfredo Deza
adeza@redhat.com
<ul><li><strong>Status</strong> changed from <i>12</i> to <i>Fix Under Review</i></li></ul><p>PR at <a class="external" href="https://github.com/ceph/ceph/pull/19321">https://github.com/ceph/ceph/pull/19321</a></p>
ceph-volume - Bug #22305: ceph-volume should be able to handle multiple LVM (VG/LV) tags
https://tracker.ceph.com/issues/22305?journal_id=103186
2017-12-04T17:13:50Z
Alfredo Deza
adeza@redhat.com
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Resolved</i></li></ul><p>merged commit f956c6f into master</p>
ceph-volume - Bug #22305: ceph-volume should be able to handle multiple LVM (VG/LV) tags
https://tracker.ceph.com/issues/22305?journal_id=103351
2017-12-07T19:54:26Z
Alfredo Deza
adeza@redhat.com
<ul></ul><p>Pushed to mimic-dev1</p>
ceph-volume - Bug #22305: ceph-volume should be able to handle multiple LVM (VG/LV) tags
https://tracker.ceph.com/issues/22305?journal_id=103756
2017-12-14T16:56:19Z
Alfredo Deza
adeza@redhat.com
<ul></ul><p>Luminous backport <a class="external" href="https://github.com/ceph/ceph/pull/19528">https://github.com/ceph/ceph/pull/19528</a></p>