Page MenuHomePhabricator

Puppet 4.x breaks the role/profile filters on Horizon
Closed, ResolvedPublic

Description

After I made our puppetmasters environment-aware (https://gerrit.wikimedia.org/r/#/c/393677/) the puppet tab stopped loading because the puppet REST api couldn't find the 'puppet' environment.

I fixed this with https://gerrit.wikimedia.org/r/#/c/393819/ but now none of the filter tags are getting loaded -- apparently with environments the code comments aren't provided.

This needs fixing, but maybe can wait until after the 4.x upgrade since everything will no doubt break or change again as soon as we switch over.

Event Timeline

Just a note to talk about this arena at our offsite next week :)

Andrew renamed this task from Puppet w/environments breaks the role/profile filters on Horizon to Puppet 4.x breaks the role/profile filters on Horizon.Dec 21 2017, 7:50 PM

https://tickets.puppetlabs.com/browse/PUP-4973?jql=text%20~%20%22resource_type%20endpoint%22

It looks like the puppetlabs people accidentally broke this feature and aren't going to fix it ever. So we need some totally other path for filtering/documenting classes if this UI endures :(

Change 401506 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] Horizon puppet tab: disable role filters for now

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

Change 401506 merged by Andrew Bogott:
[operations/puppet@production] Horizon puppet tab: disable role filters for now

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

Andrew claimed this task.

I have mournfully ripped out the code that manages class documentation :(