Project

General

Profile

Feature #9275

Use FQDN for ceph_deploy AND ServerName in calamari.conf

Added by JuanJose Galvez over 9 years ago. Updated over 4 years ago.

Status:
Fix Under Review
Priority:
Normal
Category:
Backend (packaging/deployment)
Target version:
-
% Done:

0%

Source:
Support
Tags:
Backport:
Reviewed:
Affected Versions:

Description

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

History

#1 Updated by Christina Meno over 9 years ago

  • Assignee set to Christina Meno

Follow up with JJ,

#2 Updated by Christina Meno over 9 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.

#3 Updated by Christina Meno over 9 years ago

  • Assignee deleted (Christina Meno)

#4 Updated by Christina Meno about 9 years ago

  • Target version changed from 1.3 backlog to 1.3-dev12

#5 Updated by Christina Meno about 9 years ago

  • Target version changed from 1.3-dev12 to 1.3-dev13

#6 Updated by Christina Meno about 9 years ago

  • Status changed from New to In Progress
  • Assignee set to Christina Meno

#7 Updated by Christina Meno about 9 years ago

  • Status changed from In Progress to 15

blocked by https://github.com/saltstack/salt/issues/16493

I have a workaround, which I am not happy with in wip-apache-servername

I'm going to retarget this for after 1.3

#8 Updated by Christina Meno about 9 years ago

  • Target version deleted (1.3-dev13)

#9 Updated by Travis Rhoden over 8 years ago

Gregory -

As I think you suspected, ice-setup doesn't do any configuration of Calamari, so there was no trivial way to have ice-setup pass the FQDN in when I was looking at it for other reasons today.

#10 Updated by Patrick Donnelly over 4 years ago

  • Status changed from 15 to Fix Under Review

Also available in: Atom PDF