]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/rbd: dev_create() expects a properties dict
authorIlya Dryomov <idryomov@gmail.com>
Sun, 31 Jan 2021 13:27:52 +0000 (14:27 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 2 Feb 2021 17:18:53 +0000 (18:18 +0100)
commit5d4476a6851c13e749b1ae69efc1d705e970d2c3
treeb844a45f0b49500a7150cd432cec91fb3c144010
parent74275226ac79999bfd40e683dc9a1309e76033bf
qa/tasks/rbd: dev_create() expects a properties dict

In order to add encryption_format property, commit 3754c665a11e
(":qa/tasks/rbd: test qemu on top of rbd encryption") changed the
dev_create() contract.  It now expects a properties dict, but the
main task routine wasn't updated and still passes role_images.

On top of that, role_images itself got broken.  It is supposed
to be a mapping from role to a corresponding image name, not to
a dict with an image_name key.  This affected generic_mount().

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 0357c0215b2fbbf7fa801331df1f92b101ad9d5e)
qa/tasks/rbd.py