Commit Graph

3 Commits

Author SHA1 Message Date
Takashi Kajinami 5b135ed130 Fix ignored unit tests
Unit test files should be named like *_spec.rb.

Change-Id: I3fe97b4d5c9c2bb3709e37c561af353b859495ef
2021-01-04 06:42:57 +09:00
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
Alex Schultz 290b6422df Additional cell_v2 commands
This change exposes additional cell v2 management commands that can be
used as part of managing cell v2. The map_instances and
map_cell_and_hosts commands can be pulled in to be run as part of
upgrades or general management.

Change-Id: Ie731f3d5b8396786f579f80d87714ce2e949a5df
2017-01-24 23:21:16 +00:00