Change file ownership and group to nova

The file ownership and group was set to root for
'/etc/nova/migration/identity' because of which
user gets Permission denied error while trying to
do resize or live-migration.

Changing file ownership and group to nova allows
to do live-migration and resize successfully.

Change-Id: Id46ea6b0f953e6e23cd95bae0889df906ae933b2
This commit is contained in:
Rajesh Tailor 2018-09-21 11:00:18 +05:30
parent a20e7865e3
commit 2750aab287
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ class packstack::nova::compute ()
file { '/etc/nova/migration/identity':
content => hiera('NOVA_MIGRATION_KEY_SECRET'),
mode => '0600',
owner => root,
group => root,
owner => nova,
group => nova,
require => Package['openstack-nova-migration'],
}