Closed Bug 879769 Opened 12 years ago Closed 11 years ago

imaging processes should not regenerate SSH host keys

Categories

(Infrastructure & Operations :: RelOps: Puppet, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: dustin, Unassigned)

Details

I've been reimaging bld-lion-r5-003 recently, and just realized I haven't gotten any warnings about the host key, because it's not changing. Aside from a few edge cases (e.g., multiple hosts in a pool accepting ssh connections), every host should have a different host key. So this should be fixed in the imaging process.
I don't so much care if all hosts have different host keys, but each host should keep the *same* host key through a reimage.
Joe? There's some convenience to having hosts keep the same key, and the only practical way to accomplish that is for all hosts to have the same single key.
Flags: needinfo?(jstevensen)
Or to store the keys in a db of some sort and have them reloaded onto the machine after each image.
I'd be leery of storing a whole pile of private keys in one database.
Per :kang, a single host key across the pool is the best solution. So, we should fix a pub/pvt key pair at whatever level of granularity is easiest, and install it. We should do that with puppet, since this should *not* apply to non-slaves.
Assignee: server-ops-releng → dustin
Flags: needinfo?(jstevensen)
Summary: mac imaging process should regenerate SSH host keys → imaging processes should not regenerate SSH host keys
Component: Server Operations: RelEng → RelOps
Product: mozilla.org → Infrastructure & Operations
Severity: normal → enhancement
I think that the design would be to add a slave_ssh_host_key/slave_ssh_host_key_pub secret pair, and if those are nonempty, set them when puppet runs, but only on slaves. Not a high priority, so I'm unassigning from myself.
Assignee: dustin → relops
Component: RelOps → RelOps: Puppet
QA Contact: arich → dustin
I think this is moot in the era of images.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.