From 2750aab287a5dc61fb14f5aebb085f90d099a6ea Mon Sep 17 00:00:00 2001 From: Rajesh Tailor Date: Fri, 21 Sep 2018 11:00:18 +0530 Subject: [PATCH] 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 --- packstack/puppet/modules/packstack/manifests/nova/compute.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packstack/puppet/modules/packstack/manifests/nova/compute.pp b/packstack/puppet/modules/packstack/manifests/nova/compute.pp index 368c68def..7b5ced751 100644 --- a/packstack/puppet/modules/packstack/manifests/nova/compute.pp +++ b/packstack/puppet/modules/packstack/manifests/nova/compute.pp @@ -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'], }