Skip to content

Rolling back to a previous deployment should add a cause in the DC #9632

Closed

Description

@0xmichalis

There is a TODO about it in the code but with oc rollout history it will be really needed.

@mfojtik @ironcladlou @smarterclayton

Activity

  1. self-assigned this
    on Jul 1, 2016
  2. 0xmichalis commented on Aug 22, 2016

    @0xmichalis
    ContributorAuthor

    @smarterclayton @mfojtik rolling back a config right now is not atomic. deploymentconfigs/rollback is generating the rolled back config which in turn needs to be PUTed. Does it make sense to have the endpoint touch etcd in a similar fashion to deploymentconfigs/instantiate? Only in that way we can add a separate cause for rollback. Otherwise, we either need to open a hole in our normal update path or have the new specstatus endpoint type @deads2k was talking about.

  3. smarterclayton commented on Aug 22, 2016

    @smarterclayton
    Contributor
  4. 0xmichalis commented on Jan 30, 2017

    @0xmichalis
    ContributorAuthor

    Upstream is using annotations (change-cause) in replica sets for storing the cause of a rollout. I believe it's more flexible than our mechanism mainly because the cause in the DC is always for the latest rollout thus we end up losing history.

  5. mfojtik commented on Jan 30, 2017

    @mfojtik
    Contributor

    @Kargakis so tu summarize this what we want:

    1. annotation for every RC created by DC (whether it is ICT, config, rollback or manual (are there more?))
    2. update oc rollout history to display the annotation (if set)
    3. maybe update oc status as well?
  6. 0xmichalis commented on Jan 30, 2017

    @0xmichalis
    ContributorAuthor
  7. openshift-bot commented on Feb 13, 2018

    @openshift-bot
    Contributor

    Issues go stale after 90d of inactivity.

    Mark the issue as fresh by commenting /remove-lifecycle stale.
    Stale issues rot after an additional 30d of inactivity and eventually close.
    Exclude this issue from closing by commenting /lifecycle frozen.

    If this issue is safe to close now please do so with /close.

    /lifecycle stale

  8. added
    lifecycle/stale
    on Feb 13, 2018
  9. openshift-bot commented on Mar 16, 2018

    @openshift-bot
    Contributor

    Stale issues rot after 30d of inactivity.

    Mark the issue as fresh by commenting /remove-lifecycle rotten.
    Rotten issues close after an additional 30d of inactivity.
    Exclude this issue from closing by commenting /lifecycle frozen.

    If this issue is safe to close now please do so with /close.

    /lifecycle rotten
    /remove-lifecycle stale

  10. added
    lifecycle/rotten
    and removed
    lifecycle/stale
    on Mar 16, 2018
  11. openshift-bot commented on Apr 15, 2018

    @openshift-bot
    Contributor

    Rotten issues close after 30d of inactivity.

    Reopen the issue by commenting /reopen.
    Mark the issue as fresh by commenting /remove-lifecycle rotten.
    Exclude this issue from closing again by commenting /lifecycle frozen.

    /close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

component/appslifecycle/rottenpriority/P2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions