Project

General

Profile

Feature #9275

Use FQDN for ceph_deploy AND ServerName in calamari.conf

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

Status:
Pending Upstream
Priority:
Normal
Assignee:
Category:
Backend (packaging/deployment)
Target version:
-
Start date:
08/28/2014
Due date:
% 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 Gregory Meno over 4 years ago

  • Assignee set to Gregory Meno

Follow up with JJ,

#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.

#3 Updated by Gregory Meno over 4 years ago

  • Assignee deleted (Gregory Meno)

#4 Updated by Gregory Meno over 4 years ago

  • Target version changed from 1.3 backlog to 1.3-dev12

#5 Updated by Gregory Meno over 4 years ago

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

#6 Updated by Gregory Meno over 4 years ago

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

#7 Updated by Gregory Meno over 4 years ago

  • Status changed from In Progress to Pending Upstream

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 Gregory Meno over 4 years ago

  • Target version deleted (1.3-dev13)

#9 Updated by Travis Rhoden almost 4 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.

Also available in: Atom PDF