Page MenuHomePhabricator

use correct datacenter/rack for cassandra nodes
Closed, ResolvedPublic


at the moment we are using datacenter1 and rack1 from cassandra::defaults (see also T76149) however we should be using the right values.

we could use hieradata/regex.yaml to map datacenter to eqiad and racks to the node's row, afaict it isn't available via facter or elsewhere.


Related Gerrit Patches:
operations/puppet : productioncassandra: set rack/dc/cluster name

Event Timeline

fgiunchedi claimed this task.
fgiunchedi raised the priority of this task from to Needs Triage.
fgiunchedi updated the task description. (Show Details)
fgiunchedi added a subscriber: fgiunchedi.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 16 2015, 3:42 PM
fgiunchedi triaged this task as High priority.Feb 16 2015, 3:42 PM

best to fix T76149 first since we need that for proper hiera usage anyway

Change 191339 merged by Filippo Giunchedi:
cassandra: set rack/dc/cluster name

fgiunchedi closed this task as Resolved.Feb 19 2015, 3:52 PM

now rack and dc are set according to hiera