Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class role::eventlogging for deployment-eventlogging03.deployment-prep.eqiad.wmflabs on node deployment-eventlogging03.deployment-prep.eqiad.wmflabs
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | EddieGP | T132259 Deployment-prep hosts with puppet errors (tracking) | |||
Resolved | Ottomata | T152842 deployment-eventlogging03 has puppet failure due to missing class |
Event Timeline
Due to https://gerrit.wikimedia.org/r/#/c/325948/1 which claimed this class was unused (it's not) - T152621
Just asked this on the ticket, will re-ask here:
Can I remove this role inclusion somehow? I'm looking in horizon, but I don't see the role being included in this instance's config (it was originally included with wikitech, not horizon).
In the horizon gui, when I click on the 'all' filter, I see the role right there. 'Remove Role' should do what you want.
I just changed to the 'all' tab (thanks @Andrew) and found the old classes, then removed them. I think it broke things:
Notice: /Stage[main]/Ssh::Server/File[/etc/ssh/userkeys/eventlogging]/ensure: removed
Notice: /Stage[main]/Security::Access/File[/etc/security/access.conf.d/60-scap-allow-eventlogging]/ensure: removed
Ah, ALL filter, duh.
Hm, ok, yeah we need to have the newly refactored eventlogging roles included. I don't see them in the list of classes. How do they get added there? I just tried adding them to 'other classes', but I'm not sure that helped.