]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tests: ceph-disk.sh can be confused if there are two OSDs
authorLoic Dachary <ldachary@redhat.com>
Sat, 7 Mar 2015 15:10:15 +0000 (16:10 +0100)
committerLoic Dachary <ldachary@redhat.com>
Tue, 10 Mar 2015 16:50:29 +0000 (17:50 +0100)
commitfbb6df525c17ddab7609c2e10225a24c20dc289a
tree1ff89fa98572a37c576751aca2334f01dd5e3265
parent8d52dc185e50d8bd1f01c2159e1befe60552ed84
tests: ceph-disk.sh can be confused if there are two OSDs

Replace the fragile extaction of the whoami file with an explicit uuid
set for a given OSD. It can conveniently be translated back into an osd
id with ceph osd create uuid if needed.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/ceph-disk.sh