puppet-nova/manifests/db
Diana Clarke e128ba6538 Correct permissions on the nova logfiles
When you execute nova-manage commands, oslo logs to the following
location (file name is dynamically created based on command name).

    /var/log/nova/nova-manage.log

Because puppet-nova is executing these commands as root,
nova-manage.log is owned by root, preventing the 'nova-manage
db archive_deleted_rows' entry in nova's crontab from executing.

    Permission denied: '/var/log/nova/nova-manage.log'

This log file is also an outlier, as all other log files in
/var/log/nova/ are owned by nova:nova.

Similar issues are possible for other nova logs, if for example
a nova services is initially started manually as root, so the
ownership of all nova logs is corrected before configuring nova.

Co-Authored-By: Oliver Walsh <owalsh@redhat.com>
Co-Authored-By: Diana Clarke <diana.joan.clarke@gmail.com>
Co-Authored-By: Maciej Kucia <maciej@kucia.net>
Closes-Bug: #1671681
Change-Id: I0ca0110cbf9139c79074cf603dcab9135f96e765
2017-12-19 20:24:52 +00:00
..
mysql.pp Implement a proper cell_v2 setup 2017-01-24 16:21:07 -07:00
mysql_api.pp Remove setup_cell0 option 2017-03-03 15:47:13 +08:00
mysql_placement.pp placement: dedicated database support 2017-01-06 07:07:13 -05:00
online_data_migrations.pp Correct permissions on the nova logfiles 2017-12-19 20:24:52 +00:00
postgresql.pp Add hooks for external install & svc management 2015-12-08 10:14:11 -05:00
postgresql_api.pp Classes to create and sync new nova_api DB 2016-02-02 11:58:50 +01:00
sync.pp Correct permissions on the nova logfiles 2017-12-19 20:24:52 +00:00
sync_api.pp Correct permissions on the nova logfiles 2017-12-19 20:24:52 +00:00