summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajesh Tailor <ratailor@redhat.com>2018-09-21 11:00:18 +0530
committerRajesh Tailor <ratailor@redhat.com>2018-09-21 11:06:32 +0530
commit2750aab287a5dc61fb14f5aebb085f90d099a6ea (patch)
treeaf3851bb6d87643f71785f5b1c9b6e2e303c51f7
parenta20e7865e30e7e5d28321405a7aa97f852c9fa37 (diff)
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
Notes
Notes (review): Code-Review+2: Javier Peña <jpena@redhat.com> Code-Review+1: yatin <ykarel@redhat.com> Code-Review+2: Alfredo Moralejo <amoralej@redhat.com> Workflow+1: Alfredo Moralejo <amoralej@redhat.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 03 Oct 2018 11:03:43 +0000 Reviewed-on: https://review.openstack.org/604265 Project: openstack/packstack Branch: refs/heads/master
-rw-r--r--packstack/puppet/modules/packstack/manifests/nova/compute.pp4
1 files 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 368c68d..7b5ced7 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 ()
17 file { '/etc/nova/migration/identity': 17 file { '/etc/nova/migration/identity':
18 content => hiera('NOVA_MIGRATION_KEY_SECRET'), 18 content => hiera('NOVA_MIGRATION_KEY_SECRET'),
19 mode => '0600', 19 mode => '0600',
20 owner => root, 20 owner => nova,
21 group => root, 21 group => nova,
22 require => Package['openstack-nova-migration'], 22 require => Package['openstack-nova-migration'],
23 } 23 }
24 24