]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbdmap: bugfix upstart script
authorStephan Renatus <s.renatus@x-ion.de>
Mon, 10 Mar 2014 14:17:41 +0000 (15:17 +0100)
committerSage Weil <sage@inktank.com>
Mon, 10 Mar 2014 15:54:37 +0000 (08:54 -0700)
commitaba5b7cccbc8ef27c5b72f0ef6ad7011d630c675
tree972597d03251734e609e86e707e4f51eb49da8bd
parent83731a75d7f29778dafff5e08a3ebc5da1498665
rbdmap: bugfix upstart script

It seems like the upstart script is lacking a little behind [the initscript](https://github.com/ceph/ceph/blob/master/src/init-rbdmap#L44-L49); however, this bugfix makes it actually do what it should do.

Before, the bug made the job just ignore all parameters, with the following error in /var/log/upstart/rbdmap.log:

```
rbd map volumes/volume-one
rbd: add failed: (22) Invalid argument
```

Signed-off-by: Stephan Renatus <s.renatus@x-ion.de>
Signed-off-by: Sage Weil <sage@inktank.com>
src/upstart/rbdmap.conf