Use FQDN for ceph_deploy AND ServerName in calamari.conf
When we run ice_setup.py, it prompts us for the server FQDN. This input is used for ceph_deploy to access the repo to install ceph packages. This repo is served by the by apache virtualhost configured in the calamari.conf. If calamari is setup on a server which already has apache installed, there can be a conflict between virtual hosts. One easy wasy to resolve this is to setup a different CNAME for calamari, pointing to the server. Then feed this CNAME as the FQDN. This will let ceph_deploy use the CNAME when it tries to retreive packages. However, the calamari.conf still needs to have the ServerName directive updated. So we would like for ice_setup.py to use the FQDN for not only ceph_deploy but also the ServerName in calamari.conf
#2 Updated by Gregory Meno over 4 years ago
- Tracker changed from Bug to Feature
- Category set to Backend (packaging/deployment)
- Target version set to 1.3 backlog
Looks like the cleanest way to accomplish this would be to have ice-setup.py leave the FQDN somewhere by convention and then let a salt-state come by and splat out a new apache config for calamari. This would prevent installation from being broken for non ice-setup installs.