Project

General

Profile

Actions

Bug #36852

closed

Last smart proxy sync date should have a way to query per environment

Added by Samir Jha 8 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman Proxy Content
Target version:
Difficulty:
medium
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Today smart proxy sync on the UI can only be done on a global smart proxy level. The UI is also designed to return this task as last sync for all envs in the capsule. This isn't always accurate since an env can be newly added(never synced) or the last sync may have run for an individual CV on publish/promote.

Can't think of a good way to isolate env out of capsule sync task queries since env goes into input params and not the resource for the capsule sync task which is always the capsule. We'd have to look up all capsule sync tasks since last complete sync and look at input params for those.

We could introduce a new model and save this in the DB for quicker access but that'd mean modifying task to keep these records updated.

Actions #1

Updated by Partha Aji 8 months ago

  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot 8 months ago

  • Status changed from New to Ready For Testing
  • Assignee set to Samir Jha
  • Pull request https://github.com/Katello/katello/pull/10779 added
Actions #3

Updated by The Foreman Bot 8 months ago

  • Fixed in Releases Katello 4.11.0 added
Actions #4

Updated by Samir Jha 8 months ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Ian Ballou 7 months ago

  • Subject changed from Last capsule sync date should have a way to query per environment to Last smart proxy sync date should have a way to query per environment
Actions

Also available in: Atom PDF