documentation: warn re: usage of '.' in JUJU_ENV as results in units with same hostname

Bug #1263196 reported by JuanJo Ciarlante
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Won't Fix
Medium
Unassigned

Bug Description

Because of the way juju + cloud-init construct unit's hostname: $JUJU_ENV-machine-$NUM,
if JUJU_ENV has a dot in it, final non-FQDN hostname will be the same for all units -
e.g. with JUJU_ENV=my-service.test1, all units will end named "my-service".

This is obvious once you realize it (my-service.test1-machine-2 doesn't look good as hostname),
but I think it's worth warning/documenting it, as having units with same hostname can
impact charms running services that use it as a unique identifier (e.g. for clustering/peer
relations, unique keys while building conf files after relation hooks, etc).

Tags: docs ui
Curtis Hovey (sinzui)
tags: added: docs ui
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.0
Curtis Hovey (sinzui)
Changed in juju-core:
importance: High → Medium
Changed in juju-core:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.