puppet-nova/spec/classes
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
..
nova_api_spec.rb Configure *_domain_name to Default by default 2017-10-07 00:53:54 +00:00
nova_availability_zone_spec.rb Move nova to use OSDefaults - Part1 2016-06-11 15:19:55 -03:00
nova_cache_spec.rb Move nova to use OSDefaults - Part1 2016-06-11 15:19:55 -03:00
nova_cell_v2_discover_hosts_spec.rb Correct permissions on the nova logfiles 2017-12-19 20:24:52 +00:00
nova_cell_v2_map_cell0_spec.rb Correct permissions on the nova logfiles 2017-12-19 20:24:52 +00:00
nova_cell_v2_map_cell_and_hosts_spec.rb Correct permissions on the nova logfiles 2017-12-19 20:24:52 +00:00
nova_cell_v2_map_instances.rb Correct permissions on the nova logfiles 2017-12-19 20:24:52 +00:00
nova_cell_v2_simple_setup_spec.rb Use a resource provider for cell_v2 cells 2017-04-06 15:59:08 +00:00
nova_cells_spec.rb Merge "Deprecate quota_driver" 2016-07-11 19:28:54 +00:00
nova_client_spec.rb Fix unit test for nova::client class 2017-08-03 10:26:37 +08:00
nova_compute_ironic_spec.rb Install ironicclient if using the Ironic Driver 2017-06-21 16:19:29 +01:00
nova_compute_libvirt_qemu_spec.rb Add group configuration to qemu.conf file 2017-11-30 11:02:34 +05:30
nova_compute_libvirt_services_spec.rb Enable compute node micro-services 2016-06-14 19:08:11 -04:00
nova_compute_libvirt_spec.rb Expose log_outputs parameter for libvirt 2017-10-09 14:50:02 +03:00
nova_compute_neutron_spec.rb Remove driver LibvirtOpenVswitchDriver 2017-10-13 02:27:21 +00:00
nova_compute_pci_spec.rb Add pci/alias to compute manifest 2017-08-31 23:20:46 +01:00
nova_compute_rbd_spec.rb Fix resources for latest puppet 2017-08-01 22:11:46 +00:00
nova_compute_serial_spec.rb Deprecate listen parameter 2016-05-13 19:14:18 +08:00
nova_compute_spec.rb Fix key_manager in nova config for Queens 2017-10-27 17:33:52 +00:00
nova_compute_spice_spec.rb spec: updates for rspec-puppet 2.x and rspec 3.x 2015-03-19 18:45:08 +01:00
nova_compute_vmware_spec.rb Deprecate wsdl_location option 2016-10-24 13:17:35 +08:00
nova_compute_xenserver_spec.rb XenServer patch 2016-12-02 22:34:27 +00:00
nova_conductor_spec.rb oslo db: check puppet resource instead of actual config in spec 2017-04-11 16:15:08 +08:00
nova_config_spec.rb spec: updates for rspec-puppet 2.x and rspec 3.x 2015-03-19 18:45:08 +01:00
nova_consoleauth_spec.rb Move nova to use OSDefaults - Part1 2016-06-11 15:19:55 -03:00
nova_cron_archive_deleted_rows_spec.rb Correct permissions on the nova logfiles 2017-12-19 20:24:52 +00:00
nova_db_mysql_api_spec.rb Implement a proper cell_v2 setup 2017-01-24 16:21:07 -07:00
nova_db_mysql_placement_spec.rb placement: dedicated database support 2017-01-06 07:07:13 -05:00
nova_db_mysql_spec.rb Implement a proper cell_v2 setup 2017-01-24 16:21:07 -07:00
nova_db_online_data_migrations_spec.rb Correct permissions on the nova logfiles 2017-12-19 20:24:52 +00:00
nova_db_postgresql_api_spec.rb Change worker defaults to ::os_workers 2017-02-23 10:37:38 -07:00
nova_db_postgresql_spec.rb Change worker defaults to ::os_workers 2017-02-23 10:37:38 -07:00
nova_db_spec.rb Missing some parameters to test in db.pp 2017-06-01 11:20:12 +08:00
nova_db_sync_api_spec.rb Correct permissions on the nova logfiles 2017-12-19 20:24:52 +00:00
nova_db_sync_spec.rb Correct permissions on the nova logfiles 2017-12-19 20:24:52 +00:00
nova_init_spec.rb Add parameter to set notification format 2017-11-13 15:33:46 +01:00
nova_ironic_common_spec.rb Configure nova/ironic with domain parameters 2017-10-11 01:14:12 +00:00
nova_keystone_auth_placement_spec.rb placement: change default vhost & port 2016-12-23 11:22:50 -05:00
nova_keystone_auth_spec.rb Remove old authtoken options 2016-11-15 23:40:13 -03:00
nova_keystone_authtoken_spec.rb Configure *_domain_name to Default by default 2017-10-07 00:53:54 +00:00
nova_logging_spec.rb Correct permissions on the nova logfiles 2017-12-19 20:24:52 +00:00
nova_metadata_novajoin_api_spec.rb Ensure novajoin's log directory ownership is correct 2017-09-05 09:58:09 +03:00
nova_metadata_novajoin_auth_spec.rb Use novajoin-specific user and directory 2017-05-23 18:03:53 +03:00
nova_metadata_novajoin_authtoken_spec.rb Configure *_domain_name to Default by default 2017-10-07 00:53:54 +00:00
nova_migration_libvirt_spec.rb Add libvirtd_config resource provider 2017-07-13 20:41:34 +00:00
nova_migration_qemu_spec.rb Add class for migration options configuration in qemu.conf 2016-10-05 13:12:44 +03:00
nova_network_flat_spec.rb spec: updates for rspec-puppet 2.x and rspec 3.x 2015-03-19 18:45:08 +01:00
nova_network_flatdhcp_spec.rb spec: updates for rspec-puppet 2.x and rspec 3.x 2015-03-19 18:45:08 +01:00
nova_network_neutron_spec.rb Removes deprecated neutron auth options and tests 2017-07-09 00:11:04 +08:00
nova_network_vlan_spec.rb spec: updates for rspec-puppet 2.x and rspec 3.x 2015-03-19 18:45:08 +01:00
nova_patch_config_spec.rb Added nova patching configuration parameters 2017-08-21 15:53:22 -04:00
nova_pci_spec.rb Add pci/alias to compute manifest 2017-08-31 23:20:46 +01:00
nova_placement_spec.rb Make placement's os_interface configurable 2017-02-13 12:06:37 +02:00
nova_policy_spec.rb oslo policy: check puppet resource instead of actual config in spec 2017-05-23 15:20:25 +08:00
nova_quota_spec.rb Remove deprecated quota related options 2017-07-09 00:38:55 +08:00
nova_scheduler_filter_spec.rb Remove deprecated scheduler and scheduler filter options 2017-07-09 13:22:58 +08:00
nova_scheduler_spec.rb Remove deprecated scheduler and scheduler filter options 2017-07-09 13:22:58 +08:00
nova_serial_proxy_spec.rb change libvirt package name on debian stretch and up 2017-09-14 03:45:57 +02:00
nova_spicehtml5proxy_spec.rb Rename the spicehtml5proxy.pp test file 2017-09-19 15:38:33 +08:00
nova_vnc_proxy_spec.rb change libvirt package name on debian stretch and up 2017-09-14 03:45:57 +02:00
nova_wsgi_apache_api_spec.rb apache wsgi: Exchange defaults for workers and threads 2017-10-13 06:58:04 +00:00
nova_wsgi_apache_placement_spec.rb apache wsgi: Exchange defaults for workers and threads 2017-10-13 06:58:04 +00:00