deploy of manila with external ceph fails to update ceph.conf
Bug #1646147 reported by
Tom Barron
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Jan Provaznik |
Bug Description
As explained in the manila CephFS native devref [1], the driver must be authorized to communicate
with Ceph and a '[client.manila]' section must be added to the ceph.conf file.
However, when we deploy the overcloud with the THT environment for manila native cephfs
openstack overcloud deploy --templates ... -e /usr/share/
the file /etc/ceph/ceph.conf is not touched.
[heat-admin@
[root@controller-0 ~]# ls /etc/ceph
rbdmap
This file should be created if it does not exist and the [client.manila] section should be added as documented.
Changed in tripleo: | |
assignee: | nobody → Jan Provaznik (jan-provaznik) |
Changed in tripleo: | |
importance: | Undecided → High |
milestone: | none → ocata-2 |
Changed in tripleo: | |
milestone: | ocata-2 → ocata-3 |
To post a comment you must log in.
Maybe we can add some validations but Ceph won't get configured unless the user gives instructions to do so.
This is done by deploying using -e /usr/share/ openstack- tripleo- heat-templates/ environments/ puppet- ceph-external. yaml
In addition to that, there are at least three additional parameters the user needs to provide (from a custom environment file) with the external Ceph cluster details:
parameter_defaults: ff60-454b- a1b4-9747aa737d 19' AAFzT7Zw+ Y9V6JJExQAsRnRQ ==' MonHost: '172.16.1.7, 172.16.1.8'
# NOTE: These example parameters are required when using CephExternal
#CephClusterFSID: '4b5c8c0a-
#CephClientKey: 'AQDLOh1VgEp6FR
#CephExternal
The deployer is expected to create on the external Ceph cluster a client.openstack (by default, but name can be customized) user, with appropriate privileges on the glance/cinder/nova pools, unless rbd is disabled for all these services (see puppet- ceph-external. yaml)
Finally, the deployer is expected to create on the external Ceph cluster a client.manila (again this is the default, can be customized in manila- cephfsnative- config. yaml) with appropriate privileges for Manila.