I have no idea why ceph-volume keeps failing so much. I keep zapping and
creating and all of a sudden it works. I am not having pvs or links left
in /dev/mapper. I am checking that with lsblk, dmsetup ls --tree and
ceph-volume inventory.
These are the stdout/err I am having, every time ceph-volume fails it
ends with the same stderr output.
stdout: Physical volume "/dev/sdh" successfully created.
stdout: Volume group "ceph-0fbb2736-5cb1-4f87-aef2-7591fe979360"
successfully created
stdout: Logical volume "osd-block-3ff3e59c-e752-4560-91b8-b53f38db5c85"
created.
stderr: got monmap epoch 20
stdout: creating /var/lib/ceph/osd/ceph-21/keyring
stdout: creating /var/lib/ceph/osd/ceph-21/lockbox.keyring
stderr: Device i7jC8B-0Z5c-z95F-Cewj-3Jz2-60If-jucHBi already exists.
stderr: failed to read label for
/dev/mapper/i7jC8B-0Z5c-z95F-Cewj-3Jz2-60If-jucHBi: (2) No such file or
directory
stderr: purged osd.21
Show replies by date
It looks like I have less problems, doing the zap and create quickly
after each other.
ceph-volume lvm zap --destroy /dev/sdj && ceph-volume lvm create --data
/dev/sdj --dmcrypt
-----Original Message-----
To: ceph-users
Subject: [ceph-users] Keep having ceph-volume create fail
I have no idea why ceph-volume keeps failing so much. I keep zapping and
creating and all of a sudden it works. I am not having pvs or links left
in /dev/mapper. I am checking that with lsblk, dmsetup ls --tree and
ceph-volume inventory.
These are the stdout/err I am having, every time ceph-volume fails it
ends with the same stderr output.
stdout: Physical volume "/dev/sdh" successfully created.
stdout: Volume group "ceph-0fbb2736-5cb1-4f87-aef2-7591fe979360"
successfully created
stdout: Logical volume "osd-block-3ff3e59c-e752-4560-91b8-b53f38db5c85"
created.
stderr: got monmap epoch 20
stdout: creating /var/lib/ceph/osd/ceph-21/keyring
stdout: creating /var/lib/ceph/osd/ceph-21/lockbox.keyring
stderr: Device i7jC8B-0Z5c-z95F-Cewj-3Jz2-60If-jucHBi already exists.
stderr: failed to read label for
/dev/mapper/i7jC8B-0Z5c-z95F-Cewj-3Jz2-60If-jucHBi: (2) No such file or
directory
stderr: purged osd.21
_______________________________________________
ceph-users mailing list -- ceph-users(a)ceph.io To unsubscribe send an
email to ceph-users-leave(a)ceph.io