puppet-nova/spec
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
..
acceptance Refactor breaker into openstack_integration 2017-10-12 22:12:32 -04:00
classes Correct permissions on the nova logfiles 2017-12-19 20:24:52 +00:00
defines Deprecate nova::cell_v2::cell and add reno for new cell_v2 type. 2017-04-13 10:02:07 +00:00
fixtures/manifests Test bug #1278452 with real node definitions 2014-04-14 13:35:27 -04:00
hosts Move nova to use OSDefaults - Part1 2016-06-11 15:19:55 -03:00
type Merge "Remove extra spaces" 2017-07-27 02:13:48 +00:00
unit Remove some useless method 2017-10-08 10:59:16 +08:00
shared_examples.rb Add hooks for external install & svc management 2015-12-08 10:14:11 -05:00
spec_helper.rb Move rspec-puppet-facts to spec helper 2016-09-30 14:03:24 -06:00
spec_helper_acceptance.rb Use puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance 2016-01-18 09:11:28 -05:00