Instructions on enabling HTTPS/SSL for object gateways result in error messages when running DeepSea stage 2
This document (7023282) is provided subject to the disclaimer at the end of this document.
Environment
Situation
Rendering SLS 'base:ceph.rgw.key.default' failed: Conflicting ID 'check s'
Resolution
By default, Ceph on the Object Gateway node reads the /etc/ceph/rgw.pem certificate, and uses port 443 for secure SSL communication. If you do not need to change these values, follow these steps:
1. Edit /srv/pillar/ceph/stack/global.yml and add the following line:
rgw_init: default-ssl
2. Copy the default Object Gateway SSL configuration to the ceph.conf.d subdirectory:
cp /srv/salt/ceph/configuration/files/rgw-ssl.conf \
/srv/salt/ceph/configuration/files/ceph.conf.d/rgw.conf
3. Run DeepSea Stages 2, 3, and 4 to apply the changes:
salt-run state.orch ceph.stage.2
salt-run state.orch ceph.stage.3
salt-run state.orch ceph.stage.4
11.6.3 Advanced HTTPS Configuration
If you need to change the default values for SSL settings of the Object Gateway, follow these steps:
1. Edit /srv/pillar/ceph/stack/global.yml and add the following line:
rgw_init: default-ssl
2. Copy the default Object Gateway SSL configuration to the ceph.conf.d subdirectory:
cp /srv/salt/ceph/configuration/files/rgw-ssl.conf \
/srv/salt/ceph/configuration/files/ceph.conf.d/rgw.conf
Edit /srv/salt/ceph/configuration/files/ceph.conf.d/rgw.conf and change the default options, such as port number or path to the SSL certificate, to reflect your setup.
3. Run DeepSea Stage 3 and 4 to apply the changes:
salt-run state.orch ceph.stage.2
salt-run state.orch ceph.stage.3
salt-run state.orch ceph.stage.4
Cause
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7023282
- Creation Date: 17-Aug-2018
- Modified Date:03-Mar-2020
-
- SUSE Enterprise Storage
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com