]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
filestore-to-bluestore: --destroy with raw devices
authorDimitri Savineau <dsavinea@redhat.com>
Mon, 20 Jan 2020 21:40:58 +0000 (16:40 -0500)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Tue, 21 Jan 2020 16:37:39 +0000 (11:37 -0500)
commitf995b079a6a4f936da04fce3d55449361b2109e3
tree0bfb2bbeede2dcfd5a7d04cbbd8fa11ad0dbe486
parentc9e1fe3d928111275be5ab06ae01d82df8fa8bd4
filestore-to-bluestore: --destroy with raw devices

We still need --destroy when using a raw device otherwise we won't be
able to recreate the lvm stack on that device with bluestore.

Running command: /usr/sbin/vgcreate -s 1G --force --yes ceph-bdc67a84-894a-4687-b43f-bcd76317580a /dev/sdd
 stderr: Physical volume '/dev/sdd' is already in volume group 'ceph-b7801d50-e827-4857-95ec-3291ad6f0151'
  Unable to add physical volume '/dev/sdd' to volume group 'ceph-b7801d50-e827-4857-95ec-3291ad6f0151'
  /dev/sdd: physical volume not initialized.
--> Was unable to complete a new OSD, will rollback changes

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1792227
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
infrastructure-playbooks/filestore-to-bluestore.yml
tests/functional/filestore-to-bluestore/container/hosts
tests/functional/filestore-to-bluestore/container/vagrant_variables.yml
tests/functional/filestore-to-bluestore/hosts
tests/functional/filestore-to-bluestore/vagrant_variables.yml
tests/functional/lvm_setup.yml
tox-filestore_to_bluestore.ini