Page MenuHomePhabricator

deployment-eventlogging03 has puppet failure due to missing class
Closed, ResolvedPublic

Description

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

Event Timeline

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).

I think that has come up before in T152472

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.

Actually, I take it back! Other classes worked great.

Krenair assigned this task to Ottomata.