44e8419a5f
During mongodb upgrade process "/var/lib/mongodb" should have correct permissions, but a typo present in config.json was giving permissions to "/var/lib/kolla/mongodb" Change-Id: I916e7d831531131b2f141a2f7ac712d4a82f7e86 Closes-Bug: #1668303
24 lines
615 B
Django/Jinja
24 lines
615 B
Django/Jinja
{
|
|
"command": "/usr/bin/mongod --unixSocketPrefix=/var/run/mongodb --config /etc/mongodb.conf run",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/mongodb.conf",
|
|
"dest": "/etc/mongodb.conf",
|
|
"owner": "mongodb",
|
|
"perm": "0644"
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/lib/mongodb",
|
|
"owner": "mongodb:mongodb",
|
|
"recurse": true
|
|
},
|
|
{
|
|
"path": "/var/log/kolla/mongodb",
|
|
"owner": "mongodb:mongodb",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|