-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Old execution history hidden after running pipelines in >= 1.8.x #3256
Comments
I tried this quickly myself---I started a 1.7.4 Spinnaker, ran some pipelines, upgraded to 1.8.5, and was still able to see the prior executions (even after doing some executions in 1.8.5). So there's obviously some set of conditions under which this bug happens, but I didn't hit that case in my testing. |
@mbasc can you check if there are any errors in your chrome console when loading the executions? |
@christopherthielen or @robzienert does this ring any bells as far either UI changes or pipeline migrations go? 1.7 was released 2018-04-25 and 1.8 was released 2018-06-22 |
no errors in the chrome console when loading an affected #/applications/<app>/executions page. after @ezimanyi's comment (thanks for testing!), i also set up a clean spinnaker instance and as he found, did keep execution history after the upgrade. i'll try to compare settings, old and new execution records, etc between the affected and working spinnaker instances this morning. fwiw, i'm seeing this on two dev spinnaker instances that should have the same configuration a prod instance, but have less activity. |
Hmm, I don't recall this happening for our deployments. Perhaps clear your browser cache and see if that helps at all? ¯\_(ツ)_/¯ |
this doesn't ring a bell for me either |
bah, artifact of the execution history i was using on these dev instances. '/executions' doesn't show execution history older than 2 weeks if a more recent run exists. true in 1.7.4 as well. resolving invalid, apologies for the noise. |
I know this issue has been closed. but may I ask how to retrieve the execution history more than 14 days in this situation? I used the API and got the same result from the UI that the history more than 14 days older than the latest one cannot be retrieved. but if I deleted my latest execution, the old pipelines (over 14 days) were back again from both UI and API. |
Updated locations for where this cutoff is coming from: And the config to tweak: Based on a look at where the Instead, it controls how many days of pipeline execution history to include when retrieving execution history from the Orca API (via Gate)... the |
Issue Summary:
Old (<= 1.7.x) execution history hidden after running pipelines in >= 1.8.x
Environment:
Distributed Spinnaker (V1) deployment into GKE
Upgrading from 1.7.4 to 1.8.5
Feature Area:
Orca / Execution history
Description:
After upgrading from 1.7.4 to 1.8.5, execution history is present. Immediately after starting a pipeline post upgrade, old execution history for that pipeline no longer shows up. Old executions are still present - can access directly via the API if you know the ID, or if you filter on statuses which don't have a 1.8.x execution yet. Seen in UI, verification in API per additional details below.
Not a huge deal for us, but didn't see anything in the changelog or issues, curious if this is expected, if others are seeing the same. Verified same behavior after upgrading to 1.9.0 (though via 1.8.5 - have not tried 1.7.x -> 1.9.0 directly).
Additional Details:
The text was updated successfully, but these errors were encountered: