Skip to content

Transient deployment trigger errors should be reported via status fields in API #3526

Closed

Description

@ironcladlou

Sometimes the ConfigChange trigger fires but does nothing because image stream tags defined on the ImageChange trigger aren't yet available. #3492 describes why the events we currently generate should be removed. This condition isn't really an error that should be logged or reported via events; instead, it's is a reason for a state that the trigger (or possibly the DC itself) is currently in. Some ways this could be represented:

  1. The ConfigChange trigger has a status and a message indicating that it's not currently incrementing the new deployment version because image tags aren't yet available
  2. The DeploymentConfig status has some message indicating that its ConfigChange trigger is currently ineffective due to the lack of image tag availability

Essentially, the user needs to know why deployment triggers they've defined aren't having an expected effect. The case where image tags are triggered on but not yet populated on image streams appears to be very common, so we should report them in a more clear and useful way.

Activity

  1. ironcladlou commented on Aug 18, 2015

    @ironcladlou
    ContributorAuthor

    @smarterclayton I don't see this happening in the short term; should it be p3?

  2. ironcladlou commented on Oct 1, 2015

    @ironcladlou
    ContributorAuthor

    Turns out this needs to go in ASAP. It's a major usability issue today.

  3. ironcladlou commented on Oct 1, 2015

    @ironcladlou
    ContributorAuthor

    @jwforres there's an opportunity here to enhance the console to help users understand why deployment's aren't happening.

  4. jwforres commented on Oct 1, 2015

    @jwforres
    Member

    @ironcladlou is this similar to what was just done for builds? #4872

  5. jwforres commented on Oct 1, 2015

    @jwforres
    Member

    helps if i read the full description... I'll spawn a UI issue and link it.

  6. ironcladlou commented on Oct 1, 2015

    @ironcladlou
    ContributorAuthor

    @jwforres for a little more context, here's something I discussed in email:

    The output of describe or status or something should be able to show stuff like:

    • dc/frontend deploys myimage:latest
    • If myimage (or myimage:latest) doesn't exist, warn that the trigger
      won't fire right now
    • If myimage doesn't exist but there's a build defined that produces
      myimage, mention it in context of the deployment (the deployment won't
      start until myimage is created; we notice there's a build for myimage.
      We also notice that the last build for myimage failed; maybe check
      your build)
  7. ironcladlou commented on Oct 1, 2015

    @ironcladlou
    ContributorAuthor

    Those are some examples of the type of message that could appear in this field.

  8. jwforres commented on Oct 1, 2015

    @jwforres
    Member

    Just update the UI issue #4895 when the API changes are in

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions