Capitalized option conflicts with systemd ceph-osd-prestart.sh script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-ceph |
Fix Released
|
Undecided
|
Gui Maluf Balzana |
Bug Description
I've set
```
class { '::ceph':
...
osd_crush_
}
```
Which sets the capitalized "True" on `/etc/ceph/
```
# cat /etc/ceph.conf
...
osd_crush_
```
On Ubuntu 16.04, using systemd, `/usr/lib/
```
...
update="$(ceph-conf --cluster=
if [ "${update:-1}" = "1" -o "${update:-1}" = "true" ]; then
...
```
If value on ceph.conf is set to capitalized True, this script will fail.
I've tried to set `osd_crush_
```
class { '::ceph':
...
osd_crush_
}
```
Changed in puppet-ceph: | |
assignee: | nobody → Gui Maluf (guimalufb) |
status: | New → In Progress |
Reviewed: https:/ /review. openstack. org/473546 /git.openstack. org/cgit/ openstack/ puppet- ceph/commit/ ?id=28c4efee3df 8eb0e7688631fe7 4f1d75f162702a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 28c4efee3df8eb0 e7688631fe74f1d 75f162702a
Author: Guilherme Maluf <email address hidden>
Date: Mon Jun 12 14:49:49 2017 -0300
Set lowercase for ceph_config values
Capitalized values of True and False are conflicting with systemd
scripts
This commit set all values to lowercase
Fixes: Bug #1697476
Change-Id: Ibd01a7a850e759 3fabd676b8b0c0a f2b77101a2a