/etc/ceph/ceph.client.None.keyring not created on standby controller

This commit ensures that file /etc/ceph/ceph.client.None.keyring is
created on both controllers after ceph backend is added.

Change-Id: I49c7b540caca18bada7166c9e7fb2f4b3475a5d3
Closes-Bug: 1810440
Signed-off-by: Wei Zhou <wei.zhou@windriver.com>
This commit is contained in:
Wei Zhou 2019-01-11 15:26:20 -05:00
parent 4e204d7d45
commit 3b4acbfc38
1 changed files with 9 additions and 9 deletions

View File

@ -700,16 +700,16 @@ class openstack::cinder::post
file { $initial_cinder_ceph_config_flag:
ensure => present
}
}
# To workaround an upstream bug in rbd code, we need to create
# an empty file /etc/ceph/ceph.client.None.keyring in order to
# do cinder backup and restore.
file { '/etc/ceph/ceph.client.None.keyring':
ensure => file,
owner => 'root',
group => 'root',
mode => '0644',
}
# To workaround an upstream bug in rbd code, we need to create
# an empty file /etc/ceph/ceph.client.None.keyring in order to
# do cinder backup and restore.
file { '/etc/ceph/ceph.client.None.keyring':
ensure => file,
owner => 'root',
group => 'root',
mode => '0644',
}
if $is_node_cinder_lvm {