Project

General

Profile

Feature #12718

As a user I would like to receive proxy log data: proxy initialization, proxy loading errors, plugin initialization, plugin initialization errors

Added by Shlomi Zadok about 4 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Smart Proxy
Target version:
Difficulty:
Triaged:
Bugzilla link:

Description

When #12714 and #12715 are complete, we will have more information from the proxy. As a user, I would like to consume this data via the API.
#12715 adds a stream of events from the proxy: which plugins were loaded, with which settings. And more important, if they failed loading why have they failed loading.


Related issues

Related to Smart Proxy - Bug #13600: Templates module not marked as failed when foreman_url is missingClosed2016-02-08
Blocks Foreman - Tracker #12507: Smart Proxy UX improvmentsNew2015-11-17

Associated revisions

Revision 33d9f9ee (diff)
Added by Lukas Zapletal almost 4 years ago

Fixes #12718 - smart proxy log table

This patch adds a table with logs fetched from Smart Proxy /logs new API. It
returns latest N log entries from a simple memory buffer. The table supports
filtering by level, custom filtering and it introduces several overview
status cards with error/warning counts, failed modules list with latest
known error messages.

Revision 4fd9aebe (diff)
Added by Dominic Cleal almost 4 years ago

refs #12718 - change capitalisation, extract more strings

Capitalisation now matches the other rows on the same page.

Revision f1cd1ba3 (diff)
Added by Dominic Cleal almost 4 years ago

refs #12718 - change capitalisation, extract more strings

Capitalisation now matches the other rows on the same page.

(cherry picked from commit 4fd9aebea3efde8cd0ec272d173f3b4ecc25e51e)

History

#1 Updated by Shlomi Zadok about 4 years ago

#2 Updated by Shlomi Zadok almost 4 years ago

#3 Updated by Shlomi Zadok almost 4 years ago

#4 Updated by Shlomi Zadok almost 4 years ago

#5 Updated by Shlomi Zadok almost 4 years ago

#6 Updated by Shlomi Zadok almost 4 years ago

  • Description updated (diff)

#7 Updated by Lukas Zapletal almost 4 years ago

  • Assignee set to Lukas Zapletal

Ok taking, I am going to create the UI for

https://github.com/witlessbird/smart-proxy/blob/events/modules/root/root_api.rb#L32-L46

as another tab in the smart-proxy show page, if I read this correctly. Correct me if this is wrong.

#8 Updated by Shlomi Zadok almost 4 years ago

The purpose of this feature is to display how the proxy and its plugins have loaded (or if they didn't load, why).
The UI should display data from <proxy>/events/logs and highlight errors

#9 Updated by Lukas Zapletal almost 4 years ago

Thanks, so I am going to create a table of events with some filtering (errors only, warnings, per-module).

#10 Updated by Shlomi Zadok almost 4 years ago

  • Subject changed from As a user I would like to consume the additional Proxy information via the API to As a user I would like to receive proxy log data: proxy initialization, proxy loading errors, plugin initialization, plugin initialization errors

#11 Updated by Lukas Zapletal almost 4 years ago

Ok I am working on this one right now.

#12 Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3098 added

#13 Updated by Lukas Zapletal almost 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#14 Updated by Dominic Cleal almost 4 years ago

  • Category set to Smart Proxy
  • Legacy Backlogs Release (now unused) set to 71

#15 Updated by Ohad Levy almost 4 years ago

  • Related to Bug #13600: Templates module not marked as failed when foreman_url is missing added

#16 Updated by The Foreman Bot almost 4 years ago

  • Pull request https://github.com/theforeman/foreman/pull/3209 added

Also available in: Atom PDF