9ac47de9d6
MongoDB can't start, if mongodb.conf has duplicate parameters. When using Zaqar as plugin in DevStack on debian-like system, each run of stack.sh adds a new line to etc/mongodb.conf: "smallfiles=true" So eventually mongodb.conf will contain duplicate parameters. It means that stack.sh will be able to execute successfully only once, on subsequent executions it will fail, because of Zaqar which will fail to start, because of MongoDB which will fail to start, because of corrupted mongodb.conf which will be corrupted by zaqar/devstack/plugin.sh This commit will make sure that "smallfiles=true" line will be added to mongodb.conf only if mongodb.conf doesn't contain this line already. Change-Id: Ieba5abb970ff7565f3a837778e402ea8d5c5c463 Closes-Bug: 1507391 |
||
---|---|---|
.. | ||
gate | ||
plugin.sh | ||
README.rst | ||
settings |
Enabling in Devstack
Download DevStack
Add this repo as an external repository:
> cat local.conf [[local|localrc]] enable_plugin zaqar https://github.com/openstack/zaqar
Run
stack.sh