]>
Commit | Line | Data |
---|---|---|
f67539c2 TL |
1 | tasks: |
2 | - exec: | |
3 | client.0: | |
4 | - mkdir /home/ubuntu/cephtest/migration | |
5 | - wget -nv -O /home/ubuntu/cephtest/migration/base.client.0.qcow2 http://download.ceph.com/qa/ubuntu-12.04.qcow2 | |
6 | - qemu-img convert -f qcow2 -O raw /home/ubuntu/cephtest/migration/base.client.0.qcow2 /home/ubuntu/cephtest/migration/base.client.0.raw | |
7 | - dd if=/dev/zero of=/home/ubuntu/cephtest/migration/empty.raw count=1 bs=1G | |
8 | - echo '{"type":"raw","stream":{"type":"file","file_path":"/home/ubuntu/cephtest/migration/base.client.0.raw"}}' | rbd migration prepare --import-only --source-spec-path - client.0.0 | |
9 | - rbd migration prepare --import-only --source-spec '{"type":"raw","stream":{"type":"file","file_path":"/home/ubuntu/cephtest/migration/empty.raw"}}' client.0.1 | |
10 | - rbd migration prepare --import-only --source-spec '{"type":"raw","stream":{"type":"file","file_path":"/home/ubuntu/cephtest/migration/empty.raw"}}' client.0.2 |