commit a631169edd21915a6aabe76aaead617ca8383d7d
Author: Billy Olsen <email address hidden>
Date: Thu Dec 22 17:13:07 2016 -0700
Skip osd-devices not absolute paths
This change skips over any devices which does not start with a leading
folder separator ('/'). Allowing such entries causes an OSD to be
created out of the charm directory. This can be caused by something as
innocuous as 2 spaces between devices. The result is that the root
device is also running an OSD, which is undesirable.
Reviewed: https:/ /review. openstack. org/414353 /git.openstack. org/cgit/ openstack/ charm-ceph/ commit/ ?id=a631169edd2 1915a6aabe76aae ad617ca8383d7d
Committed: https:/
Submitter: Jenkins
Branch: master
commit a631169edd21915 a6aabe76aaead61 7ca8383d7d
Author: Billy Olsen <email address hidden>
Date: Thu Dec 22 17:13:07 2016 -0700
Skip osd-devices not absolute paths
This change skips over any devices which does not start with a leading
folder separator ('/'). Allowing such entries causes an OSD to be
created out of the charm directory. This can be caused by something as
innocuous as 2 spaces between devices. The result is that the root
device is also running an OSD, which is undesirable.
Change-Id: I5b52096da0b6f1 00ae9835c339905 585425b27ae
Closes-Bug: 1652175