Page MenuHomePhabricator

turn lldp info into puppet facts, mention in MOTD
Closed, ResolvedPublic

Description

10:47 <godog> mark: https://gerrit.wikimedia.org/r/#/c/162847/ the patch to
install lldpd early
11:00 <mark> godog: and from this, we could make a puppet fact that has the
row/rack name
11:01 <mark> at least eqiad/codfw have a very standard scheme
11:01 <mark> esams/ulsfo are a bit inconsistent though
11:03 <mark> e.g. if lldp reports that the server is connected to
asw-c-eqiad:5/0/23, you can deduce that the server is in rack C5
11:06 <godog> mark: indeed, _that_ we can compare automatically to racktables'
idea of the world
11:06 <mark> and even mention in e.g. the MOTD
11:06 <mark> "This server resides in rack C5 in eqiad"
11:07 <mark> there are a few special cases, e.g. LVS, but for 95% of servers
that should be fine
11:08 <mark> in tampa this didn't work at all which is part of the reason why
we haven't done it yet
11:08 <mark> but that's no longer relevant now
11:08 <mark> just esams/ulsfo to worry about a bit
11:08 <mark> esams especially
11:08 <mark> esams switch ordering isn't even consistent with rack ordering
11:08 <mark> but ulsfo is easy

Event Timeline

rtimport raised the priority of this task from to Medium.Dec 18 2014, 2:15 AM
rtimport added a project: ops-core.
rtimport set Reference to rt8439.
fgiunchedi changed the visibility from "WMF-NDA (Project)" to "Public (No Login Required)".Jul 23 2015, 3:46 PM
fgiunchedi changed the edit policy from "WMF-NDA (Project)" to "All Users".
fgiunchedi set Security to None.

Change 313375 had a related patch set uploaded (by Dzahn):
install: add network location to server MOTDs

https://gerrit.wikimedia.org/r/313375

Change 313375 abandoned by Dzahn:
install: add network location to server MOTDs

https://gerrit.wikimedia.org/r/313375

Change 314450 had a related patch set uploaded (by Dzahn):
base: activate vlan reporting via LLDP

https://gerrit.wikimedia.org/r/314450

Change 314450 merged by Alexandros Kosiaris:
base: activate vlan reporting via LLDP

https://gerrit.wikimedia.org/r/314450

akosiaris claimed this task.
akosiaris subscribed.

Done for quite some time now in various steps. Resolving