]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
misc: ignore some unusable block devices 745/head
authorRobin H. Johnson <robin.johnson@dreamhost.com>
Thu, 10 Dec 2015 23:37:21 +0000 (15:37 -0800)
committerRobin H. Johnson <robin.johnson@dreamhost.com>
Wed, 16 Dec 2015 06:06:23 +0000 (22:06 -0800)
commit57ce714ffb185160f87c9baf91bc03f2c3820d59
treebd5d0376651303f61a78f686af17273438de87b9
parent0e4bf6215cfead08db2fa61a500614024ad3a6b0
misc: ignore some unusable block devices

If a block device is read-only, or is a cloud-init datasource, we should
not change the content on it!

This change detects most documented datasources as of 2015/12/10 from
http://cloudinit.readthedocs.org/en/latest/topics/datasources.html

It cannot detect datasources that are only detectable based on files on
volume (eg config-drive v1)

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
teuthology/misc.py