]> 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)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 21 Jan 2020 17:26:55 +0000 (18:26 +0100)
commite4965e9ea9b68075d33f7c67a2130c45d391b229
treecc2a39e7489272511cc14d097b0f5066a9581aaf
parent6a513308921a9c8abce2a089fecc20bc901e6267
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>
(cherry picked from commit f995b079a6a4f936da04fce3d55449361b2109e3)
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