Bug #4277

frontpage view sort is wrong

Added by Adrian Bridgett almost 2 years ago. Updated almost 2 years ago.

Status:Closed Start date:07/18/2010
Priority:Low Due date:
Assignee:- % Done:

0%

Category:-
Target version:1.0.3
Keywords: Affected URL:
Branch: Affected Dashboard version:
Votes: 0

Description

On the front page it claims to be sorted by last report, however that’s clearly not the case for my data – it starts okay but then jumps all over the place date wise.

It would also be great if you could select the sort order: – hostname – last report – success/failure

Ideally some sort of primary/secondary sorting would be great – e.g. failure/success then alphabetically.

This was seen using v1.0.1 deb from your repository.

sort-order.png (46.9 kB) Adrian Bridgett, 07/19/2010 08:21 pm

History

Updated by Igal Koshevoy almost 2 years ago

  • Status changed from Unreviewed to Needs More Information

Adrian,

Thanks for submitting all those reports, I’m looking forward to getting a new release out to address these issues.

Can you please send us a screenshot or copy-and-paste some text demonstrating what’s happening in this bug? I’m unable to reproduce the problem.

As for custom sorting, we’ve got a feature request on that already: #3495 “Dashboard should allow sorting of columns on the Recent Report”

Updated by Adrian Bridgett almost 2 years ago

sure – I won’t be able to do it until I’m back in the office, are there any DB queries that’d be helpful? I had imported 45000 reports (i.e. from stored reports, not from a “live” feed). Perhaps it’s sorting by insertion date rather than the date in the report? IIRC the imports crawls directories one at a time – box A was done, then box B, etc. Just a thought.

Thanks for improving dashboard :–)

Updated by Igal Koshevoy almost 2 years ago

Adrian,

Yeah, it sounds like some code is using the “insert date” rather than the “report date”. I haven’t been able to find it yet and my data is sorting correctly.

Would you be willing to upload these reports so I can try to reproduce the problem? Having these would also help us improving the performance of the app with lots of data. I promise to only share these files with other Puppet Labs staff. If interested, email me at igalATpuppetlabsDOTcom and feel free to use my GPG key: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x5EF9A199F913B6CE

Thanks!

Updated by Adrian Bridgett almost 2 years ago

I’ll have to check to see if I can upload those reports (thanks for the GPG key).

I’ve attached a screenshot – I’ve obscured some of the domains but left enough so that you can tell them apart. I can’t see a pattern and I no longer have the source directory so I can’t do an unsorted “ls” to see if that matches.

Updated by Adrian Bridgett almost 2 years ago

this looks fixed in v1.0.3 FYI

Updated by James Turnbull almost 2 years ago

  • Status changed from Needs More Information to Closed
  • Target version set to 1.0.3

Also available in: Atom PDF