mirror of
https://github.com/ceph/ceph
synced 2025-02-08 19:38:47 +00:00
10 lines
822 B
YAML
10 lines
822 B
YAML
tasks:
|
|
- exec:
|
|
client.0:
|
|
- mkdir /home/ubuntu/cephtest/migration
|
|
- wget -nv -O /home/ubuntu/cephtest/migration/base.client.0.qcow2 http://download.ceph.com/qa/ubuntu-12.04.qcow2
|
|
- qemu-img create -f qcow2 /home/ubuntu/cephtest/migration/empty.qcow2 1G
|
|
- echo '{"type":"qcow","stream":{"type":"file","file_path":"/home/ubuntu/cephtest/migration/base.client.0.qcow2"}}' | rbd migration prepare --import-only --source-spec-path - client.0.0
|
|
- rbd migration prepare --import-only --source-spec '{"type":"qcow","stream":{"type":"file","file_path":"/home/ubuntu/cephtest/migration/empty.qcow2"}}' client.0.1
|
|
- rbd migration prepare --import-only --source-spec '{"type":"qcow","stream":{"type":"file","file_path":"/home/ubuntu/cephtest/migration/empty.qcow2"}}' client.0.2
|